Frequency #

Convert a value into a FrequencyClass object.


const midi = Tone.Frequency("C3").toMidi();
console.log(midi);

const hertz = Tone.Frequency(38, "midi").toFrequency();
console.log(hertz);
Frequency (
value?:TimeValue | Frequency ,
) => FrequencyClass