All times are UTC-06:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
 Post subject: MIDI playing
PostPosted: Sun Jan 30, 2005 6:38 pm 
Offline

Joined: Fri Oct 22, 2004 6:00 am
Posts: 81
Hello! I wonder if it's possible to set up hardware MIDI playing in Linux using MPU-401 in Pegasos? I'd like to play MIDI files but unfortunately Pegasos is not fast enough to run Timidity.


Top
   
 Post subject: Re: MIDI playing
PostPosted: Mon Jan 31, 2005 12:41 pm 
Offline

Joined: Sun Oct 10, 2004 5:30 pm
Posts: 15
I ran timidity++ on a 600MHz iBook. Without much CPU usage and without skips.

But I didn't got it managed to run timidity++ on the Pegasos. The new version seems to have endianess-problems. We are aware of the problem in the Gentoo-Development group and probably we can solve it.


Top
   
 Post subject: Re: MIDI playing
PostPosted: Mon Jan 31, 2005 8:42 pm 
Offline

Joined: Fri Oct 22, 2004 6:00 am
Posts: 81
On my Debian Timidity++ runs perfectly. Except CPU usage, of course. Three samples together + reverberation - it's enough for it...
The fact that your 600 mHz ibook ran it without problems gives me bad thoughts about Pegasos hardware design in general...


Top
   
 Post subject: Re: MIDI playing
PostPosted: Mon Jan 31, 2005 11:41 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 103
Location: Gothenburg, Sweden
timidity++ 2.13.2 together with eawpatches 12-r4 is working on my Gentoo/Pegasos system. I use it for OpenTTD.


Top
   
 Post subject: Re: MIDI playing
PostPosted: Tue Feb 01, 2005 2:39 am 
Offline

Joined: Sun Oct 10, 2004 5:30 pm
Posts: 15
Quote:
timidity++ 2.13.2 together with eawpatches 12-r4 is working on my Gentoo/Pegasos system. I use it for OpenTTD.
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?


Top
   
 Post subject: MIDI playing
PostPosted: Tue Feb 01, 2005 2:55 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
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 <matt@genesi.co.uk>
Manager, Genesi, Developer Relations


> -----Original Message-----
> From: Pylon [mailto:pylon@gentoo.org]
> Sent: 01 February 2005 08:39
> To: ppczone-users@forums.ppczone.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
>


Top
   
 Post subject: Re: MIDI playing
PostPosted: Tue Feb 01, 2005 2:56 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 103
Location: Gothenburg, Sweden
Hmm, it sounds good here and is using approx 40% CPU. The only things I've done is to run timidity-update to select eawpatches and add /etc/init.d/timidity to the default runlevel.


Top
   
 Post subject: Re: MIDI playing
PostPosted: Tue Feb 01, 2005 2:45 pm 
Offline

Joined: Sun Oct 10, 2004 5:30 pm
Posts: 15
I just installed timidity++ on my iBook. Same like on the Pegasos: 100% CPU usage and terrible sound.

Half a year ago (so last summer) I used timidity with a 42MB bank-file and kmid for playing some .kar (karaoke) files. Everything was fine. I can't remember if it was the 2.11 or 2.12 release. At least it had a complete different config file...


Top
   
 Post subject: Re: MIDI playing
PostPosted: Tue Feb 01, 2005 3:04 pm 
Offline

Joined: Sun Oct 10, 2004 5:30 pm
Posts: 15
There is a nice Gentoo Bug about that problem with some more explanation: http://bugs.gentoo.org/show_bug.cgi?id=72332


Top
   
 Post subject: Re: MIDI playing
PostPosted: Wed Feb 02, 2005 1:46 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi, all!
I have Timidity running on a Peg2 very good!
Additionally I use the timidity-plugin for xmms, so my xmms plays
nearly every sound format :)
Not really sure, but I think I compiled a snapshot of timidity...
I I find all needed files, I can make a (very basic) debian-package if needed...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group