I used my strategy to code some of Clé des Champs.
This is the track
Code:
use_bpm 113 chords = [(chord :Bb, :minor), (chord :F, :major)].ring c = chords[0] # take the first chord of the ring and save it to a variable s=1 live_loop :ambiant do sync :rhythm use_octave -2 use_synth :dtri play_pattern c, sustain: 2,amp: 0.5 sleep 4*s end live_loop :chord_chooser do sync :rhythm 8.times do c = chords.tickchords = [(chord :Bb, :minor), (chord :F, :major)].ring sleep 4*send 4.times dochords= [ (chord :Eb, :minor), (chord :Db, :major), (chord :Ab, :major), (chord :F, :major)].ring c = chords.tick sleep 4*send end sleep 4s live_loop :rhythm do sleep 0.5 sample :drum_cymbal_closed sleep 0.5 cue :rhythm end sleep 32s live_loop :melody do use_synth :dsaw play c.choose,attack: 0.1,sustain: 2, sustain_level: 1, release: 1, cutoff: rrand(60, 120),amp: 0.5 sleep s play c.choose,attack: 0.25,sustain: 2, sustain_level: 1, release: 1, cutoff: rrand(60, 120),amp: 0.5 sleep s play c.choose,amp: 0.5 sleep s play c.choose,attack: 0.1,sustain: 2, sustain_level: 1, release: 1, cutoff: rrand(60, 120),amp: 0.5 sleep s end sleep 16*s live_loop :drums do sync :rhythm sample :bd_tek sleep 0.5 sample :drum_cymbal_closed sleep 0.5 end