MuseScore  3.4
Music composition and notation
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
OVE::Articulation Class Reference

#include <ove.h>

Inheritance diagram for OVE::Articulation:
Inheritance graph
[legend]
Collaboration diagram for OVE::Articulation:
Collaboration graph
[legend]

Public Types

enum  XmlType : char {
  XmlType::Articulation, XmlType::Technical, XmlType::Arpeggiate, XmlType::Ornament,
  XmlType::Fermata, XmlType::Direction, XmlType::Unknown
}
 
enum  VelocityType : char { VelocityType::Offset, VelocityType::SetValue, VelocityType::Percentage }
 
enum  TrillInterval : char { TrillInterval::Diatonic = 0, TrillInterval::Chromatic, TrillInterval::Whole }
 
enum  AccelerateType : char { AccelerateType::None = 0, AccelerateType::Slow, AccelerateType::Normal, AccelerateType::Fast }
 

Public Member Functions

 Articulation ()
 
virtual ~Articulation ()
 
void setArtType (int type)
 
ArticulationType getArtType () const
 
void setPlacementAbove (bool above)
 
bool getPlacementAbove () const
 
bool willAffectNotes () const
 
XmlType getXmlType () const
 
bool getChangeSoundEffect () const
 
void setSoundEffect (int soundFrom, int soundTo)
 
QPair< int, int > getSoundEffect () const
 
bool getChangeLength () const
 
void setLengthPercentage (int percentage)
 
int getLengthPercentage () const
 
bool getChangeVelocity () const
 
void setVelocityType (VelocityType type)
 
VelocityType getVelocityType () const
 
void setVelocityValue (int value)
 
int getVelocityValue () const
 
bool getChangeExtraLength () const
 
void setExtraLength (int length)
 
int getExtraLength () const
 
void setTrillInterval (int interval)
 
TrillInterval getTrillInterval () const
 
void setAuxiliaryFirst (bool first)
 
bool getAuxiliaryFirst () const
 
void setTrillRate (NoteType rate)
 
NoteType getTrillRate () const
 
void setTrillNoteLength (int length)
 
int getTrillNoteLength () const
 
void setAccelerateType (int type)
 
AccelerateType getAccelerateType () const
 
- Public Member Functions inherited from OVE::OffsetElement
 OffsetElement ()
 
virtual ~OffsetElement ()
 
virtual void setXOffset (int offset)
 
virtual int getXOffset () const
 
virtual void setYOffset (int offset)
 
virtual int getYOffset () const
 

Static Public Member Functions

static bool isTrill (ArticulationType type)
 

Private Attributes

ArticulationType type_
 
bool above_
 
bool changeSoundEffect_
 
QPair< int, int > soundEffect_
 
bool changeLength_
 
int lengthPercentage_
 
bool changeVelocity_
 
VelocityType velocityType_
 
int velocityValue_
 
bool changeExtraLength_
 
int extraLength_
 
TrillInterval trillInterval_
 
bool auxiliaryFirst_
 
NoteType trillRate_
 
int trillNoteLength_
 
AccelerateType accelerateType_
 

Member Enumeration Documentation

◆ AccelerateType

Enumerator
None 
Slow 
Normal 
Fast 

◆ TrillInterval

Enumerator
Diatonic 
Chromatic 
Whole 

◆ VelocityType

enum OVE::Articulation::VelocityType : char
strong
Enumerator
Offset 
SetValue 
Percentage 

◆ XmlType

enum OVE::Articulation::XmlType : char
strong
Enumerator
Articulation 
Technical 
Arpeggiate 
Ornament 
Fermata 
Direction 
Unknown 

Constructor & Destructor Documentation

◆ Articulation()

OVE::Articulation::Articulation ( )

◆ ~Articulation()

virtual OVE::Articulation::~Articulation ( )
inlinevirtual

Member Function Documentation

◆ getAccelerateType()

Articulation::AccelerateType OVE::Articulation::getAccelerateType ( ) const

◆ getArtType()

ArticulationType OVE::Articulation::getArtType ( ) const

◆ getAuxiliaryFirst()

bool OVE::Articulation::getAuxiliaryFirst ( ) const

◆ getChangeExtraLength()

bool OVE::Articulation::getChangeExtraLength ( ) const

◆ getChangeLength()

bool OVE::Articulation::getChangeLength ( ) const

◆ getChangeSoundEffect()

bool OVE::Articulation::getChangeSoundEffect ( ) const

◆ getChangeVelocity()

bool OVE::Articulation::getChangeVelocity ( ) const

◆ getExtraLength()

int OVE::Articulation::getExtraLength ( ) const

◆ getLengthPercentage()

int OVE::Articulation::getLengthPercentage ( ) const

◆ getPlacementAbove()

bool OVE::Articulation::getPlacementAbove ( ) const

◆ getSoundEffect()

QPair< int, int > OVE::Articulation::getSoundEffect ( ) const

◆ getTrillInterval()

Articulation::TrillInterval OVE::Articulation::getTrillInterval ( ) const

◆ getTrillNoteLength()

int OVE::Articulation::getTrillNoteLength ( ) const

◆ getTrillRate()

NoteType OVE::Articulation::getTrillRate ( ) const

◆ getVelocityType()

Articulation::VelocityType OVE::Articulation::getVelocityType ( ) const

◆ getVelocityValue()

int OVE::Articulation::getVelocityValue ( ) const

◆ getXmlType()

Articulation::XmlType OVE::Articulation::getXmlType ( ) const

◆ isTrill()

bool OVE::Articulation::isTrill ( ArticulationType  type)
static

◆ setAccelerateType()

void OVE::Articulation::setAccelerateType ( int  type)

◆ setArtType()

void OVE::Articulation::setArtType ( int  type)

◆ setAuxiliaryFirst()

void OVE::Articulation::setAuxiliaryFirst ( bool  first)

◆ setExtraLength()

void OVE::Articulation::setExtraLength ( int  length)

◆ setLengthPercentage()

void OVE::Articulation::setLengthPercentage ( int  percentage)

◆ setPlacementAbove()

void OVE::Articulation::setPlacementAbove ( bool  above)

◆ setSoundEffect()

void OVE::Articulation::setSoundEffect ( int  soundFrom,
int  soundTo 
)

◆ setTrillInterval()

void OVE::Articulation::setTrillInterval ( int  interval)

◆ setTrillNoteLength()

void OVE::Articulation::setTrillNoteLength ( int  length)

◆ setTrillRate()

void OVE::Articulation::setTrillRate ( NoteType  rate)

◆ setVelocityType()

void OVE::Articulation::setVelocityType ( VelocityType  type)

◆ setVelocityValue()

void OVE::Articulation::setVelocityValue ( int  value)

◆ willAffectNotes()

bool OVE::Articulation::willAffectNotes ( ) const

Member Data Documentation

◆ above_

bool OVE::Articulation::above_
private

◆ accelerateType_

AccelerateType OVE::Articulation::accelerateType_
private

◆ auxiliaryFirst_

bool OVE::Articulation::auxiliaryFirst_
private

◆ changeExtraLength_

bool OVE::Articulation::changeExtraLength_
private

◆ changeLength_

bool OVE::Articulation::changeLength_
private

◆ changeSoundEffect_

bool OVE::Articulation::changeSoundEffect_
private

◆ changeVelocity_

bool OVE::Articulation::changeVelocity_
private

◆ extraLength_

int OVE::Articulation::extraLength_
private

◆ lengthPercentage_

int OVE::Articulation::lengthPercentage_
private

◆ soundEffect_

QPair<int, int> OVE::Articulation::soundEffect_
private

◆ trillInterval_

TrillInterval OVE::Articulation::trillInterval_
private

◆ trillNoteLength_

int OVE::Articulation::trillNoteLength_
private

◆ trillRate_

NoteType OVE::Articulation::trillRate_
private

◆ type_

ArticulationType OVE::Articulation::type_
private

◆ velocityType_

VelocityType OVE::Articulation::velocityType_
private

◆ velocityValue_

int OVE::Articulation::velocityValue_
private

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