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

PV_BinBufRd : PV_ChainUGen : WidthFirstUGen : UGen : AbstractFunction : Object
ExtensionExtension

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

Description

WARNING: Resynth of a FFTs with large window sizes may cause CPU spikes.
WARNING: Unlike PV_BufRd, PV_BinBufRd needs to have an FFT Ugen preceding it in the processing chain.
NOTE: PV_RecordBuf stores FFT data to a buffer for use by a number of PV UGens.

Class Methods

PV_BinBufRd.new(buffer, playbuf, point: 1.0, binStart: 0, binSkip: 1, numBins: 1, clear: 0)

Arguments:

buffer

The FFT buffer to fill data into.

playbuf

The buffer to read frames of FFT data from.

point

A value between 0.0 and 1.0. 0.0 is the beginning of the file, 1.0 the end. Values greater then 1.0

binStart
NOTE: With binStart, binSkip and numBins, you have some control over which bins to synthesize:
  • binStart = 0
  • binSkip = 2
  • numBins = 10
  • bins to synthesize = [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]
binSkip

See binStart.

numBins

See binStart.

clear

Inherited class methods

Instance Methods

Inherited instance methods

Examples