AGSC (File Format): Difference between revisions
→Table A
imported>Jackoalan No edit summary |
imported>Jackoalan |
||
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> | | '''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 |