Did a quick bit of hacking on your question today.

I think the thing to keep in mind is that midi clock just happens all the time (when it’s being sent). It’s a constant stream of messages. Start/Stop/Continue messages are separate and need to be sent independently of clock messages.

So I think what would really be needed is some key assigned to the midi start/stop messages.

As an example I tried this:

at line 56 add

local midi_start_state = false

then at line 666 add

      elseif x==16 and y==8 then
        if midi_start_state == false then
          midi_device:start()
          midi_start_state = true
        else
          midi_device:stop()
          midi_start_state = false
        end

This will define grid key 16/8 as midi start/stop.

This starts/stops my TR-9 drum machine as expected. If sync is turned on in params, then it also tracks tempo.

(next step would be to make that key light up, but I’ll leave that for another time)

3 Likes

Yes, I know, but page 3 lets you load 7 clips, which is slightly odd, given that there’s only 6 tracks, and there’s actually 16 buttons horizontally that would make sense (in terms of the UI) for clip loading slots.

Plus, on various pages, row 8 does nothing. That’s either because @tehn wants to expand to 7 tracks (as the github notes imply) or he has other ideas in mind.

I’m interested, and may hack the script myself to try, as I can see it being useful to load up, say, 16 clips, then chop and change between them.

I can also imagine row 8 having other global functions.

iirc we had 7 voices of softcut at one point (briefly.)

working on softcut 2.0. this adds many features but should also improve efficiency. we may be able to get 8 voices. (that’s not a promise.)

3 Likes

just wanted to confirm that it works like a charm! thanks so much for tackling this! let me know if you get the button to light. a visual indicator would be the icing on top.

Had my first real session with norns and mlr yesterday. I’m speechless, it’s such a great platform! Endless fun and very inspirational.

For me the Norns and grid combo is the platform I’ve unconsciously been searching for since starting experimenting with music. Can’t wait to dig in deeper with more scripts. Thank you all for this wonderful, tactile, visually beautiful, deep and powerful creation.

Anyway, here’s a video from my first mlr session

14 Likes

13 posts were merged into an existing topic: Norns: help

I oddly seem not to be able to load clips…
did anyone experience this?
everything works fine, I can record etc only loading a clip won’t work.

i am also experiencing this right now. i just updated my norns and mlr. everything else is working in mlr. im able to load samples in to glut and cheat codes too.

1 Like

apologies— will be able to check it out tomorrow. any errors in maiden?

1 Like

still not working @tehn

retested again just now and it’s working here.

can anyone provide some details? maiden errors? soundfile types/locations?

Any type/location. I’ll check maiden later. Thanks

and what’s the symptom? an error? no audio?

newest norns os? newest mlr?

just does not load the file, everything else works.

file > /home/we/dust/audio/common/waves/01.wav 2

lua:

/home/we/dust/code/mlr/mlr.lua:792: attempt to call a nil value (global ‘sound_file_inspect’)

stack traceback:

/home/we/dust/code/mlr/mlr.lua:792: in function ‘fileselect.callback’

/home/we/norns/lua/lib/fileselect.lua:50: in function ‘fileselect.exit’

/home/we/norns/lua/lib/fileselect.lua:122: in function ‘fileselect.key’

/home/we/norns/lua/core/menu.lua:139: in function </home/we/norns/lua/core/menu.lua:116>

this seems like you’re not on the newest mlr, can you recheck?

Reinstalled…thanks

A true varispeed would imo totaly fit the mlr, probbaly better to be acsessed via encoder, unstepped.

do you mean something like the speed mod parameter, accessible on REC page?

you can edit its range here if you wish (by using e.g. controlspec.new(-2, 2) in place of controlspec.BIPOLAR
{ https://github.com/tehn/mlr/blob/master/mlr.lua#L423 }

1 Like

Will dig, i still have to try mlr but from demos didnt hear unstepped pitch but the half octave jumps. So i might have overlooked it when reading about mlr

the speed ratios produced by pressing grid buttons on REC/SPEED page are powers of two. this is indeed arbitrary but easily modified.
the calculation is here:
{ https://github.com/tehn/mlr/blob/master/mlr.lua#L488 }
and the integer powers of two are set here:
{ https://github.com/tehn/mlr/blob/master/mlr.lua#L667 }

either of these could be customized or parameterized if you wish.

but yes, it would make sense to me to try the app yourself before requesting changes to it.

4 Likes