Guest User

Untitled

a guest
Oct 23rd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. from mingus.containers import *
  2. from mingus.midi import fluidsynth
  3.  
  4. import time
  5.  
  6. fluidsynth.init('SteinwayB211.sf2')
  7.  
  8. fluidsynth.play_Note(Note('C-4'))
  9. time.sleep(1)
  10. fluidsynth.stop_Note(Note('C-4'))
  11.  
  12. fluidsynth.play_NoteContainer(NoteContainer(["C", "E", "G"]))
  13. time.sleep(1)
  14. fluidsynth.stop_NoteContainer(NoteContainer(["C", "E", "G"]))
Add Comment
Please, Sign In to add comment