]>
Commit | Line | Data |
---|---|---|
85fdcdb7 IB |
1 | ################### |
2 | ##### Aliases ##### | |
3 | ||
8f88a3e4 | 4 | aliases: |
85fdcdb7 IB |
5 | # for files |
6 | music1: | |
7 | file: "short_blues.mp3" | |
8 | music2: | |
9 | file: "to_the_Fantasy_war.mp3" | |
10 | noise: | |
11 | file: "croco.mp3" | |
12 | # aliases for colors | |
13 | blue: | |
14 | color: [50, 50, 255] | |
15 | orange: | |
16 | color: [255, 126, 0] | |
17 | yellow: | |
18 | color: [250, 250, 0] | |
19 | red: | |
20 | color: [255, 20, 20] | |
21 | light_blue: | |
22 | color: [100, 150, 255] | |
23 | green: | |
24 | color: [50, 180, 50] | |
25 | light_green: | |
26 | color: [150, 255, 100] | |
27 | purple: | |
16759756 | 28 | color: [190, 110, 236] |
85fdcdb7 IB |
29 | pink: |
30 | color: [255, 50, 255] | |
16759756 | 31 | |
85fdcdb7 IB |
32 | #################################################### |
33 | ##### Music properties: name and general gain ###### | |
87f211fb IB |
34 | |
35 | music_properties: | |
85fdcdb7 IB |
36 | "short_blues.mp3": |
37 | name: Short Blues (music 1) | |
38 | "to_the_Fantasy_war.mp3": | |
39 | name: To the Fantasy War (music 2) | |
40 | "croco.mp3": | |
41 | name: Crocodile noise | |
16759756 | 42 | gain: 1.2 |
85fdcdb7 IB |
43 | |
44 | #################################################### | |
45 | ##### Key properties: how do the key look like ##### | |
b86db9f1 IB |
46 | |
47 | key_properties: | |
48 | 'a': | |
49 | description: | |
16759756 | 50 | - |
85fdcdb7 IB |
51 | - Music 1 |
52 | include: light_blue | |
b86db9f1 IB |
53 | 'z': |
54 | description: | |
85fdcdb7 IB |
55 | - |
56 | - Music 2 | |
57 | include: light_blue | |
b86db9f1 IB |
58 | 'e': |
59 | description: | |
85fdcdb7 IB |
60 | - |
61 | - Noise | |
62 | include: light_blue | |
b86db9f1 IB |
63 | 't': |
64 | description: | |
85fdcdb7 IB |
65 | - |
66 | - Crossfade | |
67 | - music 2 | |
68 | include: green | |
69 | repeat_delay: 5 | |
b86db9f1 IB |
70 | 'y': |
71 | description: | |
85fdcdb7 IB |
72 | - |
73 | - Stop wait | |
74 | - music 2 | |
75 | include: green | |
b86db9f1 IB |
76 | 'u': |
77 | description: | |
85fdcdb7 IB |
78 | - |
79 | - Noise | |
80 | - + Music 2 | |
81 | include: green | |
82 | ||
83 | 'g': | |
b86db9f1 | 84 | description: |
85fdcdb7 IB |
85 | - |
86 | - Music 1 | |
87 | - Seek 30/60 | |
88 | include: purple | |
89 | ||
90 | 'i': | |
b86db9f1 | 91 | description: |
85fdcdb7 IB |
92 | - |
93 | - Noise | |
94 | - +low vol | |
95 | include: green | |
96 | ||
97 | 'h': | |
b86db9f1 | 98 | description: |
85fdcdb7 IB |
99 | - |
100 | - Noise | |
101 | - 3 times | |
102 | include: purple | |
103 | repeat_delay: 2 | |
104 | ||
105 | 'm': | |
b86db9f1 | 106 | description: |
85fdcdb7 IB |
107 | - |
108 | - Musics | |
109 | - 1 & 2 | |
110 | include: purple | |
111 | ||
112 | 'n': | |
b86db9f1 | 113 | description: |
85fdcdb7 IB |
114 | - |
115 | - Low vol | |
116 | - Up vol | |
117 | include: green | |
118 | ||
119 | 'home': | |
b86db9f1 | 120 | description: |
85fdcdb7 IB |
121 | - |
122 | - vlc | |
123 | include: orange | |
124 | ||
125 | ||
126 | ## Some general useful keys | |
127 | ||
128 | 'ESC': | |
b86db9f1 | 129 | description: |
85fdcdb7 IB |
130 | - "!" |
131 | - STOP! | |
132 | include: red | |
133 | ||
134 | 'F5': | |
b86db9f1 | 135 | description: |
85fdcdb7 IB |
136 | - "||" |
137 | - PAUSE | |
138 | include: light_green | |
139 | ||
140 | 'F6': | |
b86db9f1 | 141 | description: |
85fdcdb7 IB |
142 | - ">" |
143 | - UNPAUSE | |
144 | include: light_green | |
145 | ||
146 | 'F1': | |
b86db9f1 | 147 | description: |
16759756 | 148 | - |
85fdcdb7 IB |
149 | - Stop |
150 | - fade | |
151 | include: orange | |
152 | ||
153 | 'F2': | |
b86db9f1 | 154 | description: |
16759756 | 155 | - |
85fdcdb7 IB |
156 | - Stop |
157 | - actions | |
158 | include: orange | |
159 | ||
160 | 'F4': | |
b86db9f1 | 161 | description: |
85fdcdb7 IB |
162 | - |
163 | - Skip | |
164 | - wait | |
165 | include: pink | |
166 | ||
167 | 'F12': | |
b58b8220 IB |
168 | description: |
169 | - | |
85fdcdb7 IB |
170 | - vol+ |
171 | include: yellow | |
b58b8220 | 172 | |
85fdcdb7 | 173 | 'F11': |
b58b8220 | 174 | description: |
85fdcdb7 IB |
175 | - |
176 | - "vol-" | |
177 | include: yellow | |
b58b8220 | 178 | |
85fdcdb7 | 179 | 'right': |
b58b8220 | 180 | description: |
85fdcdb7 IB |
181 | - |
182 | - +10s | |
183 | include: blue | |
b86db9f1 | 184 | |
85fdcdb7 | 185 | 'left': |
16759756 | 186 | description: |
85fdcdb7 IB |
187 | - |
188 | - -10s | |
189 | include: blue | |
16759756 | 190 | |
85fdcdb7 IB |
191 | ################################################################# |
192 | ##### Keys: what do the key actually do when you press them ##### | |
8f88a3e4 IB |
193 | |
194 | keys: | |
85fdcdb7 | 195 | # Play the songs |
8f88a3e4 IB |
196 | 'a': |
197 | - play: | |
85fdcdb7 | 198 | include: music1 |
8f88a3e4 | 199 | 'z': |
b86db9f1 | 200 | - play: |
85fdcdb7 | 201 | include: music2 |
b86db9f1 | 202 | 'e': |
b86db9f1 | 203 | - play: |
85fdcdb7 IB |
204 | include: noise |
205 | ||
206 | # Crossfade from any music to music 2 | |
b86db9f1 | 207 | 't': |
8f88a3e4 | 208 | - stop: |
b86db9f1 | 209 | fade_out: 5 |
0e5d59f7 | 210 | - play: |
85fdcdb7 IB |
211 | include: music2 |
212 | fade_in: 5 | |
87f211fb | 213 | |
85fdcdb7 IB |
214 | # Fade out, then wait and start music 2 |
215 | 'y': | |
216 | - stop: | |
b86db9f1 | 217 | fade_out: 3 |
85fdcdb7 IB |
218 | wait: true |
219 | set_wait_id: y1 | |
b86db9f1 | 220 | - wait: |
85fdcdb7 IB |
221 | duration: 3 |
222 | set_wait_id: y2 | |
223 | - play: | |
224 | include: music2 | |
225 | ||
226 | # Play the noise, stop music 1, wait a bit then start music 2 | |
227 | 'u': | |
b58b8220 | 228 | - play: |
85fdcdb7 | 229 | include: noise |
b58b8220 | 230 | - wait: |
85fdcdb7 | 231 | duration: 0.2 |
b86db9f1 | 232 | - stop: |
85fdcdb7 IB |
233 | include: music1 |
234 | - wait: | |
235 | duration: 3 | |
236 | set_wait_id: u | |
237 | - play: | |
238 | include: music2 | |
b58b8220 | 239 | |
85fdcdb7 IB |
240 | # Play music 1, starting at 30 seconds then seeks at 60 after 5 seconds |
241 | 'g': | |
242 | - play: | |
243 | include: music1 | |
244 | start_at: 30 | |
245 | - wait: | |
246 | duration: 5 | |
247 | set_wait_id: g | |
248 | - seek: | |
249 | include: music1 | |
250 | delta: false | |
251 | value: 60 | |
252 | ||
253 | # Play music 1 and 2, after stopping all musics with a fade_out (and wait for this fade out) | |
b86db9f1 IB |
254 | 'm': |
255 | - stop: | |
85fdcdb7 IB |
256 | fade_out: 2 |
257 | wait: true | |
b86db9f1 | 258 | - play: |
85fdcdb7 | 259 | include: music1 |
b86db9f1 | 260 | - wait: |
85fdcdb7 IB |
261 | include: music1 |
262 | set_wait_id: m | |
b86db9f1 | 263 | - play: |
85fdcdb7 IB |
264 | include: music2 |
265 | ||
266 | # Lowers the volume of music 1 and 2 (if playing), during the duration of noise + 1 second | |
267 | 'i': | |
268 | - volume: | |
269 | include: music1 | |
270 | value: 50 | |
271 | - volume: | |
272 | include: music2 | |
273 | value: 50 | |
16759756 | 274 | - play: |
85fdcdb7 | 275 | include: noise |
16759756 | 276 | - wait: |
85fdcdb7 IB |
277 | include: noise |
278 | duration: 1 | |
279 | set_wait_id: i | |
16759756 | 280 | - volume: |
85fdcdb7 IB |
281 | include: music1 |
282 | value: 100 | |
283 | fade: 1 | |
16759756 | 284 | - volume: |
85fdcdb7 IB |
285 | include: music2 |
286 | value: 100 | |
287 | fade: 1 | |
288 | ||
289 | # Lowers the volume of music 1 and 2 (if playing) down to 10% with a 5 seconds fade, then back to 100% | |
290 | 'n' : | |
16759756 | 291 | - volume: |
85fdcdb7 IB |
292 | include: music1 |
293 | value: 10 | |
294 | fade: 5 | |
295 | - volume: | |
296 | include: music2 | |
297 | value: 10 | |
298 | fade: 5 | |
16759756 | 299 | - wait: |
85fdcdb7 IB |
300 | duration: 5 |
301 | set_wait_id: n | |
16759756 | 302 | - volume: |
85fdcdb7 IB |
303 | include: music1 |
304 | value: 100 | |
305 | fade: 5 | |
306 | - volume: | |
307 | include: music2 | |
308 | value: 100 | |
309 | fade: 5 | |
16759756 | 310 | |
85fdcdb7 IB |
311 | # Stops all musics, then plays noise repeated twice (3 times) |
312 | 'h': | |
313 | - stop: | |
314 | fade_out: 0.5 | |
315 | - play: | |
316 | include: noise | |
317 | loop: 2 | |
318 | ||
319 | 'home': | |
320 | - run_command: | |
321 | command: vlc *.mp3 | |
322 | wait: true | |
16759756 IB |
323 | |
324 | ||
85fdcdb7 IB |
325 | ##### Useful keys (good to have them all the time) |
326 | ||
327 | # Emergency stop! | |
8f88a3e4 | 328 | 'ESC': |
85fdcdb7 IB |
329 | - stop_all_actions: |
330 | other_only: true | |
331 | - stop: | |
b86db9f1 | 332 | |
b58b8220 | 333 | |
b58b8220 | 334 | |
85fdcdb7 IB |
335 | # Pause and unpause |
336 | 'F5': | |
337 | - pause: | |
338 | ||
339 | 'F6': | |
340 | - unpause: | |
341 | ||
342 | # Stopping all musics, with a short fade (sounds natural) | |
343 | 'F1': | |
16759756 IB |
344 | - stop: |
345 | fade_out: 1 | |
346 | ||
85fdcdb7 IB |
347 | # Stopping all actions |
348 | 'F2': | |
349 | - stop_all_actions: | |
350 | ||
351 | # Skip wait | |
352 | 'F4': | |
353 | - interrupt_wait: | |
354 | wait_id: n | |
355 | - interrupt_wait: | |
356 | wait_id: m | |
357 | - interrupt_wait: | |
358 | wait_id: i | |
359 | - interrupt_wait: | |
360 | wait_id: y1 | |
361 | - interrupt_wait: | |
362 | wait_id: y2 | |
363 | - interrupt_wait: | |
364 | wait_id: u | |
365 | - interrupt_wait: | |
366 | wait_id: g | |
367 | ||
368 | ||
369 | # Changing volume | |
370 | 'F12': | |
371 | - volume: | |
372 | delta: true | |
373 | value: +10 | |
374 | fade: 0.5 | |
375 | ||
376 | 'F11': | |
377 | - volume: | |
378 | delta: true | |
379 | value: -10 | |
380 | fade: 0.5 | |
381 | ||
382 | ||
383 | # Seek +- 10 seconds | |
384 | 'right': | |
385 | - seek: | |
386 | value: 10 | |
387 | delta: true | |
388 | ||
389 | 'left': | |
390 | - seek: | |
391 | value: -10 | |
392 | delta: true | |
393 | ||
394 |