#!/bin/csh # # Examples for joinMono # # parameters are: (1) Left channel mono file # (2) Right channel mono file # (3) output soundfile # Program input (a) delay of right channel wrt left channel # if ($1 == "") then set SOUNDDIR = ../ else set SOUNDDIR = $1 endif if ($2 == "") then set BINDIR = ../../bin else set BINDIR = $2 endif # First create two mono soundfiles: rm -f $SOUNDDIR/temp1.wav $BINDIR/sinewave $SOUNDDIR/temp1.wav >/dev/null </dev/null </dev/null <