Hacker News

triska
Dogalog: A realtime Prolog-based livecoding music environment github.com

thomascountz19 hours ago

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/

runevault18 hours ago

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.

som17 hours ago

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

FelipeCortez19 hours ago

7thaccount20 hours ago

This reminds me of streudal:

https://strudel.cc/

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

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

liotier19 hours ago

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.

xonix18 hours ago

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

mparis21 hours ago

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.

vilterp19 hours ago

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

linesofcode18 hours ago

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

AlecSchueler17 hours ago

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

doug-moen15 hours ago

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...>

Avshalom19 hours ago

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

Avshalom19 hours ago

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

chrisjj5 days ago

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

aethrum21 hours ago

Volume warning on that demo, lol

hn-front (c) 2024 voximity
source