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
1 answer

Supercollider: Applying FX to a group seems to affect other groups

I have created separate groups on supercollider for each instrument so that I may apply FX, like echo, to the group and only affect one instrument rather than all instruments playing on that sc server. On the node tree, the echo synthdef correctly…
Phil Busby
  • 33
  • 5
0
votes
1 answer

Is there a way to use the list output from a jinja2 `range` function directly in a template?

I'm using jinja2 to template a supercollider startup file. I have a variable {{ sc_option_numOutputBusChannels }} from which I need to generate a list. Specifically, if sc_option_numOutputBusChannels = 8, then I need to create the following…
cleary
  • 113
  • 5
0
votes
1 answer

python receive OSC message from Max

I am a fairly experienced python user, but I have no experience with OSC protocol, MAX and SuperCollider. I am helping a friend in building a python code that should do the following: receive a message from MAX via OSC elaborate the message in…
brodegon
  • 231
  • 2
  • 12
0
votes
1 answer

Using MouseDown with SuperCollider: non-GUI implementation

I want to use MouseDown in SuperCollider and am having a helluva time. Is it the case that only mouseDownAction actually works with anything? I want to be able to click anywhere on the screen, and have the mouse coordinates print, e.g., to the post…
0
votes
2 answers

Iteration in supercollider

I need a help with syntax of iteration using .do ; I have this function: ( {var freq; freq = [[660, 880], [440, 660], [1320, 880],[220,660]].choose; SinOsc.ar(freq, 0, 0.1); }.play; ) I try to iterate over it so in each iteration I will get…
Omer
  • 19
  • 3
0
votes
1 answer

Combine tuples of unknown type satisfying the same constraint

In a nutshell Given this function: > :i set set :: ( VividAction m -- This isn't important. , Subset (InnerVars params) sdArgs -- This says `params` is a subset of -- `sdArgs`, perhaps in a…
Jeffrey Benjamin Brown
  • 3,427
  • 2
  • 28
  • 40
0
votes
1 answer

Python - Booting program SuperCollider with a file

I am attempting to write an automated startup system for the FoxDot module in python using supercollider. My main problem right now is when I run the following code: if(running == False): startup = thisdir+"/FoxDot/startup.scd" #the location…
Moz
  • 31
  • 3
0
votes
1 answer

Is it possible to output JSON data from the OpenPose library in real-time?

I'm trying to use the OpenPose pose estimation library (C++) to output body position information in order to create sound using SuperCollider. The JSON information is outputted as a file, I would like to output the data in real-time. I have tried…
PanFat
  • 3
  • 1
  • 3
0
votes
1 answer

Switch structure control for OSC msg

I’m new to SC and the whole music programming thing in general. I’ve done a python app, that reads a text and sends word by word to SC through OSC. The text is only the words ‘miau’ and ‘guau’ repeated for fun and to try it out. Another thing kind…
sophiet
  • 13
  • 7
0
votes
2 answers

Communication with Python and Supercollider through OSC

I'm trying to connect Python with Supercollider through OSC, but it's not working. I'm using Python3 and the library osc4py3. The original idea was to send a text word by word, but upon trying I realized the connection was not working. Here's the…
sophiet
  • 13
  • 7
0
votes
1 answer

How to start and change Synth?

I'm fiddling with SuperCollider + OSC and right now i don't seem to get the proper understanding of it. This code should do: start a server define a synth start an instance of the synth mount a listener to alter the sin frequency through remote…
Imperative
  • 3,138
  • 2
  • 25
  • 40
0
votes
1 answer

How to get OSC to interact with Scheduling Routine in Supercollider

I am trying to use OSC messaging as a method of scheduling tasks/routines in Supercollider. Specifically I want a routine to wait until a message is received via OSC before resuming. So instead of (for example) 10.wait I want - something like :…
Kammo3
  • 51
  • 4
0
votes
2 answers

How can I construct UGens with more than 5 arguments in JCollider

JCollider is a Java client for the SuperCollider sound synthesis server. It has a stupid arbitrary limit of 5 arguments when constructing UGens. (see Documentation for UGen here) I'm referring to the ar method. They made made multiple copies of that…
Nathan
  • 6,095
  • 10
  • 45
  • 54
0
votes
1 answer

Error message 'addr' not understood en Supercollider 3.9

I have been using Supercollider 3.8 for a long time and have decided to change the version to 3.9.3, but it has brought us problems, currently the script.scd returns the following error: ERROR: Message 'addr' not understood. RECEIVER: Instance of…
Alejandro
  • 21
  • 6
0
votes
1 answer

Wait for OSCdef message in Supercollider, play an event but wait X time before next event

If i'm using OSCdef to listen for changes from a function, such as: OSCdef('listen', { arg msg; ~trigger = msg[5]; // This value is 0 when off, 1 when on ~amp = msg[3].linexp(0.0, 1.0, 0.7, 0.8 ); ~dur = msg[4].linexp(0.1, 1.0,…
Andrew Lazarus
  • 989
  • 2
  • 16
  • 25
1 2 3
8 9