- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Added .gitignore to exclude unnecessary files and directories. - Created Interview1.json, Interview1.srt, Interview1.tsv, Interview1.txt, and Interview1.vtt for transcription data. - Implemented requirements.txt for dependencies including xmltodict, json, lxml, and pytest. - Developed setup.py for package configuration and installation. - Established the hindenburg_api package structure with core functionalities for audio and project handling. - Implemented transcription functionality using WhisperX in transcription.py. - Added example scripts for adding transcriptions and modifying clip colors. - Created a Streamlit application for user-friendly transcription management. - Developed unit tests for project and transcription functionalities. - Included demo project file (demo.nhsx) for testing purposes. |
||
| src | ||
| tests | ||
| whisperX@5012650d0f | ||
| .gitignore | ||
| Interview1.json | ||
| Interview1.srt | ||
| Interview1.tsv | ||
| Interview1.txt | ||
| Interview1.vtt | ||
| README.md | ||
| requirements.txt | ||
| setup.py | ||
| streamlit_transcribe.py | ||
Hindenburg Python API
This project provides a Python API for interacting with Hindenburg audio project files. It allows users to modify project properties, manage audio files, and handle transcriptions efficiently.
Features
- Load and save Hindenburg project files in XML format.
- Modify clip properties, such as color and gain.
- Add and manage transcriptions for audio files.
- Utility functions for common tasks related to XML and audio file handling.
Installation
To install the required dependencies, run:
pip install -r requirements.txt
Usage
Modifying Clip Color
To modify the color of a clip in a project, you can use the modify_clip_color.py example script. This script demonstrates how to load a project, change clip properties, and save the updated project.
Adding Transcriptions
To add transcriptions to an audio file, refer to the add_transcription.py example script. This script shows how to parse JSON transcription data and convert it into the XML format used in the project file.
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue for any enhancements or bug fixes.
License
This project is licensed under the MIT License. See the LICENSE file for more details.# hindenburg