Semitones & Cents

Official support for: sonicbirth.sourceforge.net
Post Reply New Topic
RELATED
PRODUCTS

Post

I am new to Sonicbirth and I am attempting to create a basic synthesizer. I am having trouble with my semitone and cent parameters. at the moment in my midi 'multi note envelope' I have 'Note' and 'Semitone' summed together going in 'C' on a (multiply)addition component, with cent going to 'A' and a 'Constant' value of 0.01 going to 'B', with the output of those going to 'f' on all my wave generators. However this is giving me a de-tuned sound as I increase the semitone slider value. I understand why this is happening, I don't know the correct method. Any help is greatly appreciated.

Post

The note output gives you the frequency values of notes not the MIDI note numbers.

Use the following formula in an equation module.

i0*pow(2,(i1+i2)/12)

i0 = frequency value from the Note output
i1 = Semitone value (can be +/- any whole number)
i2 = Cent value (should be within +/-1)

Post

Thanks alot, thats solved it!

Post Reply

Return to “SonicBirth”