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

New Synth

Post any examples or modules that you want to share here

New Synth

Postby BobF » Fri Jan 19, 2018 6:00 pm

BobsHarmonicSynth.fsm
(340.32 KiB) Downloaded 1217 times

Hello Gang,

This has been sitting around on my hard drive for awhile. Wasn't going to post it because I did not get much responce from my first 3, but oh well. Tell me what you think of it!

Later then, BobF.....
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: New Synth

Postby adamszabo » Fri Jan 19, 2018 7:04 pm

Nice! unfortunately I couldnt make any sound with it with the alpha Flowstone version, and its because there you have to write the dsp code properly with spaces. So the DC Filter at the end of the chain is wrong and was causing an error and didnt make any output:

Code: Select all
streaminin;
streamoutout;
floatlastin,lastout;
out=in-lastin+0.9999*lastout;
lastin=in;
lastout=out;


It has to be

Code: Select all
streamin in;
streamout out;
float lastin,lastout;
out=in-lastin+0.9999*lastout;
lastin=in;
lastout=out;
adamszabo
 
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: New Synth

Postby rocknrollkat » Fri Jan 19, 2018 8:26 pm

BobF wrote:
BobsHarmonicSynth.fsm

Hello Gang,

This has been sitting around on my hard drive for awhile. Wasn't going to post it because I did not get much responce from my first 3, but oh well. Tell me what you think of it!

Later then, BobF.....


Hi Bob,
What a great synth !
Plays fine, low C.P.U. drain as well, I LOVE this thing !
Thanks for sharing,

ROXY :D
User avatar
rocknrollkat
 
Posts: 213
Joined: Mon Jan 04, 2016 7:04 pm
Location: Oakland Gardens, New York City, U.S.A.

Re: New Synth

Postby BobF » Fri Jan 19, 2018 9:34 pm

Hello adamszabo,

Sorry ,and strange it did not work. It was not written by me, it was written by Martin and should be good!? I have used it with 3.07, 3.08, and 3.09 with no problems.

Again sorry.....
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: New Synth

Postby martinvicanek » Sat Jan 20, 2018 4:53 am

Sorry if it was my code, I don't remember. It runs here OK, though. Anyway, this how I'd do it today:
Code: Select all
// MV's DC blocker
streamin x;   streamout y;

float x1;
float denorm=1e-11;

y  = 0.997*y + x - x1 + denorm - denorm;
x1 = x;

or in assembler:
Code: Select all
// MV's DC blocker
streamin x;   streamout y;

float x1=0;   float a=0.997;
float denorm=1e-11;

movaps xmm0,x;
movaps xmm1,x1;
movaps x1,xmm0;

movaps xmm2,y;
mulps xmm2,a;
addps xmm2,denorm;
subps xmm2,denorm;
subps xmm0,xmm1;
addps xmm2,xmm0;
movaps y,xmm2;

Note the different coefficient 0.997 amd the denormal removal.
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: New Synth

Postby RJHollins » Sat Jan 20, 2018 7:39 am

Not to derail the topic ...

but with all the DC-OFFSET conversation going on ...

1st .... Thanks to MartinV for the two code versions posted ...

but what I wonder:

What if we would want to measure DC-OFFSET in an audio file ? Then it would be know if it needs to be removed.

[sneaky way of asking for code to analysis for dc-offset] :P
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: New Synth

Postby Spogg » Sat Jan 20, 2018 9:49 am

This is your best yet Bob!

Nice range of presets and I really like Horn (preset 8).

I checked your preset parameter naming and found some duplicates. The best way to do this is to open a preset text file in Word, select all, then sort by paragraph. Much easier to spot then.
I’ve attached such a file with the duplicates highlighted to make it a bit easier to resolve.
Once that’s done I’d like to put this on the Flowstoners website, if that’s OK.

Cheers

Spogg
Attachments
preset duplications.zip
(14.11 KiB) Downloaded 1141 times
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: New Synth

Postby tulamide » Sat Jan 20, 2018 10:45 am

I like it. It is very complex, which makes it harder to say something substantial after a first look, but the sounds are surprising. That's a good thing, because I imagined them being way more "metallic and digital" (hard to express what I mean, but something towards a D-50 or DX-7).

I spotted something strange. Spogg mentioned the Horn preset. But play it in very low frequencies and a strange noise will show up, located only in the negative part of the waveform. It is too clear a signal as to be the result of aliasing, it must be something else.

RJ:
DC simply is the average of a signal. If it is not 0, you have an offset.
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: New Synth

Postby Spogg » Sat Jan 20, 2018 12:34 pm

tulamide wrote:I spotted something strange. Spogg mentioned the Horn preset. But play it in very low frequencies and a strange noise will show up, located only in the negative part of the waveform. It is too clear a signal as to be the result of aliasing, it must be something else.



Yeah I went back to it and I get it too. I think this is one for Bob to look at, due to the complexity of the synth.

This synth is worth perfecting Bob!
Plus, and I know it's a chore, a user guide of some sort would be most welcome.

Cheers

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

Re: New Synth

Postby BobF » Sun Jan 21, 2018 4:35 pm

Sorry gang,

I will have to address this later. My two daughters surprised my wife and I for our anniversary with a 5 day cruise, so I'll see you in about a week. If anyone has the time and wants to look at the problems, please be my guest while I am gone. It would really help me out.

Many thanks, BobF.....
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Next

Return to User Examples

Who is online

Users browsing this forum: No registered users and 6 guests