如何在C#中更改声音格式 [英] how to change sound format in C#
本文介绍了如何在C#中更改声音格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好.
我正在执行文本到语音转换(TTS),然后将其另存为WAV文件.很好.
但是,保存的TTS的音频格式为:
音频样本大小= 16bit
渠道= 1(单声道)
音频采样率= 22kHz
音频格式= PCM
如何将音频格式更改为:
音频样本大小= 8bit
渠道= 1(单声道)
音频采样率= 8kHz
音频格式= PCM
基本上,如何更改音频格式?
在此先感谢
Hello.
I am doing text-to-speech (TTS), and then save it as WAV file. That works just fine.
But, the saved TTS has the audio format of :
audio sample size = 16bit
channels = 1 (mono)
audio sampe rate = 22kHz
audio format = PCM
How can I change the audio format to :
audio sample size = 8bit
channels = 1 (mono)
audio sampe rate = 8kHz
audio format = PCM
Basically, how to change the audio format?
Thanks in advance
推荐答案
我没有您的问题的答案,但我发现了 ^ ],其中可能包含您需要的信息.
I don''t have an answer to your problem but I have found Recording and Playing Sound with the Waveform Audio Interface[^], which may contain the information that you require.
这篇关于如何在C#中更改声音格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文