Skip to content

Commit 34da77f

Browse files
committed
replaced silencex commands
1 parent 6b8ce7b commit 34da77f

File tree

1 file changed

+3
-3
lines changed
  • frontend/resources

1 file changed

+3
-3
lines changed

frontend/resources/.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX2_CMD=$(PAD1=$(echo "scale=2;$(sox --i -D {{
9393
BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX2_DESC=Adds two artificial silence breaks
9494
BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX3_CMD=$(PAD1=$(echo "scale=2;$(sox --i -D {{{input}}})*0.2"|bc); PAD2=$(echo "scale=2;$(sox --i -D {{{input}}})*0.3"|bc); PAD3=$(echo "scale=2;$(sox --i -D {{{input}}})*0.4"|bc); sox -t {{{inputtype}}} {{{input}}} -t {{{inputtype}}} {{{output}}} pad 0.3@$PAD1 0.3@$PAD2 0.3@$PAD3)
9595
BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX3_DESC=Adds three artificial silence breaks
96-
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX1_CMD=sox -t {{{inputtype}}} - -t {{{inputtype}}} {{{output}}} pad 0.3@1.0 trim 0 1.3 0.3
96+
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX1_CMD=$(PAD1=$(echo "scale=2;$(sox --i -D {{{input}}})*0.1"|bc); TRIM1=$(echo "scale=2;$(sox --i -D {{{input}}})*0.1+0.3"|bc); sox -t {{{inputtype}}} {{{input}}} -t {{{inputtype}}} {{{output}}} pad 0.3@$PAD1 trim 0 $TRIM1 0.3)
9797
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX1_DESC=Replaces one short section with silence
98-
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX2_CMD=sox -t {{{inputtype}}} - -t {{{inputtype}}} {{{output}}} pad 0.3@1.0 [email protected] trim 0 1.3 0.3 trim 0 2.3 0.3
98+
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX2_CMD=$(PAD1=$(echo "scale=2;$(sox --i -D {{{input}}})*0.1"|bc); TRIM1=$(echo "scale=2;$(sox --i -D {{{input}}})*0.1+0.3"|bc); TRIM2=$(echo "scale=2;$(sox --i -D {{{input}}})*0.2+0.3"|bc); sox -t {{{inputtype}}} {{{input}}} -t {{{inputtype}}} {{{output}}} pad 0.3@$PAD1 trim 0 $TRIM1 0.3 trim 0 $TRIM2 0.3)
9999
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX2_DESC=Replaces two short sections with silence
100-
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX3_CMD=sox -t {{{inputtype}}} - -t {{{inputtype}}} {{{output}}} pad [email protected] [email protected] 0.3@3.0 trim 0 1.3 0.3 trim 0 2.3 0.3 trim 0 3.3 0.3
100+
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX3_CMD=$(PAD1=$(echo "scale=2;$(sox --i -D {{{input}}})*0.1"|bc); TRIM1=$(echo "scale=2;$(sox --i -D {{{input}}})*0.1+0.3"|bc); TRIM2=$(echo "scale=2;$(sox --i -D {{{input}}})*0.2+0.3"|bc); TRIM3=$(echo "scale=2;$(sox --i -D {{{input}}})*0.3+0.3"|bc); sox -t {{{inputtype}}} {{{input}}} -t {{{inputtype}}} {{{output}}} pad 0.3@$PAD1 trim 0 $TRIM1 0.3 trim 0 $TRIM2 0.3 trim 0 $TRIM3 0.3)
101101
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX3_DESC=Replaces three short sections with silence

0 commit comments

Comments
 (0)