XNA Creators Club Online
Page 1 of 1 (14 items)
Sort Posts: Previous Next

Why not .MP3s?

Last post 05-14-2008 8:57 PM by The ZMan. 13 replies.
  • 05-12-2008 5:53 PM

    Why not .MP3s?

    Why does XACT only support WAV files?  WAV files take up too much precious space, with about 10 mb/minute.  MP3 files or WMA files would be much more space efficient, at about 1 mb/minute.  This would save a LOT of space and keep the quality of the audio.  So my question is, why only WAVs?
  • 05-12-2008 5:56 PM In reply to

    Re: Why not .MP3s?

    Answer

    Nick Gravelyn -- Microsoft XNA MVP
    Blog | The Best Game. Ever. | Next-Gen
  • 05-12-2008 6:30 PM In reply to

    Re: Why not .MP3s?

    Wow, thanks!  That cut the size of my game from 90mb to 19mb!
  • 05-12-2008 7:16 PM In reply to

    Re: Why not .MP3s?

    I have just read something about xna 3.0 and media class on abi.exdream.com. Benjamin mentioned some .mp3 codecs in new xna CTP.
     
    I thought those are licensed, rather hoped to see flac and ogg codecs. But It still makes me happy to see this.

    I don't know if this will be zune only or something.
  • 05-12-2008 7:23 PM In reply to

    Re: Why not .MP3s?

    There are no MP3 codecs in GS3.

    The Song/SoundEffect classes transcode the songs into .wma files at compile time for use on any of the platforms. I would assume it uses the MP3 decoder built into windows with media player to do this.

    I've not compared the file sizes for WMA but they should be comparable to MP3 and dont need the runtime license on 360 and zune.

    In theory I guess this means you could make a content processor which will do FLAC and OGG in the same way.


    The ZBuffer News and information for XNA
    Please read the forum FAQs - Bug reporting
  • 05-12-2008 8:29 PM In reply to

    Re: Why not .MP3s?

    The ZMan:
    In theory I guess this means you could make a content processor which will do FLAC and OGG in the same way.

    Like QuickXAP does, sort of.

    We are boki. The rest is known.
    The not so known part of the rest: It is Björn or Bjoern, but never Bjorn.
    Vote: Allow use of non-ASCII characters in names and titles
  • 05-12-2008 8:32 PM In reply to

    Re: Why not .MP3s?

    Exactly... hopefully Matthew will add options to convert to SOng/SoundEffect for 3.0 so that it doesn't only generate XAP files.

    The ZBuffer News and information for XNA
    Please read the forum FAQs - Bug reporting
  • 05-12-2008 8:43 PM In reply to

    Re: Why not .MP3s?

    I am positive that Matthew will put The ZMan requests into the high priority queue.
    We are boki. The rest is known.
    The not so known part of the rest: It is Björn or Bjoern, but never Bjorn.
    Vote: Allow use of non-ASCII characters in names and titles
  • 05-12-2008 9:01 PM In reply to

    Re: Why not .MP3s?

    If you supply a man with an illegal zune you own him for life ;-)

    The ZBuffer News and information for XNA
    Please read the forum FAQs - Bug reporting
  • 05-12-2008 9:33 PM In reply to

    Re: Why not .MP3s?

    That's like not only selling your Soul to the Borg but also to The ZMan... Luckily I turned down the offer to become an end point of such an activity :]
    We are boki. The rest is known.
    The not so known part of the rest: It is Björn or Bjoern, but never Bjorn.
    Vote: Allow use of non-ASCII characters in names and titles
  • 05-13-2008 2:48 PM In reply to

    Re: Why not .MP3s?

    The ZMan:
    Exactly... hopefully Matthew will add options to convert to SOng/SoundEffect for 3.0 so that it doesn't only generate XAP files.


    I haven't had the time to site down and get some"quality" time in with the new 3.0 Song/SoundEffect features so I am not sure what I can do in this regard but I will certainly have a look into it. In fact will give me something to do when the wife and I are in BC next week and she is flittering around with her family.

    Eitherway look for an updated 'public' release here soon. I think I may have the compile time issue solved but only coding and testing will tell :)

    Zman, boki, like I even remember who my soul belongs to after near 20 years of marriage and other sorted misfortunes.. =)


    Matthew Randall
    Casual Games Architect
    Exhale Game Studio

  • 05-14-2008 7:02 PM In reply to

    Re: Why not .MP3s?

    Also, MP3 encoding is a copyrighted system and you need to pay for a license to use it for redistribution. The nature of XNA would make that impossible.
  • 05-14-2008 7:13 PM In reply to

    Re: Why not .MP3s?

    DelvarWOrld:
    Also, MP3 encoding is a copyrighted system and you need to pay for a license to use it for redistribution. The nature of XNA would make that impossible.
    How so? You could license MP3 technology and use those MP3s inside of XNA provided you got a compatible codec. There's nothing stopping you from doing this if you wanted.

    Nick Gravelyn -- Microsoft XNA MVP
    Blog | The Best Game. Ever. | Next-Gen