Synths

Samples

Randomization

Loops

Programming Structures

FX

Data Structures

Live Coding

play 72

sleep 05

play 75

sleep 05

play 79

play e

sleep 0.5

play d

sleep 0.5

play c

play :C3, pan: -1

play :C5, pan: -1

play 50, amp: 0.1

sleep 0.25

play 55, amp: 0.2

sleep 0.25

play 57, amp: 0.4

sleep 0.25

play 62, amp: 1

use_synth: tb303

play 38

sleep 0.5

use_synth: dsaw

play 50

sleep 0.5

use_synth: prophet

play 57

        sample :ambi_drone, rate: 05

        sample :ambi_drone

sample: ambi_lunar_land

        sample :ambi_dark_woosh, rate: -1, start: 0.5, start: 0.75

        sample :ambi_dark_woosh, rate: -1, attack: 0.75

        sleep 2

        sample :ambi_dark_woosh, rate: 1, attack: 0.75

        loop do

  sample :perc_bell, rate: (rand 0.125, 1.5)

  sleep rand_i(0.2, 2)

end

        loop do

  play choose[:E, :E, :B, :B, :A, :C]

  sleep choose[0.25, 0.5, 1, 2, 4]

end

        loop do

  sample :perc_bell, rate: (rand 0.125, 1.5)

  sleep rand_i(0.2, 2)

end

        4.times do

  play (chord :e, :minor)

  sleep 2

loop do

  if one_in(2)

    sample :drum_heavy_kick

  else

    sample :drum_cymbal_closed

  end

  sleep 0.5

end

4.times do

    sample :drum_heavy_kick

    end

4.times do

    sample :drum_cymbal_closed, amp: 0.25

    sleep 0.125

  end

  sample :elec_snare

4.times do

    sample :drum_cymbal_closed, amp: 0.25

    sleep 0.125

  end

        loop do

  play :E4

  sleep 0.5

  play :D4

  sleep 0.5

  play :C4

  sleep 1

end

# All of the code below works the way it is supposed to

4.times do

  play :C4

  sleep 0.25

end

4.times do

  play :D4

  sleep 0.25

end

play :E4

sleep 0.5

play :D4

sleep 0.5

play :C4

sleep 1

        loop do

  sample :drum_heavy_kick

  sleep 0.5

end

loop do

  sleep 0.5

  sample :drum_snare_hard

  sleep 0.5

end

        loop do

  sample :drum_heavy_kick

  4.times do

    if (4)

      sample :drum_cymbal_open, amp: 0.45, finish: 0.05

    else

      sample :drum_cymbal_closed, amp: 0.25

    end

    sleep 0.125

  end

  sample :elec_snare

  4.times do

    if (4)

      sample :drum_cymbal_open, amp: 0.45, finish: 0.05

    else

      sample :drum_cymbal_closed, amp: 0.25

    end

    sleep 0.125

  end

end

loop do

  if one in (2)

    sample :drum_cymbal_closed

  end

  sleep 0.125

End

loop do

  sample :drum_cymbal_closed unless one_in(10)

  sleep 0.125

end

        define :buns do

  play :E

  sleep 1

  play :D

  sleep 1

  play :C

  sleep 2

end

        # What am I missing right here?

for n in 40...100 do

    play 50

    sleep 0.0125

  end

with_fx :echo do

  for n in 40...100 do

      play n, release: 0.1

      sleep 0.0125

    end

with_fx :slicer and :echo do

  for n in 40...100 do

      play n, release: 0.1

      sleep 0.0125

    end

  End

loop do

  with_fx :ixi_techno, reps: 16 do

    play :A, release: 0.1

    sleep 0.125

  end

  with_fx :wobble do

    play :G, release: 0.1

    sleep 0.125

  end

  with_fx :panslicer do

    play :F, release: 0.1

    sleep 0.125

  end

  with_fx :bitcrusher do

    play :G, release: 0.1

    sleep 0.125

  end

end

                play [:A :C :E]

play chord(:E3, :m13), [0.25, 0.5]

use_synth :subpulse

loop do

  play chord(:E3, :minor), release: 0.3, cutoff: rrand(60, 120), amp: 2

  sleep 0.25

end

        loop do

  play 65

  sleep 0.5

end

        live_loop :sound do

  sample :drum_cowbell, amp: 0.4

  sleep 0.5

end

live_loop :sound do

  sleep 1

  sample :drum_snare_soft, amp: 2

end