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 thing, so that was a good choice. First thing I'd do is put all the input data in a class. This can be passed around easily as a function argument instead of having to 'import' it (or parts of it !), along with many other advantages. Python classes are very nice. Coming from C++ there are some changes to get used to - things work in different ways - but it all makes a lot of sense. Another thing to consider is that almost all changes made in Python 3 have been backported to recent Python 2. So it's quite easy to write code that works with either. Good luck ! -- FA A world of exhaustive, reliable metadata would be an utopia. It's also a pipe-dream, founded on self-delusion, nerd hubris and hysterically inflated market opportunities. (Cory Doctorow) _______________________________________________ Sursound mailing list [email protected] https://mail.music.vt.edu/mailman/listinfo/sursound
