Help - Search - Members - Calendar
Full Version: Test your soundcard for clipping
Hydrogenaudio Forums > CD-R and Audio Hardware > Audio Hardware
Pages: 1, 2, 3, 4, 5
grbmusic
QUOTE(outscape @ May 27 2003 - 02:52 PM)
did you read the warnings posted by garf and pio?

Yes but sadly after to fried my tweeter, if you take a look, I was the first in made the test and repply in this thread. sad.gif
LoKi128
Well, tested with Winamp and my shitty on-board soundcard (Yamaha DS1)... got tons of weirdness at 44.1kHz... sounds fine when I resample to 48kHz with out_ds_ssrc.

So... does that mean that my soundcard has a shitty upsampler? Is it windows (i run 2k)?

In any case, resampling makes my CPU usage go from 1% to a pretty steady 30%. I have a Celeron 400. So I won't be running the resampler all the time... Still good to have a test sample that actually SHOWS people the effects of clipping and or resampling.
KikeG
I tested again at home with my Audiophile, and heard same thing as with the motherboard sound card I used previously: A ultra-high pitched tone aside from the telephone dialing sound. It seems that the mb card I used before (SoundMax, in a Compaq computer) is not that bad.

The strange thing is that doing some more additional testing at home, I could hear (or better say "feel" inside my head) tones up to 20.5 KHz or so, if played at enough loud level. I could swear that in previous tests I could not hear anything past 18.5 KHz. Maybe it's because of my strong hay fever causing congestion and ear side effects, or maybe some of the older equipment I used at my previous tests was rolling off these frequencies.

Again, if anyone wants to try this, I suggest that you use headphones, they are much less prone to fry, and even less if they are high impedance headphones. Also, use short, fade-in-fade-out, test tones.

...said that, yesterday at home, when playing these tones at loud levels, something started smelling burnt, and I saw some white smoke near the amp., I quickly switched it off. I think it was someting in the amp that overheated (or burned?), but I opened it and saw nothing wrong, and the amp seems to work fine. I have to check it more carefully.
Pio2001
THIS is a killer sample ph34r.gif

QUOTE(KikeG @ May 28 2003 - 11:25 AM)
I could swear that in previous tests I could not hear anything past 18.5 KHz.

Nor me above 16 kHz.
IMHO, it's just the playback level that is insane. The dial tones are so weak that we set the volume higher than we should.

Maybe it would be wise to record a 4000 Hz full scale sine just before, to prevent people from playing it at full volume smile.gif
lucpes
M-Audio Delta 410 card... dial tone + very high pitched noise... the udial sample was the best way so far to test the fuses that protect the tweeters in my Infinity RSII speakers (have 2 tweets/spk and would cost around USD 250-300 to replace all, IF I can find them). Fuses got burnt, everything's ok, besides my ears... ph34r.gif
2Bdecided
In fact, there isn't a hard cut off limit in human hearing. What there is, is a steep rise in threshold. Below 12kHz, it's typically ~0dB SPL. Above 20kHz, it's typically ~100dB SPL. There's usually a steep rise from (approx) 20dB to 80 dB around (approx) 16-18kHz. This varies greatly with age and individual.

It's usually somewhere along that steep rise that we conclude we cannot hear any more. But, in fact, it's just the equipment that doesn't produce the sound loud enough. We can hear at that (high) frequency, but with a drastically reduced sensitivity.

I found myself hearing 18kHz the other day, after being convinced that I couldn't hear above 16kHz. As Pio says, it's the loudness that counts. Listen to a 1kHz tone at the same loudness, and then decide if it's useful hearing!

Cheers,
David.

P.S. Do a web search for ultra sonic hearing and you might find some info on hearing up to 50kHz and beyond by bone conduction. There's even a technique for making deaf people hear, by modulating speech at ~50kHz (IIRC), and touching the transducer to their skull: this works for anyone, and is perceived as "normal" pitch speech. It still works in people with some types of deafness, so can be very useful.
Moitah
When using Winamp's DirectSound plugin (v2.2.6, included with Winamp 2.90), I hear the weird 'alien' sounds. This is effected by changing the sample rate conversion quality in Control Panel, so this means Windows is resampling? When I use the Wave Out plugin it sounds fine. Also, the DirectSound output in foobar2000 sounds fine (as well as playing it thru Windows Media Player 9, which I assume uses DirectSound). Why is this happening with the Winamp DirectSound plugin?

(Turtle Beach Santa Cruz w/ latest beta drivers, Windows 2000 SP3)

EDIT: Found out from reading Halcyon's post that it's the "Allow hardware acceleration" checkbox in the plugin. To allow the card to do the resampling, this has to be checked, and the "Hardware acceleration" slider in Control Panel must be on at least the 3rd notch (Standard or Full acceleration).
JeanLuc
QUOTE(grbmusic @ May 27 2003 - 10:37 PM)
QUOTE(LPTB @ May 27 2003 - 02:01 PM)
I tried the same sample with my SBlive 5.1; The best setting (not surprisingly) was with SSRC at 48000Hz but even at this setting I could still hear some weird ambulance in the background (not like the super annoying ultrasonic I've experienced with SoundMAX) but weird all the same; With both cards I can't make it to sound like tigre's mpc.

The same here with my SB 512 PCI and with my onboard (SIS 710) sounds worst.
Still I'm crying for my speakers sad.gif . Thanks of God I can get brand new tweeters (JBL Titanium) in my country but it's expensive yet, with a bit of luck I will can buy them the next month, only 2 of 5 weren fried rolleyes.gif

Sorry for your speakers, man ... if I were you, I would mount the two remaining tweeters into the front main system or re-arrange your speakers (if front & rear are the same types) as a start ... that way you can still enjoy two-channel music ...
jues
Soundcard: Delta 410.

Christ that hurt - yeah, put something nice and loud at the start so that people don't crank this too high - at first I couldn't hear the sine wave, but I sure did when I reached for those faders.

I feel sorry for everyone who has blown their tweeters on this test.... :|
DickD
I have a Win NT4.0 machine with a 'Pro16V-A Pnp' soundcard at work which is rather limited. I already worked out that it can only work at 44.1, 32, 22.05, 16, 11.025, 8 kSa/s sampling rates.

With Microsoft Sound Mapper, sampling rates like 24 kHz sound like a 45 record played at 33 rpm as all the sound comes out slower. It purports to work at 48 kHz, but it's clearly downsampling to 44.1 kHz. "How well?" is the question.

Just to check how bad Microsoft Sound Mapper is, using FB2K I resampled to 48000 S/s, (even in Slow mode, 64-bit), and set the playback waveOut device to MSM. The sound broke up terribly after the first three tones, with a dirty sounding loud siren sound. This shows that there's practically no filtering going on in the downsampling, so as I suspected, I'm much better off using FB2K's Resampler to play 48 kHz content.

Listening on a plain WAV player or FB2K at 44.1kHz to the waveOut/'Audio Playback' device that doesn't support 48000 S/s, I hear the dialing tones plus a reasonably quiet and pure high pitched frequency-modulated varying tone over the four longer tone-dial tones. The frequency-varying tone sounds like an american cop show siren on helium, unrelated to the tone dialing frequencies. Musically, I guess it might have been about 9 semitones of variation from peak to trough, or a frequency ratio of 1.7.

Looking at the spectrogram in a WAV editor, it's 19-21 kHz frequency modulation and very intense, so I shouldn't be able to hear it all with the volumes my soundcard can reach, if any at all. So I guess my cheap soundcard isn't properly filtered and I'm getting beating between the 19 kHz and its image above the Nyquist limit, at 25.1 kHz, coming out at a 6.1 kHz difference frequency, with the 21kHz part of the sweep beating with a 23.1 kHz tone, causing a 2.1 kHz beat frequency.

Hmm, that doesn't sound quite right as it's more like 18.5 semitones - a ratio of 2.9 to 1. But alternating Add Location... tone://6100,0.3 and tone://6200,0.3 (both with volume set to about -45 dBFS by editing replaygain values) sounds plausibly about right for the extremes of the tone sweep at similar loudness, so I suspect that the brickwall filter is imperfect, but perhaps it's good enough to reduce aliased frequencies in the 23.1 to 25.1 kHz range to below -45 dB or so (very roughly).

I'm glad I don't have clipping in my signal chain, and I'd say for real music -45 dB intermodulation with aliases isn't going to be an audible problem (certainly not with the noise floor of this sound card and the noise of the computer fans), so I'm pretty darned happy with it.

Using the Equalizer to apply -20 dB to the 14 and 20 kHz bands, is enough to make it inaudible, even though I'm pretty convinced it's well below 10 kHz, so this backs up the idea.

By the way, to hear the effect of clipping on this sample in FB2K turn your Windows Volume down low and remove Advanced Limiter (or Soft Clipping Limiter if you use it) from your DSP list, then turn on ReplayGain but turn off clipping prevention. Alternatively, just listen to the musepack samples already posted (with clipping prevention turned on - perhaps those samples should have been manually edited in FB2K to set ReplayGain values to 0.00 dB).

Incidentally, a possible safety idea when posting potentially equipment-damaging files (e.g. sounds too quiet so you turn it up and fry your tweeters with the ultrasound) is to post the files in a password-protected zip file with a password such as 'warned' so the user has to acknowledge they've been warned before playing the sound and can't just play it with FB2K's archive reader either.

People should also be careful that perceived loudness is reasonably high before hiding messages such as text in the spectrogram's 18-22 kHz region, as some people were discussing after the Aphex Twin pictures in music thread. (This will also protect people's pets from hearing damage to a degree)

Do many speakers or headphones come with a fuse, circuit breaker or limiter to protect them from currents in excess of their design rating? (I've seen that lucpes' Infinity RSII speakers do).

Incidentally, the same effect of gradual reduction of sensitivity is true of vision. Red light is normally reckoned to be no more than about 670 nm, I can see a 790 nm infraredlaser (I used safety precautions and did this in a laser lab), but only if it's focussed to a small very intense spot (major dazzle on an IR viewer, way brighter than sunlight would be) will it be visible as a dull red glow on a piece of card in a reasonably dark lab. Also, the reason weak red light plus weak blue on a computer looks like indigo/violet is that the red cone response versus wavelength has a second peak, but at lower sensitivity beyond the green and towards the tail of the blue at short wavelengths.
Pio2001
This is a picture of the aliases that can appear when the sample is resampled from 44.1 to 48 kHz. Here with SoundForge 4.5, quality 1, no antialias.
fragtal
I just downloaded the correct.flac and I'm really quite shocked:

After the first three or four dialing beeps there is horrible high-frequency noise/sound coming up that, according to correct.flac, shouldn't appear. Some of you (Creative-haters) will feel confirmed when I say that I've got an Audigy2. Reducing the master-volume with the creative mixer doesn't change anything. Also changing from ds ssrc 2.2.6 to waveout doesn't affect the quality (in this case I shouldn't speak of quality smile.gif) in any way.

I guess I should download actual drivers... Mines are datet 5.2.2003

and grbmusic, sorry for your speakers. That's something that really deeply hurts sad.gif
ViPER1313
Sounds fine to me on my SB-Live value w/ 48khz SSRC resampling and master volume set to 50% in windows mixer (all other volume sliders set to max.) Yes, this is the same effect that the maximized sweep.wav file tests for (although the sweep is more through and wont hurt your ears quite as much biggrin.gif ) Peace.

P.S. - Equalizations done in the windows mixer can have drastic effects on this sample. The further I turn up my treble, the further I have to turn down my volume.... etc....
atici
QUOTE(lucpes @ May 28 2003 - 06:38 AM)
M-Audio Delta 410 card... dial tone + very high pitched noise... the udial sample was the best way so far to test the fuses that protect the tweeters in my Infinity RSII speakers (have 2 tweets/spk and would cost around USD 250-300 to replace all, IF I can find them). Fuses got burnt, everything's ok, besides my ears...  ph34r.gif

I realized the very high frequency sound in the udial but neither my fuses burnt nor the tweeters in my Infinity Alpha 40s. How do you do a damage check? smile.gif I tried test tones up to 20k and it sounds as it used to. I hope it's alright. lucpes, do my speakers have any fuses too? How come they don't put a safety fuse to any speaker more expensive than $300? My amplifier AudioSource Amp Two has a peak limiter which I keep on. It says in the manual : "The peak limiter modulates high frequencies at high volume, protecting your speakers from damage or distortion. A red LED also indicates activation of this feature.".I don't know what saved them but I'm really glad.
Pio2001
QUOTE(ViPER1313 @ May 28 2003 - 10:24 PM)
the sweep is more through and wont hurt your ears quite as much

Do you mean that this sample hurts ? In this case it's not played properly. You should hear 7 quiet dialup tones, nothing else.
kritip
QUOTE(Pio2001 @ May 28 2003 - 08:50 PM)
QUOTE(ViPER1313 @ May 28 2003 - 10:24 PM)
the sweep is more through and wont hurt your ears quite as much

Do you mean that this sample hurts ? In this case it's not played properly. You should hear 7 quiet dialup tones, nothing else.

I really couldn't figure why it sounded so bad on my PC, i finally figured out that if i dropped the attenuation in Foobar2000 to about -18dB it finally sounded ok.
I thought this amount of attenuation was far too much, then i noticed i had replaygain enabled and the track gain for the file was abou +18dB. I disable replaygain, and when resampled to 48000Hz and now all i hear is a quiet (in relation to the dial tone) high pitched fluctuating noise!

Also, it din't make my eardrums feel like they had been scewered with cocktail sticks!!!

I didn't notice anyone point this out earlier in the thread, so i thought i'd let everyone know!

Kristian
Stuv
Quite interesting sample this one.
All ASIO, Wave and DS sound normal on my Aureon/Sky (master & wave maxed).
(my SB Live put up something like a cop chase in a pouring rain blink.gif ).
ViPER1313
QUOTE
the sweep is more through and wont hurt your ears quite as much
QUOTE
Do you mean that this sample hurts ? In this case it's not played properly. You should hear 7 quiet dialup tones, nothing else.


No, I hear the 7 quiet beeps, and nothing else. I'm just saying that when this sample DOES clip (i.e. - When I max out the volume of my card...) the seven laser attacks can be painful to your ears. And your speakers dry.gif . The when the sweep.wav starts to clip, the laser attack sounds start soft (at least for me - my clipping is caused by the EQ settings of the SB-Live drivers) and increase as the freq. gets higher. Not to mention that a max volume sine wave is much more effective / thorough way to test for this sort of clipping, as it covers all frequencies, and allows for you to tweak your volume / EQ settings while the sample is on repeat play. This is what I was trying to say.
Halcyon
A quick note about Creative cards and audible artifacts with this sample:

If you think you are hearing this sample right, you may not be playing it back loud enough. I know, I know. You should NOT PLAY THIS SAMPLE LOUD. It can destroy your equipment. Be very careful.

However, I noticed that with resampling done "almost right" (in subjective terms) you may not get any ambulance / chirping / alien sounds, but you may get a static, lower frequency noise (or even hum) all throughout the duration of the 19.5 kHz tone. This for example, when you set your playback software to resample the output to 96 kHz.

If you play it at low enough volume, you will not be able to detect this noise, but trust me it's there on Audigy 2 Platinum eX and I'm quite positive that it is also there on any Creative Live/Audigy sound card. Once you've played it loud enough to notice it, it's much easier to spot it even at a slightly lower volume.

I don't really believe a single creative card passes this test at ANY volume setting (at least not on Winamp resampling plugins). I've tried it down to 10% in Creative Surround Mixer (for both master volume control and wave playback volume control). The distortion and/or hum (depending your choice of resampling) is always there, it's just harder to spot at lower volumes (you need to have quite a lot of clean / external amplification outside your sound card).

As a comparison. I've played this sample back at insane levels (considering the 19.5 kHz full amplitude tone) on using RME DIGI 96/8 PAD. I can hear a faint amount of noise at the background (either in the sample or in my playback gear), but it is so miniscule and only audible at insane playback levels that the noise WaveOut or DirectSound Resampling plug-in in WinAmp 2.x produces on Creative cards is imho, clearly more audible.

BTW, one additional comment about the DirectSound plug-in for Creative cards (in Winamp), which I learned myself only now:

With the WinAmp 2.xx DirectSound resampling plug-in I cannot make the chirping go away regardless of what sample rate/bit depth/dithering/noise shaping/mode I choose, UNLESS I uncheck the "Allow hardware acceleration" in the DirectSound plugin configuration. As such, I'd recommend leaving it unchecked for any critical listening, if you are using a Creative based sound card.

regards,
Halcyon
KikeG
QUOTE(Pio2001 @ May 28 2003 - 08:50 PM)
You should hear 7 quiet dialup tones, nothing else.

Well, in my case the sample was properly played, and I could "feel" the ultra-high pitched tones, even when the dialling sound was not very loud.

If someone hears something apart from the dialling tones, a high pitched tone at 19 or 20 KHz (the one that IS at the sample) sounds quite different from a 10 KHz or 15 KHz tone (possibly caused from intermodulation/resampling artifacts). In the first case, you really don't hear anything, but feel like somebody was pushing a needle inside your head, or some kind on nasty pressure inside your head. In the latter, you clearly hear someting, its an irritating high pitched note, but it's at your ears.
DickD
QUOTE(kritip @ May 28 2003 - 10:32 PM)
I really couldn't figure why it sounded so bad on my PC, i finally figured out that if i dropped the attenuation in Foobar2000 to about -18dB it finally sounded ok.
I thought this amount of attenuation was far too much, then i noticed i had replaygain enabled and the track gain for the file was abou +18dB. I disable replaygain, and when resampled to 48000Hz and now all i hear is a quiet (in relation to the dial tone) high pitched fluctuating noise!

I think this was mentioned by somebody who hadn't enabled ReplayGain clipping prevention. If you enable that it should sound fine.

I'd suggest that if anyone posts this test tone in future, they manually edit the ReplayGain values to 0.00 dB in FB2K or similar, unless of course, it's supposed to be used to flag up "badly" set up ReplayGain (i.e. with no clipping prevention).

It's great to have a sample to really work out what's the best set-up for a soundcard/driver you're unsure about.

Pio: I think your picture of the aliases is pretty much what I was hearing on my Pro-16v-Pnp card, except the aliases (cop cars) were much quieter, due to my brickwall filter being fairly good (just not perfect).
mrosscook
I have an SB Live card and Harman-Kardon desktop speakers, and I don't hear any artifacts in the udial sample using any of the audio players that I have installed (about 12 in all, though I mostly use Winamp 2.81, and Media Jukebox 8 to a lesser extent). I don't use DSP or equalizer plugins; I've played with them from time to time, but I prefer to have them always turned off by default.

I hear only the seven quiet digital-phone dialing tones -- no sirens, ambulances, etc. My ears are not golden by any means, but my wife can't hear any artifacts either.

Halcyon suggests that at sufficiently high volumes, I should hear artifacts, but I'm not going to test that out. The only way that I know to "be careful" when increasing volume would be to do it gradually and to stop when I can smell my tweeters, or when the desktop bursts into flame, whichever comes first.
LPTB
KikeG, Halcyon
You're both correct this is exactly what happened with my SBLive (reviewed in one of the earlier posts), even when using SSRC with foobar I heard the high freq. wave, it was there at any volume setting but at lower volumes I could only feel it (uncomfortable feeling) and at higher volumes also hear quite painfully so I don't think it reaches 19kHz but it's close.

EDIT: The test was done using: SBLive-Marantz-HD580
Pio2001
I remember people saying their SB live was incredibly improved by the SSRC plugin, and other saying it made no difference. It depended on the OS, and the "sample rate conversion quality" of Windows settings. People having a bad sounding SB live got the same result setting Windows' sample rate conversion to "best", or enabling SSRC playback.
Thus this sample might also sound very different from an SB live setup to another.
JonPike
Huh.. interesting.

On XP here, can't remember if I had to adjust the XP controls for maximum quality, or they were by default,
soundcard is an Audigy I, Winamp 2.91 with DS 2.2.3 SSRC set at 16b x 48Khz, sounds near perfect, only very low
level hiss. Sliders don't seem to cause a sudden increase in noise, just make things louder.

Of course is ist death at 41.1Khz, and many others.. but 16b and 96khz is pretty quiet as well.

Oh, a fair amount of noise is caused by the good 'ol Winamp EQ being on.. but we expected that, right?

Hmmmm.... now Fubar .60 is wierd.. I get heavy "laser blast" sound effects on every one I tried, (using DS and resampler, and no other DSP) except 32Khz!! Even Audigy native 48Khz rate had bad noise. What's going on here?

Guess I'll be irritating and say, "Hey, I'm sticking with Winamp, for better sound!!" };-) Though it is Peter's earlier SSRC code.
grbmusic
QUOTE(JeanLuc @ May 28 2003 - 11:16 AM)
Sorry for your speakers, man ... if I were you, I would mount the two remaining tweeters into the front main system or re-arrange your speakers (if front & rear are the same types) as a start ... that way you can still enjoy two-channel music ...

I made that already, it's a 5.1 speaker system, the 5 satellites are the same type, only 2 was damaged (smooking). I'm looking for new tweeters for reemplacement them, with a bit if lucky the next week I will can get it. rolleyes.gif
Halcyon
FYI. All of my test were done under WinXP Pro SP1, using latest Audigy 2 Platinum eX drivers (5.12.1.383), with Hardware acceleration set to full & Sample rate conversion quality set to best (both in Sounds and Audio Devices Control panel), all Creative crap (EAX, CMSS, equalizer, etc) disabled and using fairly high resolution playback equipment (Meier Audio Prehead amplifier + shielded low capacitance interconnects + Ultrasone HFI-650 / AKG K270s / Sennheiser HD600+Cardas cables) in a room with very low volume background hiss during night time.

I'd be glad if I could get rid of the remaining artifacts, but I haven't been able to do so. Not that it's a great loss with another working sound card in the machine, but if anybody finds a really working solution to this, I'd be really delighted to hear about it.

regards,
Halcyon
DickD
QUOTE(JonPike @ May 30 2003 - 02:43 AM)
Hmmmm....  now Fubar .60 is wierd..  I get heavy "laser blast" sound effects on every one I tried,  (using DS and resampler, and no other DSP) except 32Khz!!  Even Audigy native 48Khz rate had bad noise.  What's going on here?

Guess I'll be irritating and say, "Hey, I'm sticking with Winamp,  for better sound!!"  };-)    Though it is Peter's earlier SSRC code.

You just haven't set up Foobar2000 adequately to cope with this sample (i.e. you've set it up to permit clipping) - and an imperfect setup is one thing this sample helps identify.

As mentioned above, you need to turn on Foobar's clipping prevention (Preferences/Playback/ReplayGain box) because the Replaygain is trying to boost this above full scale, seeing as the dial-tones are very quiet and the full scale ultrasound is inaudible. Replaygain causing clipping is very rare (esp in Album Gain mode). You can turn it off again after the test if you're want to let it clip.

The other (less likely explanation) is that you have soft clipping limiter turned on, and that's causing distortion (as it is supposed to) or you're running some other compressor/limiter DSP (except for Advanced Limiter which only distorts the signal when clipping will occur - it knows this by reading ahead by a number of samples) or are running a pre-amp or equalizer with positive gain values.

From what you say about Winamp, it sounds like you then simply need to set FB2K's resampler active in the DSP list (usu. at the top of the list of DSPs) and set it to 48000 S/s for your Audigy 2.

Then FB2K will sound fine.

Using the SSRC, you also have a good Winamp setup if you don't use the dodgy Winamp EQ, and probably couldn't tell the difference from FB2K in a blind listening test, unless you had very good equipment and environment or have tracks for which Winamp doesn't support Replaygain.
mrosscook
Pio,

Since there may be issues with the OS for Creative cards: I run Win XP Home SP1 with my SB Live card. Hardware acceleration set on Full, Sample rate conversion quality set on Best. (These are the defaults.) My driver version is 3509.0.0.0.

Just about everything is set on default, except that I turn off any software options that look like they are trying to function as an equalizer or DSP, and I adjust the volume sliders from time to time when an aggressive player or other piece of audio software plays with them.
lucpes
QUOTE(atici @ May 28 2003 - 07:39 PM)
lucpes, do my speakers have any fuses too? How come they don't put a safety fuse to any speaker more expensive than $300?

image

Here's how the fuse that blew looks like in my case (1.25A). A good idea would be not using HF test tones to check for damage in tweeters... I once blow a tweeter on other speakers using a 19kHz sine so be careful!


Edit: Please don't post large pictures. Thanks.
Thikasabrik
Well, having tested more thoroughly at different sampling rates with my SB Live 5.1 (Kx 3533 rc2), I have discovered the following...

48 khz ASIO: High freq. distortion (the dog-exciting kind). With volume pumped up, lower freq. hum is present - no more of this or i reckon my speakers 'll fry.

96 khz Dsound: High freq. again. Similar to 48
88 khz Dsound: Same.
64 khz Dsound: Very clear laser-effects.
48 khz Dsound: Almost the same.
44 khz Dsound: Less high freq. with fairly quiet laser-effects
32 khz Dsound: No problems at all.
24 khz Dsound: Same
22 khz Dsound: Same
16 khz Dsound: Same
11 khz Dsound: Same
8 khz Dsound: Same

Used foobar2000. Dithering was turned off, resampler at 64 bit precision, no replaygain calculated so no adjustment made. ...Just incase anyone is interested wink.gif
Pio2001
Below 44.1 kHz, if the resampling is done with antialias, the 20 kHz sine is simply removed (max bandwidth 16 kHz) and the sample doesn't clip anymore.
Dave Hamaker
I extracted the sample to a wav file. I looked at it with Sound Forge to make sure it didn't have something like already-recorded clipping in it. I set my SBLive wave device and master volumes to 100% since I know these are the unity volume settings (lower settings will raise the quantization noise floor). Using a full-scale 1kHz test tone at 48kHz, I set listening volume properly to comfortable levels. Then I played the sample and all I heard was soft touch-tone sounds. My 19-year-old daughter, who should have hearing less-affected by aging, reported the same, despite the fact my soundcard is a poster child for the anti-resampling bigotry camp.

I think this sample is a trap for the unwary. Since it contains soft audible sounds mixed with loud sounds beyond the normal range of hearing, it tempts you to turn the volume of your amp way up so you can hear what's going on, but that means you are going to be hearing stuff near or at the quantization noise level which is in practice inaudible. In addition, you are feeding a lot of energy into the amp and amplying the hell out of it, which the amp's circuitry is not designed for. Furthermore, if the software used to play the sample has software volume control, you could easily, in trying to set volume to hear the soft tones, badly clip the sample before it even reaches the soundcard, and this might happen on some of the software's settings and not others.

There are better ways to experience digital clipping (wav files with clipping in them), and I think stress-testing amps and speakers with high-energy sound at frequencies that don't tell you what's really going on is a very dubious thing to do.

-Dave
dwh@cfcl.com
Pio2001
The spectrum of the clipped sample has subharmonics of the 20 kHz tone, while the resampled one has also some reflected versions, that are upside down.

Thus it should be possible to generate a sample like a sweep, that would tell if there is digital resampling or not (inversion of the sweep), regardless of clipping.
Dave Hamaker
QUOTE(Pio2001 @ May 30 2003 - 04:37 PM)
The spectrum of the clipped sample has subharmonics of the 20 kHz tone, while the resampled one has also some reflected versions, that are upside down.

Thus it should be possible to generate a sample like a sweep, that would tell if there is digital resampling or not (inversion of the sweep), regardless of clipping.

What exactly are you referring to by the resampled one? Any resampling algorithm?

-Dave
dwh@cfcl.com
Pio2001
Here are the results of two bad processes performed in SoundForge :

Resampling to 48 kHz, quality 1, no antialias. The result is similar with antialias. Switching to quality 2 (on a 1-4 scale) removes nearly all aliases.

Clipping, applying a +3 db volume process.

The extra tones created look different. There are strong reversed images of the treble tone in the resampled version, but very weak, and low frequency ones in the clipped version. The frequency modulation is also constant in the resampling process, and not in the clipping process.
Halcyon
QUOTE
Switching to quality 2 (on a 1-4 scale) removes nearly all aliases.


I tried the same on Soundforge (WaveLab produce utterly horrible results), using different quality ranges.

Actually what I found out was that none of the resampling algorithms remove the problems.

With my crappy multimedia speakers I can hear a significant amount of hum/noise when the 19.5 kicks in.

With Ultrasone HFI-650 (which are painfully analytical headphones at times, imho) I can hear not only the increased noise, but ALSO a faint trace of the ambulance/chirping sound at the level or slightly below the noise floor. It's there, it's masked, but still clearly audible.

With AKG K271S I have to listen really attentively to hear the noise. I can't hear the chirping/ambulance at all. Increasing the playback volume I can hear the noise, but still not hear the chirping. If I pump up the Volume to 100/100, I get a new clipping sound that modulates in synch with the chirping sound (the chirping is not audible, only the clipping part of it is).

With Grado SR60 I can only hear the slightly elevated noise at similar playback level. If I increase the volume, I start to hear the original 19.5 kHz sound, the muted chirping/ambulance and the noise becomes more apparent. The chirping/ambulance is still clearly fainter than with Ultrasone, but then again the 19.5 kHz is clearly more audible. Clearly.

With Sennheiser HD600 I can hear the 19.5 kHz sound even at the same volume (very faintly), I cannot get the ambulance/chirping sound even at extremely high volume and the noise is very subdued, although audible at a higher volume.

I think this sample has much more use than just as a tool to:

1) estimate proper volume levels to avoid clipping
2) estimate the sample rate conversion quality of your software / hardware

Please note that the two above can be separated from each other. I can make the SRC almost ok, but destroy the results by pumping up the volume and causing clipping.

So we actually have two different artifacts working here at the same time. Aliasing intermodulation distortion due to sample rate conversion and clipping distortion.

In addition to the above, I think the sample is very useful in gauging differences between your sound reproduction gear. The high frequency analysis capabilities of my various heardphones become very apparent through the use of this sample.

I'm just afraid of destroying what's left of my very diminished HF hearing, by playing back this sample all over again too many times smile.gif

I really recommend this sample (with precautions regarding hardware and your own hearing!) for testing 1) clipping, 2) sample rate conversion quality, 3) playback gear HF and dynamic reproduction capability.

regards,
Halcyon
indybrett
Using Foobar through a Prodigy 7.1 soundcard.

Just some slight static with no DSP plugins. If I use the SSRC resampler (which I always do), it sounds perfect.

Yea for me smile.gif

Edit: The Crossfeed DSP makes it sound like aliens attacking from space.
Dave Hamaker
QUOTE(Pio2001 @ May 31 2003 - 12:29 AM)
Here are the results of two bad processes performed in SoundForge :

Resampling to 48 kHz, quality 1, no antialias. The result is similar with antialias. Switching to quality 2 (on a 1-4 scale) removes nearly all aliases.

Clipping, applying a +3 db volume process.

The extra tones created look different. There are strong reversed images of the treble tone in the resampled version, but very weak, and low frequency ones in the clipped version. The frequency modulation is also constant in the resampling process, and not in the clipping process.

I see. If you want to make a graph of the Creative upsampling, isolated, you can download: http://pages.sbcglobal.net/udialsb.wav (for awhile).

-Dave
dwh@cfcl.com
JonPike
QUOTE(DickD @ May 30 2003 - 04:31 AM)
QUOTE(JonPike @ May 30 2003 - 02:43 AM)
Hmmmm....  now Fubar .60 is wierd..   I get heavy "laser blast" sound effects on every one I tried,  (using DS and resampler, and no other DSP) except 32Khz!!   Even Audigy native 48Khz rate had bad noise.  What's going on here?

Guess I'll be irritating and say, "Hey, I'm sticking with Winamp,  for better sound!!"  };-)    Though it is Peter's earlier SSRC code.

You just haven't set up Foobar2000 adequately to cope with this sample (i.e. you've set it up to permit clipping) - and an imperfect setup is one thing this sample helps identify.

As mentioned above, you need to turn on Foobar's clipping prevention (Preferences/Playback/ReplayGain box) because the Replaygain is trying to boost this above full scale, seeing as the dial-tones are very quiet and the full scale ultrasound is inaudible. Replaygain causing clipping is very rare (esp in Album Gain mode). You can turn it off again after the test if you're want to let it clip.

The other (less likely explanation) is that you have soft clipping limiter turned on, and that's causing distortion (as it is supposed to) or you're running some other compressor/limiter DSP (except for Advanced Limiter which only distorts the signal when clipping will occur - it knows this by reading ahead by a number of samples) or are running a pre-amp or equalizer with positive gain values.

From what you say about Winamp, it sounds like you then simply need to set FB2K's resampler active in the DSP list (usu. at the top of the list of DSPs) and set it to 48000 S/s for your Audigy 2.

Then FB2K will sound fine.

Using the SSRC, you also have a good Winamp setup if you don't use the dodgy Winamp EQ, and probably couldn't tell the difference from FB2K in a blind listening test, unless you had very good equipment and environment or have tracks for which Winamp doesn't support Replaygain.

OK... turning off Replaygain killed the laser noises. Is this what you mean by "turning on Foobar's clipping prevention"?

I never changed it before, it was set to "use album gain" and "use peak info..." checkbox was checked. Isn't the checkbox feature supposed to detect the highest peak and then use that as a maximum? It can't detect a 19Khz (or whatever that high tone is) tone?

I had no other kind of limiter or other DSP, just the Attenuator (don't know what this is, if not the volume control) and the Resampler, which I did have set to 48Khz for most of my tests, since I have a Audigy 1.

So, I guess Foobar's problem was completely caused by Replaygain scaling the track wrong..

Hmmm... thought I'd check this out by running no resampling and no replay gain to see the different effect of clipping and bad resampling, and Foobar just locked up.. Ok, no resampling is similar, laser sound but quieter and raspier, then with the replaygain changing it.

Only question I'm left with, is Replaygain supposed to catch a file like this and use the peak info to rescale when the first pass at it still causes clipping, like the checkbox mentions?

Maybe a second question, did Peter ever make a resampling version past 2.2.2.3 for winamp2? Not that I apparently have any problems with that one...

I do noitce that Foobar now puts up the playing file when you're listening to a Shoutcast station, but I'm still a sucker for the quick link to the homepage, and etc that you get with Winamp..
JonPike
"foobar2000 player v0.666 released

Changes:
- removed replaygain-scan-while-playing"

Hmmm... might this be why the "rescale-it-to-peaks-if-it-still-clips" feature isn't apparently working?

Assuming that that feature is supposed to do that in a case like this.. (I can't say I really know what's going on there)
Differenciam
Ack. My laptop made that sound quite painful. dry.gif
Chun-Yu
QUOTE(indybrett @ May 31 2003 - 01:29 PM)
Using Foobar through a Prodigy 7.1 soundcard.

Just some slight static with no DSP plugins. If I use the SSRC resampler (which I always do), it sounds perfect.

Yea for me smile.gif

Edit: The Crossfeed DSP makes it sound like aliens attacking from space.

Really? Should have gone with the Revolution! No noise or anything with both resampling on and off. Any volume setting, any output.

(Just kidding - I'm sure the Prodigy is also a nice soundcard).
Halcyon
QUOTE(Chun-Yu @ Jun 1 2003 - 03:46 AM)
QUOTE(indybrett @ May 31 2003 - 01:29 PM)
Using Foobar through a Prodigy 7.1 soundcard.

Just some slight static with no DSP plugins. If I use the SSRC resampler (which I always do), it sounds perfect.

Yea for me smile.gif

Edit: The Crossfeed DSP makes it sound like aliens attacking from space.

Really? Should have gone with the Revolution! No noise or anything with both resampling on and off. Any volume setting, any output.

(Just kidding - I'm sure the Prodigy is also a nice soundcard).

I think the artifacts this sample produces with various settings on various sound cards using various playback gear are hard to compare.

I have demonstrated above (with my less than perfect hearing) that the ability to hear the artifacts from a sound card with this sample are very volume and playback gear dependent.

Hence, if you don't hear any artifacts and don't want to, then don't upgrade your playback gear smile.gif

Then again, if you hear artifacts on your sound card and another person with the exact same sound card doesn't hear them, don't feel bad about it. If the settings are all equal, then either you have better hearing or more accurate playback gear (for this particular sample).

Please understand that I'm not saying that Revo (or any other card mentioned in this thread) is not faultless. It's just that testing the faultlessness is not necessarily easy. Even high quality equipment can mask some of the artifacts in this test.

I'm just trying to underline the point that whether you hear artifacts or not, is not only a function of your sound card, but also your hearing, playback volume and playback gear.

best regards,
Halcyon
DickD
QUOTE(JonPike @ Jun 1 2003 - 01:48 AM)
OK...  turning off Replaygain killed the laser noises.  Is this what you mean by "turning on Foobar's clipping prevention"?


No, I meant the "use peak info" checkbox being checked.

QUOTE
I never changed it before,  it was set to "use album gain"  and "use peak info..." checkbox was checked.   Isn't the checkbox feature supposed to detect the highest peak and then use that as a maximum?   It can't detect a 19Khz (or whatever that high tone is) tone?

I had no other kind of limiter or other DSP,  just the Attenuator (don't know what this is, if not the volume control) and the Resampler, which I did have set to 48Khz for most of my tests,  since I have a Audigy 1.


The latest FB2K (v0.666) does need you to scan the track for ReplayGain (which includes peak info) to apply any changes. The peak info is read directly from the sample values in the file, so it doesn't matter what frequency it is. It should measure the peak values accurately and therefore apply almost no gain (because the file is about to clip). I wonder if your peak value information was corrupted? If you right-click the file and erase the ReplayGain info, then right-click it and scan Track Gain, it ought to be OK.

Resampler could cause clipping and still be working properly, though I'd imagine it would be a very subtle amount of clipping, if any, given that.

Yes, Attenuator is the Volume Control.

Your clipping might be elsewhere - not in software, for example in the soundcard electronics or your amplifier, though the fact it didn't clip when you turned off RG seems to indicate a problem there instead.

Hardware clipping is likely to stop if you turn down the volume far enough.

QUOTE
So,  I guess Foobar's problem was completely caused by Replaygain scaling the track wrong..

Hmmm... thought I'd check this out by running no resampling and no replay gain to see the different effect of clipping and bad resampling, and Foobar just locked up..   Ok, no resampling is similar,  laser sound but quieter and raspier,  then with the replaygain changing it.

Only question I'm left with, is Replaygain supposed to catch a file like this and  use the peak info to rescale when the first pass at it still causes clipping,  like the checkbox mentions?


Yes, except that the first pass no longer scans for RG - you have to scan it manually from Foobar v0.666.

QUOTE
Maybe a second question,  did Peter ever make a resampling version past 2.2.2.3 for winamp2?  Not that I apparently have any problems with that one... 

I do noitce that Foobar now puts up the playing file when you're listening to a Shoutcast station,  but I'm still a sucker for the quick link to the homepage, and etc that you get with Winamp..


Yup, Winamp sounds very good, and rarely different from Foobar (unless you use the EQ!), so there's no imperative for many users to make the switch, and if you prefer some features, sure, stick with it.

P.S. Someone mentioned Crossfeed causing sirens. For me, Crossfeed DSP hasn't caused a problem with this sample (at 44.1 kHz).

P.P.S. I tried using FB2K to write out a 24-bit dithered 48000 Hz WAV (slow, 64 bit resampling) from this file (no noise shaping) and noted that the suggested track gain of the new file was 1 dB higher (19.2 dB). The peak value was now 1.000000, much as expected. Should the RG estimate change this much with good resampling?
JonPike
QUOTE(DickD @ Jun 2 2003 - 05:36 AM)
The latest FB2K (v0.666) does need you to scan the track for ReplayGain (which includes peak info) to apply any changes. The peak info is read directly from the sample values in the file, so it doesn't matter what frequency it is. It should measure the peak values accurately and therefore apply almost no gain (because the file is about to clip). I wonder if your peak value information was corrupted? If you right-click the file and erase the ReplayGain info, then right-click it and scan Track Gain, it ought to be OK.


Ok, I'll try that. BTW, what looks to be on the file now is:
track gain: +18,200000 dB
track peak: 0,997131

OK, now I'm back from erasing that and redetecting it. Wierd.. First off, when I erase and rescan, I get exactly the same value.
Second, with that value, or when it has no value, there is no problem now, even with replay gain enabled! ?!?

Now I'm confused. Maybe I changed something that didn't reset till Foobar got restarted? Problem has gone away.

Another note, even though I can't hear any thing, I do get a "WARNING (CORE) : Clipping detected" message in the console. AND, I don't get it when I turn off Replaygain altogether.

Things that make ya go Hmmmm...

Still sounds great....


QUOTE
Resampler could cause clipping and still be working properly, though I'd imagine it would be a very subtle amount of clipping, if any, given that.

Yes, Attenuator is the Volume Control.

Your clipping might be elsewhere - not in software, for example in the soundcard electronics or your amplifier, though the fact it didn't clip when you turned off RG seems to indicate a problem there instead.

Hardware clipping is likely to stop if you turn down the volume far enough.


I have to have resampler on to avoid any sounds.
I can turn up my wave and main sliders all the way and have no added clipping.

QUOTE
Only question I'm left with, is Replaygain supposed to catch a file like this and  use the peak info to rescale when the first pass at it still causes clipping,  like the checkbox mentions?

Yes, except that the first pass no longer scans for RG - you have to scan it manually from Foobar v0.666.


Did it do it in .600? (my former version, I upgraded during testing this to see if there were any differences)

Arrgh.. locked up on me again, playing stream and poking around in Preferences..

Jon
DickD
[EDIT]This post has some factual assumptions that were incorrect, as pointed out by Garf in the next post. I think I found the root cause in the post after his[/EDIT]

The FB2K database (if enabled) may have needed refreshing, I guess.

When I started typing this post, I suspected the console message is referring to clipping detected from the Resampler output. The tiniest amount of attenuation (volume control -0.5 dB) would be enough to stop this.

The 20 kHz +/- 1 kHz frequency-modulated sine wave in the original is almost full scale (probably a bit less so it can add to the extreme values of the dialling tones and reach full scale but no higher). The sampling points at 44.1 kHz are below full scale (hence the track peak of 0.997...) because they don't happen to coincide with the peaks.

Assuming I'm correct about the target amplitude of the sine waves, a perfect (infinitely long) reconstruction filter when upsampling should generate a track peak of 1.000000 at most on every peak where the sampling point lines up perfectly with the peak of the sinusoid. I'd imagine the Resampler (SSRC) DSP plugin, even in Slow mode (long reconstruction filter window) and 64-bit precision, will still show some very subtle (inaudibly subtle) variation in loudness at frequencies so near to the Nyquist limit (22.049... kHz is the highest frequency that can be accurately represented by 44100 Sa/s sampling). This could cause tiny amounts of clipping, such as 1.00001, which would generate inaudible clipping distortion, even on this sample, yet would be just high enough to trigger the console warning.

(I actually tried resampling to 48000, WAV 64-bit floating point to test this, and found that FB2K's resampler doesn't cause clipping on this sample).

Using Resampler: Slow mode, 64 bit:
Track Gain = +18.210000 dB
Track peak = 0.997059

Fast mode, 64 bit (same for 32 bit):
Track peak = 0.997217

So (without using Preamp or Equalizer) these shouldn't clip on their own.

What about adding dither? Could that cause clipping?

EDIT: No, it can't, as Garf points out below, the ditherer won't add dither if the added noise would push the sample value beyond +1.000 or -1.000.

Assuming you use 16-bit playback (which I'm not sure of), setting dither to "strong ATH noise shaping (recommended)" the stronger high frequency content than "no noise shaping" can add about 31 (out of 32767) to a sample value at the peak - just now and again. That's 0.000946, which still isn't enough to exceed 1.000000 if you apply no replaygain.

However, you're using ReplayGain, so it would like to add 18.21 dB, then realises it can't from the peak value of 0.997131, so it's scaling
to get a peak of 1.000000 instead (a gain of about +0.024955 dB). You then add dither, which can take the peak to 1.000946 at most).

Edit: This is not true. Dither is not added if the sample would exceed 1.000000, so it must already exceed 1.000000. The culprit is identified in my next message.

That is just enough to clip, but it's so incredibly subtle (and probably incredibly infrequent) that it clips, that it no audible clipping distortion is heard. However, you do get the warning from FB2K.

I guess it would be a finishing touch for FB2K's clipping prevention (Replaygain) to have an option to take account of the dither type and bit depth by scaling the peak to just below 1.000000 so that dither can't cause it to exceed 1.000000. We could either enter the margin by hand, or FB2K could have a look-up table for dither type versus peak dither amplitude for each bit depth and sampling rate. This is overkill at normal bit depths, where it's inaudible, but for low bit depths like 8-bit, it would be useful if people used strong ATH noise shaping.

Also, Replaygain on real music (this udial sample is NOT real music!) rarely causes clipping if the target volume is 89.0 dB - it hardly ever has positive Album Gain values, and only occasionally has positive Track Gain values.

EDIT: Please see my next post for the real explanation.
Garf
FB2K ditherer and noiseshaper should never cause clipping in any circumstance, the code protects against this. If it does anyway in latest version, please report it as a bug.

Edit: Peter just reported that the warning cannot be caused by ditherer/noiseshaper.

Scaling down to get dithering headroom at 8 bits audibly lowers volume, it was in the ditherer before but I'm not sure it's a good idea. I'd rather have the ditherer prevent clipping itself, even if that means it is not as effective. The user can still introduce additional headroom via the attenuator, which would allow ditherer to work with full effectiveness. Getting good quality output at 8 bit takes some tweaking anyway.

For practical use, it makes no difference because circumstances where this is an issue should be extremely rare. (Assuming ReplayGain or some kind of clipping prevention is in use)
DickD
Thanks for the informative reply, Garf. I'll go back and edit my previous post to mention your detailed knowledge. It's comforting to know you thought of such extreme possibilities as dither causing clipping and designed to avoid them.

I haven't been able to test this myself because the machine I'm on right now doesn't support 48000 Hz. I have actually tested it using Microsoft Sound Mapper, which generates sirens, and didn't get a pop-up warning (I never have been warned of clipping because I use Advanced Limiter as well as RG).

I guess JonPike may have something else causing the warning. The only things that spring to mind are other DSPs. I know that the new Equalizer can have positive values, and the defunct PreAmp could too.

Ah, using diskwriter, 64-bit floating point, resampled to 48000 S/s with DSP enabled (Resampler 48000 S/s, fast, 32bit) AND with ReplayGain enabled (with clipping prevention), the WAV created, when scanned for RG, has:

Track Gain = +18.190000 dB (correctly reflecting 0.02 dB gain applied with clipping prevention)
Track Peak = 1.000086

That is clipping, but only just, and inaudibly so. The 64-bit floating point WAV output is the same as the internal chain contains just before it dithers down to the playback format.

JonPike's clipping prevention followed by resampler presumably also generated this value. This is the sort of behaviour one might expect from a Resampler because it incorporates a filter. Any filter can cause differing peak values, as can a change of sampling rate.

The same method but with Slow resampling (but still only 32 bit precision), does not clip.

Resampler: 48000 S/s, Slow Mode, 32 bit precision:
Track Gain: +18.190000 dB
Track Peak: 0.999928

So, it's the precision of the long resampling filter window in Slow mode that makes it work more precisely in terms of peak amplitude. There's no audible difference in Fast mode, however.

So it's the combination of Fast mode resampling and ReplayGain going to the clip-prevention limit that generated the clipping warning.

So, JonPike, if you have the processor speed to spare, you could use slow resampling mode, but for sound quality, it's negligibly different, and Fast mode will sound just great. In real music, with Album Gain turned on and 89.0 dB RG target volume, you'll probably never see that warning message again.

There's no need to change your usual settings for real music because the minuscule clipping that did occur was inaudible to you, even on such an extremely sensitive test sample as this, but Slow mode resampling will give that final assurance of the utmost possible quality (albeit that it's inaudible). In real music with Album Gain, the warning message is extremely unlikely to ever be generated.

The only thing one could plausibly wish to add to the ReplayGain interface in FB2k is the facility to specify that RG's 'use peak values' feature could have a margining facility to enable the most pernickety users to ensure that full dither is applied and their resampler will not clip ever. An option of normalising the Album/Track to 0.999000 instead of 1.000000 if the respective album peak or track peak value would cause clipping ought to be sufficient for anyone using 16-bit audio or above, and would leave sufficient headroom for both 16-bit strong ATH noise shaping dither and fast resampling to 48000 S/s to hit their worst peaks simultaneously.

I do appreciate that it's almost certainly inaudible, except when the peak value is ultrasonic and the dither is required for audible sound sinking into the noise floor, so the lack of dither and lack of audible masking frequencies might cause truncation distortion to become audible. But surely nobody would be cruel enough to domestic pets to make a track like that! Hmm, on second thoughts I wouldn't put it past Aphex Twin! laugh.gif

Regards,

DickD
Halcyon
I need help.

I have tried everything that I can think of in Foobar v.0.667 to fix the clipping/sample rate conversion problems with udial.ape on Audigy 2 Platinum eX (latest drivers).

I cannot make the aliasing artifacts go away whatever I try. Yes, it becomes lower in amplitude and slightly harder to spot, but it is always there. Clipping goes away with proper setting of volume/replaygain though (which is good). But it is disheartening to notice that it happens at all to the extent that it is audible on Audigy 2.

I have tried:

- Replaygain disabled/track/album
- Peak info to scale on/off
- Output data format16-bit/24-bit/32-bit
- Output data format dither: off/Strong ATH
- DSP Resampling: 48kz/96kHz
- Precision 32/64bit
- slow mode On/Off
- Attenuator: off/on (-9 dB)
- Directsound/WaveOut/KernelStream/Asio output

I either get the aliased sound going on like an ambulance and no clipping (WaveOut/KernelStream) or I get clipped noise bursts that modulate into the noise floor in synch with the aliased ambulance noise, without actually hearing the ambulance noise as such (DirectSound, much less nasty than Wave/Kernel). This all with Audigy 2 Platinum eX.

With RME DIGI 96/8 PAD I get no aliasing modulated ambulance sounds nor do I get any clipping.

Regardless of what settings I use (resampled/replaygained/dithered or not), I always get problems with Audigy 2.

I also tried resampling to 96kHz (no requantization, still at 16 bits) in SoundForge at quality level 4 (using anti-aliasing filter during resampling). This sample is much better, but still has sound that sound like a wailing ambulance siren clipping, when played back on Audigy 2 from SoundForge.

Playing back the same Soundforge sample rate converted sound on RME card produce a very faintly audible trace of something modulated into the noise floor.

What on earth is going on with the Audigy 2 card?

I thought that only the Audigy's SRC/volume control was problematic, but even if I do the resampling elsewhere I still get the nasty ambulance sound, but only on Audigy 2 not on RME 96/8 card.

OffTopic:

On a related note, I tried the various Output device options and recorded the lowest/highest peak cpu utilization with each output option (on RME). Each device was tested ten times in a row (player wasn't restarted in between, no other processes sans system ones were running in the background, no network activity, no dsp/replaygain/dither active = straight 44.1kHz/16-bit playback):

DirectSound 24-35% (bad quality, I mean really horribly bad)
WaveOut 10-15%
Kernel Streaming (not testable as it was not available for RME)
Asio (Buf:0, Time Critical) 8-13%

I know, it's not scientifict at all, but perhaps other people could chime in on their findings on the issue. What is the best output method to use in F2K regarding cpu usage (now assuming that there was no difference in sound quality)?

My own personal testing (I have spent a lot of time with this sample) leaves me to conlude for now that in WinAmp/Foobar with Audigy, one should use DirectSound with resampling for maximum quality (at least for this sample) and in Foobar with RME I can use Asio or WaveOut (no resampling needed for excellent quality), but ASIO seems to offer the lowest CPU usage levels.

regards,
Halcyon

PS This is not the most important thing in the world for me as I have A2 for games and not for critical listening. As such, this problem is more of academic interest to me, but perhaps more interesting to those using Creative cards for serious work.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.