Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. MP3 Sound level detection

MP3 Sound level detection

Scheduled Pinned Locked Moved Visual Basic
csharpdotnetcomquestion
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    glaidler
    wrote on last edited by
    #1

    Hi, I want to write an app in VB.net that will go through lots of MP3 files and (quickly) detect the average sound level within the files, notifying someone should they be below a threshold. I'm sure this must be possible using the .net framework, but would probably take me a week to code. For this reason, I'm quite happy to use a com component. Can anyone point me in the right direction? Regards Graham

    L 1 Reply Last reply
    0
    • G glaidler

      Hi, I want to write an app in VB.net that will go through lots of MP3 files and (quickly) detect the average sound level within the files, notifying someone should they be below a threshold. I'm sure this must be possible using the .net framework, but would probably take me a week to code. For this reason, I'm quite happy to use a com component. Can anyone point me in the right direction? Regards Graham

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      glaidler wrote: I want to write an app in VB.net that will go through lots of MP3 files and (quickly) detect the average sound level within the files, notifying someone should they be below a threshold. I'm sure this must be possible using the .net framework, but would probably take me a week to code. No need to work a week ;P Just use my nBASS[^] lib, load each file in decode only mode and check the level. Now that is the easy (but ugly) way. Ideally you should write a DSP similar to a normalization DSP. There was questions about detecting silence on the BASS forums a while back that mite be usefull. All in all, either way, it wont be quick. I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02

      G 1 Reply Last reply
      0
      • L leppie

        glaidler wrote: I want to write an app in VB.net that will go through lots of MP3 files and (quickly) detect the average sound level within the files, notifying someone should they be below a threshold. I'm sure this must be possible using the .net framework, but would probably take me a week to code. No need to work a week ;P Just use my nBASS[^] lib, load each file in decode only mode and check the level. Now that is the easy (but ugly) way. Ideally you should write a DSP similar to a normalization DSP. There was questions about detecting silence on the BASS forums a while back that mite be usefull. All in all, either way, it wont be quick. I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02

        G Offline
        G Offline
        glaidler
        wrote on last edited by
        #3

        Thanks for this.. Very impressed with the nBass assembly. I have loaded the relevant file into a stream object, but don't know how to analyse the level within the stream.. Should I be looking at GetData(buf, 0) method? Graham

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups