xdlia / 3dsound Goto Github PK
View Code? Open in Web Editor NEWThis project forked from uncopenweb/3dsound
Create spatialized sounds for playback from javascript using jsonic
This project forked from uncopenweb/3dsound
Create spatialized sounds for playback from javascript using jsonic
This is a quick script to generate 3D spatialized sounds for playback using jsonic (http://mindtrove.info/jsonic-speech-and-sound-using-html5/). I'm using the HRTF (head-related transfer function) measurements of a KEMAR dummy head micrphone data from MIT. The script should work on any sound format that sox can read. Run it like: python hrtf.py infile outfolder It will create the folder if it doesn't already exist. In the outfolder it will create files with names like a40.ogg which is the sound at 40 degrees azimuth with 0 degrees elevation. We could do elevation too but I stuck with only the horizontal plane for this. It works by using sox to recode whatever format you give it to 22050Hz, mono, 16 bits. Then, for azimuth steps of 5 degrees it applies the HRTF filters to produce the left and right channels, and writes a wav file out. Then it uses sox again to encode the wav file to ogg and mp3 formats. You'll need python + numpy + scipy + sox to use this.
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.