Minor style issue: Please use spaces around operators, like  "rames / (samplerate * 60);"