Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

single precision and wavetable precision

For general discussion related FlowStone

single precision and wavetable precision

Postby tester » Tue Jul 23, 2013 6:02 pm

support - I think it's time, and a good idea - to start thinking about double precision (instead of 32bit) greens and streamy things (at least oscillators). The reason is simple. It affects precision, especially over time. And no - ruby is not the answer, because it's too slow for these things. Making short loops is also not the answer (not to mention, that perfect loops are not achievable at this precision at 0.01Hz resolution). //edit: actually it may also refer to some interias of wavetable based generation?

Last two stereo tracks in these snapshots should be synced across time (one part comes from sound synthesis, another - from amplitude modulation). Lovely shift isn't it? I will send my listeners to you, in case of complaints. ;-) :mrgreen:

I can imagine a robot driven by current precision. :mrgreen:
Attachments
single-precision-crp-sht.png
single-precision-crp-sht.png (12.25 KiB) Viewed 7991 times
Last edited by tester on Tue Jul 23, 2013 11:01 pm, edited 2 times in total.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: single precision s**t

Postby Tronic » Tue Jul 23, 2013 6:11 pm

Could you explain this comparison, is based on what, so we can better understand?
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: single precision and wavetable precision

Postby tester » Tue Jul 23, 2013 10:57 pm

It's simple. Single-cycle based wave file, at 0.01Hz resolution - should be perfectly loopable every 100 seconds. But it isn't.

One thing may be related to current precicion of floats - frequencies are converted from Hz into 0-1 range. Working in range from 0 to 10k+, I had to limit my resolution from 0.001 into 0.01Hz anyway. But when you use periods in seconds (taken from frequencies), then it limits your accuracy too. It also starts matter when more scaling operations are made on greens (rounding).

But second thing, more probable here - is related to wavetable-based nature of everything osc'ing, including sine oscs. On SM forum, cyto proved some time ago, that custom made (ASM) sine oscillator can be loopable corectly. But his version had some issues with phase resolution, and some other (plus - it's not wavetable). Using FS oscs - you are not able to have perfect loopsIt means, that if you wish to sync some streamy oscey things via ratio - you end up with surprises. ;-) I don't know, maybe it can be corrected somehow internally iin current accuracy.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet


Return to General

Who is online

Users browsing this forum: No registered users and 66 guests