You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The basic audio API we'll expose in 0.1 can only play sounds and optionally repeat them. It can't do anything fancy with them, like attenuating them or filtering them or what have you.
However, our host code offers this functionality. We just need to wire this up in both the host and the guest.
@ten3roberts's suggested approach is to use a graph on the guest side (e.g. petgraph) to construct a graph of nodes, serialize these to a list of nodes and edges, and then send them to the host to reconstruct a Source from. This should be doable, I think.
The text was updated successfully, but these errors were encountered:
Build a list of corresponding WIT-structure nodes and a list of edges
Send over to host
Host then builds the corresponding tree of Sources
There's some other stuff we'd have to do around wiring up audio_emitter and audio_listener (can just set up some extra components + systems for this), but this should be doable otherwise.
The basic audio API we'll expose in 0.1 can only play sounds and optionally repeat them. It can't do anything fancy with them, like attenuating them or filtering them or what have you.
However, our host code offers this functionality. We just need to wire this up in both the host and the guest.
@ten3roberts's suggested approach is to use a graph on the guest side (e.g.
petgraph
) to construct a graph of nodes, serialize these to a list of nodes and edges, and then send them to the host to reconstruct aSource
from. This should be doable, I think.The text was updated successfully, but these errors were encountered: