C# 中的机器声音
我想将机器声音添加到我的路由器表模拟器程序中。这个想法是听到步进电机随着与我的图形同步的音调变化而加速和减速。与主轴电机相同,随着转速的升高和降低,其螺距也会发生变化。我想到要么添加真实录制的电机声音并在运行时修改音高,要么创建模拟电机的合成声音。谁能建议实现这一目标的最简单方法?除了最基本的东西之外,我几乎没有任何声音编程经验。我正在 Visual Studio.net 中使用 C# 进行编程
I want add machine sounds to my router table simulator program. The idea is to hear the stepper motors accelerate and decelerate with a change in pitch synced with my graphics. Same with the spindle motor, it has a pitch change as its rpm goes up and down. I thought of either adding real recorded motor sounds and modifying the pitch at run time or create synthetic sounds simulating the motors. Can anyone suggest the easiest way to achieve this? I have hardly any experience in sound programming besides the most basic stuff. I am programming in C# in Visual Studio.net
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看这些链接:
http://www.codeproject.com/KB /audio-video/cswavplayfx.aspx
http://channel9.msdn.com/coding4fun /articles/Generate-Sound-Waves-with-C-Wave-Oscillators
这些应该给出选项的想法(使用一些你提到的效果与合成声音相比,无论哪种方式......
check these links out:
http://www.codeproject.com/KB/audio-video/cswavplayfx.aspx
http://channel9.msdn.com/coding4fun/articles/Generating-Sound-Waves-with-C-Wave-Oscillators
These should give an idea for the options (playing pre-recorded audio with some effects versus generating the sound synthetically) you mentioned, either way...