Skip to content

Commit 364633f

Browse files
committed
Merge branch 'master' of https://github.com/cortex-lab/Rigbox
Updated paths file: Config and expDefs now located on zserver
2 parents 621d6e1 + f842c94 commit 364633f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortexlab/+exp/configureChoiceExperiment.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
toneMaxAmp = params.Struct.onsetToneMaxAmp;
3535
rampLen = 0.01; %secs - length of amplitude ramp up/down
3636
toneSamples = toneMaxAmp*aud.pureTone(toneFreq, toneLen, audSampleRate, rampLen);
37-
toneSamples = repmat(toneSamples, 2, 1); % replicate across two channels/stereo
37+
toneSamples = repmat(toneSamples, dev.NrOutputChannels, 1); % replicate across channels/stereo
3838
params.set('onsetToneSamples', {toneSamples},...
3939
sprintf('The data samples for the onset tone, sampled at %iHz', audSampleRate), 'normalised');
4040

0 commit comments

Comments
 (0)