Jump to content

logarithmic potis possible?


audioworld
 Share

Recommended Posts

hi again,

many answers to my desgin questions I found already in the archive, but not this one:

I have a lot of logarithmic potis around (from the days where I wanted to build analog mixers..--))). I understand that for MB64 a linear curve is preferred, but is there a way to "scale" the values so i can use my logarihmic ones?

thanks,

kap.

Link to comment
Share on other sites

I have not yet "been inside" the MB64 code, so please take this with caution.

There is code in the MBMixer that will convert a 7 bit linear value into an 8 bit Log value, and also code to convert 8 bit Log curve back to _AN APPROXIMATION_ of a linear curve.

The resolution is a bit grainy, especially at the low end of travel. It is sized only for 8 bit to 8 bit conversions, if you need something different you'd have to remake the look-up-table.

To find it, get the archive here:

http://www.midibox.org/dokuwiki/lib/exe/fetch.php?id=midiboxmixersoftware&cache=cache&media=mbmixerv1.zip

(If that link doesn't work, it's in the WIKI at the end of the software page for the MBMixer)

from the zip file get "logbyte.inc" and look inside for a function called "AntiLog" and it's data table, alogtable.

Having said all that, it's not the "right" way to go. Your MB64 will be different from everyone elses, and if it doesn't work "just right", you'll be on your own. I agree that using the right parts is the best way to go.

Good Luck,

LyleHaze

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...