From 5d45a0a6a4d44bb83098641d2595daec686b5a65 Mon Sep 17 00:00:00 2001 From: Robert Jonsson Date: Mon, 10 Dec 2012 19:40:00 +0000 Subject: rc2 --- muse2/synti/simpledrums2/simpledrums.cpp | 8 ++++---- muse2/synti/simpledrums2/simpledrumsgui.cpp | 23 ++++++++++++++++++++++- 2 files changed, 26 insertions(+), 5 deletions(-) (limited to 'muse2/synti') diff --git a/muse2/synti/simpledrums2/simpledrums.cpp b/muse2/synti/simpledrums2/simpledrums.cpp index 8b3ea69c..ef626954 100644 --- a/muse2/synti/simpledrums2/simpledrums.cpp +++ b/muse2/synti/simpledrums2/simpledrums.cpp @@ -1,5 +1,5 @@ // -// C++ Implementation: simplesynth +// C++ Implementation: simpledrums // // Description: // @@ -1665,9 +1665,9 @@ void SimpleSynth::guiSendError(const char* errorstring) extern "C" { static MESS descriptor = { - "SimpleSynth", - "SimpleSynth by Mathias Lundgren", // (lunar_shuttle@users.sf.net)", - "0.1", //Version string + "SimpleDrums", + "SimpleDrums by Mathias Lundgren", // (lunar_shuttle@users.sf.net)", + "0.1.1", //Version string MESS_MAJOR_VERSION, MESS_MINOR_VERSION, instantiate, }; diff --git a/muse2/synti/simpledrums2/simpledrumsgui.cpp b/muse2/synti/simpledrums2/simpledrumsgui.cpp index 54063959..f5e38a86 100644 --- a/muse2/synti/simpledrums2/simpledrumsgui.cpp +++ b/muse2/synti/simpledrums2/simpledrumsgui.cpp @@ -94,6 +94,26 @@ SimpleSynthGui* simplesynthgui_ptr; +QString labelStrings[] = { + "C 1", + "C#1", + "D 1", + "D#1", + "E 1", + "F 1", + "F#1", + "G 1", + + "G#1", + "A 1", + "A#1", + "B 1", + "C 2", + "C#2", + "D 2", + "D#2", +}; + /*! \fn QChannelSlider::QChannelSlider(Qt::Orientation orientation, int ch, QWidget* parent, const char* name) @@ -401,7 +421,8 @@ SimpleSynthGui::SimpleSynthGui() QHBoxLayout* strip = new QHBoxLayout;//(mgbLayout, 5); mgbLayout->addLayout(strip, r, c); - QLabel* channelLabel = new QLabel(QString("Ch ") + QString::number(i + 1), mainGroupBox); + //QLabel* channelLabel = new QLabel(QString("Ch ") + QString::number(i + 1), mainGroupBox); + QLabel* channelLabel = new QLabel(QString::number(i + 1) + ": (" +labelStrings[i] + ")", mainGroupBox); strip->addWidget(channelLabel); sampleNameLineEdit[i] = new QLineEdit(mainGroupBox); -- cgit v1.2.3