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

Help with 'pseudo' Log with 6dB Headroom

For general discussion related FlowStone

Help with 'pseudo' Log with 6dB Headroom

Postby Walter Sommerfeld » Sat May 23, 2015 2:53 pm

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 686 times
Knob pseudo log 6dB Headroom.png
Knob pseudo log 6dB Headroom.png (302.01 KiB) Viewed 7818 times
User avatar
Walter Sommerfeld
 
Posts: 249
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany

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

Postby MyCo » Sat May 23, 2015 4:55 pm

Just a quick guess...
Attachments
log 6dB (MyCo).fsm
(120.08 KiB) Downloaded 785 times
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

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

Postby martinvicanek » Sat May 23, 2015 5:29 pm

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 743 times
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

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

Postby Walter Sommerfeld » Sat May 23, 2015 8:45 pm

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
User avatar
Walter Sommerfeld
 
Posts: 249
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany


Return to General

Who is online

Users browsing this forum: No registered users and 56 guests