wchess : voice-controlled chess using Whisper + WebAssembly

This is a demonstration of using Whisper to recognize voice commands in the browser.

Usage:
Examples:
Features:
Note that not all chess moves are supported. For example, castling and pawn promotion currently do not work, but can be easily implemented. There could also be some bugs in the move handling logic in general. The main reason for that is to keep the implementation simple. The assumption is that a real application would already have a proper move validation logic in place.

The main purpose of this example is to demonstrate the capabilities of whisper.cpp and its application in the browser for voice recognition locally on your device.


You can find more about this project on GitHub.

More examples: main | bench | stream | command | talk |


Whisper model:



Status: select model
[The grammar will be displayed here]
[The moves will be displayed here]

Debug output:
Troubleshooting

The page does some heavy computations, so make sure:
| Build time: @GIT_DATE@ | Commit hash: @GIT_SHA1@ | Commit subject: @GIT_COMMIT_SUBJECT@ | Source Code |