pyfluidsynth icon indicating copy to clipboard operation
pyfluidsynth copied to clipboard

AttributeError: module 'fluidsynth' has no attribute 'Synth'

Open enosjeba opened this issue 4 years ago • 0 comments

def display_audio(pm: pretty_midi.PrettyMIDI, seconds=30): waveform = pm.fluidsynth(fs=sampling_rate) waveform_short = waveform[:seconds*sampling_rate] return display.Audio(waveform_short, rate=sampling_rate)

This is the Code, I installed fluidsynth by pip install --upgrade pyfluidsynth

enosjeba avatar Feb 04 '22 12:02 enosjeba