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 RJHollins » Sun Mar 22, 2015 1:23 am

Well ......

I feel better already !

:lol:
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Custom DSP Code 2 (comunity project)

Postby KG_is_back » Sun Mar 22, 2015 1:42 am

Reality check... Look into a mirror. If you don't see something like this, then you are technically not nuts:
Image

If you actually CHECKED and did saw a human face, you should see a doctor though - there is definitely something wrong with your eyes. :roll:
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Custom DSP Code 2 (comunity project)

Postby Perfect Human Interface » Sun Mar 22, 2015 2:05 am

Oh gosh yeah, when you're supposed to be sleeping but your brain just keeps doing the thing... You probably do need a break!
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Custom DSP Code 2 (comunity project)

Postby tulamide » Sun Mar 22, 2015 2:25 am

And I always thought I'm some sick weirdo, all on my own. Nice to see we're all weirdos :mrgreen:

When I made those week long music sessions, I swear, in my dreams I was composing for and conducting a full orchestra (if only awake I would be that fast, too)
When having intense programming times, I sometimes wake up with the solution to the issue I couldn't resolve for hours before!

The list goes on... :lol:
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Custom DSP Code 2 (comunity project)

Postby Perfect Human Interface » Sun Mar 22, 2015 2:30 am

tulamide wrote:When having intense programming times, I sometimes wake up with the solution to the issue I couldn't resolve for hours before!


Your sleep working is a lot more productive than mine. I usually think I'm coming up with good things while I'm dreaming, then I'll wake up and it's like all this complete nonsense falls out of my head.
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Custom DSP Code 2 (comunity project)

Postby RJHollins » Sun Mar 22, 2015 3:43 am

We're just one big .... Bag-O-Nuts :mrgreen:

... hmm .... been called worst :lol:
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Custom DSP Code 2 (comunity project)

Postby KG_is_back » Wed Mar 25, 2015 10:47 pm

I'm half way done adding oversampling toolkit to DSPcode2. it will work something like this:

Code: Select all
//saturation module
//streamin in;
streamout out;
float os[16]=0;
int i=-1;

//uplsample arguments:
//1.array to put oversampled signal in
//2.input to be oversampled
//3.oversampling factor (must be power of 2)
//4.quality (0=low 1=medium 2=high)
upsample(os,in,16,0);

loop(16){
i=(i.+1?)&(15?; //integer version of i=(i+1)%16;

os.[i]=htan(os.[i]); //hyperbolic tangent
};

out=downsample(os,16,0);


also, if MV approves I'll port his oscillators to DSPcode2 as functions.
I'm planning to make a example synth schematic, which will have the poly section written purely in DSPcode2 (probably separated into multiple modules for convenience), to show the features in use.
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Custom DSP Code 2 (comunity project)

Postby Perfect Human Interface » Wed Mar 25, 2015 11:10 pm

KG_is_back wrote:also, if MV approves I'll port his oscillators to DSPcode2 as functions.


Built-in functions or custom added functions? I think some things are better left unobfuscated.
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Custom DSP Code 2 (comunity project)

Postby martinvicanek » Thu Mar 26, 2015 9:44 pm

KG_is_back wrote:if MV approves I'll port his oscillators to DSPcode2 as functions.
No problem with that, however I agree with PHI that it should be transparent and preferrably editable for the end user.
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: Custom DSP Code 2 (comunity project)

Postby KG_is_back » Thu Mar 26, 2015 10:57 pm

Perfect Human Interface wrote:Built-in functions or custom added functions? I think some things are better left unobfuscated.
martinvicanek wrote:No problem with that, however I agree with PHI that it should be transparent and preferrably editable for the end user.

Technically all functions in DSPcode2 are added as custom - there are no "build-in" functions. By function I mean expressions in form "name(arguments)". Build in are only operators (like + - / * brackets, comparisons, etc.) and loops, hop and if statements.
Functions are added in packs (pack is a text file containing ruby code that will add the function(s) to compiler). To install new pack, you simply copy-paste it into new text prim and connect it to the array builder. To uninstall it you simply delete/disconnect it. The default pack I've made, that contains the same functions as original DSP code (+martins stream-math-functions) is installed the same way and may also be removed the same way.
Also functions from newer packs will replace the older ones, if they match with number and type of arguments and name. So in case you don't like that function's implementation, you may write your own and add it as pack - you don't have to edit/remove the original pack that the function is from.

I am also working on a system that will led you browse functions you have currently installed. Kind of like search - you type in part of name and it will output list of descriptions of all functions with matching name. If left empty, all functions are displayed.
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 78 guests