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

PVSynth : UGen : AbstractFunction : Object
ExtensionExtension

Resynthesize Csound PV data
Source: PVSynth.sc

Description

Resyntesize data with a bank of sine tones from a CSound PV analysis file.

NOTE: This currently only works with .pv files. .pvx and CSound 5 files will be implemented soon.
WARNING: The values stored inside the pv file for magnitudes are NOT scaled to a linear amplitude system. See PVFile (and the example below) for suggestions on how to scale these values so you don't destroy things.

Class Methods

PVSynth.categories

PVSynth.ar(pvbuffer, numBins: 0, binStart: 0, binSkip: 1, filePointer: 0, freqMul: 1.0, freqAdd: 0.0, mul: 1.0, add: 0.0)

Arguments:

pvbuffer

The buffer containing pv data (stored with PVFile).

numBins

The number of bins to resynthesize. Default is 0.

binStart

The bin number to start on. Default value is 0.

binSkip

The number of bins to skip. Default value is 1.

filePointer

A pointer into the soundfile. 0.0 is the beginning, 1.0 is the end. Default value is 0.

freqMul

Freq value scaler. Default value is 1.0.

freqAdd

Freq value offset. Default value is 0.0.

mul
add

Inherited class methods

Instance Methods

Inherited instance methods

Examples