baconpaul / mschack-VCV-Rack-Plugins

Plugins for VCV Rack
MIT License
4 stars 1 forks source link

Recalibrate Lorenz parameters #25

Open The-Great-Assyr opened 1 year ago

The-Great-Assyr commented 1 year ago

Hello there and friendly greetings again!

First: sorry if I have not answered to my previous issue, I'll answer now if it is still useful. It does not always draw out of bounds, only at certain parameters, like: P1 = DEFAULT T1 = DEFAULT P2 = DEFAULT T2 = 0 P3 = 0.132 T3 = 0.446 All the rest as DEFAULT

Another problem is that when all the parameter are DEFAULT, if I turn parameter P1 = 0 it seems that the whole module stop to work. I can twist any other knobs but I got no changes at all, both visually and audio. I have to CTRL+R the module to make it work again. I don't know if it is intended or if it is a bug.

If I turn P1 = 1 P2 = 0.946 P3 = 0.095 All the T as DEFAULT, all the Filters as DEFAULT and all the Levels to the max (X = Y = Z = 10) it happens what you can see in the picture and consider that the cyan curve is static, not moving and there is no output sound I can hear.

All in all it seems (but I might be wrong, not knowing how the algorithm work) that the P1 knob/parameter work a little bit weird.

capture_001_28082023_223250

Petervos2018 commented 1 year ago

Hi Andrea, Paul will come and tell you that he solved the out of bounds rendering in the latest nightly (are you using that one ?), and I will tell you that the V1 version of the module reacted the same way , it's a very volatile module, it breaks up very easily, and Paul has not really changed any of the code.

baconpaul commented 1 year ago

yeah so the lorenz attractor (math) has plenty of parts of the space which are just collapsed to a single point not an orbit and that's what is happening here I presume. The parameters seem a bit mis-calibrated to me also but I'm hesitant to solve them because of other folks patches.

I suppose I could check a streaming version or some such thing and adjust them but that's more an "after 2.0.0" type thing.

The-Great-Assyr commented 1 year ago

Hello everyone! Yep, I know a little bit of Math so I knew that the Lorenz system and the Lorenz attractor can have a punctiform attractor point but I thought that resetting the knob would reset the system to the original values, not that the whole module would freeze to the point of having to reset it.

IMAO, if the calibration of the module is wrong AND you can calibrate it for good, you should. After all, if I make a patch with a module that is miscalibrated it is like playing with an out-of-tune instrument. It might even sound good but it does not sound as intended, don't you think? ;-)

Anyway. No, I am not using the latest nightly (I see it has been released 2 days ago, the one I am using is a little bit older) but I am remedying that. A "volatile module"? HAHA! Yeah, I guess so but I confide you can tame it! :-D

baconpaul commented 1 year ago

Ok I’m going to change the subject here to reclaim rate Lorenz parameters and then will do a bit of noodling