Re: Best way to play recording in Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux