-
... n = InFeedback.ar(inbus, 1); in = Limiter.ar(in, 0.99, 0.01); onset = Onsets.kr(FFT(LocalBuf(512, 1), in), sensitivity, \rcomplex); SendTrig.kr(onset, 666); signal = DelayN.ar(in, 2, prerectime); Out.ar(out, signal); }); SynthDef.writeOnce( ...
-
APlane : Plane { *add {arg type, settings; var voice, aplane; case {type == \fft} {voice = \poly; aplane = FFTPlane.start(settings) } {type == \pitch} {voice = \mono; aplane = PitchPlane.start(settings) } {} {}; this.new(\aplane, type, voic ...
-
... thods - initNewPlane ( type , subtype , voice , settings ) Examples APlane.add(\fft, \poly); GPlane.add(\chain, \mono); APlane.add(\fft, \mono); DPlane.add(\midiFile, \poly); Plane.info; a = Plane.planes; //returns array of plane classes a[ ...
-
... ect where the spectrogram appears in the parent (optional). bufSize - frames in FFT window. default: 1024. Use power-of-2 sizes, such as 512 or 2048. color , background - the foreground and background Color s. lowfreq , highfreq - you can s ...
-
... n: in, threshold: \freqThreshold.kr(0.93) ); defaultTrigger = Onsets.kr( chain: FFT( buffer: LocalBuf(256), in: in ), threshold: \threshold.kr(0.2), odftype: \wphase, relaxtime: \relaxtime.kr(0.02), floor: \floor.kr(0.01), mingap: \mingap.k ...
-
... //uncomment to record var notchFilters, bandpassFilters, smoothingFilters; var fft= DataFFT(board, 256); var fps= 60; var bandsBuffer= {List.fill(bands.size, {List.fill(fps, {0})})}.dup(board.numChannels); //1sec var usr, pop1, btn1, btn2, ...
-
... ; var complex = FreqSpectrum.powerLaw(size, beta).gaussianPhase.asComplex; var rfftSize, rcosTable; ^(size.isPowerOfTwo).if({ // fft rfftSize = (size / 2 + 1).asInteger; rcosTable = Signal.rfftCosTable(rfftSize); complex.real.keep(rfftSize) ...
-
... inner dimension is mipmaps var <>tables; *initClass { filters = ( brickwall: { |fft, topBin| var r = fft.real.copy, i = fft.imag.copy; topBin = topBin.asInteger + 1; r[topBin .. r.size - topBin] = 0.0; i[topBin .. r.size - topBin] = 0.0; r[ ...
-
... ; var lm; var minFreq, maxFreq, <inc, sfDur, test; var rFrameSize, centerFreqs, fftSize, fftMul, real, imag, cosTable, lowBin, highBin; *new {arg path; ^super.newCopyArgs(path).initLPCAna; } initLPCAna { sf = SoundFile.new; test = sf.openRe ...
-
//port of OpenBCI_GUI fft plot widget, remake in supercollider by f.olofsson 2019 //MIT License, Copyright (c) 2018 OpenBCI, https://github.com/OpenBCI/OpenBCI_GUI/blob/master/LICENSE //TODO test with ganglion and daisy //TODO (in)activate ...