Changing file extensions / saving custom file types

For general discussion related FlowStone
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Changing file extensions / saving custom file types

Post by tester »

Okay, thanks.

I'm generally thinking to revisit my preset system, because while it operates at certain accuracy (I had to limit it from 0.001 to 0.01), it also operates within wide spectrum (+/-16000), which lowers the linear precision of saved values. From time to time I'm moving back to ideas how to make it right (although wavetable driven single-cycle oscillators produce few sample differences anyway, so no "perfect loops" possible, even for 100 seconds distances at 0.01Hz accuracy).
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Changing file extensions / saving custom file types

Post by KG_is_back »

Yes, I was right about the rounding in preset files. Values get rounded to 6 decimal places. So I have to use this 32bit to 2x 16bit converter to maintain full precision. I got inspired by trog - he came up with a way, to transmit 32bit address of green float array form ruby to assembly primitive (as two 16bit integers). It was effectively memin/memout type of thing. However it was very unstable when loading the schematic. You had to summon a legion of demons with satan himself to stabilize it... (I mean, I have only one schematic that is stable with it and about a dozen that need special procedure to even load... and even have some that are completely non-loadable and crash every time because of it).
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Changing file extensions / saving custom file types

Post by tester »

When having unstable schematics, I usually try to compensate with proper order of sample&holds, trigger order step-by-step routines and timer based delays. Sometimes, when streams are recompiled on-the-fly according to green data changes - they simply end up in unambiguous or overload situations, and thus - crash. I would try it. Allow the schematic to load, and then - activate other procedures. Otherwise - no way to know what is loaded first.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Changing file extensions / saving custom file types

Post by KG_is_back »

tester wrote:When having unstable schematics, I usually try to compensate with proper order of sample&holds, trigger order step-by-step routines and timer based delays. Sometimes, when streams are recompiled on-the-fly according to green data changes - they simply end up in unambiguous or overload situations, and thus - crash. I would try it. Allow the schematic to load, and then - activate other procedures. Otherwise - no way to know what is loaded first.


exactly... the problem probably was, that the stream code of assembler was executed before the address reached it through green. result was, that schematic tried to load/write values to address [0] and code crashed. It actually give me an inspiration for ultimate crash code, that crashes the schematic/plugin/application when trigger is received... check it out in examples section...
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Changing file extensions / saving custom file types

Post by tester »

I wonder if using FS app - it's possible to crash the system too. :roll:
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Changing file extensions / saving custom file types

Post by KG_is_back »

tester wrote:I wonder if using FS app - it's possible to crash the system too. :roll:


I believe it is... I've bluescreened several times so far :twisted: ... (I can't remember the exact recipe though :oops: )
Post Reply