• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • libkmid
 

libkmid

  • libkmid
synthout.h
1 /* synthout.h - class synthOut which handles the /dev/sequencer device
2  for synths (as AWE32)
3  This file is part of LibKMid 0.9.5
4  Copyright (C) 1997,98 Antonio Larrosa Jimenez and P.J.Leonard
5  1999,2000 Antonio Larrosa Jimenez
6  LibKMid's homepage : http://www.arrakis.es/~rlarrosa/libkmid.html
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 
22  Send comments and bug fixes to Antonio Larrosa <larrosa@kde.org>
23 
24 ***************************************************************************/
25 #ifndef _SYNTHOUT_H
26 #define _SYNTHOUT_H
27 
28 #include <libkmid/midiout.h>
29 
44 class SynthOut : public MidiOut
45 {
46  private:
47  class SynthOutPrivate;
48  SynthOutPrivate *di;
49 
50  public:
54  SynthOut(int d=0);
55 
59  ~SynthOut();
60 
64  void openDev (int sqfd);
65 
69  void closeDev(void);
70 
74  void initDev (void);
75 
79  void noteOn ( uchar chn, uchar note, uchar vel );
80 
84  void noteOff ( uchar chn, uchar note, uchar vel );
85 
89  void keyPressure ( uchar chn, uchar note, uchar vel );
90 
94  void chnPatchChange ( uchar chn, uchar patch );
95 
99  void chnPressure ( uchar chn, uchar vel );
100 
104  void chnPitchBender ( uchar chn, uchar lsb, uchar msb );
105 
109  void chnController ( uchar chn, uchar ctl , uchar v );
110 
115  void sysex ( uchar *data,ulong size);
116 };
117 
118 #endif
SynthOut::chnPitchBender
void chnPitchBender(uchar chn, uchar lsb, uchar msb)
See MidiOut::chnPitchBender()
Definition: synthout.cc:177
SynthOut
Synth (AWE) device output class .
Definition: synthout.h:44
SynthOut::openDev
void openDev(int sqfd)
See MidiOut::openDev()
Definition: synthout.cc:59
SynthOut::sysex
void sysex(uchar *data, ulong size)
It&#39;s an empty function, as AWE devices don&#39;t support System Exclusive messages.
Definition: synthout.cc:195
SynthOut::chnPatchChange
void chnPatchChange(uchar chn, uchar patch)
See MidiOut::chnPatchChange()
Definition: synthout.cc:165
SynthOut::noteOff
void noteOff(uchar chn, uchar note, uchar vel)
See MidiOut::noteOff()
Definition: synthout.cc:151
SynthOut::initDev
void initDev(void)
See MidiOut::initDev()
Definition: synthout.cc:113
SynthOut::chnPressure
void chnPressure(uchar chn, uchar vel)
See MidiOut::chnPressure()
Definition: synthout.cc:171
SynthOut::chnController
void chnController(uchar chn, uchar ctl, uchar v)
See MidiOut::chnController()
Definition: synthout.cc:183
MidiOut
External MIDI port output class .
Definition: midiout.h:51
SynthOut::noteOn
void noteOn(uchar chn, uchar note, uchar vel)
See MidiOut::noteOn()
Definition: synthout.cc:134
SynthOut::~SynthOut
~SynthOut()
Destructor.
Definition: synthout.cc:54
SynthOut::SynthOut
SynthOut(int d=0)
Constructor.
Definition: synthout.cc:46
SynthOut::closeDev
void closeDev(void)
See MidiOut::closeDev()
Definition: synthout.cc:106
SynthOut::keyPressure
void keyPressure(uchar chn, uchar note, uchar vel)
See MidiOut::keyPressure()
Definition: synthout.cc:160

libkmid

Skip menu "libkmid"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

libkmid

Skip menu "libkmid"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for libkmid by doxygen 1.8.11
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |