Rinnegatamante / lpp-vita

Lua Player Plus for PSVITA. Documentation on: http://rinnegatamante.github.io/lpp-vita/
GNU General Public License v3.0
179 stars 27 forks source link

Mod Sound support [Feature Request] #16

Open DarkWolfNine opened 7 years ago

DarkWolfNine commented 7 years ago

I'm converting/upgrading my older Lua PSP game to your lpp-vita library. I have some Amiga MOD files used for audio.. I have them converted to mp3 currently. The space savings for MOD files are huge in comparison.. (I don't know how to incorporate the feature)

Just a wishful request. Thank you!

Sound.openMod (has a nice ring to it, no? ;) )

Rinnegatamante commented 7 years ago

Quite sure EasyRPG has a decoder for all these formats, https://github.com/EasyRPG/Player/blob/master/src/decoder_xmp.cpp

That shouldn't be hard to integrate (EasyRPG changed a bit the main audio_decoder but specific decoders should be 100% compatible with the old version lpp-vita runs on) and should add .mod support together with several other audio files format.

Btw, opus and ogg are far better than mp3 in both filesize and audio quality.

DarkWolfNine commented 7 years ago

Fantastic. Thank you for the quick reply! - I will work on converting it to ogg or opus for now. - opus is a format I haven't really looked into before. I definitely will when I get home.

Thank you for your work with the vita scene and lpp (I plan to look to your 3DS build following my conversion to Vita completion).

I greatly appreciate all of your hard work!

devnoname120 commented 7 years ago

lpp-vita supports midi playing: https://github.com/Rinnegatamante/lpp-vita/blob/0438d011dd8a4f2bf34aec67aad50eddff44620c/doc/luaSound.cpp#L92

Converting your audio from MOD to MIDI might be a good choice for you.

DarkWolfNine commented 7 years ago

Thanks for the suggestion devnoname120!. I had tried that earlier.. Unfortunately my midi talents aren't good at all.. - If I could get it to sound just like the original mod's I really would. (but they come out piano, or other), I know it's only 2 mods, so mp3 won't be too bad (temporarily).

I did just try playing around with that app you linked. After spending 20 or so minutes messing around with the settings (tried the basic conversion first, to no avail), I wasn't able to get it to sound like the originals. - (Teach me to use a couple Psygnosis mod's from the Amiga days. :) )

Than you for the idea though. I appreaciate it!