ircam-rnd / binauralfir Goto Github PK
View Code? Open in Web Editor NEWBinaural module for the Web Audio API
Home Page: https://ircam-rnd.github.io/binauralFIR/
License: BSD 3-Clause "New" or "Revised" License
Binaural module for the Web Audio API
Home Page: https://ircam-rnd.github.io/binauralFIR/
License: BSD 3-Clause "New" or "Revised" License
The example site listed in the project description isn't working. I see this in the console:
Failed to load resource: the server responded with a status of 404 (Not Found) https://rawgit.com/Ircam-RnD/binauralFIR/master/binauralfir.min.js
Failed to load resource: the server responded with a status of 404 (Not Found) https://rawgit.com/ircam-rnd/buffer-loader/master/buffer-loader.min.js
Failed to load resource: the server responded with a status of 404 (Not Found) https://rawgit.com/ircam-rnd/player/master/player.min.js
Uncaught ReferenceError: createBufferLoader is not defined (index):48
If you run npm run-script bundle
after npm install
, it fails because es6ify
is not installed:
$ npm run-script bundle
> [email protected] bundle /Users/josephg/src/binauralFIR
> browserify binaural-fir.es6.js > binaural-fir.js -s 'BinauralFIR' -d -t es6ify
Error: Cannot find module 'es6ify' from '/Users/josephg/src/binauralFIR'
es6ify should probably be added to the devDependancies in package.json.
Hey, it would be neat to be able to npm install binauralfir --save
instead of having to pull things manually. You can do this by publishing the module to npm
which shouldn't be too hard since you already have a package.json
.
It would go along well with all the other modules being written for WebAudio:
https://github.com/meandavejustice/web-audio-modules
The sound file is marked as missing here: https://ircam-rnd.github.io/binauralFIR/
Any considerations on how we can change the listener position in real time?
Similar to the native listener.setPosition
and listener.setOrientation
.
When I try to load your example, either the one included in this repository or the github-hosted one, I get these errors, which I'm struggling to resolve.
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (buffer-loader.min.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (player.min.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (binauralfir.min.js, line 0)
[Error] ReferenceError: Can't find variable: AudioContext
global code (binauralFIR, line 47)
[Error] TypeError: undefined is not an object (evaluating 'player.start')
(anonymous function) (binauralFIR, line 113)
This may be obvious, but I've noticed a lot of clicking when altering position values while a single sound is playing, and it seems to be file-dependent. The breakbeat sample on the example page doesn't seem to suffer at all when the azimuth is altered, but other sounds I've tried it with (especially droney, pitched sounds) click a lot when adjusted. I'm hoping to spatialize more than one source on a 2D plane, so I imagine if it's popping with one sound source, it'll be way worse with multiple sources.
Is there something I can do to minimize this? Is there a way to ramp JS values, in case the discretely jumping values are to blame?
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.