MuseScore  3.4
Music composition and notation
Public Member Functions | Public Attributes | List of all members
Ms::DrumInstrument Struct Reference

#include <drumset.h>

Public Member Functions

 DrumInstrument ()
 
 DrumInstrument (const char *s, NoteHead::Group nh, int l, Direction d, int v=0, char sc=0)
 
void addVariant (DrumInstrumentVariant v)
 

Public Attributes

QString name
 
NoteHead::Group notehead
 notehead symbol set More...
 
SymId noteheads [int(NoteHead::Type::HEAD_TYPES)] = { SymId::noteheadWhole, SymId::noteheadHalf, SymId::noteheadBlack, SymId::noteheadDoubleWhole }
 
int line
 place notehead onto this line More...
 
Direction stemDirection
 
int voice
 
char shortcut
 accelerator key (CDEFGAB) More...
 
QList< DrumInstrumentVariantvariants
 

Constructor & Destructor Documentation

◆ DrumInstrument() [1/2]

Ms::DrumInstrument::DrumInstrument ( )
inline

◆ DrumInstrument() [2/2]

Ms::DrumInstrument::DrumInstrument ( const char *  s,
NoteHead::Group  nh,
int  l,
Direction  d,
int  v = 0,
char  sc = 0 
)
inline

Member Function Documentation

◆ addVariant()

void Ms::DrumInstrument::addVariant ( DrumInstrumentVariant  v)
inline

Member Data Documentation

◆ line

int Ms::DrumInstrument::line

place notehead onto this line

◆ name

QString Ms::DrumInstrument::name

◆ notehead

NoteHead::Group Ms::DrumInstrument::notehead

notehead symbol set

◆ noteheads

◆ shortcut

char Ms::DrumInstrument::shortcut

accelerator key (CDEFGAB)

◆ stemDirection

Direction Ms::DrumInstrument::stemDirection

◆ variants

QList<DrumInstrumentVariant> Ms::DrumInstrument::variants

◆ voice

int Ms::DrumInstrument::voice

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