#!/bin/csh # # Example for precedence: Dissimilar signals in each ear with lots of overlap # This make localization very weak. # # parameters are: (1) input sound (optional) # (2) output sound # Program input (a) duration of output sound (if no input soundfile) # (b) sample delay between channels # # Description: Using extended length noise in each channel. # For this case the noise in each ear is different, but # both are white noise. The right channel is gradually # delayed from 1 to 30 samples. The sounds remain separate # in each ear. # if ($1 == "") then set SOUNDDIR = ../ else set SOUNDDIR = $1 endif if ($2 == "") then set BINDIR = ../../bin else set BINDIR = $2 endif rm -f $SOUNDDIR/click5.wav $BINDIR/whitenoise $SOUNDDIR/click5.wav >/dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null </dev/null <