We’ve updated our Terms of Use to reflect our new entity name and address. You can review the changes here.
We’ve updated our Terms of Use. You can review the changes here.

Piques marteleurs

by enkid0

/
  • Streaming + Download

    Includes high-quality download in MP3, FLAC and more. Paying supporters also get unlimited streaming via the free Bandcamp app.
    Purchasable with gift card

      name your price

     

1.
Sonic Pi source code (without personal random seed) ------------------------------ set_mixer_control! hpf: 25 set_mixer_control! amp: 0.8 duree_intro = 6 duree_corps = duree_intro * 19 duree_outro = duree_intro * 2 duree_totale = duree_intro + duree_corps + duree_outro print "durée totale: ", duree_totale / 60, " mn et", duree_totale % 60, " s" bass_cutoff = 35 continuer = true in_thread do while continuer == true sleep 1 if beat > duree_intro + duree_corps continuer = false print "fin du morceau !" end end end in_thread(name: :nappe) do print "nappe sous-jacente" sample :loop_3d_printer, attack: duree_intro, sustain: duree_corps, release: duree_outro, beat_stretch: duree_totale sample :loop_weirdo, attack: duree_intro, sustain: duree_corps, release: duree_outro, beat_stretch: duree_totale end in_thread(name: :robotique) do sleep duree_intro while continuer == true sleep rrand_i(3,7) print "jet d'un dé à 6 faces" jet_des = dice(6) case jet_des when 1..3 print "probabilité : 50%" sample :glitch_robot1, beat_stretch: rrand_i(4, 9), amp: 0.6 when 4..5 print "probabilité : 33,33%" sample :glitch_robot2, beat_stretch: rrand_i(4, 9), amp: 0.6 when 6 print "probabilité : 16,66%" sample :loop_electric, beat_stretch: rrand_i(4, 9), amp: 0.6 else end end end in_thread(name: :explosions) do sleep duree_intro while continuer == true sleep rrand_i(2,3) print "pile ou face : vrai 50%" if one_in(2) == true print "vrai" sample :drum_tom_lo_hard, beat_stretch: rrand_i(4, 9), amp: 0.7 else print "faux" sample :drum_tom_lo_soft, beat_stretch: rrand_i(4, 9), amp: 0.7 end sleep rrand_i(2,3) print "1 sur 3 : vrai 33,33%" if one_in(3) == true print "vrai" sample :drum_tom_hi_hard, beat_stretch: rrand_i(4, 9), amp: 0.7 end end end in_thread(name: :blips) do sleep duree_intro while continuer == true sleep rrand(1.5, 5.6) tirage = rrand_i(3,12) print "Entre 3 et 12" if tirage <= 5 print "5 ou moins" sample :elec_blip2, beat_stretch: rrand_i(0.3, 1.2), amp: 0.3 elsif tirage >= 9 print "9 ou plus" sample :elec_blip, beat_stretch: rrand_i(0.3, 1.2), amp: 0.3 else print "6 à 8" sample :elec_blup, beat_stretch: rrand_i(0.3, 1.2), amp: 0.3 end end end
2.
Sonic Pi source code (without personal random seed) ------------------------------ set_mixer_control! hpf: 35 set_mixer_control! amp: 0.75 duree_totale = 234 print "durée totale: ", duree_totale / 60, " mn et", duree_totale % 60, " s" continuer = true in_thread do while continuer == true sleep 1 if beat > duree_totale continuer = false print "fin du morceau !" end end end define :zero do 8.times do print "zero" notes = scale("f2", :jiao).ring with_fx :reverb, room: 0.3, mix: 0.7 do with_fx :hpf, centre: rrand(50, 60), mix: 0.5 do with_fx :echo, amp: 0.35, phase: 0.62, decay: 15.2 do use_synth :dull_bell play notes.tick, amp: rrand(0.2, 0.4), attack: 5.3, sustain: 2, release: rrand(8,12), pan: rrand(-0.3, 0.3) end use_synth :hollow play notes.look, amp: rrand(0.2, 0.4), attack: 6.2, sustain: 1.2, release: 8.4, pan: rrand(-0.3, 0.3) sleep rrand(0.2, 0.35) end end end end define :un do 5.times do print "un" notes = scale("b2", :aeolian).ring with_fx :flanger, phase: rrand(0, 0.3), mix: 0.8 do with_fx :echo, amp: 0.45, phase: 0.12, decay: 6 do use_synth :dsaw play notes.tick, amp: rrand(0, 0.09), attack: 2, sustain: 1, release: rrand(1,4), pan: rrand(-0.3, 0.3) end use_synth :hollow play notes.look, amp: rrand(0, 0.08), attack: 1, sustain: 0, release: 3.5, pan: rrand(-0.3, 0.3) sleep 0.25 end end end define :deux do 6.times do print "deux" notes = scale("b3", :chinese).ring with_fx :slicer, phase: rrand(0, 0.3), mix: 0.8 do with_fx :echo, amp: 0.56, phase: 0.27, decay: 5.3 do use_synth :dark_ambience play notes.tick, amp: rrand(0, 0.029), attack: 2, sustain: 1, release: rrand(1,5), pan: rrand(-0.3, 0.3) end use_synth :fm play notes.look, amp: rrand(0, 0.18), attack: 1, sustain: 0, release: 4.5, pan: rrand(-0.3, 0.3) sleep 0.25 end end end define :trois do 7.times do print "trois" notes = scale("b4", :enigmatic).ring with_fx :wobble, mix: rrand(0, 0.3) do with_fx :bitcrusher, mix: 0.3 do with_fx :echo, amp: 0.45, phase: 0.26, decay: 7.2 do use_synth :dtri play notes.tick, amp: rrand(0, 0.04), attack: 2, sustain: 1, release: rrand(1,6), pan: rrand(-0.3, 0.3) end use_synth :hollow play notes.look, amp: rrand(0, 0.03), attack: 1, sustain: 0, release: 4.5, pan: rrand(-0.3, 0.3) sleep 0.25 end end end end define :quatre do 8.times do print "quatre" notes = scale("b5", :lydian_minor).ring with_fx :distortion, distort: rrand(0, 0.5), mix: 0.8 do with_fx :echo, amp: 0.515, phase: 0.21, decay: 8.8 do use_synth :tech_saws play notes.tick, amp: rrand(0, 0.05), attack: 2, sustain: 1, release: rrand(1,7), pan: rrand(-0.3, 0.3) end use_synth :chipbass play notes.look, amp: rrand(0, 0.06), attack: 1, sustain: 0, release: 3.5, pan: rrand(-0.3, 0.3) sleep 0.25 end end end define :cinq do 8.times do print "cinq" notes = scale("e2", :messiaen7).ring with_fx :whammy, deltime: 0.35, grainsize: 0.23, mix: 0.8 do with_fx :echo, amp: 0.55, phase: 0.12, decay: 7.4 do use_synth :subpulse play notes.tick, amp: rrand(0, 0.059), attack: 2, sustain: 1, release: rrand(1,8), pan: rrand(-0.3, 0.3) end use_synth :chipnoise play notes.look, amp: rrand(0, 0.04), attack: 1, sustain: 0, release: 3.2, pan: rrand(-0.3, 0.3) sleep 0.25 end end end define :six do 9.times do print "six" notes = scale("e3", :ritusen).ring with_fx :pitch_shift, pitch: rrand(0, 0.3), pitch_dis: rrand(0, 0.3), mix: 0.45 do with_fx :echo, amp: 0.65, phase: 0.32, decay: 7.2 do use_synth :tri play notes.tick, amp: rrand(0, 0.2), attack: 5, sustain: 1, release: rrand(2,8), pan: rrand(-0.3, 0.3) end use_synth :beep play notes.look, amp: rrand(0, 0.2), attack: 4, sustain: 0, release: 3.5, pan: rrand(-0.3, 0.3) sleep rrand(0.2, 0.35) end end end define :sept do 9.times do print "sept" notes = scale("e4", :spanish).ring with_fx :reverb, room: 0.4, mix: 0.55 do with_fx :slicer, phase: rrand(0, 0.3), mix: 0.8 do with_fx :echo, amp: 0.65, phase: 0.32, decay: 8.2 do use_synth :square play notes.tick, amp: rrand(0, 0.12), attack: 3.3, sustain: 1, release: rrand(2,8), pan: rrand(-0.3, 0.3) end use_synth :prophet play notes.look, amp: rrand(0, 0.1), attack: 4.2, sustain: 0.2, release: 3.4, pan: rrand(-0.3, 0.3) sleep rrand(0.2, 0.35) end end end end define :huit do 2.times do print "huit" notes = scale("e4", :purvi).ring with_fx :krush do with_fx :gverb, room: 654, mix: 1 do with_fx :wobble, phase: rrand(0, 0.3), seed: rrand_i(0,1000), mix: 0.3 do with_fx :echo, amp: 0.65, phase: 0.22, decay: 3.2 do use_synth :mod_dsaw play notes.tick, amp: rrand(0, 0.03), attack: 3.3, sustain: 1, release: rrand(2,8), pan: rrand(-0.3, 0.3) end use_synth :tb303 play notes.look, amp: rrand(0, 0.03), attack: 4.2, sustain: 0.2, release: 3.4, pan: rrand(-0.3, 0.3) sleep rrand(0.2, 0.35) end end end end end define :neuf do 4.times do print "neuf" notes = scale("g4", :locrian).ring with_fx :reverb, room: 0.42, mix: 0.58 do with_fx :bpf, centre: rrand(50, 100), mix: 0.7 do with_fx :echo, amp: 0.25, phase: 0.12, decay: 3.2 do use_synth :supersaw play notes.tick, amp: rrand(0, 0.26), attack: 3.3, sustain: 1, release: rrand(2,8), pan: rrand(-0.3, 0.3) end use_synth :hollow play notes.look, amp: rrand(0, 0.28), attack: 4.2, sustain: 0.2, release: 3.4, pan: rrand(-0.3, 0.3) sleep rrand(0.2, 0.35) end end end end define :dix do 5.times do print "dix" notes = scale("g3", :todi).ring with_fx :reverb, room: 0.3, mix: 0.7 do with_fx :lpf, centre: rrand(30, 100), mix: 0.6 do with_fx :echo, amp: 0.25, phase: 0.12, decay: 3.2 do use_synth :fm play notes.tick, amp: rrand(0, 0.26), attack: 3.3, sustain: 1, release: rrand(2,8), pan: rrand(-0.3, 0.3) end use_synth :dark_ambience play notes.look, amp: rrand(0, 0.28), attack: 4.2, sustain: 0.2, release: 3.4, pan: rrand(-0.3, 0.3) sleep rrand(0.2, 0.35) end end end end neuf sleep 5 zero in_thread do while continuer == true sleep 7 + rrand(0,11) un end end in_thread do while continuer == true sleep 18 + rrand(0,6) deux end end in_thread do while continuer == true sleep 27 + rrand(0,7) trois end end in_thread do while continuer == true sleep 16 + rrand(0,15) quatre end end in_thread do while continuer == true sleep 20 + rrand(0,21) cinq end end in_thread do while continuer == true sleep 42 + rrand(0,20) six end end in_thread do while continuer == true sleep 55 + rrand(0,11) sept end end in_thread do while continuer == true sleep 65 + rrand(0,9) huit end end in_thread do while continuer == true sleep 84 + rrand(0,19) neuf end end in_thread do while continuer == true sleep 111 + rrand(0,7) dix end end sleep duree_totale zero
3.
Sonic Pi source code (without personal random seed) ------------------------------ set_mixer_control! hpf: 25 set_mixer_control! amp: 0.8 duree_totale = 201 print "durée totale: ", duree_totale / 60, " mn et", duree_totale % 60, " s" continuer = true in_thread do while continuer == true sleep 1 if beat > duree_totale continuer = false print "fin du morceau !" end end end with_fx :reverb, room: 0.55, mix: 0.2 do with_fx :flanger, mix: 0.3 do use_synth :dark_ambience in_thread do while continuer == true frequence = rrand(25, 240) duree1 = rrand(0,1.9) duree2 = rrand(0,1.9) duree3 = rrand(0,1.9) duree4 = rrand(0,1.9) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.25 sleep duree1 + duree2 + duree3 + duree4 end end use_synth :hollow in_thread do sleep 0.2 while continuer == true frequence = rrand(25, 240) duree1 = rrand(0,1.8) duree2 = rrand(0,1.8) duree3 = rrand(0,1.8) duree4 = rrand(0,1.8) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.2 sleep duree1 + duree2 + duree3 + duree4 end end use_synth :dark_ambience in_thread do sleep 4.2 while continuer == true frequence = rrand(25, 240) duree1 = rrand(0,1.7) duree2 = rrand(0,1.7) duree3 = rrand(0,1.7) duree4 = rrand(0,1.7) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.15 sleep duree1 + duree2 + duree3 + duree4 end end use_synth :pluck in_thread do sleep 6.3 while continuer == true frequence = rrand(25, 240) duree1 = rrand(0,1.6) duree2 = rrand(0,1.6) duree3 = rrand(0,1.6) duree4 = rrand(0,1.6) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.1 sleep duree1 + duree2 + duree3 + duree4 end end use_synth :growl in_thread do sleep 7.9 while continuer == true frequence = rrand(25, 300) duree1 = rrand(0,1.5) duree2 = rrand(0,1.5) duree3 = rrand(0,1.5) duree4 = rrand(0,1.5) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.05 sleep duree1 + duree2 + duree3 + duree4 end end use_synth :dark_ambience in_thread do sleep 11.7 while continuer == true frequence = rrand(25, 300) duree1 = rrand(0,1.4) duree2 = rrand(0,1.4) duree3 = rrand(0,1.4) duree4 = rrand(0,1.4) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.04 sleep duree1 + duree2 + duree3 + duree4 end end use_synth :dull_bell in_thread do sleep 14.6 while continuer == true frequence = rrand(25, 300) duree1 = rrand(0,1.3) duree2 = rrand(0,1.3) duree3 = rrand(0,1.3) duree4 = rrand(0,1.3) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.03 sleep duree1 + duree2 + duree3 + duree4 end end use_synth :hollow in_thread do sleep 18.5 while continuer == true frequence = rrand(25, 300) duree1 = rrand(0,1.2) duree2 = rrand(0,1.2) duree3 = rrand(0,1.2) duree4 = rrand(0,1.2) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.02 sleep duree1 + duree2 + duree3 + duree4 end end use_synth :prophet in_thread do sleep 22.1 while continuer == true frequence = rrand(25, 240) duree1 = rrand(0,1.1) duree2 = rrand(0,1.1) duree3 = rrand(0,1.1) duree4 = rrand(0,1.1) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.01 sleep duree1 + duree2 + duree3 + duree4 end end use_synth :hollow with_fx :flanger do in_thread do sleep 24.6 while continuer == true frequence = rrand(25, 300) duree1 = rrand(1.1,7.9) duree2 = rrand(1.1,7.9) duree3 = rrand(1.1,7.9) duree4 = rrand(1.1,7.9) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.25 sleep duree1 + duree2 + duree3 + duree4 end end end use_synth :dark_ambience with_fx :panslicer, mix: 0.34 do with_fx :distortion do in_thread do sleep rrand(20,21) while continuer == true frequence = rrand(25, 300) duree1 = rrand(2.1,8.9) duree2 = rrand(2.1,8.9) duree3 = rrand(2.1,8.9) duree4 = rrand(2.1,8.9) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.3 sleep duree1 + duree2 + duree3 + duree4 end end end end use_synth :hollow with_fx :bitcrusher do in_thread do sleep rrand(30,33) while continuer == true frequence = rrand(25, 300) duree1 = rrand(3.1,12.3) duree2 = rrand(3.1,12.3) duree3 = rrand(3.1,12.3) duree4 = rrand(3.1,12.3) play hz_to_midi(frequence), attack: duree1, sustain: duree2, release: duree3, amp: 0.25 sleep duree1 + duree2 + duree3 + duree4 end end end end end with_fx :reverb, room: 0.45, mix: 0.38 do with_fx :echo, decay: 0.28, mix: 0.65 do in_thread do sleep 3.1 while continuer == true duree1 = rrand(22.1,27.3) duree2 = rrand(14.5,16.7) sample :loop_breakbeat, beat_stretch: duree1, start: rrand(0, 0.49), finish: rrand(0.51, 1), attack: 5.2, release: 7.4, rate: [-1,1].choose, amp: rrand(0.4, 0.5) sleep duree1 + duree2 end end with_fx :bitcrusher do in_thread do sleep rrand(12,13) while continuer == true duree1 = rrand(16.1,19.3) duree2 = rrand(5.5,7.7) sample :loop_safari, beat_stretch: duree1, start: rrand(0, 0.49), finish: rrand(0.51, 1), attack: 3.2, release: 3.4, rate: [-1,-1,1].choose, amp: rrand(0.3, 0.5) sleep duree1 + duree2 end end end with_fx :krush do in_thread do sleep rrand(16,17) while continuer == true duree1 = rrand(10.1,12.3) duree2 = rrand(5.5,7.7) sample :mehackit_phone4, beat_stretch: duree1, start: rrand(0, 0.4), finish: rrand(0.6, 1), attack: 1.2, release: 1.4, rate: [-1,1].choose, amp: rrand(0.42, 0.48) sleep duree1 + duree2 end end end in_thread do sleep rrand(26,27) while continuer == true duree1 = rrand(17.1,22.3) duree2 = rrand(5.5,7.7) sample :loop_garzul, beat_stretch: duree1, start: rrand(0, 0.49), finish: rrand(0.51, 1), attack: 6.2, release: 5.4, rate: [-1,1].choose, amp: rrand(0.35, 0.45) sleep duree1 + duree2 end end end end
4.
Sonic Pi source code (without personal random seed) ------------------------------ set_mixer_control! hpf: 25 set_mixer_control! amp: 0.8 duree_intro = 15 duree_tranche = duree_intro * 3 duree_acte = duree_tranche * 2 duree_morceau = duree_acte * 3 duree_outro = duree_intro * 2 duree_totale = duree_intro + duree_morceau + duree_outro print "durée totale: ", duree_totale / 60, " mn et", duree_totale % 60, " s" bass_cutoff = 35 continuer = true in_thread do while continuer == true sleep 1 if beat > duree_intro + duree_morceau continuer = false print "fin du morceau !" end end end with_fx :reverb, room: 0.6, mix: 0.6 do with_fx :panslicer, mix: 0.5 do with_fx :bpf, centre: 100, centre_slide: 1.2, res: 0.4, res_slide: 0.8, mix: 1 do |bpf| in_thread do use_synth :chipbass bourdon1 = play "f1", attack: duree_intro, sustain: duree_morceau, release: duree_outro, amp: 0, amp_slide: 0.8, note_slide: 3 bourdon1b = play "f1", attack: duree_intro, sustain: duree_morceau, release: duree_outro, amp: 0, amp_slide: 0.8, note_slide: 3 while continuer == true sleep rrand(0.8, 1.6) control bourdon1, amp: rrand(0, 0.2) control bourdon1b, amp: rrand(0, 0.05) sleep rrand(1.5,8) control bpf, centre: rrand_i(30,130) sleep rrand(1.5,5) control bpf, res: rrand(0.2,0.6) sleep rrand(0.8, 3) control bourdon1b, note: (scale, "f1", :prometheus).choose end end end end end with_fx :lpf, cutoff: 50, cutoff_slide: 3.2, mix: 0.8 do |lpf| in_thread do use_synth :tri bourdon2 = play "c2", attack: duree_intro, sustain: duree_morceau, release: duree_outro, amp: 0.1, note_slide: 5 bourdon2b = play "c2", attack: duree_intro, sustain: duree_morceau, release: duree_outro, amp: 0.05, note_slide: 5 while continuer == true sleep rrand(2.5,8) control lpf, cutoff: rrand_i(30,130) sleep rrand(1.3, 5) control bourdon2b, note: (scale, "c2", :prometheus).choose end end end with_fx :hpf, cutoff: 60, cutoff_slide: 3.3, mix: 1 do |hpf| in_thread do use_synth :dark_ambience bourdon3 = play "e2", attack: duree_intro, sustain: duree_morceau, release: duree_outro, amp: 0.4, note_slide: 6 bourdon3b = play "e2", attack: duree_intro, sustain: duree_morceau, release: duree_outro, amp: 0.05, note_slide: 6 while continuer == true sleep rrand(3.5,9.3) control hpf, cutoff: rrand_i(30,130) sleep rrand(1.8, 6) control bourdon3b, note: (scale, "e2", :prometheus).mirror.tick end end end with_fx :hpf, cutoff: 50, cutoff_slide: 2.2, mix: 1 do |hpf1| with_fx :lpf, cutoff: 50, cutoff_slide: 2.2, mix: 1 do |lpf1| with_fx :slicer, phase: 0.6, mix: 0.2 do in_thread do use_synth :hollow ghost1 = play "c1", attack: duree_intro, sustain: duree_morceau, release: duree_outro, amp: 0.3, note_slide: 7 ghost1b = play "c1", attack: duree_intro, sustain: duree_morceau, release: duree_outro, amp: 0.05, note_slide: 7 while continuer == true sleep rrand(1.5,3.3) control hpf1, cutoff: rrand_i(25,130) sleep rrand(0.5,4.3) control lpf1, cutoff: rrand_i(25,130) sleep rrand(2.8, 7) control ghost1b, note: (scale, "c1", :prometheus).mirror.tick end end end end end with_fx :hpf, cutoff: 60, cutoff_slide: 3.2, mix: 1 do |hpf2| with_fx :lpf, cutoff: 60, cutoff_slide: 3.2, mix: 1 do |lpf2| with_fx :tremolo, mix: 0.2 do in_thread do use_synth :hollow ghost2 = play "b2", attack: duree_intro, sustain: duree_morceau, release: duree_outro, amp: 0, amp_slide: 0.6, note_slide: 9 ghost2b = play "b2", attack: duree_intro, sustain: duree_morceau, release: duree_outro, amp: 0, amp_slide: 0.3, note_slide: 9 while continuer == true sleep rrand(0.7,2.3) control ghost2, amp: rrand(0, 0.25) control ghost2b, amp: rrand(0, 0.05) sleep rrand(1.5,5.3) control hpf2, cutoff: rrand_i(25,130) sleep rrand(1.5,6.3) control lpf2, cutoff: rrand_i(25,130) sleep rrand(3.8, 9) control ghost2b, note: (scale, "b2", :prometheus).mirror.tick end end end end end with_fx :reverb, room: 0.4, mix: 0.5 do with_fx :bitcrusher, bits: 10, mix: 1 do in_thread do duree_samples = 27 sample :loop_mika, rate: -1, beat_stretch: duree_samples, amp: 0.3, attack: duree_intro sample :loop_mika, beat_stretch: duree_samples, amp: 0.34, attack: duree_intro sample :loop_safari, rate: -1, beat_stretch: duree_samples, amp: 0.2, attack: duree_intro sample :loop_safari, beat_stretch: duree_samples, amp: 0.24, attack: duree_intro sample :loop_breakbeat, rate: -1, beat_stretch: duree_samples, amp: 0.1, attack: duree_intro sample :loop_breakbeat, beat_stretch: duree_samples, amp: 0.14, attack: duree_intro sleep duree_samples while continuer == true duree_samples = rrand_i(28,39) sample :loop_mika, rate: -1, beat_stretch: duree_samples, amp: 0.3 sample :loop_mika, beat_stretch: duree_samples, amp: 0.34 sample :loop_safari, rate: -1, beat_stretch: duree_samples, amp: 0.2 sample :loop_safari, beat_stretch: duree_samples, amp: 0.24 sample :loop_breakbeat, rate: -1, beat_stretch: duree_samples, amp: 0.1 sample :loop_breakbeat, beat_stretch: duree_samples, amp: 0.14 sleep duree_samples end duree_samples = duree_intro sample :loop_mika, rate: -1, beat_stretch: duree_samples, amp: 0.3, release: duree_samples sample :loop_mika, beat_stretch: duree_samples, amp: 0.34, release: duree_samples sample :loop_safari, rate: -1, beat_stretch: duree_samples, amp: 0.2, release: duree_samples sample :loop_safari, beat_stretch: duree_samples, amp: 0.24, release: duree_samples sample :loop_breakbeat, rate: -1, beat_stretch: duree_samples, amp: 0.1, release: duree_samples sample :loop_breakbeat, beat_stretch: duree_samples, amp: 0.14, release: duree_samples sleep duree_samples end end end
5.
Sonic Pi source code (without personal random seed) ------------------------------ set_mixer_control! hpf: 35 set_mixer_control! amp: 0.8 duree_intro = 6.5 duree_tranche = 9 nb_tranches = 18 duree_morceau = duree_tranche * nb_tranches duree_outro = 6.5 continuer = true in_thread do while continuer == true sleep 1 if beat > duree_intro + duree_morceau continuer = false print "fin du morceau !" end end end with_fx :reverb, mix: 0.5 do with_fx :echo, mix: 0.6 do with_fx :octaver, mix: 0.7 do with_fx :flanger, mix: 0.8 do in_thread do while continuer == true sleep 0.1 + rrand(0, 0.8) use_synth :pluck play (scale :f5, :major_pentatonic, num_octaves: 3).choose, amp: 0.17, pan: rrand(-0.15, 0.15) end end end end end end with_fx :reverb, mix: 0.5, room: 0.45 do with_fx :echo, decay: 4.5, mix: 0.7, decay_slide: 3 do |echooo| with_fx :krush, mix: 0.6, mix_slide: 1.2 do |kr| in_thread do use_synth :tech_saws c = play "C2", attack: duree_intro, sustain: duree_morceau, release: duree_outro, amp: 0.03, amp_slide: 0.02, note_slide: 0.8 while continuer == true sleep 6 + rrand(0, 1) control c, note: (scale :c2, :major_pentatonic, num_octaves: 1).mirror.tick control c, amp: range(0.03, 0.1, 0.027).mirror.tick control echooo, decay: rrand(0,5) control kr, mix: rrand(0.2, 1) end end end end end with_fx :reverb, mix: 0.5 do with_fx :echo, mix: 0.6 do with_fx :octaver, mix: 0.7 do with_fx :flanger, mix: 0.8 do in_thread do sleep duree_tranche while continuer == true sleep 0.1 + rrand(0, 0.8) use_synth :pluck play (scale :d4, :major_pentatonic, num_octaves: 3).choose, amp: 0.2, pan: rrand(-0.15, 0.15) end end end end end end with_fx :reverb, mix: 0.5, room: 0.45 do with_fx :echo, decay: 4.5, mix: 0.5, decay_slide: 2 do |echooo| with_fx :bitcrusher, bits: 6, mix: 0.5, bits_slide: 1, mix_slide: 2 do |bitc| with_fx :whammy, mix: 0.4, mix_slide: 0.8 do |wham| in_thread do sleep duree_tranche * 2 use_synth :chiplead c = play "D3", attack: duree_intro, sustain: duree_morceau - duree_tranche * 2, release: duree_outro, amp: 0.02, amp_slide: 0.3, note_slide: 0.7 while continuer == true sleep 5 + rrand(0, 1.1) control c, note: (scale :d3, :major_pentatonic, num_octaves: 1).choose control c, amp: range(0.02, 0.1, 0.01).mirror.tick control echooo, decay: rrand(0,5) control bitc, bits: rrand_i(5,8) control bitc, mix: rrand(0.4, 0.6) control wham, mix: rrand(0.3, 0.5) end end end end end end with_fx :reverb, mix: 0.5 do with_fx :echo, mix: 0.6 do with_fx :octaver, mix: 0.7 do with_fx :flanger, mix: 0.8 do in_thread do sleep duree_tranche * 3 while continuer == true sleep 0.12 + rrand(0, 0.85) use_synth :pluck play (scale :e5, :major_pentatonic, num_octaves: 3).choose, amp: 0.2, pan: rrand(-0.2, 0.2) end end end end end end with_fx :reverb, mix: 0.5, room: 0.45, mix_slide: 3.1 do |revb| with_fx :echo, decay: 4.5, mix: 0.5 do |echooo| in_thread do sleep duree_tranche * 4 use_synth :growl c = play "F4", attack: duree_intro, sustain: duree_morceau - duree_tranche * 4, release: duree_outro, amp: 0.02, amp_slide: 0.3, note_slide: 0.9 while continuer == true sleep 4 + rrand(0, 0.6) control c, note: (scale :f1, :major_pentatonic, num_octaves: 1).choose control c, amp: range(0.02, 0.15, 0.02).mirror.tick control echooo, decay: rrand(0,5) control revb, mix: rrand(0.4, 0.6) end end end end with_fx :flanger, mix: 0.8 do in_thread do sleep duree_tranche * 5 while continuer == true sleep 0.14 + rrand(0, 0.89) use_synth :pluck play (scale :e6, :major_pentatonic, num_octaves: 3).choose, amp: 0.2, pan: rrand(-0.1, 0.1) end end end with_fx :reverb, mix: 0.5, room: 0.45 do with_fx :echo, decay: 4.5, mix: 0.5 do |echooo| with_fx :flanger, mix: 0.3, mix_slide: 1.2 do |flg| in_thread do sleep duree_tranche * 6 use_synth :hollow c = play "A5", attack: duree_intro, sustain: duree_morceau - duree_tranche * 6, release: duree_outro, amp: 0.01, amp_slide: 0.2, note_slide: 0.85 while continuer == true sleep 3 + rrand(0, 0.6) control c, note: (scale :a4, :major_pentatonic, num_octaves: 1).choose control c, amp: range(0.01, 0.07, 0.01).mirror.tick control echooo, decay: rrand(0,5) control flg, mix: rrand(0.25, 0.45) end end end end end in_thread do use_synth :dull_bell with_fx :echo, decay: 6 do while beat < duree_tranche * (nb_tranches - 1) sleep duree_tranche + rrand(0.3, 0.9) play "E3", amp: 0.17 end end end
6.
Sonic Pi source code (without personal random seed) ------------------------------ set_mixer_control! hpf: 25 set_mixer_control! amp: 0.8 duree_intro = 3 duree_corps = duree_intro * 20 duree_outro = duree_intro * 4 duree_totale = duree_intro + duree_corps + duree_outro print "durée totale: ", duree_totale / 60, " mn et", duree_totale % 60, " s" continuer = true in_thread do while continuer == true sleep 1 if beat > duree_intro + duree_corps continuer = false print "fin du morceau !" end end end define :cacophonie do volume_cacophonie = 0.12 6.times do play rrand(30, 45), amp: volume_cacophonie sleep rrand(0.1, 0.6) end end define :melodie do volume_melodie = 0.08 play "a3", amp: volume_melodie sleep 0.25 play "a3", amp: volume_melodie sleep 0.25 play "e3", amp: volume_melodie sleep 0.25 play "e3", amp: volume_melodie sleep 0.5 play "f3", amp: volume_melodie sleep 0.25 play "c3", amp: volume_melodie sleep 0.5 play "a3", amp: volume_melodie sleep 0.25 play "a3", amp: volume_melodie sleep 0.25 play "e3", amp: volume_melodie sleep 0.25 play "e3", amp: volume_melodie sleep 0.5 play "f3", amp: volume_melodie sleep 0.125 play "f3", amp: volume_melodie sleep 0.125 play "c3", amp: volume_melodie sleep 0.5 end define :melange do in_thread do 4.times do harmonie end end melodie end define :cacophonie_multipliee do |n| n.times do cacophonie end end define :harmonie_variable do |base, repetitions, silence| volume_harmonie = 0.05 note_support = base repetitions.times do play note_support, attack: 0.8, sustain: 1.4, release: 0.8, amp: volume_harmonie play note_support + 2, attack: 0.8, sustain: 1.4, release: 0.8, amp: volume_harmonie play note_support + 4, attack: 0.8, sustain: 1.4, release: 0.8, amp: volume_harmonie sleep 3 sleep silence end end with_fx :reverb, room: 0.55, mix: 0.75 do in_thread do use_synth :dark_ambience with_fx :slicer, phase: 0.12, probability: 0.3 do play 30, attack: duree_intro, sustain: duree_corps, release: duree_outro, amp: 0.35 end with_fx :octaver do with_fx :bitcrusher do play 43, attack: duree_intro, sustain: duree_corps, release: duree_outro, amp: 0.3 end end with_fx :flanger do play 56, attack: duree_intro, sustain: duree_corps, release: duree_outro, amp: 0.35 end end end use_synth :prophet with_fx :flanger do in_thread do i = 1 while continuer == true sleep duree_intro + rrand_i(0,3) melodie sleep 0.2 cacophonie_multipliee i i = i + 1 end end end with_fx :reverb do in_thread do j = 30 while continuer == true sleep rrand_i(1,3) harmonie_variable j, 4, 1.25 j = j + 2 end end end
7.
Sonic Pi source code (without personal random seed) ------------------------------ set_mixer_control! hpf: 25 set_mixer_control! amp: 0.8 duree_intro = 7 duree_corps = duree_intro * 20 duree_outro = duree_intro duree_totale = duree_intro + duree_corps + duree_outro print "durée totale: ", duree_totale / 60, " mn et", duree_totale % 60, " s" continuer = true in_thread do while continuer == true sleep 1 if beat > duree_intro + duree_corps continuer = false print "fin du morceau !" end end end with_fx :reverb, room: 0.4, mix: 0.8 do with_fx :krush do in_thread do use_synth :hollow bourdon = play 59, attack: duree_intro, sustain: duree_corps, release: duree_outro, amp: 0.02 end end end # metronomes personnalisés in_thread do while continuer == true cue :tempo_base sleep 4 end end in_thread do while continuer == true sleep 2 cue :tempo_decale sleep 2 end end in_thread do while continuer == true cue :tempo_melange sleep 2 + rrand_i(0,2) end end in_thread do while continuer == true cue :chaos sleep 5.4 + rrand(0,6) end end # sons déclenchés par les métronomes # synthétiseur use_synth :chiplead # ce choix va être utilisé par les in_thread qui suivent in_thread do loop do sync :tempo_base print "jeu sur tempo base" play 20, amp: 0.1 sample :ambi_drone, beat_stretch: rrand(0.1, 1.9), amp: 0.25 sample :ambi_lunar_land, beat_stretch: rrand(0.1, 1.9), amp: rrand(0,0.15) end end in_thread do loop do sync :tempo_decale print "jeu sur tempo décalé" play 22, amp: 0.1 sample :ambi_haunted_hum, beat_stretch: rrand(0.1, 1.9), amp: 0.25 sample :ambi_choir, beat_stretch: rrand(0.1, 1.9), amp: rrand(0,0.15) end end in_thread do loop do sync :tempo_melange print "jeu sur tempo mélangé" play 24, amp: 0.1 sample :glitch_perc1, beat_stretch: rrand(0.1, 1.9), amp: 0.18 sample :glitch_perc2, beat_stretch: rrand(0.1, 1.9), amp: rrand(0,0.2) end end in_thread do loop do sync :chaos print "jeu sur tempo chaotique" play 26, amp: 0.1 sample :loop_electric, beat_stretch: rrand(0.1, 7), amp: 0.1, attack: 2 sample :loop_drone_g_97, beat_stretch: rrand(0.1, 7), amp: 0.1, attack: 2 sample :bass_thick_c, beat_stretch: rrand(0.1, 7), amp: 0.1, attack: 2 sample :bass_voxy_c, beat_stretch: rrand(0.1, 7), amp: rrand(0,0.05), attack: 2 end end
8.
Sonic Pi source code (without personal random seed) ------------------------------ set_mixer_control! hpf: 25 set_mixer_control! amp: 0.8 duree_intro = 13 duree_tranche = duree_intro * 3 duree_acte = duree_tranche * 3 duree_morceau = duree_acte * 3 duree_outro = duree_intro * 2 duree_totale = duree_intro + duree_morceau + duree_outro print "durée totale: ", duree_totale / 60, " mn et", duree_totale % 60, " s" bass_cutoff = 35 continuer = true in_thread do while continuer == true sleep 1 if beat > duree_intro + duree_morceau continuer = false print "fin du morceau !" end end end with_fx :reverb, room: 0.4, mix: 0.5 do with_fx :whammy, mix: 0.2 do in_thread do duree_samples = 29 with_fx :flanger, mix: 0.7 do sample :loop_compus, rate: -1, beat_stretch: duree_samples, amp: 0.3, attack: duree_intro sample :loop_compus, beat_stretch: duree_samples, amp: 0.34, attack: duree_intro end with_fx :reverb, room: 0.6, mix: 0.6 do sample :loop_garzul, rate: -1, beat_stretch: duree_samples, amp: 0.2, attack: duree_intro sample :loop_garzul, beat_stretch: duree_samples, amp: 0.24, attack: duree_intro end with_fx :panslicer, mix: 0.8 do sample :loop_tabla, rate: -1, beat_stretch: duree_samples, amp: 0.1, attack: duree_intro sample :loop_tabla, beat_stretch: duree_samples, amp: 0.14, attack: duree_intro end sleep duree_samples while continuer == true duree_samples = rrand_i(31,42) with_fx :flanger, mix: 0.7 do sample :loop_compus, rate: -1, beat_stretch: duree_samples, amp: 0.3 sample :loop_compus, beat_stretch: duree_samples, amp: 0.34 end with_fx :reverb, room: 0.6, mix: 0.6 do sample :loop_garzul, rate: -1, beat_stretch: duree_samples, amp: 0.2 sample :loop_garzul, beat_stretch: duree_samples, amp: 0.24 end with_fx :panslicer, mix: 0.8 do sample :loop_tabla, rate: -1, beat_stretch: duree_samples, amp: 0.1 sample :loop_tabla, beat_stretch: duree_samples, amp: 0.14 end sleep duree_samples end duree_samples = duree_intro * 2 with_fx :flanger, mix: 0.7 do sample :loop_compus, rate: -1, beat_stretch: duree_samples, amp: 0.3, release: duree_samples sample :loop_compus, beat_stretch: duree_samples, amp: 0.34, release: duree_samples end with_fx :reverb, room: 0.6, mix: 0.6 do sample :loop_garzul, rate: -1, beat_stretch: duree_samples, amp: 0.2, release: duree_samples sample :loop_garzul, beat_stretch: duree_samples, amp: 0.24, release: duree_samples end with_fx :panslicer, mix: 0.8 do sample :loop_tabla, rate: -1, beat_stretch: duree_samples, amp: 0.1, release: duree_samples sample :loop_tabla, beat_stretch: duree_samples, amp: 0.14, release: duree_samples end sleep duree_samples end end end with_fx :reverb, room: 0.4, mix: 0.4 do with_fx :wobble, mix: 0.2 do in_thread do sleep duree_intro while continuer == true sleep rrand(1, 12) with_fx :reverb, mix: 0.8 do sample :glitch_bass_g, rate: [-1, 1].choose, beat_stretch: rrand(2,10), amp: 0.4 sleep rrand(0.5, 8) sample :glitch_perc4, rate: [-1, 1].choose, beat_stretch: rrand(2,10), amp: 0.4 sleep rrand(0.5, 8) sample :glitch_perc2, rate: [-1, 1].choose, beat_stretch: rrand(2,10), amp: 0.4 end sleep rrand(1, 12) end end end end with_fx :reverb, room: 0.55, mix: 0.55 do with_fx :tremolo, mix: 0.4 do in_thread do sleep duree_intro * 3 while continuer == true sleep rrand(2, 17) with_fx :reverb, mix: 1 do sample :bd_haus, rate: [-1, 1].choose, beat_stretch: rrand(0.1,1), amp: 0.45 sleep rrand(0.5, 8) sample :bd_ada, rate: [-1, 1].choose, beat_stretch: rrand(0.1,1), amp: 0.45 sleep rrand(0.5, 8) sample :bd_pure, rate: [-1, 1].choose, beat_stretch: rrand(0.1,1), amp: 0.45 end sleep rrand(2, 17) end end end end with_fx :reverb, room: 0.6, mix: 0.44 do with_fx :octaver, mix: 0.2 do in_thread do sleep duree_intro * 6 while continuer == true sleep rrand(3, 19) with_fx :reverb, mix: 0.8 do sample :bass_hard_c, rate: [-1, 1].choose, beat_stretch: rrand(0.1,3), amp: 0.12 sleep rrand(0.5, 8) sample :bass_drop_c, rate: [-1, 1].choose, beat_stretch: rrand(0.1,3), amp: 0.12 sleep rrand(0.5, 8) sample :bass_voxy_c, rate: [-1, 1].choose, beat_stretch: rrand(0.1,3), amp: 0.12 end sleep rrand(3, 19) end end end end with_fx :reverb, room: 0.65, mix: 0.54 do with_fx :octaver, mix: 0.3 do in_thread do sleep duree_intro * 12 while continuer == true sleep rrand(2, 19) with_fx :reverb, mix: 0.8 do sample :drum_tom_mid_soft, rate: [-1, 1].choose, beat_stretch: rrand(1.1,4), amp: 0.22 sleep rrand(0.5, 8) sample :drum_cymbal_soft, rate: [-1, 1].choose, beat_stretch: rrand(1.1,4), amp: 0.22 sleep rrand(0.5, 8) sample :drum_cymbal_pedal, rate: [-1, 1].choose, beat_stretch: rrand(1.1,4), amp: 0.22 end sleep rrand(2, 19) end end end end
9.
Sonic Pi source code (without personal random seed) ------------------------------ set_mixer_control! hpf: 25 set_mixer_control! amp: 0.8 duree_morceau = 145 print "durée : ", duree_morceau / 60, " mn et", duree_morceau % 60, " s" continuer = true in_thread do while continuer == true sleep 1 if beat > duree_morceau continuer = false print "fin du morceau !" end end end define :sample_cut do |sample_name, duration_max, rate_inversion, smooth, base_amp, sleep_after| # Paramètres : # nom du sample # duree max du sample # inversion, 0=jamais, 1=oui, une fois sur deux, 100=oui, toujours # arrondir les attack et release (duree) # volume de base # finir avec un sleep de la même durée que le son load_sample sample_name duree = 0 if duration_max == 0 duree = sample_duration sample_name else duree = rrand(0,duration_max) end start_point = rrand(0, 0.49) finish_point = rrand(0.51, 1) first_half_duration = 0.5 - start_point second_half_duration = finish_point - 0.5 total_duration_percentage = first_half_duration + second_half_duration total_duration = total_duration_percentage * duree current_rate = 1 if rate_inversion == 100 current_rate = -1 elsif rate_inversion = 1 current_rate = [-1,1].choose end current_amp = base_amp if (base_amp > 0.1 and base_amp < 0.9) current_amp = rrand(base_amp - 0.1, base_amp + 0.1) end sample sample_name, beat_stretch: duree, start: start_point, finish: finish_point, attack: smooth, release: smooth, rate: current_rate, amp: rrand(0.4, 0.6) if sleep_after == 1 sleep total_duration end end in_thread do while continuer == true samples_ring = sample_names :ambi current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end in_thread do while continuer == true samples_ring = sample_names :bass current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end in_thread do while continuer == true samples_ring = sample_names :bd current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end in_thread do while continuer == true samples_ring = sample_names :drum current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end in_thread do sleep rrand(3, 6) while continuer == true samples_ring = sample_names :elec current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.55, 1 sleep rrand(0,3) end end in_thread do sleep rrand(3, 6) while continuer == true samples_ring = sample_names :glitch current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end in_thread do sleep rrand(3, 6) while continuer == true samples_ring = sample_names :guit current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end in_thread do sleep rrand(7, 11) while continuer == true samples_ring = sample_names :loop current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.35, 1 sleep rrand(0,3) end end in_thread do sleep rrand(7, 11) while continuer == true samples_ring = sample_names :mehackit current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end in_thread do sleep rrand(7, 11) while continuer == true samples_ring = sample_names :misc current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.6, 1 sleep rrand(0,3) end end in_thread do sleep rrand(12, 16) while continuer == true samples_ring = sample_names :perc current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.55, 1 sleep rrand(0,3) end end in_thread do sleep rrand(12, 16) while continuer == true samples_ring = sample_names :sn current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end in_thread do sleep rrand(12, 16) while continuer == true samples_ring = sample_names :tabla current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end in_thread do sleep rrand(17,18) while continuer == true samples_ring = sample_names :vinyl current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end
10.
Sonic Pi source code (without personal random seed) ------------------------------ set_mixer_control! hpf: 35 set_mixer_control! amp: 0.8 duree_intro = 3.4 duree_tranche = 7.2 nb_tranches = 28 duree_morceau = duree_tranche * nb_tranches duree_outro = 6.8 continuer = true in_thread do while continuer == true sleep 1 if beat > duree_intro + duree_morceau continuer = false print "fin du morceau !" end end end with_fx :reverb, room: 0.4, mix: 0.45 do with_fx :echo, decay: 3.2, mix: 0.5 do with_fx :octaver, mix: 0.5 do with_fx :flanger, mix: 0.45 do in_thread do while continuer == true sleep 3.1 + rrand(0, 1.45) sample :tabla_ghe4, amp: 0.22, rate: [1,-1,-1].choose, beat_stretch: rrand(0.2, 2.8), pan: rrand(-0.07, 0.07) end end end end end end with_fx :reverb, room: 0.4, mix: 0.4 do with_fx :echo, decay: 2.1, mix: 0.5 do with_fx :octaver, mix: 0.4 do with_fx :flanger, mix: 0.25 do in_thread do while continuer == true sleep 4.1 + rrand(0, 2.65) sample :tabla_tun2, amp: 0.22, rate: [1,-1,-1].choose, beat_stretch: rrand(1.2, 9.8), pan: rrand(-0.07, 0.07) end end end end end end in_thread do sleep duree_intro with_fx :echo, decay: 1.6, mix: 0.45 do while beat < duree_tranche * (nb_tranches - 1) sample :tabla_ke1, amp: 0.6, rate: [1,-1,-1].choose, beat_stretch: rrand(0.01, 2.1) sleep rrand(0.1, 3.1) sample :tabla_ke2, amp: 0.6, rate: [1,-1,-1].choose, beat_stretch: rrand(0.01, 2.1) sleep rrand(0.1, 3.1) sample :tabla_ke3, amp: 0.6, rate: [1,-1,-1].choose, beat_stretch: rrand(0.01, 2.1) sleep rrand(0.1, 3.1) end end end in_thread do sleep duree_intro * 2 with_fx :echo, decay: 1.9, mix: 0.45 do while beat < duree_tranche * (nb_tranches - 1) sample :tabla_te_m, amp: 0.35, rate: [1,-1,-1].choose, beat_stretch: rrand(0.01, 8.1) sleep rrand(1.1, 9.2) sample :tabla_te_ne, amp: 0.35, rate: [1,-1,-1].choose, beat_stretch: rrand(0.01, 8.1) sleep rrand(1.1, 9.2) sample :tabla_tas1, amp: 0.35, rate: [1,-1,-1].choose, beat_stretch: rrand(0.01, 8.1) sleep rrand(1.1, 9.2) end end end in_thread do sleep duree_intro * 3 with_fx :echo, decay: 1.3, mix: 0.5 do while beat < duree_tranche * (nb_tranches - 1) sample :tabla_ghe6, amp: 0.3, rate: [1,-1,-1].choose, beat_stretch: rrand(0.02, 7.1) sleep rrand(2.1, 11.2) sample :tabla_ghe7, amp: 0.3, rate: [1,-1,-1].choose, beat_stretch: rrand(0.02, 7.1) sleep rrand(2.1, 11.2) sample :tabla_ghe3, amp: 0.3, rate: [1,-1,-1].choose, beat_stretch: rrand(0.02, 7.1) sleep rrand(2.1, 11.2) end end end with_fx :reverb, room: 0.4, mix: 0.45 do with_fx :echo, decay: 1.4, mix: 0.5 do with_fx :octaver, mix: 0.5 do with_fx :flanger, mix: 0.45 do in_thread do sleep duree_tranche * 4 while continuer == true sleep 4.1 + rrand(0, 2.9) sample :tabla_na, attack: rrand(0.4, 1.2), amp: 0.28, rate: [1,-1].choose, beat_stretch: rrand(1.1, 8.9) end end end end end end with_fx :reverb, room: 0.4, mix: 0.45 do with_fx :echo, decay: 2.2, mix: 0.45 do with_fx :octaver, mix: 0.6 do with_fx :flanger, mix: 0.45 do in_thread do sleep duree_tranche * 7 while continuer == true sleep 3.12 + rrand(0, 2.65) sample :tabla_tas2, amp: 0.25, rate: [1,-1].choose, beat_stretch: rrand(2.2, 8), pan: rrand(-0.11, 0.11) end end end end end end with_fx :flanger, mix: 0.75 do in_thread do sleep duree_tranche * 10 while continuer == true sleep 4.14 + rrand(0, 2.7) sample :tabla_ghe3, amp: 0.19, rate: [1,-1,-1].choose, beat_stretch: rrand(0.2, 6.5) end end end with_fx :octaver, mix: 0.75 do in_thread do sleep duree_tranche * 14 while continuer == true sleep 5.34 + rrand(0, 1.75) sample :tabla_dhec, amp: 0.25, rate: [1,-1].choose, beat_stretch: rrand(1.2, 8.4), pan: rrand(-0.08, 0.08) end end end in_thread do sleep 3.2 with_fx :echo, decay: 5.6, mix: 0.45 do while beat < duree_tranche * (nb_tranches - 1) sample :tabla_tun3, amp: 0.23, rate: [1,-1].choose, beat_stretch: rrand(3.2, 12.4) sleep duree_tranche + rrand(1.3, 2.9) end end end
11.
Sonic Pi source code (without personal random seed) ------------------------------ set_mixer_control! hpf: 25 set_mixer_control! amp: 0.8 duree_morceau = 185 print "durée : ", duree_morceau / 60, " mn et", duree_morceau % 60, " s" longueur_max_samples = 12 continuer = true in_thread do while continuer == true sleep 1 if beat > duree_morceau continuer = false print "fin du morceau !" end end end define :sample_cut do |sample_name, duration_max, rate_inversion, smooth, base_amp, sleep_after| # Paramètres : # nom du sample # duree max du sample # inversion, 0=jamais, 1=oui, une fois sur deux, 100=oui, toujours # arrondir les attack et release (duree) # volume de base # finir avec un sleep de la même durée que le son load_sample sample_name duree = 0 if duration_max == 0 duree = sample_duration sample_name else duree = rrand(0,duration_max) end start_point = rrand(0, 0.49) finish_point = rrand(0.51, 1) first_half_duration = 0.5 - start_point second_half_duration = finish_point - 0.5 total_duration_percentage = first_half_duration + second_half_duration total_duration = total_duration_percentage * duree current_rate = 1 if rate_inversion == 100 current_rate = -1 elsif rate_inversion = 1 current_rate = [-1,1].choose end current_amp = base_amp if (base_amp > 0.1 and base_amp < 0.9) current_amp = rrand(base_amp - 0.1, base_amp + 0.1) end sample sample_name, beat_stretch: duree, start: start_point, finish: finish_point, attack: smooth, release: smooth, rate: current_rate, amp: rrand(0.4, 0.6) if sleep_after == 1 sleep total_duration end end with_fx :reverb, room: 0.35, mix: 0.7 do with_fx :distortion, distort: 0.7 do in_thread do while continuer == true samples_ring = sample_names :ambi current_sample = samples_ring.choose print current_sample sample_cut current_sample, 19, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end end with_fx :bitcrusher do in_thread do sleep 3 while continuer == true samples_ring = sample_names :bass current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end end with_fx :flanger do in_thread do sleep 3 while continuer == true samples_ring = sample_names :bd current_sample = samples_ring.choose print current_sample sample_cut current_sample, 6, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end end with_fx :echo, decay: 0.55, mix: 0.8 do in_thread do while continuer == true samples_ring = sample_names :drum current_sample = samples_ring.choose print current_sample sample_cut current_sample, 9, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end end with_fx :octaver, mix: 0.45 do in_thread do sleep rrand(3, 6) while continuer == true samples_ring = sample_names :elec current_sample = samples_ring.choose print current_sample sample_cut current_sample, 11, 1, 0.4, 0.55, 1 sleep rrand(0,3) end end end with_fx :gverb, room: 1.1, mix: 0.25 do in_thread do sleep rrand(3, 6) while continuer == true samples_ring = sample_names :glitch current_sample = samples_ring.choose print current_sample sample_cut current_sample, 8, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end end with_fx :krush, mix: 0.8 do in_thread do sleep rrand(3, 6) while continuer == true samples_ring = sample_names :guit current_sample = samples_ring.choose print current_sample sample_cut current_sample, 7, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end end with_fx :panslicer do in_thread do sleep rrand(7, 11) while continuer == true samples_ring = sample_names :mehackit current_sample = samples_ring.choose print current_sample sample_cut current_sample, 16, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end end with_fx :slicer do in_thread do sleep rrand(7, 11) while continuer == true samples_ring = sample_names :misc current_sample = samples_ring.choose print current_sample sample_cut current_sample, 13, 1, 0.4, 0.6, 1 sleep rrand(0,3) end end end with_fx :ixi_techno do in_thread do sleep rrand(12, 16) while continuer == true samples_ring = sample_names :perc current_sample = samples_ring.choose print current_sample sample_cut current_sample, 9, 1, 0.4, 0.55, 1 sleep rrand(0,3) end end end with_fx :pitch_shift, pitch_dis: 0.2 do in_thread do sleep rrand(12, 16) while continuer == true samples_ring = sample_names :sn current_sample = samples_ring.choose print current_sample sample_cut current_sample, 8, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end end with_fx :whammy, mix: 0.75 do in_thread do sleep rrand(12, 16) while continuer == true samples_ring = sample_names :tabla current_sample = samples_ring.choose print current_sample sample_cut current_sample, 7, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end end with_fx :wobble, mix: 0.75 do in_thread do sleep rrand(17,18) while continuer == true samples_ring = sample_names :vinyl current_sample = samples_ring.choose print current_sample sample_cut current_sample, 15, 1, 0.4, 0.5, 1 sleep rrand(0,3) end end end end

credits

released March 12, 2020

license

tags

about

enkid0 Montpellier, France

Programmer, sound coder, universes writer and other-stuff-er.

--Other music--
Collab with JB Project here:
jbd0.bandcamp.com

Utility music for agile meetings here:
scummaster.bandcamp.com
... more

contact / help

Contact enkid0

Streaming and
Download help

Report this album or account

If you like enkid0, you may also like: