-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from codeforequity-at/BOT-3025-speech-effects-…
…depend-on-length Bot 3025 speech effects depend on length
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,15 +87,15 @@ BOTIUM_SPEECH_CONVERT_PROFILE_HIGHVOL_CMD=sox -t {{{inputtype}}} - -t {{{inputty | |
BOTIUM_SPEECH_CONVERT_PROFILE_HIGHVOL_DESC=Turns up the volume | ||
BOTIUM_SPEECH_CONVERT_PROFILE_HIGHESTVOL_CMD=sox -t {{{inputtype}}} - -t {{{inputtype}}} {{{output}}} vol 4 | ||
BOTIUM_SPEECH_CONVERT_PROFILE_HIGHESTVOL_DESC=Maximizes the volume | ||
BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX1_CMD=sox -t {{{inputtype}}} - -t {{{inputtype}}} {{{output}}} pad 0.3@1.0 | ||
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) | ||
BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX1_DESC=Adds one artificial silence break | ||
BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX2_CMD=sox -t {{{inputtype}}} - -t {{{inputtype}}} {{{output}}} pad 0.3@1.0 0.3@2.0 | ||
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) | ||
BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX2_DESC=Adds two artificial silence breaks | ||
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 | ||
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) | ||
BOTIUM_SPEECH_CONVERT_PROFILE_BREAKX3_DESC=Adds three artificial silence breaks | ||
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX1_CMD=sox -t {{{inputtype}}} - -t {{{inputtype}}} {{{output}}} pad 0.3@1.0 trim 0 1.3 0.3 | ||
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) | ||
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX1_DESC=Replaces one short section with silence | ||
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 | ||
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) | ||
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX2_DESC=Replaces two short sections with silence | ||
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 | ||
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) | ||
BOTIUM_SPEECH_CONVERT_PROFILE_SILENCEX3_DESC=Replaces three short sections with silence |