Forums > MaxMSP

VST soft synth with 'midievent' pitchbend to achieve corresponding notes.

May 5, 2010 | 2:02 pm

I’m trying to emulate notes using the ‘midievent’ 244 (pitchbend) message to a vst software synth. The software synth has a pitchbend range of 24 (semitones I’m presuming). My controller input range is 0. – 1.

I did find a nice example in this forum that generates a ramp between notes but I don’t want to send note on/offs – rather use continuous pitchbend control.

If anyone has any suggestions as to how I might calculate the scale with midievent 244, of perhaps some other method it would be greatly appreciated.

Thank you.


May 5, 2010 | 3:45 pm

Your going to need a base note and then a bend offset. To make it
sound like a long continuous phrase, the base not will also be the
start note of the phrase.

1. play first note
2. calculate the delta between the current note and the next note
If previous note was 60 and the new one is 63, the delta would be 3.
Add that to your pitch offset.
3. use [scale] to convert pitch offset to controller value
4. repeat steps 2-4 for each new note

After you have that working, look into adding a glide time on each
new note.


May 10, 2010 | 9:50 pm

Thanks!


Viewing 3 posts - 1 through 3 (of 3 total)