When developing Pico V4 I found something similar. The pico web javascript also announces moves. For some reason this has never produced sounds on a Raspberry PI, but on a Debian machine it will. Maybe the javascript sound has started working and it then announces all moves?
In pico V4 we are at the moment experimenting with a new portrait web solution, and that might have reintroduced this same issue in the latest V4 also (only in the latest commit).
Check if it could be the web browser producing the sound. Pico server will not if you comment out the voices like you did.
--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/picochess/3018641d-441e-4f6b-952d-8e2949eb5261n%40googlegroups.com.
function talk(text) {
if (speechAvailable) {
var msg = new SpeechSynthesisUtterance(text);
msg.lang = "en-US";
if (myvoice != "") {
msg.voice = myvoice;
}
// window.speechSynthesis.speak(msg);
}
Hi DJ,
To turn off the browser speech you can comment out the related lines in /opt/picochess/web/picoweb/static/js/app.js.
Randy
--
Yes. I should have waited and read your reply. 😊 And, yes, it's only some browsers that allow text-to-speech. I find it annoying so comment out the relevant lines and just use the PicoChess voices.
Randy
To view this discussion visit https://groups.google.com/d/msgid/picochess/406b0f66-1f4e-4b26-a67a-1825aefc04fan%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/picochess/2706ccd4-b65f-4b66-bb79-3231b456ef7cn%40googlegroups.com.
But doesn't /opt/picochess already have the previous file versions since it is a clone of the repo? A git checkout could be used on a previous commit. I think since this is just beta testing we don't need to worry too much about backups. It's easy enough to just remove the picochess folder and start over. Users who are making changes like adding engines, etc., will have the skills to fix the installation if files get removed by mistake. Why not just .gitignore the engine folder? The repo engines don't really need updating as it's the python code that we are testing.
Randy
To view this discussion visit https://groups.google.com/d/msgid/picochess/3886b811-304c-4f98-9faa-9118771245a4n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/picochess/CAE5WdusUtZTaZC6HA9wWucjRuiPYbEfrXNjbNTUHJ3bd_B9Vgg%40mail.gmail.com.