tehn / awake Goto Github PK
View Code? Open in Web Editor NEWnorns: awake
norns: awake
Expected a manual / readme when coming here. ❤️
Dear tehn, thanks a lot for this wonderful script. I like it a lot.
For more convenient sampling sequences into my Deluge I implemented start/stop/continue in the script.
awake-start-stop.lua.txt
Feel free to integrate. Or would you prefer a pull request?
If you like it, I could implement a toggle parameter for the users to choose whether they want this behaviour.
hi @tehn, thanks for this wonderful dynamic and deep script. i feel like i keep finding interesting patterns as i randomize the two loops. i was interested in saving+loading from the menu so i made my own branch: https://github.com/schollz/awake. i think this differs from the regular save in that it provides naming in way that will allow easy sharing, as i think i'd like to also add a possibility to share saves, via another menu to upload/download.
i'd like to know if either of these things is something within the realm of your script and you'd like a pr, or if not, i'm totally happy keeping it as a fork.
I noticed that when using Awake with crow that notes "next" to each other don't trigger. They become tied notes.
Initially I thought this might be because the note length was set to 100% (I could see 100% note length meaning tied notes) but changing it doesn't make a difference. Looking at the code it seems like there's a metro that's responsible for note off events which calls a function to turn off notes but it only include this functionality for MIDI (see https://github.com/tehn/awake/blob/master/awake.lua#L138) and not for crow.
I made a dumb fix by adding the following on this line.
elseif params:get("output") == 4 then
crow.output[2].volts = 0
And by replacing this line with
crow.output[2].volts = 5
This works, but oddly enough changing the step length doesn't seem to influence the duration of the high "pulse". Not really sure why.
And I guess it might be better to use the pulse
action on crow? We'll need to changing it's duration to match the note length somehow in that case though.
Also because the all_notes_off
function always gets called there's no way to get tied notes when using MIDI.
What is the desired behavior? And how we can fix the current implementation to get that behavior?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.