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

Custom DSP Code 2 (comunity project)

For general discussion related FlowStone

Re: Custom DSP Code 2 (comunity project)

Postby KG_is_back » Mon Oct 26, 2015 6:55 pm

OK guys... update time... DSPC now supports functions to be added. min, max and abs functions are already added. Unfortunately I haven't got time to write any documentation yet, nor make the adding more user-friendly. Arrays are still not supported, nor loop and hop statements.
Attachments
DSPC3.1.fsm
(11.81 KiB) Downloaded 917 times
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Custom DSP Code 2 (comunity project)

Postby KG_is_back » Wed Oct 28, 2015 8:26 pm

Arrays now work too (be careful - index overflow is not checked by default) and I've added sin1, cos1, tan1, log2, and pow(a,b) functions (adapted from MartinVicanek's stream math functions). It would be helpful if some of you guys tested the DSPC3 with some codes you come up with and PM me any potential errors.
Attachments
DSPC3.1_test.fsm
(16.31 KiB) Downloaded 958 times
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Custom DSP Code 2 (comunity project)

Postby KG_is_back » Fri Oct 30, 2015 4:30 pm

Major bugfixes...
also added hop and loop statements. And a few new functions: "to_f(x)" converts integer to float "to_i(x)" vice versa and "trunc" converts float to integer with truncation (it means only whole number part counts example: to_i(2.7)=>3 but trunc(2.7)=> 2).

Also guys do you want detailed manual in pdf or something?
Attachments
DSPC3.2.fsm
(16.44 KiB) Downloaded 918 times
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Custom DSP Code 2 (comunity project)

Postby tester » Fri Oct 30, 2015 5:21 pm

Why not?
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: Custom DSP Code 2 (comunity project)

Postby Spogg » Fri Oct 30, 2015 7:04 pm

Yes please!!
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Custom DSP Code 2 (comunity project)

Postby KG_is_back » Sat Oct 31, 2015 3:15 am

Here's a documentation on all the features... I've haven't documented the part about adding new functions yet, because it's complicated. I will add that soon...
Attachments
DSP Code v3.rar
(21.26 KiB) Downloaded 1074 times
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Custom DSP Code 2 (comunity project)

Postby Spogg » Sat Oct 31, 2015 9:10 am

Many thanks for doing this KG :D

I intend to start playing with this properly after you have declared it finished so will you be in a position to do this soon? Until I retire my time is limited you see...

Cheers

Spogg
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Custom DSP Code 2 (comunity project)

Postby KG_is_back » Sat Oct 31, 2015 2:16 pm

Spogg wrote:Many thanks for doing this KG :D

I intend to start playing with this properly after you have declared it finished so will you be in a position to do this soon? Until I retire my time is limited you see...

Cheers

Spogg


Well... the thing is... compilers are like MMORPG (like world of warcraft) - you never really finish it - you just level up. The compiler is already working good enough to be usable in projects. In fact, feedback from real-life users will help me find and fix bugs faster. I myself found and fixed many bugs by using it in my projects. SO GUYS, START USING IT PLEASE - IT SPEEDS UP DEVELOPMENT!
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Custom DSP Code 2 (comunity project)

Postby KG_is_back » Mon Nov 02, 2015 4:27 pm

Here is an updated manual and latest version of DSPC3. Guys, please read it and point out any errors. Also if you know a little assembly and ruby, try to make your own function according to the tutorial, to see if it's clear enough.
Attachments
DSPC3.2.fsm
the compiler
(16.71 KiB) Downloaded 940 times
DSP Code v3.rar
the manual
(34.84 KiB) Downloaded 1100 times
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Custom DSP Code 2 (comunity project)

Postby tulamide » Mon Nov 02, 2015 4:33 pm

I would really like to help. But I am so untalented when it comes to DSP code, that I simply am the wrong guy for this task. But since your module is such a great help for all people who do their own dsp codes, I really, really hope you will get some support!
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 74 guests