Giter Club home page Giter Club logo

Comments (4)

petibub avatar petibub commented on June 15, 2024

Dear Fiete,

could you try:

sofa.GLOBAL_EmitterDescription = 'test';
SOFAupdateDimensions( sofa );

In our API, all global attributes (and EmitterDescription is a global
attribute) need a GLOBAL_ prefix. Without the prefix, the API thinks
that EmitterDescription is a variable and expects a dimension.

Regards,
Piotr

Fiete Winter wrote:

According to
http://www.sofaconventions.org/mediawiki/index.php/MultiSpeakerBRIR,
version 0.3 of MultiSpeakerBRIR /uses SOFA 1.0 which reflects the
standard AES69-2015/. According to the AES Standard,
"EmitterDescription", "ListenerDescription", ... are optional fields.
However,

sofa = SOFAgetConventions('MultiSpeakerBRIR');
sofa.EmitterDescription ='test';
SOFAupdateDimensions( sofa );

yields

|Error using SOFAupdateDimensions (line 85) EmitterDescription seems to
be a user-defined variable without a dimension. |


Reply to this email directly or view it on GitHub
#12.

Piotr Majdak
Psychoakustik und Experimentelle Audiologie
Institut für Schallforschung http://www.kfs.oeaw.ac.at
Österreichische Akademie der Wissenschaften http://www.oeaw.ac.at/
Wohllebengasse 12-14, 1040 Wien
Tel.: +43 1 51581-2511
Fax: +43 1 51581-2530

from sofatoolbox.

fietew avatar fietew commented on June 15, 2024

In the AES standard ( http://www.aes.org/publications/standards/search.cfm?docID=99 ), 'EmitterDescription' or 'ListenerDescription' do not appear in the table for global attributes ( p. 16, Table 2 ), but are rather listed in in Table 3 and 4 (p. 17), respectively. How is this related to the current implementation of the API?

from sofatoolbox.

petibub avatar petibub commented on June 15, 2024

Dear Fiete,

that's a little bit tricky:

EmitterDescription is not in the Table with the general attributes (Tab.
2) because it belongs to the object Listener.
EmitterDescription is thus described in Tab. 3, which addresses the
metadata related to the Listener. It is, however, still a global attribute.

In the Matlab/Octave API, EmitterDescription must be encoded as
X.GLOBAL_EmitterDescription (with X as the variable containing the SOFA
structure). In the API, all global attributes must be prefixed by GLOBAL_.

Hope that help,
Piotr

Fiete Winter wrote:

In the AES standard (
http://www.aes.org/publications/standards/search.cfm?docID=99 ),
'EmitterDescription' or 'ListenerDescription' do not appear in the
table for global attributes ( p. 16, Table 2 ), but are rather listed
in in Table 3 and 4 (p. 17), respectively. How is this related to the
current implementation of the API?


Reply to this email directly or view it on GitHub
#12 (comment).

Piotr Majdak
Psychoakustik und Experimentelle Audiologie
Institut für Schallforschung http://www.kfs.oeaw.ac.at
Österreichische Akademie der Wissenschaften http://www.oeaw.ac.at/
Wohllebengasse 12-14, 1040 Wien
Tel.: +43 1 51581-2511
Fax: +43 1 51581-2530

from sofatoolbox.

fietew avatar fietew commented on June 15, 2024

All right, I got it now. Thank you very much for your help.

from sofatoolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.