SuperCollider CLASSES (extension)

PVAna

Perform FFT analysis of mono sound file
Inherits from: Object

Description

Class Methods

*new (sfpath)

Arguments:

sfpath

The path for a mono sound file to analyze.

Inherited class methods

Instance Methods

-sfpath

-channel

-hopSamps

-anaBuf

-frames

-nBins

-hop

-ana (filPath, fftSize: 2048, winType: 1, hop: 0.25, starttime: 0, duration)

Arguments:

filPath

The path to save the analysis file to.

fftSize

Size of the FFT. Should be a power of two (default: 2048).

winType

The FFT window type, see FFT (default is 1, Hann).

hop

The amount of offset from one FFT analysis frame to the next, measured in multiples of the analysis frame size. Defaults to 0.25.

starttime
duration

-sr

-sf

-tmpBuf

-initPVAna

Inherited instance methods

Examples

a = PVAna.new(Platform.resourceDir +/+ "sounds/a11wlk01.wav");
a.ana(Platform.resourceDir +/+ "sounds/a11wlk01.scpv", 2048, 1, 0.25);