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

3 timers with loop

For general discussion related FlowStone

Re: 3 timers with loop

Postby tulamide » Thu Feb 01, 2018 1:42 pm

Spogg wrote:@ tulamide
My clash with the modulo issue was in a relatively simple DSP code. I deleted it and found another way so I don’t have that code now.
I didn’t know about the Ruby speed issue though.

My worry about “downgrading” is all the stuff I’ve made and found so far.

It would be great if there was a list of issues with 3.08.1, all in one place for reference…

Cheers

Spogg

Spogg, did you try it? I guess not, because you would have seen that you can open each and every schematic made with 3.0.8.1, there's not even a version warning. The only schematics I have issues with are those that use Assembler code that was added after 3.0.8 (see KG's current DSP thread). And so far that happened ... wait for it... exactly once (namely in that assembler module by KG).

But even if you don't want to downgrade (which I really wouldn't understand), as you can see from Chris' schematic above, the modulo code works in 3.0.8.1, it is only a matter of keeping it away from bitmasks. From my example:

Code: Select all
//This works
counter = (counter + 1) % samplerate;
loopcount = loopcount + (counter == 0)&1;

//This doesn't work
counter = counter + 1;
loopcount = loopcount + ((counter % samplerate) == 0)&1;
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 67 guests