Midi input

Hi,
you don’t have to add anything to AGain to let it receive note events. It already has an event input bus declared.
See AGain::initialize:

	//---create Event In/Out buses (1 bus with only 1 channel)------
	addEventInput (STR16 ("Event In"), 1);

To actually use the events you have to change the AGain::process method. The notes are in the ProcessData structure in the inputEvents member.

And the simplest Instrument example is the note_expression_synth in the SDK.

I hope this helps,
Arne