Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1751) Code (181) Doc (594) Help (194) Quark (744) Plugin (38) SCDoc ↗ Forum ↗ Google ↗
  1. Intro-FOA-Examples Doc

    ... ndfile read from disk // read a whole sound into memory // remember to free the buffer later! // (boot the server, if you haven't!) ~sndbuf = Buffer.read(s, Atk.userSoundsDir ++ "/b-format/Anderson-Pacific_Slope.wav") ~sndbuf = Buffer.read( ...

  2. GrainRenderer Quark

    ... fier; // if nil, unique date string used. var <>comment; var <controlVals; var <buffers; var controls, usefulControls, numControls = 0; var <>sRate = 44100, <>format = "int24", <>headerFormat = "AIFF", <>blockSize = 128; *new {|synthDef, nu ...

  3. Abusing Convolution2 to make pitch by jamshark70 (jamshark70) Code

    ... he convolution kernel (impulse response). The first example does this with a buffer containing BrownNoise (shaped by a Hanning envelope). The second example adds timbre control by crossfading between three different Convolution2 results. ...

  4. Function to extract audio from youtube + example usage by gosub (gosub) Code

    ... ~file).postln; ~ytdl.(~rr, ~file); ("download complete:" + ~file).postln; ~buffer = Buffer.read(s, ~file); ) ( // BUFFER MUST BE STEREO! SynthDef(\hellish, { |out, bufnum, descent=20, dist=7| var beat = 60/113; var cuts = [ ...

  5. XiiBufferOnsetPlot Quark

    /* b = Buffer.read(s, "sounds/birta.aif"); // 2 channels b b.numChannels b = Buffer.read(s,"sounds/a11wlk01.wav"); // 1 channel b = Buffer.alloc(s, 44100 * 2.0, 2); // a four second 1 channel Buffer b = Buffer.read(s,"sounds/break"); // 1 c ...

  6. FINAL SCRATCH2 by bbates (bbates) Code

    ... hort2.play; ~fmnoise.play; ~fmclouds2.play; //SAMPLING ( ~buf1 = Buffer.readChannel(s, "/Users/benbates/Desktop/Ahh.wav", channels: [0]); SynthDef("1", {arg rate = 1, amp = 1, buffer, startPos = 0, attack = 0.02, release = ...

  7. KeyMode Doc

    ... except as noted below. // With standard hop of half FFT size = 2048 samples b = Buffer.alloc(s,4096,1); // for sampling rates 44100 and 48000 //b = Buffer.alloc(s,8192,1); // for sampling rates 88200 and 96000 ⧉ ✔ keydecay [sk] Number of se ...

  8. PV_SpectralMap Doc

    ... h a large window size may cause CPU spikes. Class Methods PV_SpectralMap. new ( buffer , specBuffer , floor: 0.0 , freeze: 0.0 , mode: 0.0 , norm: 0.0 , window: 0.0 ) Arguments: buffer The FFT buffer to filter. specBuffer The FFT buffer to ...

  9. XiiPlayer Quark

    ... freshButton, playButton, r, filename, timeText, secTask; var soundfile, player, buffer, task, volSlider, openButton, volume; var folderSounds, addedSounds, addedSoundNames, sounds, soundNames; var cmdPeriodFunc, group, openFolderButton; add ...

  10. PV_MagAbove Doc

    ... nly bins whose magnitude is above a threshold. Class Methods PV_MagAbove. new ( buffer , threshold: 0.0 ) Arguments: buffer FFT buffer. threshold Magnitude threshold. Inherited class methods Instance Methods Inherited instance methods Examp ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow