diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-03-07 19:01:11 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-03-07 19:01:11 +0000 |
commit | e40fc849149dd97c248866a4a1d026dda5e57b62 (patch) | |
tree | b12b358f3b3a0608001d30403358f8443118ec5f /muse_qt4_evolution/synti/libsynti/mess2.h | |
parent | 1bd4f2e8d9745cabb667b043171cad22c8577768 (diff) |
clean3
Diffstat (limited to 'muse_qt4_evolution/synti/libsynti/mess2.h')
-rw-r--r-- | muse_qt4_evolution/synti/libsynti/mess2.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/muse_qt4_evolution/synti/libsynti/mess2.h b/muse_qt4_evolution/synti/libsynti/mess2.h deleted file mode 100644 index 207eb6c3..00000000 --- a/muse_qt4_evolution/synti/libsynti/mess2.h +++ /dev/null @@ -1,57 +0,0 @@ -//========================================================= -// MusE -// Linux Music Editor -// $Id:$ -// (C) Copyright 2007 Werner Schweer (ws@seh.de) -//========================================================= - -#ifndef __MESS2_H__ -#define __MESS2_H__ - -#include "mess.h" - -//--------------------------------------------------------- -// SynthCtlr -//--------------------------------------------------------- - -struct SynthCtrl { - const char* name; - int ctrl; - int min; - int max; - int init; - int val; - SynthCtrl(const char* n, int i, int a, int b, int c) - : name(n), ctrl(i), min(a), max(b), init(c) - {} - }; - -//--------------------------------------------------------- -// Mess2 -// MusE experimental software synth -// extended interface -//--------------------------------------------------------- - -class Mess2 : public Mess { - unsigned char* initData; - - void getInitData(int*, const unsigned char**); - int getControllerInfo(int, const char**, int*, int*, int*); - - protected: - static QList<SynthCtrl*> ctrl; - - static void addController(const char* name, - int ctrl, int min = 0, int max = 16384, int init = 0); - static int controllerIdx(const char* name); - static int controllerId(int idx); - static int controllerIdx(int id); - static const char* controllerName(int idx); - - public: - Mess2(int channels); - virtual ~Mess2(); - }; - -#endif - |