Tool for transcribing breaths from audio files
Project description
PyBreathTranscript
This package is used for transcribing breath recordings (captured using an in-ear microphone) into text symbols.
Check Full project to see this library in action.
Quickstart
Install the package:
pip install -i https://test.pypi.org/simple/ PyBreathTranscript
or
pip install git+https://github.com/ilya-shlom/PyBreathTranscript.git
Example usage:
from PyBreathTranscript import transcript as bt
result = bt.transcript("breath.wav", bt.FINGERPRINT)
print(result)
Usage
Import library into your project using
from PyBreathTranscript import transcript as bt
To transcribe a recording of your breath, use the bt.transcript(file_path, method) function:
transcript = bt.transcript("path/to/your/recording.wav", bt.FINGERPRINT)
file_path: str - path of your recording.
method: int - method used to transcribe an audio file. There are two methods available now acceptable by constants:
-
bt.FINGERPRINT– method based on an audio fingerprinting algorithm. This is the recommended and default method. -
bt.WAVEFORM– compares waveforms and returns the best-matching symbol. This approach is more realistic but less distinctive, recommended for demonstration purposes only.
Please note: this library is created for educational and demonstration purposes. For the best experience, an in-ear microphone based on the BOYA BY-M1 Lavalier microphone is recommended.
This project is a part of my graduation work, Cyrillic symbols are one of requirements for the system.
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 pybreathtranscript-1.1.0.tar.gz.
File metadata
- Download URL: pybreathtranscript-1.1.0.tar.gz
- Upload date:
- Size: 520.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64f52da364a9b911e3b768f6936aa4a028bc2d06e8954c5dc2ea511011d9b2cc
|
|
| MD5 |
13bcbbe48c6f306c67474bc6a7aad94a
|
|
| BLAKE2b-256 |
e6687f5448c77ffbc3d660c5b181e045c64369f8e74af7f4d8026dd1e18c1f73
|
File details
Details for the file pybreathtranscript-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pybreathtranscript-1.1.0-py3-none-any.whl
- Upload date:
- Size: 534.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b11c0a4b791e3315144ad4c9c0a3453f03089381f96b92981a75a10d1882fe3
|
|
| MD5 |
66a1a520ba6acdea0607156774776dd6
|
|
| BLAKE2b-256 |
fa7011ae4b8b9105dc21bef44b44165f2c0a762d00d13bd02da219fcd2f63321
|