r _Web.log

tag: supercollider

github migration

Some new appearances on github/ideoforms:

SuperCollider UGen templates for Xcode

K http://www.erase.net/projects/sc_xcode/

Tired of doing search-and-replace on the SuperCollider distribution code when developing unit generators, I figured it was about time that some kosher Xcode templates existed for the purpose. And lo, here they are.

Features a standard audio/control rate UGen, plus a version which performs dynamic memory management and thus requires a destructor function.

Prime Composition

A short sound study in the structure of the number sequence. Each positive integer is broken down into its prime factors, with each factor corresponding to a harmonic partial. We then proceed to count upwards, for each integer only playing those harmonics which correspond to its factors.

More info and full source code (Processing, SuperCollider) available on the Prime Composition project page (coming very shortly).

Upcoming workshop: Simulating and Sonifying Natural Systems

K http://openlabworkshops.org/

As regular visitors will be aware, I am strongly in favour of a nonlinear approach to musical composition: organising sounds in space via models of nondeterministic systems and processes, such as AtomSwarm's flocking ecosystem, The Fragmented Orchestra's soundscape neural-net, and some more recent experiments in self-organized sound (more to be published very soon).

I'm co-ordinating a workshop on such topics next Thursday (15th October) at London's Space Studios, part of OpenLab Workshops's Fall 2009 series. It presupposes basic working knowledge of Processing or Java; some experience of SuperCollider would also be useful but inessential.

Here's the blurb:

Simulating and Sonifying Natural Systems

An increasingly popular practice in digital arts is creating sonic representations of dynamical systems -- simulating natural phenomena such as insect swarms, tree growth, wind turbulence and neural networks, and translating such phenomena into sound, to create organic, dynamic audio-visual works.

Working from a basic knowledge of the Java-based Processing environment, Daniel Jones explains how to create such a simulation and subsequently connect it to the open-source SuperCollider synthesis engine, providing a valuable addition to a digital artist's toolkit.

6pm, 10 entry (or 15 also including the following Arduino Basics workshop), at:

Space Studios, 129 131 Mare St, Hackney E8 3RH.

Nearest transport: Bethnal Green (tube), London Fields (Overground), Buses see http://www.spacestudios.org.uk/contact/SPACE/

..and here's the rest of the season's programme.

sc_utils: Helper functions ported from SuperCollider to Processing

K http://www.erase.net/projects/p5_sc/sc_utils

In support of the p5_sc library, which provides the ability to communicate with SuperCollider's synthesis server from Processing, I've developed and amassed a series of basic helper functions ported from SC's client library. These provide frequently-used operations when interfacing between control and audio-generation objects, including:

  • converting MIDI note values to cps
  • random number generation with nonuniform distribution
  • value clipping
  • mapping between value ranges (linear and exponential)
  • support for Spec objects, including a global named Spec register

It's undocumented, besides code comments, but hopefully useful.
Download sc_utils here.