-
Notifications
You must be signed in to change notification settings - Fork 0
Music Module
syeyoung edited this page Jul 16, 2020
·
1 revision
Music module contains blocks defined in Music Extension
Music module can be imported via
Require "Music";
Music::playDrum(drumidx: Text, beats: Text) : play drum drumidx (drum idx) for beats beats
Music::getTempo() : get Current Tempo (Expression only)
Music::rest(beats: Text) : rest beats
Music::setInstrument(instidx: Text) : set Instrument to instidx (instrument index)
Music::setTempo(tempo: Text) : set Tempo to tempo
Music::playNote(noteidx: Text, beats: Text) : play noteidx (note idx) for beats
Music::changeTempoBy(tempo: Text) : add tempo to Tempo
- snare
- bass drum
- side stick
- crash cymbal
- open hi hat
- closed hi hat
- tambourine
- hand clap
- claves
- wood block
- cowbell
- triangle
- bongo
- conga
- cabasa
- guiro
- vibraslap
- cuica
- piano
- electric piano
- organ
- guitar
- bass
- pizzicato
- cello
- trombone
- clarinet
- saxophone
- flute
- wooden flute
- bassoon
- choir
- vibraphone
- music box
- steel drum
- marimba
- synth lead
- synth pad
- C Octave 0
- C#
- D
- D#
- E
- F
- F#
- G
- G#
- A
- A#
- B
- C Octave 1
- D
- D#
.... and so on
N/A