I would like to get the maximum value for the “start_position” key in an audio source key frame. I’ve noticed it changes between audio files.
I have tried looking through source code, but I’m not too c++ savy yet. I’ve tried writing the “audio_file” value to a file and to getting the frame count from the waves python library but the file didn’t have a RIFF id so errors get thrown.
What does Vital convert dragged-in audio files into and how can I get the max “start_position” value from it?
======================================================
I’m also new to C++ so I’m not 100% sure on everything but I tried my best to decipher what I could in an hour XD. Let me know if you have any more questions! Hope this helps a little bit.
Thanks for the time and effort! The Audio File Source has an “audio_file” parameter that contains the sample, any ideas on how to get the number of samples out of this thing?