• ### Andy Farnell's timebase patch

Hi! I'm studying Farnell's book, and I've come across his sophisticated timebase with swing (pp.227-228), but i can't really seem to understand it... If I'm correct, it computes the value of a pulse, for example a quarter note bpm conversion to ms. He then divides it by what he calls "the beats" (as I see it, he more likely refers to the subdivision of the pulse, is that right? because if it isn't that, i don't get it!). And then he provides the option to apply swing to the beat, which I can't seem to make it work at all, the delay doesn't output bangs for me, which is pretty weird. This makes me think I don't really understand the concept of timebase... Am I missing something? Can someone explain briefly this patch to me? I'll leave here the abstraction and the patch where he uses it. Thanks in advance.

• Posts 4 | Views 332
• Here is the text that accompanies the example:

...(the example) allows you to specify the tempo as beats per minute (BPM) and to add a “swing” to the beat. Notice ﬁrst that start and stop control via the ﬁrst inlet also resets the counter when the timebase is stopped. Bangs from [metro] are duplicated with a [delay] object so we can position every other beat relative to the main rhythm. To convert beats per minute to a period in milliseconds it is divided by 60000 and multiplied by the number of beats per bar. The last parameter provides swing as a percentage, which is added to the delay prior to incrementing the counter.

• @ChicoVaca Only a little time to play with this..... and really not my subject.
The [del] in [timebase] always receives a value that is greater than the [metro] interval, so the delay is always cancelled by the next bang coming from the [metro].
I changed the [+ 1] after the [/ 100] from the swing control to [+ 0] and maybe that solves the problem.
At least the control has some effect although whether it is the desired effect I don't know,
I slowed the [metro] so as to see what is happening....... sequencer.zip
I am sure that someone else will have a better understanding, but maybe this will help you to fix it yourself.....
David.

• @whale-av thanks for your anser David, it was really helpful, I wasn't taking into account that [metro] behaviour... I hope someone else will clarify the purpose of the rest of the patch! Thanks again

Posts 4 | Views 332
Internal error.

Oops! Looks like something went wrong!