-
AudioCue-maven
A Java audio-playback class, modeled on javax.sound.sampled.Clip, enhanced with concurrent playback and dynamic handling of volume, pan and frequency. Maven version.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
The PCM to tap into for this would be in the variable readBuffer at line 1486 of the AudioCue class. The way things are, you're stuck with the size determined by the SourceDataLine buffer (in frames). But let's say something like 2000 frames is used for the buffer. Computing the RMS for that data would be straightforward. Just make it an intermediate step, possibly with a boolean to allow bypassing if not needed. 2000 frames at 44100 FPS comes to 22 data points per second. Is that quick enough for a visualizer?