Moved the tutorial to the Synthedit forum.
RH Math Modules
Dsp and Subcontrol math functions modules.
– Faster approximations (link) used in the DSP version.
– Subcontrol version was converted from SDK2, added a few functions.
– Functions: Sin, Cos, Tan, Tanh, Exp, Log.
Update 12-7-2015: Subcontrol bug choice not saved fixed.
Update 8-1-2013: DSP version created, removed approximations from subcontrol module.
Test Project file: test-rhmath2sdk3
RH Rescale
Subcontrol rescale module
Update 1-6-2018:
– A newer version is available, the old one is buggy so don’t use it.
– Made possible by Andrew ( TD modules ), thanks a lot!
– It’s not included in my pack. Am planning to rewrite all mods using the latest build of the SDK and making a new pack.
Download: RH-Rescale2
——————————————————————————————————————–
Old version:
– Converted from SDK2, removed the bidirectionality ( wasn’t really needed ).
Prefab: Knob using Textswitch module
A knob prefab using my text switch module.
When you press left mouse button on the knob, the current value is shown.
Let go and the text returns.
Rule: while left mouse button is pressed text input 2 is shown, else text input 1.
Download(se1 file): Prefab
RH 3Ddistance & Cart2Polar
DSP & Subcontrol Cartesian 2 Polar, and subcontrol 3D distance SDK3 modules.
Reference: polar-cartesian-coordinates
– RH-Cart2Polar has a selection pin to choose between 180/-180 and 0/360 degrees.
– Converted from SDK2, RH-3Ddistance was RH-2D_3D_distance
( removed choice option, use Cart2Polar for X + Y ).
– Both subcontrol modules combined into one SEM to save memory usage (ran into problems with the DSP versions so they are not combined for now).
Update:
– 12-7-2015: Subcontrol bug choice not saved fixed.
– 15-5-2015: Added sleepmode in the DSP versions, forgot about that.
– 13-5-2015: Polar2Cartesian DSP (32/64 bits) version released. It has a mode pin to select between: “Normal, Approx (fastsin/cos) and Update ( update state using the Bool Update pin, uses math.h sin/cos )”. Note: I’ve used the fastonebigheader.h for the fastsin/cos functions. CPU usage(i5)(32bit): normal = 1.5%, Approx = 0,4% and Update = 0,15%.
– 6-5-2015: Cartesian2Polar DSP (32/64bits) version released. It has a mode pin which lets you choose between : “Normal, Approximation (of atan2) or Update ( update state using the Bool Update pin, uses math.h atan2 as with normal mode )”. If your application doesn’t require constant computing, use the update mode with update pin.
CPU usage(i5)(32bit): normal = 1.6%, Approx = 0,5% and Update = 0,13%.
– 4-5-2015: Cartesian2polar subcontrol modules are now bidirectional, you can enter distance and angle values to get X,Y coordinates.
RH Volts2dB
Subcontrol Voltage 2 dB conversion module.
– Bidirectional, changes to either side update the other.
– Converted from SDK2.
RH Limit Modules
Subcontrol input/output limiting modules.
– They are bidirectional, min/max work both ways.
– Both modules combined into one SEM to save memory usage.
– Converted from SDK2.
RH Redirect Modules
Subcontrol flow redirect modules on the same side.
– All modules combined into one SEM to save memory usage.
– Converted from SDK2, added text and blob version.
Update 19-5-2014: RH-Bool-redir wasn’t working, fixed.
RH Switch Modules
Subcontrol modules for switching between two input pins using a Bool pin.
– Condition: While Boolpin = “true”, Input 2 is Output.
– All modules combined into one SEM to save memory usage.
Update (21-12-2013): Fixed a problem with pin updates in all modules.
RH Stereo Balance
Simple stereo in/out module with Volume and Balance control.
Update 18-6-2018:
A newer module is available using Equal Power ( 3dB ) pan law.
Download: RH-Balance
Thread about the module: Balance talk