50
edits
(SCI Mac SCI1/1.1 uses the same patch format as Amiga SCI1) |
|||
Line 329: | Line 329: | ||
*[02][03] (int16) End note number (inclusive) [0-127] | *[02][03] (int16) End note number (inclusive) [0-127] | ||
*[04]..[07] (uint32) pointer to sample data | *[04]..[07] (uint32) pointer to sample data | ||
*[08][09] (int16) Transpose value [0a] | *[08][09] (int16) Transpose value | ||
*[0a] Attack speed [0-31] | |||
*[0b] Attack target velocity [0-64] | *[0b] Attack target velocity [0-64] | ||
*[0c] Decay speed [0-31] | *[0c] Decay speed [0-31] | ||
Line 336: | Line 337: | ||
*[0f] Unknown (always 0) | *[0f] Unknown (always 0) | ||
*[10][11] (int16) Fixed note number for this instrument, or -1 | *[10][11] (int16) Fixed note number for this instrument, or -1 | ||
*[12][13] (int16) 0 = looping on, | *[12][13] (int16) 0 = looping on, <>0 = looping off | ||
Line 344: | Line 345: | ||
*[00]..[07] Sample name | *[00]..[07] Sample name | ||
*[08][09] (int16) 0 = unsigned samples, | *[08][09] (int16) 0 = unsigned samples, <>0 = signed samples | ||
*[0a][0b] (int16) Start offset of phase 1 | *[0a][0b] (int16) Start offset of phase 1 | ||
*[0c][0d] (int16) End offset (inclusive) of phase 1 | *[0c][0d] (int16) End offset (inclusive) of phase 1 | ||
Line 366: | Line 367: | ||
MIDI notes are not used directly when doing table lookups. Every sample has a native MIDI note that needs to be taken as a base. If the sample is played back at the native MIDI note, the period length is obtained from the 8th semitone in the table (cent 800) at the 11th octave, i.e. the value at offset <tt>0x0080</tt> in the table, divided by two 10 times. This period length will also correspond to the samplerate at the end of the table. | MIDI notes are not used directly when doing table lookups. Every sample has a native MIDI note that needs to be taken as a base. If the sample is played back at the native MIDI note, the period length is obtained from the 8th semitone in the table (cent 800) at the 11th octave, i.e. the value at offset <tt>0x0080</tt> in the table, divided by two 10 times. This period length will also correspond to the samplerate at the end of the table. | ||
==General MIDI and MT-32 (SCI1)== | ==General MIDI and MT-32 (SCI1)== |
edits