[f] and an addition object, [+], and link them as shown so
that the next value held in the float will be its last value plus
one. You can verify that the counter works by attaching a number box
to the float output and a toggle to the left inlet as previously.
Make sure audio processing is turned on. Click the toggle to start the metronome running. Each time the float
gets hit with another bang it advances one step. A trigger unit is
used after the metro to split the bang messages into order, right
to left - so the counter is incremented before the bang is sent.
A-timebase so when
we use it in another patch we do so by creating a new object [A-timebase].
Abstractions are not the same as sub-patches which we created before by prefixing
a new object with pd like [pd mysubpatch], you must remember to save each abstraction
you edit because it isn't a part of the main patch, the main patch just refers to it.
Unlike sub-patches an abstraction also has its own memory space when loaded, so you can
duplicate abstractions without worry.
A-timebase.pd Andy Farnell