rock-hopper / shuriken

Shuriken Beat Slicer
GNU General Public License v2.0
107 stars 6 forks source link

Cannot open files other than .wav? #9

Closed mxmilkiib closed 7 years ago

mxmilkiib commented 7 years ago

I'm on Arch Linux. I've installed via shuriken-git and I get an "File contains data in an unknown format". dialog box and this in the console when attempting to open an mp3.

AUBIO ERROR: source_sndfile: Failed opening /home/milk/music/02 Floating in Windows '95.mp3: File contains data in an unknown format. AUBIO ERROR: source_wavread: could not find RIFF header in /home/milk/music/02 Floating in Windows '95.mp3 AUBIO ERROR: source: failed creating aubio source with /home/milk/music/02 Floating in Windows '95.mp3 at samplerate 0 with hop_size 4096

rock-hopper commented 7 years ago

Hi milkmiruku. Shuriken uses libsndfile and sndlib to load audio files so unfortunately mp3 is not currently supported. However, this may change in the future as I'd like to make use of libav which can load just about anything.

I'm curious as to why you're getting those aubio errors. Have you customised the code in any way?

mxmilkiib commented 7 years ago

Fair enough, thanks :) No, I haven't changed the code.

mxmilkiib commented 6 years ago

libsndfile "Add MP3 support" issue - https://github.com/erikd/libsndfile/issues/258