KeppySoftware / KMC

A fully functional MIDI to WAV/OGG converter.
https://www.youtube.com/channel/UCJeqODojIv4TdeHcBfHJRnA
121 stars 21 forks source link

Add Controller 111 MIDI Loop Start event + Loop X times #4

Closed DevanWolf closed 8 years ago

DevanWolf commented 8 years ago

It would be nice if we have a "Loop X times" option, even for MIDI files that have controller 111 when a song reaches to the end X times jump to that "loop start" spot instead of going back to the beginning, or MIDI files without controller 111 when a song reaches to the end loop X times to the beginning.

Example of a MIDI file with the Controller 111 loop.

KaleidonKep99 commented 8 years ago

You should make a post about that in the Un4seen's official forum.

I have no control in the BASS libraries, only Ian Luck does.

Wohlstand commented 8 years ago

libADLMIDI (unlike BASS, it using emulated OPL-3 Synthesiser to play MIDI's with hardcoded banks which makes it be multiplatform and be independent. However sound is electronic-only, but it may be beutful) in my control, but by default it uses Final Fantasy VII way to loop MIDI's (via "loopStart" and "loopEnd" tags), so, I think, I'll try to add this, because I also asked by someone to add same controller support. Only one question: what to do if multiple of them? I can:

DevanWolf commented 8 years ago

Of course controller 112 would be loop end.

Wohlstand commented 8 years ago

Seems not optional since every controller can have one byte of any data (in total from 0 to 255 of unsigned data or -127 to 127 of signed). But if many MIDI-files using this controller and has any value (include 127 or 255), then right to use 112'th as loop end)