Comments (1)
Seems to be a good idea for me. Color coding would make it easier to comprehend, inheriting would make it less prone to errors. What we should consider is that any changes have to be communicated to APIs that are also using the csv files as their basis. At the time I think only https://github.com/pyfar/sofar
What about the following idea:
We define subconventions for common sets of data, e.g., the subconvention GLOBAL_ATTRIBUTES
would contain the global attributes that every convention uses. In each convention, e.g., GeneralFIR
the common global attributes could then be 'impoted' for example through the line import GLOBAL_ATTRIBUTES
, which would be fairly ease to parse.
Such subconventions could be generated for
- global attributes
- data types (FIR, FIR-E, TF, TF-E, SOS)
- Listener, and
- Source
We could then simplify conventions by importing all of these and than only add or override things that are new or different. This would make differences between conventions more clear as a side effect. Moreover we could generate those subconventions based on a relatively easy to write script, that first reads all unique attributes from all conventions and counts how often they appear.
In addition, we could have optional subconventions such as ROOM_DESCRIBTION
which could be added to any convention in case the user wants to provide detailed information about the room.
from sofatoolbox.
Related Issues (20)
- 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
- Incorrect data type in AnnotatedAudio Conventions? HOT 13
- Questions about Audio as DataType HOT 2
- Missing definition for dimension `R` in (deprecated) TrackedAudio conventions HOT 2
- How to fix properly dimensions of data
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.