I am able to open a wav file and iterate through samples of it. I am trying to figure out the level of sound (loud vs low talking) and I believe it's a matter of getting some value from the sample and then running some math formulas.
Anyone have any ideas or references on this, prefer not some heavy complicated package since i just need to open the file and get the volume level. I tried using portaudio but it seems to be a lot more than I need, and was never able to get it working. My objective is to trigger an alert if a sample level is above some threshold, so it does not need to be accurate, I can just get a sample sound, get the level for that, and then if the level is above that trigger the alert. Much appreciated any help, thanks. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAHr9bga_cjDGR%3DQE5OdWY%2BucX1ojLGN%3DMyqUOviXnt7miKyCNQ%40mail.gmail.com.