@@ -87,15 +87,15 @@ BOTIUM_SPEECH_CONVERT_PROFILE_HIGHVOL_CMD=sox -t {{{inputtype}}} - -t {{{inputty
8787BOTIUM_SPEECH_CONVERT_PROFILE_HIGHVOL_DESC = Turns up the volume
8888BOTIUM_SPEECH_CONVERT_PROFILE_HIGHESTVOL_CMD = sox -t {{{inputtype}}} - -t {{{inputtype}}} {{{output}}} vol 4
8989BOTIUM_SPEECH_CONVERT_PROFILE_HIGHESTVOL_DESC = Maximizes the volume
90- BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX1_CMD = sox -t {{{inputtype}}} - -t {{{inputtype}}} {{{output}}} pad 0.3@1.0
90+ BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX1_CMD = $( PAD1= $( echo " scale=2; $( sox --i -D {{{input}}} ) *0.2"|bc); sox - t {{{inputtype}}} {{{input}}} -t {{{inputtype}}} {{{output}}} pad 0.3@$PAD1 )
9191BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX1_DESC = Adds one artificial silence break
92- BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX2_CMD = sox -t {{{inputtype}}} - -t {{{inputtype}}} {{{output}}} pad 0.3@1.0 0.3@2.0
92+ BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX2_CMD = $( PAD1= $( echo " scale=2; $( sox --i -D {{{input}}} ) *0.2"|bc); PAD2= $( echo " scale=2; $( sox --i -D {{{input}}} ) *0.3"|bc); sox - t {{{inputtype}}} {{{input}}} -t {{{inputtype}}} {{{output}}} pad 0.3@$PAD1 0.3@$PAD2 )
9393BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX2_DESC = Adds two artificial silence breaks
94- BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX3_CMD = sox -t {{{inputtype}}} - -t {{{inputtype}}} {{{output}}} pad 0.3@1.0 0.3@2.0 0.3@3.0
94+ 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 )
9595BOTIUM_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)
9797BOTIUM_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)
9999BOTIUM_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)
101101BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX3_DESC = Replaces three short sections with silence
0 commit comments