#!/bin/csh # # Example for precedence: Dissimilar $SOUNDDIR/clicks in each ear. # # 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: This example creates precedence effect soundfiles # using two different random noise $SOUNDDIR/clicks. For myself, # the effect is still there, but the movement to the # right ear is at first fase, then at about 45 degrees becomes # more gradual, not getting fully into the right ear until about # 25 or 30 sample delays. # if ($1 == "") then set SOUNDDIR = ../ else set SOUNDDIR = $1 endif if ($2 == "") then set BINDIR = ../../bin else set BINDIR = $2 endif rm -f $SOUNDDIR/click.wav $BINDIR/whitenoise $SOUNDDIR/click.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 <