Skip to content

MultiSpeakerBRIR::GetDataIR returning zeros #8

@andresperezEUT

Description

@andresperezEUT

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions