deviceman.cc
337 device[n_midi]=new AlsaOut(n_midi,client, port, snd_seq_client_info_get_name(clienti), snd_seq_port_info_get_name(porti));
void chnController(uchar chn, uchar ctl, uchar v)
Sends a Controller event to a MIDI channel.
Definition: deviceman.cc:526
void tmrSetTempo(int v)
Sets the tempo which will be used to convert between ticks and milliseconds.
Definition: deviceman.cc:553
virtual void initDev()
Initializes the device sending generic standard midi events and controllers, such as changing the pat...
Definition: midiout.cc:85
void chnPitchBender(uchar chn, uchar lsb, uchar msb)
Changes the Pitch Bender value on a MIDI channel.
Definition: deviceman.cc:521
void noteOff(uchar chn, uchar note, uchar vel)
Sends a Note Off MIDI event.
Definition: deviceman.cc:501
virtual void chnPatchChange(uchar chn, uchar patch)
See DeviceManager::chnPatchChange()
Definition: midiout.cc:146
const char * midiMapFilename(void)
Returns the filename where the Midi Mapper was loaded from, or "" if no MIDI Mapper is in use.
Definition: deviceman.cc:776
virtual void chnController(uchar chn, uchar ctl, uchar v)
See DeviceManager::chnController()
Definition: midiout.cc:185
void keyPressure(uchar chn, uchar note, uchar vel)
Sends a Key Pressure (or Aftertouch) MIDI event.
Definition: deviceman.cc:506
void sysEx(uchar *data, ulong size)
Sends a SYStem EXclusive message to the default MIDI device (usually, external MIDI synths,...
Definition: deviceman.cc:531
virtual void noteOn(uchar chn, uchar note, uchar vel)
See DeviceManager::noteOn()
Definition: midiout.cc:112
virtual void noteOff(uchar chn, uchar note, uchar vel)
See DeviceManager::noteOff()
Definition: midiout.cc:129
const char * type(int i)
Returns the type of device the i-th device is , in a user-friendly string .
Definition: deviceman.cc:734
void chnPatchChange(uchar chn, uchar patch)
Changes the patch (instrument) on a MIDI channel.
Definition: deviceman.cc:511
virtual void chnPitchBender(uchar chn, uchar lsb, uchar msb)
See DeviceManager::chnPitchBender()
Definition: midiout.cc:165
int defaultDevice(void)
Returns the device to which the MIDI events will be sent.
Definition: deviceman.cc:764
void setMidiMapper(MidiMapper *map)
Sets a MidiMapper object to be used to modify the midi events before sending them.
Definition: midiout.cc:106
TQString readPathEntry(const TQString &pKey, const TQString &aDefault=TQString::null) const
void setVolumePercentage(int i)
Changes the "master" volume of the played events by altering next volume controller events.
Definition: deviceman.cc:808
int setPatchesToUse(int *patchesused)
Loads the patches you're going to use .
Definition: deviceman.cc:794
bool readBoolEntry(const TQString &pKey, bool bDefault=false) const
void noteOn(uchar chn, uchar note, uchar vel)
Sends a Note On MIDI event.
Definition: deviceman.cc:496
void initDev(void)
Calls MidiOut::initDev() in turn in each of the available devices.
Definition: deviceman.cc:482
A Midi Mapper class which defines the way MIDI events are translated (or "mapped") to different ones.
Definition: midimapper.h:59
virtual void keyPressure(uchar chn, uchar note, uchar vel)
See DeviceManager::keyPressure()
Definition: midiout.cc:139
void chnPressure(uchar chn, uchar vel)
Changes the Pressure (Aftertouch) on a MIDI channel.
Definition: deviceman.cc:516
void setDeviceNumberForChannel(int chn, int dev)
Sets the device number associated with a given channel.
Definition: deviceman.cc:819
void setPatchesToUse(int *patchesused)
See DeviceManager::setPatchesToUse() .
Definition: gusout.cc:525
const char * midiMapFilename()
Returns the path to the file where the current used MidiMapper object reads the configuration from,...
Definition: midiout.cc:274
void wait(double ms)
Sets the number of milliseconds at which the next event will be sent.
Definition: deviceman.cc:537
void setGroup(const TQString &group)
virtual void setVolumePercentage(int volper)
Change all channel volume events multiplying it by this percentage correction Instead of forcing a ch...
Definition: midiout.h:225
virtual void chnPressure(uchar chn, uchar vel)
See DeviceManager::chnPressure()
Definition: midiout.cc:157
int checkInit(void)
Checks if the device manager has been initialized (with initManager), and in case it wasn't,...
Definition: deviceman.cc:176
const char * deviceName(void) const
Returns the name and type of this MIDI device.
Definition: midiout.cc:279
int readNumEntry(const TQString &pKey, int nDefault=0) const
Trinity API Reference