Comments (5)
Thanks for your reply!
I think I'm using the syntax correctly but not 100% sure yet. What I'm doing is first splitting and then merging so I can map a number of stereo channels playing samples arbitrarily to the audio device output channels.
Love the idea behind your library. I'm prototyping a loop-based music-making app for the company that makes https://korus.co/.
https://layermosaic.pixelynx-ai.com/
I spent a day porting the code to use virtual-audio-graph and the whole design is going to be so much cleaner and simpler thanks to it.
I'm going to try and create a test case for this. Seems like the most efficient way to document my problem.
from virtual-audio-graph.
Sorry, I missed this part of the documentation: https://github.com/benji6/virtual-audio-graph#channelsplitternode. I see how you've implemented it now.
from virtual-audio-graph.
No worries! Let me know if you have any questions or ideas on improving the documentation or the API!
from virtual-audio-graph.
@benji6 I can't figure out how to use the channelSplitter. When I just specify the output by just passing the key of the node I want to connect to it works but I cannot seem to get it connect with the {key, inputs, outputs}
parameter. Any chance of an example code?
from virtual-audio-graph.
Hi @voodoohop, I think you have found the limited documentation here https://github.com/benji6/virtual-audio-graph/blob/master/docs/standard-nodes.md#channelsplitter.
key
refers to the virtual node key you specify when you configure the graph and the inputs
and outputs
values are passed to the 2nd and 3rd arguments of the connect
method under the hood https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect
Are you splitting something that has multiple channels? Sorry to flip this around, but do you have an example I can take a look at and help debug?
from virtual-audio-graph.
Related Issues (20)
- AudioContext in Safari always 'suspended' HOT 1
- The automated release is failing 🚨
- create node with no output? HOT 1
- Persisting audio graph definitions using functions HOT 8
- Access to currently playing sound? HOT 2
- The automated release is failing 🚨
- Code in custom node is interpreted in a different way HOT 4
- A custom node inside of a custom node HOT 5
- LFO HOT 1
- Support OfflineAudioContext (repeat #8) HOT 4
- How to use in browser. HOT 2
- Thank you so much for virtual-audio-graph
- The automated release is failing 🚨 HOT 1
- Redundant `exponentialRampToValueAtTime` calls cause click noises HOT 4
- The automated release is failing 🚨
- Only 1 layer of custom nodes? HOT 3
- v1.1.1 release don't include the compiled module HOT 1
- Possible bug with offset HOT 3
- Example connect to a source from a file HOT 5
- VAG samples not working in safari HOT 8
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 virtual-audio-graph.