Error when running to Transcribe Audio
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 224
- Avg merge
- 54m
- Merged PRs (30d)
- 1
Description
ImportError Traceback (most recent call last)
in ()
22
23 note_seq.play_sequence(est_ns, synth=note_seq.fluidsynth,
---> 24 sample_rate=SAMPLE_RATE, sf2_path=SF2_PATH)
25 note_seq.plot_sequence(est_ns)
4 frames
/usr/local/lib/python3.7/dist-packages/pretty_midi/instrument.py in fluidsynth(self, fs, sf2_path)
454
455 if not _HAS_FLUIDSYNTH:
--> 456 raise ImportError("fluidsynth() was called but pyfluidsynth "
457 "is not installed.")
458
ImportError: fluidsynth() was called but pyfluidsynth is not installed.
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the transcription example at the note_seq.play_sequence call shown in the traceback, then check the pyfluidsynth dependency reported by pretty_midi.instrument.py. Done means the example runs past the fluidsynth ImportError and produces the expected transcription output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100