User Tools

Site Tools


ugbasic:user:kw:music
Translations of this page:


ugBASIC User Manual

MUSIC

SYNTAX

   MUSIC music

PURPOSE

The MUSIC command starts a piece of music from the music variable. This music will be played independently of your program, without affecting it in the slightest.

Normally, it's possible to store several complete arrangements. Each composition is assigned its own individual music variable.

The music system is intelligent, and will automatically suspend your music for the duration of any subsequent sound effects on the current channel. When the sound has finished, your tune will be restarted from its previous position.

EXAMPLE

  MUSIC fugue

ABBREVIATION

 Mus

AVAILABLE ON

  • Commodore 128 (Zilog Z80)
  • Commodore 128 (MOS 8502)
  • SEGA SG-1000
  • Commodore 64
  • Commodore VIC-20
  • Atari (400/800)
  • Commodore PLUS/4
  • Amstrad CPC 664
  • SEGA SC-3000
  • ColecoVision
  • 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 open an issue for this keyword on GitHub. Thank you!

POWERED BY