Readit News logoReadit News
errozero commented on 303Gen – 303 acid loops generator   303-gen-06a668.netlify.ap... · Posted by u/ankitg12
elevaet · 4 months ago
@errorzero - if you have the time would you be able to give more information on the Scales? This section is very interesting.
errozero · 4 months ago
Hey, the scales are just an array of numbers like this

    ['Darkness', [0, 1, 3]],
    ['Darkness2', [0, 1]],
    ['Single', [3]],
    ['Locrian', [0, 1, 3, 5, 6, 8, 10]],
    ['Aeolian', [0, 2, 3, 5, 7, 8, 10]],
    ['Mixolydian', [0, 2, 4, 5, 7, 9, 10]],
    ...
A scale is randomly selected at the start and then notes are randomly selected from that scale in the pattern generation, plus the root note number is added to each one.

So if you had the 'Darkness' scale selected and had the root dropdown set to 0, the notes in this scale would be C, C#, D# which is 0, 1, 3 if you count the keys on a keyboard. If you changed the root to 2, then it would become D, D#, F (2, 3, 5).

Hope that makes sense.

errozero commented on 303Gen – 303 acid loops generator   303-gen-06a668.netlify.ap... · Posted by u/ankitg12
errozero · 4 months ago
Hey, I made this a few years ago. I'm suprised to see it posted here today.

It was never finished and I was meaning to add a polyfill for the missing cancelAndHoldAtTime function for Firefox.

Edit: I've just hacked in a quick polyfill

errozero · 4 months ago
Update: The wav export feature now renders with all parameter changes, and I've fixed a bug that excluded the drone from the export.
errozero commented on 303Gen – 303 acid loops generator   303-gen-06a668.netlify.ap... · Posted by u/ankitg12
errozero · 4 months ago
Hey, I made this a few years ago. I'm suprised to see it posted here today.

It was never finished and I was meaning to add a polyfill for the missing cancelAndHoldAtTime function for Firefox.

Edit: I've just hacked in a quick polyfill

errozero · 4 months ago
Update: wav export now added
errozero commented on 303Gen – 303 acid loops generator   303-gen-06a668.netlify.ap... · Posted by u/ankitg12
djmips · 4 months ago
How do I export/save a pattern I like?
errozero · 4 months ago
It now has a simple wav export feature. Details here: https://news.ycombinator.com/item?id=44824142
errozero commented on 303Gen – 303 acid loops generator   303-gen-06a668.netlify.ap... · Posted by u/ankitg12
errozero · 4 months ago
I've just added a wav export feature. Currently it only exports with the knob positions as they are when the pattern first generates. You can choose how long the exported audio is.

It's a bit of a hack that re-opens the app in an iframe in the background using an offline audio context.

I'll come back to it at some point and make the export pick up the knob positions but I don't have time right now.

errozero commented on 303Gen – 303 acid loops generator   303-gen-06a668.netlify.ap... · Posted by u/ankitg12
ankitg12 · 4 months ago
I was randomly going over my past HN activity and bumped over this gem from here https://news.ycombinator.com/item?id=38624968 and posted :)
errozero · 4 months ago
Ah, I was wondering how it ended up posted here. Thanks!
errozero commented on 303Gen – 303 acid loops generator   303-gen-06a668.netlify.ap... · Posted by u/ankitg12
djmips · 4 months ago
How do I export/save a pattern I like?
errozero · 4 months ago
Currently, all you can do is save the url which contains all of the initial randomisation settings when a pattern generates. It doesn't update when moving sliders or anything, it's just the intial settings.

I'll look into adding a wav export feature.

errozero commented on 303Gen – 303 acid loops generator   303-gen-06a668.netlify.ap... · Posted by u/ankitg12
quatonion · 4 months ago
It's brilliant. Love it. I want to know more about the generation, it looks very well thought out. Worth an article in itself.
errozero · 4 months ago
Thank you! It's been a few years so I can't remember exactly without reading through the code but it's something like this:

It uses notes from the selected scale and octave (from the dropdowns). If the pattern is of an even length, say 16, it will split it into 4 chunks of 4, then randomly decide if it should generate new data for the chunk or copy the previous chunk. It uses the repeat slider for the probability on this.

It randomly applies the 303 modifiers (up, down, accent, slide) using probability set with the sliders on the pattern tab.

There's also an 'empty' slider which sets the probablity of an empty note appearing in a chunk.

errozero commented on 303Gen – 303 acid loops generator   303-gen-06a668.netlify.ap... · Posted by u/ankitg12
nzoschke · 4 months ago
Fun. I love the UI style.

See also the Endless Acid Banger:

https://www.vitling.xyz/toys/acid-banger/

And happy Acid August!

Every year we celebrate the 303 with a club night in SF.

https://ra.co/events/2208013

errozero · 4 months ago
I wish I could attend! I'm in the UK.
errozero commented on 303Gen – 303 acid loops generator   303-gen-06a668.netlify.ap... · Posted by u/ankitg12
errozero · 4 months ago
Hey, I made this a few years ago. I'm suprised to see it posted here today.

It was never finished and I was meaning to add a polyfill for the missing cancelAndHoldAtTime function for Firefox.

Edit: I've just hacked in a quick polyfill

errozero · 4 months ago
I've just updated this to make it a little bit easier to use on a phone. The knobs are now a bit chunkier and should respond better to touch and the instruments sit vertically instead of horizontally.

u/errozero

KarmaCake day925December 13, 2014
About
contact me: info at {my username} .co.uk
View Original