title: How to synthesize piano sounds in android/java
body: <p>I have made a few simple apps on android, and thought it was time for something a bit more complex. So, i thought I'd try something that's already out there, but build it from scratch.
  <br /><br />
  The idea is to create an app that allows user to play piano by pressing virtual keys on the display. But I'm not sure how to go about synthesizing the sound of each note, is it best to have copies of of each note stored on file, or is there a more dynamic way of synthesising notes and chords on the fly.
  <br /><br />
  I have worked with C++ so NDK stuff is also okay.
  Thanks for any help.</p>