Page 10 of 12

Re: Custom DSP Code 2 (comunity project)

Posted: Mon Oct 26, 2015 6:55 pm
by KG_is_back
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.

Re: Custom DSP Code 2 (comunity project)

Posted: Wed Oct 28, 2015 8:26 pm
by KG_is_back
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.

Re: Custom DSP Code 2 (comunity project)

Posted: Fri Oct 30, 2015 4:30 pm
by KG_is_back
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?

Re: Custom DSP Code 2 (comunity project)

Posted: Fri Oct 30, 2015 5:21 pm
by tester
Why not?

Re: Custom DSP Code 2 (comunity project)

Posted: Fri Oct 30, 2015 7:04 pm
by Spogg
Yes please!!

Re: Custom DSP Code 2 (comunity project)

Posted: Sat Oct 31, 2015 3:15 am
by KG_is_back
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...

Re: Custom DSP Code 2 (comunity project)

Posted: Sat Oct 31, 2015 9:10 am
by Spogg
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

Re: Custom DSP Code 2 (comunity project)

Posted: Sat Oct 31, 2015 2:16 pm
by KG_is_back
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!

Re: Custom DSP Code 2 (comunity project)

Posted: Mon Nov 02, 2015 4:27 pm
by KG_is_back
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.

Re: Custom DSP Code 2 (comunity project)

Posted: Mon Nov 02, 2015 4:33 pm
by tulamide
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!