sample
modmanual page 38
sample <sound> "sample.sw"
Arguments
| Argument | Type | Required | References |
|---|---|---|---|
| sound | int | yes | — |
| sample.sw | str | yes | file |
Takes 2 arguments.
What it does
Sets a sample file (sample.sw) as a certain sound effect number (sound). The sound effect number can be between 0 and 249, high numbers (170+) will create new samples and low number will replace the old samples that already occupies those numbers. The sample file should have the .sw (mono) or .sw2 (stereo) extension and be saved as a signed 16-bit 22050 Hz sample.
— modding manual, page 38 (as an event command)
Interacts with
“Turns this sample into one of the background tunes.”
— sampleisloopmusic's description (manual, page 38)
“Turns this sample into one a class specific tunes.”
— sampleismusic's description (manual, page 38)