Hi Dario.
Started but never tested.
https://raw.githubusercontent.com/grammaton/faust_dsp/master/HILBERT-TRANSFORM/HILBERT.dsp
import("stdfaust.lib");
import("filters.lib");
biquad(a1,a2,b0,b1,b2) = + ~ conv2(a1,a2) : conv3(b0,b1,b2) with{
conv3(k0,k1,k2,x) = k0*x + k1*x'+ k2*x''; conv2(k0,k1,x) = k0*x + k1*x'; }; f1
= biquad(-0.02569, 0.260502, -0.260502, 0.02569, 1) : biquad(1.8685, -0.870686,
0.870686, -1.8685, 1) ; f2 = biquad(1.94632, -0.94657, 0.94657, -1.94632, 1) :
biquad(0.83774, -0.06338, 0.06338, -0.83774, 1) ;
hilbert = f1, f2; // f1 advanced 90° - f2 delayed 90°
process = hilbert;
On 15 June 2019 19:08:55 CEST, Dario Sanfilippo <sanfilippo.da...@gmail.com>
wrote:
>Hello, list.
>
>I may have missed it but I couldn't find a Hilbert filter in the
>libraries.
>Has any of you implemented one that works well for frequency shifting?
>
>Thanks,
>Dario
--
Sent from my Android device with Sync for iCloud Mail. Please excuse my brevity.
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users