The Grand Piano sample demonstrates how to integrate sound into Microsoft Surface applications based on the Presentation layer.
API Concepts Exposed
This sample shows how to:
Integrate sound with controls by using XACT, a cross-platform audio creation tool shipped as part of Microsoft XNA Game Studio 4.0.
Use audio files for each key's sound in the wave bank in XACT.
Build a multitouch experience by using simple Microsoft Windows Presentation Foundation (WPF) controls.
Produce simultaneous and overlapping sounds when multiple keys are pressed.
Have a note continue to play while the corresponding key is pressed.
Associate a key's sound with an audio Cue that can be called from a Microsoft XNA or WPF application.
© Microsoft Corporation. All rights reserved.