Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Win7-64: This is my only midi device: Microsoft GS Wavetable Synth, deviceid = 0.

Is there any way to tell if midi pitch bend is supported on this device?

share|improve this question
IMO if it's GM, it necessarily supports pitch bend, velocity, and some other basic controls and sysex. – wazoox Mar 30 '10 at 20:34
Ok, I find it is supported on the default builtin software synth, Microsoft GS Wavetable Synth. I had to write a midi program to test it. – P a u l Apr 6 '10 at 17:32
you should post that as an answer; answering your own question is encouraged. you don't need to post code if you don't want to, but feel free to go into as much detail as you like. – quack quixote May 12 '10 at 13:03
up vote 3 down vote accepted

I tested this with default device 0 (Microsoft GS Wavetable Synth) and finished my solution using the C# Midi Toolkit. Here is the C# code that works with this toolkit. pitchBend is any integer from 0 to 16383. Pitch bend works. You have to turn a note on first (not shown).

if(pitchBend > 16383)
    pitchBend = 16383;

int mask = 127;

ChannelMessageBuilder builder = new ChannelMessageBuilder();

// Build pitch bend message;
builder.Command = ChannelCommand.PitchWheel;

// Unpack pitch bend value into two data bytes.
builder.Data1 = pitchBend & mask;
builder.Data2 = pitchBend >> 7;

// Build message.

ChannelMessage pitchBendMessage = builder.Result;

// Send message (assumes we've created an output device).
share|improve this answer

Send it notes from an external keyboard with a pitch bend controller

share|improve this answer
Don't have that. What would be nice is full technical documentation on the software included with windows. You have to scrounge around on forums and google to find anything if you are lucky. – P a u l Mar 31 '10 at 6:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .