Beep sounds do not work in a compiled application

Hi,
I realy dont know where is the problem. Beep sounds work perfectly when my application starts through Matlab but they do not work when the application is compiled to exe. I have checked settings on my system (Windows 8) and also tried this on another computer with Windows 7. Any idea? Anyone can try it?
Thanks a lot, Filip

 採用された回答

Image Analyst
Image Analyst 2013 年 9 月 8 日

0 投票

Can you try to play other sounds and tell us if that works?
[waveFileData, Fs, nbits, readinfo] = wavread(fullWavFileName);
sound(waveFileData, Fs);

4 件のコメント

Filip Dvoracek
Filip Dvoracek 2013 年 9 月 8 日
That works!
Image Analyst
Image Analyst 2013 年 9 月 8 日
編集済み: Image Analyst 2013 年 9 月 8 日
Well then, can you use your own custom wavefile instead of the default beep()?
Filip Dvoracek
Filip Dvoracek 2013 年 9 月 8 日
I can... The core of the problem is not solved but this helps a lot!
Image Analyst
Image Analyst 2013 年 9 月 8 日
If you really want the beep(), you can call them and work with them and they will figure it out. You paid enough for the compiler so might as well get some support for it. Have you checked out your sound settings? I know Windows has several settings for different ways the sounds can be generated. Sometimes one of them gets set way down. Right click on the speaker icon and select "Open Volume Mixer" and make sure all sliders are at the top.

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by