| Hi Chris,
I'll try to look at your second problem tonight... as for the .set change, this is because Arrays are now valid arguments in set messages:
...set(\freq, [440, 660, 880], \amp ... )
But perhaps there is a way to make this change more backwards compatible. I'll take a look, and discuss this on SC dev. Perhaps it is something that can be included in the sure to be release 3.3.1 ... but there may have been other reasons for the change.
Best,
Josh On May 1, 2009, at 3:11 PM, Chris Kubick wrote:
Josh Parmenter wrote: no need for the brackets in the set message:
a.set(\amp, 0.5); // In 3.3, this SILENCES the synth instead of reducing
Best,
Josh
Hello Josh....
I first off want to thank you, and all the devs for the great work you continue doing.... and also make a plea for changing this behavior back.
Are there egregious problems caused by allowing the old set message array style to continue functioning? eg a.set([\amp,0.5]);
I would much prefer some remote hypothetical possibility that something blows up, to having a lot of broken code.
...also, I'm having a problem with this: (which works fine in 3.2)
Routine.run({ inPath.postln; fileArray = Cocoa.getPathsInDirectory(inPath);
fileArray=fileArray.reject(_.contains("DS_")); //fileArray.postln;
fA=fileArray.size; if (fA > limit ,{loadSize=limit},{loadSize = fA});
//loadSize.do({|i| // fileArray[i].postln; // }); ("number of buffers =" ++ loadSize) . postln;
bufArray=Array.series(loadSize,0,1); bufnumArray = Array.series(loadSize,bufSet,1).postln; //x=bufSet; bufArray.do({|x|var file,frames; file=fileArray[x]; pause = Condition.new;
Routine.run({
bufArray[x] = Buffer.read(s, inPath ++ file, bufnum:x+bufSet,startFrame:startFrame,numFrames:numFrames);
s.sync(pause)}); batchArray=batchArray.add(file);
});
s.sync(mainPause); }, clock: AppClock);
which returns 'nil' for batchArray, where it used to return an array of filenames.
It's part of a little class I wrote a few years back for batch loading folders full of sounds.
pps I get beach balls each time I try to use command-d using 3.3??
thanks again and all best, Chris Kubick
****************************************** /* Joshua D. Parmenter http://www.realizedsound.net/josh/
“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono */ |