how to use the timbers that exist with MIDI (voice register) using the Hrtz numbers

berane9's icon

i want to use the different timbers that esist in MIDI. The siries type of MIDI are 127 modes of timbers.

I want to use these MIDI timbers with Hrtz value numbers. Meaning, I want to use them as a synthesizer. Instead ofof using the "saw, cycle, sign " objects I want to use the127 MIDI timbers.
In other words, how can I use timbers of clarinet guitar violin piano sound using the Hrtz numbers?
I appreciate your input.

Roman Thilenius's icon


timber of midi? ... voice of trump? ...

Jean-Francois Charles's icon

Maybe your are trying to use a MIDI "PGM Change"? [pgmout] object?

Max Gardener's icon

It sounds more like the person is talking about pitch to MIDI to me....

berane9's icon

I want to use Hrtz value with timbers that exist in MIDI system.
Or is there any system to use the "makenote" object with Hrtz numbers?

yaniki's icon

Two objects are typically used to convert values between MIDI note numbers and frequencies expressed in Hz: "mtof" (MIDI -> Hz) and "ftom" (Hz -> MIDI). So if you want to convert frequencies into the corresponding MIDI note numbers (and feed the "makenote" with calculated values) you should use "ftom". And if you want to convert MIDI note number to frequency (let's say, to control an oscillator) you need "mtof".