asiekierka / nitrotracker

A Fasttracker II style tracker for the Nintendo DS
67 stars 5 forks source link

Support for loading flac files #103

Closed exelotl closed 2 months ago

exelotl commented 2 months ago

Some sample packs come in flac rather than wav. It would be nice to be able to load them without having to convert them on my PC first!

deadpahn commented 2 months ago

This would break compatibility with other trackers (Fasttracker 2) wouldn't it? Also the overhead this adds to the already taxed DS hardware seems like it would be an issue but I'm not sure about that (just a guess).

I wrote a script using SOX to convert all of my DS samples, works like a dream. IMO you don't even want to use stereo 16bit wav files in the first place (the dacs on the DS won't play them correctly anyway). Think of Nitrotracker as an Akai S900 in your pocket.

asiekierka commented 2 months ago

Overhead isn't really the problem; sample import and conversion can take however long it wants. My concern is that adding a FLAC reading library would add a lot of overhead to the code size, and thus RAM usage.

exelotl commented 2 months ago

This is fair, sox gives me a headache but I guess it's no problem for me to spend a bit of time to get some batch conversion working, especially if it's best to preconvert the samples to mono anyways. Flac loading is definitely not an essential feature, I guess we can close this?