tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
tracktion::engine::PitchSequence Class Reference

Classes

struct  PitchList
 

Public Member Functions

void initialise (Edit &, const juce::ValueTree &)
 
void freeResources ()
 
EditgetEdit () const
 
void copyFrom (const PitchSequence &)
 
void clear ()
 
const juce::Array< PitchSetting * > & getPitches () const
 
int getNumPitches () const
 
PitchSettinggetPitch (int index) const
 
PitchSettinggetPitchAt (TimePosition) const
 
PitchSettinggetPitchAtBeat (BeatPosition) const
 
int indexOfPitch (const PitchSetting *) const
 
PitchSetting::Ptr insertPitch (TimePosition)
 
PitchSetting::Ptr insertPitch (BeatPosition, int pitch)
 
void movePitchStart (PitchSetting &, BeatDuration deltaBeats, bool snapToBeat)
 
void insertSpaceIntoSequence (TimePosition, TimeDuration amountOfSpace, bool snapToBeat)
 Inserts space in to a sequence, shifting all PitchSettings.
 
void sortEvents ()
 

Public Attributes

juce::ValueTree state
 

Detailed Description

Definition at line 17 of file tracktion_PitchSequence.h.

Constructor & Destructor Documentation

◆ PitchSequence()

tracktion::engine::PitchSequence::PitchSequence ( )

Definition at line 66 of file tracktion_PitchSequence.cpp.

◆ ~PitchSequence()

tracktion::engine::PitchSequence::~PitchSequence ( )

Definition at line 67 of file tracktion_PitchSequence.cpp.

Member Function Documentation

◆ clear()

void tracktion::engine::PitchSequence::clear ( )

Definition at line 80 of file tracktion_PitchSequence.cpp.

◆ copyFrom()

void tracktion::engine::PitchSequence::copyFrom ( const PitchSequence other)

Definition at line 112 of file tracktion_PitchSequence.cpp.

◆ freeResources()

void tracktion::engine::PitchSequence::freeResources ( )

Definition at line 107 of file tracktion_PitchSequence.cpp.

◆ getEdit()

Edit & tracktion::engine::PitchSequence::getEdit ( ) const

Definition at line 69 of file tracktion_PitchSequence.cpp.

◆ getNumPitches()

int tracktion::engine::PitchSequence::getNumPitches ( ) const

Definition at line 118 of file tracktion_PitchSequence.cpp.

◆ getPitch()

PitchSetting * tracktion::engine::PitchSequence::getPitch ( int  index) const

Definition at line 119 of file tracktion_PitchSequence.cpp.

◆ getPitchAt()

PitchSetting & tracktion::engine::PitchSequence::getPitchAt ( TimePosition  time) const

Definition at line 120 of file tracktion_PitchSequence.cpp.

◆ getPitchAtBeat()

PitchSetting & tracktion::engine::PitchSequence::getPitchAtBeat ( BeatPosition  beat) const

Definition at line 122 of file tracktion_PitchSequence.cpp.

◆ getPitches()

const juce::Array< PitchSetting * > & tracktion::engine::PitchSequence::getPitches ( ) const

Definition at line 117 of file tracktion_PitchSequence.cpp.

◆ indexOfPitch()

int tracktion::engine::PitchSequence::indexOfPitch ( const PitchSetting pitchSetting) const

Definition at line 156 of file tracktion_PitchSequence.cpp.

◆ initialise()

void tracktion::engine::PitchSequence::initialise ( Edit ed,
const juce::ValueTree v 
)

Definition at line 94 of file tracktion_PitchSequence.cpp.

◆ insertPitch() [1/2]

PitchSetting::Ptr tracktion::engine::PitchSequence::insertPitch ( BeatPosition  beatNum,
int  pitch 
)

Definition at line 166 of file tracktion_PitchSequence.cpp.

◆ insertPitch() [2/2]

PitchSetting::Ptr tracktion::engine::PitchSequence::insertPitch ( TimePosition  time)

Definition at line 161 of file tracktion_PitchSequence.cpp.

◆ insertSpaceIntoSequence()

void tracktion::engine::PitchSequence::insertSpaceIntoSequence ( TimePosition  time,
TimeDuration  amountOfSpace,
bool  snapToBeat 
)

Inserts space in to a sequence, shifting all PitchSettings.

Definition at line 218 of file tracktion_PitchSequence.cpp.

◆ movePitchStart()

void tracktion::engine::PitchSequence::movePitchStart ( PitchSetting p,
BeatDuration  deltaBeats,
bool  snapToBeat 
)

Definition at line 202 of file tracktion_PitchSequence.cpp.

◆ sortEvents()

void tracktion::engine::PitchSequence::sortEvents ( )

Definition at line 229 of file tracktion_PitchSequence.cpp.

Member Data Documentation

◆ state

juce::ValueTree tracktion::engine::PitchSequence::state

Definition at line 48 of file tracktion_PitchSequence.h.


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