home - plugins - tutorials - showcase - history - manual - design
sonicpi pluginplugin for Sonic Pi live coding synth for everyone
sonicpi plugin uses the Ruby class
SonicPi::OSC::UDPClient to communicate with the Sonic Pi
UDP server
example (playing Sonic Pi bass drum sample)
#!sonicpi
live_loop :bd do
cue :bd
sample :bd_haus, rate: 1
sleep 0.5
end
live_loop :bd2 do
sync :bd
3.times do
sample :bd_haus, rate: 1
sleep 0.25
end
sleep 0.25
sleep 6.5
end
sonicpi plugin provides some lua functions for common
cases such as sopping all the Sonic Pi sounds, it must be executed under
a #!dublang region
example (stopping all the sound)
#!dublang
sonicpi():stop()
stop() - stop all Sonic Pi soundshome - plugins - tutorials - showcase - history - manual - design