-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update metro syntax to match norns update #23
Comments
i also added a class fn called 'assign_all()' which:
usage is in the README. in short:
the user can then alias the metros if they desire: i understand it's an extra layer on top of the norns metro system, but it makes it feel way more like the rest of crow to my mind. please reopen this for discussion if you want! // |
just a heads up that norns sortof automatically does metro[0...32] are available always. but metro.init() provide an "unused" timer, to avoid collisions. on script reset the metros are "cleared" (ie, turned off, marked as unallocated). (there are actually 38 or so metros accessible, but the high numbers are protected for menu use in norns.) it'd be nice to do something similar, so that people can either use numbered metros or name them. a big aim for me is syntax consistency between norns and crow. we can of course introduce changes to norns as well if seen fit. |
i'm a little vague on "metro[0...32] are available always". doesn't the user still need to run the problem with edit: @tehn |
on norns metro[1] ... metro[32] are allocated at startup. so they are always available to the environment.
is basically a helper function which keeps track of which metros (1-32) are allocated (there is an internal allocation table). of course you can still direct-access an already-allocated metro with the subtable... ie, even if not necessarily relevant to crow: when norns scripts get cleared, all the metros get turned off and allocation table cleared. |
see monome/norns#572
The text was updated successfully, but these errors were encountered: