Open iCUE-Solutions opened 8 months ago
Is there a way to save the left and right channel of a recording into separate files? I'm currently splitting the wav files after but given how comprehensive the soundfile lib is, I feel it might be there already.
Any help in this matter is really appreciated.
You get a frames x channels numpy array, so just index into that (audio[:, 0] for the first channel).
audio[:, 0]
Is there a way to save the left and right channel of a recording into separate files? I'm currently splitting the wav files after but given how comprehensive the soundfile lib is, I feel it might be there already.
Any help in this matter is really appreciated.