Robin Schmidt
Robin Schmidt
to take the first envelope, i just use the peaks of the rectified signal (if the signal is more or less sinusoidal, this should be good enough - for more...
ok - here is what my envelope de-beating algorithm does so far:  i have an idea how i may reduce the bump at the beginning...
i'll wrap the code into a convenient class or function tomorrow, so you can try it yourself...
ok, i added a class `rsEnvelopeExtractor `to my RAPT library. it has a static function `sineEnvelopeWithDeBeating` which you can call like: `RAPT::rsEnvelopeExtractor::sineEnvelopeWithDeBeating(x, N, env);` where x and env are arrays...
i'm trying to implement "natural" cubic splines: http://www.maths.nuigalway.ie/~niall/teaching/Archive/1617/MA378/2-2-CubicSplines.pdf my current cubic polynomial is defined a little bit differently. instead of requiring the second derivative to be continuous at the datapoints,...
ok - it seems the basic natural spline code works (it's asymmetrical because on the left ther are less datapoints):  ...but when i try to apply it to the...
OK - it seems to work (mostly). there's a class rsEnvelopeExtractor in my library now. to use it, you would create an object of that class, set it up and...
> Explore the code base, you'll easily find the harmonic analysis and extraction stuff. We need you to repurpose this for extracting individual harmonics. > we have working code for...
> I think it works by looking at each magnitude spectrum index and seeing if the -1,-2,+1,+2 indexes are quieter than the reference index 0. yes. it selects local maxima...
ok, i have integrated the code into my codebase and have set up an experiment that tests the SampleTailExtender. if you run the test project, you can try it yourself....