remove click~ 's DC offset

missmiss's icon

hi, guys:

this is what click~ sound's wave looks like :

it's from 0. to 1. , this can cause a popping , especially when I have some other sound layers.

is there a way to remove the DC offset? I' ve tried biquad, gen~(they works fine with phasor~ or cycle~) , and searched this forum, but I can't find a way to remove the offset caused by click~

If anyone can solve this problem? Thanks a lot!

Evan's icon

I guess I'd need to know why you would like to do this - what are you using click~ for? It's purpose is to create an impulse, or a simple 0 > 1> 0 . Are you using click~ as a sound source?

missmiss's icon

yes, I use click~ as a sound source.

something like this.

Jean-Francois Charles's icon

[-~ 0.5] will center the "0" line on "-0.5". But you will not get rid of the "popping" you mention: if you use [click~], you want a click... The click is not due to a "DC offset", but to the fact that [click~] jumps suddenly from 0 to one, thus asking the speaker's membrane to do the same in no time... This jump creates the click.

Roman Thilenius's icon

even if you use it as a sound source there is no reason to remove the phase offset.

a DC filter usually sits somewhere between 3-30Hz, and that naturally leaves a full-spectrum sound source such as a spike (almost) untouched.

if you already consider the transition from one sample to another sample an unwanted phase offset, your only "solution" would be to multiply everything with 0.

...die weil sie mit geräusch verbunden!

-110

missmiss's icon

thanks for your reply. I guess I should find some other way to create the "click" sound not using [click~].