View difference between Paste ID: uBUmWLfM and UJRguKME
SHOW: | | - or go back to the newest paste.
1
SAMPLERATE rate				[Sets the global sample rate (1-99680, default 22050)]
2
3
CHAN ChannelNum "voice"			[Establish a channel with voice "voice" 
4
					("PCM", "TRIANGLE"/"TRI", "SQUARE"/"SQU", "Noise"/"NSE")]
5
6
PCM samplenum rate freq "samples"	[Establish a PCM sample]
7
8
SETSAMPLE ChannelNum			[Associate a PCM sample with a channel]
9
10
LBL "ID"				[Make a label with tag "ID"]
11
12
GOTO "ID"				[Go to label "ID"]
13
14-
GOTOCOUNT "ID" count			[Go to label "ID", and decrements count. If count is <= 0, then it is ignored.]
14+
GOTOCOUNT "ID" count			[Go to label "ID", and decrements count. If count is <= 0, 
15
					then it is ignored.]
16
17
GOTOCOUNTID "ID" count "countid"	[Same as GOTOCOUNT, but with an associated ID]
18
19
GOTORAND num "labels"			[Go to a random label. num dictates the number of labels.
20-
					"|ID|Weight|ID|Weight|...|" where ID is a label ID and weight 
20+
21-
					is any number. The higher the number is relative to the other weights, 
21+
					"|ID|Weight|ID|Weight|...|" where ID is a label ID and 
22-
					the more likely it will be jumped to.]
22+
					weight is any number. The higher the number is relative 
23
					to the other weights, the more likely it will be jumped to.]
24-
GOTORANDCOUNT count num "labels"	[Same as GOTORAND and decrements count. If count is <= 0, then it is ignored.]
24+
25
GOTORANDCOUNT count num "labels"	[Same as GOTORAND and decrements count. If count is <= 0,
26
					then it is ignored.]
27
28
GOTORANDCOUNTID count "countid"		[Same as GOTORANDCOUNT, but with an associated ID]
29
		num "labels"
30
31
RESETCOUNT				[Resets all counts]
32
33
RESETCOUNTID "countid"			[Resets the count of "countid" only.]
34
35-
					"QUAD"/"QUADRATIC", "EXP"/"EXPONENTIAL" ) applied to volume or frequency
35+
36-
					("VOL"/"VOLUME", "FRQ"/"FREQ"/"FREQUENCY") moving towards toward]	
36+
37
					"QUAD"/"QUADRATIC", "EXP"/"EXPONENTIAL" ) applied to 
38-
DECAYTIME samples			[Changes the number of samples that must pass to apply decay. Not affected by DURMULT.]
38+
					volume or frequency ("VOL"/"VOLUME", "FRQ"/"FREQ"/
39
					"FREQUENCY") moving towards toward]	
40-
START ChannelNum freq duration		[Starts sounding out in ChannelNum at frequency freq for duration samples (<0 means forever)]
40+
41
DECAYTIME samples			[Changes the number of samples that must pass to apply decay.
42
					Not affected by DURMULT.]
43
44-
LOOPPCM ChannelNum	which		[chooses whether or not a PCM sample should be looped (0=no, !0=yes)]
44+
START ChannelNum freq duration		[Starts sounding out in ChannelNum at frequency freq for 
45
					duration samples (<0 means forever)]
46
47
STOP ChannelNum				[Stops sound in channel]
48
49
LOOPPCM ChannelNum which		[chooses whether or not a PCM sample should be looped 
50
					(0=no, !0=yes)]
51
52
FREQ ChannelNum freq			[Changes the frequency playing in channel ChannelNum]
53
54
WAIT duration				[Waits for duration samples to pass]
55
56
DURMULT samples				[Multiplies all succeeding durations by samples (Default 1)]
57