Closed dariox1337 closed 2 months ago
Thanks so much for the PR! I'm glad you've been able to use WhisperWriter and make these improvements.
I tested out the changes locally and noticed a couple bugs. Specifically, transcription through the API didn't work anymore since it expected an audio file, and the visibility function for the settings window was also broken. I made some changes to fix these, as well as updating the docs. Things should be good to go now! :)
First of all, sorry for a PR that has unrelated changes, but since the code base is small, later changes naturally depend on older ones. If you want, you can cherry pick the earlier changes and discard others. Besides, half of this pull request is in the final commit because there is about 500 lines of key code mappings.
Now, speaking of changes:
thrashed my cpu with no mercy. I rewrote it to use an event. CPU usage is negligible now. In later commits I further cleaned up the implementation.