Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
audiowmark
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
audiowmark
Commits
e1e4aa73
Commit
e1e4aa73
authored
Mar 17, 2020
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve short clip error test adoc.
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
f6a98f90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
gen-short-clip-adoc.sh
src/gen-short-clip-adoc.sh
+22
-0
No files found.
src/gen-short-clip-adoc.sh
View file @
e1e4aa73
...
...
@@ -4,6 +4,28 @@ STRENGTHS="10 15 20 30"
STR_CLIPS
=
"5 10 15 20 25 30"
MAIN_CLIPS
=
"5 10 15 20 30 40 50 60"
echo
".sync-codec-resistence
$TRUNC
"
echo
'[frame="topbot",options="header",cols="<2,8*>1"]'
echo
'|=========================='
echo
-n
"| "
for
CLIP
in
$MAIN_CLIPS
do
echo
-n
"|
$CLIP
"
done
echo
for
TEST
in
mp3-256 mp3-128 double-mp3-128 ogg-128
do
echo
-n
"|
$TEST
"
for
CLIP
in
$MAIN_CLIPS
do
cat
main-
$TEST
-
*
-
$CLIP
|
awk
'{bad += $1; n += $2} END {if (n==0) n=1;fer=100.0*bad/n; bold=fer>0?"*":" ";printf ("| %s%.2f%s", bold, fer, bold)}'
done
echo
done
echo
echo
'|=========================='
echo
".sync-codec-resistence
$TRUNC
"
echo
'[frame="topbot",options="header",cols="<2,6*>1"]'
echo
'|=========================='
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment