Re: [music-dsp] PSOLA pitch shifting - resample or not?

2013-10-29 Thread Thilo Köhler
Hello! Question is what you mean by resampling. Resampling means, you go through the sample array and choose different sampling points than the original sampling points, and calculate values in-between, usually by using some kind of interpolation. Now, if you choose the distance between two

Re: [music-dsp] PSOLA pitch shifting - resample or not?

2013-10-29 Thread Wen Xue
On 29/10/2013 08:42, robert bristow-johnson wrote: Rob, i think what Thilo is referring to is the subsample positioning of an entire grain when it is launched in the PSOLA system. i have heard this done both ways (grain positioning accurate to subsample precision vs. accurate only to sample

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
This reminds me of experimenting with polynomials as an amplitude enveloping function for a soft synthesiser. There was something rather alluring about the idea of a one-line-of-code amplitude envelope - unfortunately it made creating the envelopes pretty tiresome, and when I thought about the

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: