You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using Mingus 0.6.1
I'm trying to play a composition with a piano instrument using fluidsynth. This is my code.
from mingus.containers import Composition, MidiInstrument, Bar, Note, Track
from mingus.midi import fluidsynth
m = MidiInstrument('Piano')
b = Bar()
b + Note('C')
b + Note('E')
b + Note('A')
b + 'E'
c = Bar()
c + Note('G')
c + 'C'
c + 'E'
c + Note('C', 5)
t = Track()
t + b
t + c
t2 = Track()
t2 + b
t2 + b
t2.instrument = m
c = Composition()
c + t
c + t2
fluidsynth.play_Composition(c)
The text was updated successfully, but these errors were encountered:
Hi,
I'm using Mingus 0.6.1
I'm trying to play a composition with a piano instrument using fluidsynth. This is my code.
The text was updated successfully, but these errors were encountered: