How can I get a spectrogram of sound using DirectShow?

I will be very grateful)

    2 answers 2

    If there is access to an uncompressed audio stream, then for the simplest case, you only need to perform a fast Fourier transform on the sample, the result of which is the desired spectrum.

    • and an uncompressed audio stream .. what does it represent in the business itself ..? - RockFate
    • Emm - just a digitized type of sound signal - its amplitude in numerical representation) - Alexey Sonkin
    • Is this a set of ints .. that describe the position of the chart at a given time? - RockFate
    • Well, if you are talking about a graph of sound, then yes. If you build a graph of sine wave - there will be a graph of the sine. If from the tweeter - rectangles ... And so on) - Alexey Sonkin
    • Got it. Thank you .. I will try) - RockFate

    Suddenly this link will help?

    • Thank you .. but this is DirectSound .. I’m torturing DirectShow .. and have not met DirectSound ( - RockFate
    • Maybe I don’t understand something, but DirectShow is from the word Show .. it doesn’t work with sound .. - Vitaly Dyatlov
    • It works .. It is designed for easy playback and processing of sound and video .. Wikipedia says so .. yes it is true .. - RockFate