Hi Eli :
Am a bit late on my reply,
but fortunately i had other reply;
and i combined them both :
# Note Durations
w = 4
h = 2
q = 1
e = 0.5
s = 0.25
r = 0.25
use_bpm 100
cue :click
use_debug false
es1 = "C:/Users/gwb70/Documents/My Samples/musicradar samples/167-free-krautrock-samples/100bpm/Beats"
es2 = "C:/Users/gwb70/Documents/My Samples/musicradar samples/167-free-krautrock-samples/100bpm/Synths"
r1 = (ring 2, 3)
live_loop :loop1 do
use_bpm 30
use_sample_defaults beat_stretch: 2, num_slices: 8,
cutoff: 100,release: 0.25
sample es1,1, slice: r1.tick
sleep s
end
live_loop :loop2 do
use_bpm 30
with_fx :slicer,phase: 0.25, wave: 0, mix: 1.0 do
use_sample_defaults rate: 0.5,finish: 0.125,
beat_stretch: 2,amp: 0.5
sample es2,1,rate: 0.5,rpitch:[3,5].ring.tick
sleep q
end
end
# Set Synth Bass
use_synth :fm
use_bpm 120
use_synth_defaults amp: 0.2,pan: -0.2,release: 0.4
use_transpose -12
# Bass Patterns = bpt
bpt1 = (knit, :Cs4, 6, :B3, 1, :Gs3, 1, :Cs4, 6, :E4, 1, :Ds4, 1)
bpt2 = (knit, :Cs4, 6, :B3, 1, :Gs3, 1, :Fs4, 6, :E4, 1, :B3, 1)
live_loop :bass do
bpt1.each do |x|
play x
sleep s
end
bpt2.each do |x|
play x
sleep s
end
end
- Notice that am using an array for a sample too (r1)
So,i tried this same technique for 2 arrays with the same sample;
let’s say (r1,r2) :
# External Sample = es
es1 = "C:/Users/gwb70/Documents/My Samples/musicradar samples/167-free-krautrock-samples/100bpm/Beats"
r1 = (ring 2, 3)
r2 = (ring 2, 4)
use_sample_defaults beat_stretch: 2, num_slices: 8,
cutoff: 100,release: 0.25
live_loop :loop1 do
use_bpm 30
sample es1,1, slice: r1.tick(:r1)
r1.each do |x|
play x
sleep s
end
sample es1,1, slice: r2.tick(:r2)
r2.each do |x|
play x
sleep s
end
But it dind’t work so well with samples,if you know some way to deal with this issue…
Anyway,am already greatiful for your post,it helped me a lot.
Thank you !