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

Float Anomaly

For general discussion related FlowStone

Re: Float Anomaly

Postby Tepeix » Sat Feb 04, 2023 6:33 pm

No problem, and thanks for the advice !!)

I was thinking that you probably know the precision scaling think, but it's surprising when we come to this number and precision become less than a int.
Not a common situation or number !)

Memory thing, trying to get 10 second even if the user is at 192000 sample rate.
And with asm we then need to have (2^21 * 16)-1.
(this is for using a counter that increment at 16 then with andps with this number the magic happen and the counter reset to 0.) (only way is then to declare as an int, or make some calculation based on good float/int translation..)

I will recall the advice and try to not mix those type !
That's sometime a bad obsession that we need to avoid when getting experience at flowstone !
Even if i know it in some way when i was using synthmaker, when i come back to flowstone after a long pause, i could not resist to play with tick and blue stream !) !) lol ! And Spock telled me that i go to the wrong/dark path !)
Héhé the fantasm of mixing different types in flowstone could be very dangerous !) !)

Will go back maybe soon with another topic and (maybe dangerous) experiment/hack about tick and delay/dethread...
Tepeix
 
Posts: 361
Joined: Sat Oct 16, 2021 3:11 pm

Re: Float Anomaly

Postby Spogg » Sun Feb 05, 2023 10:12 am

I may be wasting your time with this, but I get the idea that you might find the Double Precision prims useful to deal with the big numbers for higher resolution. This higher resolution is needed to play longer wavs without getting pitch errors and artefacts at longer times.
I’ve attached a wav player (not by me) with a 20 second clip loaded and if you look inside you’ll see the Precise Counter module.

Apologies if you’re already aware of this!
Attachments
wave player with double precision counter.zip
FS 3.06
(2.39 MiB) Downloaded 336 times
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Float Anomaly

Postby Tepeix » Sun Feb 05, 2023 4:39 pm

Thanks !
I was beginning to think about double, but i never used it, so it's cool to get an example !)
Tepeix
 
Posts: 361
Joined: Sat Oct 16, 2021 3:11 pm

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 116 guests