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
Working with MV's rational mapper (useful ruby, dspcode)
1 post
• Page 1 of 1
Working with MV's rational mapper (useful ruby, dspcode)
So, I have been working on the MV reverb I promised to make. The sunburst gradients were too memory intensive to be done with primitives so I required ruby to do everything.
Even so the knobs were strained a little.
However, here is the ruby code I came up with to emulate Martin Vicanek's rational mapper. Enjoy.'
It was useful and I thought it could even be used in DSP.
Cheers
Even so the knobs were strained a little.
However, here is the ruby code I came up with to emulate Martin Vicanek's rational mapper. Enjoy.'
- Code: Select all
var1 = @in
r1 = @r1 ##min
r2 = @r2 ##mid
r3 = @r3 ##max
red = (((r3-r1)*(r2-r1))*var1)/((r3-r2)+(var1*((r2*2)-(r3+r1))))+r1
output 0, red
It was useful and I thought it could even be used in DSP.
Cheers
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 49 guests