NoteWorthy Composer Forum

Forums => General Discussion => Topic started by: Brian W on 2010-05-25 04:20 PM

Title: Unidentified Midi?
Post by: Brian W on 2010-05-25 04:20 PM
For a while now, I have been using NWC without too many errors.  But recently, I have found some Midi files that are not compatible with NWC.  Though they are classified as "Midi", the program does not recognize the file as an Midi nor a Song file on import.

If I try to drag the file into the program, I get the message:

"NoteWorthy Composer does not recognize the file type 'midi', so it is unable to open the file."

Is there a specific type of midi that NWC does not work with?  I have tried this with many different files (not obtained by the same source on the web).  And if possible a solution?

Brian W
Title: Re: Unidentified Midi?
Post by: Flurmy on 2010-05-25 04:31 PM
A possibility is that the file is in reality an RMI (RIFF MIDI).
It's nothing more than a MIDI file encapsulated in a RIFF chunk, but must be recognised as such.

Do some other MIDI players play it?
Title: Re: Unidentified Midi?
Post by: NoteWorthy Online on 2010-05-25 04:43 PM
NWC has hard coded file extension detection. You probably need to change the filetype to .mid (drop the ending 'i' from the extension).
Title: Re: Unidentified Midi?
Post by: Brian W on 2010-05-25 07:58 PM
Problem fixed!  Thank you for the suggestion of changing the file extension to *.mid, it works like a charm!
Title: Re: Unidentified Midi?
Post by: Rick G. on 2010-05-25 08:08 PM
A possibility is that the file is in reality an RMI (RIFF MIDI).
NWC will open RIFF MIDI files that are incorrectly given the extension 'mid' or 'kar (http://url=http://ntworthy.com/nwc2/help/faq_karfiles.htm)'.
Title: Re: Unidentified Midi?
Post by: Flurmy on 2010-05-26 06:35 AM
Sorry, I didn't see the final "i" in the extension.

Traditionally the extensions were of max 3 chars, ok, but now more is allowed (see "nwctext"), so why NWC doesn't accept "midi"?
Title: Re: Unidentified Midi?
Post by: Lawrie Pardy on 2010-05-26 01:36 PM
Traditionally the extension were of max 3 chars, ok, but now more is allowed (see "nwctext"), so why NWC doesn't accept "midi"?

Already explained here:
NWC has hard coded file extension detection. You probably need to change the filetype to .mid (drop the ending 'i' from the extension).

..but perhaps worth an enhancement request..?
Title: Re: Unidentified Midi?
Post by: NoteWorthy Online on 2010-05-26 01:43 PM
No need. The .midi extension will be recognized in the next release.
Title: Re: Unidentified Midi?
Post by: Rick G. on 2010-05-26 03:47 PM
Seems to be an evolving standard.
Media players clear back to Win 3.1 display (*.mid,*.rmi) in the Open dialog.
WinXP's mplay32.exe displays (*.mid,*.rmi)
WinXP's wmplayer.exe displays (*.mid,*.rmi,*.midi)

For drag and drop operations, it might be best to ignore the extension and check signatures.
It is a short list:
Of course, a 'kar' (http://ntworthy.com/nwc2/help/faq_karfiles.htm) extension would still be needed to trigger karaoke interpretation of MIDI files.