Patch #2: Metronome

In this exercise we focus on automated actions and on controlling the automation. To achieve this, we build a little metronome.  For those who don’t know what a metronome is: it is a device used which produces regular clicks or flashes. The tempo of the regular impulses can be set in beats per minute. Usually a metronome is used by a composer to specifying the intended tempo or used by  musicians to get a good idea about how fast a piece should be played. It’s also used to maintain a consistent tempo when practicing. In order to build a metronome which blinks in a specified temo we will get to know the metro object which produces regular bang messages and the toggle object, which we will use to switch the metronome on and off and some very basic math (a simple division).

pd-24