{{htmlmetatags>metatag-robots=() metatag-title=(BOOM | ugBASIC User Manual) metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum) metatag-description=(Manual page for BOOM) metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png) metatag-og:title=(BOOM | ugBASIC User Manual) metatag-og:description=(Manual page for BOOM) }} ====== ugBASIC User Manual ====== ===== BOOM ===== ===== SYNTAX ===== BOOM [duration [MS]] [ON channel] ==== PURPOSE ==== This command makes the computer emit an explosion-like sound. It is possible to indicate the duration of sound effect and on which voices the system should emit the sound. If omitted, it will be issued on all. Note that the execution of the effect can be synchronous or asynchronous, depending on the target. Synchronous execution means that the program will wait for the effect to complete before returning; on the contrary, asynchronous execution requires the program to continue executing subsequent instructions. The behavior can be modified by the ''DEFINE AUDIO SYNC'' and ''DEFINE AUDIO ASYNC'' pragmas, which however may not be available for the target in question. ==== EXAMPLE ==== BOOM 1000 MS BOOM 100 MS ON %001 ==== ABBREVIATION ==== Boo ==== AVAILABLE ON ==== * Commodore VIC-20 * Atari (400/800) * Atari XL/XE * Commodore 128 (MOS 8502) * Commodore 64 * ColecoVision * Commodore PLUS/4 * VG-5000 * Amstrad CPC 664 * MSX ==== ANY PROBLEM? ==== If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON BOOM|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY ===== [[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]