back to list

Re: Cawapu

🔗pitchcolor@aol.com

6/30/2003 9:41:57 AM

It makes a lot more sense to write the values this way:

'midipu' = 6 x 2^14 = 98304

'cawapu' = 6 x 2^12 = 24576

That is, six whole steps in the octave, according to my other messages. Hope this helps.
Aaron

🔗Manuel Op de Coul <manuel.op.de.coul@eon-benelux.com>

6/30/2003 1:11:25 PM

>'cawapu' = 6 x 2^12 = 24576

No it's 6 x 8192 = 6 x 2^13.
You have 2 midi "bytes" of 7 bits, that's 2^14. In two's
complement that's half for positive and half for negative values.
The standard pitch bend range is plus or minus a whole tone.

Manuel

🔗Gene Ward Smith <gwsmith@svpal.org>

6/30/2003 2:17:39 PM

--- In tuning-math@yahoogroups.com, "Manuel Op de Coul"
<manuel.op.de.coul@e...> wrote:

> The standard pitch bend range is plus or minus a whole tone.

And if you use a different range (for instance, with Audio
Compositor) you would not only need to reset the default, if you are
rendering a midi you'd need to change the midi. I wouldn't bother,
personally.

🔗pitchcolor@aol.com

6/30/2003 5:07:06 PM

Manuel wrote:

>'cawapu' = 6 x 2^12 = 24576

No it's 6 x 8192 = 6 x 2^13.
>>

Since I don't use cakewalk, I won't argue with you about 'cawapu'. The point I am making is that half of the values get thrown out in the total number of octave divisions for the +/- halfstep bend range. If cawapu doesn't work this way, OK; I don't use it.

But if you want to calculate the default values where pitchbend is a wholestep, you have to get rid of half the values again, so the DEFAULT 'midipu' and 'cawapu' values are HALF the values of those I posted previously.

Nobody has mentioned that the majority of midi modules do not even support 14 bit precision anyway. At 7 bits default or standard (+/- wholestep) pitchbend, we have:

3 x 2^7 = 384 ET

At the smallest range we have +/- halfstep bend, which is:

6 x 2^7 = 768 ET

These are correct for standard MIDI equipment. Too bad more manufacturers don't support 14 bit pitchbend.
Aaron