Skip to content

Instantly share code, notes, and snippets.

@r618
Created November 12, 2015 09:39
Show Gist options
  • Save r618/128b8d2b380f3485d4c0 to your computer and use it in GitHub Desktop.
Save r618/128b8d2b380f3485d4c0 to your computer and use it in GitHub Desktop.
#SonicPi #Unity3d OSC reaktion test
# SonicPi <-> Unity OSC test
# https://www.youtube.com/watch?v=7hYmcYg4WEY
notes = (ring :E4, :Fs4, :B4, :Cs5, :D5, :Fs4, :E4, :Cs5, :B4, :Fs4, :D5, :Cs5 )
live_loop :slow do
#stop
#sync :moon_bass
use_synth :beep
with_fx :reverb, room: 1 do
play notes.tick, release: 0.125
play notes.look - 12, release: 0.125
reaktion :Heart, 1
#reaktion :Hyperspace, 1
end
sleep [0.5, 1, 2,4].ring.look
end
live_loop :moon_bass do
16.times do
sample :bd_haus, amp: 1.5, cutoff: 60
#reaktion :Spray, 1
#reaktion :Dust, 1
#reaktion :Shards, 1
reaktion :Environment, 1
sleep 1
end
end
live_loop :Background do
sync :slow
reaktion "Furball Loudness", 1
end
sample :ambi_swoosh
live_loop :flibble do
#sample :ambi_swoosh, rate: 0.3
with_fx :ixi_techno do
#sample :bd_haus, rate: 0.15
end
reaktion :Hyperspace, 1
sleep 0.4
end
live_loop :boom do
#sync :flibble
with_fx :reverb, room: 1 do
sample :bd_boom, amp: 10, rate: 1
end
reaktion "Digital Glitch", 1
sleep 8
end
live_loop :eff2 do
reaktion :Dust, 1
sleep 0.2
end
#Analog Glitch Kicker 1
#Analog Glitch Kicker 2
#Analog Glitch Kicker 3
#Analog Glitch Kicker 4
#Analog Glitch Noise
#Asteroids
#Back Wall
#Binary
#Bloom
#Camera Pitch
#Camera Root
#Camera Shaker
#Camera Slide
#Contour
#Cracker
#Digital Glitch
#Dust
#Environment
#Furball
#Furball Frequency
#Furball Loudness
#Furball Speed
#Ground Wall
#Ground Wall Move
#Ground Wall Rot
#Heart
#Hyperspace
#Main Camera
#Shards
#Shell
#Shell Alpha
#Shell Beta
#Shell Cutoff
#Shell Loudness
#Speed Controller
#Spray
#Squamata
#Stones
#Stream
#Terrain
#Terrain Color
#Terrain Cutoff
#Timescale
#Tunnel
#Tunnel Color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment