1 import Reactogon.Global.Clock
2 import Reactogon.Auxiliary.Auxiliary
3 import Reactogon.Semantics
8 putStr "Testing metronome: "
12 tempo' = switch ((constant 30)
14 (after 20 10)) (\t -> switch ((constant t)
16 (after 20 60)) (constant))
18 testMetronome = embed (metronome (tempo'))
19 ((), take 120 $ repeat (1, Nothing))