From b0546e5e7f7044019892543c6c82029db8d564a7 Mon Sep 17 00:00:00 2001 From: Robert Jonsson Date: Thu, 15 Sep 2011 12:14:55 +0000 Subject: moved attic to a branch of it's own --- attic/muse_qt4_evolution/synti/libsynti/mess2.h | 57 ------------------------- 1 file changed, 57 deletions(-) delete mode 100644 attic/muse_qt4_evolution/synti/libsynti/mess2.h (limited to 'attic/muse_qt4_evolution/synti/libsynti/mess2.h') diff --git a/attic/muse_qt4_evolution/synti/libsynti/mess2.h b/attic/muse_qt4_evolution/synti/libsynti/mess2.h deleted file mode 100644 index 207eb6c3..00000000 --- a/attic/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 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 - -- cgit v1.2.3