Woke up this mornin, with the SP Blues

Said I Woke up this mornin, with the SP Blues…

Man… I’m so far down, I’m lookin up to see my shoes…

Eli…

#Eli...

use_bpm 90

piano_tune=[:bb3,:eb4,:bb3,:bb3,:eb4,:e4,:bb3,:g4,:c4,:f4,:d4,:f4]
type=['7','7','7','7','7','diminished7','7','m7','7','7','m7','7']


define :snare do
  at [0, 1, 2, 3],
  [{:amp=>0.3}, {:amp=> 1}, {:amp=>0.5}] do |p|
    sample :drum_cymbal_pedal, p
  end
end

live_loop :piano do
  for i in (range 0,12)
    use_synth :piano
    play piano_tune[i]-12,cutoff: 80,release: 1.5, amp: 0.5
    4.times do
      use_synth :piano
      play (chord piano_tune[i],type[i],release: 3.5), amp: 0.25
      sleep 1
    end
  end
end

live_loop :blues do
  use_bpm 120
  use_synth :pluck
  reps=[2,4,4,4,6].choose
  
  reps.times do
    dur=[1,2,4].choose
    this_note = [58, 61, 63, :r].choose
    play this_note,release: dur
    play this_note+[12,0,-12].choose, release: dur * 0.5 # if one_in(3)
    sleep dur
  end
end

live_loop :drum do
  sample :bd_ada, rate: 0.75, amp: 1.5
  sample :bd_ada, rate: 0.75, amp: 0.5 if one_in(3)
  sleep [7,1,8].ring.tick
end

live_loop :do_drum1 do
  sync :drum
  snare
  sleep 1
end
2 Likes

That was really blue. Liked it a lot!

This is a ‘taster’ / ‘tester’… it just gives me an idea of the sounds
the guitar can make… I bolted on some set/get code, which puts
the last 16 notes/durations/offsets into an array then puts them
in the log window…

If I get any nice licks, I can just copy them into strings in another
buffer, ready for use in an actual song…

Got to love SP. :slight_smile:
Eli…