Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Possibility of libopenmpt implementation?
« previous next »
  • Print
Pages: [1]

Author Topic: Possibility of libopenmpt implementation?  (Read 708 times)

Offline dustboxednorth

  • Member
  • *
  • Posts: 3
  • Come on, little funny man! Come on!
Possibility of libopenmpt implementation?
« on: April 01, 2022, 10:57:53 AM »
Mornin'

One thing I was really looking forward to when I installed Rockbox on my iPod 4th generation was listening to some good old tracker modules. Now, the current tracker module playback routines are okay for some earlier, simpler modules, but the lack of accuracy starts to become apparent on stuff that uses pitch bends and such.

As someone who has used OpenMPT for over a decade, I'm well aware of the fact that it is one of the most accurate trackers for PC. From what I understand, it's powered by its own open-source library, called libopenmpt, which gives it such notable accuracy.

Would it be possible to implement this into Rockbox in such a way that I can play modules and have them view in the Now Playing menu, just like one would with .MODs now? It'd be really nice to have myself a decent on-the-go tracker music player. Though, from what I understand, this seems like it'd be a pretty big undertaking, so forgive me if I may be asking for too much.

TIA,
dbn
« Last Edit: April 01, 2022, 11:17:47 AM by dustboxednorth »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9214
Re: Possibility of libopenmpt implementation?
« Reply #1 on: April 01, 2022, 11:18:27 AM »
That library is in c++ and uses floating point for calculations, so not a good choice for rockbox or embedded devices in general that don't have floating point units.
Logged

Offline dustboxednorth

  • Member
  • *
  • Posts: 3
  • Come on, little funny man! Come on!
Re: Possibility of libopenmpt implementation?
« Reply #2 on: April 01, 2022, 11:26:19 AM »
Shoot, I see :-\ I know there's also the BASS library by Un4seen Developments, which iirc is also quite accurate and has C APIs. Unfortunately it also seems to utilize floating points for decoding and such.
Logged

Offline amachronic

  • Developer
  • Member
  • *
  • Posts: 269
Re: Possibility of libopenmpt implementation?
« Reply #3 on: April 01, 2022, 11:38:34 AM »
I think libopenmpt is a non-starter unfortunately. saratoga beat me to it, but C++ and floating point are just way too much effort to support -- even on fast CPUs with an FPU, which I don't think the iPod 4G has.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9214
Re: Possibility of libopenmpt implementation?
« Reply #4 on: April 01, 2022, 11:45:07 AM »
Quote from: dustboxednorth on April 01, 2022, 11:26:19 AM
Shoot, I see :-\ I know there's also the BASS library by Un4seen Developments, which iirc is also quite accurate and has C APIs.

More importantly, it is not open source, so you cannot port it to anything.
Logged

Offline dustboxednorth

  • Member
  • *
  • Posts: 3
  • Come on, little funny man! Come on!
Re: Possibility of libopenmpt implementation?
« Reply #5 on: April 01, 2022, 12:41:54 PM »
Quote
More importantly, it is not open source, so you cannot port it to anything.

forgot about that, damn. guess accurate module playback isn't gonna be implemented for quite a while, then.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Possibility of libopenmpt implementation?
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.031 seconds with 17 queries.