Gin
Public Member Functions | Static Public Member Functions | List of all members
NoteDuration Class Reference

How long is a note? More...

Public Member Functions

 NoteDuration (const char *name="", float bars=0.0f, float note=0.0f)
 
const juce::String & getName () const
 
float toSeconds (juce::AudioPlayHead *playhead) const
 
float toSeconds (float bpm) const
 
float getBars ()
 
float getBeats ()
 

Static Public Member Functions

static const std::vector< NoteDuration > & getNoteDurations ()
 
static float toSeconds (juce::AudioPlayHead *playhead, float value)
 

Detailed Description

How long is a note?

Constructor & Destructor Documentation

◆ NoteDuration()

NoteDuration::NoteDuration ( const char *  name = "",
float  bars = 0.0f,
float  note = 0.0f 
)

Member Function Documentation

◆ getNoteDurations()

static const std::vector<NoteDuration>& NoteDuration::getNoteDurations ( )
static

◆ toSeconds() [1/3]

static float NoteDuration::toSeconds ( juce::AudioPlayHead *  playhead,
float  value 
)
static

◆ getName()

const juce::String& NoteDuration::getName ( ) const

◆ toSeconds() [2/3]

float NoteDuration::toSeconds ( juce::AudioPlayHead *  playhead) const

◆ toSeconds() [3/3]

float NoteDuration::toSeconds ( float  bpm) const

◆ getBars()

float NoteDuration::getBars ( )

◆ getBeats()

float NoteDuration::getBeats ( )

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