RH-DSP modules re-built

All my DSP modules have been re-built.
The old RH-DSP-SDK3.sem file can be removed (or backupped), all are in the new RH-DSP.sem

Notes:
– Had to leave the biquad module in the old coding style, I don’t (yet) understand how Jeff does certain things in his filters.
– Added some extra modules.
– MAC export was a debug version, didn’t know that! Release version in zip, folder name and contents correct now.
– Credits to Andrew for the Balance module

x86, x64 and Mac release: Download

RH-Hatch

This module creates a grid for building purposes.
No more need to switch between a grid background image and final BG image to make sure everything is aligned correctly.
You can change the fore- and background colors to what you want using ARGB values.

Note: This module works up to SE 1.3, version 1.4 drops GDI+ support. A re-write of the module is required.

Update 25-5-2018: Preview version (x86 & x64) using Direct2D available at: RH-Hatch2

Download

hatch-32bit

RH-Meters

Three subcontrol Meter modules.

– Types: Bool, Float and Integer
– Transparancy available thru setting Alphachannel to 0.
– Additional GDI+ options: fontsize, fontstyle, padding and antialias.
– Precision in the float version means the number of digits behind the comma sign.

Available Fontstyles:
0 = FontStyleRegular
1 = FontStyleBold
2 = FontStyleItalic
3 = FontStyleBoldItalic
4 = FontStyleUnderline

Note: This module works up to SE 1.3, version 1.4 drops GDI+ support. A re-write of the module is required.

Downloads

Screenshot:
meters-32bit

RH-Text-Append, Capitals and Substr

Subcontrol text modules for some handy string operations.

Update 25-5-2018:
– RH-Text-Append: text output works bi-directionally now, it sends the changed value back to text input one.

– RH-Text-Append combines text strings.
– RH-Text-Capitals makes capitals of the input string.
– RH-Text-Substr sends a part of a string, defined by the Offset&Length pins, to the outputpin. TextCount pin tells you howmany characters the string contains.

Downloads

textsubstr-textcapitals

Text-append

textsubstr-textcapitals-example

RH BiQuad

BiQuad Multimode Filter module

– Types: LP, HP, BPF1 (new!), BPF2, Notch, Peak, Loshelf, Hishelf
– BPF1: peak gain = Q, BPF2: peak gain = zero.
– Cascade: up to 8x (new!)
– Freq: 20 – 20.000Hz
– Q: 0 – 10v
– PeakGain: -30dB – 30dB
– 64bit internal processing
– CPU usage (32bit): for LP 12dB about 0.17% (streaming)(Core i5-2450m).
– CPU usage (64bit): for LP 12dB about 0.70% (streaming)(Core i5-2450m).

– Gain compensation: use the properties screen to subtract a value from the Q, per stage.
This way it allows the Q range on the slider to stay 0 – 10v, and stop/contain the peak overload.

Example values to subtract from Q ( closer to 0 means more overload ):
– Gaincomp2: 6.5
– GainComp3: 7.7
– GainComp4: 8.2
– etc..

Todo:
– Code optimising.
– Maybe split the Coefficients from the Engine ( like CK his BiQuad system ).

Download

Source 32bit: RH-BiQuad
Source 64bit: RH-BiQuad-64

Credits:
– Andrew aka Ichad.c (blog)
– Nigel Redmon @ Earlevel.com (used his implementation).
– Chris Townsend @ MusicDSP.org.
– Peter (Scoofy) Schoffhauser, used his musicDSP post for the coefficient calc of the BPF1 type.

RH-BiQuad

 

 

 

 

Update 19-9-2015:
– Cascade up to 8x
– Added additionkal BPF type ( BPF1 ).
– Added manual “gain compensation”.

Update 10-2-2014:
– Added Adaptive processing.
Credits for this enhancement go out to Andrew @ SESDK usergroup.
He offered his help to implement this, fixed my Many2one problem in the process.
This lowers CPU usage a lot while an input parameter is not streaming.

Update 6-2-2014:
– Downscaled Q a bit.
– Added Cascading: 12,24,36,48dB

Update 5-2-2014:
– Changed some compiler settings, speeds up the module slightly.
– Low value limit set on the Q parameter, to prevent the filter crashing.
– Made some code improvements, and small fixes ( thanks Andrew @ Yahoo Usergroup ).
– Removed the fake blockmode, it didn’t work as planned while using a Manytoone.
When I come up with a fix i’ll reintroduce it..as it does save quite a lot on CPU usage.
– Sleepmode corrected.

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.

Download

RH-Math

 

 

 

Test Project file: test-rhmath2sdk3
RH-Math-example

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 ).

RH-RescaleSDK3