Thanks so much for this @cosmicsoundexplorer! I was having a wonderful time playing with this this evening. @jasper_ryder I added in some very basic lfos running at prime multiples of each other, which seemed appropriate for Just Friends. Rate and level have to be set in the script.

jfslfo.lua (818 Bytes)

3 Likes

Thank you! Looking forward to using this soon.

1 Like

Hi @ringsandrocks,

I’m trying to get these lfo’s going but am unsure of what to enter where. Do I change the numbers here, and if so shouldn’t I be getting some lfo action already since there are values there? Thanks. Not a coder but I like to get things to work if I can. If you can post a picture of what your script looks like in the lfo section I should get the idea.
Screen Shot 2020-04-10 at 8.19.18 PM

1 Like

Sorry about that! I’m also not really a coder and just starting to learn crow and lua. The LFOs should be going automatically without you making any changes, and that’s the correct spot to change the rates and relationships. I’ll take a look at this tomorrow and see if I can figure out what’s wrong.
(if anyone who knows lua and crow better wants to take a quick look that would be great too!)

Okay. Sounds good. I don’t think I was getting any output but maybe I’ll double check as well. I plugged a LED tester light thing in and didn’t get anything from that but I did not patch to any modules. Thanks.

I just double checked and everything seems to be working fine for me. Is your Crow updated to 1.0.3? These LFOs were added in that version, which was released January 21st.

Sounds good. Yes I’m all up to date. I’ll try it again today and hopefully it is working. Thanks for checking.

1 Like

Is there any way of making this (or for that matter any) script begin once crow receives a trigger?

I am not hugely fond of having to use my laptop to send an i2c message via druid every time I want JF to exit synth mode.

Sure, it’s relatively simple to make a function which only runs once. Try enclosing it within an IF statement which checks an initially-true flag variable, then immediately flip that same variable false. You could even make a ā€œtime outā€ function with a metro which flips the JF.MODE back after not receiving triggers for some seconds and clears your flag.

1 Like

Ok cool, will save this for a rainy day! I have never written any code (outside of some super basic max devices), but this sounds like an ok way to start :slight_smile:

Hey! The quantiser doesn’t seem to be working, it just jumps in octaves and skips all the notes in-between. Can’t seem to figure out why it is doing that, any ideas?
Thanks!

The quantizer script should probably be updated for crow 2.0 now that output scale mode is a thing. You could probably do this script in 10 lines.

I think the offending function here is n2v, which never worked for me. n2v(x) is pretty much equivalent to x / 12 if you want to edit it.

Try this one: Maps w/ Trent <> 7/16 4PM EDT

1 Like

I can confirm that the quantizer in the Bowery collection does not work and does indeed only provide octaves of the original voltage. I tried multiple variations and changed many things in the code - I’m not a coder, but some parts are obvious - so you may just stop trying with that version.

BTW, that was just before 2.0, but I bet it’s still the same now.

And @desolationjones and @Oootini are right!

i attempted to import lorenz onto a newly flashed (well, new altogether) crow and druid was freezing while uploading. the only way i could ā€˜unfreeze’ druid was to remove and reinsert the usb cable. i couldn’t successfully load it, though i had no issue with the other bowery scripts. does it not work in 2.0 or is it an issue on my side?

perhaps i should note that i manually added the script to my bowery folder (didn’t appear in the zip i downloaded). working from an old macbook air, catalina 10.15.4, if it matters.

resolved. the issue was with the lua file I downloaded. fixed it in atom.
lorenz is so much fun!

Wondering if this ever got added to Bowery. I don’t see it there, and I’m trying to get it loaded back onto Crow… Perhaps I’m missing something. I tried u First.lua, but I’m cd’d into bowery-main

thanks!

First is included in crow’s core Lua library and can always be restored by sending ^^First in druid (or crow.send('^^First') should work from norns).

2 Likes

Hey there, when I first saw Crow (after the first batch was long gone) I had an idea to make a spring physic based sequencer. I made a quick POC in JS: https://codepen.io/kohlhofer/pen/ZEQXEKZ

Now that I finally have one I managed to port it to Lua. I first had it clocked but found it work best continuously and in combination with an external quantizer. Love to hear your thoughts. Quick video and script below. It is easy to make much more musical results, too :slight_smile:

17 Likes

It looks great! Can it go ā€œBWOI-OINGā€ if you ā€œflick itā€ with an impulse?

And what does it mean when you say that the springs follow the input voltages? E.g. is the force upon the spring end proportional to the distance from the input value?

1 Like

It does go booooingg.

The spring’s rest length is 0. One end is attached to the input and one to the output. From there it behaves as you would expect when you move the input :). The output has mass, there is friction/dampening and you can turn on gravity which means the output will ā€œdangleā€ down.

Each of the 4 springs has its own set of variables.

2 Likes