Page 4 of 4

Re: Hilbert Shifter

PostPosted: Mon Jul 13, 2015 9:03 pm
by martinvicanek
The coefficients are from Tronic's calculator at viewtopic.php?f=4&t=3112&start=10#p16916

Re: Hilbert Shifter

PostPosted: Mon Jul 13, 2015 10:11 pm
by borodadada
How create coeff. in pair? I set @order = 8; @transition = 0.001 First line coeff?
coeff = [
0.15792150085531764,
0.471 13659195211427,
0.725103231339305,
0.8708226386356741,
0.9422417392772633,
0.9749764749218756,
0.9898478236632062,
0.997282698317513
]

Re: Hilbert Shifter

PostPosted: Tue Jul 14, 2015 12:28 am
by Tronic
Code: Select all
coefs = [your array]
coefs_even = coefs.values_at(* coefs.each_index.select {|i| i.even?})
coefs_odd = coefs.values_at(* coefs.each_index.select {|i| i.odd?})

Edit: corret typo

Re: Hilbert Shifter

PostPosted: Tue Jul 14, 2015 8:12 am
by borodadada
Thanks, code work. For the coefficients of Hilbert , which need some special settings? I try
@order = 8; @transition = 0.1
coeff = polyphase_IRR_coeff.compute_coefs_spec_order_tbw(@order,@transition)
coefs = coeff
coefs_even = coefs.values_at(* coefs.each_index.select {|i| i.even?})
coefs_odd = coefs.values_at(* coefs.each_index.select {|i| i.odd?})
But phase rotated not 90 degree.

Re: Hilbert Shifter

PostPosted: Tue Jul 14, 2015 6:01 pm
by martinvicanek
borodadada wrote:[...] phase rotated not 90 degree.
If you post your schematic we can try to help.

Re: Hilbert Shifter

PostPosted: Sun May 07, 2023 10:42 pm
by Jarfaut
Great!
Thanks for this topic and examples!
It's almost exactly what I was looking for. And next, I'll write my own commentary on it in my little thread.
Respectfully!