Detecting when two different audio sources are emitting sound in Unity
Dear all,
Dealing with multiple audio sources has not been quite as straightforward as I would've hoped in Unity. While I have been able to play multiple audio sources with no problem at all, I want to gather better information on the audio sources.
I.e: say I have two audio sources, both 10 second clips. Audio source A makes sound from second 1 to 5 and Audio source B makes sound from 3 to 10. I would like to know the percentage amount of time both sources emitted sound and during what times where Audio source A and B overlapping each other.
I have tried utilizing an Audio Visualizer, but I haven't even been able to visualize two different sources without the visualizer's affecting each other.
Any help would be greatly appreciated.
Extra points: How to handle multiple microphones talking at the same time in Unity?
Your answer
Follow this Question
Related Questions
Trying to use derive pitch and db from realtime microphone input 0 Answers
Trying to use derive pitch and db from realtime microphone input 0 Answers
How to Send Audio Clip Via Facebook Messenger ? 0 Answers
How to stop current audio before another audio starts? 0 Answers
I'm trying to do multiple AudioSources, but one won't play...... 0 Answers