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

SuperCollider: convert a Dictionary to YAML

SuperCollider has a String:parseYAML method that can create a nested Dictionary: "{44: 'woo'}".parseYAML Dictionary[ (44 -> woo) ] But how to go the other way, output a YAML string given a (possibly nested) Dictionary?
Dan Stowell
  • 4,618
  • 2
  • 20
  • 30
1
vote
2 answers

SuperCollider FreqScope: change the frequency resolution

For some reason setting a non-default value for the width argument of FreqScope only makes the window bigger, the width of the displayed frequencies remaining unchanged. Could someone help me out? I'm using SC 3.5.3 on Windows 7. Thanks in…
Dan Stowell
  • 4,618
  • 2
  • 20
  • 30
1
vote
2 answers

Get Android application lib directory

I need to specify the location of some native libraries in my Android application. I was accomplishing this with a hard-coded string: public static final String DLL_DIR_STR = "/data/data/my.application.package/lib"; but wanted to get the path from…
Tbadams
  • 424
  • 1
  • 5
  • 20
1
vote
2 answers

How to implement an instrument/score pattern in supercollider?

I've been through a few of the tutorials, but none of them seem to get at what, in my opinion, is a sensible architecture: There are one or more Instrument instances, There is a Score which defines a set of Note objects, A Player class (maybe…
Dave
  • 7,555
  • 8
  • 46
  • 88
0
votes
1 answer

SuperCollider: How to process a log file in real time

I'd like to use SuperCollider to generate programmatic music based on output from a log file, generated on the same server. Programs will write to the log file and my sclang script will respond to the lines, in real-time, as they are written. The…
HappyDog
  • 1,230
  • 1
  • 18
  • 45
0
votes
0 answers

Super Collider Autocompletion Not Working

My Super Collider Autocomplete is not auto popping up when I typed at least 3 characters when creating a method. I was able to make the list appear when using the shortcut "Trigger Autocompletion" but it does not pop up automatically like my…
0
votes
1 answer

Changing SynthDef amplitude in realtime using OSC trigger/message and UGen

Sorry if this is very obvious, I'm very new to SuperCollider. I've followed a few suggestions from other threads but this application appears unique as I'm using OSC data from Max 8. I've run out of time so I'd hugely appreciate any suggestions. I'm…
0
votes
0 answers

How to make Tmux share only Vim commands and not text?

I'm trying to find a way of live-code music together with others, real time and collaboratively, like one would do in a document editor as Etherpad or Google Docs. I have tried some specific tools for that (e.g: Troop and Flok), but I would like to…
0
votes
1 answer

supercollider - access buffer information inside a `Pbind` that uses a buffer array

in brief i have an array of buffers; those are passed to a synth at random using a Pbind ; i need to access info on the current buffer from within the Pbind but I need help doing that ! explanation of the problem i have loaded an array of buffers…
paulhector
  • 85
  • 7
0
votes
1 answer

Supercollider is truncating console output in Post window

I am trying to find all devices options for my supercollider setup. Running ServerOptions.devices; ( https://doc.sccode.org/Reference/AudioDeviceSelection.html ) truncates the string that is output in the "Post window". This is the output: [ MME :…
flen
  • 1,905
  • 1
  • 21
  • 44
0
votes
0 answers

How to reduce redundancy in supercollider code?su

Greetings I wrote this piece in supercollider The code is currently a bit messy and introduces some redundancy, although it does what I want it to do, just with more lines of code then needed, and thanks to some bruteforcing (repeating identical…
tmm88
  • 17
  • 2
0
votes
1 answer

SuperCollider * marking the constructor method is not expected

I tried to create a Class and the constructor always gave me a Syntax Error about the *new method then I just copied the Example from the documentation: MyClass { // this is a normal constructor method *new { | arga, argb, argc | …
if-trubite
  • 159
  • 9
0
votes
1 answer

SuperCollider error: ServerOptions.memSize not understood

I ran into a memory error so I'm trying to allocate more memory to the server, as instructed by the IDE. However, it doesn't recognise the class method which is clearly documented. What could have possibly gone wrong?? There is absolutely nothing to…
0
votes
0 answers

Supercollider No sound while everything seems to be setup ok

I have a fresh instalation of supercollider 3.10.0. When I run: s.boot; { [SinOsc.ar(440, 0, 0.2), SinOsc.ar(442, 0, 0.2)] }.play; I should hear something right? But I hear no sound, while all other sounds apps do have sound. I tried this solution:…
0
votes
1 answer

Supercollider: scope of variables and arguments for additive synthesis using Mix.fill

I'm quite confused on how to implement parameters in additive synthesis. I'm trying to implement a system where I can sequence the following parameters: arbitrary number of partials, base frequency. I'm not sure of the feasibility of the arbitrary…
fstab
  • 4,801
  • 8
  • 34
  • 66
1 2 3
8 9