Re: [PD] analogue clipping

2007-05-09 Thread Enrique Erne
hi hardoff here is an other kind of waveshaping (i think). the idea was to divide a signal by it self so you would get a rectangle. s / s = 1 and further if divide a signal with a range from the signals own value to 1 you don't get a hard rectangle i try to write the formula s / (slider

Re: [PD] analogue clipping

2007-05-09 Thread Claude Heiland-Allen
Claude Heiland-Allen wrote: Otherwise, I think there are some theorems about waveshaping and the amount of oversampling necessary to avoid aliased frequencies and that nasty digital sound... http://groups.google.co.uk/group/comp.dsp/msg/9576a7a248851937

[PD] analogue clipping

2007-05-08 Thread hard off
what's the best and most cpu efficient way to clip a signal in an analogue fashion, rather than getting nasty digital distortion? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] analogue clipping

2007-05-08 Thread IOhannes m zmoelnig
hard off wrote: what's the best and most cpu efficient way to clip a signal in an analogue fashion, rather than getting nasty digital distortion? waveshaping mfga.sdr IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -

Re: [PD] analogue clipping

2007-05-08 Thread Jamie Bullock
On Tue, 2007-05-08 at 19:18 +0900, hard off wrote: what's the best and most cpu efficient way to clip a signal in an analogue fashion, rather than getting nasty digital distortion? Have you tried waveshaping? I.e. use your signal as an index to a function (usually stored in a table)? A good

Re: [PD] analogue clipping

2007-05-08 Thread Claude Heiland-Allen
hard off wrote: what's the best and most cpu efficient way to clip a signal in an analogue fashion, rather than getting nasty digital distortion? I quite like [expr~ tanh($v1)] - but it isn't especially cpu efficient. To hear it in action, just about every sound in this has been through

Re: [PD] analogue clipping

2007-05-08 Thread padawan12
Try tanh function mapped to the range of about -5 +5 and a small signal input. http://mathworld.wolfram.com/HyperbolicTangent.html Here's a nice approximation with five multiplies http://www.musicdsp.org/archive.php?classid=5#238 what's the best and most cpu efficient way to clip a signal in an

Re: [PD] analogue clipping

2007-05-08 Thread Steffen
On 08/05/2007, at 13.11, [EMAIL PROTECTED] wrote: Here's a nice approximation with five multiplies http://www.musicdsp.org/archive.php?classid=5#238 Indeed. I had to see it. For anyone interested: http://puredata.info/ Members/stffn/tanh-aprox.png/

Re: [PD] analogue clipping

2007-05-08 Thread Frank Barknecht
Hallo, [EMAIL PROTECTED] hat gesagt: // [EMAIL PROTECTED] wrote: Try tanh function mapped to the range of about -5 +5 and a small signal input. http://mathworld.wolfram.com/HyperbolicTangent.html Here's a nice approximation with five multiplies

Re: [PD] analogue clipping

2007-05-08 Thread Frank Barknecht
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote: Here's a nice approximation with five multiplies http://www.musicdsp.org/archive.php?classid=5#238 That's a nice version! Attached is a comparision of both in Pd, looks (and sounds) good. Oh, and even it uses only four

Re: [PD] analogue clipping

2007-05-08 Thread hard off
quick tanh looks good. i put in a dollar and my cpu gave me 96 cents change! ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] analogue clipping

2007-05-08 Thread Georg Holzmann
Hallo! quick tanh looks good. i put in a dollar and my cpu gave me 96 cents change! I did not follow the whole thread, so maybe this was already said. But I would also do the tanh interpolation with a wavetable. You can simply once use this function to generate the wavetable and then use it