Csound Csound-dev Csound-tekno Search About

[Csnd] midi and pitch bend messages

Date2010-09-13 08:34
FromJohann Bach
Subject[Csnd] midi and pitch bend messages
This isn't csound-specific, but I'm working on a piece for the
UNTWELVE competition which I plan to use just intonation. I might want
to use software synths that respond to midi messages. Does the midi
spec exactly state how the pitch bend message changes the pitch, so
that one can use a combination of midi pitch and pitch-bend to achieve
a very specific frequency? I.e. is the pitch-bend calibrated for a
certain number of cents per unit? +127=100 cents and -127=-100 cents
or something like that? If this is the spec, do most software
synthesizers actually adhere to it?
Thanks,
-Johann


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-09-13 08:57
Fromandy fillebrown
Subject[Csnd] Re: midi and pitch bend messages
IIRC, the default pitch-bend range is 0-16383, which results in +/-
200 cents, although the cent range can be modified using RPN 100 and
101.  I haven't used MIDI for tuning in a long time, though, so I may
be mistaken.

Cheers,
~ andy.f



On Mon, Sep 13, 2010 at 3:34 AM, Johann Bach  wrote:
> This isn't csound-specific, but I'm working on a piece for the
> UNTWELVE competition which I plan to use just intonation. I might want
> to use software synths that respond to midi messages. Does the midi
> spec exactly state how the pitch bend message changes the pitch, so
> that one can use a combination of midi pitch and pitch-bend to achieve
> a very specific frequency? I.e. is the pitch-bend calibrated for a
> certain number of cents per unit? +127=100 cents and -127=-100 cents
> or something like that? If this is the spec, do most software
> synthesizers actually adhere to it?
> Thanks,
> -Johann
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-09-13 09:08
FromJohann Bach
Subject[Csnd] Re: Re: midi and pitch bend messages
Thanks. And do you remember if the spec says that the midi pitch-bend
value must be linear to cents?

I.e., we have to get the ends right, and we have to get everything
along the way right too.

I'll try to find a spec somewhere to read.

-J

On Mon, Sep 13, 2010 at 12:57 AM, andy fillebrown
 wrote:
> IIRC, the default pitch-bend range is 0-16383, which results in +/-
> 200 cents, although the cent range can be modified using RPN 100 and
> 101.  I haven't used MIDI for tuning in a long time, though, so I may
> be mistaken.
>
> Cheers,
> ~ andy.f
>
>
>
> On Mon, Sep 13, 2010 at 3:34 AM, Johann Bach  wrote:
>> This isn't csound-specific, but I'm working on a piece for the
>> UNTWELVE competition which I plan to use just intonation. I might want
>> to use software synths that respond to midi messages. Does the midi
>> spec exactly state how the pitch bend message changes the pitch, so
>> that one can use a combination of midi pitch and pitch-bend to achieve
>> a very specific frequency? I.e. is the pitch-bend calibrated for a
>> certain number of cents per unit? +127=100 cents and -127=-100 cents
>> or something like that? If this is the spec, do most software
>> synthesizers actually adhere to it?
>> Thanks,
>> -Johann
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-09-13 09:24
Fromandy fillebrown
Subject[Csnd] Re: Re: Re: midi and pitch bend messages
Yes, the pitch-bend to cents conversion is linear.

You may be able to find other microtonal composers that know of
software that does what you need already.  Check out the Make
Microtonal Music list on yahoogroups.com.  If it's no longer active,
try The Tuning List, instead.

Cheers,
~ andy.f



On Mon, Sep 13, 2010 at 4:08 AM, Johann Bach  wrote:
> Thanks. And do you remember if the spec says that the midi pitch-bend
> value must be linear to cents?
>
> I.e., we have to get the ends right, and we have to get everything
> along the way right too.
>
> I'll try to find a spec somewhere to read.
>
> -J
>
> On Mon, Sep 13, 2010 at 12:57 AM, andy fillebrown
>  wrote:
>> IIRC, the default pitch-bend range is 0-16383, which results in +/-
>> 200 cents, although the cent range can be modified using RPN 100 and
>> 101.  I haven't used MIDI for tuning in a long time, though, so I may
>> be mistaken.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>>
>> On Mon, Sep 13, 2010 at 3:34 AM, Johann Bach  wrote:
>>> This isn't csound-specific, but I'm working on a piece for the
>>> UNTWELVE competition which I plan to use just intonation. I might want
>>> to use software synths that respond to midi messages. Does the midi
>>> spec exactly state how the pitch bend message changes the pitch, so
>>> that one can use a combination of midi pitch and pitch-bend to achieve
>>> a very specific frequency? I.e. is the pitch-bend calibrated for a
>>> certain number of cents per unit? +127=100 cents and -127=-100 cents
>>> or something like that? If this is the spec, do most software
>>> synthesizers actually adhere to it?
>>> Thanks,
>>> -Johann
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-09-13 10:40
FromStéphane Rollandin
Subject[Csnd] Re: midi and pitch bend messages
> certain number of cents per unit? +127=100 cents and -127=-100 cents
> or something like that? If this is the spec, do most software
> synthesizers actually adhere to it?

the default is +127=200 cents and -127=-200 cents and yes, most software
synthesizers do adhere to it.

Stef




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-09-13 16:53
FromJim Aikin
Subject[Csnd] Re: midi and pitch bend messages
This is a common problem with pitch-bending. Most synthesizers that allow the
use of .tun files still insist on bending to equal-tempered intervals. If
you want to writ music with pitch-bends, you just have to listen real
carefully and edit the end value of the bend data by hand.

However, Camel Audio Alchemy seems to have gotten it right. I haven't tested
Alchemy with JI tunings, but with equal-tempered microtonal scales (I've
been using 31ET), Alchemy bends correctly based on the number of scale steps
in the bend.

If you have NI Reaktor, I can send you a Reaktor synth I built myself a few
years ago that is designed for JI and bends correctly to the number of scale
steps you set. Just let me know.

--Jim Aikin

Date2010-09-13 18:21
FromJohann Bach
Subject[Csnd] Re: Re: midi and pitch bend messages
Hi Jim,

I'm not using a fixed scale, but just intonation with shifting
reference frequencies. Ultimately what my program will calculate will
be a frequency in Hz which I can translate to a standard MIDI pitch
plus a pitch bend. I just need to know that the synth will respond
consistently. In Csound I can specify the freq in Hz directly.

Thanks,
J

On Mon, Sep 13, 2010 at 8:53 AM, Jim Aikin  wrote:
>
> This is a common problem with pitch-bending. Most synthesizers that allow the
> use of .tun files still insist on bending to equal-tempered intervals. If
> you want to writ music with pitch-bends, you just have to listen real
> carefully and edit the end value of the bend data by hand.
>
> However, Camel Audio Alchemy seems to have gotten it right. I haven't tested
> Alchemy with JI tunings, but with equal-tempered microtonal scales (I've
> been using 31ET), Alchemy bends correctly based on the number of scale steps
> in the bend.
>
> If you have NI Reaktor, I can send you a Reaktor synth I built myself a few
> years ago that is designed for JI and bends correctly to the number of scale
> steps you set. Just let me know.
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"