Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
conversations: list<item: struct<role: string, content: string>>
  child 0, item: struct<role: string, content: string>
      child 0, role: string
      child 1, content: string
text: string
to
{'text': Value('string')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              conversations: list<item: struct<role: string, content: string>>
                child 0, item: struct<role: string, content: string>
                    child 0, role: string
                    child 1, content: string
              text: string
              to
              {'text': Value('string')}
              because column names don't match
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

text
string
SuperCollider patch — 01-modal-gong.scd 01-modal-gong.scd -- struck metal: a bank of inharmonic modes The technique: a single-sample impulse carries equal energy into every mode of a resonator bank, so the BANK decides the pitch and the IMPULSE decides the strike. A gong's modes are not harmonic - the near-miss pairs ...
its amplitude, because a constant-skirt // resonator accumulates over its decay. Long decays are much louder than short // ones at the same amplitude setting. Get that balance wrong and the bank turns // into a bright hiss with no audible root - which is the single most common way a // modal model stops sounding like ...
long: 50 s at the root is a gong, and a few seconds is a thud. // This one number governs the fundamental's decay AND, because of the next // paragraph, how loud the fundamental is. rings = modes.collect { |m| (50 / (m ** 1.15)).clip(0.35, 60) } * decayScale; // Level per mode. This is the part that is easy to...
(modes * sp); freqsR = modes + (modes * sp); click = Impulse.ar(0, 0, 1); // A single-sample impulse carries equal energy into every mode, so the strike // level is small and the RESONATORS supply the loudness. This number is set by // measuring the result, not by taste: `sc_capture` reports the peak, and th...
SuperCollider patch — 02-plucked-string.scd 02-plucked-string.scd -- a waveguide string, plucked The technique: a burst of noise is fed into a delay line whose feedback is filtered. The filter makes high frequencies decay faster than low ones, which is exactly what a real string does, and the delay length is the pitch...
c = WhiteNoise.ar(1) * EnvGen.kr(Env.perc(0.0005, 0.02)); sig = Pluck.ar(exc, Impulse.ar(0), 0.05, freq.reciprocal, decay, coef); // A little body: the string alone is thin, so a gentle low shelf stays. sig = sig + LPF.ar(sig, 400); env = EnvGen.kr(Env([0, 1, 1, 0], [0.001, decay * 0.8, decay * 0.4], [\lin, \li...
SuperCollider patch — 03-fm-bell.scd 03-fm-bell.scd -- an FM bell: the falling index is the strike The technique: one sine (the modulator) is added to the frequency of another (the carrier). How far it pushes is the INDEX, and the index decides how many sidebands appear around the carrier: a high index is a bright, cl...
calls metal. Try `ratio` 2.7 or 4.13 as well. // // Play: // ~fmBell.value(440) // A4 bell, 6 s tail // ~fmBell.value(220, 0.25) // a lower, quieter bell ( SynthDef(\exFMBell, { |out = 0, freq = 440, amp = 0.65, index = 6, decay = 6, ratio = 3.5, pan = 0| var modFreq, bend, mod, car, env, sig; modF...
Synth(\exFMBell, [\freq, hz, \amp, level]) }; ) // ~fmBell.value(440); ```
SuperCollider patch — 04-plucked-karplus.scd 04-plucked-karplus.scd -- a Karplus-Strong string on a plain comb The technique: a short burst of noise goes into a delay line with feedback (a comb). The delay time is the pitch - delay 1/freq seconds and the burst repeats freq times a second - and the comb's decay time is...
a harpsichord. // // Play: // ~karplus.value(330) // E4, ringing for 4 s // ~karplus.value(110, 0.35, 8) // low and long ( SynthDef(\exKarplus, { |out = 0, freq = 330, amp = 0.4, decay = 4, bright = 2500, pan = 0| var burst, exc, string, sig, env; // The pluck: 20 ms of noise, already darkened by the ...
0.7, decay * 0.5], [\lin, \lin, -4]), doneAction: 2); Out.ar(out, Pan2.ar(LeakDC.ar(sig * env * amp), pan)); }).add; ~karplus = { |hz = 330, level = 0.4, ring = 4| Synth(\exKarplus, [\freq, hz, \amp, level, \decay, ring]) }; ) // ~karplus.value(330); ```
SuperCollider patch — 05-drum-kick.scd 05-drum-kick.scd -- a kick: a pitch sweep, and a click on top of it The technique: two things happen in the first 40 ms. A sine starts four times too high and falls to its target pitch, and that fast downward sweep is the beater hitting the skin - it is what the ear hears as "thu...
// 48 Hz, ~0.5 s // ~kick.value(38, 0.9, 1.2) // lower and longer ( SynthDef(\exKick, { |out = 0, freq = 48, amp = 0.9, pitchAmount = 4, decay = 0.5, click = 0.15, pan = 0| var pitch, body, thump, beater, sig; // The contour: pitchAmount x freq down to freq in 45 ms. pitch = EnvGen.kr(Env([pitchA...
+ 0.25 keeps even click = 1 under the ceiling. Out.ar(out, Pan2.ar(LeakDC.ar(sig * amp), pan)); }).add; ~kick = { |hz = 48, level = 0.9, len = 0.5| Synth(\exKick, [\freq, hz, \amp, level, \decay, len]) }; ) // ~kick.value(48); ```
SuperCollider patch — 06-drum-snare.scd 06-drum-snare.scd -- a snare: one tuned drum, plus a band of noise The technique: a snare is two sounds at once. The head is a drum - two tuned sine modes (the fundamental and a shallow shell's first overtone, 180 and 330 Hz here) with a decay measured in tens of milliseconds - ...
with 2.2 kHz is a fat rock snare, and pushing // `noiseLevel` alone gives you a drum machine clap. // // Play: // ~snare.value // the default crack // ~snare.value(150, 0.9, 0.09) // lower and much shorter ( SynthDef(\exSnare, { |out = 0, amp = 0.8, decay = 0.18, noiseLevel = 0.5, toneLevel...
).add; ~snare = { |hz = 180, level = 0.8, len = 0.18, wire = 0.5| Synth(\exSnare, [\freq, hz, \amp, level, \decay, len, \noiseLevel, wire]) }; ) // ~snare.value(180); ```
SuperCollider patch — 07-drum-hat.scd 07-drum-hat.scd -- a hi-hat: six inharmonic squares, high-passed hard The technique: metal is not noise. A hat is six square waves at deliberately inharmonic frequencies (301, 353, 421, 487, 611, 887 Hz - no two of them share a common multiple), summed and then high-passed. The sq...
up rather // than down before the filter. The cutoff also falls as the sound decays, so // the first millisecond is the brightest thing in the file. `open = 1` // stretches the decay into an open hat without touching anything else. // // Play: // ~hat.value(0) // closed, 60 ms // ~hat.value(1, 0.4) ...
}).add; ~hat = { |openness = 0, level = 0.5| Synth(\exHat, [\open, openness, \amp, level]) }; ) // ~hat.value(0); ```
SuperCollider patch — 08-pad-drone.scd 08-pad-drone.scd -- a detuned saw drone under a moving filter The technique: three sawtooth oscillators at the same nominal pitch, each a fraction of a Hz away from the next. They cannot stay in phase, so their sum swells and fades as they drift - that slow beating is a chorus ma...
ate` holds the voice. It is 1 by default, so the Synth sustains until you // release it - `Env.asr` fades it out over 2.5 s and then frees the node. // // Play: // ~p = ~pad.value(55, 0.2) // start the drone; keep the Synth // ~p.set(\cutoff, 2200) // open the filter while it sounds // ~p.set(\gate, 0) ...
// room, and LeakDC keeps the sub-audio drift out of the output. sig = LeakDC.ar(sig.sum * 0.5); Out.ar(out, Pan2.ar(sig * env * amp, pan)); }).add; ~pad = { |hz = 55, level = 0.2, cut = 900| Synth(\exPad, [\freq, hz, \amp, level, \cutoff, cut]) }; ) // ~p = ~pad.value(55, 0.2); // ~p.set(\gate, 0); ```
SuperCollider patch — 09-formant-voice.scd 09-formant-voice.scd -- a vowel: one source, three resonances The technique: the vocal folds are a buzzy source - here a sawtooth at `freq` - and the mouth is a filter. Three band-pass filters stand at the vowel's formants, the resonant peaks of the vocal tract, and the sourc...
crossfade between two vowels sounds // like. // // One gotcha: LinSelectX crossfades between its inputs, so it will not accept // plain numbers there - the formant arrays go through K2A, which turns each // number into an audio-rate constant. Without it sclang refuses the def with // "Select input was not audio rate"....
// neighbours, so a fractional vowel is a real in-between shape. K2A is what // makes the literals acceptable to LinSelectX, whose inputs must be signals. f1 = LinSelectX.ar(vowel, K2A.ar(#[730, 270, 300, 530, 640])); f2 = LinSelectX.ar(vowel, K2A.ar(#[1090, 2290, 870, 1840, 1190])); f3 = LinSelectX.ar(vowel, ...
SuperCollider patch — 10-glass-choir.scd 10-glass-choir.scd -- struck glass: an additive bank of inharmonic partials The technique: a single bank of `SinOsc`s, one per partial, summed directly. The RATIOS are what make it glass instead of organ: a struck bar rings at roughly 1, 2.76, 5.40, 8.93, 13.34, which are stret...
id range, 5 second ring // ~glass.value(880, 0.25, 9) // higher, longer, a little quieter ( SynthDef(\exGlass, { |out = 0, freq = 440, amp = 0.3, decay = 5, spread = 1, pan = 0| var ratios, weights, partials, layers, sumW, sig, env; // Stretched ratios of a struck bar, not consecutive harmonics. ratios = #[1, 2...
* spread)) * driftF) * (weights[i] / sumW); sigR = sigR * EnvGen.kr(Env.perc(0.006, partialDecay * 1.03, 1, -5)); [sigL, sigR]; }; layers = partials.flop; sig = [(layers[0].sum), (layers[1].sum)]; // One body envelope over the whole bank, so the strike is a single event. env = EnvGen.kr(Env([0, 1, 1,...
SuperCollider patch — 11-additive-organ.scd 11-additive-organ.scd -- a drawbar organ, held while the gate is open The technique: additive harmonic synthesis. A Hammond does not filter a buzzy waveform, it builds the tone by summing sine partials on the nine drawbars, and each drawbar level is one partial's amplitude. ...
3, medium registration // ~organ.value(110, 0.2, 1.8) // low and bright, clickier ( SynthDef(\exOrgan, { |out = 0, freq = 220, amp = 0.25, gate = 1, brightness = 1| var ratios, levels, tilt, tiltSum, tone, detune, chorus, click, env, sig; // Drawbar lengths: octave, octave + fifth, octave + third, two octaves. ...
lished. click = HPF.ar(WhiteNoise.ar(1), 2000) * EnvGen.kr(Env.perc(0.0005, 0.008)); env = EnvGen.kr(Env.asr(0.006, 1, 0.09, \lin), gate, doneAction: 2); sig = ((tone * 0.8) + (chorus * 0.25) + (click * 0.05)) * env * amp; Out.ar(out, Pan2.ar(LeakDC.ar(sig), 0)); }).add; ~organ = { |hz = 220, level = 0.25, brig...
SuperCollider patch — 12-grain-cloud.scd 12-grain-cloud.scd -- a granular cloud over a live internal source The technique: granular synthesis is many very short windows over a source. Here the source is an oscillator inside the synth rather than a sample, and `Impulse.kr(rate)` triggers one window per grain. Each grai...
SynthDef(\exGrains, { |out = 0, amp = 0.3, rate = 20, grainDur = 0.05, baseFreq = 220, spread = 0.5, gate = 1| var trig, pitchMul, src, window, sig, env; // One trigger per grain. trig = Impulse.kr(rate); // A new random pitch interval per grain, held for the grain. pitchMul = (LFNoise0.kr(rate) * spread).mi...
SuperCollider patch — 13-feedback-drone.scd 13-feedback-drone.scd -- a self-oscillating drone built from a feedback loop The technique: feedback is a delay plus a filter. `LocalOut` writes a signal into a one-block delay and `LocalIn` reads it back, so whatever the loop contains keeps circulating and accumulating. The...
// low, round drone // ~feedback.value(330, 0.99) // brighter and more resonant ( SynthDef(\exFeedback, { |out = 0, amp = 0.4, freq = 110, feedbackAmount = 0.98, gate = 1| var fb, shaped, harmonics, sig, env; // Everything the loop wrote on the previous control block, plus noise so // the loop has something...
DC blocked and soft-limited inside the loop: this is the safety catch. sig = LeakDC.ar(shaped + (harmonics * 0.3), 0.995); sig = Clip.ar(sig * feedbackAmount, -1, 1).tanh; LocalOut.ar(sig); // The audible tap is taken after the limiter, so it cannot exceed `amp`. env = EnvGen.kr(Env.asr(0.8, 1, 1.6, \lin), g...
SuperCollider patch — 14-fm-noise-texture.scd 14-fm-noise-texture.scd -- wind and water: noise through a moving filter The technique: filtered noise plus a moving filter is the basis of most environmental sound. There is no pitch here at all - the ear reads the filter's centre frequency, its Q and how fast both move, ...
Texture, { |out = 0, amp = 0.25, cutoff = 800, rq = 0.4, gate = 1, motion = 1| var src, lfo, band, breath, env, sig; // Pink noise: equal energy per octave, which is what most natural noise is. src = PinkNoise.ar(1) + (BrownNoise.ar(0.5)); // A slow random walk, not a sine: wind does not move periodically. lf...
hz = 800, q = 0.4, level = 0.25, move = 1| Synth(\exTexture, [\cutoff, hz, \rq, q, \amp, level, \motion, move, \gate, 1]); }; ) // ~texture.value(); ```
SuperCollider patch — 15-bitcrush.scd 15-bitcrush.scd -- amplitude quantisation plus sample-rate reduction The technique: two separate artefacts, often confused. BITCRUSH is amplitude quantisation - `.round(step)` snaps every sample to a grid, and the error the snapping leaves behind is the harsh, granular buzz. DOWNS...
~crush.value(220, 4, 8) // coarse quantisation, moderate hold // ~crush.value(220, 2, 40) // almost square, and ringing with aliases ( SynthDef(\exCrush, { |out = 0, freq = 220, amp = 0.3, bits = 4, downsample = 8, gate = 1| var steps, src, quant, rate, held, env, sig; // `bits` 4 means 2 ** (4 - 1) = 8 l...
s = 8, level = 0.3| Synth(\exCrush, [\freq, hz, \bits, b, \downsample, ds, \amp, level, \gate, 1]); }; ) // ~crush.value(220, 4, 8); ```
SuperCollider patch — 16-theremin.scd 16-theremin.scd -- a continuous, hand-moved lead line The technique: pitch slides instead of being selected, and there is no percussive transient at all. The absence of an attack is what makes this read as a bowed or sung instrument rather than a plucked one: a pluck is defined by...
, wide vibrato // // To play it live, hold the node and slide the pitch: // ~lead = Synth(\exTheremin, [\freq, 440, \glide, 7]); ~lead.set(\freq, 660); ( SynthDef(\exTheremin, { |out = 0, freq = 440, amp = 0.25, gate = 1, vibrato = 0.3, glide = 0.3| var slideTime, base, vib, sig, env; // The slide: `glide` semito...
2.ar(LeakDC.ar(sig * env * amp), 0)); }).add; ~theremin = { |hz = 440, level = 0.25, vib = 0.3, gl = 0.3| Synth(\exTheremin, [\freq, hz, \amp, level, \vibrato, vib, \glide, gl, \gate, 1]); }; ) // ~theremin.value(440); ```
SuperCollider schelp — 3Dj/HelpSource/Classes/AmbDec.schelp AmbDec Wrapper for AmbDec Category: Libraries>3Dj See also: Guides/3Dj, Classes/SpatialRender A convenience object for managing AmbDec. SpatialRender manages the instanciation and channel routing internally. ## new - configFile: Path to the desired AmbDe...
SuperCollider schelp — 3Dj/HelpSource/Classes/Motion.schelp Motion SSObject motion type Category: Libraries>3Dj See also: Guides/3Dj, Classes/SSWorld, Classes/SSObject Motion provide, through its subclasses, predefined dynamic behaviors to the receiving SSObject instance. All Motions provide a next method, which is...
\random ``` Random motion. Performs a series of rectilinear motions with random velocity and acceleration. It takes two arguments: the maximum value for the random velocity and acceleration vectors (default to 1), and the period (in s) of parameter recalculation (default to world.timeStep). ```supercollider o.setMot...
with the amplitudes (in m) in each axis. Default to [1,1,1]. Second argument is the motion period, in seconds. Default to [1,1,1]. ```supercollider \orbit ``` Orbital motion in the horizontal plane. The arguments are the angular velocity (in m/s), and the rotation direction (either ```supercollider \dex ``` for dex...
SuperCollider schelp — 3Dj/HelpSource/Classes/OrientationController.schelp OrientationController A class for managing interaction with an orientation sensing device Category: Libraries>3Dj See also: Guides/3Dj, Classes/SSWorld This class provides a convenience method for easy access to the events generated by an ori...
(pitch) value ## roll Get current roll value ## setAction Set an action to be performed when a new sensor value is received - key: a ```supercollider Symbol ``` representing the kind of data. Possible values: - ```supercollider \orientation ``` - ```supercollider \gravity ``` - ```supercollider \acceleration ``...
Answers whether the class is playing back Examples: ```supercollider ( // create a simple sound scene with 1 object w=SSWorld.new.showView; o=SSObject(w,loc:[3,0,0]); // setup the Orientation Controller c=OrientationController.new; c.setAction(\orientation,{|args,time| var azi = args[0]; var ele = args[1]; o....
SuperCollider schelp — 3Dj/HelpSource/Classes/SSObject.schelp SSObject A Sound Scene Object Category: Libraries>3Dj See also: Guides/3Dj, Classes/SSWorld, Classes/SpatialRender, Classes/Motion A sound object that lives inside a SSWorld SSObjects have a set of spatial and dynamic properties, such as position, veloci...
^2. ```supercollider Array ``` or ```supercollider Cartesian ``` in the format [x,y,z]. Default to [0,0,0] - mass: Mass of the object. Default to 1. Note: At the moment, the mass parameter has any effect in the physical model - size: Object size. Default to 1. Note: At the moment, the size parameter has any eff...
percollider nil ``` , the reference world will assign one automatically ## Object Properties ## channel Get the Jack channel associated with the object. ## setChannel Set the Jack channel associated with the object. - newChannel: Channel number ## name Get/set the object's name, as a ```supercollider Symbol ``` #...
percollider nil ``` , set only elevation, holding other values ## shape Get/set the object's shape - newShape: One of these symbols: - \point classical punctual source. Default - \ring arbitrary width ring-type surface around a virtual sphere's surface - \extended arbitrary squared surface around a virtual sphere's s...
## velSph Get/set the object's velocity, as a instance of ```supercollider Array ``` or ```supercollider Spherical ``` ## accel Get/set the object's acceleration, as an ```supercollider Array ``` or ```supercollider Cartesian ``` ## accelSph Get/set the object's acceleration, as a instance of ```supercollider Arra...
SuperCollider schelp — 3Dj/HelpSource/Classes/SSWindow.schelp SSWindow A Sound Scene Window Category: Libraries>3Dj See also: Guides/3Dj, Classes/SSWorld, Classes/SSView A nice, simple window with zoom slider, in which the SSWorld will be visualized. It is based in the RedQWindow class. Users should not worry about...
SuperCollider schelp — 3Dj/HelpSource/Classes/SSWorld.schelp SSWorld Sound Scene World Simulation Category: Libraries>3Dj See also: Guides/3Dj, Classes/SSObject, Classes/SpatialRender The world where the sound scene exists. It can contain an arbitrary number of SSObject. A ```supercollider SSWorld ``` presents som...
or ```supercollider Cartesian ``` with the world dimensions (in m) in each of the three axis, in the format [dimX,dimY,dimZ]. Default to [10, 10, 5]. - gravity: ```supercollider Array ``` or ```supercollider Cartesian ``` with the default gravity acceleration (in m/s^2) in each of the three axis, in the format [...
ider Cartesian ``` in the form [dimX,dimY,dimX] ## sweetSpotSize ## setSweetSpotSize - newSize: Radius in meters. Default to 2 m ## stepFreq Get/set the world's update frequency. ## rDiff Get/set the distance JND: minimum distance change (in spherical coordenates) to be considered as a different position. Default...
bject#*new - obj: an instance of ```supercollider SSObject ``` ## remove Remove completely the given object from the world - obj: An instance of ```supercollider SSObject ``` ## removeByName Remove completely the given object from the world - name: A ```supercollider \Symbol ``` with the object's name. ## contai...
ed. If ```supercollider false ``` , update it in a continuous way (every ```supercollider stepFreq.reciprocal ``` seconds) Default to ```supercollider false ``` ## showNames Show or hide the object names in the view ## closeWindow Closes the window ## Network Communication ## renderAddresses Get the list of all `...
ing message redundancy to the server). The user can set its value at any time through the set method. Examples: ```supercollider // // // // // // PHYSICAL MODEL // // // // // // // create a new world with dimension 10x10x10 // the coordinate system is located on the floor, half away from wals w = SSWorld([10,10,1...
w.viewDiff_(true) // something with more fun... ( t=Task({ inf.do{ w.gravity_((3.0.dup(3).collect(_.rand2)).postln); w.friction_(1.0.rand); w.gravity_(1.0.rand); 2.wait; w.gravity_([0,0,0]); 5.wait; } }); t.play; ); t.stop // if we want to stop an object, we use its method stop o.stop //...
't want to save a instance... SSObject(w) // a default name will be applied //...but we can still acces it by name (remember: it's a Symbol) w.getObject(\1).loc_([3,0,0]) // we can remove objects w.remove(o) // and also by name w.removeByName(\1) ```
SuperCollider schelp — 3Dj/HelpSource/Classes/SSWorldView.schelp SSWorldView A Sound Scene View Category: Libraries>3Dj See also: Guides/3Dj, Classes/SSWorld, Classes/SSWindow The view contained in a SSWindow, providing the methods to draw the scene. Users should not worry about it, since the represented world alre...
SuperCollider schelp — 3Dj/HelpSource/Classes/SpatDifLogger.schelp SpatDifLogger a SpatDifLogger Category: Libraries>3Dj See also: Guides/3Dj, Classes/SpatialRender, Classes/SpatDifPlayer This class provides the functionality to register all incoming OSC-SpatDIF messages and save them in a textfile, which can be aft...
writeLine Write a new SpatDIF command in the Time Section - msg: An Array containing a valid SpatDIF message, as formatted after NetAddr#-sendMsg - time: Timestamp of the message ## resetTime Reset the internal time ## save Save the file ## close Close the file ## deltaTime Get/set the minimum time interval, be...
SuperCollider schelp — 3Dj/HelpSource/Classes/SpatDifPlayer.schelp SpatDifPlayer a SpatDifPlayer Category: Libraries>3Dj See also: Guides/3Dj, Classes/SpatialRender, Classes/SpatDifLogger A SpatDifPlayer is capable of reading and reproducting an OSC-SpatDIF document version 0.3, as documented in http://redmine.spatd...
currently playing. This method will respond ```supercollider true ``` until one second after the task reachs the end, for compatibility reasons. ## verbose If verbose is set to true, outcoming messages will be printed Examples: ```supercollider (some example code) ```
SuperCollider schelp — 3Dj/HelpSource/Classes/SpatialRender.schelp SpatialRender a SpatDIF compilant spatial render Category: Libraries>3Dj See also: Guides/3Dj, Classes/SpatDifLogger, Classes/SpatDifPlayer A SuperCollider implementation of a Spatial Render. It reads OSC messages in SpatDIF format (from SSWorld or a...
: Reference to the server - spatDifLoggerPath: String with the path to the folder in which save the log files. If nil , the default path "~/.local/share/SuperCollider/SpatialRender" will be used When a ```supercollider SpatialRender ``` is instanciated, the server is (re)booted, in order to load VBAP and Binaural B...
and 3. Default to 3. - shape: One of the following - \point classical punctual source. Default - \ring arbitrary width ring-type surface around a virtual sphere's surface - \extended arbitrary squared surface around a virtual sphere's surface - \meridian a half meridian shape - internal: Private use ## Binaural #...
16. ## setMaximumDistance Set the maximum source distance used for the distance attenuation function. Default to 62500 m. ## setReferenceDistance Set the reference distance used for the distance attenuation function. Default to 1 m. ## absorptionModel ## setAbsorptionModel Select the air absorption model. The possi...
alAddr. It is responsability of the user to provide a correct address, when working in remote. ## addWorldAddress Add a ```supercollider NetAddress ``` to the SpatialRender#-worldAddresses list. ## removeWorldAddress Remove a ```supercollider NetAddress ``` from the SpatialRender#-worldAddresses list. Returns: Th...
## logOSC Set wheter the SpatDifLogger is active or inactive. ## autosaveOSC Activate or deactivate the autosave functionality of the log file. Default to true . ## autosavePeriod Get/set the period between consecutive autosavings of the log file. Default to 10 s. ## SpatDIF Player A SpatDifPlayer instance is prov...
swer whether the player is currently playing. See SpatDifPlayer#-isPlaying ## spatDifPlayer_verbose If ```supercollider true ``` , it will print all sended messages. ## Other ## verbose If verbose is set to true, outcoming messages will be printed ## close Close all OSCResponders, free all synths, close the OSC Log...
moment) // ...... // // // // // // SPATDIF LOG AND PLAYBACK // // // // // // // let's say we liked the sound scene we just produced. // everything is logged in... r.spatDifLoggerFilename // ...because the log option is by default set to true r.logOSC // we can stop the scene w.pause; // and playback it (remembe...
otion(\static); o.stop; o.loc_([2,0,0]); SSObject(w,loc:[5,0,0],channel:1); ); // there are two absorption models: 0 (no absorption) and 1 (lpf) r.absorptionModel r.setAbsorptionModel(0) // and 3 attenuation models: 0 (no attenuation), and 1 and 2 (around 1/r^2) r.attenuationModel r.setAttenuationModel(0) // we can ...
///// VBAP r.setSpatializationTechnique(\vbap) // by default, a 5.1 speaker array is provided r.vbapNumSpeakers r.vbapSpeakerArray r.vbapSpeakerBuffer // we can set the speaker array. // remember that the given speaker order is the output channels order r.setVbapParameters(VBAPSpeakerArray.new(2,[45,135,-135,-45])...
SuperCollider schelp — 3Dj/HelpSource/Guides/3Dj.schelp Introducing 3Dj Introduction to 3Dj: Tools for Interactive Sound Spatialization Category: Libraries>3Dj # Introduction 3Dj is a SuperCollider library that aims to provide a compact, complete and open framework for live sound spatialization. # Structure In a [...
from SSWorld. Possible current spatialization techniques are Ambisonics, VBAP and Binaural/HRTF. For a short tutorial, readers are encouraged to look through the examples provided in SSWorld and SpatialRender . # Features - Spatial Render: ##3D source position - Spatialization techniques: ambisonics, vbap and bi...
3-plugins ##ATK: Ambisonics Toolkit (binaural) ||http://www.ambisonictoolkit.net/wiki/tiki-index.php ##Scene Simulator - Quarks: MathLib, redUniverse ## SpatDIF SpatDIF is a scene description format, intended for the standardization of spatial sound information. It provides a unified system for spatial da...
d format. Ready to compile with Processing-Android # Further info All the code is provided under the GPL v3 license. The project has been developed by Andrés Pérez López as the practical implementation of the concepts developed in his Master Thesis at Music Technology Group, UPF, in collaboration with Fundació Barcel...
SuperCollider classlib — 3Dj/classes/AmbDec/AmbDec.sc Copyright (C) Fundació Barcelona Media, October 2014 [www.barcelonamedia.org] Author: Andrés Pérez López [contact@andresperezlopez.com] This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publ...
SuperCollider classlib — 3Dj/classes/Ambisonics/AmbEnc.sc Copyright (C) Fundació Barcelona Media, October 2014 [www.barcelonamedia.org] Author: Andrés Pérez López [contact@andresperezlopez.com] original Copyright (C) IEM 2005, Christopher Frauenberger [frauenberger@iem.at] This program is free software: you can redist...
Theta * sinPhi; z = sqrt3 * sinTheta; x = sqrt3 * cosTheta * cosPhi; ^[w, y, z, x]; } } // second order AmbEnc2 : AmbEnc { classvar <order = 2; *kr { |phi, theta, norm| var cosTheta, cosPhi, sinTheta, sinPhi; var sin2Phi, cos2Phi, sin2Theta, cosTheta2, sinTheta2; var w,x,y,z,v,t,r,s,u...
* sqrt3 / 2 * sinPhi * sin2Theta; r = sqrt5 * ((3 * sinTheta2) - 1) / 2; s = sqrt5 * sqrt3 / 2 * cosPhi * sin2Theta; u = sqrt5 * sqrt3 / 2 * cos2Phi * cosTheta2; ^[w, y, z, x, v, t, r, s, u]; } } // third order AmbEnc3 : AmbEnc { classvar <order = 3; /* Class method: *kr Control rat...
* switch (norm) {'N3D'} {f1=sqrt(3); f2=sqrt(5)};*/ cosTheta=cos(theta); cosPhi=cos(phi); sinTheta=sin(theta); sinPhi=sin(phi); sin2Phi=sin(2*phi); cos2Phi=cos(2*phi); sin2Theta=sin(2*theta); cosTheta2=cosTheta*cosTheta; sinTheta2=sinTheta*sinTheta; sin3Phi=sin(3*phi); ...
inPhi * cosTheta * ((5 * sinTheta2) - 1); k = sqrt7 * sinTheta * ((5 * sinTheta2) - 3) / 2; l = sqrt7 * sqrt3_8 * cosPhi * cosTheta * ((5 * (sinTheta2)) - 1); n = sqrt7 * sqrt15 / 2 * cos2Phi * sinTheta * cosTheta2; p = sqrt7 * sqrt5_8 * cos3Phi * cosTheta3; ^[w, y, z, x, v, t, r, s, u, q, o, m, k,...
SuperCollider classlib — 3Dj/classes/Ambisonics/AmbMEnc.sc Copyright (C) Fundació Barcelona Media, October 2014 [www.barcelonamedia.org] Author: Andrés Pérez López [contact@andresperezlopez.com] original Copyright (C) IEM 2005, Christopher Frauenberger [frauenberger@iem.at] This program is free software: you can redis...
x = 0; // v = (sqrt15 * cos(a) * sin(a)) / 2; t = 0; r = sqrt(5) / 4; s = 0; u = (sqrt15 * cos(2*a)) / 4; ^[w, y, z, x, v, t, r, s, u]; } } AmbMEnc3 : AmbMEnc { classvar <order = 3; /* Class method: *kr Control rate method providing the Ambisonics coeffs Parameter azi: ...
SuperCollider classlib — 3Dj/classes/Ambisonics/AmbMrEnc.sc Copyright (C) Fundació Barcelona Media, October 2014 [www.barcelonamedia.org] Author: Andrés Pérez López [contact@andresperezlopez.com] original Copyright (C) IEM 2005, Christopher Frauenberger [frauenberger@iem.at] This program is free software: you can redi...
w = 1; // y = 0; z = (2 * sqrt(3)) / pi; x = 0; // v = (sqrt15 * cos(a) * sin(a)) / 2; t = 0; r = sqrt(5) / 4; s = 0; u = (sqrt15 * cos(2*a)) / 4; ^[w, y, z, x, v, t, r, s, u]; } } AmbMrEnc3 : AmbMrEnc { classvar <order = 3; /* Class method: *kr Control rate ...
0; k = sqrt(7) / (3pi); l = 0; n = (sqrt35_3 * cos_2a) / pi; p = 0; ^[w, y, z, x, v, t, r, s, u, q, o, m, k, l, n, p]; } } ```
SuperCollider classlib — 3Dj/classes/Ambisonics/AmbSMEnc.sc Copyright (C) Fundació Barcelona Media, October 2014 [www.barcelonamedia.org] Author: Andrés Pérez López [contact@andresperezlopez.com] original Copyright (C) IEM 2005, Christopher Frauenberger [frauenberger@iem.at] This program is free software: you can redi...
<order = 2; *kr { |a, norm| // elevation, norm var w,x,y,z,v,t,r,s,u; var sqrt3 = sqrt(3); var sin_a = sin(a); var cos_a = cos(a); // var sqrt15 = sqrt(15); w = 1; // y = (2 * sqrt3 * sin_a) / pi; z = 0; x = (2 * sqrt3 * cos_a) / pi; // v = (sqrt15 * cos_a ...
End of preview.

SuperCollider MoE corpus

Training data for a small language model that writes SuperCollider — the audio synthesis language built into the DAW-like scsynth engine. If you have ever wanted a model that answers "write me a bell SynthDef" with code the compiler accepts instead of plausible-looking nonsense, this is the corpus for that, and the ladder is the record of how far it has got.

The point of the dataset is not raw size. It is that every code answer in the SFT set was compiled with sclang before it was written, and every release of the model that consumes it is measured the same way — so a number here means "the compiler accepted it", not "it looks like SuperCollider".

Profile: full · revision v0.1.19 · 17 files, 87.6 MB · repo vecnode/supercollider-moe-dataset

The ladder — what this corpus is being used to find

The corpus trains a 198M SuperCollider model, and the model is judged by four measurements on a fixed 12-prompt probe, each answer compiled with the real sclang:

measure bar what it means
compile ≥60% the blocks sclang accepts
bind ≥80% the patch binds every name before reading it
identity 100% it answers who are you as itself, not as a general assistant
drift ≥80% concept answers stay on SuperCollider instead of wandering

Every release below is a checkpoint on that ladder, newest first. A release is kept even when it loses, because the trade between the four measures is the finding:

tag run compile bind identity drift verdict
v0.0.18 exp-0058-gate9 27/36 (75.0%) 92% 100% 90% ALIGNED - all four bars, first clear
v0.0.17 exp-0055-gate7 23/39 (59.0%) 92% 83% 83% NOT ALIGNED - read->bug 17%
v0.0.16 exp-0054-gate6 20/35 (57.1%) 77% 100% 93% ALIGNED - the drift arm
v0.0.15 exp-0048-gate5 23/38 (60.5%) 79% 100% 80% ALIGNED - best on the code bars before v0.0.18
v0.0.14 exp-0044-gate2 20/32 (62%) 85% 83% 83% ALIGNED
v0.0.13 exp-0043-gatepost 25/39 (64%) 92% 100% 73% NOT ALIGNED - drift

The full record — every rung, every negative, the failure classes and the reasoning — is on the ladder branch: LADDER.md and ladder/revision.json. Nothing in it is edited away.

Start here

from datasets import load_dataset

pretrain = load_dataset("json", data_files="data/pretrain/train.jsonl", split="train")  # {"text": …}
sft      = load_dataset("json", data_files="data/sft/train.jsonl", split="train")       # {"conversations": […]}
print(pretrain[0]["text"][:200])
print(sft[0]["conversations"][1]["content"][:400])

Or without the library:

git clone https://huggingface.co/datasets/vecnode/supercollider-moe-dataset
wc -l data/pretrain/train.jsonl data/sft/train.jsonl    # 59,179 and 10,614
sha256sum -c checksums.sha256                            # every file, against its own record

Contents

file rows size sha256
data/pretrain/train.jsonl 59,179 58.2 MB 8454ed97da318f4d…
data/pretrain/val.jsonl 1,235 1.2 MB 01c2d5fc0542d3a0…
data/sft/train.jsonl 10,614 6.1 MB 8d45da567a95b1ad…
data/sft/val.jsonl 229 0.1 MB 1e67805e2de7ecdf…
data/sft/pool.jsonl 13,691 7.3 MB 53bcd9966033d515…
data/sft/coverage.jsonl 1,305 1.1 MB 6d2677537ba3e78b…
data/sft/teacher.jsonl 94 0.1 MB 74e4af14a1f151ef…
data/sft/teacher_read.jsonl 39 0.0 MB 8da21215bd400287…
data/final-pass/gate6-hx3.jsonl 2,893 1.8 MB 93e8e18949a524c1…
data/final-pass/gate7-mix1400.jsonl 3,593 2.2 MB 52046f4898cf765e…
data/final-pass/gate8-mix1400-i2.jsonl 3,614 2.2 MB 32ea1de8ba88ff90…
data/final-pass/gate9-mix1400-i2.jsonl 3,614 2.2 MB 99fce26dea896c4c…
data/final-pass/gate10-hx5.jsonl 3,996 2.5 MB 7b240dde88f9e59c…
data/final-pass/gate11-read.jsonl 3,848 2.4 MB 2865e4f337111296…

data/pretrain/* lines are exactly {"text": …}; data/sft/* lines are exactly {"conversations": [{"role": …, "content": …}]}. The schema is in SCHEMA.md, the gates that passed are in verify_report.md, and every file is hashed in checksums.sha256.

What it is

Six sources — the official SuperCollider tree, 321 Quarks, the sccode.org public dump, 700 scsynth.org threads, sc3-plugins, and the project's own .scd sessions — normalised, deduped, chunk-packed at 512 tokens with a document- and chunk-disjoint validation split, and turned into an SFT pool whose code answers were compiled with sclang 3.14.1 before being written (765 pairs dropped for not parsing).

Full provenance and the per-source licence table: LICENCES.md.

Intended use

Pretraining and supervised fine-tuning for small SuperCollider domain models: SynthDefs, UGens, Patterns, Ndef, buses, envelopes, and diagnosing why a patch does not compile. Not a general text corpus, and not a substitute for the SuperCollider documentation, which is the better teacher and is one of the sources.

If you use it to train, measure the same way: compile the answers with the real compiler, and check that the patch binds the names it reads. SCHEMA.md and the ladder branch describe the exact protocol.

Where the model is

The consumer of this corpus, vecnode/sc-minimind-3-moe, is a private repository: its weights are private while the weight licence is undecided. The dataset is public; the model is not. Every release's measured numbers are on the ladder branch of this repo, so the result is readable even where the weights are not.

Try a checkpoint by hand

The source repository ships the harness used to test a checkpoint by ear rather than by number: harness/live/. It serves a page with two buttons — Generate (the model answers, through the same bracket guard and the same sclang compile gate) and ▶ Play this in SuperCollider, which sends the answer's code to the machine's own scsynth and frees it when it is done. That is the only honest test of "does this patch make a sound": compiling is not playing.

python scripts/serve_sc.py --root data/ladder --run exp-0058-gate9 --weight full_sft     --port 8710 --play-seconds 8     # then open http://127.0.0.1:8710/

Licence and takedown

This is the full profile, published as license: other. It includes text derived from sccode.org, which states no licence, and from scsynth.org, whose posts belong to their authors. It is published with takedown on request and is not a grant of rights over that text: if you own material here and want it removed, open an issue or contact the account and it will be removed from the next revision.

If you need a build whose every source is redistributable, ask for the cleared profile (sccode removed, Quarks licence-filtered); it is the build intended for v1.0.0. It does not exist yet, and this card will say so until it does.

Versioning

Every upload is a commit. Working revisions are tagged v0.1.x and increment on any data or manifest change. The training harness records the revision in each experiment's config.json, so a run names the exact bytes it used — check a release against checksums.sha256 and against the ladder branch.

Downloads last month
22