Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (177) Code (11) Doc (44) Help (12) Quark (110) SCDoc ↗ Forum ↗ Google ↗
  1. Load and play samples from GUI (Qt GUI only) by rukano (rukano) Code

    ... d playing them from GUI buttons. !!! Needs Qt GUI !!! (VLayout) var make; var dialog = Dialog.openPanel({ |list| make.(list) }, nil, true); var win = Window("Sample Player 3000").front; var samples = (); var buttons = (); make = { |pa ...

  2. Re: Load and play samples from GUI (Qt GUI only), adapted to use SoundFile:cue by lfsaw (LFSaw) Code

    ... you can start and stop playing the samples //samplePlayerGUI var make; var dialog = Dialog.openPanel({ |list| make.(list) }, nil, true); var win = Window("Sample Player 3001").front; var samples = (); var buttons = (); var players ...

  3. Sound file position selector GUI by 0-2U (grirgz) Code

    Sometime you want to play a certain part of a sound file, but you must provide the Synthdef with the starting and ending buffer frame number. It's nice to be able to select it graphically. <Space> play the selected part (or till the end if ...

  4. Simple GUI for WavesetsEvent by ian-m-fraser (IMF) Code

    ... n buttons[0] .states_( [["Switch File", Color.black]] ) .action_({|obj| Dialog.openPanel({ | path | var ws = WavesetsEvent.new; ws.readChannel(path, onComplete: { ~wavesets = ws; ~path = path }) }); }); //start button b ...

  5. A QuNeo's Sampler melodic and expressive with different scales by sebastienclara (sebastienclara) Code

    ... scalePopUp.valueAction = (scalesIndex); selectSampleButton.action = { Dialog.openPanel({ arg pathFile; ("sample =>" + pathFile).postln; buffer = Buffer.read(s, pathFile); }); }; window.onClose = { padsDegree.si ...

  6. Method help re-ordering utility by 0-7r (jamshark70) Code

    ... , in the new order. Then you can copy/paste these back into the schelp file. ( Dialog.openPanel { |path| var f = File(path, "r"); protect { if(f.isOpen) { m = f.readAllString; } { "Couldn't read %".format(path).warn; } ...

  7. Granular Sampling GUI Demo 2 by bruno (Bruno Ruviaro) Code

    ... "do nothing"}, { player.stop; player = nil; }); // Let user select files: Dialog.openPanel( okFunc: {arg pathList; pathList.do({arg path; bufferList.add(Buffer.readChannel(s, path, channels: [0])); displayFileName ...

  8. Granular Sampling GUI Demo 1 by bruno (Bruno Ruviaro) Code

    ... ; // Stop whatever is playing s.freeAll; startButton.value = 0; Dialog.openPanel( okFunc: { |path| soundFile = SoundFile.new; soundFile.openRead(path); // Load sound into buffer buffer = Buffer.readCh ...

  9. Spectrum and Spectrogram of a sound file by jcc (jcc) Code

    ... Color.new(0.63915638923645, 0.61455166339874, 0.3189784526825)]]) .action_({ Dialog.openPanel( okFunc: { |path| sfPath = path; soundFile = SoundFile.new; soundFile.openRead(path); sfSampleRate = soundFile.sampleRate; ...

  10. SpacePan - A Spatial Audio Environment by audioholic (audioholic) Code

    ... / ----- save current session saveprj = { var array, snaps, fxparas, file; Dialog.savePanel( { arg path; file = File(path ++ ".txt", "w"); fxparas = [ gui.roomsens.value, gui.roomfreq.value, gui.roomdamp.value, ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow