n.Kria 0.21: native norns Kria

Sorry for the late reply. I’ll look into this asap and edit my comment!

1 Like

Hey, loving using this. Thank you so much, with oilcan it is a game changer for me.

Quick question, and maybe related to the above. On the Patterns page, the behaviour for holding and storing isn’t as I’d expect /ansible version. Am I missing something ?

2 Likes

@Ravel , @MatthewAshmore - yes, it’s broken, I just found the culprit. I’ll work on that right now :slight_smile:

4 Likes

n.kria 0.2

summary description author
dual delay works much better now and has sync options @sixolet
classic/extended switch switch between just barebones kria commands, or everything we’ve added. Just shows/hides params to keep things clean @zjb-s
fixed pattern copy/paste now works exactly like ansible @zjb-s
fixed meta-sequence toggle active now works exactly like ansible @zjb-s
“advance” params added advance binary params. allows arbitrary clocking @zjb-s
velocity page! added an eighth page - subpage under GATE. Pretty straightforward - it changes the velocity from full to none. Works like any other kria page. @zjb-s
oilcan FM percussion engine built for n.kria ! install the mod and it will populate in n.kria @zjb-s & @sixolet
22 Likes

I totally forgot to mention the version I grabbed on this past Sunday or Saturday didn’t have the delay option in the Param section. For me this is fine because I’m running my effects elsewhere.

Edit: Thanks for all your help @zbs! Just saw the update post! Excellent!

3 Likes

Installed lastes version and get load fail error:

### MISSING INCLUDE: n.kria/lib/nb/lib/nb
### SCRIPT ERROR: load fail
/home/we/dust/code/n.kria/lib/prms.lua:6: MISSING INCLUDE: n.kria/lib/nb/lib/nb
stack traceback:
	/home/we/norns/lua/core/norns.lua:146: in function </home/we/norns/lua/core/norns.lua:146>
	[C]: in function 'error'
	/home/we/norns/lua/core/startup.lua:49: in function 'include'
	/home/we/dust/code/n.kria/lib/prms.lua:6: in main chunk
	[C]: in function 'dofile'
	/home/we/norns/lua/core/startup.lua:43: in function 'include'
	/home/we/dust/code/n.kria/n.kria.lua:38: in main chunk
	[C]: in function 'dofile'
	/home/we/norns/lua/core/script.lua:199: in function </home/we/norns/lua/core/script.lua:199>
	[C]: in function 'xpcall'
	/home/we/norns/lua/core/norns.lua:147: in field 'try'
	/home/we/norns/lua/core/script.lua:199: in function 'core/script.load'
	/home/we/norns/lua/core/menu/preview.lua:23: in function 'core/menu/preview.key'
	/home/we/norns/lua/core/menu.lua:147: in function </home/we/norns/lua/core/menu.lua:124>
# script clear
lua: 
/home/we/norns/lua/core/clock.lua:58: bad argument #1 to 'resume' (thread expected)
stack traceback:
	[C]: in function 'coroutine.resume'
	/home/we/norns/lua/core/clock.lua:58: in function 'core/clock.resume'
# script clear
# script load: /home/we/dust/code/n.kria/n.kria.lua
pset last used: 1
including /home/we/dust/code/n.kria/lib/globals.lua
including /home/we/dust/code/n.kria/lib/screen_graphics.lua
including /home/we/dust/code/n.kria/lib/grid_graphics.lua
including /home/we/dust/code/n.kria/lib/prms.lua
### MISSING INCLUDE: n.kria/lib/nb/lib/nb
### SCRIPT ERROR: load fail
/home/we/dust/code/n.kria/lib/prms.lua:6: MISSING INCLUDE: n.kria/lib/nb/lib/nb
stack traceback:
	/home/we/norns/lua/core/norns.lua:146: in function </home/we/norns/lua/core/norns.lua:146>
	[C]: in function 'error'
	/home/we/norns/lua/core/startup.lua:49: in function 'include'
	/home/we/dust/code/n.kria/lib/prms.lua:6: in main chunk
	[C]: in function 'dofile'
	/home/we/norns/lua/core/startup.lua:43: in function 'include'
	/home/we/dust/code/n.kria/n.kria.lua:38: in main chunk
	[C]: in function 'dofile'
	/home/we/norns/lua/core/script.lua:199: in function </home/we/norns/lua/core/script.lua:199>
	[C]: in function 'xpcall'
	/home/we/norns/lua/core/norns.lua:147: in field 'try'
	/home/we/norns/lua/core/script.lua:199: in function 'core/script.load'
	/home/we/norns/lua/core/menu/preview.lua:23: in function 'core/menu/preview.key'
	/home/we/norns/lua/core/menu.lua:147: in function </home/we/norns/lua/core/menu.lua:124>
# script clear
lua: 
/home/we/norns/lua/core/clock.lua:58: bad argument #1 to 'resume' (thread expected)
stack traceback:
	[C]: in function 'coroutine.resume'
	/home/we/norns/lua/core/clock.lua:58: in function 'core/clock.resume'
# script clear
# script load: /home/we/dust/code/n.kria/n.kria.lua
pset last used: 1
including /home/we/dust/code/n.kria/lib/globals.lua
including /home/we/dust/code/n.kria/lib/screen_graphics.lua
including /home/we/dust/code/n.kria/lib/grid_graphics.lua
including /home/we/dust/code/n.kria/lib/prms.lua
### MISSING INCLUDE: n.kria/lib/nb/lib/nb
### SCRIPT ERROR: load fail
/home/we/dust/code/n.kria/lib/prms.lua:6: MISSING INCLUDE: n.kria/lib/nb/lib/nb
stack traceback:
	/home/we/norns/lua/core/norns.lua:146: in function </home/we/norns/lua/core/norns.lua:146>
	[C]: in function 'error'
	/home/we/norns/lua/core/startup.lua:49: in function 'include'
	/home/we/dust/code/n.kria/lib/prms.lua:6: in main chunk
	[C]: in function 'dofile'
	/home/we/norns/lua/core/startup.lua:43: in function 'include'
	/home/we/dust/code/n.kria/n.kria.lua:38: in main chunk
	[C]: in function 'dofile'
	/home/we/norns/lua/core/script.lua:199: in function </home/we/norns/lua/core/script.lua:199>
	[C]: in function 'xpcall'
	/home/we/norns/lua/core/norns.lua:147: in field 'try'
	/home/we/norns/lua/core/script.lua:199: in function 'core/script.load'
	/home/we/norns/lua/core/menu/preview.lua:23: in function 'core/menu/preview.key'
	/home/we/norns/lua/core/menu.lua:147: in function </home/we/norns/lua/core/menu.lua:124>
# script clear
lua: 
/home/we/norns/lua/core/clock.lua:58: bad argument #1 to 'resume' (thread expected)
stack traceback:
	[C]: in function 'coroutine.resume'
	/home/we/norns/lua/core/clock.lua:58: in function 'core/clock.resume'
# script load: /home/we/dust/code/n.kria/n.kria.lua
pset last used: 1
including /home/we/dust/code/n.kria/lib/globals.lua
including /home/we/dust/code/n.kria/lib/screen_graphics.lua
including /home/we/dust/code/n.kria/lib/grid_graphics.lua
including /home/we/dust/code/n.kria/lib/prms.lua
### MISSING INCLUDE: n.kria/lib/nb/lib/nb
### SCRIPT ERROR: load fail
/home/we/dust/code/n.kria/lib/prms.lua:6: MISSING INCLUDE: n.kria/lib/nb/lib/nb
stack traceback:
	/home/we/norns/lua/core/norns.lua:146: in function </home/we/norns/lua/core/norns.lua:146>
	[C]: in function 'error'
	/home/we/norns/lua/core/startup.lua:49: in function 'include'
	/home/we/dust/code/n.kria/lib/prms.lua:6: in main chunk
	[C]: in function 'dofile'
	/home/we/norns/lua/core/startup.lua:43: in function 'include'
	/home/we/dust/code/n.kria/n.kria.lua:38: in main chunk
	[C]: in function 'dofile'
	/home/we/norns/lua/core/script.lua:199: in function </home/we/norns/lua/core/script.lua:199>
	[C]: in function 'xpcall'
	/home/we/norns/lua/core/norns.lua:147: in field 'try'
	/home/we/norns/lua/core/script.lua:199: in function 'core/script.load'
	/home/we/norns/lua/core/menu/preview.lua:23: in function 'core/menu/preview.key'
	/home/we/norns/lua/core/menu.lua:147: in function </home/we/norns/lua/core/menu.lua:124>
# script clear
lua: 
/home/we/norns/lua/core/clock.lua:58: bad argument #1 to 'resume' (thread expected)
stack traceback:
	[C]: in function 'coroutine.resume'
	/home/we/norns/lua/core/clock.lua:58: in function 'core/clock.resume'
# script clear
# script load: /home/we/dust/code/n.kria/n.kria.lua
pset last used: 1
including /home/we/dust/code/n.kria/lib/globals.lua
including /home/we/dust/code/n.kria/lib/screen_graphics.lua
including /home/we/dust/code/n.kria/lib/grid_graphics.lua
including /home/we/dust/code/n.kria/lib/prms.lua
### MISSING INCLUDE: n.kria/lib/nb/lib/nb
### SCRIPT ERROR: load fail
/home/we/dust/code/n.kria/lib/prms.lua:6: MISSING INCLUDE: n.kria/lib/nb/lib/nb
stack traceback:
	/home/we/norns/lua/core/norns.lua:146: in function </home/we/norns/lua/core/norns.lua:146>
	[C]: in function 'error'
	/home/we/norns/lua/core/startup.lua:49: in function 'include'
	/home/we/dust/code/n.kria/lib/prms.lua:6: in main chunk
	[C]: in function 'dofile'
	/home/we/norns/lua/core/startup.lua:43: in function 'include'
	/home/we/dust/code/n.kria/n.kria.lua:38: in main chunk
	[C]: in function 'dofile'
	/home/we/norns/lua/core/script.lua:199: in function </home/we/norns/lua/core/script.lua:199>
	[C]: in function 'xpcall'
	/home/we/norns/lua/core/norns.lua:147: in field 'try'
	/home/we/norns/lua/core/script.lua:199: in function 'core/script.load'
	/home/we/norns/lua/core/menu/preview.lua:23: in function 'core/menu/preview.key'
	/home/we/norns/lua/core/menu.lua:147: in function </home/we/norns/lua/core/menu.lua:124>
# script clear
lua: 
/home/we/norns/lua/core/clock.lua:58: bad argument #1 to 'resume' (thread expected)
stack traceback:
	[C]: in function 'coroutine.resume'
	/home/we/norns/lua/core/clock.lua:58: in function 'core/clock.resume'
[details="Summary"]
This text will be hidden
[/details]

If you installed from Maiden, try removing it then installing with the ;install command in OP?

1 Like

not from maiden but download the zip file from github an manually copy to dust/code.

I`m having problems with my ISP and only can access github thru a VPN so maiden (norns) cant reach it and install scripts

Hmm, okay. Try this, then, it’s a zip of my personal install:
n.kria.zip (229.1 KB)

1 Like

Working!! Also just realized what was the error… downloading the zip from github it doesnt have the nb mod inside the lib/nb because in the repo there is no files there but a “symlink” ??
So maybe just copying the content for the nb inside n.kria/libs/nb will work?

1 Like

It should, yes. Nb is included as a “submodule”, which is a git way of pointing at a different repository. I wish they worked better in Maiden.

2 Likes

First of all, this script so bonkers, thank you so much for it!

I’m still having problems with pattern copy and paste after the new update. I hold another pattern slot to save the current pattern there, and it says pattern saved to the selected slot, but then when I switch to that pattern it is still blank.

2 Likes

Yep, that was just reported to me via DM this morning. Workin’ on it!

e: @pcnclghtnng , @MatthewAshmore , i think it’s fixed. Let me know.

3 Likes

Just wanted to pop in with a note of gratitude. I wasn’t really aware of the original Kria in anything other than name, but holy hell is it inspiring. And the emplaitress engine made it a really immediate world to explore. I still have a lot to wrap my head around (took me a minute to realize pattern length (or maybe loop length is the better term) is a mod of each parameter in a pattern.

Tons to explore, thanks so much for the port!

5 Likes

Success! working like a charm now!

3 Likes

well, from one perspective… submodules are supported in maiden; scripts installed through maiden will install submodules (and recurse to a rather arbitrary depth of 10.)

the problem is when, as here, someone attempts to install manually by downloading the .zip from github, which doesn’t include submodules. kinda seems like a github problem and not sure what we can do except recommend against doing that.

maybe we can open issue/discussion if there are other cases around submodules that could be better supported in maiden.

sorry for OT.

1 Like

We’ve had some trouble with n.b. submodule not installing at all when n.kria is installed from maiden. But yeah, it seems to be working currently, I just tested it.

So nice having ansible for midi synths now +with all the exciting new possibilities. Thank youuu :heart:

Lil thing I’m struggling with today… I’m trying to setup matrix mod, would love to be able to advance each ansible track with a seperate toolkit rythm generator, however so far am having no luck in getting things moving. Maybe related to that, in the track controls clicking mute works, however reset and advance aren’t working for me(same in options menu). Feels like maybe I’m missing or overlooking something obvious tho…

1 Like

sorry last OT reply. if repro-able then lets open an issue. maiden just imports go-git. this is a native go re-implementation of git so bugs are possible but we can’t do much about em except pass them along and update. (btw, sometimes github just errors out on requests, seems to be more prevalent in certain parts of the world.)

3 Likes

Thanks for the report. I’ll look into this tomorrow.

1 Like