this thread is for discussing glut engine and script. the latter doesn’t currently have any UI functionality, it’s best used with the params menu and/or an external controller.
i’ve been constantly laying aside work on some engine/script improvements, such as triggering voices from the UI, playing back sample slices, etc., but hope to get back to working on them soon.
Requirements
grid, MIDI (optional)
Documentation
push the buttons on the grid to trigger sample playback, use the top row to mute tracks and record patterns. use the rightmost key in the top row to clear recorded patterns.
seeing a couple errors on my setup - but it seems to work OK otherwise:
# script run
loading engine: EasyGlut
<ok>
lua:
/home/we/norns/lua/core/paramset.lua:154: attempt to index a nil value (local 'param')
stack traceback:
/home/we/norns/lua/core/paramset.lua:154: in function 'core/paramset.get'
/home/we/dust/code/easygrain/easygrain.lua:68: in global 'arc_redraw'
/home/we/dust/code/easygrain/easygrain.lua:101: in field 'event'
/home/we/norns/lua/core/metro.lua:165: in function </home/we/norns/lua/core/metro.lua:162>
lua:
/home/we/norns/lua/core/paramset.lua:154: attempt to index a nil value (local 'param')
stack traceback:
/home/we/norns/lua/core/paramset.lua:154: in function 'core/paramset.get'
/home/we/dust/code/easygrain/easygrain.lua:68: in global 'arc_redraw'
/home/we/dust/code/easygrain/easygrain.lua:101: in field 'event'
/home/we/norns/lua/core/metro.lua:165: in function </home/we/norns/lua/core/metro.lua:162>
Engine.register_commands; count: 14
I may have missed this elsewhere but I’m working in glut and if I load up an included sample like hermit-leaves.wav i get playback. However, if I load sample from tape that I’ve recorded from my moog, I don’t hear anything. I can play back those .wav files in the TAPE page but glut does not seem to like them. Any ideas?
No, that’s an issue with fine adjustment mode. Suggested workaround: press and release button 3 while in the params menu. Then try adjusting params again.
I don’t have one right now, but can upload later today. However, I was only recording one channel and thought maybe it wanted a stereo file. So I pulled the .wav off with SFTP, split the stereo track, grabbed the channel that had audio and copied it into a stereo track and sent it back to norns and glut liked it.
hmm, glut always loads one (left) channel and works well with mono samples. please upload the file, the problem could happen because the tape format is unsupported by SC3 or something totally different.
@bookmil if you were “only recording one channel” then i guess you mean you used TAPE to make a stereo recording with one silent channel and one non-silent. Glut uses mono buffers and reads one channel of the stereo file. so i’d guess that (on the first trial) it got the silent one, if my understanding is correct. which it may not be.
one quirk i noticed with long samples (~1min aiff): when playback is first triggered, there is a burst of sound which soon subsides and then playback continues normally. adjusting att / dec param doesn’t seem to make a difference, still get the soundburst.
I am trying to implement OSC controls to Glut. Should this question go to the scripting forum?
I successfully added OSC control to the mix, room, and damp functions, although I am having difficulty adding OSC to speed, size, density, etc. Any advice…or where to go for additional info? I reviewed the studies…thanks!
local sep = ": "
params:add_taper("reverb_mix", "*"..sep.."mix", 0, 100, 50, 0, "%")
params:set_action("reverb_mix", function(value) engine.reverb_mix(value / 100) end)
params:set_action("reverb_mix", function(x) engine.reverb_mix(x) end)
local osc_in = function(path, args, from)
if path == "/revmix" then
params:set_raw("reverb_mix",args[1]/2000)
else
print(path)
tab.print(args)
end
end