Skip to content

Multiple AudioIO Objects and syncing data #55

Description

@Demolishun

I want to be able to bring in audio from multiple AudioIO sources and do processing on the streams in the same space.

I have been reading through the AudioIO.h class and have been thinking I can create a master AudioIO object that has an active callback after calling start(). On additional AudioIO I can open() the device and then call the callback manually to get at the data. Somehow I will want to write this data to a location that the master callback has access to. If I understand correctly these are in different threads when the callback is called. So this makes getting the data from each AudioIO interesting.

Is there a way to use the AudioIO object itself to get a sample/frame? This way I don't have separate threads to pull data from. I will keep the sample rates consistent so it should keep the data itself in sync fairly well.

I was thinking about using this library to make a more sophisticated visual audio tool. It would allow me to connect different objects with wires to build up a synthesizer. However, I am not sure if this library is able to be used that way. Would this library work for this? I am unsure, but this library seems pretty rigid on how it can be used. Is there a different library that might be easier to build a visual editor with?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions