Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Loop sound always crackles

Author
Message
bigbrother 2000
21
Years of Service
User Offline
Joined: 15th Oct 2003
Location: UK
Posted: 9th Dec 2003 14:10
hi,

when i make as sound loop if a variable = 1 it crackles, wheres if you just play the sound once, such as on a key press it sounds normal, anyone any ideas of why it does this?
Clarks
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location: BALTIMORE,MARYLAND
Posted: 11th Dec 2003 07:38
its because everytime db reads through a program and loops, it restarts the sound if the variable is = to 1. heres a solution that should work. first if the variable is = 1, tell db to play the sound and if the sound is playing then tell db to loop.
orv
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: Chicago, IL
Posted: 11th Dec 2003 20:45
it might be the way the sound begins and ends. if it end loud but starts soft, the speaker cone will "pop" during the transition. To fix you could use some sound editing software to ramp up the sound at the very begining, and ramp down at the end. this way the speaker cone will be at the same place during the transition (no popping). I've done this when working on a telophony system a few years back!



Cheers!

If you aim at nothing you'll hit it every time. 806mhz AMD Athlon Processor. 384MB memory.
Windows XP Home Edition. RADEON 9700 Pro graphics card. - editor.exe=1.0.6.1 - DBPCompiler.exe=V1.05

Login to post a reply

Server time is: 2024-11-25 20:22:25
Your offset time is: 2024-11-25 20:22:25