Thanks for the newly added AudioFileWaveform View.
I get a crash if I add very small audio files: Fatal error: Range requires lowerBound <= upperBound
My very small audio file has only a few samples, which is probably less than the default rmsWindowSize of 256.
So the crash happens in AudioHelpers.createRMSAnalysisArray, Line 86, because numberOfOutputArrays gets negative.
Also,
I can't seem to access the functions in AudioHelpers from my own code - that might be because they are not marked public?
That is also true for the AudioWaveform struct.
Thanks for the newly added AudioFileWaveform View.
I get a crash if I add very small audio files: Fatal error: Range requires lowerBound <= upperBound
My very small audio file has only a few samples, which is probably less than the default rmsWindowSize of 256. So the crash happens in AudioHelpers.createRMSAnalysisArray, Line 86, because numberOfOutputArrays gets negative.
Here is the audio file: 44100 _verySmall.aif.zip
Also, I can't seem to access the functions in AudioHelpers from my own code - that might be because they are not marked public? That is also true for the AudioWaveform struct.
Thanks!