Skip to content

Instantly share code, notes, and snippets.

@emmaly
Created May 22, 2023 22:38
Show Gist options
  • Save emmaly/24947176d2ca02d10593b205cbeabca4 to your computer and use it in GitHub Desktop.
Save emmaly/24947176d2ca02d10593b205cbeabca4 to your computer and use it in GitHub Desktop.
Sonic Pi: Majestic Wakeup Routine, says GPT-4
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
@emmaly
Copy link
Author

emmaly commented May 22, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment