-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hi,
I'm just testing the new MultiSpeakerBRIR class, by using BRIR files provided by the TuBuRo database (http://sofacoustics.org/data/database/tuburo/).
I'm having an issue by getting the filter data. When using the MultiSpeakerBRIR::GetDataIR(std::vector< double > &values) const
method, the numbers seem to make sense. However, when using the
bool MultiSpeakerBRIR::GetDataIR(double *values, const unsigned long dim1, const unsigned long dim2, const unsigned long dim3, const unsigned long dim4) const
method, it looks like all retrieved numbers are zero.
Looking inside the implementation, this latter method is based on NetCDFFile::GetValues, in opposition to all other similar methods for retrieving data (which are based on sofa::File methods). But I don't know if that would be related to the issue.