CATBeatsToSamples() converts the number of beats at a given sample rate and tempo to the number of samples (Frames)
- Parameters:
-
| numBeats | - number of beats to convert - may be fractional |
| sampleRate | - sample rate (e.g. 44100.0f) |
| tempo | - tempo in bpm |
- Returns:
- CATFloat32 - number of samples (may be fractional)
Definition at line 100 of file CATMathUtil.h.