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: Clipping in the DSP chain (Read 1266 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Clipping in the DSP chain

I use the Peak Meter visualization in fb2k to warn me when the output clips.  AFAIK this samples the final output after the DSP chain so I know my final output isn't clipping.

However, what happens if something early in my DSP chain is clipping and something late in the chain is attenuating the signal?  Does the first DSP preserve values above the clipping point so that it'll be ok as long as the final output doesn't clip?  Or does it clip off the peaks before sending the signal to the next DSP?  Does it depend on the DSP in question?

Is there a peak meter that acts as a DSP I can put anywhere in the DSP chain to visualize what's going on after any particular DSP?

Thanks

Clipping in the DSP chain

Reply #1
All internal processing is performed in floating point, so there is no clipping going on whatsoever. Well, excluding some special cases, such as a Winamp DSP wrapper that I don't think is maintained anymore, which has to perform clipping because sample data must be converted to 16 bit integer format for processing and then back to floating point again.

All native DSP components should process entirely in floating point and not clip their own input or output at all. VST plug-in wrappers should not clip either, as the VST system works in floating point as well.

Clipping in the DSP chain

Reply #2
Thanks.  Confirmed with some quick testing that the particular plugin I'm concerned about (foo_dsp_crossfeed) is passing signals beyond clipping intact.

Would still like to find a simple peak meter that I can plug into the DSP chain though.

Jimi Hendrix's albums keep making me wonder if my sound system's broken with its weird effects