MIERZWASTUDIO
AUDIO · PERUNTIMEPITCH HQ · 06

PerunTimePitch HQ: a closer look at quality — measurements and listening

Correct frequency is a good start. Timing, timbre, attacks and stereo still need checking. In part six, we bring them together into a practical quality assessment, using original examples to demonstrate two traps in audio comparisons.

First, define what should change

Series: PerunTimePitch HQ — from tuning to sound. Part 6 of 6.

After memory and saving, we return to what we actually hear. Before a test, record the library version, mode, sample rate, channels and settings. Retuning while preserving tempo and changing tempo are separate tasks, with different expected results.

For 440→432 Hz retuning, the ratio is 432/440. A 440 Hz test tone should become 432 Hz, and a 220 Hz tone should become 216 Hz. If tempo is to stay unchanged, check duration and event positions separately. A lower note alone does not confirm the whole task.

Several checks instead of one green light

What?Example materialWhat to inspect
TuningSteady tone and several harmonicsFrequencies against the requested ratio
TimingSeparated short hitsStart, intervals and end
TimbreVoice and sustained decayVowels, stability and added components
StereoShared centre and distinct channelsSource positions, channel relationships and mono playback
SavingComplete file with a quiet endingAll frames and the final decay

A tone makes tuning easy to measure, but cannot expose every vocal or percussion problem. A dense mix can also conceal small disturbances. Start with a simple signal, follow with several short musical excerpts, and finish with longer material.

Trap one: slightly louder

We made an original three-second sequence for this example. The second version multiplies the same waveform by approximately 1.122, adding 1 dB before PCM encoding. A small level change can affect how clear or detailed a version seems. The volume control should not choose the winner for us.

Root mean square, RMS, describes sample energy. These two versions measure approximately 1 dB apart in RMS level. That is neither a timbre measurement nor evidence of better processing. For music, LUFS measurements also help compare loudness; matching peak levels alone does not match perceived loudness.

1. Reference signalDownload WAV
2. The same signal, approximately 1 dB louderDownload WAV
3. The same signal, both channels 12 ms laterDownload WAV

All three WAVs are original explanatory signals prepared outside PerunTimePitch. They demonstrate comparison controls, not library output.

Trap two: the same signal, 12 ms later

The third version delays both channels by 576 frames at 48 kHz: 12 ms. File duration remains three seconds because the shift fits inside the silent tail. No decay has been removed.

A null test subtracts one waveform from another. Without time alignment, the delayed copy produces a substantial difference signal. Compensating for the known delay makes the overlapping samples match exactly. This demonstrates alignment, not an improvement in the sound.

Actual retuning deliberately changes frequencies. Subtracting the retuned output from the original is therefore not expected to produce silence. Sample comparisons require a suitable reference and must account for the intended transformation. Download the measured parameters of the three examples as CSV.

A plot needs a scale and a suitable analysis window

The fast Fourier transform, FFT, helps examine frequency components. Bin spacing for a segment lasting T seconds is 1/T: 10 Hz for 0.1 seconds and 0.5 Hz for two seconds. Bin spacing is not a universal measurement error. Window choice, tone stability and the frequency estimator also matter.

For tuning, select a stable section away from the attack and ending. For attacks, do the opposite: examine the beginning on a millisecond scale. Record the time interval and axis scales. Changing the zoom can make the very same waveform look like a different story.

Two useful measurements of the saved file

FFmpeg can analyse a file in a terminal. These commands inspect output.wav without saving a processed audio file:

ffmpeg -hide_banner -i "output.wav" -af astats -f null -
ffmpeg -hide_banner -i "output.wav" -af ebur128=peak=true -f null -

The first reports sample peak and RMS levels, among other statistics. The second measures loudness and true peak, accounting for peaks that can occur between samples. [1] [2] dBFS and dBTP label different measurements; retain those labels beside the numbers. Neither command alone judges whether a voice sounds natural.

Listen to short excerpts with one specific question

Compare the same excerpt at matched loudness through the same playback system. Ask one question first: has a vowel kept its character, does a hit remain tight, or has the centre image moved? Change the question and repeat. Add mono listening to the stereo check.

Hiding variant names and changing their order helps reduce expectation. If a difference cannot be recognised consistently, record that plainly. Instead of “something wobbles”, write “the sustained note changes timbre from 0:18 to 0:21”. That identifies a section somebody else can inspect.

Use both isolated sounds and music you know well. A simple test signal makes a particular change easier to locate, while a musical excerpt shows whether that change matters in context. Keep the question and the listening conditions consistent between versions.

What belongs in the report?

A report brings together settings, source material, the expected result, measurements and listening notes. Include a file checksum so the next person can identify the exact same material. Keep library output, application export and phone testing separate: each answers a different question.

This closes the introductory series. The original examples here verify level control and time alignment; they do not constitute a new HQ release qualification. A full assessment combines correct tuning and timing with timbre, stereo and a complete saved file. Then the green light has something meaningful behind it.

Sources and further reading

  1. FFmpeg: astats — sample statistics and RMS level
  2. FFmpeg: ebur128 — loudness and peak measurement
  3. Part 5: memory, time and saving