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)
ITACTC
Commits
d21288ec
Commit
d21288ec
authored
Sep 23, 2016
by
Dipl.-Ing. Jonas Stienen
Browse files
Also exporting WICKed HRIR now
parent
c4d76f11
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ITANCTC.cpp
View file @
d21288ec
...
...
@@ -285,7 +285,11 @@ bool ITANCTC::CalculateFilter( std::vector< ITAHDFTSpectra* >& vpCTCFilter )
assert
(
fEnergy
>
0
);
fEnergyCompensation
=
powf
(
fEnergy
,
(
1
-
m_fWaveIncidenceAngleCompensationFactor
)
);
(
*
pHRTF
)[
1
]
->
mul
(
fEnergyCompensation
);
#ifdef NCTC_EXPORT_FILTER_TO_HARDDRIVE
pHRTF
->
Export
(
"HRIR_LS"
+
IntToString
(
n
+
1
)
+
"_WICKed"
);
#endif // NCTC_EXPORT_FILTER_TO_HARDDRIVE
// --- CTC compensation factor + weighting ---
...
...
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