XMidiFile.cpp File Reference

Go to the source code of this file.

Classes

struct  RhythmSetupData
struct  PatchMemData
struct  systemArea
struct  uint64

Functions

template<class T>
static T * XMidiEvent__Malloc (size_t num=1)
template<class T>
static T * XMidiEvent__Calloc (size_t num=1, size_t sz=0)
static uint32 rhythm_mem_offset (uint32 index_num)
static uint32 rhythm_mem_offset_note (uint32 rhythm_note_num)
static uint32 timbre_mem_offset (uint32 timbre_num)
static uint32 patch_mem_offset (uint32 patch_num)

Variables

static const uint32 sysex_data_start = 7
static const uint32 sysex_max_data_size = 256
static const uint32 rhythm_base = 0x030110
static const uint32 rhythm_mem_size = 4
static const uint32 rhythm_first_note = 24
static const uint32 rhythm_num_notes = 64
static const uint32 timbre_base = 0x080000
static const uint32 timbre_mem_size = 246
static const uint32 patch_base = 0x050000
static const uint32 patch_mem_size = 8
static const PatchMemData patch_template
static const uint32 system_base = 0x100000
static const uint32 system_mem_size = 0x17
static const char system_init_reverb [3] = { 0,3,2 }
static const char system_part_chans [9] = { 1,2,3,4,5,6,7,8,9 }
static const char system_part_rsv [9] = { 3,4,3,4,3,4,3,4,4 }
static const uint32 display_base = 0x200000
static const uint32 display_mem_size = 0x14
static const char display [] = " Uploading Timbres! "
static const char display_black_gate [] = "BG Uploading Timbres"
static const char display_serpent_isle [] = "SI Uploading Timbres"
static const char display_beginning [] = "--==| Exult! |==--"
static const char display_beginning_bg [] = " U7: The Black Gate "
static const char display_beginning_si [] = "U7: The Serpent Isle"
static const char display [] = " Uploading Timbres! "
static const char display_beginning [] = "--=| Pentagram! |=--"
static const uint32 all_dev_reset_base = 0x7f0000
static uint8 U7PercussionNotes []
static RhythmSetupData U7PercussionData []


Function Documentation

static uint32 patch_mem_offset ( uint32  patch_num  )  [inline, static]

Definition at line 417 of file XMidiFile.cpp.

static uint32 rhythm_mem_offset ( uint32  index_num  )  [inline, static]

Definition at line 387 of file XMidiFile.cpp.

static uint32 rhythm_mem_offset_note ( uint32  rhythm_note_num  )  [inline, static]

Definition at line 392 of file XMidiFile.cpp.

References rhythm_first_note.

static uint32 timbre_mem_offset ( uint32  timbre_num  )  [inline, static]

Definition at line 409 of file XMidiFile.cpp.

template<class T>
static T* XMidiEvent__Calloc ( size_t  num = 1,
size_t  sz = 0 
) [inline, static]

Definition at line 56 of file XMidiFile.cpp.

template<class T>
static T* XMidiEvent__Malloc ( size_t  num = 1  )  [inline, static]

Definition at line 50 of file XMidiFile.cpp.


Variable Documentation

const uint32 all_dev_reset_base = 0x7f0000 [static]

Definition at line 487 of file XMidiFile.cpp.

const char display[] = " Uploading Timbres! " [static]

Definition at line 480 of file XMidiFile.cpp.

const char display[] = " Uploading Timbres! " [static]

Definition at line 471 of file XMidiFile.cpp.

Referenced by XMidiFile::InsertDisplayEvents().

const uint32 display_base = 0x200000 [static]

Definition at line 466 of file XMidiFile.cpp.

const char display_beginning[] = "--=| Pentagram! |=--" [static]

Definition at line 481 of file XMidiFile.cpp.

const char display_beginning[] = "--==| Exult! |==--" [static]

Definition at line 475 of file XMidiFile.cpp.

Referenced by XMidiFile::InsertDisplayEvents().

const char display_beginning_bg[] = " U7: The Black Gate " [static]

Definition at line 476 of file XMidiFile.cpp.

Referenced by XMidiFile::InsertDisplayEvents().

const char display_beginning_si[] = "U7: The Serpent Isle" [static]

Definition at line 477 of file XMidiFile.cpp.

Referenced by XMidiFile::InsertDisplayEvents().

const char display_black_gate[] = "BG Uploading Timbres" [static]

Definition at line 472 of file XMidiFile.cpp.

Referenced by XMidiFile::InsertDisplayEvents().

const uint32 display_mem_size = 0x14 [static]

Definition at line 467 of file XMidiFile.cpp.

const char display_serpent_isle[] = "SI Uploading Timbres" [static]

Definition at line 473 of file XMidiFile.cpp.

Referenced by XMidiFile::InsertDisplayEvents().

const uint32 patch_base = 0x050000 [static]

Definition at line 415 of file XMidiFile.cpp.

const uint32 patch_mem_size = 8 [static]

Definition at line 416 of file XMidiFile.cpp.

const PatchMemData patch_template [static]

Initial value:

 {
        2,              
        0,              
        24,             
        50,             
        24,             
        0,              
        1,              
        0               
}

Definition at line 430 of file XMidiFile.cpp.

Referenced by XMidiFile::ExtractTracksFromU7V().

const uint32 rhythm_base = 0x030110 [static]

Definition at line 380 of file XMidiFile.cpp.

const uint32 rhythm_first_note = 24 [static]

Definition at line 383 of file XMidiFile.cpp.

const uint32 rhythm_mem_size = 4 [static]

Definition at line 381 of file XMidiFile.cpp.

const uint32 rhythm_num_notes = 64 [static]

Definition at line 384 of file XMidiFile.cpp.

const uint32 sysex_data_start = 7 [static]

Definition at line 372 of file XMidiFile.cpp.

const uint32 sysex_max_data_size = 256 [static]

Definition at line 373 of file XMidiFile.cpp.

const uint32 system_base = 0x100000 [static]

Definition at line 445 of file XMidiFile.cpp.

Referenced by XMidiFile::ExtractTracksFromU7V(), and XMidiFile::ExtractTracksFromXMIDIMT().

const char system_init_reverb[3] = { 0,3,2 } [static]

Definition at line 459 of file XMidiFile.cpp.

Referenced by XMidiFile::ExtractTracksFromXMIDIMT().

const uint32 system_mem_size = 0x17 [static]

Definition at line 446 of file XMidiFile.cpp.

const char system_part_chans[9] = { 1,2,3,4,5,6,7,8,9 } [static]

Definition at line 460 of file XMidiFile.cpp.

Referenced by XMidiFile::ExtractTracksFromXMIDIMT().

const char system_part_rsv[9] = { 3,4,3,4,3,4,3,4,4 } [static]

Definition at line 461 of file XMidiFile.cpp.

Referenced by XMidiFile::ExtractTracksFromXMIDIMT().

const uint32 timbre_base = 0x080000 [static]

Definition at line 407 of file XMidiFile.cpp.

const uint32 timbre_mem_size = 246 [static]

Definition at line 408 of file XMidiFile.cpp.

RhythmSetupData U7PercussionData[] [static]

Initial value:

 {
        {       0,      0x5A,   0x07,   0       },      
        {       6,      0x64,   0x07,   1       },      
        {       1,      0x5A,   0x05,   0       },      
        {       1,      0x5A,   0x06,   0       },      
        {       1,      0x5A,   0x07,   0       },      
        {       2,      0x64,   0x07,   1       },      
        {       1,      0x5A,   0x08,   0       },      
        {       5,      0x5A,   0x07,   1       },      
        {       1,      0x5A,   0x09,   0       },      
        {       3,      0x5F,   0x07,   1       },      
        {       4,      0x64,   0x04,   1       },      
        {       4,      0x64,   0x05,   1       },      
        {       4,      0x64,   0x06,   1       },      
        {       4,      0x64,   0x07,   1       },      
        {       4,      0x64,   0x08,   1       }       
}

Definition at line 503 of file XMidiFile.cpp.

Referenced by XMidiFile::ExtractTracksFromU7V().

uint8 U7PercussionNotes[] [static]

Initial value:

 {
        28, 33, 74, 76, 77, 78, 79, 80,
        81, 82, 83, 84, 85, 86, 87, 0
}

Definition at line 497 of file XMidiFile.cpp.

Referenced by XMidiFile::ExtractTracksFromU7V().


Generated on Fri Jul 27 22:28:12 2007 for pentagram by  doxygen 1.4.7