-
midi matrix
can anyone explain midiport.h functions??
need to alter this to play a matrix:
Code:
else
{
char chan = 0;
int prg = 0;
long time = 0;
for(i=60; i < 72; prg+=4, i++)
{
Pm_WriteShort(mstream, 0,
Pm_Message(SBYTE(MD_PRG,chan), prg, 0));
time = Pt_Time(NULL);
Pm_WriteShort(mstream, 0,
Pm_Message(SBYTE(MD_NOTEON,chan), i, 120));
while(Pt_Time(NULL) - time < 1000);
Pm_WriteShort(mstream, 0,
Pm_Message(SBYTE(MD_NOTEOFF,chan), i, 120));
}
don't understand the pm synthex??
-
Wut libwewy duz dis ooze?
-
portmidi.lib porttime.lib and winmm.lib
yea sorry that should have been portmidi.h