AtsNoiSynth:
Filter:
Classes (extension) | Libraries > JoshUGens | UGens > Analysis:Synthesis

AtsNoiSynth : AtsUGen : UGen : AbstractFunction : Object
ExtensionExtension

Resynthesize sine and noise data from an ATS analysis file
Source: AtsSynth.sc
 

Description

Resynthesizes information from an ATS file, with transformations.

WARNING: If you try to resynthesize partials or bands that don't exist, those partials will fail silently. All valid partials will still be synthesized.

Class Methods

AtsNoiSynth.ar(atsbuffer, numPartials: 0, partialStart: 0, partialSkip: 1, filePointer: 0, sinePct: 1.0, noisePct: 1.0, freqMul: 1.0, freqAdd: 0.0, numBands: 25, bandStart: 0, bandSkip: 1, mul: 1.0, add: 0.0)

Arguments:

atsbuffer

The buffer number that contains the AtsFile information.

numPartials

The number of partials to synthesize.

partialStart

The partial in the analysis to start the synthesis on. Partial 0 is the first partial.

partialSkip

An integer that indicates the increment from partialStart of which partials to synthesize.

filePointer

A value (between 0 and 1) that indicates which part of the file to synthesize. Accepts ugens or a static value.

sinePct

A scaler on the sinusoidal portion of the resynthesis.

noisePct

A scaler on the noise portion of the resynthesis.

freqMul

A multiplier on the sinusoidal frequency information.

freqAdd

A value to add to frequency information.

numBands

The number of critical bands (noise) to synthesize. There are 25 critical bands.

bandStart

The critical band to start resynthesis on. Partial 0 is the first band.

bandSkip

An integer that indicates the increment from bandStart of which bands to synthesize.

mul
add

Inherited class methods

Instance Methods

Inherited instance methods

Examples

NOTE: For resynthesis purposes, an ATS file needs to be loaded into a buffer. When loading an ATS file, you need to supply a buffer number to store ATS data in.