Hello everyone,
I'm very new to Bass.net, and have only been using it for a couple of days, but I am searching for a way to find the maximum amplitude of a Wav file, so that I can batch compare some and put them in order of "loudness" (this is for instrument samples recorded to use as a virtual instrument!).
I have tried using the BASS_ChannelGetLevel method, but I do not really understand as this varies like a VU Meter as an audio file plays (I assume the amplitude of the current point in the file). Ideally, I would like to find out the loudest value of amplitude without having to play the file (is there a way?).
Another way I have thought is to play a file and then read the BASS_ChannelGetLevel as a VU Meter from a timer "tick", then put this into an array and find the largest value - however again, this is both too time-consuming (in actual processing-wise, I don't want my user to sit there for weeks (exaggeration, I hope XD) waiting in realtime!), and not accurate enough (the files are sublty different - they are different in amplitude as I have looked at them in Cubase - but if the timer is too long then it is likely it could miss measuring the parts of the file I would like).
I am quite a beginner to programming, and completely new to audio programing (though I understand a lot of the physics behind it just not how the coding etc works). I am using VB.Net but if anyone has any help if it's in C# then I could probably undestand because of how similar the languages are! At the end of the day, I am a musician trying to make life easier

Thanks a lot in advance! I have been trying to get my head around this for days so thought it would be best to ask on here!
Rob
