New Synth

Post any examples or modules that you want to share here
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

New Synth

Post by BobF »

BobsHarmonicSynth.fsm
(340.32 KiB) Downloaded 1296 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.....
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: New Synth

Post 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;
User avatar
rocknrollkat
Posts: 213
Joined: Mon Jan 04, 2016 7:04 pm
Location: Oakland Gardens, New York City, U.S.A.
Contact:

Re: New Synth

Post 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
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: New Synth

Post 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.....
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: New Synth

Post 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.
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: New Synth

Post 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
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: New Synth

Post 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
Attachments
preset duplications.zip
(14.11 KiB) Downloaded 1210 times
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: New Synth

Post 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.
"There lies the dog buried" (German saying translated literally)
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: New Synth

Post 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
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: New Synth

Post 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.....
Locked