Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

Output audio analysis

EyalBerEyalBer Member Posts: 13
Hello,
I'm trying to analyze the outgoing audio to the speakers. How would I do that?

Comments

  • EyalBerEyalBer Member Posts: 13
    edited August 5

    @EyalBer said:
    Hello,
    I'm trying to analyze the outgoing audio to the speakers. How would I do that?

    Like analyzing to bass & treble values

  • EyalBerEyalBer Member Posts: 13

    Basically, what I'm trying to create is an equalizer...

  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 7,376

    What are you asking... really?

    The way your question is currently worded, I want to answer “With an FFT”

    Peter

    Peter Viscarola
    OSR
    @OSRDrivers

  • EyalBerEyalBer Member Posts: 13
    > @"Peter_Viscarola_(OSR)" said:
    > What are you asking... really?
    >
    > The way your question is currently worded, I want to answer “With an FFT”
    >
    > Peter

    What I'm asking is how do I get the output audio data that's going into the speakers with an audio filter.
  • Tim_RobertsTim_Roberts Member - All Emails Posts: 13,033

    ... how do I get the output audio data that's going into the speakers ...
    Basically, what I'm trying to create is an equalizer…

    Which one is it? Do you simply want to MONITOR the data, or do you want to CHANGE the data, like an equalizer? Those two things require two entirely separate approaches. For monitoring data, you can use the WASAPI loopback feature. No drivers required -- just an application.

    If you want to create an equalizer, then you don’t just want to MONITOR the speaker output, you want to CHANGE the speaker output. That requires an APO — an audio processing object. That’s where things like reverb, tremolo, and equalizers go.

    In fact, Microsoft already offers a graphic equalizer as one of the standard APOs. You can add AUDIO_EFFECT_TYPE_EQUALIZER to your output stream and have one ready to go.

    Please note that Microsoft does not want you to build a system-wide equalizer for general purpose use. The whole reason they redesigned the audio stack in Vista was to stop the people who built filters on filters on filters on filters, and made it impossible for professional audio applications to do their job. If you are a speaker manufacturer, you can ship an equalizer APO with your driver, but you can’t ship one as a software component.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA