Ive built norns (crone/matron) and maiden and trying to get it to run…
my first tiny hurdle was norns assumes its in ~/norns (in the lua scripts) , thats was easy enough to fix with a symlink (and I did the same for dust while i was at it)
after some initial issues, I also discovered you need to run sclang, once before you run sc/install.sh, otherwise the SC default abstractions are not there.
(btw: as stated below, I think it would be better if crone flagged to matron the cause of an error during initialisation, even it it was just, ‘fx failed to init’, rather than it just timeout)
that said the journey (see below) to resolve the issue was useful to trace thru the process to see how matron and chrone sit together, and how the osc messages flow for control etc - pretty confident I have a basic understanding after architecture now.
anyway, i think all is good now, I just need to make it so that I can read whats on the frame buffer
then I’ll check maiden is working (I dont think that’ll be problematic, seems straightforward enough)
then I can get on with some ideas Ive got…
thanks to all those involved on the project for the docs, they are very good.
you can now ignore the following, this is just left here for reference in case someone else might be treading down this path…
(mods: feel free to delete if you think its obvious/un-useful)
ok, so I run crone.sh , and I can see an error class Recorder not found (then new message not understood, I assume from class error)
I also seem to get DoesNotUnderstandErrors on Meta_Crone::initTape, and possibly something to do with Meta_AppClock?
any obvious thoughts? (Ive run sc/install.sh, and that appear to work)
if not no worries, I’ll dig deeper.
so the sparkles come up, I see norms.lua.statup(), and start_audio(), then device add : (a few things)
then just sits there.
Im assuming some kind of initial menu you should come up? but its waiting for something?
EDIT: ok, found the addendum describing startup, for others looking it can be found here
any clues, whats next on the log?
on both counts, no worries if its not obvious I’ll start exploring the code, really just after hints on where to next look … or are any ‘red-herring’ errors/warnings expected… or should it all be nice and clear
(so I dont keep posting, I’ll post anything extra i find here, again in case useful for others )
a) so after reading above, I now know Im stuck in startup.lua:start_audio(), waiting for norns.startup_status.ok() to be called, and its not.
then I waited a bit, and got the timeout, so audio engine error, then I get something else on teh display,
(but its too small to read, so Im going to need to hack screen.c (or something) to cope with the much bigger display fb )
b) ok, so gone back in the stack, learning more about norns…
so crone is not sending /chrone/ready (from crone.sc) despite matron sending ready (on correct port)
interestingly, I can see /poll/vu coming in, so crone is able to send osc.
so perhaps those crone errors are causing the issue - I now know what to start poking in crone.
c) yup, as suspected the recorder errors, cause initTape to ‘crash’ and so complete not get set, so chrone = not ready = matron sparkles… probably would be better in these cases if chrone caught errors, and sent something back to matron to ‘flag issue’
now the hunt for me, is to find out why recorder and the other errors are happening in initTape
d) issue found, you need to run sclang before sc/install.sh … if you dont, then you need to delete ~/.local/share/SuperCollider/, to let sclang initialises it before norns adds its extensions