You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to be pretty straightforward to do this: librosa can accept FLAC files directly. You would only have to modify the code to also scan for flac files
In Mp3ToVec.py:
if filename[-3:].lower() == 'mp3' or filename[-3:].lower() == 'm4a':
->
if filename[-3:].lower() == 'mp3' or filename[-3:].lower() == 'm4a' or filename[-4].lower() == 'flac':
Be careful as there are be parts of the code that assume that the extension is only 3 characters rather than 4 - e.g., full_path[:-3]
Hi there. Most of my songs are in flac format.
It'd be nice to have flac support.
Is this doable?
The text was updated successfully, but these errors were encountered: