Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
e0baf7db
Commit
e0baf7db
authored
Feb 18, 2019
by
Michael Kohnen
Browse files
added channel coordinates for ita_ctc_* files
parent
94150c8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/SpatialAudio/ita_ctc_filter_regularized.m
View file @
e0baf7db
...
...
@@ -106,7 +106,9 @@ end
[
Cm
Cn
]
=
size
(
CTC
);
for
idx
=
1
:
Cm
CTC
(
idx
,
1
)
.
channelNames
=
{[
'CTC-'
num2str
(
idx
)
'L
''
'
]};
CTC
(
idx
,
1
)
.
channelCoordinates
=
H
.
channelCoordinates
(
idx
*
Cn
-
1
);
CTC
(
idx
,
2
)
.
channelNames
=
{[
'CTC-'
num2str
(
idx
)
'R
''
'
]};
CTC
(
idx
,
2
)
.
channelCoordinates
=
H
.
channelCoordinates
(
idx
*
Cn
);
end
end
applications/SpatialAudio/ita_ctc_loudspeaker_signals.m
View file @
e0baf7db
...
...
@@ -40,6 +40,7 @@ end
LSSignals
=
itaAudio
(
size
(
CTCFilter
,
1
),
1
);
for
k
=
1
:
size
(
CTCFilter
,
1
)
LSSignals
(
k
)
=
ita_convolve
(
inL
,
CTCFilter
(
k
,
1
))
+
ita_convolve
(
inR
,
CTCFilter
(
k
,
2
));
LSSignals
(
k
)
.
channelCoordinates
=
CTCFilter
(
k
,
1
)
.
channelCoordinates
;
end
%% Return in time domain as multichannel audio
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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