1
smnp.music.tool
Bartłomiej Przemysław Pluta edited this page 2020-04-25 14:21:53 +02:00

Functions

metronome

metronome(bpm: int = 120, beats: int = 4, accent: note = @A#2, beat: note = @F#2)

Starts a metronome with given tempo, beats and notes acting as an accent and regular beat. The notes are played by MIDI sequencer at 10th channel, so these notes are actually a drums sounds.

alert

alert(melody: string = "beep")
alert(cycles: int, melody: string = "beep")

Runs alert of given melody. If cycles argument is passed, the alert runs cycles numbers of times, otherwise it is infinite.

Available melodies:

  • beep
  • bell
  • alarm1
  • alarm2