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

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()?
I can... The core of the problem is not solved but this helps a lot!
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