CoreStyler ·
Hi, i tried to create an hardclip distortion. Seems that the signal is pretty like what i read at wikipedia. there the two sines:
And there the hardclipped (similar)
Can be considered an hard clip or similar?
Here the osm:
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
CoreStyler ·
Hi, i tried to create an hardclip distortion. Seems that the signal is pretty like what i read at wikipedia. there the two sines:
And there the hardclipped (similar)
Can be considered an hard clip or similar?
Here the osm:
oddson ·
In analog world hard clipping is chopping the top and bottom at some threshold.
If you do that in digital realm (without oversampling and filtering) you get nasty aliasing.
You've got some kind of pulse width modulation square wave (also with nasty aliasing) but not hard clipping as I understand it.
CoreStyler ·
Yes. Infact any kind of source wave sounds as square. 😠 Im testing for creating some kind of distortion that is not just an in * float. 😠
trogluddite ·
CoreStyler wrote: distortion that is not just an in * float. 😠
Why so angry?- Oddson is correct, it isn't hard-clipping in the usual sense (the edges between high and low would be sloping, not straight up and down). The 'in * float' method (with min,max to keep -1 to +1) is a form of hard-clipping. But the 'name' doesn't matter (guess you could call your one 'comparator distortion')- your approach is still an interesting one (the PWM type effect with different inputs certainly has very different harmonics to other distortions).
CoreStyler ·
I want to create a cool distortion DSP code. But is really difficult.. If i create a distortion, it should add harmonics true? but what i do seems to remove them!.
The same here, When using min max it became pulse.
oddson ·
If i create a distortion, it should add harmonics true? but what i do seems to remove them!.
If you start with a sine you can only add harmonics. Square waves have lots of harmonic content....
Distortion is tricky business... I've tried it varies schemes over the years and never liked the results.
Aliasing is a major problem for anything but the gentlest saturation effects...
Wrote something here? To have a post removed or your name hidden, write to [email protected].