Re: [Sursound] Periphonic Irregular HO Ambisonics Decoder

2014-03-19 Thread /dav/random
Thanks Fons! I will start from this! Ciao Davide -- next part -- An HTML attachment was scrubbed... URL: https://mail.music.vt.edu/mailman/private/sursound/attachments/20140319/b12dba8b/attachment.html ___ Sursound mailing list

Re: [Sursound] Periphonic Irregular HO Ambisonics Decoder

2014-03-18 Thread /dav/random
Thanks to all for your feedback! I developed the code in python 2.7 and I never tried to run it under python3. If you are forced to work with python3 I could look for the necessary changes to adapt idhoa code to python3 ... but I would prefer to focus on other activities ;) The expected

Re: [Sursound] Periphonic Irregular HO Ambisonics Decoder

2014-03-18 Thread /dav/random
Hi Fons, thanks for your valuable feedback. I inserted a 'print (thetaTest)' in Wbinary(), just before the compare that fails. The code *is* called, and thetaTest is printed as a list, not an array. Yes! Wbinary() is called in constants.py, just to call it once and store the result, which

Re: [Sursound] Periphonic Irregular HO Ambisonics Decoder

2014-03-18 Thread Fons Adriaensen
On Mon, Mar 17, 2014 at 06:05:11PM +0100, /dav/random wrote: - The code is not written by software engineers. We have our evident limits. Please don't take this personally, but it shows :-) It's in fact a glorious mess... There are circular dependencies between the modules. Which is why you

Re: [Sursound] Periphonic Irregular HO Ambisonics Decoder

2014-03-18 Thread Fons Adriaensen
On Tue, Mar 18, 2014 at 11:34:02PM +0100, /dav/random wrote: It is my first work with python, and I accept any kind of contribution, hint, ticket, code, ... and even ideas on how to restructure it, so it can make more sense. Python + numpy is probably the ideal language for this sort of

[Sursound] Periphonic Irregular HO Ambisonics Decoder

2014-03-17 Thread /dav/random
Dear Sursounders, we released the code for calculating the coefficients for decoding high order ambisonics to your irregular periphonic layout. The project is called IDHOA and the code is hosted here [1] under GPL . Few words on the project. - The code is not written by software engineers. We

Re: [Sursound] Periphonic Irregular HO Ambisonics Decoder

2014-03-17 Thread Fons Adriaensen
On Mon, Mar 17, 2014 at 06:05:11PM +0100, /dav/random wrote: The project is called IDHOA and the code is hosted here [1] under GPL . (after automatic conversion to python3) Traceback (most recent call last): File ./main.py, line 32, in module from constants import * File

Re: [Sursound] Periphonic Irregular HO Ambisonics Decoder

2014-03-17 Thread Fons Adriaensen
On Mon, Mar 17, 2014 at 05:06:32PM -0700, Aaron Heller wrote: On Mon, Mar 17, 2014 at 1:09 PM, Fons Adriaensen f...@linuxaudio.orgwrote: On Mon, Mar 17, 2014 at 06:05:11PM +0100, /dav/random wrote: The project is called IDHOA and the code is hosted here [1] under GPL . (after

Re: [Sursound] Periphonic Irregular HO Ambisonics Decoder

2014-03-17 Thread Marc Lavallée
Fons, here's my little code review: The bug is harmless, because the WbinVec variable is used only if WBIN is considered True, and WBIN is actually a constant set to 0. -- Marc Le Tue, 18 Mar 2014 01:01:25 +, Fons Adriaensen f...@linuxaudio.org a écrit : On Mon, Mar 17, 2014 at

Re: [Sursound] Periphonic Irregular HO Ambisonics Decoder

2014-03-17 Thread Aaron Heller
When I run it in Python 2.7, thetaTest is an array, not a list as in Fons' example, so the comparison works as expected and produces a boolean array array([.1, .2, .3, .4]) .25 array([False, False, True, True], dtype=bool) and boolean types behave like the constants 0 and 1 under