-
Require files in your documents and they will be loaded in if they are one of the search paths. First looks relative to the current document then thought search paths in the order they are added. Add search paths with the *add() method in ...
-
... ly //please give credit if you use any of these in your code //---------- ~file= FileReader.read("/usr/share/dict/words"); //will take a little while to load ( ~fileFunc= { var b, c; b= ~file.choose[0]; c= ~file.choose[0]; b= ...
-
Helper function to extract audio from a youtube video, and save it to a file. Note: Linux/OSX/Unix only (uses .unixCmd), needs yt-dlp to be installed, the download procedure is synchronous // Helper function to extract audio from a youtu ...
-
Put your sound files in the sound file folder. The code plays random sound files panned out in the stereo field. A swarm of sound files. b = SoundFile.collectIntoBuffers("yourSoundFileFolder/*"); // By Bjørn Houdorf, December 21, 2012 ( ...
-
( var mergeFiles, window, selectButton, dragArea, displayText, extField, extFieldInitialString, mergeButton, selectedFolder; mergeFiles = { |currentDir, extension| var outputFileName, sourceFiles; if (currentDir.isNil or: { exte ...
-
basic OSC recorder, writes messages to zipped files. ( var beginTime; e = e ? (); e.oscMsgs = []; thisProcess.addOSCRecvFunc({|time, netAddr, msg| var relTime , cmd, sep; beginTime = beginTime ? time; relTime = time - begin ...
-
( var extension, scriptPath, currentDir, sourceFiles, outputFileName; extension = "scd"; // "txt" scriptPath = thisProcess.nowExecutingPath; if (scriptPath.isNil) { "Error: This script must be saved on disk.".error; } { curr ...
-
This code, based on uiae's blogpost takes a JPG file and replaces some bytes on it to mess up the codec. The result, some funny glitches // code found @ "http://uiae.de/?p=110" // based on: http://www.hellocatfood.com/create-jpgs-in-pure-d ...
-
... /disquiet.com/2012/12/20/disquiet0051-audiojournal/ This code will take 12 files (one representing each month) and make a chronological mix of random sections of each piece. INSTRUCTIONS: Set audiojournal to a location on your ...
-
This example shows how to record 4 output channels *as separate mono files*. Also shows how to pick a custom path and file name for the files. File type chosen is "wav" (instead of default "aiff"). // ===================================== ...