Extract cepstral features from audio segment
The cepstralFeatureExtractor
System object™ extracts cepstral features from an audio segment. Cepstral features are commonly
used to characterize speech and music signals.
To extract cepstral features:
Create the cepstralFeatureExtractor
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?.
cepFeatures = cepstralFeatureExtractor
creates a System object, cepFeatures
, that calculates cepstral features
independently across each input channel. Columns of the input are treated as individual
channels.
cepFeatures = cepstralFeatureExtractor(
sets each property Name,Value
)Name
to the specified Value
.
Unspecified properties have default values.
cepFeatures =
cepstralFeatureExtractor('InputDomain','Frequency','SampleRate',fs,'LogEnergy','Replace')
accepts a signal in the frequency domain, sampled at fs
Hz. The first
element of the coefficients vector is replaced by the log energy value.[
returns the cepstral coefficients, the log energy, the delta, and the delta-delta.coeffs
,delta
,deltaDelta
]
= cepFeatures(audioIn
)
The log energy value prepends the coefficient vector or replaces the first element of
the coefficients vector based on whether you set the LogEnergy
property to 'Append'
or 'Replace'
. For details, see
coeffs.
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
[1] Auditory Toolbox. https://engineering.purdue.edu/~malcolm/interval/1998-010/AuditoryToolboxTechReport.pdf
[2] ETSI ES 201 108 V1.1.3 (2003-09). https://www.etsi.org/deliver/etsi_es/201100_201199/201108/01.01.03_60/es_201108v010103p.pdf
Cepstral Feature
Extractor | gammatoneFilterBank
| gtcc
| mfcc
| pitch
| Voice Activity
Detector | voiceActivityDetector