With the sound card #1 and detecting beats on the low frequencies, one way to do it is:
bpmcounter(trigger(music.1.low.beat, 0, 10, 15, 0.15))*(100/160)
The trigger(music.1.low.beat, 0, 10, 15, 0.15) actually detects beats and the bpmcounter function computes the number of beats per minute. Multiplying by (100/160), a BPM of 160 gives you 100%.