gen-sync-mk.sh 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!/bin/bash
  2. STRENGTH_RANGE=$(seq 5 10)
  3. SEEDS="$(seq 0 19)"
  4. echo -n "all: "
  5. for SEED in $SEEDS
  6. do
  7. for STRENGTH in $STRENGTH_RANGE
  8. do
  9. echo -n "$STRENGTH-ogg-$SEED $STRENGTH-mp3-$SEED $STRENGTH-double-mp3-$SEED "
  10. done
  11. done
  12. echo
  13. echo
  14. for SEED in $SEEDS
  15. do
  16. for STRENGTH in $STRENGTH_RANGE
  17. do
  18. FILE="$STRENGTH-ogg-$SEED"
  19. echo "$FILE:"
  20. echo -e "\t( cd ..; AWM_RAND_PATTERN=1 AWM_RAND_CUT=1 AWM_SET=huge2 AWM_PARAMS='--strength $STRENGTH' AWM_REPORT=ferv AWM_SEEDS=$SEED AWM_FILE='t-$FILE' ber-test.sh ogg 128 ) >x$FILE"
  21. echo -e "\tmv x$FILE $FILE"
  22. echo
  23. FILE="$STRENGTH-mp3-$SEED"
  24. echo "$FILE:"
  25. echo -e "\t( cd ..; AWM_RAND_PATTERN=1 AWM_RAND_CUT=1 AWM_SET=huge2 AWM_PARAMS='--strength $STRENGTH' AWM_REPORT=ferv AWM_SEEDS=$SEED AWM_FILE='t-$FILE' ber-test.sh mp3 128 ) >x$FILE"
  26. echo -e "\tmv x$FILE $FILE"
  27. echo
  28. FILE="$STRENGTH-double-mp3-$SEED"
  29. echo "$FILE:"
  30. echo -e "\t( cd ..; AWM_RAND_PATTERN=1 AWM_RAND_CUT=1 AWM_SET=huge2 AWM_PARAMS='--strength $STRENGTH' AWM_REPORT=ferv AWM_SEEDS=$SEED AWM_FILE='t-$FILE' ber-test.sh double-mp3 128 ) >x$FILE"
  31. echo -e "\tmv x$FILE $FILE"
  32. echo
  33. done
  34. done