aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-07-28 00:43:09 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-07-28 00:43:09 +0200
commit85fdcdb7ca2d03da19dde4cb5ec7d426a6d7be7e (patch)
tree3f30876c3ab99e72163083aae6c7c09e439a71af
parent6ebe62478a49df22c55ef6a2b1200473500a7f80 (diff)
downloadMusicSampler-85fdcdb7ca2d03da19dde4cb5ec7d426a6d7be7e.tar.gz
MusicSampler-85fdcdb7ca2d03da19dde4cb5ec7d426a6d7be7e.tar.zst
MusicSampler-85fdcdb7ca2d03da19dde4cb5ec7d426a6d7be7e.zip
Add example config.yml
-rw-r--r--config.yml654
1 files changed, 309 insertions, 345 deletions
diff --git a/config.yml b/config.yml
index c6efff3..e543b04 100644
--- a/config.yml
+++ b/config.yml
@@ -1,430 +1,394 @@
1###################
2##### Aliases #####
3
1aliases: 4aliases:
2 intro_jonglacro: 5# for files
3 file: "PIRATE_01-1-intro_jonglacro.mp3" 6 music1:
4 jonglacro_suite: 7 file: "short_blues.mp3"
5 file: "PIRATE_01-2-jonglacro_suite.mp3" 8 music2:
6 lancer_prisonniere: 9 file: "to_the_Fantasy_war.mp3"
7 file: "PIRATE_02-lancers_de_prisonniere.mp3" 10 noise:
8 quete: 11 file: "croco.mp3"
9 file: "PIRATE_03-1-quete.mp3" 12# aliases for colors
10 monstre: 13 blue:
11 file: "PIRATE_03-2-monstre.mp3" 14 color: [50, 50, 255]
12 entree_ondine: 15 orange:
13 file: "PIRATE_04-entree_ondine.mp3" 16 color: [255, 126, 0]
14 cour_ondine: 17 yellow:
15 file: "PIRATE_05-cour_a_londine.mp3" 18 color: [250, 250, 0]
16 fouille_jonglage: 19 red:
17 file: "PIRATE_07-fouille_jonglage.mp3" 20 color: [255, 20, 20]
18 gain: 0.9 21 light_blue:
19 liberation_prisonniere: 22 color: [100, 150, 255]
20 file: "PIRATE_08-1-liberation_prisonniere.mp3" 23 green:
21 paf: 24 color: [50, 180, 50]
22 file: "PIRATE_08-2-paf_tombe.mp3" 25 light_green:
23 duo_pirate_ondine: 26 color: [150, 255, 100]
24 file: "PIRATE_09-duo_pirate_ondine.mp3" 27 purple:
25 gain: 115
26 trio_jalousie:
27 file: "PIRATE_10-1-trios_jalousie.mp3"
28 coup:
29 file: "PIRATE_10-2-coup.mp3"
30 piquage_2_4:
31 file: "PIRATE_11-piquage_2_4.mp3"
32 gain: 110
33 baston:
34 file: "PIRATE_12-1-baston.mp3"
35 baston_ascension:
36 file: "PIRATE_12-3-baston_ascension.mp3"
37 ralenti:
38 file: "PIRATE_12-2-ralenti.mp3"
39 saluts:
40 file: "PIRATE_13-saluts.mp3"
41 wait_fade:
42 duration: 0.6
43 couleur_chloe:
44 color: [73, 221, 226]
45 couleur_denise:
46 color: [190, 110, 236] 28 color: [190, 110, 236]
47 couleur_jerome: 29 pink:
48 color: [240, 158, 0] 30 color: [255, 50, 255]
49 couleur_chris:
50 color: [255, 255, 0]
51 couleur_aure:
52 color: [0, 190, 27]
53 31
32####################################################
33##### Music properties: name and general gain ######
54 34
55music_properties: 35music_properties:
56 "PIRATE_01-1-intro_jonglacro.mp3": 36 "short_blues.mp3":
57 name: Intro Jonglacro 37 name: Short Blues (music 1)
58 "PIRATE_01-2-jonglacro_suite.mp3": 38 "to_the_Fantasy_war.mp3":
59 name: Jonglacro suite 39 name: To the Fantasy War (music 2)
60 "PIRATE_02-lancers_de_prisonniere.mp3": 40 "croco.mp3":
61 name: Lancer prisonnière 41 name: Crocodile noise
62 "PIRATE_03-1-quete.mp3":
63 name: Quête
64 gain: 1.2
65 "PIRATE_03-2-monstre.mp3":
66 name: Monstre
67 "PIRATE_04-entree_ondine.mp3":
68 name: Entrée Ondine
69 "PIRATE_05-cour_a_londine.mp3":
70 name: Cour à l'Ondine
71 "PIRATE_07-fouille_jonglage.mp3":
72 name: Fouille jonglage
73 "PIRATE_08-1-liberation_prisonniere.mp3":
74 name: Libération prisonnière
75 gain: 1.2 42 gain: 1.2
76 "PIRATE_08-2-paf_tombe.mp3": 43
77 name: Paf tombe 44####################################################
78 "PIRATE_09-duo_pirate_ondine.mp3": 45##### Key properties: how do the key look like #####
79 name: Duo pirate Ondine
80 "PIRATE_10-1-trios_jalousie.mp3":
81 name: Trio Jalousie
82 "PIRATE_10-2-coup.mp3":
83 name: Coup
84 "PIRATE_11-piquage_2_4.mp3":
85 name: Piquage 2-4
86 "PIRATE_12-1-baston.mp3":
87 name: Baston
88 "PIRATE_12-3-baston_ascension.mp3":
89 name: Baston ascension
90 gain: 1.4
91 "PIRATE_12-2-ralenti.mp3":
92 name: Ralenti
93 "PIRATE_13-saluts.mp3":
94 name: Saluts
95 gain: 0.7
96 46
97key_properties: 47key_properties:
98 'a': 48 'a':
99 description: 49 description:
100 - 50 -
101 - Jonglacro 51 - Music 1
102 include: couleur_chloe 52 include: light_blue
103 'z': 53 'z':
104 description: 54 description:
105 - #Chloé 55 -
106 - Jonglacro 56 - Music 2
107 - 2 57 include: light_blue
108 include: couleur_chloe
109 'e': 58 'e':
110 description: 59 description:
111 - #Chloé 60 -
112 - Fin 61 - Noise
113 - jonglacro 62 include: light_blue
114 include: couleur_chloe
115 'r':
116 description:
117 - #Chloé
118 - Lancer
119 - prisonnière
120 include: couleur_chloe
121 't': 63 't':
122 description: 64 description:
123 - #Chloé 65 -
124 - Fin 66 - Crossfade
125 - lancer 67 - music 2
126 include: couleur_chloe 68 include: green
69 repeat_delay: 5
127 'y': 70 'y':
128 description: 71 description:
129 - #Chloé 72 -
130 - Quête 73 - Stop wait
131 include: couleur_chloe 74 - music 2
75 include: green
132 'u': 76 'u':
133 description: 77 description:
134 - #Chloé 78 -
135 - Monstre 79 - Noise
136 include: couleur_chloe 80 - + Music 2
137 'i': 81 include: green
138 description: 82
139 - #Chloé 83 'g':
140 - Fin quête
141 - Grotte
142 include: couleur_chloe
143 'o':
144 description: 84 description:
145 - #Denise 85 -
146 - Fin ondine 86 - Music 1
147 - Cour ondine 87 - Seek 30/60
148 include: couleur_denise 88 include: purple
149 'p': 89
90 'i':
150 description: 91 description:
151 - #Denise 92 -
152 - Fin 93 - Noise
153 - Cour ondine 94 - +low vol
154 include: couleur_denise 95 include: green
155 'q': 96
97 'h':
156 description: 98 description:
157 - #Chloé 99 -
158 - Fouille 100 - Noise
159 - Jonglage 101 - 3 times
160 include: couleur_chloe 102 include: purple
161 's': 103 repeat_delay: 2
104
105 'm':
162 description: 106 description:
163 - #Denise 107 -
164 - Fin 108 - Musics
165 - Jonglage 109 - 1 & 2
166 include: couleur_denise 110 include: purple
167 'd': 111
112 'n':
168 description: 113 description:
169 - #Denise 114 -
170 - Libération 115 - Low vol
171 - Prisonnière 116 - Up vol
172 include: couleur_denise 117 include: green
173 'f': 118
119 'home':
174 description: 120 description:
175 - #Denise 121 -
176 - Paf 122 - vlc
177 - Baisser musique 123 include: orange
178 include: couleur_denise 124
179 'g': 125
126## Some general useful keys
127
128 'ESC':
180 description: 129 description:
181 - #Denise 130 - "!"
182 - Stop 131 - STOP!
183 - libération 132 include: red
184 include: couleur_denise 133
185 'h': 134 'F5':
186 description: 135 description:
187 - #Denise 136 - "||"
188 - Duo 137 - PAUSE
189 include: couleur_denise 138 include: light_green
190 'j': 139
140 'F6':
191 description: 141 description:
192 - #Jérôme 142 - ">"
193 - Trio 143 - UNPAUSE
194 include: couleur_jerome 144 include: light_green
195 'k': 145
146 'F1':
196 description: 147 description:
197 - 148 -
198 - Fin trio 149 - Stop
199 include: couleur_jerome 150 - fade
200 'l': 151 include: orange
152
153 'F2':
201 description: 154 description:
202 - 155 -
203 - Jeu à 156 - Stop
204 - 2 et 4 157 - actions
205 include: couleur_jerome 158 include: orange
206 'm': 159
207 description: 160 'F4':
208 -
209 - Fin jeu
210 - Baston
211 include: couleur_chloe
212 'w':
213 description:
214 -
215 - Fin baston
216 - Ralenti
217 include: couleur_chris
218 'x':
219 description:
220 -
221 - Fin ralenti
222 include: couleur_chris
223 'c':
224 description:
225 -
226 - Baston 2
227 include: couleur_chris
228 'v':
229 description: 161 description:
230 - 162 -
231 - Fin baston 2 163 - Skip
232 - Saluts 164 - wait
233 include: couleur_aure 165 include: pink
234 'ESC': 166
167 'F12':
235 description: 168 description:
236 - 169 -
237 - STOP ! 170 - vol+
238 color: [255, 0, 0] 171 include: yellow
239 172
240 'F1': 173 'F11':
241 description: 174 description:
242 - 175 -
243 - PAUSE 176 - "vol-"
177 include: yellow
244 178
245 'F2': 179 'right':
246 description: 180 description:
247 - 181 -
248 - REPRENDRE 182 - +10s
183 include: blue
249 184
250 'F5': 185 'left':
251 description: 186 description:
252 - 187 -
253 - STOP 188 - -10s
254 - FADE 189 include: blue
255 190
191#################################################################
192##### Keys: what do the key actually do when you press them #####
256 193
257keys: 194keys:
195# Play the songs
258 'a': 196 'a':
259 - stop:
260 fade_out: 0.5
261 - play: 197 - play:
262 include: intro_jonglacro 198 include: music1
263 'z': 199 'z':
264 - stop:
265 fade_out: 5
266 - wait:
267 duration: 7
268 - play: 200 - play:
269 include: jonglacro_suite 201 include: music2
270 'e': 202 'e':
271 - stop:
272 fade_out: 3
273 'r':
274 - stop:
275 fade_out: 0.5
276 - play: 203 - play:
277 include: lancer_prisonniere 204 include: noise
205
206# Crossfade from any music to music 2
278 't': 207 't':
279 - stop: 208 - stop:
280 fade_out: 3
281 'y':
282 - stop:
283 fade_out: 0.5
284 - play:
285 include: quete
286 'u':
287 - volume:
288 include: quete
289 value: 50
290 - play:
291 include: monstre
292 - wait:
293 duration: 2
294 - volume:
295 include: quete
296 value: 100
297 'i':
298 - stop:
299 fade_out: 5 209 fade_out: 5
300 - wait:
301 duration: 18
302 - play: 210 - play:
303 include: entree_ondine 211 include: music2
304 'o': 212 fade_in: 5
305 - stop:
306 fade_out: 4
307 - wait:
308 duration: 7
309 - play:
310 include: cour_ondine
311 'p':
312 - stop:
313 fade_out: 5
314 'q':
315 - stop:
316 fade_out: 0.5
317 - play:
318 include: fouille_jonglage
319 's':
320 - stop:
321 fade_out: 2
322 'd':
323 - stop:
324 fade_out: 0.5
325 - play:
326 include: liberation_prisonniere
327 fade_in: 1
328 'f':
329 - play:
330 include: paf
331 - wait:
332 duration: 0.25
333 - volume:
334 include: liberation_prisonniere
335 value: 30
336 213
337 'g': 214# Fade out, then wait and start music 2
338 - stop: 215 'y':
216 - stop:
339 fade_out: 3 217 fade_out: 3
340 'h': 218 wait: true
341 - stop: 219 set_wait_id: y1
342 fade_out: 0.5
343 - play:
344 include: duo_pirate_ondine
345 'j':
346 - stop:
347 fade_out: 2
348 - wait: 220 - wait:
349 duration: 1.5 221 duration: 3
350 - play: 222 set_wait_id: y2
351 include: trio_jalousie 223 - play:
352 'k': 224 include: music2
225
226# Play the noise, stop music 1, wait a bit then start music 2
227 'u':
353 - play: 228 - play:
354 include: coup 229 include: noise
355 - wait: 230 - wait:
356 duration: 0.1 231 duration: 0.2
357 - stop: 232 - stop:
358 include: trio_jalousie 233 include: music1
234 - wait:
235 duration: 3
236 set_wait_id: u
237 - play:
238 include: music2
359 239
360 'l': 240# Play music 1, starting at 30 seconds then seeks at 60 after 5 seconds
361 - stop: 241 'g':
362 fade_out: 0.5 242 - play:
363 - play: 243 include: music1
364 include: piquage_2_4 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)
365 'm': 254 'm':
366 - stop: 255 - stop:
367 fade_out: 4 256 fade_out: 2
368 - wait: 257 wait: true
369 duration: 6
370 - play: 258 - play:
371 include: baston 259 include: music1
372 'w':
373 - stop:
374 fade_out: 0.5
375 - wait: 260 - wait:
376 duration: 0.5 261 include: music1
262 set_wait_id: m
377 - play: 263 - play:
378 include: ralenti 264 include: music2
379 'x': 265
380 - stop: 266# Lowers the volume of music 1 and 2 (if playing), during the duration of noise + 1 second
381 fade_out: 1.5 267 'i':
382 'c': 268 - volume:
383 - stop: 269 include: music1
384 fade_out: 0.5 270 value: 50
385 - play: 271 - volume:
386 include: baston_ascension 272 include: music2
387 'v': 273 value: 50
388 - stop:
389 fade_out: 2
390 - wait:
391 duration: 7
392 - play: 274 - play:
393 include: saluts 275 include: noise
394 - wait: 276 - wait:
395 duration: 5 277 include: noise
278 duration: 1
279 set_wait_id: i
396 - volume: 280 - volume:
397 include: saluts 281 include: music1
398 value: 90 282 value: 100
399 - wait: 283 fade: 1
400 include: wait_fade
401 - volume: 284 - volume:
402 include: saluts 285 include: music2
403 value: 80 286 value: 100
404 - wait: 287 fade: 1
405 include: wait_fade 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' :
406 - volume: 291 - volume:
407 include: saluts 292 include: music1
408 value: 70 293 value: 10
294 fade: 5
295 - volume:
296 include: music2
297 value: 10
298 fade: 5
409 - wait: 299 - wait:
410 include: wait_fade 300 duration: 5
301 set_wait_id: n
411 - volume: 302 - volume:
412 include: saluts 303 include: music1
413 value: 60 304 value: 100
305 fade: 5
306 - volume:
307 include: music2
308 value: 100
309 fade: 5
414 310
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
415 323
416 324
325##### Useful keys (good to have them all the time)
326
327# Emergency stop!
417 'ESC': 328 'ESC':
418 - stop: ~ 329 - stop_all_actions:
419 - stop_all_actions: ~ 330 other_only: true
331 - stop:
420 332
421 'F1':
422 - pause: ~
423 333
424 'F2':
425 - unpause: ~
426 334
427 'F5': 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':
428 - stop: 344 - stop:
429 fade_out: 1 345 fade_out: 1
430 346
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