Guest User

Untitled

a guest
Jan 22nd, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. private void button1_Click(object sender, EventArgs e)
  2. {
  3. SoundTouchSharp st = new SoundTouchSharp();
  4. st.CreateInstance();
  5. st.SetTempo((float)0.1);
  6. st.SetPitch(8);
  7.  
  8. SoundPlayer sp = new SoundPlayer();
  9. sp.SoundLocation = "./piano.wav";
  10. sp.Load();
  11. sp.Play();
  12.  
  13. st.Dispose();
  14. }
Add Comment
Please, Sign In to add comment