Awake

Thanks @JoseQuervo I now have quite an unambiguous confirmation that the start and stop messages are coming into the norns, together with the clock that I knew already :grinning:

IMG_5779

Now, the challenge is, why would such explicit code in awake.lua - such as the lines highlighted by @Justmat earlier - do nothing! :thinking:

[SOLVED]
The awake.lua script that came with the norns distribution is not the one that is online on GitHub! They are both marked as version 2.4.0, but the online one has about 60 extra lines of code, including the start / stop management! Of course I was going crazy!

Thanks to all who helped. I will warn @tehn with pull request.

6 Likes

which section of the params menu can I find the tap tempo please? :blush:

I’ve tried awake with jf through crow+ii yesterday. It works like a charm, but I can’t seem to find a way to put jf back in normal mode after I am done playing with it with awake.

Is there some option that I’ve missed or do I need to modify .lua to send ii.jf.mode(0) somehow?

Very new to Norns and even newer to Mannequins gear. How do I use Awake with Crow and Just Friends? I’m sure this is a ridiculously basic question but I’ve been searching through the documentation and its all very dense and spread out.

I’m assuming I need to connect the i2c ports on the back? Since “There is no standard “i2c cable” (according to this guide) I’m wondering if I can do this with a 6pin ribbon cable I happen to have laying around. Red stripe down?

I’ll be honest I am unexpectedly overwhelmed by this but the lines community has been great so far so here’s hoping you guys can help me out. Thanks.

hi hi! hope all’s well :slight_smile:

connecting the pins

monome recommends grabbing a stash of these jumper wires – that’s what we use in the workshop, totally good cheap solution.

we’re working on surfacing i2c docs wherever folks might look, but for now i’ll highlight @mattallison’s fantastic recent contributions in the ansible docs: i2c / ii | monome/docs

in the script

first, connect your crow to norns via USB.

if you’re running awake version 2.4.1 (it’ll display this in the script info when you go to load it), then there’s an output section in the parameters – press K3 to enter it. toggle the output parameter to crow ii jf and the script will send its notes to just friends via crow :slight_smile:

lmk if you run into any other q’s!

4 Likes

update…

I’ve only gotten back to this just now. I have the i2c wires hooked up in the back correctly, I believe, and the output parameter set properly but I’m not getting anything. What mode does Just Friends need to be in? Is there a particular way I need to have Crow and Just Friends patched (I was assuming that the point of connecting things on the back was so that you did’nt have to patch anything but just thought I’d ask)?

See?! This is why this is the best community. I’ve ordered the cables and bookmarked that doc. I’ll see how everything goes and let you know.

THANK YOU!

2 Likes

I was wondering, if it’s possible to have the a continuous note length range from 0-100, or it must be steps of 0,25,50,75,100.

Is it possible to randomise the note length?

Another musically useful function would be to generate random velocity (either CV/midi) for each note… Any ideas on whether that’s possible?

image
Here’s the note_length parameter at line 280 in awake.lua, guess you could add more steps here :slight_smile:

2 Likes

Also you need to take into account how the note length is calculated.

See line 177:

if params:get("note_length") < 4 then
  notes_off_metro:start((60 / params:get("clock_tempo") / params:get("step_div")) * params:get("note_length") * 0.25, 1)
end

params:get("note_length") get the index of the table {"25%", "50%", "75%", "100%"}

So if the value set is < 4 (value 4 is seen as 100%) the note length is calculated by the index * 0.25

e.g. if set to 75% we get: 3 * 0.25 = 0.75 which is then multiplied by the current step length (60 / params:get("clock_tempo") / params:get("step_div"))

If you add more values to the note length table you have to make sure to adapt the rest of the code and get the math right.


edit: just read your other questions.

yes, but requires additional code. happy to give you pointers/walk through if you wish.

2 Likes

Basic question. I am new to Norns and Crow. Both are running last firmware. Grid is plugged into Norns running Awake. Output is set to crow out 1+2.

On Crow, Output 1 and Envelope 1 are behaving normally. But nothing is happening on Output 2 (but it works when running First). Tried reinstalling Awake. Doesn’t work.

What am I doing wrong?

I think Crow had 4 outputs and awake uses 2 of them - one for melody and the second for envelope. Nothing out the other two I don’t think.

1 Like

So, if I understand correctly, Norns can play 2 sequences in Awake, but Crow can only play 1 ?

No, Awake generates just one stream of notes. This stream of notes is generated by 2 sequences playing in parallel, with the pitches of the second sequence transposing the pitches of the first sequence. If both sequences have different numbers of steps, it takes a longer time before the resultung stream of notes repeats.

7 Likes

No - Awake is monophonic. You’ll get a single note (CV output) and a gate

Edit: Yeah what @wolfgangschaltung said haha

1 Like

Ah! Thank you so much.

Hi, how to fix PolyPer missing error? I’ve got this two times already. The first time i just reimaged SD (because no restart, reset and shut down worked)…but there is a known issue?..just edited awake to make it work with midigrid…but the first time issue occured suddendly…also unistalled and reinstalled awake…no way. Thanks

hi hi, hope all’s well!

polyperc is bundled with the norns core software, so it shouldn’t go missing – are you re-imaging with the release posted here? Release norns 220306 · monome/norns-image · GitHub (see norns: new image 220306 for more info). you’ll then want to perform the SYSTEM > UPDATE to get to the 220321 update.

please confirm that when you hit K2 on the SELECT / SYSTEM / SLEEP screen you see 220321 ?
if yes, and you still run into troubles, you can export a support log which can be posted here to help further identify the trouble :slight_smile:

Thank you! My image was older. I’ll try again with new image and update as you suggest and i’ll give you feedback.

Ok, everything seems to work, with the reimaging and update. I’ll try in these days to see in any issue happens. Thanks a lot

My favorite moment from @andrewhuang’s most recent video is the modular patch breakdown, where Andrew carefully explains that the patch is set up so that one sequence is being transposed by the notes of a second one with a different sequence length. I said out loud to my screen “so you’re playing Awake”. :slight_smile:

Anyway, just wanted to bump the thread to say that I appreciate how this script added a powerful new compositional tool to my toolbox.

Happens about 10 minutes in:

4 Likes

Ah neat! I was not aware of Awake. This technique is my favorite use of a precision adder. Interesting to experiment with pre, post, and no quantization.

9 Likes