Yes I am getting pitch bend muddled up with note number that is described as pitch in the note message. Another penny just dropped when you say note 127 is the top note it corresponds to a frequency of 12543 Hz and the highest frequency I can get out of my software is about 13280 Hz that is probably note 127 with maximum pitch bend up. A PC can generate frequencies slightly above 20 KHz and that is what I was hoping to do with the Midi output so how do I get notes above #127. I read about companies that use Midi in the ultrasonic range to control those sound wall devices that block sound around a dance floor so the tables are sound free so what Midi message format are they using? There is no limit for the note number other than the 8 bit limit in the standard message but I guess I would need a Synth that was able to interpret a longer note number message.
What is Max?
Several posts popped up while I was typing
Is Max free?
I have already written my program and it is working just not 100% and that is why I am here asking stupid questions. If you PM your email I can send it so you know what I am talking about.
There's still a bit of a mixup going on here, I think.
Midi data isn't inextricably linked to frequency or pitch.
Sure, in a particular synth or VI there'll be a preset correlation, but midi data is simply a trigger. You can use it to trigger any number of events.
Patch change, sample start, note on/off...whatever
Max isn't free, but there's a 30 day demo and any apps you make will continue to work just fine, as long as the user installs max run-time. The latter is free.
If you think you're close and it's just a case of ironing out the flaws then fair play man, but if you're not, i'd consider ditching the midi idea.
Purely because max would be simpler, and it'll give you a bucketload more options.
"what is max"
It's an object-based programming environment.
Put simply, you could arrange a load of sine wave generators all at preset frequencies (type in the number). They're all on, always, but you'd use switches to make them audible.
The user would see the switches and some labels....
Or, you could have a notched rotary knob that flicks between a range of preset frequencies. That means only one can be on at a time though.
The options are almost literally endless.
It's sooooo simple for stuff like this.
Damn, I used it to write full control software for Protools, with the intention of making hardware to go with it.
I haven't checked this video through, but it looks like it'll show some basics.