diff options
author | Tim E. Real <termtech@rogers.com> | 2012-10-27 09:58:29 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2012-10-27 09:58:29 +0000 |
commit | b1776f093d4b87ad2635990f429f4503157f6288 (patch) | |
tree | a18bcc5e23674d74037c87e0541f9feefdc7b9ca /muse2/muse/helper.cpp | |
parent | b297348e8e2cd76be6f1d546fb458865cc4d263b (diff) |
Improved: Velocity graphs. Icon for showing per-note or all velocities. Also found in Settings.
Improved: Piano KB has current selected note (yellow). For velocity/polyaftertouch/other per-note ctrls.
Bad timing warning now has "don't show again".
Added 'speaker' icon to drum edit. And drum list and piano keyboard now obey the 'speaker' icon.
Diffstat (limited to 'muse2/muse/helper.cpp')
-rw-r--r-- | muse2/muse/helper.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/muse2/muse/helper.cpp b/muse2/muse/helper.cpp index 986d38aa..e2186af9 100644 --- a/muse2/muse/helper.cpp +++ b/muse2/muse/helper.cpp @@ -888,7 +888,7 @@ int populateMidiCtrlMenu(PopupMenu* menu, MusECore::PartList* part_list, MusECor int channel = track->outChannel(); MusECore::MidiPort* port = &MusEGlobal::midiPorts[track->outPort()]; bool isDrum = track->type() == MusECore::Track::DRUM; - bool isNewDrum = track->type() == MusECore::Track::NEW_DRUM; + bool isNewDrum = (track->type() == MusECore::Track::NEW_DRUM) || (track->type() == MusECore::Track::MIDI); MusECore::MidiInstrument* instr = port->instrument(); MusECore::MidiControllerList* mcl = instr->controller(); @@ -1030,18 +1030,6 @@ int populateMidiCtrlMenu(PopupMenu* menu, MusECore::PartList* part_list, MusECor est_width = fmw; menu->addAction(stext)->setData(velo); -// stext = QWidget::tr("PolyAftertouch"); -// fmw = menu->fontMetrics().width(stext); -// if(fmw > est_width) -// est_width = fmw; -// menu->addAction(stext)->setData(polyafter); -// -// stext = QWidget::tr("Aftertouch"); -// fmw = menu->fontMetrics().width(stext); -// if(fmw > est_width) -// est_width = fmw; -// menu->addAction(stext)->setData(after); - // Add global default controllers (all controllers not found in instrument). for (isList i = sList.begin(); i != sList.end(); ++i) { |