Skip to main content

Topic: WavPack playback on linux? (Read 2844 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Duble0Syx
  • [*][*][*][*]
WavPack playback on linux?
My windows computers have no problem playing wavpack files, but what can play them on linux?  I haven't been able to figure it out since there are no libs.  Sorry if this is a dumb question.

  • ChristianHJW
  • [*][*][*][*][*]
WavPack playback on linux?
Reply #1
Quote
My windows computers have no problem playing wavpack files, but what can play them on linux?  I haven't been able to figure it out since there are no libs.  Sorry if this is a dumb question.
[a href="index.php?act=findpost&pid=236592"][{POST_SNAPBACK}][/a]


Alley_cat, a long time supporter of the matroska project, has recently coded a TTA plugin for Gstreamer. You might ask him about a Wavpack plugin also. He is often on
#matroska, irc.corecodec.com , and #gstreamer irc.freenode.net ....
Support matroska - the bestest vapourware project ! http://www.matroska.org

  • jth
  • [*][*][*]
WavPack playback on linux?
Reply #2
Until you get a plugin for your favorite media player, you can write a little script to use the command line tools.

You ought to have a command called 'wavplay' or 'play' on Linux. Look for a program called 'audioplay' on the *BSDs

plug this command into a little script:

Code: [Select]
#!/bin/sh
# wvplay - play wavpack on command line

for file in "$@"; do
    echo "np: $file"
    wvunpack "$file" - | wavplay -
done


and then

$ wvplay *.wv
  • Last Edit: 24 August, 2004, 11:05:43 AM by jth

  • bryant
  • [*][*][*][*][*]
  • Developer (Donating)
WavPack playback on linux?
Reply #3
There's also a bash script that Speek created here (I'm not sure what the difference is between the two):

http://www.hydrogenaudio.org/forums/index....ndpost&p=222550

Obviously, an XMMS plugin would be ideal. I may be able to do this with a friend who does a lot of development on Linux, but I'm not sure when that might happen. In the meantime anyone is welcome to take the WavPack library and try to do this... 

  • momodalo
  • [*]
WavPack playback on linux?
Reply #4
Quote
There's also a bash script that Speek created here (I'm not sure what the difference is between the two):

http://www.hydrogenaudio.org/forums/index....ndpost&p=222550

Obviously, an XMMS plugin would be ideal. I may be able to do this with a friend who does a lot of development on Linux, but I'm not sure when that might happen. In the meantime anyone is welcome to take the WavPack library and try to do this... 
[a href="index.php?act=findpost&pid=236827"][{POST_SNAPBACK}][/a]


There is a xmms-meta-input plugin.
This plugin allows you to write XMMS plugins as Unix programs.
I write a wavpack script and put it in the /usr/lib/xmms/Input/Meta.
Therefore, xmms can play *.wv, but it can't seek music.
However, it's a solution before bryant release the real xmms-plugin.
Code: [Select]
#!/bin/sh

case "$1" in
play)
wvunpack -q "$2" -
exit 0
;;
isOurFile)
if echo "$2" | grep -q \.[wW][vV];then
exit 0
else
exit -1
fi
;;
esac
exit -1