Hi,
I'm getting ready to get back in to my amateur shoutcasting and I'm wanting to use StereoTool to process the final output before it goes in to the encoder. But, I'm having a few issues which I will attempt to discuss in as much detail as possible. The system I'm doing this on is actually a gaming class laptop; Core2Duo P8700 2.53ghz, 6GB DDR2, Intel P43/45 desktop chipset on motherboard, discreet GPU. It's a relative powerhouse even if it is 3 years old. It's been the system I'e played with StereoTool on for a couple of years and it's *never* had issues of not having enough CPU
I do my stuff old school; I don't use SAMS or anything else largely because I've never been able to get them to work and always wind up having sync problems with the music and voice-overs. Essentially I use three copies of Winamp with this setup. Two of them are set to shared mode output for cumbersome mixing; that is set in to an external mic mixer so I can mix a microphone directly with the audio. That then runs in to the line-input of a M-Audio Transit USB sound device and is captured by a third copy of Winamp running a line-level plugin and a DSP stacker with StereoTool and Shoutcast running.
This particular laptop has dual discreet headphone output; so before attempting to go live; I did a dry-run having the third winamp ouput to the second audio device. This is where the problems creep in. With StereoTool set to bypass; the audio ouput is clean and my CPU usage is really quite low. So, I know the audio hardware is working. The input latency on the USB card is cranked all the way up as well to reduce error.
The problem is when I seem to enable StereoTool processing with just about *any* preset. I begin to get all kinds of strange glitching noise; similar to jitter problems; except during periods of dead silence I get bits of previous samples creeping in. If I hit reset all audio settings, it clears up; but the moment I enable any kind of effect it begins this glitching issue. I've decreased the amount of CPU the plugin uses down to the minimum of 20% and turned refresh down to 0%; this does not have any effect, there's the same amount of glitching. The one thing I've found will reduce it is changing the latency down to 2048 samples; lower works better but sounds horrible.
Why would this higher latency cause major issues? I ran a similar setup a few nights ago on a slightly newer Gateway laptop with a Core i3-380M processor. There was no major glitching using StereoTool; but the Realtek card was causing it's own popping and jitter issues.
Am I just running a configuration that refuses to work or is there a bizarre problem with StereoTool no one's noticed yet?
*edit: I found this reply on another thread on not exactly the same issue; but mildly similar:
Quote:
Then I'm guessing that you indeed need to change some buffer sizes somewhere (probably in the encoders) to fix this.
I have not thought about trying to increase the input buffer; or maybe use a better/different line-input plugin. I will give them a try later.*
*update #2: After searching for another line-input plugin; I was unable to actually find one. So the one I'm using that was last updated in 2002 is my only option. I did however find out how to increase the buffer size and number of buffers. This vaguely helped. I maxed it out at 1000 buffers @ 16384 bytes and it reduced some of the issues; but it did not get rid of them. I then tried unloading the DSP stacker and running StereoTool by itself in Winamp. This helped for about a minute; then it was back to sounding very glitchy.
I have a FLAC file of what I'm getting. The first sample of audio is with StereoTool in bypass; the second sample is with StereoTool 7.40 set to 20% CPU usage and latency of 4096; the third and last sample uses the same settings but drops the latency to 2048.
http://dewdu.de/stereotool.flac
I've kept a close eye on my CPU usage and it is no where near maxing out either core while this is running; only averaging about 38% usage.*
*update #3: It does it on the Core i3 with nothing else running but StereoTool inside of Winamp. I'm going to assume it just will not get along with the USB sound. I can't resolve the USB sound so I'll have to figure something else out until I get a solid answer as to why it's acting this way.*