PV_BinPlayBuf:
Filter:
Classes (extension) | Libraries > JoshUGens | UGens > FFT

PV_BinPlayBuf : PV_ChainUGen : WidthFirstUGen : UGen : AbstractFunction : Object
ExtensionExtension

Plays FFT data to a memory buffer
Source: JoshPV.sc

Description

PV_RecordBuf stores FFT data to a buffer for use by a number of PV UGens. See also PV_RecordBuf, PV_PlayBuf, PV_BinPlayBuf and PV_BufRd.

WARNING: Resynth of a FFTs with large window sizes may cause CPU spikes. Unlike PV_BufRd, PV_BinBufRd needs to have an FFT Ugen preceding it in the processing chain.

Class Methods

PV_BinPlayBuf.new(buffer, playbuf, rate: 1.0, offset: 0.0, binStart: 0, binSkip: 1, numBins: 1, loop: 0.0, clear: 0)

Arguments:

buffer

The FFT buffer to fill data into.

playbuf

The buffer to read frames of FFT data from.

rate
offset
binStart

See below.

binSkip

See below.

numBins

See below.

loop
clear

Inherited class methods

Instance Methods

Inherited instance methods

Examples

NOTE: With binStart, binSkip and numBins, you have some control over which bins to synthesize. e.g.

All values for these parameters are truncated to integers when used by the UGens (you can't start an bin 1.5 or skip 2.3).