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
6dbbaf16
Commit
6dbbaf16
authored
Feb 13, 2019
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapt sync test report generation to: ferv/comments; --strength
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
262688e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
gen-sync-adoc.sh
src/gen-sync-adoc.sh
+4
-6
No files found.
src/gen-sync-adoc.sh
View file @
6dbbaf16
...
...
@@ -4,10 +4,9 @@ echo ".sync-codec-resistence"
echo
'[frame="topbot",options="header",cols="<2,6*>1"]'
echo
'|=========================='
echo
-n
"| "
for
D
in
$(
seq
10
-1
5
)
for
STRENGTH
in
$(
seq
10
-1
5
)
do
DELTA
=
$(
printf
"0.0%02d
\n
"
$D
)
echo
-n
"|
$DELTA
"
echo
-n
"|
$STRENGTH
"
done
echo
for
TEST
in
mp3 double-mp3 ogg
...
...
@@ -22,10 +21,9 @@ do
echo
"error: bad TEST
$TEST
???"
exit
1
fi
for
D
in
$(
seq
10
-1
5
)
for
STRENGTH
in
$(
seq
10
-1
5
)
do
DELTA
=
$(
printf
"0.0%02d
\n
"
$D
)
cat
$DELTA
-
$TEST
-
*
|
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)}'
cat
$STRENGTH
-
$TEST
-
*
|
grep
-v
'^#'
|
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
...
...
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