Ardour  9.0-pre0-582-g084a23a80d
Pitch Class Reference

#include <Pitch.h>

Static Public Member Functions

static float getFrequencyForPitch (int midiPitch, float centsOffset=0, float concertA=440.0)
 
static int getPitchForFrequency (float frequency, float *centsOffsetReturn=0, float concertA=440.0)
 

Detailed Description

Convert between musical pitch (i.e. MIDI pitch number) and fundamental frequency.

Definition at line 22 of file Pitch.h.

Member Function Documentation

◆ getFrequencyForPitch()

static float Pitch::getFrequencyForPitch ( int  midiPitch,
float  centsOffset = 0,
float  concertA = 440.0 
)
static

◆ getPitchForFrequency()

static int Pitch::getPitchForFrequency ( float  frequency,
float *  centsOffsetReturn = 0,
float  concertA = 440.0 
)
static

The documentation for this class was generated from the following file: