I’m looking into the MLR.lua to try and make some small changes. I would like to make some adjustments to how playback speed changes work. Can someone point me at the chunk of code I can change to alter the play speed ratios? Like 3/4 instead of octave shifts?

Is it this chunk starting at line 481? Do I change “local n = math.pow(2…” and substitute another value for the 2?

update_rate = function(i)
local n = math.pow(2,track[i].speed + params:get(i…“speed_mod”))
if track[i].rev == 1 then n = -n end
if track[i].tempo_map == 1 then
local bpmmod = params:get(“clock_tempo”) / clip[track[i].clip].bpm
–print("bpmmod: "…bpmmod)
n = n * bpmmod
end
softcut.rate(i,n)
end

EDIT: yep! that did it. Thanks @tehn for keeping the script clean and making user end changes like this possible!

2 Likes

It quantizes the loop to the tempo. You can edit its resolution in the tempo meny (ALT + Q).

Just got shields, so excited, getting lost endlessly over and over again. Had MLR question after experimenting, reading doc, and watching the vimeo tutorial (super helpful):

  1. Are there still glitches in this in terms of connecting with grid?
    a.I frequently get a row that doesn’t respnod like normal all of a sudden;
    b.and I occasionally get a row that had a preloaded audio file that stops playing until I re-load it.

  2. What exactly does the overdub parameter do when recording?

  3. Does record record to the clip slot selected for a track in clip view, overriding whatever selection you had for the clip slot selected for that track already?

  4. What does resize do?

2 Likes

Hello there!
I’ve got issues with MLR today: can’t record anything. (All other scripts can sample as usual). Levels menu shows the In-level correctly but no sound can be recorded.
Factory Norns, 2020 Grid, last update.
Am I missing something?
Thank you

EDIT: Same problem with Larc

Maybe related to input parameters for softcut and the recent update? Did you check softcut levels under params?

1 Like

Oh ok, that’s correct: it was “- infinite”.
Thank you

Did you also check the softcut page under Parameters - edit - softcut?

1 Like

sorry about this param menu bug that was introduced in the last update. luckily easy fix (and also solved in the next update)

3 Likes

Thank you Brian, It’s super easy to solve but it will be even better as you say.
Super appreciated✌🏽

@tehn a feature i’d personally find super valuable would be the ability to optionally reset a record-armed track’s playback position to the start once an input threshold is met, similar to how the OP-1 records samples. handy for cleanly recording stuff like percussion. perhaps via alt+rec?

i’ll take a look at the github, this is the sort of thing i’d love to be able to add one day :slight_smile:

might also be neat to have the option of pressing and holding a pattern slot to record activity for the duration of the hold, allowing for very precise pattern recording (rather than requiring another press to stop recording activity)

if there’s already a way to cleanly do either of these things, i’d love to know! right now i just try to manually restart the rec-armed track while simultaneously starting my sample.

1 Like