Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Grand Piano



The Grand Piano sample demonstrates how to integrate sound into Microsoft Surface applications based on the Presentation layer.

Grand Piano sample application

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.

Did you find this information useful? Please send us your suggestions and comments.

© Microsoft Corporation. All rights reserved.
Show:
© 2015 Microsoft