Audio via Unity SDK

Has anyone got an example of open brush with audio in the Unity plugin? Also any docs to help work how to create audio brushes that can be brought into Unity?
5 Replies
andybak
andybak5mo ago
Hi, for future reference, the best place for questions like this is probably #exporting-to-unity - this channel is about writing plugins for Open Brush using the scripting API: https://docs.openbrush.app/alternate-and-experimental-builds/runtime-scripting
andybak
andybak5mo ago
I presume you're asking about audio reactive brushes when using https://github.com/icosa-foundation/open-brush-toolkit ? Here are the docs (such as they are) https://docs.openbrush.app/user-guide/open-brush-unity-sdk#st8oph1ghsgx
Jason Hayhurst
Jason Hayhurst5mo ago
Yes, sorry to put in the wrong channel. I have since got some audio reactions taking place actually. I was trying to work out if you could have different music affecting different brushes. But I guess we can use unity and a box trigger to alternate different music applications to different pieces of art from OB.
andybak
andybak5mo ago
Yeah - I'm not sure. You'd need to dig into the code - probably VisualizerAudioInput.cs
Jason Hayhurst
Jason Hayhurst5mo ago
Thanks I will take a look.