CSharp examples for System:Math Convert
Get Hz from BPM
using System;//from w ww. ja va 2s . com public class Main{ static public double GetHz(double bpm, double denominator, double numerator, double multiplier) { double result = (bpm / 60) / 4; double x1 = numerator / denominator; return result * x1 * multiplier; } }