Text And Music?


jklaas

Still Fresh
Joined
Feb 17, 2006
Messages
4
I've looked around here and haven't found what I'm looking for. I ride the bus all the time to and from work and the game playing and movie watching is way cool. However, I like to read too and I like to listen to music while I'm reading.

Is there any way to run two applications at the same time and swap between them or is there an app that combines the two functions. I can't imagine that reading a text book is all that taxing on the CPUs so I would think that running two applications like this would be fine.

If this is covered somewhere else, I'd love to know.

James
 
OK, that worked, sort of. This is the text reader I"m trying to use. (http://www.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,8,1354)

When I try to run it using

Code:
#!/bin/sh
mount /mnt/sd -o remount,sync
/mnt/sd/madplaygp2x/madplay --adjust-volume=10 -z -r /mnt/sd/Music/*.mp3&
cd /mnt/sd/Utils
/mnt/sd/Utils/textreader.gpe
sync
mount /mnt/sd -o remount,async
madplay_pid=`pidof madplay`
echo "kill -9 $madplay_pid" >> /mnt/sd/madplaygp2x/madplay_output.txt
kill -9 $madplay_pid
cd /usr/gp2x/
exec /usr/gp2x/gp2xmenu

I get the following error.

Code:
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
>> /mnt/sd/Music/Vanessa Daou - Sunday Afternoons.mp3
          Title: Sunday Afternoons
         Artist: Vanessa Daou
          Album: Zipless
          Track: 4
           Year: 1995
          Genre: Alternative
974 frames decoded (0:00:25.4), -1.0 dB peak amplitude, 0 clipped samples
Total memory allocated 0
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
audio: /dev/dsp: Device or resource busy
Total memory allocated 0

It seems odd to me that the textreader would be grabbing /dev/dsp. Is there some way to share that resource?

James
 
Back
Top