Task #3001

Import, Transcriber, silence edition

Added by Matthieu Decorde 4 months ago. Updated 4 months ago.

Status:New Start date:01/19/2021
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Import Spent time: -
Target version:TXM 0.8.2 - 13NOV 1.0

Description

add the silence duration

[silence] -> [silence @displayDur(duration)]

def displayDur(duration) {
if (duration) < 1 sec then milliseconds(duration)+" ms"
else if (duration) < 1 min then seconds(duration)+"."+milliseconds(duration)+" s"
else if (duration) < 1 hour then minutes(duration)+" min"+seconds(duration)+"."+milliseconds(duration)+" s"
else etc. (1 day, 1 month, 1 year)

}

a [silence] mark is inserted if :
  • a <sp> is empty (no word)
    • the [silence] mark is not inserted if the sp contains empty <u>s
  • a <u> is empty

History

#1 Updated by Serge Heiden 4 months ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde 4 months ago

  • Description updated (diff)
  • % Done changed from 0 to 80

Also available in: Atom PDF