Bugzilla – Bug 1696
Dragging MIDI track into Audacity says the file can't be played
Last modified: 2018-08-20 11:51:49 UTC
On dragging a .MID file into an open Audacity window, an error dialog shows: Error Importing "path/filename.mid" is a MIDI file, not an audio file. Audacity cannot open this type of file for playing, but you can edit it by clicking File > Import > MIDI The message is very misleading as Audacity can now play MIDI files on OSX.
On W10 audacity-win-r36dcddf-2.2.0-alpha-19-jul-17 Dragging and dropping a MIDI file does not create a Note track - bath rather uses "Import Audio" to inport the file as a converted audio file. Related note: it is possible to use File>Import Audio on Windows to similarly convert (not very well) the MIDI into an audio file. I don't theink that we should be allowing that now that we have MIDI playback.
(In reply to Peter Sampson from comment #1) That has probably been fixed in the next nightly. https://github.com/audacity/audacity/commit/cfab325af
Correct, I recently committed so that the bad rendering of Midi as a Wave track done by FFmpeg is blocked. But with a little more work, drag-and-drop can be made to go the proper path of Midi import.
Done at https://github.com/audacity/audacity/commit/69d6f36ef6e1c6f84082ca7c29f663e4eae4c7ab Now that drag-and-drop works for either Midi or audio, it seems a nuisance that the menus can't also make import a single thing. But, we are feature-frozen now.
RESOLVED FIXED On Windows tested drag and drop of .mid and .midi file, and got note track. Cool. .wav and .mp3 still drag and drop fine. Looked at code and reckon this is test_Single_OS, so marked it so.
Actually it's QUICKFIXED
(In reply to James Crook from comment #5) Tested ok on macOS Sierra 10.12.5 with Cliff's 21Jul17 build