GithubHelp home page GithubHelp logo

Comments (5)

voodoohop avatar voodoohop commented on May 5, 2024 1

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.

mbylstra avatar mbylstra commented on May 5, 2024

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.

benji6 avatar benji6 commented on May 5, 2024

No worries! Let me know if you have any questions or ideas on improving the documentation or the API!

from virtual-audio-graph.

voodoohop avatar voodoohop commented on May 5, 2024

@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.

benji6 avatar benji6 commented on May 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.