Pitch Bend

Pitch Bend

 

The Pitch Bend Change message is normally sent from a keyboard instrument in response to changes in position of the pitch bend wheel. The pitch bend information is used to modify the pitch of sounds being played on a given Channel. The Pitch Bend message includes two data bytes to specify the pitch bend value. Two bytes are required to allow fine enough resolution to make pitch changes resulting from movement of the pitch bend wheel seem to occur in a continuous manner rather than in steps.

 

The two bytes of the pitch bend message form a 14 bit number, 0 to 16383. The value 8192 (sent, LSB first, as 0x00 0x40), is centered, or "no pitch bend." The value 0 (0x00 0x00) means, "bend as low as possible," and, similarly, 16383 (0x7F 0x7F) is to "bend as high as possible." The exact range of the pitch bend is specific to the synthesizer. 

 

 

 

 

Realtime Parameter Number (RPN) Settings:


These messages specify which parameter is to be set by the following controller 6 (MSB) and 38 (LSB) data messages. 
For that reason, it is important to send a RPN reset message after use, so that any 'stray' data messages 
later in the song do not have undesirable effects.
Bn means a channel controller message on channel n, where n is 0 to F for channels 1 to 16.

 

Pitch Bend Range: 

 

RPN LSB = 0: Bn 64 00 
RPN MSB = 0: Bn 65 00 
Data MSB: Bn 06 mm (mm sets bend range in semitones. mm can be from 00 to 18 for 0 to 24 (+/- 12) semitones both up and down) 
Data LSB=0 (usually not required): Bn 26 00

 

So to set Pitch Bend Range to +/- 12 semitones:

HEX        ;  DECIMAL

Bn 65 00 ; 101  00 MSB

Bn 64 00 ; 100 00 LSB

Bn 06 18 ; 06 24 MSB

Bn 26 00 ; 38 00 LSB

 

RPN & NRPN Reset:


RPN LSB = 7F: Bn 64 7F 
RPN MSB = 7F: Bn 65 7F 


Send this alone (no data messages) immediately after all other RPN and NRPN messages have been sent.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值