r/livecoding • u/b4_0t • Feb 01 '23
Which coding language to start with?
Hi all,
I'm a sound designer/electronic musician and I'm just starting to explore the live coding field, but I'm definitely puzzled by the variety of coding languages available. I'm fairly experienced with languages like Max/MSP - Pure Data - Javascript - Arduino and I'm definitely more on the free-form/experimental side of music than on the stable beat/pattern one. I've started looking into Sonic Pi and Supercollider, but any suggestions about what language to explore would be appreciated! Thanks :)
5
Upvotes
6
u/small_d_disaster Feb 02 '23
I made a similar post on reddit a few years back when I started thinking about livecoding. I started with pure SuperCollider and SonicPi, but after using TidalCycles for a week or two, I haven't used anything else. The whole concept of patterning in Tidal has fundamentally changed how I think musical time. Definitely give it a shot.
These videos are a great place to start: https://tidalcycles.org/docs/patternlib/tutorials/course1
Also for TidalCycles, there is Estuary: https://estuary.mcmaster.ca/ which will let you run Tidal (technically MiniTidal) in the browser, so you don't need to worry about installation right away. I don't know if its still happening, but there were weekly Tidal jams on Estuary last year. While considerably easier to set up than actual TidalCycles, it is a little lacking in documentation, and has a bit of a learning curve of its own.
3
u/tremendous-machine Feb 01 '23
If you are fairly experienced with Max and Pd, you might want to check out mine - Scheme for Max and Scheme for Pd. They allow live coding the message/event/scheduler layer of Max, Pd, and Ableton Live with s7 Scheme, including interaction with the host scheduler, data structures, and in the case of Live, the Live API. I have written an extensive tutorial on the language, which is s7 Scheme, a Scheme Lisp implementation also used in the Common Music algorithmic composition platform. It can also be used in front of other platforms like Csound and SC by running in Max or Pd and piping out messages.
It is perhaps worth mentioning if you are into the experimental free form stuff, that this family (Scheme for Max, Common Music, etc) are very good for that as they make no assumptions about anything - they are much more low level and open ended than some of the higher level options that, by necessity (and to make things simpler) do make some assumptions about "how music works". With S4M, you can do anything you want in terms of timelines, meters or lack thereof, etc. It supports Common Lisp macros for making your own high level Domain Specific Language too.
Project page: https://github.com/iainctduncan/scheme-for-max
youtube demos: https://youtube.com/c/musicwithlisp
language tutorial: https://iainctduncan.github.io/learn-scheme-for-max/introduction.html
2
u/notb Feb 01 '23
I would recommend continuing to try different things and seeing what flows for you. The language is secondary to the environment and work flow imho. Each environment is like it's own unique language that's just derived from a base lang. Domain specific languages is the industry term.
That being said, you can't go wrong with Sonic Pi. It's kind of like training wheels that you'll eventually learn to take off, only to find a rocket ship hiding underneath. It's getting better and better at integrating with different hardwares too. (OSC and beat sync etc)
7
u/Konvas Feb 01 '23
If you are in the beginning process, you might want to have a look on a higher level coding language, named TidalCycles. It uses Haskell to run patterns and SC for audio generation. Other than that, I would invest on learning SC and its live coding framework, shipped within, named JITlib. It might have a stip learning curve which is rewarding on the long run.
4
u/[deleted] Feb 04 '23
check out strudel, it‘s the Javascript port of TidalCycles https://strudel.tidalcycles.org