> Is it possible to play midi command on OS5 like > note on, program change, etc... ?
you mean something like this? -- /** * MIDI callback function (native arm) * * @param userData pointer to the MIDI data * @param stream the audio stream * @param buffer audio buffer to write into * @param frameCount the number of frames to generate. * @return errNone if no error, error code otherwise. */ Err midi_callback(void *userData, SndStreamRef stream, void *buffer, UInt32 frameCount) { --- you can write your own streaming audio routine to play midi quite well on OS5 devices (even 5.0) - a good midi engine will require at least 1Mb of samples; we added this support to lemmings, but, only use two samples (still, its better than the normal old sound) :P --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/