Morning Vibe Beat - by ChatGPT
use_bpm 98
use_synth :piano
Chord progression
define :chords do
play chord(:C4, :major)
sleep 1
play chord(:A3, :minor)
sleep 1
play chord(:F4, :major)
sleep 1
play chord(:G3, :major)
sleep 1
end
Drum pattern
define :drums do
sample :bd_haus, amp: 1
sleep 0.5
sample :sn_dolf, amp: 0.6
sleep 0.5
sample :bd_haus, amp: 1
sleep 0.5
sample :sn_dolf, amp: 0.6
sleep 0.5
end
Melody pattern
define :melody do
use_synth :pluck
play_pattern_timed [:E5, :G5, :A5, :G5, :F5, :E5, :D5], [0.5,0.5,0.5,0.5,0.5,0.5,1]
end
Background pad
define :pad_bg do
use_synth :hollow
play :C4, sustain: 4, amp: 0.3
sleep 4
end
Main Loop
live_loop :morning do
in_thread { chords }
in_thread { drums }
in_thread { melody }
in_thread { pad_bg }
sleep 4
end
Welcome + nice + you can post your code in a “Preformatted text” with </> like this
use_bpm 98
use_synth :piano
#Chord progression
define :chords do
play chord(:C4, :major)
sleep 1
play chord(:A3, :minor)
sleep 1
play chord(:F4, :major)
sleep 1
play chord(:G3, :major)
sleep 1
end
#Drum pattern
define :drums do
sample :bd_haus, amp: 1
sleep 0.5
sample :sn_dolf, amp: 0.6
sleep 0.5
sample :bd_haus, amp: 1
sleep 0.5
sample :sn_dolf, amp: 0.6
sleep 0.5
end
#Melody pattern
define :melody do
use_synth :pluck
play_pattern_timed [:E5, :G5, :A5, :G5, :F5, :E5, :D5], [0.5,0.5,0.5,0.5,0.5,0.5,1]
end
#Background pad
define :pad_bg do
use_synth :hollow
play :C4, sustain: 4, amp: 0.3
sleep 4
end
#Main Loop
live_loop :morning do
in_thread { chords }
in_thread { drums }
in_thread { melody }
in_thread { pad_bg }
sleep 4
end
I like it! There’s a music box quality to it.
Welcome to the Sonic Pi community!