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

Unity Gain at 12 O'Clock

For general discussion related FlowStone

Unity Gain at 12 O'Clock

Postby S1User » Mon Oct 07, 2024 12:04 pm

First let me thank the kind people here who always seem willing to help. I'm try to refamiliarize myself a bit with FS.

I have a knob that controls the output level of the sidechain input and i want it to be cetered at 12 O'Clock for unity gain. Turn right to add gain, turn left to trim. Ideally it would max out at +/- 12db. How do I do that? I've been trying with no luck so far. Thanks in advance

volume.png
volume.png (32.23 KiB) Viewed 4678 times
S1User
 
Posts: 58
Joined: Thu Sep 17, 2015 4:05 pm

Re: Unity Gain at 12 O'Clock

Postby tulamide » Mon Oct 07, 2024 3:40 pm

Use math! You're multiplying a number, so 1 is unchanged and therefore 0 dB.

The formula for dBFS is 20 * log10(abs(value))

That tells you, that for -12 dB to +12 dB, the range has to be 0.25 to 4 (a quarter to a quadruple). Since it is a logarithmic scale, I would use the actual dB values for the knob (-12 to 12) and calculate the number (that you use to multiply the stream) with the reverse formula 10^(dB * 0.05)
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Unity Gain at 12 O'Clock

Postby Spogg » Tue Oct 08, 2024 8:42 am

Here’s a couple of modules to do it. The stream version is by Martin Vicanek.
Attachments
dB to linear .fsm
3.06
(60.22 KiB) Downloaded 238 times
User avatar
Spogg
 
Posts: 3361
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Unity Gain at 12 O'Clock

Postby S1User » Tue Oct 08, 2024 10:08 am

Thank you Spogg. That was exactly what I needed.
S1User
 
Posts: 58
Joined: Thu Sep 17, 2015 4:05 pm

Re: Unity Gain at 12 O'Clock

Postby Spogg » Tue Oct 08, 2024 2:43 pm

Just for completeness, here are 2 modules which convert from linear to dB, where a 1 input gives 0dB, 2 gives +6dB etc. So the linear input could be called a gain ratio maybe.
The stream versions may be useful in compressors for example.
Attachments
Lin to dB .fsm
3.06
(60.38 KiB) Downloaded 230 times
User avatar
Spogg
 
Posts: 3361
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England


Return to General

Who is online

Users browsing this forum: Google [Bot] and 11 guests