Channel Mixer (foo_channel_mixer)
Reply #9 – 2004-12-13 20:45:44
There seems to be a minor bug when playing back silence (division by zeros or rounding errors somewhere, perhaps). This might be related to the gap killer problem. The track I noticed this problem with is The Atari's song, "Eight of Nine": there is a long period of silence at the end of the track. Playing that back with the channel mixer enabled results in 100% CPU usage when I reach the silent part (the channel mixer is the only DSP enabled at that point).Edit: this seems to only appear with "use subwoofer" and "bass redirection" both enabled. [a href="index.php?act=findpost&pid=259340"][{POST_SNAPBACK}][/a] Interestingly enough though, playing back silence://10 (for example) doesn't result in this CPU usage spike. I can post a FLAC of the ending of the song if it would help. [a href="index.php?act=findpost&pid=259340"][{POST_SNAPBACK}][/a] This problem appears on any track in which there is a silence. It is a major bug, I shall try to correct it as soon as possible.I use these two options, because without it, the low frequencies are too powerful--while I'm not familiar enough with this sort of thing to be able to know exactly why, I'm guessing it's because the audio is getting copied to 5 channel instead of just 2, and since each channel still contains a bass component, the speaker's crossover is taking bass from each of the 5 channels--making it louder than it should be. If anyone can shed more info on this, I'd appreciate it though. [a href="index.php?act=findpost&pid=259340"][{POST_SNAPBACK}][/a] "2 to 6" mode without bass redirection:sub = (left+right)/2 * sub_volume ..... "2 to 6" with bass redirection:sub = lowpass( (left+right)/2 ) * sub_volume left = highpass(left) right = highpass(right) ..... Using noise dithering seems to increase CPU usage by a lot--but this could be because foobar has to dither several channels at once though. [a href="index.php?act=findpost&pid=259340"][{POST_SNAPBACK}][/a]