Closed EMCP closed 5 years ago
Do you want the library to read one of the channels or mix all the channels together?
I am attempting to measure the difference between an audio sample.. and another.
I think the mix would be the first choice since there could be panning being performed... For reference this is the project I'm porting.. I have a personal version in python3
https://github.com/kylemcdonald/AudioNotebooks
The particular call they perform is using FFMPEG.. I'd guess they'd mix
https://github.com/kylemcdonald/AudioNotebooks/blob/master/Collect%20Samples.ipynb
audio, _ = ffmpeg_load_audio(fn, sr, mono=True)
which then calls
https://github.com/kylemcdonald/AudioNotebooks/blob/master/utils/ffmpeg_load_audio.py
reading FFMPEG's docs doesn't really specify what happens if you pass -ac _
that is less than input channels
I am working on porting a project that just analyzes the mono singles of audio samples..
Not sure how it was done in Python, but now trying to just get a working copy of my workflow into Julialang.. is there a quick way to indicate I want to read the wav into a mono?
Thanks for this library, I haven't found a lot of audio processing other than this library.