Page 1 of 3

New Synth

PostPosted: Fri Jan 19, 2018 6:00 pm
by BobF
BobsHarmonicSynth.fsm
(340.32 KiB) Downloaded 1158 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.....

Re: New Synth

PostPosted: Fri Jan 19, 2018 7:04 pm
by adamszabo
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;

Re: New Synth

PostPosted: Fri Jan 19, 2018 8:26 pm
by rocknrollkat
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

Re: New Synth

PostPosted: Fri Jan 19, 2018 9:34 pm
by BobF
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.....

Re: New Synth

PostPosted: Sat Jan 20, 2018 4:53 am
by martinvicanek
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.

Re: New Synth

PostPosted: Sat Jan 20, 2018 7:39 am
by RJHollins
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

Re: New Synth

PostPosted: Sat Jan 20, 2018 9:49 am
by Spogg
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

Re: New Synth

PostPosted: Sat Jan 20, 2018 10:45 am
by tulamide
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.

Re: New Synth

PostPosted: Sat Jan 20, 2018 12:34 pm
by Spogg
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

Re: New Synth

PostPosted: Sun Jan 21, 2018 4:35 pm
by BobF
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.....