Ambrosia Garden Archive
    • Sound file size


      Does anyone know if there is a maximum size for aiff sound files? I have a section in a game where, depending on a global, one of about a dozen sounds is played. All work correctly except for the largest, 196k. When that one should be heard, there is no sound. The file itself plays just fine when click in the Finder.

      ------------------
      Insert profound thought
      or clever witticism here

    • Quote

      Originally posted by Codewizard:
      **Does anyone know if there is a maximum size for aiff sound files? I have a section in a game where, depending on a global, one of about a dozen sounds is played. All work correctly except for the largest, 196k. When that one should be heard, there is no sound. The file itself plays just fine when click in the Finder.

      **

      you might have too many playing at once. I think that you can only play up to six at a time, before you can't hear the others. At least that is how it sort of works in quicktime.

      ------------------
      -The ZeroWarrior

    • Quote

      Originally posted by zerowarrior150:
      **you might have too many playing at once. I think that you can only play up to six at a time, before you can't hear the others. At least that is how it sort of works in quicktime.
      **

      She said she had only one sound playing (out of a dozen choices) so that is not the problem.

      Codewizard, what happens if you take this sound and link it to another event somewhere to test if the problem is somewhere in the rendition of the sound? A simple test would determine if the game plays it free of the global structure you have created. Then, if not, you might be able to check for other things which may be wrong with it.

      Just a thought. What happens if you break up the sound into sections to be played one after another or is this not possible? ~RD

      ------------------
      My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad.
      The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages.
      (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/damsels.sit?path=pog/addons&file;=damselsV1.1.sit")Damsels in Distress(/url) - A plugin for PoG.

    • Have you tried different formats?

      ------------------
      Pilky
      (url="http://"http://www.mcubed.cjb.net")M cubed homepage(/url)
      (url="http://"http://scorpius.spaceports.com/~pilky/coldstonecentre/home.html")Coldstone Resource Centre(/url)
      Cheesiest film line of all time "Flash I love you but we only have 14 hours to save the earth" from Flash Gorden

    • Codewizard, I have had problems with this as well. In the CS user's guide it says that sounds need to be 8-bit and IMA encoded. There's just one problem. IMA encoded files HAVE to be 16 bit. Don't worry, though. After some tinkering I realized that the bit doesn't matter. It's the encoding. Now, make sure that it is IMA encoded. A nice, simple program that can edit the encoding of a sound is SoundApp. If it is not encoded in this way, the sound simply will not play. If this is not the problem, check to make sure your file name has ".aiff" attatched to the end.
      -OgreBob

      ------------------
      "Stiney! Get me a danish!"

    • Ah. Thanks everyone. From the manual it states sound files must be AIFF format, IMA encoded, and mono channel. I knew the format of my files, but that was all I knew. SoundApp. I used this program maybe once last year and promptly forgot I had it. With SoundApp's Get Info, I checked each of the files for differences. Most are 8 bit, a couple are 16, so I guess that doesn't matter. The encoding on most of them is "linear (PCM)" and the others are IMA. So maybe that doesn't matter, either? The one thing different on the problem file was it was stereo. I converted it and now it works like a charm! It is also down to 26k.

      ------------------
      Insert profound thought
      or clever witticism here

      (This message has been edited by Codewizard (edited 09-19-2003).)

    • Quote

      Originally posted by Codewizard:
      sound files must be AIFF format, IMA encoded, and mono channel.

      I'm glad you found the problem and thanks for sharing the info with us. It is interesting that some of the "must be's" are important and others not so. Would you be so kind as to tell us who supplies SoundApp and can it be downloaded? I, for one, would like to use this on some sounds I could not get to work. ~RD

      ------------------
      My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad.
      The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages.
      (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/damsels.sit?path=pog/addons&file;=damselsV1.1.sit")Damsels in Distress(/url) - A plugin for PoG.

    • Quote

      Originally posted by Rubber Ducky:
      Would you be so kind as to tell us who supplies SoundApp and can it be downloaded?

      SoundApp

      Quote

      This is the WWW home for my PowerPC native freeware sound player and converter for the Macintosh, SoundApp. It requires at least System 7.0, Apple's Sound Manager 3.1 or greater, the Drag Manager (aka Macintosh Drag and Drop, part of System 7.5) and at least a Macintosh with a 68020 or a Power Macintosh. QuickTime 2.0 or greater is required to manipulate QuickTime movies.

      Translations are available in the following languages:

      Japanese at: http://www.naotaka.com/SoundApp/.
      French at: http://www.bonnaure.com/.
      Dutch (Nederlands) at: http://www.soundappnl.cjb.net/
      Italian at: http://audiotime.com/soundapp
      German at: http://www.GeoCities...mboyx/soundapp/

      ------------------
      (url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
      (url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

    • soundApp (url="http://"http://www.spies.com/~franke/SoundApp/")http://www.spies.com/~franke/SoundApp/(/url)

      ------------------

      ... bwahhaaaaahaaaaaugh fooooolish sammurai.

    • If you have QuickTime Pro (which is, of course, not freeware) you can also quite easily convert sound files to the correct encoding via the "File:Export" option. If you don't have QTPro, I highly recommend it.

      Also, something I've just thought of, if you wanted to save on file size for, say, music tracks in Coldstone, it might be worth thinking about encoding them in AAC format, which Quicktime 6 supports. Of course, this does limit the audience a bit.... but, something to think about. 🙂

      -Andiyar

      ------------------
      "Any good that I may do here, let me do now, for I may not pass this way again"