I’ve run into a bug, or perhaps I’m coding something in a way the program can’t handle.
When I open up Sonic Pi and run the following code it works fine:
# INITIALIZE MASTER VALUES use_bpm 90 # LOAD IN SAMPLE LIBRARIES mgsMenu = "/Users/sheamkennedy/Desktop/Sonic Pi Files/SPi - Samples/MGS 1/Menu/" #[0-87] riserAmp = 0 # AUTOMATION line_Riser1 = (line 1, 0, inclusive: true, steps: 128) # AMP MOD live_loop :ampMod do riserAmp = 0 sleep 8 riserAmp = 1 sleep 8 riserAmp = 0 sleep 16 end # TICKER live_loop :ticker do puts tick time_warp 16 do sample mgsMenu, 7, amp: riserAmp, attack: line_Riser1.tick, beat_stretch: (ring 0.2, 0.5).look if (spread 16, 16).look end sleep 0.125 end
Upon stopping and pressing run again nothing happens. The program does not appear to be running, nothing happens in the cue window. If I use “reboot” in the form of code nothing happens. If I close Sonic Pi and reopen the code can execute once more (but again, not a second time…)
No errors are displayed either.