Difference between revisions of "SCI/Specifications/Sound/SCI0 Resource Format"

Jump to navigation Jump to search
m
Fixed wrong characters, thanks to Walter van Niftrik for the advice. Did some other improvements about putting tech stuff as fixed width
m (Formatting fix)
m (Fixed wrong characters, thanks to Walter van Niftrik for the advice. Did some other improvements about putting tech stuff as fixed width)
Line 370: Line 370:
*[483].. #i bytes of MIDI data
*[483].. #i bytes of MIDI data


* patchMap[9#9 ]: Native patch number for patch 9#9 , or 12#12 for unused entries.
* <tt>patchMap[i]</tt>: Native patch number for patch <tt>i</tt> , or <tt>-1</tt> for unused entries.
* patchKeyShift[9#9 ]: Key shift value for patch 9#9 . This value should be added to every non-rhythm key that is played. If the key goes out of bounds [0,127], it should be clipped by a multiple of 12 semitones.
* <tt>patchKeyShift[i]</tt>: Key shift value for patch <tt>i</tt>. This value should be added to every non-rhythm key that is played. If the key goes out of bounds <tt>[0,127]</tt>, it should be clipped by a multiple of 12 semitones.
* patchVolumeAdjust[9#9 ]: Volume adjust value for patch 9#9 . This value should be added to the volume (when setting controller 07h) ''before'' scaling it by the master volume.
* <tt>patchVolumeAdjust[i]</tt>: Volume adjust value for patch <tt>i</tt>. This value should be added to the volume (when setting controller <tt>07h</tt>) ''before'' scaling it by the master volume.
* percMap[9#9 ]: Native key for key 9#9 of the percussion channel, or 12#12 for unused entries.
* <tt>percMap[i]</tt>: Native key for key <tt>i</tt> of the percussion channel, or <tt>-1</tt> for unused entries.
* percVolumeAdjust: Volume adjust value for percussion.
* <tt>percVolumeAdjust</tt>: Volume adjust value for percussion.
* velocityMapIndex[9#9 ]: Specifies which velocityMap to use for patch 9#9 .
* <tt>velocityMapIndex[i]</tt>: Specifies which <tt>velocityMap</tt> to use for patch <tt>i</tt>.
* velocityMap[9#9 ]: Native velocity for velocity 9#9 .
* <tt>velocityMap[i]</tt>: Native velocity for velocity <tt>i</tt>.
* MIDI data: MIDI data to initialize the device. Note that this data can contain sysex commands, after which an appropriate delay should be executed.
* <tt>MIDI data</tt>: MIDI data to initialize the device. Note that this data can contain sysex commands, after which an appropriate delay should be executed.
236

edits

Navigation menu