Project: processing-sc / sc_utils

Utility functions ported from SuperCollider's client language.

When developing applications that interface with SuperCollider's synth engine, it is frequently useful to be able to access the powerful set of client-side functions provided by sclang. This source file proves ports of many such functions, including:

  • converting between frequency and MIDI note values
  • 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

No documentation is available; please consult source comments for further information. Almost all of these functions are virtually direct ports of their SuperCollider client equivalents.

Download: sc_utils.java (12KB)