19 Jun '13 - 19:13 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  Developments / BASS / Re: Finding the Max Amplitude of a Wav File on: 15 Jun '12 - 21:53
Oh okay! Thank you very much, that is just what I was looking for!

The added manual code also helps me understand how to call other functions correctly,

Again, thanks a lot!

Rob
ReplyReply Reply with quoteQuote
2  Developments / BASS / Re: Finding the Max Amplitude of a Wav File on: 14 Jun '12 - 14:06
Hi, thank you for your reply.

I understand what you are saying, I will look into these features and work with them.

Yes, I agree, I never thought that programming audio would be so difficult! This is the only function that I require though (the rest is simply organising files based on their maximum ampitude) and so hopefully I should be fine. I am programing something very small to organise sounds that I have sampled from an instrument, I had originally of course thought of more ambitious things but I am just not good enough (nor have the time to study it in detail)! After this I will go back to being a just a music student, to be honest, programming is something I used to do, but I don't really belong with it anymore.. Smiley

But again, thank you very much for your help,

Rob
ReplyReply Reply with quoteQuote
3  Developments / BASS / Finding the Max Amplitude of a Wav File on: 14 Jun '12 - 10:22
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 Smiley

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 Smiley
ReplyReply Reply with quoteQuote
Pages: [1]
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines