Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 07, 2016, 02:47:37 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Idea - Weighted Audio Inputs  (Read 6182 times)

kfitting

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 578
    • View Profile
    • Donate to Member
Idea - Weighted Audio Inputs
« on: October 11, 2005, 08:36:55 AM »
Talking with a friend here at work and he mentioned he would like to be able to set a hierarchy for his audio inputs on his soundcard.  The real life application here is he often plays video (wav input) and listens to his police scanner (line in) at the same time.  Trouble is that when the Police Scanner "interrupts," the video doesnt get quiet so you can hear the scanner. 

The application should be able to mute or set the lower priority input to a lower level.  It should also be able to trigger on dead silence or an adjustable level.  A nice GUI would be awesome as well! 

Any takers, questions, or suggestions?

Kevin

kfitting

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 578
    • View Profile
    • Donate to Member
Re: Idea - Weighted Audio Inputs
« Reply #1 on: October 12, 2005, 07:38:47 PM »
No?

Kevin

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,408
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Idea - Weighted Audio Inputs
« Reply #2 on: October 12, 2005, 09:22:04 PM »
not sure i understand clearly the request.

kfitting

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 578
    • View Profile
    • Donate to Member
Re: Idea - Weighted Audio Inputs
« Reply #3 on: October 13, 2005, 08:49:41 PM »
Basically, there are many different audio inputs to a computer, let's look at the above example, which deals with the line-in and the normal wave volumes.  In my coworkers case, he listens to the police scanner in the background while listening to other audio (movie clips, mp3s, etc).  A police scanner is not constant, however.  It kind of comes and goes.  This program would monitor audio levels for multiple audio inputs and, if the input to a certain one passed a threshold, would increase it's volume and decrease the volume on the other inputs.  Then, when the level passed below the threshold, the levels would be adjusted back to normal.  In our example, as soon as the police scanner finds something and the level on the line-in goes high, the wav input would be turned down and the line-in would be turned up. 

In essence, it's a weighted volume control: if line-in > 100 then wav = 20 and line-in = 150.  Does this explain it any better?  It's only useful if you have multiple inputs that you listen to at a time, and want to make sure you don't miss anything from one of the inputs.  Ultimately, it would be kind of cool to be able to set up a hierarchy (eg, after the above if statement runs, have enter another state where this line would come up: if wav > 150 then reset normal audio levels).  This way, you could prioritize what you listen to based on input level.

Just a thought...

Kevin

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,408
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Idea - Weighted Audio Inputs
« Reply #4 on: October 18, 2005, 08:50:17 AM »
this actually seems like a very good idea to me..
but not going to be a coding snack for anyone except someone who has some real experience writing audio code -
but it's a fantastic idea - maybe if it bounces around here for a while someone with the skills for it will pick it up.