Updated smnp.music.tools (markdown)
@@ -1,4 +1,16 @@
|
||||
# Functions
|
||||
## `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(melody: string = "beep")`
|
||||
## `alert(cycles: int, melody: string = "beep")`
|
||||
Runs infinite alert of given melody.
|
||||
|
||||
Available melodies:
|
||||
* `beep`
|
||||
* `bell`
|
||||
* `alarm1`
|
||||
* `alarm2`
|
||||
|
||||
## `alert(cycles: int, melody: string = "beep")`
|
||||
The same as `alert(melody: string = "beep")`, however, it runs with given number of times.
|
||||
Reference in New Issue
Block a user