RenderHeads / UnityPlugin-AVProMovieCapture

AVPro Movie Capture is a Unity Plugin for advanced video capture to AVI/MP4/MOV files
https://renderheads.com/products/avpro-movie-capture/
48 stars 8 forks source link

Mic Spectrum support #174

Open lookreelDev opened 2 years ago

lookreelDev commented 2 years ago

Unity: 2020.3.35 AVPro Capture

**Is your feature request related to a problem?

We just ported our application to mac. On windows we implemented a Spectrum feature using unity's mic API Unfortunately unity seems not to support switching of mics in runtime on the mac platform as I have researched and also experienced.

I have noticed that you AVPro Capture API supports switching of different mic devices when we a recording video clip.

Solution A clear and concise description of what you want to happen.

Is there any support as I was trying to search in your API that provides spectrum feedback when utilising different mic's? This way we know the correct mic we specifically choose before recording. If not would it be possible to implement the feature?

Alternatives I tried many different ways into achieving this process. I could not find any other alternatives.

Looking forward to hearing from you:)

lookreelDev commented 2 years ago

AVPro Capture 4.7.11

Chris-RH commented 2 years ago

Hi @lookreelDev,

Yeah that one is quite tricky. One of the main problems is that I don't think there is anything fed back from the capture that we could use to implement a spectrum. Secondly, the microphone is bound once the recorder is created and can't be changed, so you wouldn't know if you'd selected the wrong one until the capture was completed. We could look into adding it as an enhancement at some point in the future, but we're not even sure if it would be possible to implement. I'm sorry that I can't help you any further with this.

helferapp commented 5 months ago

Hi, for a scientific project I need to analyze microphone spectrum data and loudness during recording video and mic audio realtime with AVPro Movie Capture on iOS. In Unity without AVPro I can use AudioSource.volume and AudioSource.GetSpectrumData to retrieve realtime data. Will AudioSource work too, while AVPro is capturing? At page 78 of manual I found: One thing to be noted about this component is that it is implemented as a filter, therefore enabling bypass effects on an AudioSource would exclude that AudioSource from being captured. Does this mean, I can use AudioSource.GetSpectrumData only, when I don't capture audio? Greetings Frank