Hi, I would like to drop here a link of my private rockbox repo, which contains a set of new videogame music codecs I have been working on during the past months, along with the android changes I uploaded to the rockbox tracker (
https://www.rockbox.org/tracker/task/13339).
If anyone is interested feel free to take a look at the sources and make a build on your own.
I have not tested other targets other than Android and simulator. I use WSL2 in Windows 10, more about this in the tracker link above.
The codecs I worked on are:
- Update Game_Music_Emu codecs to latest version from kode54 repo.
- Added new SPC codec based on higan emulation by kode54.
- Created a DUMB codec.
- Created a sidplay fp codec by porting the whole sidplayfp library to c.
- Created a UADE codec using a modified version of libuade.
- Created a new VGM (s98) codec based on libvgm.
- Created an sc68 codec based on sc68 library.
- Created a PSF codec based on libupse.
- Created a GSF codec based on viogsf.
All these codecs need too much ram (more than 64 MB),
and some rely on multi threading to play fine. So some changes to the codec api where made and I used the tlsf library for dynamic memory allocation.
That is why I created them specifically with the Android port in mind and decided to not upload a patch to the tracker.
If anyone is interested in building the code or talking about the codecs, feel free to send me a pm or contact me through mail.
The sources link:
https://drive.google.com/file/d/1lH0pp681STNhFfz4_qQ8XkmU_Qp9u1nF/view?usp=sharing 1920x1080 apk:
https://drive.google.com/file/d/1G_0kraTAlhn1AuidKnzfOPlMnS4m_6Fz/view?usp=sharing1280x800 apk:
https://drive.google.com/file/d/1xNCeI7G9Nj0Mb41k0YBXZyyKv3XyFJaN/view?usp=sharingCodecs additional data files:
https://drive.google.com/file/d/1Egk5xTu0bxWBDm2uoWrhTKRXxJW86iTZ/view?usp=sharing[25/08/2022 UPDATE]
- Created a MIDI codec based on foobar midi plugin. It supports four midi engines: fluidsynth, mt32, adlmidi and opnmidi.
- Added a Codec Settings menu to manage different codec settings. Especially useful for the MIDI codec.
[15/09/2022 UPDATE]
- Created a USF codec based on lazyusf2.
- Created a SSF/DSF codec based on HighlyTheoretical
- Created a PSF2 codec based on HighlyExperimental
- Created a 2SF codec based on vio2sf
- Created a vgmstream codec.
- Removed multithread implementation of XSF and UADE codecs. So it will be much easier to port them to other targets if they have sufficient RAM.
- Added several new settings in codecs menu.
[20/10/2022 UPDATE]
- Updated VGMSTREAM codec and added external libraries.
- Fixed MIDI codec Sysex dumps support.
- Added more configuration settings for CODECS.
- Updated ASAP codec with latest version.
- Updated japanese language file.
I really hope that any of these codecs, specially the MIDI one, gets to the official release. The same for the Android port.
I can't invest more time to create individual patches of them so if anyone is interested in working on doing it, I can gladly give indications
on how to isolate a codec and create a patch for the tracker. Please feel free to contact me if anyone is interested.
You can find [not so] updated android builds in the build-android and build-lenovo folders of previous uploads.
Long live to rockbox
.
gama (gama.coder@gmail.com).