locked
Playing Music Notes in Windows RT

    Question

  • I am trying to create a simple Piano App for Windows RT (Windows Store App).  I am a novice and I have been searching for code samples to send musical notes to PC speaker. I discovered that this was more difficult than I thought.  I don't know C++ so I am trying to avoid using DirectSound/DirectMusic.  I found this newly released WindowsPreview.Devices.MIDI API but I am not able to send MIDI Messages to Speaker. 

    All I am looking for is a simple equivalent to Console.Beep in WinRT. Any help would be greatly appreciated. Thank you.

    Saturday, May 10, 2014 9:03 PM

Answers

  • Your best bet will be to include audio files for the notes you want to use and play them in a MediaElement
    Saturday, May 10, 2014 9:31 PM
    Owner