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
#Meditation bubble for Raspberry Pi Pico | |
#Created by @dalekmad, July 2021 | |
#importing the picodisplay | |
import picodisplay as display | |
import utime | |
# Get the width of the display, in pixels | |
width = display.get_width() | |
# Get the height of the display, in pixels |
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_synth :piano | |
live_loop :p do | |
use_random_seed 80 | |
y = (scale :f5, :augmented ).shuffle | |
x = (scale :g5, :chinese).shuffle | |
6.times do | |
play y.tick, release: 0.125, cutoff: 70, res: 0.5, wave: 1 | |
sleep 0.25 | |
end | |
6.times do |
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
live_loop :three do | |
sample :ambi_choir , pan: 0.6, rate: 1, room: 1 , wobble: 6 , amp: 0.20 | |
sleep 0.55 | |
end | |
live_loop :for do | |
sample :ambi_dark_woosh, room: 1 , phase: 0.60 | |
sleep 0.60 | |
end |
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
#SciFi Hospital | |
#@dalekmad | |
live_loop :first do | |
sample :ambi_lunar_land , amp: 0.40 | |
sleep 2 | |
end | |
live_loop :new do | |
sample :ambi_piano , amp: 5 |