Audiate¶
Audiate project reader for .audiate files (same JSON schema as .tscproj).
- class camtasia.audiate.project.AudiateProject(file_path)[source]¶
Bases:
objectLoads and exposes data from a TechSmith Audiate .audiate file.
The .audiate format uses the same JSON schema as Camtasia .tscproj files. The transcript lives at
tracks[0].parameters.transcription.keyframes.- property transcript: Transcript¶
Word-level transcript parsed from the first track’s transcription keyframes.
Word-level transcript with timestamps, parsed from Audiate keyframes or WhisperX.
- class camtasia.audiate.transcript.Word(text, start, end, word_id)[source]¶
Bases:
objectA single transcribed word with timing information.
- Variables:
text – The word text.
start – Start time in seconds.
end – End time in seconds, or None if unavailable.
word_id – Unique identifier for this word.
- class camtasia.audiate.transcript.Transcript(words)[source]¶
Bases:
objectWord-level transcript with search and range queries.
- words_in_range(start_seconds, end_seconds)[source]¶
Return words whose start time falls within [start, end].
- classmethod from_audiate_keyframes(keyframes)[source]¶
Parse Audiate transcription keyframes into a Transcript.
Each keyframe has a
timein editRate ticks and a JSON-encodedvaluecontainingidandtextfields.
- classmethod from_whisperx_result(result)[source]¶
Parse a WhisperX alignment result into a Transcript.
Expected format:
result['segments'][*]['words'][*] = { 'word': str, 'start': float, 'end': float }
- Parameters:
result (
dict) – WhisperX result dict withsegments.- Return type:
- Returns:
A Transcript instance.