Instruō Tanh(3)

Cwejman, Livewire, TipTop Audio, Doepfer etc... Get your euro on!

Moderators: Kent, lisa, luketeaford, Joe.

User avatar
Hovercraft
Super Deluxe Wiggler
Posts: 1353
Joined: Fri Nov 27, 2015 12:22 am
Location: DC

Instruō Tanh(3)

Post by Hovercraft » Fri May 25, 2018 2:42 pm

Tanh(3) looks interesting, and useful--a waveshaping circuit. This looks useful for controlling feedback loops, limiting/soft clipping, and general waveshaping mayhem.

http://www.instruo.media/tanh3

"tanh[3] is a three channel, all analogue, wave shaper. It takes an input signal and outputs the hyperbolic tangent function [tanh (x)] for that signal.

…In more useful terms, it adds curves to a signal!

Traditionally the circuit is used to shape a triangle wave to a sine but when used with more complex signals it behaves as a single knob limiter."


Image

User avatar
Crimesofthecrown
Common Wiggler
Posts: 248
Joined: Sat Sep 16, 2017 2:25 pm
Location: Santa Monica

Post by Crimesofthecrown » Fri May 25, 2018 3:20 pm

Ooooooooooo. I like this.
GOD IS WAR - Curator of Hyper-Violent Industrial and Heavy Electronics


User avatar
windspirit
Super Deluxe Wiggler
Posts: 3085
Joined: Thu Sep 20, 2012 11:43 pm
Location: krellifornia

Post by windspirit » Fri May 25, 2018 3:22 pm

Yeah just saw this in the most recent divkid video, seems like a really useful utility.

User avatar
mgscheue
Ultra Wiggler
Posts: 752
Joined: Wed Jul 30, 2014 9:34 pm
Location: Michigan

Post by mgscheue » Fri May 25, 2018 4:19 pm

Interesting. I just tried plotting what it would do to a triangle wave. Something like this, it appears.
Image

User avatar
windspirit
Super Deluxe Wiggler
Posts: 3085
Joined: Thu Sep 20, 2012 11:43 pm
Location: krellifornia

Post by windspirit » Fri May 25, 2018 4:26 pm

I am not familiar with that way of computing a triangle wave, but around 0 for half a period you should see the triangle wave basically act like a linear input which would mean that you should see something more like the graph on the panel of tanh(3).

AFAIK the normal equation for a triangle wave is sin(x) + 1/3 sin (3x) + 1/5 sin (5x). Correct me if I am wrong.

Here is a graph of tanh for reference

Image

User avatar
mgscheue
Ultra Wiggler
Posts: 752
Joined: Wed Jul 30, 2014 9:34 pm
Location: Michigan

Post by mgscheue » Fri May 25, 2018 4:41 pm

Admittedly, I haven't seen this stuff in a while, but I think what you have there is the first three terms of the Fourier series for a square wave:
Image
They're similar in that they both have just the odd harmonics.

You can of course represent a triangle wave as a Fourier series, too, but what I have as the argument to tanh should be the analytic form.
Image

User avatar
Hovercraft
Super Deluxe Wiggler
Posts: 1353
Joined: Fri Nov 27, 2015 12:22 am
Location: DC

Post by Hovercraft » Fri May 25, 2018 5:08 pm

My understanding is the circuit can fully shape a triangle wave into a reasonably pure sine wave. Maybe there’s more to the circuit, but Jason specifically refers to MAX/MSP and Pd users. Seems like it would be a basic function. From the description on the web site—

Wave shaping:

Running a triangle wave through a tanh will allow for some interesting wave shaping control.

Fully CCW and the resulting signal will be a slightly attenuated pass through of the original triangle wave. As the level is increased, the corners will soften and the wave form will shape into a sine wave.

As level is increased, the sine will soft clip and eventually settle into a unique peaked waveform.

User avatar
mgscheue
Ultra Wiggler
Posts: 752
Joined: Wed Jul 30, 2014 9:34 pm
Location: Michigan

Post by mgscheue » Fri May 25, 2018 5:19 pm

Yeah, that's what actually made me curious about seeing what happens if you feed a triangle wave to the tanh function. It definitely rounds it some, but it's still pretty pointy on the top and bottom. It would be interesting to try it, with a scope, with the actual module. Sounds like the control makes it "stronger" than just a straight-up tanh would. I remember looking at the sine output of my STO, which is a triangle-core oscillator, on my scope, and while it was quite close to a sine wave, it was just a little pointier than that.

User avatar
windspirit
Super Deluxe Wiggler
Posts: 3085
Joined: Thu Sep 20, 2012 11:43 pm
Location: krellifornia

Post by windspirit » Fri May 25, 2018 5:54 pm

https://en.wikipedia.org/wiki/Triangle_wave

Looks like it is actually an infinite series of the odd harmonics but with decreasing amplitude (inverse of the harmonic number).

You might try amplifying the triangle wave (multiply it by 10 for example) before going into the tanh function.

User avatar
tapel
Learning to Wiggle
Posts: 25
Joined: Mon Jun 01, 2015 10:21 pm
Location: Boise, Idaho, USA
Contact:

Post by tapel » Fri May 25, 2018 6:18 pm

I’m a long time user of tanh~ in Max and Pd for controlling and manipulating feedback. I bought a tanh[3] and am having a good time using it in feedback loops with the DLD (with the Send-Return-Pre-Loop alternative firmware). I am finding that I also am using it for boosting signal levels in general, like for the filtered outputs from the Benjolin. Just like in Max, for me it’s a convenient way of controlling signals that might get out of control.

AndreasD
Common Wiggler
Posts: 117
Joined: Sat Nov 28, 2015 3:04 pm

Post by AndreasD » Fri May 25, 2018 6:54 pm

In the software world tanh is used to simulate/create saturation and distortion. It's also a limiter, but with heavy distortion (clipping) when limiting.
Tanh creates odd harmonics only, no even harmonics.

User avatar
Brennanib
Common Wiggler
Posts: 171
Joined: Mon Jun 30, 2014 7:59 pm
Location: NC
Contact:

Post by Brennanib » Fri May 25, 2018 10:56 pm

Ordered on of these from Jason recently can't wait for this honestly I've been needing something like this for some time now and yet they're are others this one does just what I need and more in a 4hp package!!
@brennanfowlerib
@patchnbrew
@motsgso

https://www.youtube.com/channel/UC177iw ... ZO6a8Yu6Sg
Dragonaut wrote:PMed for Cat...

User avatar
starthief
Super Deluxe Wiggler
Posts: 5035
Joined: Tue Oct 04, 2016 10:39 am
Location: St Louis, MO
Contact:

Post by starthief » Tue May 29, 2018 8:07 am

tapel wrote:I’m a long time user of tanh~ in Max and Pd for controlling and manipulating feedback. I bought a tanh[3] and am having a good time using it in feedback loops with the DLD (with the Send-Return-Pre-Loop alternative firmware). I am finding that I also am using it for boosting signal levels in general, like for the filtered outputs from the Benjolin. Just like in Max, for me it’s a convenient way of controlling signals that might get out of control.
I'm interested in it specifically for taming feedback, but it seems kind of limited (ha) in control possibilities compared to using an envelope follower and VCA or a dedicated compressor.

In practice, do you ever find yourself wishing for more control of it, or is it just a matter of pushing the levels a little more or less and it takes care of itself?

peripatitis

Post by peripatitis » Tue May 29, 2018 10:01 am

Very useful module, it just needs a better delay line to shine..

bgribble
Common Wiggler
Posts: 218
Joined: Sat Jan 04, 2014 7:36 pm
Location: Brooklyn

Post by bgribble » Tue May 29, 2018 1:21 pm

In the software world tanh is used to simulate/create saturation and distortion.
Funny, right? tanh distortion is used in software as a quick and dirty mathematical approximation to "euphonic" hardware limiting/distortion, and now we have a hardware implementation of the algorithm that was a knockoff of the behavior of tubes-and-transformers hardware....

bg[/quote]

ookrsia
Wiggling with Experience
Posts: 300
Joined: Mon Dec 19, 2016 9:26 am

Post by ookrsia » Wed Jun 27, 2018 12:37 pm

Wow gotta check this. I love using feedback but it can sometimes be tricky.

With this price and HP it seems a no-brainer.

User avatar
timoka
Super Deluxe Wiggler
Posts: 1685
Joined: Sat Oct 05, 2013 2:43 pm

Post by timoka » Wed Jun 27, 2018 2:03 pm

such a useful module, one of the best purchases i made since a long time!
nothing musical here, just to demonstrate the saturation, clipping on a sine wave and the feedback control in a delay:

http://soundcloud.com/uzala/tanh3-sinewave

http://soundcloud.com/uzala/tanh3-feedback

User avatar
Hovercraft
Super Deluxe Wiggler
Posts: 1353
Joined: Fri Nov 27, 2015 12:22 am
Location: DC

Post by Hovercraft » Wed Jun 27, 2018 5:23 pm

Nice examples. I'm enjoying my tanh(3)--such a cool module. It's also great for waveshaping--I like multing an osc and running one line into tanh(3) and layering it with the original sound.

djd_oz
Veteran Wiggler
Posts: 572
Joined: Sun Aug 09, 2015 7:58 pm

Post by djd_oz » Wed Jun 27, 2018 6:15 pm

windspirit wrote:Yeah just saw this in the most recent divkid video, seems like a really useful utility.
where is this video you speak of, can't seem to find it

User avatar
Swain Voorman
Common Wiggler
Posts: 68
Joined: Tue Feb 14, 2017 1:18 pm

Post by Swain Voorman » Thu Jun 28, 2018 7:54 am

Might be here:
https://youtu.be/XB5c3D-rWtY?t=31m47s

Interested to see DivKid's video on it in the future. I'm very interested in the potential for this one with my setup being based around acoustic sound input and delay lines. Thanks everyone for the demos thus far.

User avatar
ben_hex
Super Deluxe Wiggler
Posts: 6724
Joined: Sun May 12, 2013 12:58 pm
Location: West Yorkshire, England

Post by ben_hex » Thu Jun 28, 2018 8:26 am

Swain Voorman thanks for sharing the live stream I did with Jason, was fun to get into that module as I think it's a very useful little thing in 4hp.

No plans for doing the demo particularly soon, need to get through some other things first and Harmonaig is next in line for Instruo videos from me.
All DivKid video series to be found here!
http://www.youtube.com/divkidvideo

User avatar
brandonlogic
Super Deluxe Wiggler
Posts: 2882
Joined: Tue Jan 27, 2015 9:17 am
Location: Milwaukee WI

Post by brandonlogic » Tue Aug 07, 2018 8:08 am

mgscheue wrote:It would be interesting to try it, with a scope, with the actual module.
i would love to see some oscilloscope shots with the actual module too.
could anyone with the module show us what it looks like processing a sine, triangle and saw? thanks in advanced!!

User avatar
timoka
Super Deluxe Wiggler
Posts: 1685
Joined: Sat Oct 05, 2013 2:43 pm

Post by timoka » Tue Aug 07, 2018 9:11 am

here are some pictures to show what it does to waves:

sinewave:

Image

trianglewave:

Image

sawwave:

Image

and here the audiofile:

http://soundcloud.com/uzala/tanh3-waveforms

User avatar
brandonlogic
Super Deluxe Wiggler
Posts: 2882
Joined: Tue Jan 27, 2015 9:17 am
Location: Milwaukee WI

Post by brandonlogic » Tue Aug 07, 2018 9:15 am

Awesome thank you so much timoka, really appreciate it! I think im going to pick one up. would be really nice with the DLD's feedback loop too, because its really easy to get out of control.

User avatar
mgscheue
Ultra Wiggler
Posts: 752
Joined: Wed Jul 30, 2014 9:34 pm
Location: Michigan

Post by mgscheue » Tue Aug 07, 2018 9:21 am

Yes, thank you! Very interesting.

Post Reply

Return to “Eurorack Modules”