MuseScore Plugins
3.5
Plugins API for MuseScore
|
Provides an access to channel properties. More...
Properties | |
QString | name |
Name of this channel. | |
int | volume |
Channel volume, from 0 to 127. More... | |
int | pan |
Channel pan, from 0 to 127. More... | |
int | chorus |
Channel chorus, from 0 to 127. More... | |
int | reverb |
Channel reverb, from 0 to 127. More... | |
bool | mute |
Whether this channel is muted. More... | |
int | midiProgram |
MIDI program number, from 0 to 127. More... | |
int | midiBank |
MIDI patch bank number. More... | |
Provides an access to channel properties.
Similar to Mixer, changes to some of the playback-related properties are not recorded to undo stack and are not revertable with standard user-visible "undo" action. Changing MIDI patch though is undoable in normal way ("dock" type plugins may need to call Score::startCmd / Score::endCmd for that to work properly).
Iterating over all channels in the current score can be done as follows:
|
readwrite |
Channel chorus, from 0 to 127.
|
readwrite |
MIDI patch bank number.
Changing this property is recorded to the program's undo stack and can be reverted with a standard "undo" action.
|
readwrite |
MIDI program number, from 0 to 127.
Changing this property is recorded to the program's undo stack and can be reverted with a standard "undo" action.
|
readwrite |
Whether this channel is muted.
|
readwrite |
Channel pan, from 0 to 127.
|
readwrite |
Channel reverb, from 0 to 127.
|
readwrite |
Channel volume, from 0 to 127.