~ubuntu-branches/ubuntu/edgy/muse/edgy

« back to all changes in this revision

Viewing changes to synti/organ/organ.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2006-01-03 20:18:47 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060103201847-r9poqt6y5gu9hnji
Tags: 0.7.1+0.7.2pre5-1
* New upstream version.
* Updated patches:
  + [20_allow_system_timer]
    Rediffed for 0.7.2pre5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//=========================================================
2
2
//  MusE
3
3
//  Linux Music Editor
4
 
//  $Id: organ.h,v 1.5 2004/04/15 13:46:18 wschweer Exp $
 
4
//  $Id: organ.h,v 1.5.2.1 2005/12/29 23:33:50 spamatica Exp $
5
5
//
6
6
//  Parts of this file taken from:
7
7
//      Organ - Additive Organ Synthesizer Voice
170
170
      void noteoff(int channel, int pitch);
171
171
      void setController(int ctrl, int val);
172
172
 
 
173
 
 
174
      OrganGui* gui;
 
175
 
 
176
   public:
173
177
      virtual void process(float**, int, int);
174
178
      virtual bool playNote(int channel, int pitch, int velo);
175
179
      virtual bool setController(int channel, int ctrl, int val);
176
 
        virtual bool sysex(int, const unsigned char*);
177
180
 
178
181
      virtual int getControllerInfo(int, const char**, int*, int*, int*) const;
179
 
      virtual void getInitData(int*, const unsigned char**);
 
182
      virtual void getInitData(int*, const unsigned char**) const;
180
183
 
181
184
      virtual bool guiVisible() const;
182
185
      virtual void showGui(bool);
183
186
      virtual bool hasGui() const { return true; }
184
187
      virtual void getGeometry(int* x, int* y, int* w, int* h) const;
185
188
      virtual void setGeometry(int x, int y, int w, int h);
186
 
 
187
 
      OrganGui* gui;
188
 
 
189
 
   public:
 
189
      virtual bool sysex(int, const unsigned char*);
190
190
      static SynthCtrl synthCtrl[];
191
191
      Organ(int sampleRate);
192
192
      ~Organ();