Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Hilbert Shifter

Post any examples or modules that you want to share here

Re: Hilbert Shifter

Postby martinvicanek » Mon Jul 13, 2015 9:03 pm

The coefficients are from Tronic's calculator at viewtopic.php?f=4&t=3112&start=10#p16916
User avatar
martinvicanek
 
Posts: 1315
Joined: Sat Jun 22, 2013 8:28 pm

Re: Hilbert Shifter

Postby borodadada » Mon Jul 13, 2015 10:11 pm

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
]
borodadada
 
Posts: 47
Joined: Sun Jun 02, 2013 5:58 pm

Re: Hilbert Shifter

Postby Tronic » Tue Jul 14, 2015 12:28 am

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
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Hilbert Shifter

Postby borodadada » Tue Jul 14, 2015 8:12 am

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.
borodadada
 
Posts: 47
Joined: Sun Jun 02, 2013 5:58 pm

Re: Hilbert Shifter

Postby martinvicanek » Tue Jul 14, 2015 6:01 pm

borodadada wrote:[...] phase rotated not 90 degree.
If you post your schematic we can try to help.
User avatar
martinvicanek
 
Posts: 1315
Joined: Sat Jun 22, 2013 8:28 pm

Re: Hilbert Shifter

Postby Jarfaut » Sun May 07, 2023 10:42 pm

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!
User avatar
Jarfaut
 
Posts: 18
Joined: Mon Apr 24, 2023 1:25 pm

Previous

Return to User Examples

Who is online

Users browsing this forum: No registered users and 39 guests