Get Hz from BPM - CSharp System

CSharp examples for System:Math Convert

Description

Get Hz from BPM

Demo Code


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;
      }
}

Related Tutorials