Вы находитесь на странице: 1из 7

#VARIABLES#

a = 67

b = 84

s1 = :mg_whoos

s2 = :elec_blip

slp = 5

#FUNCIONES#

define :ton1 do |n,z,m|

play n, amp: 0.25

sleep z

play m, amp: 0.25

end

define :ton2 do |r1, r2|

use_synth :hoover

play r1,amp: 0.25

sleep rrand(0.25,0.5)

play r2, amp: 0.25

sleep 0.5

end

#PIEZA#

#INTRO#

in_thread do

42.times do

with_fx :echo, mix: 0.22, phase_slide: 0.25 do |p|

with_fx :reverb, mix: 0.6 do

control p, phase: 1

use_synth :piano

play rrand(60, 100), amp: 0.10


sleep rand

end

end

end

end

in_thread do

sample :mg_canto_miedo, amp: 2

sleep 8

sample :mg_suspenso1, amp: 0.1, pan: -1, sustain: 3, release: 3

sleep 8

with_fx :echo, mix: 0.5, decay: 0.5 do

sample :mg_suspenso2, amp: 1, sustain: 2, release: 2

end

end

sleep 22

with_fx :flanger do

sample :mg_suspenso2, rate: -2, pan: 1, amp: 1

end

sleep 1.5

with_fx :ring_mod, freq: 3, mod_amp: 1 do

sample :drum_cymbal_hard, amp: 2, sustain: 20, release: 6

end

sleep 1

#DESARROLLO#

in_thread do

8.times do

with_fx :flanger, mix: 1, wave: 4 do

ton2 rrand(100,60), rrand(120,90)


end

end

end

in_thread do

sample s1, amp: 5 #VARIABLE#

18.times do

use_synth :dull_bell

play a #VARIABLE#

sleep 0.25

a = a+5

sleep 0.25

end

end

sleep 4

in_thread do

10.times do

play b

sleep 0.25

b= b+1.5

sleep 0.25

end

end

in_thread do

2.times do

sample :guit_em9, amp: 1, pan: -1

sample :guit_harmonics, amp: 8, pan: 1, rate: -2

end

end

sleep slp #VARIABLE#


in_thread do

10.times do

use_synth :fm #SINTE#

play 100, amp: 0.2, attack: 0.5, divisor: 2

sleep 0.5

end

end

sleep slp

in_thread do

4.times do

sample s2, amp: 0.4 #VARIABLE#

sleep 1.5

end

end

in_thread do

4.times do

sample :mg_corazon, amp: 0.4

sleep 2

end

end

in_thread do

with_fx :octaver, mix: 1, super_amp_slide: 0.25 do |z|

control z, super_amp: 1

sample :mg_canto_miedo, rate: -1, pan: -1, amp: 10

sample :mg_canto_miedo, rate: 1, pan: 1, amp: 10

sleep 0.5

10.times do

use_synth :square
play b

sleep 0.21

b= b - 0.5

sleep 0.12

end

end

end

sleep 2

in_thread do

sample :ambi_sauna, attack: 0.5, decay: 0.5, sustain: 2, release: 1

sleep 4

end

sleep 1

42.times do

with_fx :reverb, mix: 0.5 do

with_fx :echo, mix: 0.5 do

use_synth :piano

ton1 rrand(60,80), rrand(0.25,0.5), rrand(100.4, 99.6)

end

end

end

sleep 2

in_thread do

use_synth :mod_dsaw

play note: 78, detune: 1, mod_phase: 0.25, sustain: 3, decay: 1, amp: 0.2 #SINTE#

sleep slp

use_synth :piano

2.times do
ton1 rrand(60,80), rrand(0.25,0.5), rrand(100.4, 99.6)

sleep 1

ton2 rrand(100,60), rrand(120,90)

end

end

sleep 6

in_thread do

use_synth :blade

40.times do

play rrand_i(80, 82.5), vibrato_rate: 12, vibrato_depth: 5, vibrato_delay: 0.5, amp: 0.8

sleep 0.23

end

end

#CODA#

in_thread do

sample :drum_cymbal_hard, rate: -2, amp: 8

sleep 0.5

sample :mg_escopeta, amp: 10

0.3

with_fx :distortion, distort: 0.8, mix: 0.5 do

with_fx :octaver, mix: 1, subsub_amp: 0.5 do

with_fx :echo, mix: 1 do

sample :mg_canto_miedo

end

end

end

end
sleep 24

sample :mg_corazon, amp: 2

Вам также может понравиться