The description of a single voice in a MusicXML part.
More...
#include <musicxmlsupport.h>
The description of a single voice in a MusicXML part.
◆ VoiceDesc()
Ms::VoiceDesc::VoiceDesc |
( |
| ) |
|
◆ incrChordRests()
void Ms::VoiceDesc::incrChordRests |
( |
int |
s | ) |
|
◆ numberChordRests() [1/2]
int Ms::VoiceDesc::numberChordRests |
( |
| ) |
const |
◆ numberChordRests() [2/2]
int Ms::VoiceDesc::numberChordRests |
( |
int |
s | ) |
const |
|
inline |
◆ overlaps()
bool Ms::VoiceDesc::overlaps |
( |
| ) |
const |
|
inline |
◆ preferredStaff()
int Ms::VoiceDesc::preferredStaff |
( |
| ) |
const |
Determine preferred staff for this voice.
◆ setOverlap()
void Ms::VoiceDesc::setOverlap |
( |
bool |
b | ) |
|
|
inline |
◆ setStaff()
void Ms::VoiceDesc::setStaff |
( |
int |
s | ) |
|
|
inline |
◆ setStaffAlloc()
void Ms::VoiceDesc::setStaffAlloc |
( |
int |
s, |
|
|
int |
i |
|
) |
| |
|
inline |
◆ setVoice() [1/2]
void Ms::VoiceDesc::setVoice |
( |
int |
v | ) |
|
|
inline |
◆ setVoice() [2/2]
void Ms::VoiceDesc::setVoice |
( |
int |
s, |
|
|
int |
v |
|
) |
| |
|
inline |
◆ staff()
int Ms::VoiceDesc::staff |
( |
| ) |
const |
|
inline |
◆ staffAlloc()
int Ms::VoiceDesc::staffAlloc |
( |
int |
s | ) |
const |
|
inline |
◆ toString()
QString Ms::VoiceDesc::toString |
( |
| ) |
const |
◆ voice() [1/2]
int Ms::VoiceDesc::voice |
( |
| ) |
const |
|
inline |
◆ voice() [2/2]
int Ms::VoiceDesc::voice |
( |
int |
s | ) |
const |
|
inline |
◆ _chordRests
int Ms::VoiceDesc::_chordRests[MAX_STAVES] |
|
private |
The number of chordrests on each MusicXML staff.
◆ _overlaps
bool Ms::VoiceDesc::_overlaps |
|
private |
This voice contains active notes in multiple staves at the same time.
◆ _staff
int Ms::VoiceDesc::_staff |
|
private |
◆ _staffAlloc
int Ms::VoiceDesc::_staffAlloc[MAX_STAVES] |
|
private |
For overlapping voices: voice is allocated on these staves (note: -2=unalloc -1=undef 1=alloc)
◆ _voice
int Ms::VoiceDesc::_voice |
|
private |
◆ _voices
int Ms::VoiceDesc::_voices[MAX_STAVES] |
|
private |
For every voice allocated on the staff, the voice number.
The documentation for this class was generated from the following files: