将大音频保存为python中的W64
我有一个10,000个WAV文件的目录,每30秒长。总持续时间约为83小时。我将它们读成python:
import os
import librosa
import numpy as np
x = np.array([librosa.load(f, sr=16000)[0] for f i sorted(os.listdir(root))])
我的理解是,要保存音频,我必须使用w64
给定持续时间限制wav
。我有很多公羊和存储空间。
如何将x
保存在w64
格式中?
I have a directory of 10,000 wav files, each 30 seconds long. The total duration is about 83 hours. I read them into python like this:
import os
import librosa
import numpy as np
x = np.array([librosa.load(f, sr=16000)[0] for f i sorted(os.listdir(root))])
My understanding is that, to save the audio, I must use w64
given the duration limitations of wav
. I have plenty of ram and storage.
How do I save x
in w64
format in python?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论