summaryrefslogtreecommitdiff
path: root/muse2/synti/simpledrums2
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/synti/simpledrums2')
-rw-r--r--muse2/synti/simpledrums2/simpledrums.cpp8
-rw-r--r--muse2/synti/simpledrums2/simpledrumsgui.cpp23
2 files changed, 26 insertions, 5 deletions
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);