[Pksampler-devel] Re: Porting pkaudio to ppc
Status: Beta
Brought to you by:
patrickkidd
From: Patrick S. <pat...@gc...> - 2005-03-22 02:26:00
|
I did realize that test_unittest.py hasn't really been updated or re-thought since I made jack the default audio driver. The problem is that jack_client_connect() doesn't start the server very well (at least on my machines), and if you don't start the server your self (`jackd -d alsa -r 44100`), the audio tests won't work. Most of the tests in the above file focus on network communication using the pkaudio protocol, though. On Monday 21 March 2005 02:31 pm, you wrote: > Nope, wasn't from me. I guess I'm not the only one working on it. :^) > > Cheers, > -n8 > > On Mar 19, 2005, at 2:33 PM, Patrick Stinson wrote: > > I got an email from linuxonpower.com that says you submitted an entry, > > but the > > zipe file (entry.zip) seems to be empty. > > > > On Thursday 17 March 2005 03:33 pm, you wrote: > >> On Mar 17, 2005, at 12:00 AM, Patrick Stinson wrote: > >>> Great! check test*.py > >>> > >>> First off, there is a great unit test in test_unittest.py. just run > >>> it, and > >>> try to get all tests to pass. The tests in that file take care of all > >>> of the > >>> basic network communication between the daemon and python client, > >>> which is > >>> what you will be focusing on when porting it. I can't remember if ppc > >>> is big > >>> or little endian, but that might be the biggest issue if uses a big > >>> endian. > >> > >> Yep, PPC is big-endian. I'll have to try it across the network with > >> an > >> x86 machine to make sure it works cross-platform. > >> > >>> test_sample.py will try to play a sample. change the sample and then > >>> various > >>> properties on the sample while it is playing to see how it sounds. > >>> you > >>> can > >>> take this simple several-liner and make your own, more elaborate > >>> tests > >>> with > >>> more samples. Any tests at this level will be with audio quality. > >>> Latency has > >>> not yet been address in the library, sop don't worry about it. The > >>> sound card > >>> latency is greater than network latency at this point anyway. > >> > >> Ok, I'll give it a shot. > >> > >>> I am very excited about the port, let me know about your progress, > >>> and > >>> I'll be > >>> happy to merge your changes into the main source tree. > >> > >> I'll keep in touch. You might even get an OS X port out of this too > >> -- > >> I'm hoping I can get things working in OS X, which is my primary > >> platform, address all the endianness issues, then make sure everything > >> still works in Linux PPC. > >> > >>> PS. Happy Saint Patrick's Day! > >> > >> You too! > >> > >> Cheers, > >> -n8 > >> > >> -- > >> > >>>>> -- Nathaniel Gray -- Caltech Computer Science ------> > >>>>> -- Mojave Project -- http://mojave.cs.caltech.edu --> > > -- > > >>>-- Nathaniel Gray -- Caltech Computer Science ------> > >>>-- Mojave Project -- http://mojave.cs.caltech.edu --> |