@dan_derks amazing explanation really helped. I have the script now working with the arc.

I will post a zip here for now and will eventually start a github for PR’s as this is a good way to start getting in to a bit of the scripting.

grd_arcify.zip (2.5 MB)

5 Likes

This is incredible, thanks so much!

1 Like

My pleasure! I’m gonna to look at auto-assigning the parameters to the knobs in this order:

_r _g _delta _duration so that it’ll auto-boot correctly.

It’s been a lot of fun exploring the addition of arc control to the script and I’d like to do it to more

2 Likes

Installed grd (from within maiden) on my second factory norns and am getting the following error after restarting sc and maiden on that device. Tried re-installing and same issue. Not sure how to proceed, it’s functioning fine on the other norns device:


ERROR: Variable ‘root’ not defined.
in file ‘/home/we/dust/code/grd/engine_grd.sc’
line 11 char 12:
root = 50;

	group  = ParGroup.tail(context.xg);

ERROR: Variable ‘root’ not defined.
in file ‘/home/we/dust/code/grd/engine_grd.sc’
line 42 char 18:
([0,12,24]+root).do { |base,i|

			key = d2k.((m[i*8+1]*8).asInt, mode);

ERROR: Variable ‘root’ not defined.
in file ‘/home/we/dust/code/grd/engine_grd.sc’
line 59 char 3:
});

}

other user encounters same error, which is system-breaking:

looks like it could use var root; at the top of engine_grd.sc. (but mysterious that it would work sometimes.)

I had this failure tonight too after updating all apps. Had to remove Grd to get my fates to stop throwing the SC fail. I guess this makes 3 of us so far?

I’ve nothing helpful to add here other than to say I also got the Variable ‘root’ not defined error after sending the script, and restarting maiden and sc.

Looks like a stunner of a script! Will keep an eye on the thread for updates. @mmml and @coreyr - if you manage to get it working in the meantime will you share your workings?

my mistake!
while working on the update i accidentally pushed a commit and introduced a bug…
i will try to fix it and post here!

Ok. it’s fixed now! sorry for the trouble.

2 Likes

Thank you for fixing so quickly. I am now getting a ‘missing Grd’ error. Any thoughts on what might have caused this?

Here’s the full error:

norns.script.load(“code/grd/grd.lua”)
script load: /home/we/dust/code/grd/grd.lua
cleanup failed with error: /home/we/dust/code/grd/grd.lua:177: attempt to index a nil value (global ‘m_draw’)
script clear
ERROR (i2c/hp) failed to write
including /home/we/dust/code/grd/lib/sc.lua
pset >> write: /home/we/dust/data/system.pset
script run
loading engine: Grd
SCRIPT ERROR: missing Grd
reading PMAP /home/we/dust/data/grd/grd.pmap
m.read: /home/we/dust/data/grd/grd.pmap not read.

have you done this?
;restart

you may need to reboot norns if it persist

1 Like

A quick reboot worked! This is GLORIOUS. Thank you so much.

@yota thank you! Installed, rebooted, and working properly.

1 Like

This is amazing thank you.
Would love to see a sample menu linking to those 7 files and letting you choose whatever samples u have in norns. It’d make things a bit more convenient.
Such a meditative thing never the less.

4 Likes

v2.0 enjoy!

15 Likes

Hi, congrats on v2 release!

How do we update?

Do we delete the old folder on dust and reinstall?

Cheers

I think it should work from maiden > refresh the library >locate grd > update

Otherwise delete it and reinstall in maiden

Let me know how it goes!

1 Like

Thanks for the reply @yota
I uninstalled and reinstalled from Maiden, and restarted my fates.
All working good, beautiful work!

1 Like

I think there might be a problem with Grd when installed from Maiden. When I turn on my Norns I get the DUPLICATE ENGINES error message.

Here is what happens in Matron

norns version: 0.0.0
git hash: 8946533
running startup
start_audio():

script clear

norns.startup_status.timeout
DUPLICATE ENGINES:
/home/we/dust/code/grd/sc_sample/celesta/plus.sc plus.sc
/home/we/dust/code/grd/sc_sample/felt/plus.sc plus.sc
/home/we/dust/code/grd/sc_sample/tweed/plus.sc plus.sc

SCRIPT ERROR: DUPLICATE ENGINES

I already tried to uninstall Grd and re-install it through Maiden, but I keep getting the same error message. Shall I simply remove the .sc scripts from two of the three folders in which it’s listed?

there is no class duplication actually.
so you can just ignore that prompt.
those plus.sc files are perfectly legitimate sc code (lua perhaps is just confused by seeing those)

1 Like