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

Filter an array to contain unique values in Supercollider

An array is created from external sensors and that array is constrained to a scale. Here's the sample code: ( ~weight = 70; ~array = ((~weight - 12) .. ~weight); l = Scale.majorPentatonic.degrees; // pentatonic scale j = (~array).collect { |i|…
Andrew Lazarus
  • 989
  • 2
  • 16
  • 25
0
votes
1 answer

Building Supercollider from source, wrong version of qt.

I have Linux Mint 19, and i really want to install SuperCollider. I cant do it by apt-get, because there is old version which do not support SuperDirt. I need to build it from source. I use this…
λjk.jk
  • 127
  • 1
  • 12
0
votes
1 answer

Ubuntu + SuperCollider, how to kill scsynth

I just started with SuperCollider (version 3.6.6 on 64 bit ubuntu 16.04) When I start my server (the default one), all other streaming stops working (youtube, spotify, etc.) Even after I quit they still do not work I tried s.quit;, s.freeAll;,…
amchugh89
  • 1,276
  • 1
  • 14
  • 33
0
votes
0 answers

Javascript Web Audio Multichannel Panning Algorithm

I recently got a job programming the audio system for a new virtual reality room at my school. My first task is to provide a panning algorithm for a sound system with an arbitrary number of speakers. So if there are 20 speakers, it needs to be able…
0
votes
1 answer

Control amplitude and release of Env using sample Buffer

I have a very short sample file, which plays via a Synth in the following loop. I want the sample's amplitude and duration to be matched by the amplitude and release of the Env of a separate oscillator. (Soon a live input will take the place of the…
Daniel B.
  • 1,650
  • 1
  • 19
  • 40
0
votes
1 answer

Function to creates buttons

I'm trying to create a function to create a button (so keep the "clean" code). Here is the code: ( Window.closeAll; ~w = Window.new( name: "Xylophone", resizable: true, border: true, server: s, scroll: false); ~w.alwaysOnTop…
user7558372
0
votes
1 answer

Why does EnvGen restart on every loop iteration and how to prevent this behavior?

How can I use EnvGen in a loop in such a way that it won't restart at every iteration of the loop? What I need it for: piecewise synthesis. I want e.g. 50ms of a xfade between first and second Klang, then a 50ms xfade between second and third Klang,…
Szczepan Hołyszewski
  • 2,707
  • 2
  • 25
  • 39
0
votes
2 answers

Python-osc message sending to SuperCollider

How do I send FFT information of phases and amplitudes to an oscillator bank in SuperCollider? It seems that I've misunderstood something but can't figure out what is wrong in my code: msg = osc_message_builder.OscMessageBuilder(address =…
bnc
  • 57
  • 2
  • 14
0
votes
2 answers

How to package SC instrument for beta testers?

I've built a sample instrument using the following architecture: A python script reads sample files from a Redis database stored on disk and sends OSC messages to super collider with the path and pitch of a random selection of N samples. On the SC…
jimijazz
  • 2,197
  • 1
  • 15
  • 24
0
votes
1 answer

In Supercollider I need to choose Ndefs to play and stop the previous from a list

Hi Iam using mindwave to control with OSC some Ndefs. I need to write a function that chooses from a list (eg [x, f]) the next and stops the previous. Also I need to be able to play only the first Ndef (eg x) and not the second (eg f) until I get…
0
votes
2 answers

OSC communication from scsynth to python with PyOsc

Communication from Python to scsynth via pyosc goes well, but instead when trying to receive in Python osc messages sent from scsynth audio server (just scsynth, not SuperCollider), I don't understand how to get the port scsynth is sending to. If I…
F.R.D
  • 143
  • 1
  • 11
0
votes
1 answer

What is the meaning of the error message "scheduler queue is full" in supercollider?

I am using a class that contains a function involving TempoClock.default.sched [I'm preparing an MWE]. If I make a new instance of the class and apply the function, I obtain following error message: scheduler queue is full. This message is…
Karlo
  • 1,630
  • 4
  • 33
  • 57
0
votes
1 answer

How to create and play a vector from samples of tones?

I'm reading through Mark Owen's "Practical Signal Processing" and an exercise in the second chapter says to "Create a vector containing samples of several seconds of a 400Hz sine wave at 32kHz."(question 2.3) Since the book doesn't endorse any one…
mjbraun
  • 117
  • 5
0
votes
1 answer

Trouble installing Dirt-Samples quark in SuperCollider for Tidal

I am trying to install Tidal, and I am running in to trouble installing the Dirt-Samples quark in SuperCollider 3.6.6. I followed the directions in the SuperDirt repository and put the SuperDirt, Dirt-Samples, and Vowel quarks in…
0
votes
1 answer

Passing an argument to a SynthDef doesn't register when synth is initialized

I have a simple SynthDef where I want to use the CCIn class, like so: ( SynthDef(\lfo_sin, {|bus, amp, myArg| var m = CCIn.new; var v = [300, 700, \exp].asSpec; var sig = SinOsc.ar(m.kr(0, myArg, v), mul:amp); Out.ar(bus,…
multivac61
  • 35
  • 1
  • 1
  • 8
1 2 3
8 9