locked
One-way XAudio2 beats analysis

    Question

  • Hello,

    I have a little problem with understanding XAudio2. Usually I work in c# but in my situation I was forced to learn c++/cx, but I do not know how to solve my issue anyway.

    I need to take a sound stream and recognize beats in the track and after that play the voice. Unfortunately I cannot get voice track before playing it using XAPO. Is that possible to use XAudio2 in this case or should I use any other library?

    Thanks.

    Tuesday, October 29, 2013 7:16 PM

Answers

All replies

  • With xaudio2 you load in the file to a buffer then play it.

    So you can read the buffer to analyse the sound data to extract the beat.


    n.Wright

    Wednesday, October 30, 2013 12:42 AM
  • Hi Jonas Kulhanek,

    Welcome to MSDN forum!

    It is possible.XAudio2 is the successor to DirectSound and the Xbox XAudio library, and it’s
    probably your best bet for Windows Store apps that need to do interesting things
    with sound.

    Please refer this article, maybe it could help you to make a idea:

    http://msdn.microsoft.com/en-us/magazine/jj883962.aspx

    Regards!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Wednesday, October 30, 2013 3:07 AM
    Moderator
  • Am I able to load all song into the buffer and analyze without playing it? How I can access the sound data?

    Thanks,

    Jonas

    Wednesday, October 30, 2013 9:41 AM