Compare Audio Spectrograms Before and After Cleanup
Compare before-and-after spectrograms using the same audio section, FFT and display settings. Confirm visible changes by listening.
Compare before and after fairly
A useful before-and-after spectrogram comparison keeps the source, time selection, analysis settings, display settings, and playback level under control. If any of those change, the picture may look cleaner even though the processing did little, or look busier even though the track sounds better. Match the conditions first, inspect one named sound, and let listening decide whether the change helped.
The practical move is to choose a short passage where you can hear the problem, render both versions with identical settings, and switch between them at similar perceived loudness. A spectrogram can show where displayed energy was reduced or added. It cannot tell you whether that energy was an artifact, a cymbal, vocal air, reverb, or something worth keeping.
I start with the ears because the screen does not know which part of the song matters. I write down the sound and its time before opening a visual tool. That one habit prevents a bright patch from becoming a problem merely because it looks unusual.
Same source and settings
Begin with two files that share one source: the untouched export and one processed candidate. Do not compare an original mix with a later arrangement, a different master, or an extra lossy encode. Those versions contain changes beyond cleanup, so the spectrogram cannot isolate the step you meant to judge.
Align the files to the same sample or obvious transient. A small timing offset makes attacks and consonants appear in different columns. Select the same start time and duration, record both beside the comparison, and confirm that both views use the same channel arrangement. For example, compare 0:42–0:52 of the original with the corresponding ten seconds of the processed file, after checking their alignment. A left-channel view is not equivalent to a mono sum, and a stereo pair shown separately is not equivalent to either one.
Most music spectrograms are built with a short-time Fourier transform, or STFT. The signal is divided into overlapping windows, and each window is measured across frequency. SciPy documents the window, hop, sample rate, FFT length, mode, and scaling as explicit parameters. If a tool changes any of them between renders, you are no longer looking at the same measurement setup.
Use one window type and length, one hop or overlap value, one FFT length, and one magnitude or power convention. Match the sample-rate handling too. A longer analysis window can separate steady frequencies more clearly while spreading a quick event across time. A shorter window locates attacks more tightly but groups nearby frequencies into wider bands. Neither setting is inherently more truthful; consistency is what makes the pair comparable.
Then match the display. Audacity’s spectrogram controls include scale, minimum and maximum frequency, gain, range, window, window size, and overlap. Other tools use different names, but the comparison still needs the same frequency scale, vertical limits, decibel reference, color floor, palette, width, height, and interpolation. Turn off per-image automatic contrast when possible. If the software rescales every image to its own brightest point, an unchanged quiet texture can look stronger in the version with the lower peak.
For a simple repeatable view, open the spectrogram viewer and render each local MP3 or WAV with its fixed rendering settings. It accepts one file at a time and does not provide controls for FFT, frequency range, or color scale. If you need a matched ten-second view, first export the aligned ten-second passage from each version, then load the two excerpts separately. Keep their filenames and timecodes with the PNGs; the viewer processes audio in the browser rather than uploading it to the cleanup app. If you are comparing exports from Suno, the Suno audio quality guide helps distinguish source problems from changes made during cleanup.
Level matching
Level matching serves two jobs. It makes the listening decision fair, and it stops a broad gain change from dominating the picture. If the processed file is two decibels quieter everywhere, its spectrogram will usually contain darker colors even when the spectral balance is unchanged. Calling that artifact reduction would confuse level with treatment.
Use a loudness meter on the same selected passage if one is available. ITU-R BS.1770 defines algorithms for measuring programme loudness and true peak, and EBU R 128 builds a loudness-normalization recommendation on that foundation. For a short production comparison, the reading is a common starting point rather than a pass/fail target. You still need to hear whether the two versions arrive at roughly the same perceived level.
Lower the louder version with a plain playback gain control for the listening test. Keep the original files for a separate, unchanged-level visual comparison; a playback volume adjustment does not alter the PNG. If you instead export gain-adjusted copies for the image comparison, label those copies and apply the same fixed display settings. Do not add a limiter, compressor, EQ, or normalization process that changes the material you are evaluating. Switch the same phrase several times and adjust in small steps until neither version announces itself through a general jump in weight or presence.
Peak matching alone is weak evidence. Two files can hit the same highest peak while one stays dense for most of the passage and sounds louder. Whole-song integrated loudness can also hide a local mismatch in the ten seconds you are testing. Measure the chosen excerpt, then check it by ear.
Keep the monitor or headphone volume unchanged during the switch. Use a comfortable level, then repeat quietly. Loud playback can make upper-frequency detail feel more impressive or more irritating, and tired ears start approving darkness simply because it is easier to tolerate.
For the visual comparison, keep display gain, decibel reference, color range, and palette identical. A separately auto-scaled image can look darker or brighter without a corresponding improvement in the sound. The Sunofix viewer uses fixed rendering settings; if you need adjustable analysis or display controls, use a tool that exposes them and write down the values for both files. Do not normalize each image independently, because that erases the level relationship you meant to inspect.
Visible reductions and additions
Read a spectrogram as a map of displayed energy over time and frequency. A reduction means that a region contains less measured energy under the matched settings. An addition means that it contains more. Those are observations, not quality judgments.
Start with the sound you named. If a thin metallic layer follows a held vocal between 4 and 8 kHz, mark the corresponding time and frequency area in both images. Ask whether the after version shows a repeatable reduction there. Then listen to the held vocal. If the metallic edge recedes while the word remains clear and open, the visual and audible evidence point in the same useful direction.
Now check neighboring material. A broad darkening across the upper range may include less shimmer, but it may also include shorter cymbal tails, duller consonants, and less room detail. The picture cannot separate wanted and unwanted energy for you. A narrow visual change is not automatically safe either; it might remove part of a note or emphasize the edge around it.
Added energy deserves the same care. Cleanup can expose a bass note that was masked, restore perceived air, change peak control, or alter the balance between components. A brighter region might support clarity, or it might be new harshness. Listen at the exact time, identify the musical source, and compare the complete phrase before deciding.
Do not judge the pair by total brightness. Color maps translate values into colors, and small range changes can make one image look much more dramatic. Use the axes and legend. If the tool offers a frequency-difference panel, treat reduced and added zones as directions for listening, not a score that the after version should maximize.
A good note is modest and auditable: “Under matched settings, energy around this held vowel is lower, and the glassy layer is less distracting at matched playback level.” A weak note says, “The after image is darker, so it is fixed.” The first statement names the place, sound, and listening condition. The second rewards the appearance of cleanup.
Listening order
Use a fixed order so your expectation does not lead the result. First listen to the original without watching the screen. Name one symptom in ordinary language and mark its time. Next listen to the processed version at the matched level. Only then compare the spectrograms and return to the exact passage they highlight.
Switch in short loops of roughly two to five seconds when you are identifying a fine texture. Follow one attribute per pass: metallic edge, hiss between phrases, vocal diction, cymbal decay, depth, or punch. After the short loop, play the complete phrase and the transition into the next section. A treatment that wins on one syllable can still make the musical line feel smaller.
I usually check the busiest chorus first. That is where upper-frequency textures are easier to hear, and where broad processing can remove the most wanted material at once. I pair that chorus with one exposed verse or intro, because the quiet passage reveals residue while the chorus reveals collateral damage.
Try the sequence original, after, original. Returning to the source catches the tendency to adapt to the last thing heard. When the difference is close, hide the filenames or ask someone else to switch them. You do not need a formal listening laboratory, but you do need a way to notice when you prefer the version you expected to prefer.
Use the image after each audible decision, not continuously. Looking at a darkened band while switching can make you listen for an improvement that may not be there. Once you have chosen by ear, inspect whether the visual change lands at the same time and frequency. If it does not, recheck alignment, settings, and your description before adding more processing.
If the artifact remains, make one small adjustment on a new copy and repeat the same passage. The broader artifact-removal workflow helps you decide whether the next step is a restrained EQ move, denoise, track-aware cleanup, stem work, regeneration, mastering, or no further change.
Limits of visual comparison
A spectrogram complements listening. It does not issue an automatic diagnosis. Bright high-frequency energy can be a cymbal, consonant, synth harmonic, noise, reverb, or an unwanted synthetic texture. A dark region can mean silence, a low display floor, a frequency limit, or musical content below the chosen range.
The image also cannot establish how a closed generator works internally or where a track came from. Similar patterns can follow arrangement, performance, effects, encoding, resampling, level changes, and rendering choices. Keep provenance questions separate from sound-quality decisions.
Do not process toward a prettier picture. An after view with less upper energy may correspond to a duller vocal. A smoother tail may come from removing ambience that gave the song depth. A stronger low band may be useful body or unwanted buildup. The only reliable question is whether the named sound improved without unacceptable musical cost.
There are source problems that broad cleanup cannot reverse. Heavy clipping, missing detail, broken timing, a wrong note, a poor performance, and an unwanted arrangement call for different work. A finished stereo mix also limits how independently you can change the vocal, cymbals, bass, and effects. The cleanup-versus-mastering guide explains why repair, balance, loudness, and final polish should remain separate decisions.
I built Sunofix for the stage where the song already works but the exported mix still has a broad synthetic edge. It can create a cleaner WAV and give you before-and-after playback, spectrogram comparison, and frequency diagnostics. It cannot restore missing source detail, rewrite lyrics or melody, repair an arrangement or performance, replace stem-level mixing, complete mastering, or guarantee approval from a distributor.
Decision checklist
Use this short record for each candidate:
- Confirm that before and after come from the same source and differ only by the treatment under review.
- Align the same passage and channel choice in both versions.
- Match window, hop or overlap, FFT length, scaling, frequency range, decibel reference, palette, and image dimensions.
- Disable automatic per-image contrast, or retain both legends if it cannot be disabled.
- Match the selected passage by perceived loudness using a meter as the starting point and gain only for correction.
- Write one audible target with a timestamp before looking at the images.
- Switch a short loop and follow that target alone.
- Mark visible reductions and additions at the same time and frequency, then listen again.
- Check wanted neighbors: diction, cymbal decay, transients, bass stability, width, depth, and ambience.
- Play the full phrase, the busiest chorus, and one exposed section.
- Repeat quietly and on a second familiar playback system if the decision matters.
- Keep the lightest pass that makes the named problem less distracting without making the song darker, flatter, narrower, quieter, or less alive.
Record the passage, gain offset, settings, audible improvement, and audible cost. If you cannot describe the improvement without referring to the picture, return to the original and listen again. If the after version needs a level advantage or aggressive display scaling to look convincing, it has not earned the decision.
Stop when the target is less distracting and the parts you wanted to preserve still work. A small remaining artifact can be a better trade than a lifeless cleanup. The spectrogram has done its job when it leads you back to the right seconds, helps you repeat the comparison, and then gets out of the way of the song. If the export still has an unwanted synthetic edge, consider Suno artifact cleanup only after that listening decision, with the untouched export available for comparison.
Continue listening
Related reading
FAQ
Compare Audio Spectrograms Before and After Cleanup FAQ
What should stay the same in a before-and-after spectrogram comparison?
Use versions derived from the same source, align the same passage, and match the channel, sample rate, window, hop or overlap, FFT length, frequency scale, decibel reference, color range, image dimensions, and interpolation. Keep those settings written down with the comparison.
Should I level-match audio before comparing spectrograms?
Yes. Level matching is essential for the listening decision and also prevents an overall gain change from dominating the visual comparison. Use a loudness reading as a starting point, trim gain only, then refine the match by ear on the same passage.
Does a darker spectrogram mean better sound?
No. A different display scale or lost musical detail can also make it darker. Keep the display settings fixed, then listen at the marked time to check what changed.
Can the image reveal why an AI music artifact happened?
No. It can help you locate and repeat a listening check, but a visual pattern cannot establish a hidden model process, the origin of a track, or whether the visible energy is musically wanted.
Does cleanup guarantee release readiness?
No. Musical decisions, delivery checks, and final mastering remain separate steps after cleanup.