polarch / jsambisonics Goto Github PK
View Code? Open in Web Editor NEWA JS library for first-order ambisonic (FOA) and higher-order ambisonic (HOA) processing for browsers, using Web Audio.
License: BSD 3-Clause "New" or "Revised" License
A JS library for first-order ambisonic (FOA) and higher-order ambisonic (HOA) processing for browsers, using Web Audio.
License: BSD 3-Clause "New" or "Revised" License
Something appends when you move the source in e.g. examples/hoa-panner.hmtl
, yet it rather feels like random frequency filtering than binaural spatialization.
As suggested by Google Omnitone's channel router, Safari using a different (than Chrome and Firefox I gather) AAC decoder in OSX forced them to add this router to their Bformat player. See the demo-player.js script in resonnance's source code for in-line usage.
Hello,
Thanks for the very useful library!
When setting a vmicPattern, there are only 4 string options: cardioid, supercardioid, hypercardioid, and max_rE. How can I set other patterns such as omni, figure eight, and subcardioid (or some arbitrary pattern in between?). Is this possible? I'm primarily interested in FOA.
I see in ambi-virtualMic.js that this.vmicCoeffs is being set in a switch statement when updatePattern is called. But I am not sure where these coeffs are coming from and if it is possible to generalize the behavior.
Hello,
I had issues converting SOFA files into JSON format via the provide script from the "/utils" folder.
The conversion process worked fine. I used my SOFA files and converted them to JSON files. But after trying to load them as described in the readme.md, the following error appeared:
ERROR Error: Uncaught (in promise): Error: Unable to parse assets/IRs/HRIR_CIRC360_NF100.sofa.json. Cannot read property 'DataType' of undefined
I opened my converted JSON file and compared it with the example jsons from the repository.
A lot of attributes seem to be missing from my converted JSON, like for example the 'DataType' attribute. Also the "name"-attribute instead of being placed at the top, is placed at the bottom of the file.
Loading the normal example JSON files works fine.
Here is the used sofa-File+ the conversion of it:
sofa_json_file.zip
It would be nice if someone could help me out on this.
Hi!
Great project!
I'm interested in reading about some benefits to using this library over Omnitone.
Any thoughts?
Hey,
I'm extending the HOA player to support ambisonics + stereo as a standalone player. From what I understand, the specified filter HRIR file path is appended with _01_08ch.wav and _09_16ch.wav. I am currently using the HOA3_IRC_1008_virtual files featured in your examples, but is there any ressources or sources for other files.
The audio I am featuring is excerpts or mixes featured on VR experiences, it therefore needs the minimal amount of coloration or effect on overall loudness. Trying out different filtering files would be quite useful. I'm aware IRCAM has open HRTF files, but am not able to find HRIR in the same format as you have.
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.