GuitarsAI / BasicAutoTranscriptionRepo

Basics of Pitch Estimation and Automatic Music Transcription
54 stars 17 forks source link

Jan 2023 Music 21 Update Error #1

Open b-owen17 opened 1 year ago

b-owen17 commented 1 year ago

Latest update in durationTupleFromTypeDots(durType, dots) in Duration.py is causing the code segment below to result in error: DurationException: Unknown type: inexpressible

# Array of music information - Sinewave, MIDI Notes and muisc21 Notes
notes=[]
for i in range(len(onsets[1])-1):
  notes.append(estimate_pitch_and_notes(CdB, onsets[1], i, sr=fs))
music_info=np.array(notes)
hcagri commented 1 year ago

Hi,

Have you find a solution to that error, I also have the same issue and downgrade music21 to 5.5 but the problem still remains.

Jimmy-L4 commented 10 months ago

Hello, I also encountered the same problem. Have you finally resolved it?