哪种Mediarecorder输出格式与Libersa兼容?
对于我正在开发的Android应用程序的一部分,我想对先前记录的语音信号进行一些分析(可能仅是STFT)。到目前为止,我将Mediarecorder使用带有三_GPP的Mediarecorder作为录制的输出图。然后,我计划使用天秤座库执行STFT。 (我正在使用Chaquopy将Python包括在我的应用程序中)。
但是,在使用libsa加载音频信号时,我一直在获得nobackenderror,根据其他帖子,这很可能与libresa无法加载使用的音频格式有关。 那么,我可以使用哪个outputformat或AudioEncoder使用Libsoa支持的?还是我必须切换到Audiorecord而不是Mediarecorder才能以兼容格式记录?
For one part of the Android app I am developing, I am wanting to perform some analysis (probably only an STFT) on a previously recorded speech signal. So far I used the MediaRecorder with THREE_GPP as the OutputFormat for recording. I was then planning to use the librosa library to perform the STFT.
(I am using Chaquopy to include Python in my code of the app).
However, I keep getting a NoBackendError when loading the audio signal with librosa, which according to other posts is most likely linked to librosa not being able to load the used audio format.
So which OutputFormat or AudioEncoder can I use that will be supported by librosa? Or do I have to switch to AudioRecord instead of the MediaRecorder to record in a compatible format?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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