Robin Schmidt
Robin Schmidt
```cpp void testEnvelopeMatching2(std::vector& x1, std::vector& x2) { typedef std::vector Vec; // exctract envelopes: rsEnvelopeFollower ef; ef.setSampleRate(44100); // make this a function parameter ef.setAttackTime(0.0); // in ms? ef.setReleaseTime(200.0); Vec e1(x1.size()), e2(x2.size());...
> soooo does my code look good? look ok to me. at least, i can't see any obvious errors. but yeah - maybe try to tweak the envelope follower time...
36:  37:  39: 
...decimation was set to 100, in these cases
> with attack the result is a lot less accurate you mean, when you use a nonzero attack setting for the envelope follower, or when the original envelope actually has...
> Here are more examples, actual result vs desired result hmm - the last three, 43/36, 42/37 and 42/39 are the pairs that i tried and posted myself above -...
> rest of the examples seem to follow a logic of "where it overlaps the most" the logic is: where the sum of the absolute differences attains a minimum edit:...
yes - but i somehow need to reproduce your bad results to see where it goes wrong. as said - my results seem to be different - as in "better"....
hmm - maybe instead of me trying to reproduce your results, you could try to reproduce my results. grab the latest version of the test repo (together with the latest...
btw. - if you didn't already install gnuplot by itself, you don't have to, because it also comes packaged with gnu octave (assuming you did not uninstall it again). you...