Hi all, On 04.09.06, Dag Wieers wrote:
On Mon, 4 Sep 2006, Rene Maurer wrote:
PyTone 2.3.1 just plays noise (schschscshscsh....) on my ubuntu system. No problems with PyTone 2.3.0 as well PyTone 2.4.4.
I do the same with every release:
1. python setup.py build_ext -i 2. cp conf/pytonerc pytonerc 3. setting musicbasedir in pytonerc 4. ./pytone -c pytonerc
Any hints?
Hmm, this is the second report. I now remember when I updated to the subversion version to test ReplayGain support I also had a case of noise when playing. I don't know whether the database rebuild or just a subsequent set of restarts fixed it.
This is a byte-ordering problem. Somehow it doesn't appear with all configurations, that's why I didn't notice it in the first place. Anyway, the attached patch should fix this. It will be included in the next version, but you can easily include it in your packages.
In fact I thought it was related to my soundcard or the kernel since it eventually worked without modifying Python code. Maybe someone having the problem can try to restart or rebuild the database and see if any of that makes a difference ?
I doubt that rebuilding the database makes a difference (although Alex reported so).
PS I also believed it may have been caused by my config-file being overwritten after doing the install, which is still a major issue for me as it bites me every new release I tried. I now hardlink the configfile :)
I still don't fully understand the problem. Why do you change the global config file (in /etc) at all, except for distribution purposes? And in the latter case, there should be no problem anyway. The right place to configure PyTone is in ~/.pytone/pytonerc which will never be overwritten. Jörg