|
DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
|
Immutable 10 ms stereo energy map, bound to the supplied PCM/clock. More...
#include <OfflineEnergyAnalyzer.h>
Public Member Functions | |
| MidSideAnalysis ()=default | |
| MidSideAnalysis (MidSideAnalysis &&) noexcept=default | |
| MidSideAnalysis & | operator= (MidSideAnalysis &&) noexcept=default |
| bool | isValid () const noexcept |
| std::span< const MidSideBin > | bins () const noexcept |
| Borrowed bins; valid while this analysis is alive and unmoved. | |
| OfflineAudioSpec | getSpec () const noexcept |
| OfflineFingerprint | fingerprint () const noexcept |
| OfflineFingerprint | sideFingerprint () const noexcept |
| Fingerprint of double-precision side samples, for shared gain rendering. | |
| std::int64_t | binFrames () const noexcept |
| double | samplePeak () const noexcept |
| double | midRms () const noexcept |
| double | sideRms () const noexcept |
| double | sidePeak () const noexcept |
| std::size_t | retainedBytes () const noexcept |
Friends | |
| class | OfflineEnergyAnalyzer |
Immutable 10 ms stereo energy map, bound to the supplied PCM/clock.
Analyze the rendered stereo signal when decisions concern generated audio: changing generation width requires a new analysis of that resulting signal. The complete-source RMS weights the last short bin by its actual duration. Mid/side conversion avoids overflow for finite extreme double input. Silence has zero RMS and peak; no side-share target is inferred here.
Definition at line 133 of file OfflineEnergyAnalyzer.h.
|
default |
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 163 of file OfflineEnergyAnalyzer.h.
|
inlinenoexcept |
Borrowed bins; valid while this analysis is alive and unmoved.
Definition at line 144 of file OfflineEnergyAnalyzer.h.
|
inlinenoexcept |
Definition at line 153 of file OfflineEnergyAnalyzer.h.
|
inlinenoexcept |
Definition at line 149 of file OfflineEnergyAnalyzer.h.
|
inlinenoexcept |
Definition at line 139 of file OfflineEnergyAnalyzer.h.
|
inlinenoexcept |
Definition at line 171 of file OfflineEnergyAnalyzer.h.
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 183 of file OfflineEnergyAnalyzer.h.
|
inlinenoexcept |
Definition at line 167 of file OfflineEnergyAnalyzer.h.
|
inlinenoexcept |
Fingerprint of double-precision side samples, for shared gain rendering.
Definition at line 159 of file OfflineEnergyAnalyzer.h.
|
inlinenoexcept |
Definition at line 179 of file OfflineEnergyAnalyzer.h.
|
inlinenoexcept |
Definition at line 175 of file OfflineEnergyAnalyzer.h.
|
friend |
Definition at line 189 of file OfflineEnergyAnalyzer.h.