Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Jesse Heckman
pbtoolbox
Commits
ee879140
Commit
ee879140
authored
May 08, 2019
by
Jesse Heckman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update calibration
parent
1823f323
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
setups/vestibular chair/vPrime/lookup/~$vPrime Measurement.xlsx
.../vestibular chair/vPrime/lookup/~$vPrime Measurement.xlsx
+0
-0
subtools/calibration/calibrate_scripts_RZ6/ex_sweeprecording.m
...ols/calibration/calibrate_scripts_RZ6/ex_sweeprecording.m
+18
-18
No files found.
setups/vestibular chair/vPrime/lookup/~$vPrime Measurement.xlsx
deleted
100644 → 0
View file @
1823f323
File deleted
subtools/calibration/calibrate_scripts_RZ6/ex_sweeprecording.m
100755 → 100644
View file @
ee879140
...
...
@@ -43,7 +43,7 @@ delay = 0; % [ms]
atten
=
0
;
% [dB] attenuation
% Speaker selection
dum
=
spherelookupMinor
;
dum
=
pb_vLookup
;
nSpeakers
=
dum
.
nspeakers
;
speakers
=
dum
.
lookup
;
speakers
=
speakers
(
~
isnan
(
speakers
(:,
5
)),:);
% remove NaN entries (i.e. unused MUX channels
...
...
@@ -154,34 +154,34 @@ tArray = (1:length(Sounds.in)) / fsRZ6;
% Time domain
figure
(
1
);
subplot
(
4
11
);
subplot
(
2
11
);
plot
(
tArray
,
Sounds
.
in
);
title
(
'sent to TDT'
);
subplot
(
412
);
plot
(
tArray
,
Sounds
.
out
);
title
(
'Played by TDT'
);
%
subplot(412);
%
plot(tArray,Sounds.out);
%
title('Played by TDT');
subplot
(
413
);
subplot
(
212
);
plot
(
tArray
,
Sounds
.
recorded
);
title
(
'Recorded'
);
xlabel
(
'# of samples'
);
freqs
=
linspace
(
1
,
fsRZ6
,
nsamples
);
% F-domain
figure
(
2
);
subplot
(
4
,
1
,
1
);
getpower
(
Sounds
.
in
,
length
(
Sounds
.
in
),
'display'
,
2
);
title
(
'sent to TDT'
);
%
% F-domain
%
figure(2);
%
subplot(
2
,1,1);
%
getpower(Sounds.in,length(Sounds.in),'display',2);
%
title('sent to TDT');
subplot
(
4
,
1
,
2
);
getpower
(
Sounds
.
out
,
length
(
Sounds
.
in
),
'display'
,
2
);
title
(
'Played by TDT'
);
%
subplot(4,1,2);
%
getpower(Sounds.out, length(Sounds.in),'display',2);
%
title('Played by TDT');
subplot
(
4
,
1
,
3
);
getpower
(
Sounds
.
recorded
,
length
(
Sounds
.
in
),
'display'
,
2
);
title
(
'Recorded'
);
xlabel
(
'Frequencies'
);
%
subplot(
2
,1,
2
);
%
getpower(Sounds.recorded,length(Sounds.in),'display',2);
%
title('Recorded');
%
xlabel('Frequencies');
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment