简体   繁体   English

使用 NAudio 开放音频格式和音频合成

[英]open audio formats and audio synthesis using NAudio

  1. How can I open different audio formats(except.mp3 and.wav) using Naudio and C#?如何使用 Naudio 和 C# 打开不同的音频格式(.mp3 和 .wav 除外)?

  2. How can I create audio synthesis unsing Naudio and C#?(I mean how to get the sound frequency and other data necesary for audio synthesis).如何在不使用 Naudio 和 C# 的情况下创建音频合成?(我的意思是如何获取音频合成所需的声音频率和其他数据)。

PS I've looked at this tutorial series PS我看过这个教程系列

http://opensebj.blogspot.com/2009/02/introduction-to-using-naudio.html http://opensebj.blogspot.com/2009/02/introduction-to-using-naudio.html

and this one和这个

http://www.giawa.com/tutorials/?p=19o http://www.giawa.com/tutorials/?p=19o

  1. In addition to MP3 and WAV, NAudio can also open AIFF and WMA files with the AiffFileReader and WmaFileReader classes.除了 MP3 和 WAV,NAudio 还可以使用 AiffFileReader 和 WmaFileReader 类打开 AIFF 和 WMA 文件。 Beyond that, you will have to write your own WaveStream derived class to read other formats.除此之外,您必须编写自己的 WaveStream 派生 class 才能读取其他格式。

  2. See my tutorial on how to play a sine wave in NAudio , which will show you the basics of how to get started with audio synthesis in NAudio.请参阅我关于如何在 NAudio 中播放正弦波的教程,它将向您展示如何开始在 NAudio 中进行音频合成的基础知识。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM