summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mdaPiano.cpp12
-rw-r--r--src/mdaPiano.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp
index 4f9fa2c..8f2154b 100644
--- a/src/mdaPiano.cpp
+++ b/src/mdaPiano.cpp
@@ -89,18 +89,6 @@ void mdaPiano::setVolume(float value)
}
-void mdaPiano::setParameter(unsigned char id, float value)
-{
- if(id>=NPARAMS)
- return;
- *p(id+PARAM_OFFSET) = value;
- update();
-#ifdef DEBUG
- printf("changed %i to %f\n", id, value);
-#endif
-}
-
-
void mdaPiano::handle_midi(uint32_t size, unsigned char* data) {
#ifdef DEBUG
printf("%d\n", data[1]);
diff --git a/src/mdaPiano.h b/src/mdaPiano.h
index bda11cc..66518ac 100644
--- a/src/mdaPiano.h
+++ b/src/mdaPiano.h
@@ -25,7 +25,6 @@ public:
unsigned find_free_voice(unsigned char, unsigned char);
void handle_midi(uint32_t size, unsigned char* data);
void setVolume(float);
- void setParameter(unsigned char, float);
private: