Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feature Request - SOUND breaks on/off
#7
(02-05-2024, 09:09 PM)a740g Wrote:
(02-05-2024, 04:18 PM)NakedApe Wrote: SOUND still pauses program execution when called though, right? This caused some weird blips and pauses in my early games before someone here pointed this out to me.

Yes - by default.

However, you can let SOUND play in the background by executing PLAY "MB" before using any SOUND statements.

If you are using SOUND to make sound effects (like Abazek), then you are probably better off turning off volume ramping as well by executing PLAY "Q0" before using any SOUND statements.

Both PLAY commands need to be executed only once and remains in effect until the end of the program or until it is changed.
Yes, very cool. I was unaware that PLAY parameters would also affect the SOUND statement. I need to do some updating to the sound and music tutorial lesson.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
Feature Request - SOUND breaks on/off - by Abazek - 02-05-2024, 05:41 AM
RE: Feature Request - SOUND breaks on/off - by TerryRitchie - 02-05-2024, 10:59 PM



Users browsing this thread: 2 Guest(s)