Metadata-Version: 2.1
Name: DubSplitter
Version: 0.1.1
Summary: an easy tool to split dubs based on given silence
Home-page: https://github.com/defisym/HibiscusAVGEngine/tree/main/Utilities/DubSplitter
Author: defisym
Author-email: defisym@outlook.com
License: MIT
Keywords: DubSplitter dub splitter Hibiscus AVG Galgame VisualNovel VN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Environment :: GPU :: NVIDIA CUDA :: 11.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
Requires-Dist: sympy
Requires-Dist: pydub
Requires-Dist: openai-whisper

# DubSplitter

## Description

an easy tool to split dubs based on given silence

![Screenshot](https://github.com/defisym/HibiscusAVGEngine/blob/main/Utilities/DubSplitter/Screenshot.png?raw=true)

## Params

| Command           | type   | Info                                                                                                                      |
|-------------------|--------|---------------------------------------------------------------------------------------------------------------------------|
| -f, --fileName    | option | file to process                                                                                                           |
| -o, --outFilePath | option | output folder, if not set, will use `scriptPath + \\Out\\` (as script), or `userPath + \\DubSplitter\\Out\\` (as package) |
| -s, --silence     | option | silence time, in ms, default is `1000`ms                                                                                  |
| -r, --range       | option | range, default is `100`ms. e.g., silence = `400`, range = `100` will slice in `400`ms and `500`ms                         |
| --step            | option | loop step, default is `100`ms                                                                                             |
| --noVR            | option | don't use voice recognition, default is `false`                                                                           |
| --step            | option | whisper model, default is `base`                                                                                          |
| --step            | option | language used in whisper, default is `chinese`                                                                            |

## Usage

open folder in terminal, then run `python main.py`
or install package, then run `dubSplitter`

## Changelog

### 230407

- init release
