How to change note pitch?

Discussion in 'comp.music.midi' started by goo, Jul 30, 2003.

  1. goo

    goo Guest

    I'm a newbie MIDI programmer. Is it possible to change the pitch of a note
    after it is playing (i.e. 'note on' has been sent). I need to be able to
    change it over the entire range of possible notes, not just bend the pitch a
    bit. Basically I want to be able to change the pitch without starting a new
    attack-sustain-decay cycle.

    Thanks,
    Larry
  2. goo wrote:
    >
    > I'm a newbie MIDI programmer. Is it possible to change the pitch of a note
    > after it is playing (i.e. 'note on' has been sent). I need to be able to
    > change it over the entire range of possible notes, not just bend the pitch a
    > bit. Basically I want to be able to change the pitch without starting a new
    > attack-sustain-decay cycle.


    MIDI pitch wheel command (E0-EF lo hi) affects all notes on the channel,
    those that are already playing and new ones that are turned on after the
    pitch wheel setting was changed.

    see Jeff Glatts MIDI documents: http://www.borg.com/~jglatt
  3. On Wed, 30 Jul 2003 08:19:41 +0100, Günter Nagler
    <gnagler@iicm.tu-graz.ac.at> wrote:

    >goo wrote:
    >>
    >> I'm a newbie MIDI programmer. Is it possible to change the pitch of a note
    >> after it is playing (i.e. 'note on' has been sent). I need to be able to
    >> change it over the entire range of possible notes, not just bend the pitch a
    >> bit. Basically I want to be able to change the pitch without starting a new
    >> attack-sustain-decay cycle.

    >
    >MIDI pitch wheel command (E0-EF lo hi) affects all notes on the channel,
    >those that are already playing and new ones that are turned on after the
    >pitch wheel setting was changed.
    >
    >see Jeff Glatts MIDI documents: http://www.borg.com/~jglatt


    Portamento controller can change pitch, but the exact implementation
    is synth specific. Roland and Yamaha synths, among others, allow for
    a legato mode, using mono mode for the channel (one note per channel),
    and the portamento controller to suppress attack as long as note on
    events overlap -- new note starts without a note off event for the
    previous note. If you have such a synth, it is fairly trivial to send
    the messages to enable this mode, which makes legato -- no attack
    between notes -- playing style simple.

    Pitch bend can be used, but the range is limited, also synth
    dependent. GM default is two semitones. Many synths allow pitch bend
    range RPN to set a range of one or two octaves. If you can do two
    octaves -- 24 semitones, that gives you a four octave range to play
    with.

    However, pitch bend changes pitch outright, using the same timbre as
    the original pitch. For most acoustic instruments, that will sound
    unrealistic. It is a useful technique for instruments which naturally
    slide pitch -- steel guitar for example -- but will sound out of place
    for many others.


    --
    *-__Jeffery Jones__________| *Starfire* |____________________-*
    ** Muskego WI Access Channel 14/25 <http://www.execpc.com/~jeffsj/mach7/>
    *Starfire Design Studio* <http://www.starfiredesign.com/>

Share This Page