Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

DLS.h File Reference

#include "RIFF.h"

Go to the source code of this file.

Namespaces

namespace  DLS

Defines

#define LIST_TYPE_INFO   0x4F464E49
#define LIST_TYPE_WVPL   0x6C707677
#define LIST_TYPE_DWPL   0x6C707764
 Seen on some files instead of a wvpl list chunk.
#define LIST_TYPE_WAVE   0x65766177
#define LIST_TYPE_LINS   0X736E696C
#define LIST_TYPE_INS   0X20736E69
#define LIST_TYPE_LRGN   0x6E67726C
#define LIST_TYPE_LART   0x7472616C
#define LIST_TYPE_LAR2   0x3272616C
#define LIST_TYPE_RGN   0x206E6772
#define LIST_TYPE_RGN2   0x326E6772
#define LIST_TYPE_ART1   0x31747261
#define LIST_TYPE_ART2   0x32747261
#define CHUNK_ID_IARL   0x4C524149
#define CHUNK_ID_IART   0x54524149
#define CHUNK_ID_ICMS   0x534D4349
#define CHUNK_ID_ICMT   0x544D4349
#define CHUNK_ID_ICOP   0x504F4349
#define CHUNK_ID_ICRD   0x44524349
#define CHUNK_ID_IENG   0x474E4549
#define CHUNK_ID_IGNR   0x524E4749
#define CHUNK_ID_IKEY   0x59454B49
#define CHUNK_ID_IMED   0x44525049
#define CHUNK_ID_INAM   0x4D414E49
#define CHUNK_ID_IPRD   0x44525049
#define CHUNK_ID_ISBJ   0x4A425349
#define CHUNK_ID_ISFT   0x54465349
#define CHUNK_ID_ISRC   0x43525349
#define CHUNK_ID_ISRF   0x46525349
#define CHUNK_ID_ITCH   0x48435449
#define CHUNK_ID_VERS   0x73726576
#define CHUNK_ID_DLID   0x64696C64
#define CHUNK_ID_FMT   0x20746D66
#define CHUNK_ID_DATA   0x61746164
#define CHUNK_ID_INSH   0x68736E69
#define CHUNK_ID_RGNH   0x686E6772
#define CHUNK_ID_WLNK   0x6B6E6C77
#define CHUNK_ID_PTBL   0x6C627470
#define CHUNK_ID_WSMP   0x706D7377
#define CHUNK_ID_COLH   0x686C6F63
#define WAVE_FORMAT_PCM   0x0001
#define DRUM_TYPE_MASK   0x00000001
#define F_RGN_OPTION_SELFNONEXCLUSIVE   0x0001
#define F_WAVELINK_PHASE_MASTER   0x0001
#define F_WAVELINK_MULTICHANNEL   0x0002
#define F_WSMP_NO_TRUNCATION   0x0001
#define F_WSMP_NO_COMPRESSION   0x0002
#define MIDI_BANK_COARSE(x)   ((x & 0x00007F00) >> 8)
#define MIDI_BANK_FINE(x)   (x & 0x0000007F)
#define MIDI_BANK_MERGE(coarse, fine)   ((((uint16_t) coarse) << 7) | fine)
#define CONN_TRANSFORM_SRC(x)   ((x >> 10) & 0x000F)
#define CONN_TRANSFORM_CTL(x)   ((x >> 4) & 0x000F)
#define CONN_TRANSFORM_DST(x)   (x & 0x000F)
#define CONN_TRANSFORM_BIPOLAR_SRC(x)   (x & 0x4000)
#define CONN_TRANSFORM_BIPOLAR_CTL(x)   (x & 0x0100)
#define CONN_TRANSFORM_INVERT_SRC(x)   (x & 0x8000)
#define CONN_TRANSFORM_INVERT_CTL(x)   (x & 0x0200)

Typedefs

typedef std::string String

Enumerations

enum  conn_src_t {
  conn_src_none = 0x0000, conn_src_lfo = 0x0001, conn_src_keyonvelocity = 0x0002, conn_src_keynumber = 0x0003,
  conn_src_eg1 = 0x0004, conn_src_eg2 = 0x0005, conn_src_pitchwheel = 0x0006, conn_src_polypressure = 0x0007,
  conn_src_channelpressure = 0x0008, conn_src_vibrato = 0x0009, conn_src_cc1 = 0x0081, conn_src_cc7 = 0x0087,
  conn_src_cc10 = 0x008A, conn_src_cc11 = 0x008B, conn_src_cc91 = 0x00DB, conn_src_cc93 = 0x00DD,
  conn_src_rpn0 = 0x0100, conn_src_rpn1 = 0x0101, conn_src_rpn2 = 0x0102
}
 Connection Sources. More...
enum  conn_dst_t {
  conn_dst_none = 0x0000, conn_dst_gain = 0x0001, conn_dst_reserved = 0x0002, conn_dst_pitch = 0x0003,
  conn_dst_pan = 0x0004, conn_dst_keynumber = 0x0005, conn_dst_left = 0x0010, conn_dst_right = 0x0011,
  conn_dst_center = 0x0012, conn_dst_lfe_channel = 0x0013, conn_dst_leftrear = 0x0014, conn_dst_rightrear = 0x0015,
  conn_dst_chorus = 0x0080, conn_dst_reverb = 0x0081, conn_dst_lfo_frequency = 0x0104, conn_dst_lfo_startdelay = 0x0105,
  conn_dst_vib_frequency = 0x0114, conn_dst_vib_startdelay = 0x0115, conn_dst_eg1_attacktime = 0x0206, conn_dst_eg1_decaytime = 0x0207,
  conn_dst_eg1_reserved = 0x0208, conn_dst_eg1_releasetime = 0x0209, conn_dst_eg1_sustainlevel = 0x020A, conn_dst_eg1_delaytime = 0x020B,
  conn_dst_eg1_holdtime = 0x020C, conn_dst_eg1_shutdowntime = 0x020D, conn_dst_eg2_attacktime = 0x030A, conn_dst_eg2_decaytime = 0x030B,
  conn_dst_eg2_reserved = 0x030C, conn_dst_eg2_releasetime = 0x030D, conn_dst_eg2_sustainlevel = 0x030E, conn_dst_eg2_delaytime = 0x030F,
  conn_dst_eg2_holdtime = 0x0310, conn_dst_filter_cutoff = 0x0500, conn_dst_filter_q = 0x0501
}
 Connection Destinations. More...
enum  conn_trn_t { conn_trn_none = 0x0000, conn_trn_concave = 0x0001, conn_trn_convex = 0x0002, conn_trn_switch = 0x0003 }
 Connection Transforms. More...


Define Documentation

#define CHUNK_ID_COLH   0x686C6F63
 

Definition at line 110 of file DLS.h.

Referenced by DLS::File::File().

#define CHUNK_ID_DATA   0x61746164
 

Definition at line 104 of file DLS.h.

Referenced by DLS::Sample::Sample().

#define CHUNK_ID_DLID   0x64696C64
 

Definition at line 102 of file DLS.h.

Referenced by DLS::Resource::Resource().

#define CHUNK_ID_FMT   0x20746D66
 

Definition at line 103 of file DLS.h.

Referenced by DLS::Sample::Sample().

#define CHUNK_ID_IARL   0x4C524149
 

Definition at line 84 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_IART   0x54524149
 

Definition at line 85 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_ICMS   0x534D4349
 

Definition at line 86 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_ICMT   0x544D4349
 

Definition at line 87 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_ICOP   0x504F4349
 

Definition at line 88 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_ICRD   0x44524349
 

Definition at line 89 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_IENG   0x474E4549
 

Definition at line 90 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_IGNR   0x524E4749
 

Definition at line 91 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_IKEY   0x59454B49
 

Definition at line 92 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_IMED   0x44525049
 

Definition at line 93 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_INAM   0x4D414E49
 

Definition at line 94 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_INSH   0x68736E69
 

Definition at line 105 of file DLS.h.

Referenced by DLS::Instrument::Instrument().

#define CHUNK_ID_IPRD   0x44525049
 

Definition at line 95 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_ISBJ   0x4A425349
 

Definition at line 96 of file DLS.h.

#define CHUNK_ID_ISFT   0x54465349
 

Definition at line 97 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_ISRC   0x43525349
 

Definition at line 98 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_ISRF   0x46525349
 

Definition at line 99 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_ITCH   0x48435449
 

Definition at line 100 of file DLS.h.

Referenced by DLS::Info::Info().

#define CHUNK_ID_PTBL   0x6C627470
 

Definition at line 108 of file DLS.h.

Referenced by DLS::File::File().

#define CHUNK_ID_RGNH   0x686E6772
 

Definition at line 106 of file DLS.h.

Referenced by DLS::Region::Region().

#define CHUNK_ID_VERS   0x73726576
 

Definition at line 101 of file DLS.h.

Referenced by DLS::File::File().

#define CHUNK_ID_WLNK   0x6B6E6C77
 

Definition at line 107 of file DLS.h.

Referenced by DLS::Region::Region().

#define CHUNK_ID_WSMP   0x706D7377
 

Definition at line 109 of file DLS.h.

Referenced by DLS::Sampler::Sampler().

#define CONN_TRANSFORM_BIPOLAR_CTL  )     (x & 0x0100)
 

Definition at line 132 of file DLS.h.

Referenced by DLS::Connection::Init().

#define CONN_TRANSFORM_BIPOLAR_SRC  )     (x & 0x4000)
 

Definition at line 131 of file DLS.h.

Referenced by DLS::Connection::Init().

#define CONN_TRANSFORM_CTL  )     ((x >> 4) & 0x000F)
 

Definition at line 129 of file DLS.h.

Referenced by DLS::Connection::Init().

#define CONN_TRANSFORM_DST  )     (x & 0x000F)
 

Definition at line 130 of file DLS.h.

Referenced by DLS::Connection::Init().

#define CONN_TRANSFORM_INVERT_CTL  )     (x & 0x0200)
 

Definition at line 134 of file DLS.h.

Referenced by DLS::Connection::Init().

#define CONN_TRANSFORM_INVERT_SRC  )     (x & 0x8000)
 

Definition at line 133 of file DLS.h.

Referenced by DLS::Connection::Init().

#define CONN_TRANSFORM_SRC  )     ((x >> 10) & 0x000F)
 

Definition at line 128 of file DLS.h.

Referenced by DLS::Connection::Init().

#define DRUM_TYPE_MASK   0x00000001
 

Definition at line 115 of file DLS.h.

Referenced by DLS::Instrument::Instrument().

#define F_RGN_OPTION_SELFNONEXCLUSIVE   0x0001
 

Definition at line 117 of file DLS.h.

Referenced by DLS::Region::Region().

#define F_WAVELINK_MULTICHANNEL   0x0002
 

Definition at line 120 of file DLS.h.

Referenced by DLS::Region::Region().

#define F_WAVELINK_PHASE_MASTER   0x0001
 

Definition at line 119 of file DLS.h.

Referenced by DLS::Region::Region().

#define F_WSMP_NO_COMPRESSION   0x0002
 

Definition at line 123 of file DLS.h.

Referenced by DLS::Sampler::Sampler().

#define F_WSMP_NO_TRUNCATION   0x0001
 

Definition at line 122 of file DLS.h.

Referenced by DLS::Sampler::Sampler().

#define LIST_TYPE_ART1   0x31747261
 

Definition at line 82 of file DLS.h.

Referenced by DLS::Articulation::Articulation(), and DLS::Articulator::LoadArticulations().

#define LIST_TYPE_ART2   0x32747261
 

Definition at line 83 of file DLS.h.

Referenced by DLS::Articulation::Articulation(), and DLS::Articulator::LoadArticulations().

#define LIST_TYPE_DWPL   0x6C707764
 

Seen on some files instead of a wvpl list chunk.

Definition at line 73 of file DLS.h.

Referenced by DLS::File::LoadSamples().

#define LIST_TYPE_INFO   0x4F464E49
 

Definition at line 71 of file DLS.h.

Referenced by DLS::Info::Info().

#define LIST_TYPE_INS   0X20736E69
 

Definition at line 76 of file DLS.h.

Referenced by gig::File::LoadInstruments(), and DLS::File::LoadInstruments().

#define LIST_TYPE_LAR2   0x3272616C
 

Definition at line 79 of file DLS.h.

Referenced by DLS::Articulator::LoadArticulations().

#define LIST_TYPE_LART   0x7472616C
 

Definition at line 78 of file DLS.h.

Referenced by gig::Instrument::Instrument(), and DLS::Articulator::LoadArticulations().

#define LIST_TYPE_LINS   0X736E696C
 

Definition at line 75 of file DLS.h.

Referenced by gig::File::LoadInstruments(), and DLS::File::LoadInstruments().

#define LIST_TYPE_LRGN   0x6E67726C
 

Definition at line 77 of file DLS.h.

Referenced by gig::Instrument::Instrument(), and DLS::Instrument::LoadRegions().

#define LIST_TYPE_RGN   0x206E6772
 

Definition at line 80 of file DLS.h.

Referenced by gig::Instrument::Instrument(), and DLS::Instrument::LoadRegions().

#define LIST_TYPE_RGN2   0x326E6772
 

Definition at line 81 of file DLS.h.

Referenced by DLS::Instrument::LoadRegions().

#define LIST_TYPE_WAVE   0x65766177
 

Definition at line 74 of file DLS.h.

Referenced by gig::File::LoadSamples(), and DLS::File::LoadSamples().

#define LIST_TYPE_WVPL   0x6C707677
 

Definition at line 72 of file DLS.h.

Referenced by gig::File::LoadSamples(), and DLS::File::LoadSamples().

#define MIDI_BANK_COARSE  )     ((x & 0x00007F00) >> 8)
 

Definition at line 125 of file DLS.h.

Referenced by DLS::Instrument::Instrument().

#define MIDI_BANK_FINE  )     (x & 0x0000007F)
 

Definition at line 126 of file DLS.h.

Referenced by DLS::Instrument::Instrument().

#define MIDI_BANK_MERGE coarse,
fine   )     ((((uint16_t) coarse) << 7) | fine)
 

Definition at line 127 of file DLS.h.

Referenced by DLS::Instrument::Instrument().

#define WAVE_FORMAT_PCM   0x0001
 

Definition at line 113 of file DLS.h.

Referenced by DLS::Sample::Read(), DLS::Sample::Sample(), and DLS::Sample::SetPos().


Typedef Documentation

typedef std::string DLS::String
 

Definition at line 142 of file DLS.h.


Enumeration Type Documentation

enum DLS::conn_dst_t
 

Connection Destinations.

Enumeration values:
conn_dst_none 
conn_dst_gain 
conn_dst_reserved 
conn_dst_pitch 
conn_dst_pan 
conn_dst_keynumber 
conn_dst_left 
conn_dst_right 
conn_dst_center 
conn_dst_lfe_channel 
conn_dst_leftrear 
conn_dst_rightrear 
conn_dst_chorus 
conn_dst_reverb 
conn_dst_lfo_frequency 
conn_dst_lfo_startdelay 
conn_dst_vib_frequency 
conn_dst_vib_startdelay 
conn_dst_eg1_attacktime 
conn_dst_eg1_decaytime 
conn_dst_eg1_reserved 
conn_dst_eg1_releasetime 
conn_dst_eg1_sustainlevel 
conn_dst_eg1_delaytime 
conn_dst_eg1_holdtime 
conn_dst_eg1_shutdowntime 
conn_dst_eg2_attacktime 
conn_dst_eg2_decaytime 
conn_dst_eg2_reserved 
conn_dst_eg2_releasetime 
conn_dst_eg2_sustainlevel 
conn_dst_eg2_delaytime 
conn_dst_eg2_holdtime 
conn_dst_filter_cutoff 
conn_dst_filter_q 

Definition at line 187 of file DLS.h.

enum DLS::conn_src_t
 

Connection Sources.

Enumeration values:
conn_src_none 
conn_src_lfo 
conn_src_keyonvelocity 
conn_src_keynumber 
conn_src_eg1 
conn_src_eg2 
conn_src_pitchwheel 
conn_src_polypressure 
conn_src_channelpressure 
conn_src_vibrato 
conn_src_cc1 
conn_src_cc7 
conn_src_cc10 
conn_src_cc11 
conn_src_cc91 
conn_src_cc93 
conn_src_rpn0 
conn_src_rpn1 
conn_src_rpn2 

Definition at line 161 of file DLS.h.

enum DLS::conn_trn_t
 

Connection Transforms.

Enumeration values:
conn_trn_none 
conn_trn_concave 
conn_trn_convex 
conn_trn_switch 

Definition at line 232 of file DLS.h.


Generated on Wed May 25 23:48:22 2005 for libgig by  doxygen 1.4.2