somaaten's Recent Posts

Thanks, Randy- I'm sure someone has wrestled with this problem already, but unfortunately there is nothing helpful about the topic posted on the Cycling 74 forums as of yet...

The program change messages are definitely getting to the VST object, but Aalto does not respond to them. All other MIDI data is functioning as expected.

Is it possible there needs to be some kind of "bank select" command? I know the MIDI Programs directory is the only bank Aalto can read program changes from, but does Max need to be instructed to look for them there?

I have tried a few possibilities, none of which worked-

The Max/MSP Reference entry on messages to the vst~ object says:

..."effect-program [int]
In left inlet: Changes the effect program of the currently loaded plug-in. The first program is number 1."...

Sending an int to the left inlet of the vst~ had no effect on Aalto. I was using ints 0-3 for the MIDI Programs Directory test patches.

or:

..."With no arguments, read opens a standard open file dialog prompting for a file of effect programs, either in bank or individual program format. read accepts an optional symbol argument where it looks for a VST plug-in bank or effect program file in the Max search path."..

The "read" message alone indeed opens a dialog, but none of the .mlpresets are selectable. The "read" message with an int or filename returns a "bad argument" response.

Is there a setting in Aalto which allows it to receive the program changes?
Any other ideas?

What am I doing wrong here?

In Max/MSP, I am sending a MIDI program change message via the midiformat object to Aalto's vst~ e.g. "midievent 192 1"
For now, I am attempting to switch between the test presets in the "MIDI Programs" directory: numbers [0]-[3], but thus far I have not been able to get Aalto to execute the patch changes.
I also searched the Max/MSP documentation for any special messages to the plugin host object, but to no avail.
I know there is an easy solution to this...