On 03/14/11 21:00, Ermenegildo Beltrame wrote: Hi!
> Google didn't show any hits for this issue with respect to SCID in > particular so I thought I'd report it. SCID relies on snack for > announcing moves. Snack has been maintained to varying degrees on > different distributions, there is a catch {} around the actual move > announcement call so it was silently failing for me on ubuntu. > Apparently snack now needs to be compiled with ALSA support enabled > (which Ubuntu doesn't do) or it will complain about the absence of > /dev/sound/dsp. On debian there're two snack-libs that are mutually exclusive: libsnack2 libsnack2-alsa I fancy it's the same on Ubunutu. Adding libsnack2-alsa works for me (Debian 6 stable), should do on the same way on Ubuntu. > The "speak" script from crafty was initially a quick workaround but it > doesn't make blocking calls to esdplay so sounds aren't always clear. Right. It is a quick hack, you may also note that it even used aplay in some of it's incarnations. When I did that one there were quite some different things how to do sound on Linux, esd being one of the more standardised back then later alsa. > I tried out the move announcement feature in SCID today because I like > to walk through master's games on a physical board and I find it > distracting to move my eyes back and forth from the board to a sheet > with the list of moves. Grandmasters frequently resign many moves > before checkmate and it is a bit unsettling to simply have it stop > announcing moves so after having familiarized myself with SCID a > little bit to diagnose the aforementioned problem I added a "black > resigns", "white resigns", "draw" feature. I didn't add the > localization field for quite every language because I wasn't convinced > that a patch would be accepted. The patch for this can be found here: > http://pastebin.com/GTLFby3c One will obviously need additional .wav > files - I just recorded it myself. I'll add your patch as a suggestion and check it out. :) -- Kind regards, / War is Peace. | Freedom is Slavery. Alexander Wagner | Ignorance is Strength. | | Theory : G. Orwell, "1984" / In practice: USA, since 2001 ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users