Help with 'pseudo' Log with 6dB Headroom

For general discussion related FlowStone
Post Reply
User avatar
Walter Sommerfeld
Posts: 250
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany
Contact:

Help with 'pseudo' Log with 6dB Headroom

Post by Walter Sommerfeld »

Hi,

i'm again a little lost with my little mathematician knowledge here...

I need a Midi output value (CC 0-127) that mimics the behaviour in this RTF doc:

Thanks in advance!
Walter

P.S.: All values have an added 0.01 shunt (0.5 > 0.51 = -6dB, CC 64)...
i think i used this trick to compensate the rounding errors: float > Integer
Attachments
Knob pseudo log 6dB Headroom.zip
(10.48 KiB) Downloaded 730 times
Knob pseudo log 6dB Headroom.png
Knob pseudo log 6dB Headroom.png (302.01 KiB) Viewed 8789 times
User avatar
MyCo
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany
Contact:

Re: Help with 'pseudo' Log with 6dB Headroom

Post by MyCo »

Just a quick guess...
Attachments
log 6dB (MyCo).fsm
(120.08 KiB) Downloaded 824 times
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: Help with 'pseudo' Log with 6dB Headroom

Post by martinvicanek »

That looks more like a square mapping rather than (pseudo)log to me. Which is reasonable according to this reference. :geek:
Here is my attempt at an implementation.
Attachments
MIDIvelocityMapper.fsm
(2.11 KiB) Downloaded 786 times
User avatar
Walter Sommerfeld
Posts: 250
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany
Contact:

Re: Help with 'pseudo' Log with 6dB Headroom

Post by Walter Sommerfeld »

Thanks Guru's,

like i mentioned before - had no clue what's behind it...

Never would expect a Midi Velocity behind this curve martin... :o

Added a round float with 1 decimal => works fine here :)

Now it's time 4 a scotch...

Cheers,
Walter
Post Reply