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

Jump to navigation Jump to search
m
→‎Sound Devices: close <tt> tag properly
m (→‎Sound Devices: close <tt> tag properly)
 
(2 intermediate revisions by 2 users not shown)
Line 124: Line 124:


;<nowiki>+</nowiki>  
;<nowiki>+</nowiki>  
:The imf driver almost certainly uses <tt>02h<tt> for the play flag, but I haven’t confirmed this.
:The imf driver almost certainly uses <tt>02h</tt> for the play flag, but I haven’t confirmed this.


The driver column holds the file name of each driver without the <tt>.drv</tt> extension. The patch column specifies which patch resource each driver requests. The poly column is the maximum number of voices which can be played at once according to the driver. The flag column gives each device’s play flag. Play flags, explained in the [[#Header|header section]], determine which channels a device will play.
The driver column holds the file name of each driver without the <tt>.drv</tt> extension. The patch column specifies which patch resource each driver requests. The poly column is the maximum number of voices which can be played at once according to the driver. The flag column gives each device’s play flag. Play flags, explained in the [[#Header|header section]], determine which channels a device will play.
Line 346: Line 346:
*[00]..[07] Sample name
*[00]..[07] Sample name
*[08][09] (int16) 0 = unsigned samples, <>0 = signed samples
*[08][09] (int16) 0 = unsigned samples, <>0 = signed samples
*[0a][0b] (int16) Start offset of phase 1
*[0a][0b] (uint16) Start offset of phase 1
*[0c][0d] (int16) End offset (inclusive) of phase 1
*[0c][0d] (uint16) End offset (inclusive) of phase 1
*[0e][0f] (int16) Start offset of phase 2
*[0e][0f] (uint16) Start offset of phase 2
*[10][11] (int16) End offset (inclusive) of phase 2
*[10][11] (uint16) End offset (inclusive) of phase 2
*[12][13] (int16) Native MIDI note for this sample
*[12][13] (int16) Native MIDI note for this sample
*[14][17] (uint32) Pointer to period table
*[14][17] (uint32) Pointer to period table
Line 376: Line 376:
*[100]..[17f] patchVolumeAdjust
*[100]..[17f] patchVolumeAdjust
*[180]..[1ff] percMap
*[180]..[1ff] percMap
*[200] percVolumeAdjust (not used)
*[200] percVolumeAdjust
*[201]..[280] velocityMapIndex
*[201]..[280] velocityMapIndex
*[281]..[300] velocityMap 0
*[281]..[300] velocityMap 0
2,051

edits

Navigation menu