Questions tagged [supercollider]

SuperCollider is an environment and programming language for real time audio synthesis and algorithmic composition. It provides an interpreted object-oriented language which functions as a network client to a state of the art, realtime sound synthesis server.

SuperCollider is an environment and programming language originally released in 1996 by James McCartney for real-time audio synthesis and algorithmic composition.

Since then it has been evolving into a system used and further developed by both scientists and artists working with sound. It is an efficient and expressive dynamic programming language which makes it an interesting framework for acoustic research, algorithmic music and interactive programming.

There are currently not many SuperCollider questions on Stack Overflow, so please consider also consulting the following useful sources:

126 questions
0
votes
2 answers

Debugging Supercollider OSCresponderNode

Anyone have an idea how to debug supercollider's OSCresponderNode? I'm trying to catch messages from another program with this : o = OSCresponderNode(nil, '/note', { arg t, r, msg; t.postln; r.postln; msg.postln; Synth( "guru2", [\mfreq, msg[1]]); …
interstar
  • 26,048
  • 36
  • 112
  • 180
0
votes
2 answers

Supercollider- SynthDef equivalent of using 2 different synths

If you have a function definition: { SinOsc.ar(440, 0, 0.2) }.play; The equivalent is: SynthDef.new("SinOsc", { Out.ar(0, SinOsc.ar(440, 0, 0.2)) }).play; for stereo, you simply say: SynthDef.new("SinOsc", { Out.ar([0,1], SinOsc.ar(440, 0, 0.2))…
Rithesh
  • 199
  • 7
0
votes
2 answers

SuperCollider -- Synthdef with mix of variable amount of SinOsc's

This code returns an error, but it works if I remove "arg" from line 4. What can I do to make n an argument and not get an error? ( SynthDef("test", { arg n=8; f=Mix.fill(n, { arg index; var freq,…
Joshua Meyers
  • 619
  • 1
  • 8
  • 17
0
votes
1 answer

SuperCollider patterns library: how to get a reference to the synths' nodeIDs?

Patterns library question: How can I get a reference to the Synth that is created by a Pbind? For instance, Pbind( \type, myCustomSynthDef, \midinote, Pseq([60, 62, 64], inf), \dur, 0.5 ).play gets me a repeating do-re-mi sequence. If I'd like to…
Dan Stowell
  • 4,618
  • 2
  • 20
  • 30
0
votes
2 answers

Overtone without SuperCollider

I want to use Overtone purely for purposes of sending data to midi instruments. Is there a quick way to load Overtone without SuperCollider support? I figured out that midi support can be added to a program by using overtone.studio.midi, but I'm…
t6d
  • 2,595
  • 3
  • 26
  • 42
0
votes
1 answer

What is the simplest way to play a sample/tone with given tempo in SuperCollider

I'm curious what is the easiest way to play a sound file or some frequency with given tempo. The easiest metronome you can implement. Any ideas?
ciembor
  • 7,189
  • 13
  • 59
  • 100
0
votes
1 answer

Mapping in SuperCollider

I am trying to map amplitude to a synth using a bus in order to smooth out the sine wave (remove high frequencies) based off of semi-random inputs from an outside source, but when I run this code, there is no sound. s.boot; ( SynthDef( \cello,…
0
votes
1 answer

SuperCollider: RecordNRT renders wrong duration

I want to render a sound sequence using RecordNRT. It already works, but the duration of the rendered file is too short. var p; [\BPM, MasterSequencer.instance.globalBPM].postln; [\BARS, this.bars].postln; this.sequenceDuration =…
0
votes
0 answers

(Haskell) Installing hsc3 in KXStudio (Ubuntu)

I'm trying to install hsc3 following this tutorial: http://rd.slavepianos.org/?t=hsc3-texts&e=lhs/hsc3-tutorial.lhs But I get this error: Sound/SC3/UGen/Type.hs:482:5: bitSizeMaybe' is not a (visible) method of classBits' Failed to install…
0
votes
2 answers

Why is this interpreter variable not understood?

I'm trying to loosely-couple OSC message bindings to the function that handles them: f = {|msg| msg.postln}; OSCFunc({|msg, time, addr, recvPort| f(msg)}, '/2/push1') I thought this was pretty straightforward. I could substitute f at any point, and…
David
  • 15,750
  • 22
  • 90
  • 150
0
votes
1 answer

Why doesn't Synth.new understand about scales?

I can set a scale like this: ~pp = Scale.phrygian(\pythagorean); I can then create a Pbind which plays the scale like this: ( Pbind( *[ instrument: \default, scale: ~pp, degree: Pseq([0, 1, 2, 3, 4, 5, 6, 7], inf), …
David
  • 15,750
  • 22
  • 90
  • 150
0
votes
2 answers

Difference between "type", "instance", "class" and "object" concepts

I am trying to understand the concept of classes and objects, and I came across to the words "type" and "instance". Does type mean exactly the same thing as class, and instance for object? Or is there a difference in between, such as a usage…
reincore
  • 345
  • 5
  • 11
0
votes
1 answer

SuperCollider without OSC

I have used PD in the past, but right now I'd like to try using SuperCollider for this one project. Specifically, I'd like to research control protocol and try swapping OSC for CoAP. I'm trying to figure how deeply scsynth depends on OSC? Is there…
errordeveloper
  • 6,716
  • 6
  • 41
  • 54
0
votes
1 answer

Can I send values in a Pbind that are interpreted like midinote or degree?

I'm not sure whether SuperCollider can deliver moons on sticks, but I'd really like to be able to specify values in my Pbind that are interpreted in the same way as midinote or degree: i.e. converted automatically to a frequency. So, an excerpt of…
David
  • 15,750
  • 22
  • 90
  • 150
0
votes
1 answer

How do I stop a Pmono?

I read through the documentation of Pmono and must have read it wrong. From the following I inferred that the node Pmono creates would be deleted after the Pmono finishes: "This node is created when entering a Pmono, and released when the Pmono…
David
  • 15,750
  • 22
  • 90
  • 150
1 2 3
8
9