MSP Possible to enable a permanent DC blocker?
James Harkins
Jun 07 2023 | 8:10 am
Sometimes students do dumb things like patch a cycle~ with zero frequency into dac~, without an envelope, so that merely opening the patch passes high-amplitude DC offset to the speakers.
This means that opening a series of student files is risky. (However, I'm not smelling smoke, so perhaps the amplifier is filtering out DC, but I don't have firm documentation of that.)
Is there a way to configure MSP with a permanent DC blocker?
I tried inter-app routing audio MSP --> SuperCollider to get LeakDC into the chain, but the problem there is that Max resets the audio driver when opening a patch, and this destroys any routing that I had set up. (However, I could use this setup temporarily to confirm that MSP is not killing DC by default.)
The only solution I see at present is to remember rigorously to disable audio between patches, and make very sure that I zero the volume before enabling DSP. As this is a manual process, the likelihood of error is very high.
Any suggestions?
hjh