C# Class DSPUtil.Loudness

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

Méthodes publiques

Méthode Description
DifferentialSPL ( double phon0, double phon1 ) : FilterProfile
DifferentialSPL ( double phon0, double phon1, double scale ) : FilterProfile
SPL ( double phon ) : FilterProfile

Create a list of dB SPL equal-loudness values for a given 'phon' loudness (from zero, threshold, to 90)

WeightedVolume ( ISoundObj src ) : double

Calculate the weighted volume of a sound source. NB: this consumes lots of memory for long sources.

WeightedVolume ( ISoundObj src, double dbSPL, double dbSPLBase ) : double

Calculate the weighted volume of a sound source. NB: this consumes lots of memory for long sources.

WeightedVolume1 ( ISoundObj src, double dbSPL, double dbSPLBase ) : double

Calculate the weighted volume of a *single channel* sound source. NB: this consumes lots of memory for long sources.

Private Methods

Méthode Description
WeightedVolume2 ( SoundBuffer src, double dbSPL, double dbSPLBase ) : double

Method Details

DifferentialSPL() public static méthode

public static DifferentialSPL ( double phon0, double phon1 ) : FilterProfile
phon0 double
phon1 double
Résultat FilterProfile

DifferentialSPL() public static méthode

public static DifferentialSPL ( double phon0, double phon1, double scale ) : FilterProfile
phon0 double
phon1 double
scale double
Résultat FilterProfile

SPL() public static méthode

Create a list of dB SPL equal-loudness values for a given 'phon' loudness (from zero, threshold, to 90)
public static SPL ( double phon ) : FilterProfile
phon double
Résultat FilterProfile

WeightedVolume() public static méthode

Calculate the weighted volume of a sound source. NB: this consumes lots of memory for long sources.
public static WeightedVolume ( ISoundObj src ) : double
src ISoundObj
Résultat double

WeightedVolume() public static méthode

Calculate the weighted volume of a sound source. NB: this consumes lots of memory for long sources.
public static WeightedVolume ( ISoundObj src, double dbSPL, double dbSPLBase ) : double
src ISoundObj
dbSPL double
dbSPLBase double
Résultat double

WeightedVolume1() public static méthode

Calculate the weighted volume of a *single channel* sound source. NB: this consumes lots of memory for long sources.
public static WeightedVolume1 ( ISoundObj src, double dbSPL, double dbSPLBase ) : double
src ISoundObj
dbSPL double
dbSPLBase double
Résultat double