Add audio analyzer block with waveform and vectorscope#410
Open
Add audio analyzer block with waveform and vectorscope#410
Conversation
Adds a new analysis block (builtin.audioanalyzer) that provides real-time waveform (oscilloscope) and vectorscope (Lissajous) display for audio signals, using appsink for sample-level analysis with JSON transport via StromEvent. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replaces Vec<i8> JSON arrays (~4 bytes/sample) with base64-encoded strings (~1.33 bytes/sample) for waveform and vectorscope data, reducing expected throughput from ~350 KB/s to ~120 KB/s. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…dering - Add show_full() for larger waveform + vectorscope in property inspector - Fix waveform quantization rounding so quiet signals remain visible - Fix waveform gaps by pixel-binning data columns and connecting midpoints - Pass audioanalyzer_data_store through to properties panel Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace manual painter code with egui_plot for the properties panel view - Add amplitude and bin-fraction sliders for waveform zoom control - Add scale slider for vectorscope zoom control - Show L/R legends with L min and R min hidden by default (toggleable) - Hide reference lines from legends (zero lines, mono/phase diagonals) - Fix i16 overflow panic in quantization by casting to i32 - Add egui_plot 0.34 dependency Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix waveform legend so L min/R min can be toggled by the user - Change loudness not-finite warning from warn to trace level Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
🤖 Generated with Claude Code