Hello again
a GUI metronome in the classic style
inlet for messages. eg.:
[bpm 180, lvl 0.5, note 96<
outlet for bang
slider for BPM (range 20-416 - useful 40-208)
slider for level (0-1)
slider for MIDI note (36-120)
use shift to change sliders for more accuracy
toggle for on/off
I didn't and still don't know much about metronomes, except what I,ve googled.
But I had fun making it.
Cheers Balwyn
-
gmetronome A GUI metronome in the classic style
-
@Balwyn Very very good! That is much much much much much much much much much much much much much much much much much much much much much much much much prettier than the one I made myself......!
David. -
@whale-av Hi David, thank you very 'much'.
I checked out your metronome and noticed that you were using a [metro] for the timing, and that made me wander if the [line] and [sel] I used was accurate. But running side by side with yours proved to be OK, whew!
Cheers and thanks
Balwyn -
Hi
Here is a 100% vanilla compatible version
gmetronome (vanilla).zip -
Hi @Balwyn Nice work, as always. I made a small addition to your patch by putting the pendulum's input through a sine function to make the motion look more natural. I hope you like it. I think this is based on the first attachment you posted, but it should be very easy to update for the second one.
gmetronome-sine-easing.pd -
Hi @LiamG That is amazing much smoother. Thank you!
What is happening? I cant quite get the maths here
Cheers
Balwyn -
@Balwyn Hah, I was worried you'd ask this! I made the modification a few weeks ago and I can't remember exactly my reasoning. I think that 6 is the coefficient that you specified and 2 pi is the range for the sin function, but it's a bit hazy for me too. Anyway, it works!
I also tried to (but gave up) changing the frequency slider so that it increased logarithmically to allow finer tuning for the lower frequencies. It gets high quite quickly, but the lower BPMs are probably the more useful ones, and hence it would be nice to have more control. Not sure if this is a: physically accurate or b: something you'd want in your patch.