Best way to play recording in Fedora
magicus
magicus at snet.net
Sun May 21 14:38:36 UTC 2006
Stephen Liu wrote:
>> play /usr/share/system-config-soundcard/sound-sample.wav
>> (also works with ogg files)
>
> # /usr/share/system-config-soundcard/sound-sample.wav
> bash: /usr/share/system-config-soundcard/sound-sample.wav: cannot
> execute binary file
The reason that you got the above result seems to be that it appears as
if you attempted to invoke the .wav file as a program, it is not, it
needs to be invokes as an argument to the 'play' command.
Here is what I get invoking it:
$ play /usr/share/system-config-soundcard/sound-sample.wav
Input Filename : /usr/share/system-config-soundcard/sound-sample.wav
Sample Size : 16-bits
Sample Encoding: signed (2's complement)
Channels : 2
Sample Rate : 44100
Time: 00:06.92 [00:00.00] of 00:06.91 ( 100.1%) Output Buffer: 305.15K
Done.
=============================
$ which play
/usr/bin/play
HTH
--
Links: http://del.icio.us/furlan
Home: http://flprim.us/index.html
Actually, most flamewars are caused by Vim being much worse than Emacs.
More information about the users
mailing list