[LAD] writing a bpm counter with (or without) ALSA