Perhaps an intrepid developer could look at the source code for Timidity's
mixing routines and design a vectorised AltiVec alternative.
Audio is always an easy place to start - add one waveform to another, run
an FFT over it, these are the most commonly vectorisable routines you
could imagine. With a 16bit integer sample you could perform EIGHT
operations at once on a waveform.
Matt Sealey <firstname.lastname@example.org>
Manager, Genesi, Developer Relations
> -----Original Message-----
> From: Pylon [mailto:email@example.com]
> Sent: 01 February 2005 08:39
> To: firstname.lastname@example.org
> Subject: Re: MIDI playing
> dholm wrote:
> timidity++ 2.13.2 together with eawpatches 12-r4 is working
> on my Gentoo/Pegasos system. I use it for OpenTTD.
> (end of quote)
> Tried that now on my Pegasos. I must say, the sound is so
> scary, as it uses 100% CPU power, just to play a simple midi file.
> Did you changed something special?
> PPCZone Forums: http://www.ppczone.org/forums