thanx james,
i think i got some sounds going now. now i'm using the gui from the help file to trigger (changed from start/stop button to only a trigger) the sounds, eventhough introducing a second trigger unables the control sliders??
second question, is it possible to trigger the button (former start/stop button from the help file to gui) with a midi signal??
if that makes sense, i'd be thankful to get some infos
Hmm... if the second trigger disables the sliders, then there's probably something in your gui code causing the second trigger to take some inappropriate action. Could you post a code snippet?
No problem to do it by MIDI, but something in your sentence makes me think about design practices. It sounds a bit like you want to put the synth-triggering bit into the button's action, and then call the button when a MIDI message is received. That's a bit backward in my view (and I think generally among programmers). Usually GUI widgets should reflect the state of some object exists independently of the GUI, but they shouldn't serve as important connective tissue between other bits of code.
I think it would be better to have your MIDI responder create the Synth, and optionally that function could also make something flashy happen in the interface.
See the MIDIResponder help file for information on listening to MIDI messages.
My extension library (available as a set of Quarks) has another approach to MIDI responders that I personally find more convenient.
James