spotify / basic-pitch

A lightweight yet powerful audio-to-MIDI converter with pitch bend detection
https://basicpitch.io
Apache License 2.0
3.43k stars 268 forks source link

[Feature Request] Add GM Midi program number for output channel #80

Closed tj64 closed 1 year ago

tj64 commented 1 year ago

I have a problem somehow related to issue14 using the webversion basicpitch.

Importing mp3 files with a single instrument

I receive impressivly good sounding midi files, but importing them to musescore always gives me two staffs for Midi Channel 1 (electric piano).

Then, these two staffs might be two bass clefs or, in the guitar recording, permanently switch clef between bass and treble, sometimes with bass clef in the upper and treble clef in the lower staff.

In combination with issue72 , i.e. extreme granularity in the score, while the music itself is actually mostly quarter and eight notes, the score becomes almost unreadable. I cannot find any granularity slider in the webapp as is mentioned in this issue.

Feature Request: would it be possible to add an import parameter "midi instrument" GeneralMIDI , so that a bass would be imported as program number 33 (-> one staff, bass clef), a jazz guitar as program number 27 (-> one staff , treble clef, notated one octave lower) etc ?

tj64 commented 1 year ago

OK, I just figured out that it can be done in Musescore, e.g. for the guitar file:

Then it's actually quite readable. Sorry for the noise , I close this issue.