Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Chirp0to24kHz and its noisy variations (Read 4600 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Chirp0to24kHz and its noisy variations

Here is a linear chirp (sine with increasing frequency) from 1 Hz to 24 kHz with amplitude 0.8 and its variations with brown, pink and white noise added (noise amplitude is 0.02). NeroAAC, Musepack and Opus 1.0.2 + 1.1 alpha failed on it even at their best quality. Vorbis and MP3 not failed. A lot of files are at these links (encoded samples + spectrograms):
Lossless
MP3
Musepack
NeroAAC
Opus 1.0.2
Opus 1.1 alpha
Vorbis

Chirp0to24kHz and its noisy variations

Reply #1
Most codecs are tuned for actual music, not pure tones, so they probably handle samples like this really poorly.  I suspect MP3 does so well just because lame (which I assume you used) is such a mature encoder.

 

Chirp0to24kHz and its noisy variations

Reply #2
Most codecs are tuned for actual music, not pure tones, so they probably handle samples like this really poorly.

Well, electronic music may contain whatever signals possible, there are thousands of various plugins/generators etc...

Chirp0to24kHz and its noisy variations

Reply #3
Could you try it with QAAC, see if it handles it better than NeroAAC or worse.

Chirp0to24kHz and its noisy variations

Reply #4
For what it's worth I've performed some checks with this sweep and some AAC encoders:

Uncompressed Chirp0to24kHz.flac to WAV using flac -d
FYI and for some reason, the resulting WAV correctly plays in Audacity and Ocenaudio but not in Wavosaur and WaveShop, but this is something else.

Encoded the WAV to AAC using:
fdkaac 0.2.0 with libfdk-aac 3.3.3
FhGAACenc (20120624) using Winamp 5.6.3 encoder (20120620)
Nero AAC codec 1.5.4.0

All encoders were used directly from the command line with their default settings, only the quality setting was used.

I started with fdkaac -m 3

file size 87 960 bytes, overall bitrate 29.3 kbps

Then I aimed to get about the same overall bitrate with the other encoders but I had to use quite high quality settings to achieve this:

FhG --vbr 5

file size 87 611 bytes, overall bitrate 29.2 kbps

FhG --vbr 6

file size 87 719 bytes, overall bitrate 29.2 kbps

Nero -q 0.83

file size 86 470 bytes, overall bitrate 28.7 kbps (-q 0.84 would give too much bitrate for comparison, over 30.2)

Of course a sweep is not music but I find interesting to see the strategies used for this particular case.

Chirp0to24kHz and its noisy variations

Reply #5
The use of artificial samples to rate codecs is ok as long as ABX hearing tests are still involved. Rating deviations in a Time-frequency diagram as audible/inaudible without ABX is risky. The example softrunner showed for Opus was "obvious enough"(the line was cut = silent parts in the uncompressed WAV), but the deviations you're showing may not be audible at all. This is completely independent from the choice to use musical/unmusical samples.

With spectograms you are still allowed to draw conclusions about the technical nature of a encoder (algorithms used, size of transforms, etc.). For example I would expect transform codecs like AAC Vorbis MP3 to show different anomalies than nontransform codecs like ADPCM, or pure speech codecs. Conclusions about the technical nature of a codec are only interesting if they are not already published, which is unlikely.