Metronome: Difference between revisions

Content added Content deleted
Line 469: Line 469:
{{out}}
{{out}}
<pre>
<pre>
NB. (t met f) prints a bell character followed by a little "animation"
NB. (t met f) prints a bell character followed by a little "animation"
NB. at f beats per minute for t seconds. It returns the total number
NB. at f beats per minute for t seconds. It returns the total number
NB. of beats.
NB. of beats.
10 met 60
10 met 60
\
\
Line 479: Line 479:
/
/
15
15
NB. Monadic case sets t to infinity, so you can go insane without
NB. Monadic case sets t to infinity, so you can go insane without
NB. worrying about the metronome ever stopping.
NB. worrying about the metronome ever stopping.
met 42
met 42
\ . . .
\ . . .