Author Topic: Monitoring a sound card channel near real time  (Read 2610 times)

bdinnocenzo

  • Posts: 7
I've just spent an hour searching this forum and had no success in finding an answer to my question, so...

I'm writing - in VB 5.5 -a DJ system and bass.dll is a wonderful and critical part of the program.  In addition to multiple players that can be mixed together I also include a microphone channel (not necessarily the sound card's mic in - it could for example be the sound card's "Line in" channel connected to a mic preamp or mixer) and a line out channel for driving either an amplifier or a feed to a webcast encoder (to broadcast live via SHOUTcast or Live365).

I love the ability to get signal level info from bass in order to drive a VU meter object.  I'm trying to also drive a VU meter object to show the levels of the microphone and the aggregated output level (essentially everything that is delivered to the sound card channel designated as the "Output").

I'm sure that some one has used bass in some way similar and would appreciate any information, or pointing me in the direction to find it.  Thanks a bunch for your help.

-Bill

Jcl

  • Posts: 52
Re: Monitoring a sound card channel near real time
« Reply #1 on: 19 Mar '03 - 19:53 »
Most modern soundcards have a recording input called "output", or "record master", or "what you hear" or something like that. Just select that device for recording and you'll be able to monitor/record everything that goes out of the card (including mixed channels, microphones, etc.)

Hope this helps

bdinnocenzo

  • Posts: 7
Re: Monitoring a sound card channel near real time
« Reply #2 on: 20 Mar '03 - 07:18 »
Thanks.  I kind of thought that would be the way, however I wanted to make sure I wasn't over looking a more direct solution.

bdinnocenzo

  • Posts: 7
Re: Monitoring a sound card channel near real time
« Reply #3 on: 24 Mar '03 - 17:06 »
Using the record function attached to the sound card's Input Mixer channel worked great.  I was able to monitor the level of everything going through the sound card -- exactly what I was looking for.  One problem however...

When I do this no other application can access the sound card.  In my application I depend on another program -- such as Winamp with a DSP plugin -- to also take the soundard output and stream that to a server.  But it seems that only one application can have access to the record channel at a time.  Is there another way?

-Bill