pcm property
Real-time raw PCM samples of the audio currently playing through the player's output, captured post-DSP. Use for time-domain visualisations: accurate VU and peak meters, oscilloscopes, custom feature extractors.
Each frame holds the latest audio written to the output, up to 4096 frames per channel, so consecutive frames overlap (by about 60 % at the default 33 ms). Appending them one after the other repeats audio; a scrolling display has to keep only the samples it has not drawn yet.
For frequency-domain visualisations (spectrum bars, glow effects), prefer fft which is computed from the same tap.
Same lazy and pause semantics as fft. Configured by the emit rate of Player.setSpectrum (the FFT-side knobs are ignored for this stream).
Implementation
final Stream<PcmFrame> pcm;