Comments (6)
I'm currently working on a feature which should address this issue. Rather than adding multiple sources to one Wad, I'm thinking about an object that stores multiple Wads. You can then have a set of filters/effects apply to all Wads in that object, and also call play() or stop() on that object to play or stop all the wads it contains.
Does this sound like it addresses your desire? Or am I missing something?
from wad.
I've thought of doing this with drum samples to change up velocity and such. Like make a wrapper object that stores a wads [] attribute, and when you call play it picks one based on ________.
Not quite sure what is meant by approximating real sounds though...
I like the idea of the multi-wad object with one set of attrs. It accomplishes things that a wrapper function couldn't, like having the one global reverb.
from wad.
Raphael, yes, I believe that your approach would result in a solution that satisfies the parameters I detailed in the original post. I am really looking forward to it!
some explanation for @coleww, the general consensus in the audio community on sound synthesis is that any given sound can be represented as one or more sine waves at different frequencies. The more sine waves you can instantiate at once, the more harmonic interactions the waves create with one another.
Fourier demonstrated that any function (such as a sound waveform) can be expressed as a sum of sine or cosine graphs. This reverse engineering or deconstructing of a given graph is called Fourier Analysis.
So if, through WAD, the Web Audio API can be implemented so that web audio developers can use and manipulate an arbitrary amount of source waves, he/she can, theoretically, engineer any conceivable sound. The limiting factor, though, would be the client's computing power: I'm not sure how many oscillators a browser running on mainstream hardware could handle.
from wad.
I sent you an email, check your spam folder. I wrote an article on WAD, thought you might want to check it out.
from wad.
Sorry it took me so long to finish this up, but I've finally implemented and documented a solution that lets you group several oscillators and play them simultaneously. Check out the documentation on PolyWads.
from wad.
Very cool!
from wad.
Related Issues (20)
- Pitch detection not working HOT 3
- How to add onEnd event listener HOT 5
- TypeScript Typings HOT 3
- Custom Work HOT 2
- Polywad does not appear to implement setPanning HOT 2
- How do I get the playhead position of a Wad object? HOT 3
- Trouble applying compression HOT 3
- requestAnimationFrame(logPitch) outputs infinite frame count HOT 1
- Adding Stronger Sound Caching/Grouping Functionality HOT 2
- getUserMedia() build error HOT 2
- getUserMedia() build error HOT 4
- Low quality mic recording / MediaStreamConstraints HOT 2
- Mute mic output when recording HOT 5
- connect output of wads (post processing) HOT 4
- How to show progress bar for audio file? HOT 1
- Pitch Detection example doesn't work HOT 1
- import Wad from 'web-audio-daw' throws ReferenceError: window is not defined HOT 1
- Idk HOT 1
- dawproject
- Streo effect (panning effects issue)
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 wad.