|
Ardour
9.2-541-gc1841a13dd
|
#include <scale.h>
Public Member Functions | |
| MusicalKey (float root, MusicalMode const &) | |
| MusicalKey (MusicalKey const &other) | |
| MusicalKey | operator= (MusicalKey const &other) |
| float | root () const |
| float | nth (int n) const |
Public Member Functions inherited from ARDOUR::MusicalMode | |
| MusicalMode (std::string const &name, MusicalModeType type, std::vector< float > const &elements) | |
| MusicalMode (MusicalMode const &other) | |
| MusicalMode (MusicalMode::Name) | |
| MusicalMode (std::ifstream &file) | |
| MusicalMode | operator= (MusicalMode const &other) |
| std::string | name () const |
| MusicalModeType | type () const |
| int | size () const |
| std::vector< float > const & | elements () const |
| std::vector< float > | pitches_from_root (float root, int steps) const |
| std::vector< int > | as_midi (int scale_root) const |
| void | set_name (std::string const &str) |
Private Attributes | |
| float | _root |
Additional Inherited Members | |
Public Types inherited from ARDOUR::MusicalMode | |
| enum | Name { IonianMajor , AeolianMinor , Dorian , HarmonicMinor , MelodicMinorAscending , MelodicMinorDescending , Phrygian , Lydian , Mixolydian , Locrian , PentatonicMajor , PentatonicMinor , Chromatic , BluesScale , NeapolitanMinor , NeapolitanMajor , Oriental , DoubleHarmonic , Enigmatic , Hirajoshi , HungarianMinor , HungarianMajor , Kumoi , Iwato , Hindu , Spanish8Tone , Pelog , HungarianGypsy , Overtone , LeadingWholeTone , Arabian , Balinese , Gypsy , Mohammedan , Javanese , Persian , Algerian } |
Public Attributes inherited from ARDOUR::MusicalMode | |
| PBD::Signal< void()> | NameChanged |
| PBD::Signal< void()> | Changed |
Protected Member Functions inherited from ARDOUR::MusicalMode | |
| void | fill (Name) |
| std::vector< float > | absolute_pitch_pitches_from_root (float root, int steps) const |
| std::vector< float > | semitone_steps_pitches_from_root (float root, int steps) const |
| std::vector< float > | wholetone_steps_pitches_from_root (float root, int steps) const |
| std::vector< float > | ratio_steps_pitches_from_root (float root, int steps) const |
| std::vector< float > | ratio_from_root_pitches_from_root (float root, int steps) const |
| std::vector< float > | midi_note_pitches_from_root (float root, int steps) const |
| std::vector< int > | absolute_pitch_as_midi (int root) const |
| std::vector< int > | semitone_steps_as_midi (int root) const |
| std::vector< int > | wholetone_steps_as_midi (int root) const |
| std::vector< int > | ratio_steps_as_midi (int root) const |
| std::vector< int > | ratio_from_root_as_midi (int root) const |
| std::vector< int > | midi_note_as_midi (int root) const |
Protected Attributes inherited from ARDOUR::MusicalMode | |
| std::string | _name |
| MusicalModeType | _type |
| std::vector< float > | _elements |
Definition at line 132 of file ardour/ardour/scale.h.
| ARDOUR::MusicalKey::MusicalKey | ( | float | root, |
| MusicalMode const & | |||
| ) |
| ARDOUR::MusicalKey::MusicalKey | ( | MusicalKey const & | other | ) |
| float ARDOUR::MusicalKey::nth | ( | int | n | ) | const |
| MusicalKey ARDOUR::MusicalKey::operator= | ( | MusicalKey const & | other | ) |
|
inline |
Definition at line 140 of file ardour/ardour/scale.h.
|
private |
Definition at line 144 of file ardour/ardour/scale.h.