Skip to content

Feature/prototypes#17

Open
Hari-696 wants to merge 4 commits into
SuperPlugs:mainfrom
Hari-696:feature/prototypes
Open

Feature/prototypes#17
Hari-696 wants to merge 4 commits into
SuperPlugs:mainfrom
Hari-696:feature/prototypes

Conversation

@Hari-696

@Hari-696 Hari-696 commented Aug 30, 2025

Copy link
Copy Markdown
Contributor

Filters Added

  • BandParams structure for frequency, gain, and Q.
  • targetBands + startBands for smooth transitions between presets.
  • CompactPreset format with categories, names, and suitability weights.
  • Preset system
  • Adaptive selection based on audio analysis.
  • Smooth transitions (cosine interpolation over TRANSITION_SAMPLES).
  • Active preset tracking (getActivePreset()).
  • Utility functions
  • applyRelativeGain() for global scaling.
  • setFilterBypass() for disabling bands cleanly.

Computational Changes

  • Refactored BiquadFilter
  • Explicit separation of feedforward vs feedback coefficients.
  • Coefficient recalculation during transitions.
  • AudioAnalysis subsystem
  • Rolling buffer of last ANALYSIS_SIZE samples.
  • RMS, peak, spectral centroid, bass/mid/treble energy extraction.
  • Processing pipeline changes
  • Real-time analysis executed alongside filtering.
  • Preset transition updates integrated into process().
  • Soft clipping safety limiter using tanhf.
  • C interface extensions
  • New exports: preset loading, adaptive selection, audio analysis retrieval.
  • Performance optimizations
  • Clamp macro for environments without .
  • Precomputed interpolation factors for smoother transitions.

@BennyPerumalla

BennyPerumalla commented Aug 30, 2025

Copy link
Copy Markdown
Member

@Hari-696 Please provide description for the changes you made

  • Filters added
  • Computational changes

Give one commit per root directory, fixup the present commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants