Play/Duration table: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
(Created page with "This table presents all durations, in PIT ticks (18.2 Hz), possible to achieve with the #play command. Note that some durations, marked with an '''-''', are not possi...")
 
(Fix calculations)
 
Line 266: Line 266:
| 130 || <code>i.........3..3..3....</code>
| 130 || <code>i.........3..3..3....</code>
|-
|-
| 131 || -
| 131 || <code>s........3.3........................333</code>
|-
|-
| 132 || <code>i............3.3..3..</code>
| 132 || <code>i............3.3..3..</code>
Line 322: Line 322:
| 158 || <code>i............3</code>
| 158 || <code>i............3</code>
|-
|-
| 159 || <code>s........3.3....3..3.........3.....3.3..3..3..</code>
| 159 || <code>s........3.3........................3</code>
|-
|-
| 160 || <code>s........3....3....3.........</code>
| 160 || <code>s........3....3....3.........</code>
|-
|-
| 161 || <code>s........3.3....3..3...............3....3.3.33</code>
| 161 || <code>s........3.3.....................3..</code>
|-
|-
| 162 || <code>w....</code>
| 162 || <code>w....</code>
Line 332: Line 332:
| 163 || <code>w3.......</code>
| 163 || <code>w3.......</code>
|-
|-
| 164 || <code>s........3.3....3..3......................3...3..3</code>
| 164 || -
|-
|-
| 165 || -
| 165 || -
Line 390: Line 390:
| 192 || <code>s........3....3....3........</code>
| 192 || <code>s........3....3....3........</code>
|-
|-
| 193 || <code>s........3.3.............3........3333.</code>
| 193 || <code>s........3.3.....................3.</code>
|-
|-
| 194 || <code>s........3.3.............3........333.3</code>
| 194 || <code>s........3.3....................3..</code>
|-
|-
| 195 || <code>i.........3..3..3.....</code>
| 195 || <code>i.........3..3..3.....</code>
|-
|-
| 196 || <code>s........3.3....3..3......................3.....</code>
| 196 || -
|-
|-
| 197 || <code>s........3.3....3..3......................333</code>
| 197 || -
|-
|-
| 198 || <code>q..........</code>
| 198 || <code>q..........</code>
Line 404: Line 404:
| 199 || <code>i.............</code>
| 199 || <code>i.............</code>
|-
|-
| 200 || <code>s........3.3....3..3...............3....3.3</code>
| 200 || <code>s........3.3....................3</code>
|-
|-
| 201 || -
| 201 || -
Line 432: Line 432:
| 213 || <code>s........3....3....3.....3..</code>
| 213 || <code>s........3....3....3.....3..</code>
|-
|-
| 214 || <code>s........3.3....3..3...............3.3.3.3.</code>
| 214 || <code>s........3.3.....................3</code>
|-
|-
| 215 || <code>s........3.3....3..3......................</code>
| 215 || <code>s........3.3....3..3...............3.3.3..3</code>
|-
|-
| 216 || <code>w3..............</code>
| 216 || <code>w3..............</code>
Line 446: Line 446:
| 220 || <code>s........3.3...................3.3.3.</code>
| 220 || <code>s........3.3...................3.3.3.</code>
|-
|-
| 221 || -
| 221 || <code>s........3.3........................</code>
|-
|-
| 222 || <code>s..............3.3..3..3....</code>
| 222 || <code>s..............3.3..3..3....</code>
Line 470: Line 470:
| 232 || -
| 232 || -
|-
|-
| 233 || -
| 233 || <code>s........3.3.......................</code>
|-
|-
| 234 || <code>s........3.3....3..3.....3.....3.3....3....3.3...3.....3..3..3...3..3....3...3..3....3..</code>
| 234 || <code>s........3.3....3..3.....3.....3.3....3....3.3...3.....3..3..3...3..3....3...3..3....3..</code>
Line 476: Line 476:
| 235 || <code>i.........3....</code>
| 235 || <code>i.........3....</code>
|-
|-
| 236 || <code>s........3.3....3..3......................3...3..</code>
| 236 || -
|-
|-
| 237 || <code>i............3.</code>
| 237 || <code>i............3.</code>
|-
|-
| 238 || <code>s........3.3....3..3.........3.....3.3..3..3...</code>
| 238 || <code>s........3.3....................33</code>
|-
|-
| 239 || -
| 239 || -
Line 488: Line 488:
| 241 || <code>s........3.3....3..3...............3....3.3.33.</code>
| 241 || <code>s........3.3....3..3...............3....3.3.33.</code>
|-
|-
| 242 || <code>s........3.3....3..3......................3</code>
| 242 || <code>s........3.3.....................3...</code>
|-
|-
| 243 || <code>w.....</code>
| 243 || <code>w.....</code>
Line 496: Line 496:
| 245 || <code>q.....3.........</code>
| 245 || <code>q.....3.........</code>
|-
|-
| 246 || <code>s........3.3....3..3......................3...3..3.</code>
| 246 || -
|-
|-
| 247 || -
| 247 || -
Line 517: Line 517:
|-
|-
| 256 || <code>t3</code>
| 256 || <code>t3</code>
|}
|}

Latest revision as of 18:59, 8 February 2021

This table presents all durations, in PIT ticks (18.2 Hz), possible to achieve with the #play command. Note that some durations, marked with an -, are not possible to achieve; others have unrealistically long required code lengths, given that ZZT and KevEdit wrap words by default. The table's goal is primarily to show theoretical possibilities.

#play duration table
Duration (in PIT ticks) #play code
1 t
2 s
3 s.
4 i
5 h3
6 i.
7 h3.
8 q
9 i..
10 w3
11 w3...3
12 q.
13 i...
14 i......3
15 w3.
16 h
17 i......3....3..3
18 q..
19 i....
20 q.....3
21 i......3.
22 w3..
23 i......3....3
24 h.
25 q.....3.....3.3
26 i.........3..3..3
27 q...
28 i.....
29 i.........3..3..3...3
30 q.....3.
31 i......3..
32 w
33 w3...
34 i......3....3.
35 i.........3..3
36 h..
37 w3..........
38 i......3....3....3
39 i.........3..3..3.
40 q....
41 q.....3.....3.3....3
42 i......
43 i.........3..3..3...3.
44 i............3.3..3..3
45 q.....3..
46 i......3...
47 q.........
48 w.
49 w3....
50 q.....3.....3
51 i......3....3..
52 i.........3..3.
53 s........3....3....3........3.33
54 h...
55 w3...........
56 q.....3.....3...3
57 i......3....3....3.
58 i.........3..3..3..
59 w3.............
60 q.....
61 w3.........3.3
62 q...............3.3
63 i.......
64 i.........3..3..3...3..
65 i.........3..3..3.....3
66 i............3.3..3..3.
67 q.....3...
68 w3...............
69 i......3....
70 i.........3.
71 s........3....3....3.....3..3
72 w..
73 w3.....
74 s..............3.3..3..3....3
75 q.....3.....3.
76 i......3....3...
77 i......3.......3
78 i.........3..3..
79 i............3.3
80 s........3....3....3........3.3.3
81 h....
82 q.....3.....3.3...
83 q.........3...
84 q...........3.
85 q...........3..3.3
86 i............3.....3.
87 i.........3..3..3...
88 i............3.3..3.
89 s........3.3....3..3...............3....3.
90 q......
91 w3.........3.3.
92 s........3....3..3.......3
93 q...............3.3.
94 i........
95 s........3....3....3.....3
96 i.........3.....
97 i.........3..3..3.....3.
98 -
99 i............3..
100 q.....3....
101 q.........3
102 w3................
103 i......3.....
104 w3............3.
105 i.........3..
106 w3............3...
107 s........3.3..............3..
108 w...
109 w3......
110 w3.........
111 q.....3..........
112 q.....3.....3..
113 q.........3...3
114 i......3....3....
115 i......3.......3.
116 q...............
117 i.........3..3...
118 i............3.3.
119 q.........3......
120 s........3....3....3........3.3.3.
121 h.....
122 w3.........3
123 q...........3....
124 q...............3
125 q.........3.....3.
126 q...........3..3..
127 q.........3.....3.3
128 s........3....3....3.......
129 i............3.....3..
130 i.........3..3..3....
131 s........3.3........................333
132 i............3.3..3..
133 i............3.....33
134 s........3.3...................3.3.33
135 q.......
136 w3.........3.3..
137 w3............33
138 s........3....3..3.......3.
139 s........3.3....3..3.....3.....3.3....3....3.3...3.....3..3..3...3..3....3...3..3..
140 s........3.3.............3........3.
141 i.........
142 s........3....3....3.....3.
143 i............3.....3
144 s...........3..3..3...3....
145 i.........3..3..3.....3..
146 s........3.3....3..3...............3....3.3.....3
147 s........3.3...................3.3.3
148 s..............3.3..3..3...
149 s........3.3...................3.3..
150 q.....3.....
151 q.........3.
152 -
153 w3.................
154 i......3......
155 w3............3
156 w3............3..
157 i.........3...
158 i............3
159 s........3.3........................3
160 s........3....3....3.........
161 s........3.3.....................3..
162 w....
163 w3.......
164 -
165 -
166 q.....3...........
167 s........3.3.............3.........
168 q.....3.....3...
169 q...........
170 q...........3..3
171 i......3....3.....
172 i......3.......3..
173 i............3.....
174 s........3.3....3..3...............3.3.3.
175 i.........3..3....
176 q.....3.3.........3.3......
177 i............3.3..
178 q.........3.......
179 s........3.3.............3........3
180 s........3....3....3........3.3.3..
181 h......
182 s........3.3................3.3
183 w3.........3.
184 q...........3.....
185 s........3.3...................3.3.
186 q...............3.
187 -
188 -
189 q.....3.....3...3...
190 q.........3.....3.3.
191 q...........3..3...3
192 s........3....3....3........
193 s........3.3.....................3.
194 s........3.3....................3..
195 i.........3..3..3.....
196 -
197 -
198 q..........
199 i.............
200 s........3.3....................3
201 -
202 q........
203 q.....3.3.........3.3.....
204 w3.........3.3...
205 w3............33.
206 w3............3...3
207 s........3....3..3.......3..
208 s........3....3....3........3..
209 -
210 w3............
211 i..........
212 s........3.3....3..3.....3.....3.3....3....3.3...3.....3..3..3...3..3....3...3..3.....
213 s........3....3....3.....3..
214 s........3.3.....................3
215 s........3.3....3..3...............3.3.3..3
216 w3..............
217 i.........3..3..3.....3...
218 i............
219 s........3.3....3..3.....3.....3.3....3....3.3...3....3..3..3..3.......3.
220 s........3.3...................3.3.3.
221 s........3.3........................
222 s..............3.3..3..3....
223 s........3.3...................3.3...
224 s........3....3....3........3.
225 q.....3......
226 q.........3..
227 q...........3
228 s........3.3....3..3...............3....3.3.3
229 w3..................
230 -
231 i......3.......
232 -
233 s........3.3.......................
234 s........3.3....3..3.....3.....3.3....3....3.3...3.....3..3..3...3..3....3...3..3....3..
235 i.........3....
236 -
237 i............3.
238 s........3.3....................33
239 -
240 s........3....3....3........3.3.
241 s........3.3....3..3...............3....3.3.33.
242 s........3.3.....................3...
243 w.....
244 w3........
245 q.....3.........
246 -
247 -
248 q..............
249 q.....3........
250 q.........3.....
251 q.............
252 q.........3....
253 q............
254 q...........3..
255 q...........3..3.
256 t3