AGSC (File Format): Difference between revisions
Jump to navigation
Jump to search
no edit summary
imported>Jackoalan |
imported>Jackoalan No edit summary |
||
Line 124: | Line 124: | ||
'''Note:''' This is the ID structure produced by MusyX data export tool used for ''Metroid Prime'' | '''Note:''' This is the ID structure produced by MusyX data export tool used for ''Metroid Prime'' | ||
(which allocates all group ObjectIDs on export). The ObjectID structure is actually an arbitrary 16-bits in MusyX | (which allocates all group ObjectIDs on export). The ObjectID structure is actually an arbitrary 16-bits in MusyX | ||
(limited to 14-bit uniqueness). Based on findings from other games, this upper-byte type source is not reliable, | (limited to 14-bit uniqueness). Based on findings from other games, this upper-byte type source is not 100% reliable, | ||
since Factor5 updated the tool during the console's lifetime. | since Factor5 updated the tool during the console's lifetime. | ||
Line 1,181: | Line 1,181: | ||
| 0xC | | 0xC | ||
| 1 | | 1 | ||
| ''' | | '''Base Note'''; Corresponds to the MIDI note played in the sample, at the native sample-rate (which MusyX obtains from the INST chunk of .aiff files or SMPL chunk of .wav files, along with looping info). To play at a specified pitch in [[wikipedia:Cent (music)|cents]], set the playback sample rate using this formula: <code>sampleRate * 2<sup>(pitch - baseNote * 100) / 1200.0)</sup></code> | ||
|- | |- | ||
| 0xD | | 0xD |