Hydrogenaudio Forums

Lossless Audio Compression => WavPack => Topic started by: Duble0Syx on 2004-08-24 04:59:45

Title: WavPack playback on linux?
Post by: Duble0Syx on 2004-08-24 04:59:45
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.
Title: WavPack playback on linux?
Post by: ChristianHJW on 2004-08-24 11:33:56
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 ....
Title: WavPack playback on linux?
Post by: jth on 2004-08-24 16:04:11
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
Title: WavPack playback on linux?
Post by: bryant on 2004-08-25 04:28:14
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 (http://www.hydrogenaudio.org/forums/index.php?showtopic=22814&view=findpost&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... 
Title: WavPack playback on linux?
Post by: momodalo on 2004-08-25 07:26:47
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 (http://www.hydrogenaudio.org/forums/index.php?showtopic=22814&view=findpost&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
SimplePortal 1.0.0 RC1 © 2008-2019