voice-presentation-control is a tool that allows you to control your presentation using voice when you don't have a presentation pen or when it's inconvinient to use the keyboard.
Project description
Table of Contents
About The Project
voice-presentation-control is a tool that allows you to control your presentation using voice when you don't have a presentation pen or when it's inconvinient to use the keyboard.
Getting Started
Installation
Using pip
pip install voice-presentation-control
Using .whl
See releases.
:warning: If you encounter an error while installing
PyAudio(which is in our dependencies):
- For Windows users, visit here to pick appropriate
.whlto install.- For OS X users, run
brew install portaudio, thenpip install pyaudio.- For Debian-derived Linux distributions (like Ubuntu and Mint) users, run
sudo apt-get install libasound-dev libportaudio2 libportaudiocpp0 portaudio19-dev && pip install pyaudio.
Try It
Just open your terminal, simply type vpc start and boom, it works!
Actions
To check the default configuration of actions, see actions.json.
To edit actions.json, use vpc config.
In actions.json, the left-hand side is the sentence that triggers the action, and the right-hand side is the keyboard action to be triggered.
For more actions you can configure, head over to pyautogui.
Usages
Usage of vpc
vpc [OPTIONS] COMMAND
Options
| Option | Description |
|---|---|
-v, --verbose |
Show the detailed log of voice-presentation-control. |
--version |
Show the version of voice-presentation-control. |
--help |
Show help and exit. |
Commands
| Command | Description |
|---|---|
config |
Edit the config file. |
mic |
Check the settings for the microphone input. |
start |
Start vpc. |
Usage of vpc mic
vpc mic [OPTIONS] COMMAND
Options
| Option | Description |
|---|---|
--help |
Show help and exit. |
Commands
| Command | Description |
|---|---|
list |
List all audio input devices. You can check the device index you want to use by using this command. |
test |
Test audio environment. Talk and determine the volume threshold by using this command. |
Usage of vpc mic test
vpc mic test [OPTIONS]
Options
| Option | Description |
|---|---|
-i, --input-device-index |
Set input device index. Check your devices by vpc mic list. [default: 1] |
-c, --chunk |
Set record chunk. [default: 4096] |
-r, --rate |
Set input stream rate. [default: 44100] |
--help |
Show help and exit. |
Usage of vpc start
vpc start [OPTIONS]
Options
| Option | Description |
|---|---|
-i, --input-device-index |
Set input device index. Check your devices by vpc mic list. [default: 1] |
-v, --vol-threshold |
Set volume threshold. Test your environment by vpc mic test. [default: 1000] |
-z, --zcr-threshold |
Set zcr threshold. [default: 0.075] |
-c, --chunk |
Set record chunk. [default: 4096] |
-r, --rate |
Set input stream rate. [default: 44100] |
-s, --max-record-seconds |
Set max record seconds if your custom command is long. [default: 2] |
-l, --language [en, zh] |
Set language to recognize. [default: en] |
--strict |
Use this option for strict mode. |
--help |
Show help and exit. |
Roadmap
- Add more tests.
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feat/amazing-feature) - Commit your Changes with Conventional Commits
- Push to the Branch (
git push origin feat/amazing-feature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Author
- HSING-HAN, WU (Xyphuz)
- Mail me: xyphuzwu@gmail.com
- About me: https://about.xyphuz.com
- GitHub: https://github.com/wst24365888
Project Link
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file voice-presentation-control-1.0.2.tar.gz.
File metadata
- Download URL: voice-presentation-control-1.0.2.tar.gz
- Upload date:
- Size: 85.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d064966a71679c3c8da7a12f05a2b3f68de436ac309651404ad5066561195d21
|
|
| MD5 |
bc8a47146a69770105ddc2973d501bbb
|
|
| BLAKE2b-256 |
48c3089455be1fa7122fbc13ad7956873c3dae983c7727cd69b864bd4d6e3419
|
File details
Details for the file voice_presentation_control-1.0.2-py3-none-any.whl.
File metadata
- Download URL: voice_presentation_control-1.0.2-py3-none-any.whl
- Upload date:
- Size: 85.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdf34c6c2443a2596dd59f2bbf4f29459e97920daa78489c56b87c05c2ac908a
|
|
| MD5 |
a2310f2503ba1ee72b5947ca52b00342
|
|
| BLAKE2b-256 |
f20d9f849adaf9fce1903744f851571134bf5c92877cb748859047bf0eeb4cb7
|