Convert SRT file to Audacity supported Label.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
convert-srt-to-audacity-label.py
demo-LABELS.txt
demo.srt

README.md

convert-srt-to-audacity-label

Convert SRT file to audacity supported label.

Useful when editing an long interview, with auto generated SRT files.

Multiple lines within a single SRT screen will be concatenated with \\.

Installation

Python 2/3 is needed.

$ sudo pip install pysrt  #Linux or macOS

Or..

$ sudo easy_install pysrt

Usage

 $ python convert-srt-to-audacity-label.py  /path/to/your/srt-file.srt

Example

 $ python convert-srt-to-audacity-label.py demo.srt
 demo-LABELS.txt wrote.

Platform

  • macOS (Tested)
  • Linux (Tested)
  • Windows (Didn't test, but shouldn't be a problem)

Reference