librosa / librosa

Python library for audio and music analysis
https://librosa.org/
ISC License
6.82k stars 938 forks source link

Multitrack support #122

Closed bmcfee closed 9 years ago

bmcfee commented 9 years ago

The current loader has an option to convert stereo to mono, assuming interleaving of two channels. This could be generalized to support general mixing of multi-tracks by using the frame function.

dpwe commented 9 years ago

I don't think there are many multitracks that appear as n-channel wav files. The ones I've seen are collections of individual sound files, as well as MOGGs, which I believe is just a container around multiple independent OGGs.

But I haven't looked at the new data from NYU.

DAn.

On Thursday, November 6, 2014, Brian McFee notifications@github.com wrote:

The current loader has an option to convert stereo to mono, assuming interleaving of two channels. This could be generalized to support general mixing of multi-tracks by using the frame function.

— Reply to this email directly or view it on GitHub https://github.com/bmcfee/librosa/issues/122.

bmcfee commented 9 years ago

Yeah, you're right. Disregard this issue.

romino666 commented 1 year ago

@bmcfee I could extract a stereo track in multitrack using librosa, but I would like the multitrack to be unfiltered.

lostanlen commented 1 year ago

@romino666 if by unfiltered you mean non-resampled, consider passing sr=None

https://librosa.org/blog/2019/07/17/resample-on-load

romino666 commented 1 year ago

@lostanlen thanks

romino666 commented 1 year ago

Microsoft Visual Studio Code is free ?