Skip to content

Error : AttributeError: 'FluidSynthSequencer' object has no attribute 'sfid' #80

Open

Description

@goldytech

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions