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

libtdemid

  • libtdemid
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/libtdemid.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 <libtdemid/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
MidiOut
External MIDI port output class .
Definition: midiout.h:52
SynthOut
Synth (AWE) device output class .
Definition: synthout.h:45
SynthOut::openDev
void openDev(int sqfd)
See MidiOut::openDev()
Definition: synthout.cpp:59
SynthOut::chnPitchBender
void chnPitchBender(uchar chn, uchar lsb, uchar msb)
See MidiOut::chnPitchBender()
Definition: synthout.cpp:177
SynthOut::noteOn
void noteOn(uchar chn, uchar note, uchar vel)
See MidiOut::noteOn()
Definition: synthout.cpp:134
SynthOut::~SynthOut
~SynthOut()
Destructor.
Definition: synthout.cpp:54
SynthOut::chnPressure
void chnPressure(uchar chn, uchar vel)
See MidiOut::chnPressure()
Definition: synthout.cpp:171
SynthOut::closeDev
void closeDev(void)
See MidiOut::closeDev()
Definition: synthout.cpp:106
SynthOut::keyPressure
void keyPressure(uchar chn, uchar note, uchar vel)
See MidiOut::keyPressure()
Definition: synthout.cpp:160
SynthOut::chnPatchChange
void chnPatchChange(uchar chn, uchar patch)
See MidiOut::chnPatchChange()
Definition: synthout.cpp:165
SynthOut::SynthOut
SynthOut(int d=0)
Constructor.
Definition: synthout.cpp:46
SynthOut::initDev
void initDev(void)
See MidiOut::initDev()
Definition: synthout.cpp:113
SynthOut::sysex
void sysex(uchar *data, ulong size)
It's an empty function, as AWE devices don't support System Exclusive messages.
Definition: synthout.cpp:195
SynthOut::chnController
void chnController(uchar chn, uchar ctl, uchar v)
See MidiOut::chnController()
Definition: synthout.cpp:183
SynthOut::noteOff
void noteOff(uchar chn, uchar note, uchar vel)
See MidiOut::noteOff()
Definition: synthout.cpp:151

libtdemid

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

libtdemid

Skip menu "libtdemid"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for libtdemid by doxygen 1.9.1
This website is maintained by Timothy Pearson.