armos v0.2.1 (2017-07-28T07:17:22Z)
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