Audio file
The audio file plugin decodes an audio file with Qt Multimedia (FFmpeg backend), analyses it, then plays it back and delivers the analysis as signals in step with the sound. It gives you a real, repeatable data source with fast-moving values and no hardware: good for building and testing dashboards.
You can run several instances at once, each with its own file.
Config fields
Section titled “Config fields”| Field | Type | Default | Notes |
|---|---|---|---|
| Audio file | file | empty | .mp3, .wav, .flac, .ogg, .m4a or .aac. Up to 20 minutes long |
| Playback | combo | On | Off analyses and paces the file in silence |
| Volume | slider | 70 | 0 – 100, on a perceptual scale. Shown with Playback on |
| Loop | combo | On | Off disconnects the interface at the end of the file |
| Band layout | combo | Octave | Octave (10 bands) or Third-octave (31 bands) |

Signals
Section titled “Signals”The signal list is generated from the band layout. You do not load or discover signals, and a signal file has no effect.
| Signal | Unit | Range | Type | What it is |
|---|---|---|---|---|
LevelL, LevelR | dBFS | −60 to 0 | float64 | RMS level per channel. A full-scale sine reads −3 |
PeakL, PeakR | dBFS | −60 to 0 | float64 | Sample peak per channel |
Correlation | −1 to 1 | float64 | Stereo phase: 1 mono, 0 wide, below 0 out of phase. 0 when either channel is silent | |
Centroid | Hz | 0 to 10 000 | float64 | Spectral centroid, the brightness of the sound |
OnsetStrength | 0 to 1 | float64 | Spectral flux, normalised to the file. Spikes on hits | |
Beat | bool | True for one sample on each detected onset | ||
Progress | % | 0 to 100 | float64 | Position in the file |
Band<f>Hz | dB | −60 to 0 | float64 | Level of one frequency band. A full-scale sine in the band reads 0 |
The bands are named by their nominal centre frequency:
- Octave:
Band31Hz,Band63Hz,Band125Hz…Band16000Hz, 10 signals. - Third-octave:
Band20Hz,Band25Hz,Band31Hz…Band20000Hz, the 31 ISO 266 centres.
So an interface has 19 signals in Octave and 40 in Third-octave. Changing the layout replaces the signal list on the next connect, so rebind any band widgets afterwards.
How sound becomes signals
Section titled “How sound becomes signals”On Connect, the plugin decodes the whole file to 48 kHz stereo and analyses it before playing. The interface shows Connecting meanwhile; a long file takes a moment.
- Mono is copied to both channels; files with more channels are reduced to stereo.
- The analysis runs every 1024 samples, so each signal gets about 47 values a second.
- Each value is released when its audio is heard, and timestamped then. With Playback off, the clock is elapsed time instead of the sound card, at the same pace.
- Levels, peaks and bands rise instantly and fall at about 67 dB per second, like a meter, so bars are readable. Silence reads −60, never minus infinity.
OnsetStrengthandBeatare relative to the whole file. A quiet passage still shows its hits, and one freak transient does not flatten the rest.
The raw console shows one line per value, for example
t=12.34s L=-18.2 R=-17.9 centroid=2140Hz onset=0.42 BEAT.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Where to look |
|---|---|
| No audio file selected | Pick a file in Audio file |
| Audio file not found | The file moved or was renamed since you picked it |
| Could not decode … | The format or codec is not supported. Convert it to .wav or .flac |
| Audio file is longer than 20 minutes | Trim the file |
| No audio output device - continuing without sound | No sound card. Signals still flow, paced by elapsed time |
| Signals flow but no sound | Playback is off, Volume is 0, or the output device cannot play the decoded format. The event log says which |
| The interface disconnects by itself | Loop is off and the file ended |
Limitations
Section titled “Limitations”- Files only. There is no live microphone or line input.
- The whole file is held in memory while connected, which caps it at 20 minutes.
- Mono analysis for bands, centroid and onsets: the two channels are mixed first.