1.5.0 • Published 10 months ago

audio-training v1.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Audio Tools

Some tools to work with movie and audio files. This allows you to use either AssemblyAI or Deepgram to diarize your audio, and extract ust the portions of speech from a set of video or audio files for a given speaker.

Usage

npx audio-training --help
Options:
--help     Show help                                             [boolean]
--version  Show version number                                   [boolean]
-f, --input    Input file or directory                     [string] [required]
-a, --apiKey                                            [string] [default: ""]
--client       [choices: "deepgram", "assemblyai"] [default: "assemblyai"]

Example

npx audio-training --input my-video-file.mp4 --apiKey my_assemblyai_api_key --client assemblyai

It can also work recursively on a directory of files:

npx audio-training --input my-directory-of-files --apiKey my_assemblyai_api_key --client assemblyai