-
//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 //adapted to calculate theta and gamma and store in glob ...
-
... methods Instance methods Inherited instance methods Examples Classes | UGens > FFT'>FFT | UGens > Convolution'>Convolution StereoConvolution2L : MultiOutUGen : UGen : AbstractFunction : Object Stereo real-time convolver with linear interpo ...
-
... erited class methods Instance Methods Inherited instance methods Examples ar /* FFT analysis functions NOTE: FFT returns linear frequency */ ( ~calcMag = { arg kernel; var fftResponse, fftMag; // FFT analysis here! fftResponse = fft( kernel ...
-
... Tartini.kr(input, \freqThreshold.kr(0.93)); if(triggerFunction.isNil) { chain = FFT(LocalBuf(256), input); trig = Onsets.kr(chain, threshold: \threshold.kr(0.2), odftype: \wphase, relaxtime: \relaxtime.kr(0.02), floor: \floor.kr(0.01), ming ...
-
... trackh,trackq,tempo, phase, period, groove; var bsound,hsound,qsound, beep; var fft; var feature1, feature2, feature3; in= PlayBuf .ar(1,d.bufnum, BufRateScale .kr(d.bufnum),1,0,1); //in = SoundIn.ar(0); //Create some features fft = FFT (b. ...
-
... 0.1 , mingap: 10 , medianspan: 11 , whtype: 1 , rawodf: 0 ) Arguments: chain an FFT chain. threshold the detection threshold, typically between 0 and 1, although in rare cases you may find values outside this range useful. odftype chooses w ...
-
... Methods . ar Arguments: in The input signal to transform. size The size of the FFT used for Weaver Half-Band filtering. mul Output will be multiplied by this value. add This value will be added to the output. Returns: The real part of the ...
-
//for performing fft on OpenBCI data DataFFT { var <board, table, imag, <fftSize, <fftSize2, <bw; var result; *new {|board, fftSize= 256, windowType| ^super.new.initDataFFT(board, fftSize, windowType); } initDataFFT {|argBoard, argSize, arg ...
-
... ds Undocumented instance methods . numChannels . numFrames Examples // example: FFT ( { var in, chain; in = WhiteNoise.ar(0.1.dup); chain = FFT({ LocalBuf(2048, 1) }.dup, in); chain = PV_BrickWall(chain, SinOsc.kr([0.1, 0.11])); IFFT(chain) ...
-
... class methods Instance Methods Inherited instance methods 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[ ...