xboard and sound files
Posted: 18 Jul 2009, 09:10
Fist of all I would like to introduce myself to the forum. I knew xboard from when I switched to linux since a few years now but never read the man pages carefully so I didn't appreciated its features very much. But recently I rediscovered it mainly because I was bored of using jin or other windows interfaces with wine. At the moment I am really amazed with its performance and I assure you it will be my chess interface for a while. So I hope being around here quit often.
Now, lets go to the point...I figured out how to make sounds work. But when I put a line in my ~/XBoard like
I get all the sound file information displayed in the console, everytime a sound is played (moves, announchments etc). This is how it looks like:
This is very annoying because if you play a blitz game you get a lot of these sound file information and the text in the terminal scrolls very fast so you actually can't read anything else.
If I then pass the argument >&/dev/null at the end of the command then the sound is not being played. I get:
I assume that this must be an xboard problem because if I just play the sound in a console with:
it is being played correctly. But I may be wrong.
By the way I shaw a similar bug for eboard here. I don't know if they are related though.
Finally in case that matters I am using debian lenny amd64
So are there any thought on this?
Thanks
Now, lets go to the point...I figured out how to make sounds work. But when I put a line in my ~/XBoard like
- Code: Select all
xboard*soundMove: /home/nikos/.home_transf/chess/move.wav >&/dev/null
I get all the sound file information displayed in the console, everytime a sound is played (moves, announchments etc). This is how it looks like:
- Code: Select all
fics%
Input File : '/home/nikos/.home_transf/chess/move.wav'
Sample Size : 8-bit (1 byte)
Sample Encoding: unsigned
Channels : 1
Sample Rate : 8000
Time: 00:00.10 [00:00.00] of 00:00.10 (100% ) Samples out: 4.91k Clips: 15
play effects: resample clipped 15 samples; decrease volume?
Done.
This is very annoying because if you play a blitz game you get a lot of these sound file information and the text in the terminal scrolls very fast so you actually can't read anything else.
If I then pass the argument >&/dev/null at the end of the command then the sound is not being played. I get:
- Code: Select all
fics% play soxio: Can't open input file `/home/nikos/.home_transf/chess/move.wav >&/dev/null': No such file or directory
I assume that this must be an xboard problem because if I just play the sound in a console with:
- Code: Select all
play /home/nikos/.home_transf/chess/move.wav >&/dev/null
it is being played correctly. But I may be wrong.
By the way I shaw a similar bug for eboard here. I don't know if they are related though.
Finally in case that matters I am using debian lenny amd64
So are there any thought on this?
Thanks