以C#形式播放波形声音. [英] playing a wav sound in C# form.

查看:119
本文介绍了以C#形式播放波形声音.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从事与发现爆炸对建筑物的影响有关的项目.我想要做的是用按钮事件来爆炸动画.
但我不知道该怎么做?场景就是这样.
窗户中间有建筑物和爆炸装置,侧面板上有一个按钮,单击时我想听爆炸声,我有波形文件,但我听不到使用它!
可以通过编写该场景的代码来帮助我吗?像星期四一样,我必须出示它.
在此先感谢:)

解决方案

请参阅 ^ ].


i am working on a project which related to finding the impact of blast on buildings. what i want to do is to explode an animation with a button event.
but i don''t know how to do this ?? the scene is some thing like this.
there is building in the middle area of a windows form along with an explosive device, on the side panel there is a button on clicking on which i want to hear the sound of a blast, i have the wave file but i can''t use it!!
can some body help me by writing the code for the scenario ?? as on Thursday i have to present it.
Thanks in advance :)

解决方案

See here[^].


这篇关于以C#形式播放波形声音.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆