VocalEasel/mma/lib/stdlib/metronome3.mma

60 lines
922 B
Plaintext
Raw Normal View History

2006-11-10 08:07:56 +00:00
// metronome3
Begin Doc
Simple beats to put at the start of a piece. This file has
only 3/4 times.
End
Author Bob van der Poel
2011-07-26 22:49:39 +00:00
Begin DocVar
NoMetronome If this variable is set the clicks will still sound, but \
their volume will be at a zero level. This gives a bit of silence \
at the start of playing a track. Quite useful for performance.
End
2006-11-10 08:07:56 +00:00
SeqClear
Time 3
Timesig 3 4
2011-07-26 22:49:39 +00:00
// push the metronome velocity value onto the stack. Either 0 or 90.
If Ndef NOMETRONOME
StackValue 90
Else
StackValue 0
Endif
2006-11-10 08:07:56 +00:00
Begin Drum Define
2011-07-26 22:49:39 +00:00
M1 1 0 $_StackValue
M23 M1 Shift 1; M1 Shift 2
2006-11-10 08:07:56 +00:00
End
2011-07-26 22:49:39 +00:00
2006-11-10 08:07:56 +00:00
/////////////////////////////////////////
////// Metronome3
////// A 3/4 metronome.
SeqSize 1
Begin Drum-Low
Sequence M1
Tone LowWoodBlock
Volume mp
End
Begin Drum-Hi
Sequence M23
Tone HighWoodBlock
Volume mp
End
DefGroove Metronome3 A single bar waltz introduction.