public static int BeatsToSamples(float tempo, float beats) { return(MusicUtil.SecondsToSamples(MusicUtil.BeatsToSeconds(tempo, beats))); }
public static double BarsToSeconds(float tempo, float bars) { return(MusicUtil.BeatsToSeconds(tempo, bars * 4f)); }