AudioAnalyzer – Broadcast-Grade Audio Toolchain for .NET

A .NET 9 audio toolchain built on ManagedBass: metrics, envelopes, RF64 cutting, track segmentation, speech/music classification and Whisper transcription — as CLI tools or an embedded library.

Overview

AudioAnalyzer is a family of .NET 9 command-line tools and libraries for analysing and processing audio at archive scale. It was built to replace a set of ageing native tools inside a broadcast media asset management (MAM) system, where every recording — from a three-minute track to a multi-hour radio show captured as one RF64 file — has to be measured, cut, segmented and described automatically.

All tools share one core library on top of the ManagedBass ecosystem, so more than 20 input formats (WAV, RF64/BWF, FLAC, MP3, AAC, OGG, WMA, …) are handled by the same code path.

Components

  • AudioAnalyzer.Console — duration, modulation start/end, peak and RMS levels, FFT snapshot, tag extraction; SHA-256 checksum/verify; full Whisper speech-to-text with timecoded segments. Routed JSON output following a fixed persistence contract, so results can be written straight into a database.
  • AudioEnvWriter — generates, validates and renders amplitude envelope files (.env) for waveform displays: RMS/peak variants, PNG and console rendering, sample-accurate validation against the source.
  • AudioCutter — cuts time slices from PCM/RF64 WAV files and concatenates them into one output. Drop-in replacement for a 2007-era native tool, adding >4 GB RF64 support and bit-exact 16/24-bit preservation.
  • AudioSegmenter — detects track boundaries (silence gaps) and speech/music segments in long recordings, tags speech with a spoken-language guess (Whisper.net), and can emit a cut list for AudioCutter.
  • AudioAnalyzer.Core / .Speech — RF64 decoding, repair of WAV files with broken data chunk headers, envelope generation, segmentation DSP, anti-aliased 16 kHz resampling and the Whisper model wrapper.

Engineering highlights

  • Real-world robustness: corrupt WAV headers are repaired on the fly instead of failing the job
  • Idempotent re-runs for multi-target processing pipelines
  • Cross-platform: win-x64 by default, with linux-x64 and macOS runtime identifiers proven end-to-end
  • xUnit test suite covering envelope round-trips, cutting, classification and resampling regressions

Typical use cases

  • Automated ingest analysis in broadcast and archive systems
  • Waveform data for web players without decoding the whole file
  • Splitting long recordings into individual tracks or segments
  • Transcription and language detection for unlabelled speech recordings

Ready to Start Your Project?

Get in touch to discuss your software development or IT consulting needs.

Contact Us