-
... MIRAudioFile(filename, featureinfo, normtype, start, dur); } //also loads from ZArchive file (usually already containing analyzed feature data) *newFromZ {|filename| if (filename.isNil,{"Meta_SCMIRAudioFile:newFromZ no filename provided".po ...
-
... xt item in the stream. Instead it returns another Gen. You can also copy and/or archive a Gen at any point along the stream, which isn't possible with Routines. Unfortunately Gens are slower than Patterns due to more allocation. The GenStre ...
-
... uark; var <quarkFile, <quarkData, <modCount=0; *initClass { Class.initClassTree(Archive); defaultQuark = Archive.global.at(\QuarkEditor, \defaultQuark) ?? (); } *new { |path, create=true| ^super.newCopyArgs(path).init(create && File.exists( ...
-
... ~states = IdentityDictionary.new }; // bps.do({ |bp| // ~states.put(bp, BP(bp).archiveState); // }); // }; // ~restoreStates = { // if(~states.notNil) { // ~states.keysValuesDo({ |bpname, archive| // BP(bpname).restoreArchive(archive); // ...
-
... ~states = IdentityDictionary.new }; // bps.do({ |bp| // ~states.put(bp, BP(bp).archiveState); // }); // }; // ~restoreStates = { // if(~states.notNil) { // ~states.keysValuesDo({ |bpname, archive| // BP(bpname).restoreArchive(archive); // ...
-
... ut] = i; }); //Store the original func. //This is mostly needed to prevent writeArchive from complaining def.func = func; //Must be array. if(outsMapping.isArray, { var chanCount = 0; outsMapping.do({ | entry, i | if(entry.isSymbol, { var n ...
-
... 195 , 196 ].scramble[.. 20 ]; p = p.collect({ |nr| "http://static1.grsites.com/archive/textures/blue/blue%.jpg" .format( nr.asStringToBase( 10 , 3 ) ); }); w = Window ( "pictures" , Rect ( 200 , 200 , 316 , 210 ) ).front.decorate; 7 .do({ ...
-
... /Library/Desktop Pictures/Ripples Blue.jpg" ); i.url; i.asCompileString; i.writeArchive( "~/Desktop/my_image.scd" .standardizePath); i.free; i = nil ; Document .open( "~/Desktop/my_image.scd" .standardizePath); i = Object .readArchive( "~/D ...
-
... bject keeps a history of interpreted lines of code Source: History.sc See also: Archive Description History stores all code strings as they are being evaluated, in order to reuse code written earlier, to forward code to other players, or to ...
-
... ar <parts, partIdx; *new { ^super.new.initNtkScore; } *open {arg path; this.readArchive(path); } initNtkScore { parts = IdentityDictionary.new; partIdx = 0; } add {arg ... newParts; newParts.do({arg aPart; aPart.isKindOf(NtkPart).if({ parts ...