In 2010 I made an #AudioVisual piece using #Haskell, #OpenGL, and #SC3:
https://mathr.co.uk/blog/2010-03-12_bowntz.html
This weekend I ported it from Haskell to #C, using #SDL2 as framework including #audio in the same program (SC3 was overkill for the simple sounds, and maintaining Haskell code to keep working with changes to the ecosystem is too much busy-work).
I changed the colours (suggested by @netzzz), moved the #physics #simulation from the #video thread to the #audio thread for tighter timing (the SC3 version scheduled events with bundles), and added a #RingBuffer to send the visualisation data back to the video thread (for smoother animation with good a/v sync).
I also did various optimisations, using tables instead of trigonometric functions, using (client-side) vertex arrays instead of glBegin().
License changed from #GPL v3 or later to #AGPL v3 only, in anticipation of compiling it to run in the browser using Emscripten.
Code at:
https://code.mathr.co.uk/bowntz
There's still (at least) one bug: after some time the program freezes and uses 100% CPU, I think it happens when the ball count limit is reached. Takes a long time so will be hard to figure out what is going on...
#audiovisual #haskell #opengl #sc3 #c #sdl2 #audio #physics #simulation #video #ringbuffer #gpl #agpl
Cela dit, Trey Spruance, c'est un membre fondateur de Mr Bungle... spa non plus le total unknown guy...
(et si certains morceaux vous rappellent des trucs vous saurez d'où ça vient)
Cd DVD fait 2h37, et on y trouve ce titre :
Secret Chiefs 3 - Spiritus Intelligentiae: Jophiel
@melissasage for algorithmic synthesis the two biggest are #puredata and #supercollider.
#pd is boxes and wires graphical user interface, similar in some ways to #maxmsp . It also has external plugins for graphics and video.
#sc3 is text code, and has more support for things like multichannel signals with easy to use libraries for #ambisonics for spatial sound.
Both have active mailing lists.
Other software like #tidalcycles for #livecoding patterns use SC3 as a sound engine, and are probably easier to get musical results with quickly.
Pd has #netpd for collaborative jamming online, I don't know how busy it is but it has some nice sequencers instruments and effects, all built in Pd.
#puredata #supercollider #pd #maxmsp #sc3 #ambisonics #tidalcycles #livecoding #netpd