weird…
leave it to me to find the super random bug. hah!

ok…
i just booted up the entire system for the day and launched Buoys.
of course it’s now behaving.
the report from maiden looked like this when i started the script:
Summary
script init
lua: /home/we/dust/code/buoys/buoys.lua:1176: attempt to index a nil value (global ‘buoy’)
stack traceback:
/home/we/dust/code/buoys/buoys.lua:1176: in function </home/we/dust/code/buoys/buoys.lua:1173>
lua: /home/we/dust/code/buoys/buoys.lua:1176: attempt to index a nil value (global ‘buoy’)
stack traceback:
/home/we/dust/code/buoys/buoys.lua:1176: in function </home/we/dust/code/buoys/buoys.lua:1173>
lua: /home/we/dust/code/buoys/buoys.lua:1176: attempt to index a nil value (global ‘buoy’)
stack traceback:
/home/we/dust/code/buoys/buoys.lua:1176: in function </home/we/dust/code/buoys/buoys.lua:1173>
lua: /home/we/dust/code/buoys/buoys.lua:1176: attempt to index a nil value (global ‘buoy’)
stack traceback:
/home/we/dust/code/buoys/buoys.lua:1176: in function </home/we/dust/code/buoys/buoys.lua:1173>
lua: /home/we/dust/code/buoys/buoys.lua:1176: attempt to index a nil value (global ‘buoy’)
stack traceback:
/home/we/dust/code/buoys/buoys.lua:1176: in function </home/we/dust/code/buoys/buoys.lua:1173>
lua: /home/we/dust/code/buoys/buoys.lua:1176: attempt to index a nil value (global ‘buoy’)
stack traceback:
/home/we/dust/code/buoys/buoys.lua:1176: in function </home/we/dust/code/buoys/buoys.lua:1173>
but it did crash on me after placing 8 buoys and 11 pilings.
i am using the old 909 default drum folder that is on norns.
also…
the only other adjustments i made were changing the angle of the water.
i sent norns a ;restart from maiden.
started Buoys again and placed 7 buoys and 10 pilings.
seems happy!
it’s running on EXT MIDI clock and reacting to MIDI start and stop as well.
i’m leaving it running for a while.

one more question…
is there a suggested sample length limit?
or does it not make a difference.
some of the samples i used in the session the other night were kind of long and it didn’t seem to have a problem.
Buoys was probably running for well over an hour that night.