Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from mingus.containers import *
- from mingus.midi import fluidsynth
- import time
- fluidsynth.init('SteinwayB211.sf2')
- fluidsynth.play_Note(Note('C-4'))
- time.sleep(1)
- fluidsynth.stop_Note(Note('C-4'))
- fluidsynth.play_NoteContainer(NoteContainer(["C", "E", "G"]))
- time.sleep(1)
- fluidsynth.stop_NoteContainer(NoteContainer(["C", "E", "G"]))
Add Comment
Please, Sign In to add comment