Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Dogalog: A realtime Prolog-based livecoding music environment (github.com/danja)
81 points by triska 4 days ago | hide | past | favorite | 18 comments




This reminds me of streudal:

https://strudel.cc/

https://larkob.github.io/strudel/tutorial/

I've seen some cool demos on YouTube from SwitchAngel.


Both have a music domain specific language, but they differ in essential ways:

- Strudel, TidalCycles and FoxDot are temporal-first, designed for live performance, with code rewritten on the fly.

- Dogalog is a constraints-solving composition system, for offline use.


How are things going with Sonic Pi?[1] I have lots of fond memories and don't remember there being many strongly popular alternatives some years ago... though maybe I was living under a rock (..and roll).

[1]: https://sonic-pi.net/


Feels like more and more of these sorts of things are popping up. For example there's TidalCycles which is a Haskell version of the idea, which also exists as https://strudel.cc/ which is I believe a webasm version of it.

Other way round, no? TidalCycles predates Sonic Pi by a number of years

Really? Color me corrected I only ran into TC after SonicPi.

Though this entire discussion reminds me I need to fix my TidalCycles setup, had it working on Linux with vscode but I tried it out again a month or two ago and it wasn't playing anymore.


Really appreciate the focus on education and a11y with sonic pi - a genuine differentiator


Reminded me of bytebeats (though I admit it's a different thing): https://bytebeat.demozoo.org/#t=0&e=0&s=44100&bb=5d00000100f...

I haven't tried the demo but I love this idea!

Would be cool if I could somehow constrain a chord to a key then enumerate the scale degrees that I want so I can make some real funky sounds that don't fit the standard Chord Qualities.


Very neat. Would love to see events for each instrument laid out along a timeline!

Love this! Musically I’m a noob but this I can understand!

Looks great! But on latest Android Chrome here, the live demo plays two hits then silence.

I have absolutely no idea what to do with this but I'mma play around with it.

also just pops into my head https://dbs.informatik.uni-halle.de/microlog/ for an entirely unrelated and completely different project that welds time onto prolog

Was it vibe-coded or is it just the README? Not a critique, just a question.

Yes, it was vibe-coded, and the author says they still haven't learned Prolog yet. <https://www.reddit.com/r/livecoding/comments/1pmabwv/dogalog...>

Volume warning on that demo, lol



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: