jodrellblank

Marshall Lochbaum's APL-derived language BQN has some nods towards audio synthesis too:

https://mlochbaum.github.io/BQN-Musician/synth/index.html

show comments
jart

How do we get it to play Kompressor? https://youtu.be/9tlA0IyKjiI

show comments
octetta

On the C-side, I'm going to add a UDP listener to the code so I can send k-synth incantations live from Emacs (something I did for my skred program at the suggestion of an Emacs user). Let me know if anyone wants to know about this when it's usable. On the desktop app side, I use miniaudio (thank's Macron) so this is portable to the usual suspects. I also made a single header file cross platform midi library which I have some devious plans for in this space. Stay tuned.

octetta

A warning... if you save a setup to JSON, it naively stores the generated waveforms put in slots and the notebook, so the files can become quiet large. I have a plan to just keep the code behind the waves and regenerate the waveforms at load time.

octetta

I have a CLI and desktop versions on github (all MIT license)

https://github.com/octetta/k-synth https://github.com/octetta/ksynth-desktop/

it's been a blast to play with... and a great excuse to learn array languages

hmokiguess

Pretty cool, one suggestion for the site would be to have templates you can quickly load, copy, edit, and share. Sort of like strudel.cc has!

show comments
UncleEntity

> ...and the right-to-left evaluation logic.

The evaluation order doesn't matter as much as you don't really know what kind of function/operator you have at parse time so have to do a bunch of shenanigans to defer that decision until runtime while still keeping it efficient. Kind of fiddly to get right but once it works, it just works.

Claude and me (and a ton of decades old research) pretty much figured out all the complications in the APL parse/eval stack (https://github.com/dan-eicher/AiPL).

show comments
steveBK123

This is great

show comments
jdontillman

See also: Stanley Jordan, "APL For Music".

https://dl.acm.org/doi/pdf/10.1145/75144.75174

(!!!)

(Wait, what? That Stanley Jordan?) (Yep.)

show comments