View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide

SC3server:SChopper

Home   How To   Code Pool   Public Library   Theory   Events
A strange sample mangler, with some pretty neat features, well I think
so... I made it after all :)

I can't find the 'attachments' link, i must be blind! So here is a link to my server:
here

Known Bugs

Features

// Examples

s=Server.local;
s.boot;

(
// use the "default" sample, a11wlk01.wav for testing
t = SChopper.new;
)

// add a file to an object
t.addFile("sounds/foo.aif");

// manually kill the object
t.groupFree;

(
// load some of your own files
// first argument is always a 2D list of files to load
// the optional argument, following the files, is the server to use
// server defaults to Server.local if nil
t = SChopper.new([
["sounds/foo.aif"],
["sounds/bar.aif"],
["sounds/bim.aif"],
["sounds/baz.aif"]
], Server.local);
)

// load some of your own files, and control some base features
(
t = SChopper.new([
// arguments are path, playback rate, notes, barLen, envelope type
// playback defaults to 1
// notes defaults to 8
// barLen defaults to 2
// envelope type defaults to perc (Env.perc) other option is asr (Env.asr)
["sounds/foo.aif", 2, 16, 2, "asr"],
["sounds/bar.aif", -1, 32, 4, "perc"],
["sounds/bim.aif", 1, 8, 1],
["sounds/baz.aif", -2, 16, 1, "asr"]
]);
)

Link to this Page