File: audio_trim.sh

package info (click to toggle)
bayonne 2.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 11,180 kB
  • ctags: 3,662
  • sloc: cpp: 38,791; sh: 9,323; ansic: 1,391; makefile: 485; perl: 471; java: 405; cs: 402; php: 354; python: 293
file content (10 lines) | stat: -rw-r--r-- 177 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
file="$ARGS_PATH"
pad="$ARGS_PADDING"

if test ! -f ${file} ; then
	echo "$PORT_TSESSION error source-missing"
	exit 0
fi

exec audiotool -trim -padding=$pad -framing=10 $file