C# Class DSPUtil.Dither

Afficher le fichier Open project: hughpyle/inguz-DSPUtil Class Usage Examples

Méthodes publiques

Méthode Description
Dither ( DitherType type, uint sampleRate, ushort bitsPerSample ) : System
process ( ISample samp ) : ISample

Process a ISample (in-place; the original object is returned, with modified data)

process ( double samp ) : int
process ( float samp ) : int
processDouble ( double samp ) : double
reset ( ) : void

Private Methods

Méthode Description
FilterArray ( DitherType type ) : double[]
MaxValue ( ushort bitsPerSample ) : double
MinValue ( ushort bitsPerSample ) : double
NextRandom ( ) : double
NextRandom2 ( ) : double

Method Details

Dither() public méthode

public Dither ( DitherType type, uint sampleRate, ushort bitsPerSample ) : System
type DitherType
sampleRate uint
bitsPerSample ushort
Résultat System

process() public méthode

Process a ISample (in-place; the original object is returned, with modified data)
public process ( ISample samp ) : ISample
samp ISample
Résultat ISample

process() public méthode

public process ( double samp ) : int
samp double
Résultat int

process() public méthode

public process ( float samp ) : int
samp float
Résultat int

processDouble() public méthode

public processDouble ( double samp ) : double
samp double
Résultat double

reset() public méthode

public reset ( ) : void
Résultat void