armos v0.2.4 (2017-08-20T09:34:11Z)
Dub
Repo
analyzeSpectrum
armos
audio
spectrumanalyzer
Spectrum
!
R
analyzeSpectrum
(
R
T
)
(
in
T
[]
sample
,
in
size_t
samplingRate
)
out (spectrum) { import std.math : isNaN; foreach (e; spectrum.powers) { assert (!isNaN(e)); } foreach (e; spectrum.phases) { assert (!isNaN(e)); } foreach (e; spectrum.frequencyRange) { assert (!isNaN(e)); } }
Meta
Source
See Implementation
armos
audio
spectrumanalyzer
enums
BpmDetectionSource
functions
analyzeBpmAndPhase
analyzeSpectrum