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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Feature Request: Limit Scope of a "Find" and "Change" hanness 5 741 06-21-2025, 11:21 PM
Last Post: SMcNeill
  Ok, sound experts need a couple of answers doppler 3 8,567 11-03-2024, 01:23 AM
Last Post: doppler
Tongue request: anyone want to do a remake of goat simulator or desert bus? madscijr 7 1,628 10-01-2024, 04:30 PM
Last Post: SMcNeill
  DIM AT -- feature request Jack 2 742 08-15-2023, 12:15 AM
Last Post: grymmjack
  Sound Command johnno56 13 2,402 12-23-2022, 09:31 PM
Last Post: mnrvovrfc

Forum Jump:


Users browsing this thread: 1 Guest(s)