Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

TSE3::Ins Namespace Reference

Utility classes for MIDI instrument definitions. More...


Compounds

class  Destination
 MIDI destination information utility. More...

struct  Voice
 Instrument voice definition. More...

class  Instrument
 MIDI Instrument definition. More...

class  InstrumentData
 Instrument data container class. More...

class  PatchData
 Instrument patch data group. More...

class  NoteData
 Instrument note data group. More...

class  ControlData
 Instrument MIDI controller data group. More...

class  NrpnData
 Instrument NRPN data group. More...

class  RpnData
 Instrument RPN data group. More...

class  CakewalkInstrumentFile
 Cakewalk .ins file parser. More...

class  DestinationListener

Functions

int bankToLSB (int bank)
int bankToMSB (int bank)
int bankFromBytes (int bankLSB, int bankMSB)


Detailed Description

Utility classes for MIDI instrument definitions.

The Ins namespace contains classes that implement the Cakewalk instrument file parsing routines and provide name lookup for bank/patch and controller numbers.

The facilities offered here are utilities that an application may use, and are not part of the core TSE3 functionality.

The TSE3::Ins::CakewalkInstrumentFile class is the main entrance onto Ins facilities.

You can get Cakewalk instrument definition files for practically every piece of MIDI hardware in existence, which is why they have been adopted by the TSE3 library. They are most easily obtained from the www.cakewalk.com website; follow the "Download" link and select "Instrument Definitions".

Author:
Pete Goodliffe
Version:
3.00
See also:
TSE3


Function Documentation

int bankToLSB int  bank  )  [inline]
 

Bank select values can be expressed as single 14 bit numbers (Cakewalk instrument files use this format) or as separate LSB and MSBs (the MIDI format uses this format).

This function converts a 14 bit bank number into the LSB portion. If bank is -1, returns -1.

Parameters:
bank 14 bit bank select number
Returns:
LSB value
See also:
bankMSB

bankFromBytes

int bankToMSB int  bank  )  [inline]
 

Bank select values can be expressed as single 14 bit numbers (Cakewalk instrument files use this format) or as separate LSB and MSBs (the MIDI format uses this format).

This function converts a 14 bit bank number into the MSB portion. If bank is -1, returns -1.

Parameters:
bank 14 bit bank select number
Returns:
MSB value
See also:
bankLSB

bankFromBytes

int bankFromBytes int  bankLSB,
int  bankMSB
[inline]
 

Bank select values can be expressed as single 14 bit numbers (Cakewalk instrument files use this format) or as separate LSB and MSBs (the MIDI format uses this format).

This function converts a bank LSB and MSB into a 14 bit bank number. If bank is -1, returns -1.

Parameters:
bankLSB Bank LSB value
bankMSB Bank MSB value
Returns:
bank 14 bit bank select number
See also:
bankLSB

bankMSB


Generated on Wed May 25 14:48:01 2005 for TSE3 by doxygen 1.3.2