I think my TestSine engine might be a bit unhappy, I was having trouble to get the amplitude modulation to work in the first study, then pared it down to this code:
engine.name = "TestSine"
function init()
engine.hz(100)
engine.amp(0.8)
end
which provokes this error:
norns.script.load("study/SVSVSV/untitled.lua")
# script load
# cleanup
# script clear
# script run
loading engine; name: TestSine
<ok>
Engine.register_commands; count: 2
--- engine commands ---
amp (f)
hz (f)
------
--- polls ---
amp_in_l
amp_in_r
amp_out_l
amp_out_r
cpu_avg
cpu_peak
pitch_in_l
pitch_in_r
tape_play_pos
tape_rec_dur
------
# script init
### SCRIPT ERROR: init
/home/we/dust/scripts/study/SVSVSV/untitled.lua:5: attempt to call a number value (field 'amp')
reconnecting grid...
grid.reconnect (default)
reconnecting midi...
Has anyone seen similar? It’s late here so I’m fully expecting it to be something I’ve missed.