IBVAfft:
Filter:
IBVA-BlueVAS-SuperCollider/Classes (extension) | External Control

IBVAfft
ExtensionExtension

collect data and perform fft

Description

collects data from IBVA device and calculate fft.

Class Methods

.new

create a new instance

Arguments:

ibva

an instance of IBVA

Instance Methods

.ibva

get the ibva instance

.start

start collecting and calculating

.stop

stop collecting

.data

the raw signals collected as an Array of four arrays. The sizes of the arrays depend on the ibva samplerate i.e. ibva.sr.nextPowerOfTwo

.fft

the fft data (magnitudes) as an Array of four arrays. The sizes of the arrays depend on the ibva samplerate i.e. ibva.sr.nextPowerOfTwo.div(2) (note the divide by two here)

Examples