PDA

View Full Version : wanted - demo with use of midi events


whatsup
12-04-2009, 06:39 AM
can someone please post a demo project which demonstrate
how to process midi messages with IPlug ?

say a transpose effect,
which include one slider to set the amount of the transpose.

also preffered, if some other operations will be include,

for example:

only midi notes with velocity more then 100, and from MIDI channel 2,
will be transpose, others will just passthru.

thanks in advance.

Jeffos
12-04-2009, 07:54 AM
whatsup, you just need to override ProcessMidiMsg()
Pass-thru example:

void SnMMultiOut::ProcessMidiMsg(IMidiMsg* pMsg)
{
SendMidiMsg(pMsg);
}


but the idea is of course to process pMsg...

on a sidenote: your english is improving post after post ;)

whatsup
12-05-2009, 10:12 AM
first thank you for replying and compliment.

I need an example with Message Position, little Note/Velocity processing.

but anyway, thank you, each piece of information can help (I hpoe).

Jeffos
12-05-2009, 10:31 AM
check this out! http://forum.cockos.com/showthread.php?t=42187

whatsup
12-05-2009, 10:54 AM
thank you very very much Jeffos, that's was really helpfull.