Comments (4)
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.
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.
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.
All right, I got it now. Thank you very much for your help.
from sofatoolbox.
Related Issues (20)
- Implement SOFAresample HOT 2
- Can i change the.sofa file sampling rate? HOT 1
- upgrade for MultiSpeakerBRIR HOT 5
- upgrade for SingleRoomDRIR HOT 3
- Implement creation of fig. 5 from JAES paper to SOS demo
- General_FIRE 1.0 HOT 1
- SOFAload: improve stability
- SOFAhrtf2dtf needs field GLOBAL_Comment to exist HOT 8
- SOFAhrtf2dtf: rmfield invalid syntax HOT 3
- Failed to run usage code HOT 1
- Two versions of FreeFieldDirectivityTF (1.0 and 1.1) HOT 4
- Warning: Unsupported SOFA conventions: SimpleFreeFieldHRIR. Skipping all checks. HOT 7
- SOFAhrtf2dtf: Support Data.Delay
- feature request: calculate objective metrics between two sofa files HOT 1
- SOFAcalculateITD: do not add Delay variable to input data in case of input data is a simple matrix HOT 1
- SOFAplotHRTF: parameter handling could be improved
- SOFAcalculateITD inconsistent
- SOFAplotHRTF 'MagHorizontal' issue
- hrtf = SOFAload('hrtf_M_hrtf B.sofa'); warning: Invalid UTF-8 byte sequences have been replaced. HOT 13
- Deprecate FreeFieldDirectivityTF_1.0.csv HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sofatoolbox.