Author Topic: "unsupported file type" error when loading ANY wav file  (Read 4217 times)

Offline moltres_rider

  • Inspired artist
  • **
  • Posts: 80
  • Moltres Rider and Poképhile
  • Operating System: Windows 7 32-Bit
something in Modplug is all of a sudden borked!!! every time I load ANY wav file into an instrument I get the following error: "Unsupported File Type"

this happens with ALL wav files and all Module formats and I seem to cannot find what is wrong!!!

Offline jmkz

  • Workaholic artist
  • ***
  • Posts: 218
  • Operating System: Windows 10 x64
Re: "unsupported file type" error when loading ANY wav file
« Reply #1 on: July 29, 2012, 09:08:01 »
Can you provide a short WAV file?

PD: I used to get those errors when I'm not loading in the right way.

Offline LPChip

  • Administrator
  • *****
  • Posts: 5,135
    • http://lpchip.nl
  • Operating System: Windows 10 Pro x64
Re: "unsupported file type" error when loading ANY wav file
« Reply #2 on: July 29, 2012, 11:39:58 »
Could be that somehow you're missing a codec. Did you recently changed something related to video/audio playback or encoding?
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,507
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Re: "unsupported file type" error when loading ANY wav file
« Reply #3 on: July 29, 2012, 11:52:50 »
Could be that somehow you're missing a codec. Did you recently changed something related to video/audio playback or encoding?
OpenMPT doesn't rely on external codecs. All sample loaders are implemented in OpenMPT itself.

Other than that, OpenMPT loads all "normal" WAV files here as it always did (so your "ANY!!!!" argument is not valid). OpenMPT never was able to load compressed WAV files (such as MP3- or WMA-compressed WAVs), so naturally it will fail to load these.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline moltres_rider

  • Inspired artist
  • **
  • Posts: 80
  • Moltres Rider and Poképhile
  • Operating System: Windows 7 32-Bit
Re: "unsupported file type" error when loading ANY wav file
« Reply #4 on: July 29, 2012, 22:14:43 »
if it IS  a compression issue, why is Audacity all of a sudden compressing wavs without my knowledge???

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,507
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Re: "unsupported file type" error when loading ANY wav file
« Reply #5 on: July 29, 2012, 22:20:08 »
How am I supposed to know, I'm not sitting in front of you computer and you're not exactly generous with providing information which could help us to help you.

Now that you mention that you are using Audacity, there is the possibility that Audacity locks files while they are open in that application; some audio editors do that and I wouldn't be surprised if Audacity did the same. So as a first thing to try, close the file in question in Audacity before opening it in OpenMPT.
It's also possible that you are exporting the file in an uncompressed format that OpenMPT doesn't know; you should verify that the file has two channels (stereo) at most, and its bit depth should be no higher than 32-Bits. Only PCM and Float type WAV files are supported.
If all of this doesn't help, upload a small (!) example file with which you can reliably reproduce the problem.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.