[英]C# and Audio Generation/Playback
I'm making an audio synthesizer and I'm having issues figuring out what to use for audio playback. 我正在制作一个音频合成器,我在找出用于音频播放的内容时遇到了问题。 I'm using physics and math to calculate the source waveforms and then need to feed that waveform to something which can play it as sound.
我正在使用物理和数学来计算源波形,然后需要将该波形馈送到可以将其作为声音播放的东西。 I need something that can 1) play the waveforms I calculate and 2) play multiple sounds simultaneously (like holding one key down on a piano while pressing other keys).
我需要的东西可以1)播放我计算的波形和2)同时播放多个声音(比如按住其他键的同时按住钢琴上的一个键)。 I've done a fair bit of research into this and I can't find something that does both of those things.
我已经对此做了一些研究,我找不到能完成这两件事的东西。 As far as I know, I have 5 potential options:
据我所知,我有5个可能的选择:
Can anyone offer me any guidance on this or how to create flexible audio playback? 任何人都可以为我提供任何指导或如何创建灵活的音频播放?
http://naudio.codeplex.com , without a doubt. http://naudio.codeplex.com ,毫无疑问。 Mark is a regular here on SO, the product is well alive, there are good code examples.
马克是SO的常客,产品很好,有很好的代码示例。
It works. 有用。 We built some great stuff with it.
我们用它制作了一些很棒的东西。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.