File: gen-fer-mk.sh

package info (click to toggle)
audiowmark 0.6.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,168 kB
  • sloc: cpp: 10,571; sh: 1,867; makefile: 107; python: 34
file content (40 lines) | stat: -rwxr-xr-x 1,055 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash

DELTA_RANGE="0.005 0.006 0.007 0.008 0.009 0.010 0.011 0.012 0.013 0.014 0.015"
SEEDS="$(seq 0 19)"

echo -n "all: "
for SEED in $SEEDS
do
  for DELTA in $DELTA_RANGE
  do
    echo -n "$DELTA-ogg-$SEED $DELTA-mp3-$SEED $DELTA-double-mp3-$SEED "
  done
done

echo
echo

for SEED in $SEEDS
do
  for DELTA in $DELTA_RANGE
  do
    FILE="$DELTA-ogg-$SEED"
    echo "$FILE:"
    echo -e "\t( cd ..; AWM_SET=huge AWM_PARAMS='--water-delta $DELTA' AWM_REPORT=fer AWM_SEEDS=$SEED AWM_FILE='t-$FILE' ber-ogg.sh ) >x$FILE"
    echo -e "\tmv x$FILE $FILE"
    echo

    FILE="$DELTA-mp3-$SEED"
    echo "$FILE:"
    echo -e "\t( cd ..; AWM_SET=huge AWM_PARAMS='--water-delta $DELTA' AWM_REPORT=fer AWM_SEEDS=$SEED AWM_FILE='t-$FILE' ber-mp3.sh ) >x$FILE"
    echo -e "\tmv x$FILE $FILE"
    echo

    FILE="$DELTA-double-mp3-$SEED"
    echo "$FILE:"
    echo -e "\t( cd ..; AWM_SET=huge AWM_PARAMS='--water-delta $DELTA' AWM_REPORT=fer AWM_SEEDS=$SEED AWM_FILE='t-$FILE' ber-double-mp3.sh ) >x$FILE"
    echo -e "\tmv x$FILE $FILE"
    echo
  done
done