Hey there!
The following code is is giving me some trouble…
The first times block represents the number of times the entire riff (is that the right word, riff?) should be repeated in a sequence, and the second times block captures the number of notes that should be played inside said riff… Nothing out of the ordinary, even for a noob like me…
And it works… But only if the “sentence” is played once…
As soon as I increase the number of repeats, the melody is messed up…
I’m guessing it has to do with that rest at the beginning… But it has to be there, because in the track I’m trying to cover, that instrument starts with a slight delay of 1.5 beats after the leading bass, on the start of a new bar… So I can’t just get rid of it…
This must be very basic I’m sure, but I’d appreciate some pointers on how to make this riff loop the way it should, with the slight delay at the beginning…
Cheers!
PS: Also, the cutoff option doesn’t seem to affect certain synths like here… Is this normal?
guit_01_note = (ring :r, 56, 61, 63, 56, 61, 49, 56, 61)
guit_01_rel = (ring 1, 0.75, 0.75, 0.75, 0.75, 1, 1, 1)
guit_01_slp = (ring 1.5, 0.5, 0.5, 0.25, 0.25, 0.5, 0.25, 0.25)
##| ---
define :guit_01 do
##| stop
with_fx :reverb, mix: 0.7, room: 0.5 do
use_synth :chiplead
use_transpose 3
1.times do
9.times do
tick
play guit_01_note.look, release: guit_01_rel.look, amp: 1,
pan: -0.8, cutoff: 75
sleep guit_01_slp.look
end
end
end
end
##| ---
guit_01