This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-11-01 01:37:53

rico
Scratcher
Registered: 2007-05-22
Posts: 47

MIME type for .gm files (as in soundbank.gm)?

Would anyone happen to know what MIME type the extension ".gm" (as in, soundbank.gm) is supposed to be listed as? (I'm hosting Scratch files on a school intranet running Windows Server 2003, IIS6.) I have tried "audio/basic" and "application/x-java-applet" and both work, but I suspect neither is correct.

Last edited by rico (2007-11-01 01:41:46)

Offline

 

#2 2007-11-01 09:42:05

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: MIME type for .gm files (as in soundbank.gm)?

Hi, Rico.

filext.com does not list a particular MIME type for .gm files.

I'd go with application/octet-stream; that should work fine with the Scratch Java applet.

  -- John

Offline

 

#3 2007-11-01 14:34:38

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: MIME type for .gm files (as in soundbank.gm)?

I believe that midi files are supposed to use either
audio/sp-midi
or
audio/midi
depending on whether or not they handle scalable polyphony.

Offline

 

#4 2007-11-01 20:05:34

rico
Scratcher
Registered: 2007-05-22
Posts: 47

Re: MIME type for .gm files (as in soundbank.gm)?

Thank you very much Kevin and John. I tried both, and both seemed to work (as did the other two I tried)... I guess browsers are very forgiving; the important part is having the extension listed in the MIME Tables so that the server will serve up the file. Sorry for the double posting, I thought a brief posting with a more specific subject line was in order. Oh and thank you Andres for the energy you pumped into solving this problem.

Offline

 

Board footer