also it seems that in order to get either awake or mlr to output clock i have to first run playfair and toggle the internal/external parameter.

2 Likes

this is all quite helpful @tehn @David_Rothbaum, so thanks for talking about it. thanks tehn for midi too. or whoever wrote it in. it’s essentially the reason i bought norns, so i’ve been waiting for this day. i shall install this new update soooooon…

4 Likes

just catching up - does the midi functionality mean that a grid isn’t necessary for norns mlr now?

grid still required and will always be required: mlr is a grid thing. that said, i’d love to make some mlr-ish non-grid things!

midi out functionality is tentative, it seems slightly buggy and i’ll work on it.

7 Likes

is this due to the new update? anyone else having issues with the update making mlr crash? i’ve been holding off on the update as i’m afraid of this happening

was this fix ever implemented in a repo somewhere?

my project has three samples that are fairly short (for me): 10 seconds, 37 sec, 54 sec. there’s no indicator that they’ve all finished loading, or how much RAM they take up (at 48khz/32bit stereo), but i definitely noticed the buffer overrun. when only one track is playing, the audio will unpredictably jump to different parts of the other two samples.

is there an easy way to keep track of RAM usage on the sample load screen, or should i follow a temporary workaround for sample size? i.e. “for now, keep all samples under X seconds long.”

for comparison, the er301 displays total memory used on its sample load/clear screen, and won’t proceed if asked to load a sample that exceeds available RAM.

i poked through the lua code, and i’m guessing that somewhere around here, i might try adding a function to display available RAM: free -h | awk '/Mem:/ {print $4}' via something like m.sys.ram, though the displayed number might only be useful in the context of how much of that can actually be used by mlr’s buffer(s). it doesn’t seem to fit in the toplevel system screen, as the existing status info lines up neatly with the left-side options.

maybe it would still be worth adding this free RAM info to an mlr status screen somewhere; perhaps the clip select page? otherwise, there’s no indication of why mlr starts behaving erratically–if it’s norns itself or mlr.

no, tracking RAM usage like that is not going to be useful. the audio buffer is preallocated. you are not running out of RAM. this seems like logic problems in the mlr script and maybe in the SoftCut engine. (but i suspect the script.)

more feedback (visual or otherwise) between lua and SC would be good, regarding the contents of buffers. there are some parts in place for visualizing loaded waveforms. it needs more work, not just in implementation but also scripting / API design. https://github.com/monome/norns/issues/74

this update was about control, scripting, and usability in lua. the next update will address more audio issues and softcut/mlr in particular.

for the record, each voice should currently have a dedicated region in the buffer of 64 seconds. (this is totally arbitrary, it could be much longer.) if voices are never supposed share the same buffer conbtents, then the endpoints for each voice should be clamped to [(i-1) * 64, i * 64], where i is the 1-based voice index. glancing through mlr.lua i don’t see that happening anywhere.

but i also don’t see why voices shoudn’t be able to share material necessarily.

1 Like

so it sounds like actually the grid driver is falling apart somehow (or matron / lua is crashing.)

opened GH ticket, please post any more information there (steps to reproduce, &c) - i for one have not noticed any instability with plugging the grid. (but also haven’t used mlr much)

thanks; this clarifies some things.

i did some quick-and-dirty additions to mlr.lua’s CLIP screen, and discovered that my samples only occupied about 10MB, and also noticed the “free mem” number changing almost every screen update, as the OS does its usual memory cleanup routines. you’re right; displaying available memory isn’t very helpful.

actually displaying audio waveforms and playhead positions on the CUT screen would be awesome, though probably pretty resource-intensive to track and update. i’ve noticed that even the various desktop spinoffs of mlr will occasionally lag behind visually, though the audio and grid remain in sync.

regarding voices sharing a buffer, would this be more resource-efficient? i.e. if the same sample is used for more than one track, but with different play speeds & direction, etc., would only one copy of it actually need to be in the buffer?

Conserving RAM really shouldn’t be a concern, there is plenty of it.

Oh man, first session with Norns and MLR was brilliant. Really found myself in an interesting place, though still scratching my head in terms of what was happening. Is there a rundown of how to use (other than the brief manual). I’m new to MLR fullstop, so maybe there’s an overview of another version that could help with getting my head around this?

3 Likes

I’ve been experiencing this same crash when syncing a digitone with norns via a usb to midi din cable. The only difference for me is that my grid will also almost completely light up before going dark and not responding. I also seem to get issues with my audio going in. I will start to get digital distortion. After rebooting and removing the usb midi cable the issue is gone.

This video from @EagleEyedTiger was helpful for me.

8 Likes

ok (also @David_Rothbaum) it appears there is a bug that somehow affects the interaction of the grid when midi is attached as well. i’ll be looking into it (though i’m traveling for about a week, back on it soon)

1 Like

I’ve had the same grid glitch after I updated to the latest firmware with midi cc enabled. I have a Faderfox connected to one of the USB ports and CC’s enabled. One time while playing mlr the grid just went blank as if it had become disconnected. Another time, all the lights just lit up. I managed to get the grid back by disconnecting and reconnecting but another time I had to reboot. It doesn’t happen everytime but definitely a glitch which I never saw before in the previous firmware.

1 Like

this happens to me too.

1 Like

can anyone confirm that this grid glitch happens with midi devices not attached?

IIRC, this has happened to me once without any external midi devices connected (mind you, it did happen after attempting to do some midi CC mapping earlier that day, in a different session).

So, what happened was:

  • Power on
  • Grid illuminates (MLR controls) but is otherwise unresponsive
  • Unplug/reconnect grid. I saw the boot-up sequence top-left with the lights, but then no illuminated buttons at all once MLR was loaded.
  • Re-booted Norns (via sleep) and everything has been fine since.

Just had the most amazing experience with mlr in the forest live sampling my mates Kalimba.
Some things I’m not sure how to do or if they are implemented.
Having record enabled for multiple tracks?
And a tap tempo INPUT? Either from grids or via a key on Norns.
Also a lowpass filter on each track would be ideal for reducing some aliasing noise.

6 Likes

never had it happen without midi attached at some point. almost every time i lose grid functionality if i start with midi/grid swap to ansible then go back to norns. mlr plays fine but the grid does not function at all.

1 Like