C# Class ApplyNoiseToAudio.AudioManager

Mostrar archivo Open project: kotan-kn/spectral-subtraction Class Usage Examples

Public Methods

Method Description
AudioManager ( ) : System
DoubleToShort ( double array ) : System.Int16[]
IntToDouble ( Int16 array ) : double[]
IntToDouble ( Int32 array ) : double[]
TraverseTree ( string root, String filename ) : void
applyNoiseToVoice ( double voice, double noise, int db ) : double[]
computeFile ( String path, String filename ) : void
normalize ( double array ) : double[]

Method Details

AudioManager() public method

public AudioManager ( ) : System
return System

DoubleToShort() public method

public DoubleToShort ( double array ) : System.Int16[]
array double
return System.Int16[]

IntToDouble() public method

public IntToDouble ( Int16 array ) : double[]
array System.Int16
return double[]

IntToDouble() public method

public IntToDouble ( Int32 array ) : double[]
array System.Int32
return double[]

TraverseTree() public method

public TraverseTree ( string root, String filename ) : void
root string
filename String
return void

applyNoiseToVoice() public method

public applyNoiseToVoice ( double voice, double noise, int db ) : double[]
voice double
noise double
db int
return double[]

computeFile() public method

public computeFile ( String path, String filename ) : void
path String
filename String
return void

normalize() public method

public normalize ( double array ) : double[]
array double
return double[]