3 ms·
The pattern generation logic[1] is surprisingly simple. [1]: https://github.com/vitling/acid-banger/blob/main/src/pattern.ts#L44 https://github.com/vitling/aci
by joshka 6y ago
The pattern generation logic[1] is surprisingly simple.
[1]: https://github.com/vitling/acid-banger/blob/main/src/pattern.ts#L44 https://github.com/vitling/acid-banger/blob/main/src/pattern...
- abetusk 6y agoYeah, very nice. This gets something right that so many other generative music experiments get wrong, which is variation in note length (aka tempo). You see other generative music use Markov Chain for note choice but not note length and it quickly becomes very "same-y", whereas this has, for the vast majority of melodies it generates, a natural feel (to me). I wish I understood the WebAudio API better to get a better handle on how the instruments are created.