Is there a function in Milestone SDK that separates audio from video?

In general video and audio is very separate.

The VideoViewer2Playback sample shows how to get “related” audio.

https://doc.developer.milestonesys.com/html/index.html?base=samples/videoviewer2playback_sample.html&tree=tree_2.html

Maybe you want to play audio without video. Explore the Audio Demo sample.

https://doc.developer.milestonesys.com/html/index.html?base=samples/audiosample.html&tree=tree_2.html

Maybe you ask because you want to extract audio from a microphone in the VMS. There is no sample but try to use the RawLiveSource.

https://developer.milestonesys.com/s/question/0D50O00003OEMHWSA5/live-audio-similar-to-live-video

AudioExportSample this example records audio from a camera microphone?

Or something else need to try?

Can you save audio to computer memory other than Wav?

The XProtect VMS records the audio and you can either retrieve the audio data or directly export it to a wav file. The exporter provided by MIP SDK only supports exporting in the wav format. The AudioExportSample sample is the sample to explore on how to export wav files with audio.

The AudioExportSample sample supports only one export at a time, how can you change the sample to automatically export audio?

I made it so that the time intervals were entered automatically.

Thanks a lot!)

You do one export at a time.. You have already made automatic insertion of time intervals, to me it seems that if you also make automatic start of exporting at fitting intervals you have a solution.

If I have misunderstood what you are trying to do and my answer does not really fit please elaborate on the question.