Live data from Hacker News

ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music Programming Language

chuck.cs.princeton.edu

21–28 of 28 posts

Re: ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music Programming Language

#21
post #15

How does ChucK compare to Sonic Pi? https://sonic-pi.net/

This comes up a lot. Sonic Pi is not a audio programming language. It's a composition language that is a front end to an audio language. Sonic Pi sends requests for audio to SuperCollider under the hood. Chuck is comparable to SuperCollider, Csound, RCMix, Faust, that sort of thing. Sonic Pi is comparable to Overtone, Common Music, my own Scheme for Max/Pd, that sort of thing.

  > my own Scheme for Max/Pd, that sort of thing.
I think I ran across your video on the "Music with Lisp" YouTube channel some time ago. Neat stuff!

Re: ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music Programming Language

#22
post #13
post #5

Ha, great to see ChucK on here again! I'm one of the early developers of ChucK along with its creators, Ge Wang and Perry Cook. Happy to answer any questions anyone has.

I use ChucK all the time since forever. And in completely different contexts. Generating blips for UI handlers or random audio data to test an FFT implementation. It really is the easiest music programming language to grok, and the built in concurrency primitives are awesome ;) I wonder if its possible today to port the RTAudio lib ChucK is based on to the Web Audio API. Can we possibly see a ChucK.js for use in brow…

> I wonder if its possible today to port the RTAudio lib ChucK is based on to the Web Audio API. Can we possibly see a ChucK.js for use in browser?

This is in fact underway! Jack Atherton has been working on this though I am not certain of its current progress. Its certainly a lot more practical now with AudioWorklet now being available in all major browsers.

Re: ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music Programming Language

#23

according to the tutorial, SinOsc s => dac; is a valid program, but i get [chuck]: no active JACK server detected (or connection error)... [chuck]: no audio output device with requested channel count (2)...

Hey there, sounds like the audio IO engine itself is not successfully able to start or connect to Jack- is the Jack server running? That said Im a little rusty with Linux audio so might not be the best help here!

Re: ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music Programming Language

#24

Earlier quoted context omitted.

This comes up a lot. Sonic Pi is not a audio programming language. It's a composition language that is a front end to an audio language. Sonic Pi sends requests for audio to SuperCollider under the hood. Chuck is comparable to SuperCollider, Csound, RCMix, Faust, that sort of thing. Sonic Pi is comparable to Overtone, Common Music, my own Scheme for Max/Pd, that sort of thing.

> my own Scheme for Max/Pd, that sort of thing. I think I ran across your video on the "Music with Lisp" YouTube channel some time ago. Neat stuff!

thanks, yes that's my channel for Scheme for Max/Pd stuff!

Re: ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music Programming Language

#25
post #10
post #8

Earlier quoted context omitted.

I have been waiting for the audio equivalent to svg for pictures for an eternity now, why has nobody made a synth sound addition to midi?

That sounds like a neat idea. Reminds me on SoundFont. But isn't Midi the equivalent to SVG, Wave the equivalent to BMP, Flac to PNG and MP3 the one to JPEG?

Last I checked that's what people told me I was looking for, but when I tried to find some implementation that worked with .js I was stumped...

Re: ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music Programming Language

#26
post #20
post #8

Earlier quoted context omitted.

I have been waiting for the audio equivalent to svg for pictures for an eternity now, why has nobody made a synth sound addition to midi?

Module file formats [0] have been around since the 80s, and they can kind of be thought of as MIDI files with sound samples embedded in them. You can get some very impressive sounding full-length tracks in only a few kilobytes. 0: https://en.wikipedia.org/wiki/Module_file

Do you know if they have a .js implementation? Or some lightweight C one?

Re: ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music Programming Language

#27
post #8

Earlier quoted context omitted.

I have been waiting for the audio equivalent to svg for pictures for an eternity now, why has nobody made a synth sound addition to midi?

As mentioned, there are so many languages for music/synthesis. pd, csound, SuperCollider, max/msp. I don't know how you can want this so bad an not run into these. I mean I had the csound book like 15-20 years ago.

Do you know if any of these have open-source projects?

Re: ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music Programming Language

#28
post #26
post #20

Earlier quoted context omitted.

Module file formats [0] have been around since the 80s, and they can kind of be thought of as MIDI files with sound samples embedded in them. You can get some very impressive sounding full-length tracks in only a few kilobytes. 0: https://en.wikipedia.org/wiki/Module_file

Do you know if they have a .js implementation? Or some lightweight C one?

Are you asking for library recommendations for a simple standard used extensively for the last 35 years when there are already 6 libraries linked in the wikipedia page you were given?
Post reply on HN