Audio: MOD file support?

Hi, is there any direct (or indirect) support for playing MOD files?

http://en.wikipedia.org/wiki/MOD_(file_format)

These files are often perfect as small game tunes (if you have the rights to use them). That and MIDI support would really be a fantastic feature for Corona!

I am not aware of MOD support in Lua at all.  I was not even aware that people were even making MOD files anymore.   :slight_smile:

As for MIDI support, the problem is that in order to play a MIDI file, you have to have a soundbank on the device that has instrument samples to use to play the audio.  MIDI files only contain the instruments and note information; there are no built-in sounds (like in a MOD file).  So when playing a MIDI file, you need to have instrument samples for each of the possible instruments called in the file.  Back in the day, companies like Creative Labs and Aureal and Turtle Beach spent a lot of money creating creating soundbanks for this purpose.

To the best of my knowledge, no mobile device has any built-in soundbanks, so any app that plays MIDI would need to have this as well.

There was another thread on someone trying to do this via a synthesizer.  They have their source code up on Github:

http://forums.coronalabs.com/topic/43651-video-sksynth-playing-midi-files-source-code-released/

>I am not aware of MOD support in Lua at all.  I was not even aware that people

>were even making MOD files anymore.    :slight_smile:

Maybe not making them anyore, but old Amiga programmers certainly appreciate their compactness…

>To the best of my knowledge, no mobile device has any built-in soundbanks, so any app

>that plays MIDI would need to have this as well.

I’ve been tinkering a bit with Processing for Android and there, with the apwidgets library midi playback on my phone is absolutely no problem. That’s why I thought maybe midi playback would be somehow possible with Corona/lua, but I understand that it’s not.

I am not aware of MOD support in Lua at all.  I was not even aware that people were even making MOD files anymore.   :slight_smile:

As for MIDI support, the problem is that in order to play a MIDI file, you have to have a soundbank on the device that has instrument samples to use to play the audio.  MIDI files only contain the instruments and note information; there are no built-in sounds (like in a MOD file).  So when playing a MIDI file, you need to have instrument samples for each of the possible instruments called in the file.  Back in the day, companies like Creative Labs and Aureal and Turtle Beach spent a lot of money creating creating soundbanks for this purpose.

To the best of my knowledge, no mobile device has any built-in soundbanks, so any app that plays MIDI would need to have this as well.

There was another thread on someone trying to do this via a synthesizer.  They have their source code up on Github:

http://forums.coronalabs.com/topic/43651-video-sksynth-playing-midi-files-source-code-released/

>I am not aware of MOD support in Lua at all.  I was not even aware that people

>were even making MOD files anymore.    :slight_smile:

Maybe not making them anyore, but old Amiga programmers certainly appreciate their compactness…

>To the best of my knowledge, no mobile device has any built-in soundbanks, so any app

>that plays MIDI would need to have this as well.

I’ve been tinkering a bit with Processing for Android and there, with the apwidgets library midi playback on my phone is absolutely no problem. That’s why I thought maybe midi playback would be somehow possible with Corona/lua, but I understand that it’s not.