-1.#IND in a limiter design

Sound synthesis techniques, DSP and related mathematics

Moderators: electrogear, exonerate

-1.#IND in a limiter design

Postby RRSounds on Wed Dec 21, 2011 3:17 pm

I'm using SynthMaker 2.0.5 Professional Edition

I've run into a problem that I can't seem to get my head around.

As a little background, I have been designing various compression and limiting schemes for decades now, and over my past year of working with SynthMaker, I have been very happy with my conversion of previous analog ideas into workable software DSP variations. Up to now, anyway.

I keep running into lockups in my feedforward control loops. I usually use some kind of absolute value or multiplication scheme to create a raw control signal from input audio, followed by variations on logging and single-pole filtering. This signal is used in turn as a control signal to create, at output, a controlled copy of the input signal.

My designs are really not rocket science, and they have worked in the past, even with past versions of SynthMaker...but now I'm really scratching my head because I keep encountering "-1.#IND" on the control signal.

If I put a float on the input, the gain reduction is exactly as predicted...but if I put audio , the "-1.#IND" rears it's ugly ass-hat head. I'm attaching my basic OSM, with hopes of corrective feedback from the Forum here.



I don't know if I'm inadvertently doing something different (or stoopid), or if it's the latest version of SM, or what, but this little thing is driving me nuts.

You guys have been immense help to me over the past year, and I am hoping you can point me in the right direction. Could somebody give this a shot?

Thanks! (and Happy Holidays!)
David
RRSounds
essemer
 
Posts: 23
Joined: Tue Nov 16, 2010 5:38 pm

Re: -1.#IND in a limiter design

Postby cyto on Wed Dec 21, 2011 4:31 pm

My guess would be that this line...
Code: Select all
loggedAbs=(log10(gainedIn));

should read...
Code: Select all
loggedAbs=(log10(absoluteIn));

though I haven't tested it.

-cyto
User avatar
cyto
essemilian
 
Posts: 317
Joined: Sun Nov 28, 2010 4:36 am
Location: CIN | OH | USA


Return to Sound

Who is online

Users browsing this forum: No registered users and 0 guests