[maemo-developers] [maemo-developers] How to play a WAV from command line in 770?

From: m-d at zipzero.us m-d at zipzero.us
Date: Fri Dec 15 02:39:28 EET 2006
I am trying to play a .WAV file from the Nokia 770 command
line, without triggering a GUI audio player. In principle,
this seems like the simplest thing in the world. Normally,
I'd just use "aplay" and that would be it. 

However, although the Nokia 770 has alsa, it does not have
aplay. So I went to install aplay. It's part of the
alsa-utils package, and installing alsa-utils on the Nokia
770 is even discussed somewhat on this page:


So I thought it would be simple to install alsa-utils.
However, using the ARM build, I get this error message:

dpkg: error processing alsa-utils_1.0.8-4_arm.deb (--install):
 package architecture (arm) does not match system (armel)
Errors were encountered while processing:

Looking around, I gather that the Nokia 770 (at least the
2006 edition) uses the "armel" architecture, which is
distinct from the "arm" architecture listed on the Debian
stable download options. I looked around for "armel" in the
testing and unstable branches of Debian, and using google,
but found nothing informative that way.

Question 1: Is there a way to get alsa-utils working on
the Nokia 770, 2006 operating system?

Question 2: Is there any other way to play a .WAV file from
the Nokia 770 command line?

I suppose it might be possible to write a driver, or tap
into the alsa, esd or gstreamer libraries in some fashion. I
don't have experience doing this, but am willing to learn if
there is something possible along these lines. But it seems
rather excessive, as playing a .WAV file is about as simple
as it gets, and it would be surprising if there is no more
direct way to achieve this goal.

m-d at zipzero.us

More information about the maemo-developers mailing list