SP’s ‘piano’ synth is actually quite versatile, if you use the
vel: and hard: options.
This is not my code, but I’ve ‘twiddled’ it a bit to show
what I mean…
use_bpm 90
live_loop :intro do
# harmonisation de i-iV-V-i-N-V7-i en do mineur
use_synth :piano
x = rrand_i(1, 10)
force = rand(0.25..0.4)
fade = rand(1..2)
vel = rand(0.25..0.4)
if x > 3
play [:C2, :Ef3,:C4] ,decay:2 ,hard:force # i
sleep 2
else
play [:Af2, :Ef3, :Af3,:C4] ,vel: vel, decay:fade ,hard:force#VI substitution
sleep 2
end
play [:F2, :F3, :Af3,:C4] ,vel: vel, decay:fade ,hard:force# iv
sleep 2
play [:G2, :D3, :G3,:B3] ,vel: vel, decay:fade ,hard:force# V
sleep 2
if x > 5
play [:C3, :Ef3, :G3,:C4] ,vel: vel/2, decay:fade ,hard:force # i
sleep 2
else
play [:C3, :Ef3, :Af3,:C4] ,vel: vel/2, decay:fade ,hard:force # VI substitution
sleep 2
end
play [:F2, :F3, :Af3,:Df4] ,vel: vel, decay:fade # N sixte napolitaine
sleep 2
if x > 4
play [:G2, :F3, :B3,:D4] ,vel: vel, decay:fade # V7
sleep 2
else
play [:Af2, :F3, :B3,:Df4] ,vel: vel, decay:fade # Substitution par Triton Db7
sleep 2
end
play [:C2, :G3,:C4] ,vel: vel, decay:4 # i
sleep 4
end
Eli…