-
//redFrik RedHuffman { classvar <>tree, <>dict, <>pad; *compress {|arr| var out, n0, n1; //--build a forest of small trees tree= List[]; arr.do{|val| var n= tree.detect{|x| x.key==val}; if(n.isNil, { tree.add((val -> 1)); //value and counte ...
-
... t, { this.setInputView( *args ) }, \filter, { this.setFilterViews( *args ); }, \compression, { this.setCompressionViews( *args ); }, \inputLabels, { this.deferRebuildViews; }, \settings, { this.deferRebuildViews; }, \useCompression, { this. ...
-
... Desktop/testDir/renamed" .copyReplace( "~/Desktop/testCopy" , toTrash: false ); compression zip ( newPath, includeInvisible, tmp ) unzip ( to ) creates and unpacks zip files if newPath and to are not specified, they will be automatically cr ...
-
... envc), freq * 2), freq * filterHarmonic) ); //Output stages with a tiny bit of compression to smooth things out: snd = Mix.ar([snda, sndb, sndc]) * (amp / 3); snd = Limiter.ar(snd, amp); DetectSilence.ar(in: snd, amp: 0.0001, time: 0.5, do ...
-
ShannonMarkovSet: Filter: Description Class methods Inherited class methods Instance methods Inherited instance methods Examples shannon markov empty set test Authors Classes (extension) | Collections > Unordered'>Unordered | Libraries > Ma ...
-
//redFrik RedLZSS { classvar <>window= 4096, <>length= 32, <>pad; *compress {|input| var out= "", i= 0, len, off, sub, j; var bitsWin= (window-1).numBits; var bitsLen= (length-1).numBits; while({i<input.size}, { len= length; while({ sub= in ...
-
Warp0 Warp a buffer with a warp factor Inspired by Chad Kirby's SuperCollider2 Warp1 class, which was inspired by Richard Karpen's sndwarp for CSound. A granular time strecher and pitchshifter. Warp0.ar(numChannels, buffer, warpFactor, freq ...
-
... envc), freq * 2), freq * filterHarmonic) ); //Output stages with a tiny bit of compression to smooth things out: snd = Mix.ar([snda, sndb, sndc]) * (amp / 3); snd = Limiter.ar(snd, amp); DetectSilence.ar(in: snd, amp: 0.0001, time: 0.5, do ...
-
/* Hand/Rand-make 8 weights presets for influx, so we can step thru them for different instrument feel. //////// tests // attach these functions to your (HW/SW) Buttons: NTMI.inph.stepWPre(1); // next NTMI.inphlux.presets.findKeyForValue(NT ...
-
... eadZArchive { /*arg akv; ^akv.readItem;*/ } } + Nil { // $X"nil" -> $N is a 4:1 compression ratio ! writeZArchive { arg akv; akv.putChar($N); } } + String { asZArchive { ^ZArchive.write(ZArchive.standardizeDocumentPath(this)) } writeZArchiv ...