Bånder

LowLevelSpectralExtractor extends BaseAlgorithm
in package

LowLevelSpectralExtractor

Inputs:

[vector_real] signal - the audio input signal

Outputs:

[vector_vector_real] barkbands - spectral energy at each bark band. See BarkBands alogithm [vector_real] barkbands_kurtosis - kurtosis from bark bands. See DistributionShape algorithm documentation [vector_real] barkbands_skewness - skewness from bark bands. See DistributionShape algorithm documentation [vector_real] barkbands_spread - spread from barkbands. See DistributionShape algorithm documentation [vector_real] hfc - See HFC algorithm documentation [vector_vector_real] mfcc - See MFCC algorithm documentation [vector_real] pitch - See PitchYinFFT algorithm documentation [vector_real] pitch_instantaneous_confidence - See PitchYinFFT algorithm documentation [vector_real] pitch_salience - See PitchSalience algorithm documentation [vector_real] silence_rate_20dB - See SilenceRate algorithm documentation [vector_real] silence_rate_30dB - See SilenceRate algorithm documentation [vector_real] silence_rate_60dB - See SilenceRate algorithm documentation [vector_real] spectral_complexity - See Spectral algorithm documentation [vector_real] spectral_crest - See Crest algorithm documentation [vector_real] spectral_decrease - See Decrease algorithm documentation [vector_real] spectral_energy - See Energy algorithm documentation [vector_real] spectral_energyband_low - Energy in band (20,150] Hz. See EnergyBand algorithm documentation [vector_real] spectral_energyband_middle_low - Energy in band (150,800] Hz.See EnergyBand algorithm documentation [vector_real] spectral_energyband_middle_high - Energy in band (800,4000] Hz. See EnergyBand algorithm documentation [vector_real] spectral_energyband_high - Energy in band (4000,20000] Hz. See EnergyBand algorithm documentation [vector_real] spectral_flatness_db - See flatnessDB algorithm documentation [vector_real] spectral_flux - See Flux algorithm documentation [vector_real] spectral_rms - See RMS algorithm documentation [vector_real] spectral_rolloff - See RollOff algorithm documentation [vector_real] spectral_strongpeak - See StrongPeak algorithm documentation [vector_real] zerocrossingrate - See ZeroCrossingRate algorithm documentation [vector_real] inharmonicity - See Inharmonicity algorithm documentation [vector_vector_real] tristimulus - See Tristimulus algorithm documentation [vector_real] oddtoevenharmonicenergyratio - See OddToEvenHarmonicEnergyRatio algorithm documentation

Parameters:

frameSize: integer ∈ (0,inf) (default = 2048) the frame size for computing low level features

hopSize: integer ∈ (0,inf) (default = 1024) the hop size for computing low level features

sampleRate: real ∈ (0,inf) (default = 44100) the audio sampling rate

Description:

This algorithm extracts all low-level spectral features, which do not require an equal-loudness filter for their computation, from an audio signal

Category: Extractor Mode: standard

Table of Contents

Properties

$algorithmName  : string
$category  : string
$essentia  : EssentiaFFI
$mode  : string
$parameters  : array<string|int, mixed>
$algorithmHandle  : CData|null
$configured  : bool

Methods

__construct()  : mixed
__destruct()  : mixed
compute()  : array<string|int, mixed>
getAlgorithmName()  : string
getCategory()  : string
getMode()  : string
getParameters()  : array<string|int, mixed>
setParameter()  : self
configure()  : void
isValidParameter()  : bool
validateInput()  : void
cleanupAlgorithm()  : void
configureAlgorithmParameters()  : void
estimateOutputSize()  : int
executeAlgorithm()  : array<string|int, mixed>
executeGenericAlgorithm()  : array<string|int, mixed>
executeSpecificAlgorithm()  : array<string|int, mixed>
getAlgorithmCreateFunction()  : string
getValidParameters()  : array<string|int, mixed>
initializeAlgorithm()  : void
prepareInput()  : mixed
processOutput()  : array<string|int, mixed>
processRhythmOutput()  : array<string|int, mixed>
processSpectralOutput()  : array<string|int, mixed>
processStatsOutput()  : array<string|int, mixed>
processTemporalOutput()  : array<string|int, mixed>
processTonalOutput()  : array<string|int, mixed>
setAlgorithmParameter()  : void
setArrayParameter()  : void
validateAlgorithmInput()  : void

Properties

$parameters

protected array<string|int, mixed> $parameters = []

Methods

__construct()

public __construct([array<string|int, mixed> $parameters = [] ]) : mixed
Parameters
$parameters : array<string|int, mixed> = []

compute()

public compute(mixed $input) : array<string|int, mixed>
Parameters
$input : mixed
Return values
array<string|int, mixed>

getAlgorithmName()

public getAlgorithmName() : string
Return values
string

getCategory()

public getCategory() : string
Return values
string

getParameters()

public getParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

setParameter()

public setParameter(string $key, mixed $value) : self
Parameters
$key : string
$value : mixed
Return values
self

configure()

protected configure(array<string|int, mixed> $parameters) : void
Parameters
$parameters : array<string|int, mixed>

isValidParameter()

protected isValidParameter(string $parameter) : bool
Parameters
$parameter : string
Return values
bool

validateInput()

protected validateInput(mixed $input, string $expectedType) : void
Parameters
$input : mixed
$expectedType : string

estimateOutputSize()

private estimateOutputSize(mixed $input) : int
Parameters
$input : mixed
Return values
int

executeAlgorithm()

private executeAlgorithm(mixed $input) : array<string|int, mixed>
Parameters
$input : mixed
Return values
array<string|int, mixed>

executeGenericAlgorithm()

private executeGenericAlgorithm(FFI $ffi, mixed $input) : array<string|int, mixed>
Parameters
$ffi : FFI
$input : mixed
Return values
array<string|int, mixed>

executeSpecificAlgorithm()

private executeSpecificAlgorithm(FFI $ffi, mixed $input) : array<string|int, mixed>
Parameters
$ffi : FFI
$input : mixed
Return values
array<string|int, mixed>

getValidParameters()

private getValidParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

processOutput()

private processOutput(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
Return values
array<string|int, mixed>

processRhythmOutput()

private processRhythmOutput(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
Return values
array<string|int, mixed>

processSpectralOutput()

private processSpectralOutput(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
Return values
array<string|int, mixed>

processStatsOutput()

private processStatsOutput(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
Return values
array<string|int, mixed>

processTemporalOutput()

private processTemporalOutput(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
Return values
array<string|int, mixed>

processTonalOutput()

private processTonalOutput(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
Return values
array<string|int, mixed>

setAlgorithmParameter()

private setAlgorithmParameter(FFI $ffi, string $key, mixed $value) : void
Parameters
$ffi : FFI
$key : string
$value : mixed

setArrayParameter()

private setArrayParameter(FFI $ffi, string $key, array<string|int, mixed> $value) : void
Parameters
$ffi : FFI
$key : string
$value : array<string|int, mixed>

        
On this page

Search results