ggerganov / kbd-audio

🎤⌨️ Acoustic keyboard eavesdropping
https://ggerganov.github.io/keytap
MIT License
8.48k stars 584 forks source link

Windows build #14

Open ggerganov opened 5 years ago

ggerganov commented 5 years ago

It would be nice to provide info for building the project in Windows environment

gaowanliang commented 5 years ago

This project doesn't seem to run after compiling under Windows

ggerganov commented 5 years ago

I've never built the project on Windows. I believe some modifications will be necessary in order to make it build successfully and run.

Can you provide details how you managed to compile it and what errors you get when you try to run it?

gaowanliang commented 5 years ago

If you want to build this project on Windows, you need to first build SDL 2.0 on Windows using cmake. You can download it on this website: https://www.libsdl.org/download-2.0.php Building is completed, you will need to set the environment variable CMAKE_PREFIX_PATH, variable values for your build directory after the completion of SDL (Note that it's best to use the command line that comes with VS2017 to operate CMAKE, otherwise strange problems may arise) and then you can build the project, after the completion of the building, the suffix name is **. dir and can not run directly

gaowanliang commented 5 years ago

screenshot of the build You can open this page to see a screenshot of the build content. Maybe my build process is wrong. I seldom use cmake to build a project. So it's not very clear how to use it.

Wh1msicaly commented 3 years ago

why not provide release?

255-NyanCat commented 3 years ago

Maybe someone will use this release to do bad things

ggerganov commented 3 years ago

Added build instructions for Windows with MSYS2 + MinGW.

Pantyhose-X commented 3 years ago

Added build instructions for Windows with MSYS2 + MinGW.

language learning

Applied to language learning. Pronunciation correction Always speak typed keys Speak phonetic letters Phonetic letters are spoken when long pressing on keyboard keys and navigating by character.

Android or iOS you can make into input method, you can base on OpenBoard or Simple Keyboard , built-in mozilla text-to-speech or call google text-to-speech TTS.