rhoadley.net music research software blogs
aru seminars m&t critski focm1a cmc circuit bending mic2b sensor technology comp 3 sonic art major project
youtube vimeo facebook
Resources: Bioacoustics Jitter MaxMSP OSC Physical PD CBHH sTech SuperCollider C/Xcode
Max/MSP Resources: Home Blog-wp Forum Examples Projects Tasks Tutorials
Supercollider Resources: Home Blog Forum Examples Projects Tasks Tutorials
| Task | Name: | Set: | Due: | Weighting: | Courses: |
| CMP Task Summary | All CMP tasks | ||||
Using BBCut, by Nick Collins. His website with the latest code (and others) is here.
// Here is a very simple way to use a basic BBCut procedure on any file you can navigate to...
(
var sf, file, myChosenSound;
File.openDialog("", { arg pathName; file = pathName;
pathName.postln; // I can check that the right path appears by reading the post window
TempoClock.default.tempo_(2.3);
Routine.run({sf= BBCutBuffer(pathName,8);
s.sync; // this forces a wait for the Buffer to load
BBCut2(CutBuf1(sf)).play; // will use TempoClock.default so depends what tempo that is at
});
});
)
// Here is the code used just to open the file browser... you can use it for other patches !
(
var sf, file, myChosenSound;
File.openDialog("", { arg pathName; file = pathName;
pathName.postln; //I can check that the right path appears
});
)
// Better
~myArray = []; // Make an array to hold your pathnames
// evaluate again later to wipe the array clean to start again
// A function to add to filenames (evalute once only)
(
~myFile = {
File.openDialog("", {
arg pathName;
~myArray = ~myArray.add(pathName);
~myArray.postln;
});
}
)
~myFile.value // evaluate multiple times to add to ~myArray
~myArray // Check me
(
var sf, clock, synth;
s=Server.default;
clock= ExternalClock(TempoClock(2.1)).play;
Routine.run({
sf= BBCutBuffer.array(~myArray, [4,8,4]);
s.sync;
BBCut2(
CutBuf3(BufSelector(
sf,
{|block,lastindex|
if(block.cuts.size<3, {0}, {rrand (1,2)})
}),
0.2),
WarpCutProc1.new
).play(clock);
});
)
The Task
Finally
|
You might also be interested in:
The projects and tasks are designed to help you through the various courses and materials that you'll have to deal with, and also to provide an active and practical element to what could otherwise become a rather dry and technical exercise. Tasks are small exercises - you may be asked to complete one or two per week. Projects are larger and carry a higher percentage of the mark. We will undertake two, three, four or more projects and tasks. The final project is usually an individual choice project, and will be worth significantly more than the others in terms of percentages in your portfolio. We will usually try to set aside a time to perform the projects in a public setting.