Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (473) Code (27) Doc (143) Help (30) Quark (269) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. extString-fileManagement Quark

    ... l = true| if( bool ) { ^this.postln }; } isFile { ^PathName( this ).isFile; } isSoundFile { var sf; if( this.isFile ) { sf = SoundFile.new; if( sf.openRead( this.standardizePath ) ) { sf.close; ^true } { ^false }; } { ^false } } isFolder { ...

  2. Core_04 Quark

    ... Idx * 2] = sample; data[(sampleIdx * 2) + 1] = sample; lastFreq = freq; }; sf = SoundFile.new; sf.numChannels = 2; sf.sampleRate = sr; sf.headerFormat = "WAV"; sf.sampleFormat = "int16"; ok = sf.openWrite(outPath); if(ok.not) { ("SAVE SELEC ...

  3. bufPerc Quark

    ... s might need open and closed samples). Here, give an array listing paths to the soundfile(s). If you're using only one sample, you still have to wrap the path in an array: ["sounds/a11wlk01.wav"]. bufCoords: By default, the whole of each so ...

  4. bufPerc Quark

    ... s might need open and closed samples). Here, give an array listing paths to the soundfile(s). If you're using only one sample, you still have to wrap the path in an array: ["sounds/a11wlk01.wav"]. bufCoords: By default, the whole of each so ...

  5. CTK Quark

    ... Array}); messages = []; test = true; // complettion = []; path.notNil.if({ sf = SoundFile.new(path); test = sf.openRead; test.if({ numChannels = sf.numChannels; channels.notNil.if({ (channels.size < numChannels).if({ numChannels = channels. ...

  6. XiiBufferPlayer Quark

    ... us s, \addToHead); }); },{ synthList[i].free; synthList[i] = nil; }); }); ); // soundfiles sfdropDownList.add(GUI.popUpMenu.new(win,Rect(120+(virIndex+i*rowspace), 135+lowRow , 100, 18)) .items_([]) // was sndfiles, but this is loaded later ...

  7. ZeroXBufRd Quark

    ... t = s; s.options.memSize = 8192 * 32; s.reboot; s.scope; s.freqscope; ) // load soundfile into buffer // allocate buffer for zero crossings ( p = Platform .resourceDir +/+ "sounds/a11wlk01.wav" ; b = Buffer .read(s, p); z = Buffer .alloc(s, ...

  8. ATK Quark

    ... e.exists(Atk.systemSoundsDir), { "Atk.systemSoundsDir exists, will not download soundfiles".warn; this.halt; }, { this.createSystemSupportDir; }); }, { if(File.exists(Atk.userSoundsDir), { "Atk.userSoundsDir exists, will not download soundf ...

  9. plusSpec-makeView Quark

    ... \n"; } { missing = ""; }; vws[ \listdoc ] = Document().string_( missing ++ "all soundfile paths:\n" ++ vws[ \val ].collect(_.path).join("\n") ).promptToSave_(false); }); view.view.onClose_({ if( vws[ \listdoc ].notNil ) { vws[ \listdoc ].cl ...

  10. AssemblageFx Quark

    ... nVar = "input"}; dash = "/"; Platform.case( \windows, {dash = "\\"; } ); path = soundFilePath ++ dash++ "IR" ++ dash ++ impulse ++ ".wav"; file = SoundFile.new; file.openRead(path); numChan = file.numChannels; file.close; numChan.do{|index| ...

prev 21 22 23 24 25 26 27 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow