- Cleaned up the ugly MIDI song creating code a little.
- Added a generic Standard MIDI File creator that works with any of the sequencers. mus2midi.cpp is no longer used but is kept around as a reference. SVN r2677 (trunk)
This commit is contained in:
parent
092cbfd55b
commit
070ec75785
12 changed files with 335 additions and 193 deletions
|
|
@ -195,9 +195,9 @@ bool ProduceMIDI (const BYTE *musBuf, int len, TArray<BYTE> &outFile)
|
|||
switch (event & 0x70)
|
||||
{
|
||||
case MUS_NOTEOFF:
|
||||
midStatus |= MIDI_NOTEOFF;
|
||||
midStatus |= MIDI_NOTEON;
|
||||
mid1 = t & 127;
|
||||
mid2 = 64;
|
||||
mid2 = 0;
|
||||
break;
|
||||
|
||||
case MUS_NOTEON:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue