synthout.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 #ifndef _SYNTHOUT_H
00026 #define _SYNTHOUT_H
00027 
00028 #include <libkmid/midiout.h>
00029 
00044 class SynthOut : public MidiOut
00045 {
00046   private:
00047     class SynthOutPrivate;
00048     SynthOutPrivate *di;
00049 
00050   public:
00054     SynthOut(int d=0);
00055 
00059     ~SynthOut();
00060 
00064     void openDev    (int sqfd);
00065 
00069     void closeDev(void);
00070 
00074     void initDev    (void);
00075 
00079     void noteOn     ( uchar chn, uchar note, uchar vel );
00080 
00084     void noteOff    ( uchar chn, uchar note, uchar vel );
00085 
00089     void keyPressure    ( uchar chn, uchar note, uchar vel );
00090 
00094     void chnPatchChange ( uchar chn, uchar patch );
00095 
00099     void chnPressure    ( uchar chn, uchar vel );
00100 
00104     void chnPitchBender ( uchar chn, uchar lsb,  uchar msb );
00105 
00109     void chnController  ( uchar chn, uchar ctl , uchar v ); 
00110 
00115     void sysex      ( uchar *data,ulong size);
00116 };
00117 
00118 #endif
 
This file is part of the documentation for libkmid Library Version 3.2.0.