TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

I need to grow away from these roots

459 pointsby HansardExpertover 1 year ago

21 comments

semi-extrinsicover 1 year ago
This person is also the creator of the marvellous &quot;endless acid banger&quot; which you can waste hours with in your browser, and which made me get my own physical 303 clone to start derping around with.<p><a href="https:&#x2F;&#x2F;www.vitling.xyz&#x2F;toys&#x2F;acid-banger&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.vitling.xyz&#x2F;toys&#x2F;acid-banger&#x2F;</a><p>Also of note: all the demos open to a silent &quot;click to start&quot; screen, and all the autoplaying videos are muted by default even, like on TFA.
评论 #39172569 未加载
评论 #39174177 未加载
评论 #39180080 未加载
评论 #39170272 未加载
jameshartover 1 year ago
Something fascinating about seeing a &#x27;score&#x27; for generative music written out as a sort of specification like that.<p>There&#x27;s enough detail there that you can take those instructions and reimplement your own version of it, and you&#x27;ll end up with essentially the same &#x27;piece of music&#x27;, but certainly a different interpretation of it. Because while the score lays out some details precisely, it leaves other choices less clear. What does &#x27;all inversions&#x27; really mean when enumerating chords? Does it include open, spread voicings? What durations should we choose from for our random waveforms? How short is &#x27;short&#x27; when deciding to repeat? And of course, what wave synths should you use, and how should you modulate them?<p>All those are similar to the decisions a traditional instrumentalist makes when interpreting a sheet music score for performance - here, a generative music coder can follow this &#x27;score&#x27; and produce a program that represents their own interpretation of the piece.<p>Coding it up in Sonic Pi (<a href="https:&#x2F;&#x2F;sonic-pi.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sonic-pi.net&#x2F;</a>) was a fun exercise, and I feel like I was able to produce something along the lines of what the composer intended. It carries the same kind of mood that the recording in the video has. But it&#x27;s my own &#x27;performance&#x27; of the work, if that makes sense (even if it&#x27;s actually Sonic Pi &#x27;performing&#x27; it at runtime...)<p>All of which got me thinking about the relationship more generally between specification, and implementation. Considering different programmers&#x27; implementations of algorithms as individual &#x27;performances&#x27; of scores from the overall design - and then thinking about developers building elements of a larger system architecture as individual performers working to deliver their part of the performance as part of a band or orchestra. Some groups, maybe they&#x27;re directed by a conductor-architect; others maybe are improvisers, riffing off one another and occasionally stepping up to deliver a solo. And some are maybe solid session performers, showing up and delivering strong but unflashy performances to a producer&#x27;s specification.<p>So overall, a nice meditative coding exercise for a Sunday afternoon, and a shift in perspective. Thanks for sharing it.
评论 #39178580 未加载
评论 #39172209 未加载
评论 #39171195 未加载
评论 #39171825 未加载
评论 #39173064 未加载
krickover 1 year ago
Can somebody recommend some music theory book&#x2F;course for this algorithm or the one in <a href="https:&#x2F;&#x2F;www.vitling.xyz&#x2F;toys&#x2F;acid-banger&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.vitling.xyz&#x2F;toys&#x2F;acid-banger&#x2F;</a> to make sense? Obviously, there are some pretty simple rules to predict that something sounds alright, some more complicated ones, and baroque music is notoriously algorithmic. But I still have no clue.<p>I tried to research something across these lines before, and I cannot quite recollect what exactly was the problem with the books I came across on my own (I think it was mostly just too basic to be useful), but somehow I never got any &quot;general&quot; understanding of &quot;how music works&quot;. Even though I&#x27;ve got some very basic solfeggio training long time ago (admittedly, I was too young to ask questions I now find interesting and understand what&#x27;s the purpose of what we were doing there, but at least I can read the notation).
评论 #39173082 未加载
评论 #39176194 未加载
评论 #39174993 未加载
评论 #39173414 未加载
评论 #39174758 未加载
mrbover 1 year ago
Tip for author: you can drastically reduce hardware &amp; software complexity of this project by removing the Arduino and use this library which allows controlling WS281x strips directly from your Raspberry Pi: <a href="https:&#x2F;&#x2F;github.com&#x2F;jgarff&#x2F;rpi_ws281x">https:&#x2F;&#x2F;github.com&#x2F;jgarff&#x2F;rpi_ws281x</a><p>I use it myself on a Pi 4 to control a WS2815 strip of 466 pixels on the fascia of my house, for holiday decorations.
sgt-hendersonover 1 year ago
There&#x27;s some fun music theory lurking inside this project. It turns out that every transition from one chord to another via the algorithm described is either from one chord to itself (e.g., C major to an inversion of itself or adding&#x2F;removing a 7th), or one of the three basic Neo-Riemannian transformations: P, L, or R.<p>Go check out the Wikipedia page on Neo-Riemannian theory for more details, but here are a few key facts about P, L, and R: For any chord x, then if x is major, then P(x), L(x), and R(x) are all minor. If x is minor, then P(x), L(x) and R(x) are all major. P, L, and R are all inverses of themselves, so that P(P(x)) = x, and so on for L and R. It&#x27;s possible to reach any major or minor chord from any other major or minor chord by some sequence of P, L, and R transformations. For example, from C major, applying L then R gets you to G major; applying R then P gets you to A major; and applying L then P gets you to E major.<p>Hopping around via Neo-Riemannian transformations are a quick way to use smooth voice leading to get to a &quot;remote&quot; key center (i.e., one that doesn&#x27;t have many scale tones in common with the key you started in), but I was surprised when listening to the piece how (relatively) stable the harmony seemed. What&#x27;s interesting here is that because of the way the algorithm is constructed, P transforms are much less common than L or R transforms (or just staying with the same chord) -- and crucially, P transforms are a vital ingredient in quickly moving to remote keys. By my rough calculations (which assume the Markov process has reached steady state and ignore the limits on min&#x2F;max pitch), only 1&#x2F;27th of all chord changes are P transforms. It also turns out that in steady state, 7th chords are more common than simple triads by a ratio of 16:11.
j1eloover 1 year ago
Curious about one of the technical details, I&#x27;m only asking to learn more about the limits of the RPi:<p>couldn&#x27;t this all be done only with the Raspberry Pi, using all those GPIO pins that it has? Feels like it is being underutilized and the project ought to be simplified to a single board (a single mains connection needed would be a very nice consequence too)
评论 #39169947 未加载
评论 #39169872 未加载
crawsomeover 1 year ago
I love how they wrote it out in pseudocode for everyone to understand. I&#x27;ve worked on projects like this (just the music generation part) and I greatly appreciate how they presented it.<p>And for someone to have a video demo, it just makes it better. Lots of code projects die before they take off because the author only described it with a wall of text.
whitepaintover 1 year ago
This is really cool, would be nice to get detailed instructions how to build something like that.
评论 #39169246 未加载
Lucasoatoover 1 year ago
That could be the intro for a Four Tet set :)
评论 #39170001 未加载
jacquesmover 1 year ago
This is beautiful. Imagine an alien planet where the plants are like this. Maybe a forest of them can sync up the way metronomes and firebugs synchronize.
评论 #39203483 未加载
yobboover 1 year ago
<p><pre><code> Find all the chords from the set that have all but one note in common with the playing chord. Choose one of these at random. Go back to 3 and repeat forever. </code></pre> This means a fairly small group of chords. Not sure it covers more than one key.
评论 #39178400 未加载
psynisterover 1 year ago
Seems like they are being slashdotted or whatever it&#x27;s called these days.
评论 #39174514 未加载
评论 #39170816 未加载
fb03over 1 year ago
That was frigging awesome!!!
danwillsover 1 year ago
Awesome! reminds me of the tight-audiovisual sync style of the demoscene, but in hardware? Hope it gets explored some more!
woliveirajrover 1 year ago
Somehow reminded me of Jean Michel Jarre
评论 #39173076 未加载
ehntoover 1 year ago
I love nature, spend a lot of time in the forest. I find it all beautiful. Yet, sometimes, I am struck with disgust as somehow my image of trees swaps. Suddenly I imagine trees like an insidious growth on the surface of the planet. Like when you see fungi growing from a humans skin, I am involuntarily picturing trees through the same lens.<p>It is breif, but weird. Anyway, this is a really beautiful display, it&#x27;s branches feel closer to tendrils, and I imagine if the music had picked minor chords predominantly this would be an experience closer to my negative view of trees. Thankfully the power of music prevails.
评论 #39172394 未加载
评论 #39177581 未加载
paraph1nover 1 year ago
What do I search for to find music&#x2F;audio like this? It sounds so beautiful.
评论 #39173449 未加载
评论 #39174033 未加载
blackqueerirohover 1 year ago
I need one of these now! How much to make me one?
评论 #39178324 未加载
评论 #39172056 未加载
评论 #39175148 未加载
评论 #39170523 未加载
HansardExpertover 1 year ago
Generative audio-visual ambient light sculpture<p>WS2812B &#x2F; Arduino &#x2F; Raspberry Pi &#x2F; C++
评论 #39169933 未加载
ruinedover 1 year ago
that&#x27;s that shit i like
uwagarover 1 year ago
cheesy kitsch
评论 #39173122 未加载