Skip to content

Instantly share code, notes, and snippets.

View dalekmad's full-sized avatar
🐣

Vanessa Greene dalekmad

🐣
View GitHub Profile
#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
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
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
#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