pgmout sounds - where do these come from in max?

Ali's icon

Hi all,

I have attatched a patch im working on

Its a sort of cellular automata piano player

In my research I have come across the 'pgmout' object but don't understand where the sounds for each number you can choose come from

Is it some sort of genreal MIDI in max?

Its probably a silly question but as the list goes past 127 my head says it can't be GM

Thanks in advance
Ali

2352.Instrument2MIDIPianoPlayer.v.4.06.maxpat
Max Patch
Ali's icon

Ok it seems there are actually 128 (0-127) so I assume its a GM thing.

So if there are more numbers can I set up more sounds for any number >127 ?

Or is that where the GM stops (ie. you can't save other sounds to number 128, 129, 155 etc?

Chris Muir's icon

The OS has a built in synth. If you double click on any of the MIDI objects (noteout, pgmout, etc.) in a locked patcher they will put up a menu of what is available to be controlled. On the Mac the built in synth is called "AU DLS Synth"

Ali's icon

Lol, thats so simple I feel a bit embaressed.

thanks for pointng it out Crhis, got a bit flumoxed there

seejayjames's icon

I think it's 1-128 actually, rather than 0-127. Instruments 0 and 1 should be the same thing (Acoustic Grand Piano). You can readily Wiki the full GM instrument list. Also note that channel 10 is drum sounds, so instead of each pitch being the same instrument, they're each a distinct sound. And here, the only available pitches are from 27-97, if I remember right.