Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SAMPLERATE rate [Sets the global sample rate (1-99680, default 22050)]
- CHAN ChannelNum "voice" [Establish a channel with voice "voice"
- ("PCM", "TRIANGLE"/"TRI", "SQUARE"/"SQU", "Noise"/"NSE")]
- PCM samplenum rate freq "samples" [Establish a PCM sample]
- SETSAMPLE ChannelNum [Associate a PCM sample with a channel]
- LBL "ID" [Make a label with tag "ID"]
- GOTO "ID" [Go to label "ID"]
- GOTOCOUNT "ID" count [Go to label "ID", and decrements count. If count is <= 0,
- then it is ignored.]
- GOTOCOUNTID "ID" count "countid" [Same as GOTOCOUNT, but with an associated ID]
- GOTORAND num "labels" [Go to a random label. num dictates the number of labels.
- "labels" contains a list of labels in this format:
- "|ID|Weight|ID|Weight|...|" where ID is a label ID and
- weight is any number. The higher the number is relative
- to the other weights, the more likely it will be jumped to.]
- GOTORANDCOUNT count num "labels" [Same as GOTORAND and decrements count. If count is <= 0,
- then it is ignored.]
- GOTORANDCOUNTID count "countid" [Same as GOTORANDCOUNT, but with an associated ID]
- num "labels"
- RESETCOUNT [Resets all counts]
- RESETCOUNTID "countid" [Resets the count of "countid" only.]
- DECAY ChannelNum amount toward [(Anti)decay applied to channel ChannelNum with amount
- "type" "towhat" (Which is multiplied by 10000) of "type" ("LIN"/"LINEAR",
- "QUAD"/"QUADRATIC", "EXP"/"EXPONENTIAL" ) applied to
- volume or frequency ("VOL"/"VOLUME", "FRQ"/"FREQ"/
- "FREQUENCY") moving towards toward]
- DECAYTIME samples [Changes the number of samples that must pass to apply decay.
- Not affected by DURMULT.]
- START ChannelNum freq duration [Starts sounding out in ChannelNum at frequency freq for
- duration samples (<0 means forever)]
- STOP ChannelNum [Stops sound in channel]
- LOOPPCM ChannelNum which [chooses whether or not a PCM sample should be looped
- (0=no, !0=yes)]
- FREQ ChannelNum freq [Changes the frequency playing in channel ChannelNum]
- WAIT duration [Waits for duration samples to pass]
- DURMULT samples [Multiplies all succeeding durations by samples (Default 1)]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement