11 #ifndef SAL_KEMARMIC_H
12 #define SAL_KEMARMIC_H
14 #define FULL_LENGTH_KEMAR 128
15 #define NUM_ELEVATIONS_KEMAR 14
16 #define NORMALISING_VALUE_KEMAR 30000.0
39 const std::string directory =
"",
41 const Int update_length = 0,
43 const Time sampling_frequency = 44100.0);
50 const std::string directory,
51 const Int num_samples,
52 std::string variable_name);
56 virtual Signal GetBrir(
const Ear ear,
const mcl::Point& point) noexcept;
59 std::vector<std::vector<Signal> > Load(
const Ear ear,
60 const std::string directory);
62 static std::vector<std::vector<Signal> > LoadEmbedded(
const Ear ear);
64 static void LoadEmbeddedData(
const Ear ear,
65 std::vector<std::vector<Signal> >& data);
71 Int FindElevationIndex(
Angle elevation);
78 Int FindAzimuthIndex(
Angle azimuth,
Int elevation_index);
86 static std::
string GetFilePath(const
Angle elevation, const
Angle angle,
87 const std::
string directory) noexcept;