Csanyi Pal wrote:
> I don't have the 'play' command, I have instead the 'aplay' command.
> What package must I install to get the 'play' command?

Florian's message has very good information.  Be sure to read it first.

Either command produces the same result.  If you are not seeing it
with aplay then you probably won't see it with play either.  I just
arbitrarily chose play as a simple command as opposed to mplayer or
any of the other much more swiss army chainsaw like commands.

The sox utilities are useful utilities for doing batch mode processing
of audio files.  Very useful to know about.  The play command is part
of the sox package.

  $ apt-cache show sox
  Description-en: Swiss army knife of sound processing
   SoX is a command line utility that can convert various formats of computer
   audio files in to other formats. It can also apply various effects to these
   sound files during the conversion. As an added bonus, SoX can play and record
   audio files on several unix-style platforms.
   .
   SoX is able to handle formats like Ogg Vorbis, MP3, WAV, AIFF, VOC, SND, AU,
   GSM and several more.
   Any format support requires at least libsox-fmt-base. Some formats have their
   own package e.g. mp3 read and write support is provided by libsox-fmt-mp3.
   .
   SoX supports most common sound architectures i.e. Alsa, Libao, OSS and Pulse
   (respectively provided by libsox-fmt-alsa, libsox-fmt-ao, libsox-fmt-oss and
   libsox-fmt-pulse). It also supports LADSPA plugins.
  Homepage: http://sox.sourceforge.net

A useful command to find this information is apt-file which operates
similar to apt-cache.

  $ apt-file -F search /usr/bin/play
  sox: /usr/bin/play

This is also offered from the Debian web site here:

  http://www.debian.org/distrib/packages

Scroll down to "Search the contents of packages" and then enter the
filesystem path into the box and then click search.  This will give
you the same information but from the web site and not needing to
install the apt-file package.

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to