Replacing instances of division with multiplication

DSP related issues, mathematics, processing and techniques
Post Reply
User avatar
wlangfor@uoguelph.ca
Posts: 912
Joined: Tue Apr 03, 2018 5:50 pm
Location: North Bay, Ontario, Canada
Contact:

Replacing instances of division with multiplication

Post by wlangfor@uoguelph.ca »

Hi all, I mix music everyday and have always wanted to get that pro sound.

There is various ways to do it; But I have noticed one thing that can have a profound impact is to use multiplication instead of division. There are some instances where division is necessary (for instance Hz to 0-1) and various other normalization techniques. I guess there must be some change in the timing which is affected.

Anyways, for a co-efficient You need to set up an index selector and have all of the available sample rates (so that Your product is scaleable). Then use the sample rate primitive to select and then get the int variable and in the same semantic order work out the math:

for instance, to figure out the math to replace division you do as follows with a calculator:

1 / 44100
one divided by 44100
one divided by 44100
calc 1 into 44100 result.jpg (34.49 KiB) Viewed 11738 times


and then to copy that value just hit edit -> copy:
edit copy calc value
edit copy calc value
calc edit copy.jpg (35.89 KiB) Viewed 11738 times


So, that's cool right? There is also other places where multiplication can be used. for instance within the knob module, I often like to ensure that I use a different math for linear gain:
instance of multiplication
instance of multiplication
knob module overview.jpg (67.61 KiB) Viewed 11738 times


and there You have it. Like in My signature if You want that dry yet almost vinyl sound use multiplication for every frequency but 4 kilohertz and you're in business with a professional sound.
My youtube channel: DSPplug
My Websites: www.dspplug.com KVRaudio flowstone products
User avatar
wlangfor@uoguelph.ca
Posts: 912
Joined: Tue Apr 03, 2018 5:50 pm
Location: North Bay, Ontario, Canada
Contact:

Re: Replacing instances of division with multiplication

Post by wlangfor@uoguelph.ca »

Here is an image of that alternative division with the relevant values:
Alternative to Division
Alternative to Division
multiplication example.jpg (93.17 KiB) Viewed 11733 times
My youtube channel: DSPplug
My Websites: www.dspplug.com KVRaudio flowstone products
Post Reply