| # libkmid Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# synthout.h

    00001 /*  synthout.h  - class synthOut which handles the /dev/sequencer device
    00002                         for synths (as AWE32)
    00003     This file is part of LibKMid 0.9.5
    00004     Copyright (C) 1997,98  Antonio Larrosa Jimenez and P.J.Leonard
    00005                   1999,2000 Antonio Larrosa Jimenez
    00006     LibKMid's homepage : http://www.arrakis.es/~rlarrosa/libkmid.html
    00007     This library is free software; you can redistribute it and/or
    00008     modify it under the terms of the GNU Library General Public
    00009     License as published by the Free Software Foundation; either
    00010     version 2 of the License, or (at your option) any later version.
    00011
    00012     This library is distributed in the hope that it will be useful,
    00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00015     Library General Public License for more details.
    00016
    00017     You should have received a copy of the GNU Library General Public License
    00018     along with this library; see the file COPYING.LIB.  If not, write to
    00019     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00020     Boston, MA 02111-1307, USA.
    00021
    00022     Send comments and bug fixes to Antonio Larrosa <larrosa@kde.org>
    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 kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:28:30 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001