UOMOP
Writing audio file using soundfile library 본문
Project/Music Plagiarism Project
Writing audio file using soundfile library
Happy PinGu 2022. 7. 4. 15:45y1, sr = librosa.load('1-1.wav')
y2, sr = librosa.load('1-2.wav')
y1, _ = librosa.effects.trim(y1)
y2, _ = librosa.effects.trim(y2)
sf.write('y1.wav', data = y1, samplerate = sr, format='wav', endian='LITTLE', subtype='PCM_16')
sf.write('y2.wav', data = y2, samplerate = sr, format='wav', endian='LITTLE', subtype='PCM_16')
'Project > Music Plagiarism Project' 카테고리의 다른 글
Librosa - tempo contorl (0) | 2022.10.09 |
---|---|
Cutting Period에 따른 Pearson Coef. (0) | 2022.07.19 |
"Similarity Detection" using Pearson Correlation Coefficient (0) | 2022.07.19 |
Colab 다중 선택, 수정 (0) | 2022.07.09 |
librosa를 통해서 ReSampling (0) | 2022.07.04 |
Comments