News for hackers. Stuff that matters.
Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by ssalazar on Saturday September 18, 2021 @03:29AM (#28574388)
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.
Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by ArtWomb on Saturday September 18, 2021 @08:11AM (#28575586)
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 browser?

Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by ssalazar on Saturday September 18, 2021 @02:20PM (#28578187)
> 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 P... by bullen on Saturday September 18, 2021 @03:57AM (#28574485)
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?
Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by zebproj on Saturday September 18, 2021 @10:44AM (#28576643)
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

Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by bullen on Saturday September 18, 2021 @05:16PM (#28579383)
Do you know if they have a .js implementation? Or some lightweight C one?
Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by CyberDildonics on Sunday September 19, 2021 @05:32PM (#28588130)
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?
Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by tom4000 on Saturday September 18, 2021 @07:31AM (#28575344)
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?

Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by rollcat on Saturday September 18, 2021 @07:57AM (#28575504)
> But isn't Midi the equivalent to SVG

MIDI (1.0) is more equivalent to NES/GameBoy-style sprites. It was designed almost exclusively with piano-like keyboard controllers in mind, suffers from a lot of 80's-era hardware limitations, heavily biased towards western music, relies completely on the sound bank for actual rendering (you can't even set your own pixels on a sprite - you can only say "paint a Mario here"), relies in some places on vendor-specific extensions, overall really it hasn't aged as nicely as say TCP.

A true "SVG, but for music" kind of equivalent would be an insanely interesting and challenging project. I'm not even sure if it should strive for more of a middle ground (so it can gain widespread adoption), or for flexibility (so it doesn't constrain creativity and allows expressiveness).

Also check out: MIDI 2.0, OSC.

Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by bullen on Saturday September 18, 2021 @05:14PM (#28579366)
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 P... by duped on Saturday September 18, 2021 @08:14AM (#28575605)
MIDI is more analogous to a coloring book than SVG
Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by tellersidd on Saturday September 18, 2021 @09:17AM (#28576014)
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.

Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by bullen on Saturday September 18, 2021 @05:17PM (#28579389)
Do you know if any of these have open-source projects?
Re:ChucK: Strongly-Timed, Concurrent, and On-the-Fly Music P... by rollcat on Saturday September 18, 2021 @07:40AM (#28575391)
csound? pd?