Created
May 22, 2023 22:38
-
-
Save emmaly/24947176d2ca02d10593b205cbeabca4 to your computer and use it in GitHub Desktop.
Sonic Pi: Majestic Wakeup Routine, says GPT-4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_bpm 60 | |
use_synth :kalimba | |
define :calm_section do | |
play_pattern_timed [:c4, :e4, :g4, :c5], [0.5, 0.5, 0.5, 1] | |
play_pattern_timed [:c4, :e4, :g4, :b4], [0.5, 0.5, 0.5, 1] | |
play_pattern_timed [:c4, :d4, :g4, :a4], [0.5, 0.5, 0.5, 1] | |
play_pattern_timed [:c4, :d4, :g4, :g4], [0.5, 0.5, 0.5, 1] | |
end | |
define :majestic_section do | |
play_pattern_timed [:c4, :e4, :g4, :c5], [0.25, 0.25, 0.25, 0.5] | |
play_pattern_timed [:c4, :e4, :g4, :b4], [0.25, 0.25, 0.25, 0.5] | |
play_pattern_timed [:c4, :d4, :g4, :a4], [0.25, 0.25, 0.25, 0.5] | |
play_pattern_timed [:c4, :d4, :g4, :g4], [0.25, 0.25, 0.25, 0.5] | |
end | |
define :motivating_section do | |
play_pattern_timed [:c4, :e4, :g4, :c5], [0.125, 0.125, 0.125, 0.25] | |
play_pattern_timed [:c4, :e4, :g4, :b4], [0.125, 0.125, 0.125, 0.25] | |
play_pattern_timed [:c4, :d4, :g4, :a4], [0.125, 0.125, 0.125, 0.25] | |
play_pattern_timed [:c4, :d4, :g4, :g4], [0.125, 0.125, 0.125, 0.25] | |
end | |
live_loop :thing do | |
2.times do | |
calm_section | |
end | |
3.times do | |
majestic_section | |
end | |
6.times do | |
motivating_section | |
end | |
2.times do | |
majestic_section | |
end | |
1.times do | |
motivating_section | |
end | |
1.times do | |
majestic_section | |
end | |
1.times do | |
calm_section | |
end | |
1.times do | |
majestic_section | |
end | |
1.times do | |
motivating_section | |
end | |
1.times do | |
majestic_section | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Made in response to https://dev.to/philipjohnbasile/crafting-songs-with-chatgpt-and-sonic-pi-a-creative-collaboration-4p3d