18 Jun
2006
18 Jun
'06
7:14 p.m.
Atte André Jensen wrote:
This works for me ( on win32 ), using a variety of 1::second / 1::samp => float srate;
Potentially stupid question: Using this (thanks, it works) I get a bpm as a duration: ((now - first_tap)/nb_taps)/sample_rate * 60 Another place I do: 60 => int bpm; 1::second / 1::samp => float sample_rate; Is it possible to cast the calculated bpm in duration to float? -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions