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

can some one help me with an assembler code? simple one

For general discussion related FlowStone

can some one help me with an assembler code? simple one

Postby djbrynte » Thu Mar 19, 2015 1:02 pm

I wana add a pulse to the main line. Now i have 2 osc and i wana add a pulse to one of the osc.

SO basicly when i raise the volume of the pulse the main signal should take off. SO when its 50/50 there should be normal osc and the pulse one.

ANd when pulse is full there should only be a pulse there :)

so basicly i need to add 2 lines and 1 out for the control.

So its some mathematics. Like

in1 = main osc
in2 = pulse osc
in3 = pulse volume

And they should work like if u raise the volume of 1 the other should take off.

Duno what i need also i dont know if this affect the mixer volume?
djbrynte
 
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am

Re: can some one help me with an assembler code? simple one

Postby KG_is_back » Thu Mar 19, 2015 3:40 pm

Code: Select all
streamin in1;
streamin in2;
streamin in3;
streamout out;

out=in1*in3+in2*(1-in3);

which also can be written as:
Code: Select all
out=in3*(in1-in2)+in2;


assembler optimized version:


Code: Select all
streamin in1;
streamin in2;
streamin in3;
streamout out;

movaps xmm0,in2;
movaps xmm1,in1;
subps xmm1,xmm0;
mulps xmm1,in3;
addps xmm1,xmm0;
movaps out,xmm1;
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: can some one help me with an assembler code? simple one

Postby djbrynte » Thu Mar 19, 2015 3:48 pm

nice thank you il test it.
djbrynte
 
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am

Re: can some one help me with an assembler code? simple one

Postby djbrynte » Thu Mar 19, 2015 9:23 pm

The code isent working. I tested the optimized version. it doesent work at all.
djbrynte
 
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am

Re: can some one help me with an assembler code? simple one

Postby djbrynte » Thu Mar 19, 2015 9:26 pm

sry it worked it was just diffrent ways lol :P 1 is 2 instead.
djbrynte
 
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am

Re: can some one help me with an assembler code? simple one

Postby djbrynte » Thu Mar 19, 2015 11:00 pm

if i wana add a line in for Matrix LFO or ENV to Pulse how do i do it?
djbrynte
 
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am

Re: can some one help me with an assembler code? simple one

Postby djbrynte » Fri Mar 20, 2015 2:26 pm

no one?
djbrynte
 
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am


Return to General

Who is online

Users browsing this forum: No registered users and 78 guests