[music-dsp] family of soft clipping functions ... crossed with ... Modular Synthesis Language Moselle Alpha Release Today.

2013-12-13 Thread Frank Sheeran
As an illustration of my newly-released software I dug through the recent archive for something that would be easy and fun to implement in Moselle, and came across this post from forum stalwart Robert Bistow-Johnson. The following is a Moselle program (or patch) that implements the first

Re: [music-dsp] family of soft clipping functions.

2013-11-04 Thread gwenhwyfaer
On 03/11/2013, robert bristow-johnson r...@audioimagination.com wrote: the point is that if you upsample, then soft-clip, then LPF, and finally downsample back to the original sample rate, you need only prevent the aliases from getting back into your *original* baseband. it doesn't matter

Re: [music-dsp] family of soft clipping functions.

2013-11-04 Thread Andrew Simper
I think I've been caught out on the html email thing as well, I wonder how many posts have gone completely missing that I've sent? Here is one I sent 5 days ago, sorry if this is a double up, I checked the archives but couldn't find anything: Hi Robert, Thanks very much for the post! I plotted

Re: [music-dsp] family of soft clipping functions.

2013-11-03 Thread robert bristow-johnson
On 11/2/13 6:58 PM, Wen Xue wrote: But, soft-clipping is not going to change periodicity, is it? it should not. that's why we don't want non-harmonic components (aliases) to survive the soft-clipping process. the point is that if you upsample, then soft-clip, then LPF, and finally

Re: [music-dsp] Family of soft clipping functions.

2013-11-02 Thread Ove Karlsen
If you are just looking for a minimally noticable softclip, with analog sound, just two three-order distortions in series is optimal. With a crossfade on 1 and 2, and a threshold on knee-depth, it really gives a sound many wants, and is very optimal, in terms of computing power required

Re: [music-dsp] family of soft clipping functions.

2013-11-02 Thread Wen Xue
But, soft-clipping is not going to change periodicity, is it? So if you soft-clip a sine wave, be it polynomial or not, the outcome is periodical at the same period, so contains only perfect harmonics. It cannot behave in the folded alias way one usually suspect. Xue On 02/11/2013 06:36,

Re: [music-dsp] family of soft clipping functions.

2013-11-01 Thread robert bristow-johnson
On 10/30/13 4:24 PM, Theo Verelst wrote: For whoever follows this, I thought and worked a bit about the clipping idea, and especially I was thinking about the harmonic behavior of the clipping function of N degree, so i tried using Maxima, and found there are distinct harmonics added to a

Re: [music-dsp] family of soft clipping functions.

2013-11-01 Thread Sampo Syreeni
On 2013-11-01, robert bristow-johnson wrote: just to be clear. the general rule is that an Nth-order polynomial can generate images at frequencies up to the Nth multiple of the frequency of the original baseband image. Quite so. So in addition, if you want to really keep it clean of

Re: [music-dsp] family of soft clipping functions.

2013-10-30 Thread Theo Verelst
Hi For whoever follows this, I thought and worked a bit about the clipping idea, and especially I was thinking about the harmonic behavior of the clipping function of N degree, so i tried using Maxima, and found there are distinct harmonics added to a sine wave passing through it. Maybe this

Re: [music-dsp] family of soft clipping functions.

2013-10-29 Thread Theo Verelst
robert bristow-johnson wrote: at the last AES in NYC, i was talking with some other folks (that likely hang out here, too) about this family of soft clipping curves made outa polynomials... Th script you supplied worked fine with the Open Source (and free) Octave as well, and gives this

Re: [music-dsp] family of soft clipping functions.

2013-10-29 Thread Thomas Young
: music-dsp-boun...@music.columbia.edu [mailto:music-dsp-boun...@music.columbia.edu] On Behalf Of robert bristow-johnson Sent: 29 October 2013 01:56 To: music-dsp@music.columbia.edu Subject: [music-dsp] family of soft clipping functions. at the last AES in NYC, i was talking with some other folks

Re: [music-dsp] family of soft clipping functions.

2013-10-29 Thread Theo Verelst
robert bristow-johnson wrote: x g(x) = integral{ (1 - v^2)^N dv} 0 you figger this out using binomial expansion and integrating each power term. Maybe a nice worksheet of (wx)Maxima, the FOS algebraic manipulation programs: