Generating a sine wave exactly in sync with the beats is a bit tricky because beats are often inconsistent...
One function I like is:
sin(fade(1,60/bpmcounter(trigger(music.1.low.beat, 0.07, 10, 15, 0.15))))
I'm changing the sine wave speed based on the BPM of the low frequencies.
> music.1.low.beat is the tracked music parameter. You can track only one frequency band using music.1.bandbeat(the band number)
> trigger(music.1.low.beat, 0.07, 10, 15, 0.15) is the standard beat detector function
> bpmcounter(...) returns the number of detected beats per minutes
However, usually I keep it simple and just use the beat detector function with a fade out:
fadeout(0.3, trigger(music.1.low.beat, 0.07, 10, 15, 0.15))
If you want something more "continuous", you can use the taptempo.pulse function:
fadeout(0.3, taptempo.pulse(trigger(music.1.low.beat, 0.07, 10, 15, 0.15)))
Hope this helps!