Skip to content
Stefan Devai edited this page May 1, 2020 · 18 revisions

music

music [track=-1] [frame=-1] [row=-1] [loop=true] [sustain=false]

Parameters:

  • track : the id of the track to play from (0..7)
  • frame : the index of the frame to play from (0..15)
  • row : the index of the row to play from (0..63)
  • loop : loop music or play it once (true/false)
  • sustain : sustain notes after the end of each frame or stop them (true/false)

Description:

This function starts playing a track created in the Music Editor. Call without arguments to stop the music.

Clone this wiki locally