[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mockingboard



MIDI files indicate
1)what time a note should start (does it indicate the channel it should
be played on?)
2)what time a note should end

this transfers easily to MB, because the MB works the same way,
you tell it to play a note, and it plays the note until you tell it to
stop
playing it.

I need to parse the MIDI file,
loop
FilePosition = FilePosition + 1
  IF data,FilePosition = STOPNOTE then AddToOutPutFile
STOPNOTE(channel)
  IF data,FilePosition = STARTNOTE then addToOutPutFile STARTNOTE
(channel), notevalue
  IF data,FilePosition = EndOfFile then addToOutputFile EndOfFile: SAVE
OutPutFile:  END
GOTO LOOP

for the STARTNOTE commands, I need to convert MIDI note values
into MockingBoard note values.

more research...  to be continued