Help with dubtrain sound files please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    Help with dubtrain sound files please

    Hi all,

    Some time ago a guy called Dubtrain wrote some cool new sounds for Angband and put them up for download at www.dubtrain.com/angband. When I try to use them, I get no sound, and two different types of error messages whenever I trigger a sound effect:

    angband: Unrecognized sound file type: Invalid argument
    angband: Complex WAVE files not supported: Invalid argument

    All the sound files are in lib/xtra/sound and they are all .wav files. 'file' tells me they are "RIFF (little-endian) data, WAVE audio".

    Does anyone else use this sounds? Did you ever see/solve these errors?? There's nothing on dubtrain's site about these errors, and I presume he used them perfectly successfully.

    (He wrote them for 3.1.0, but sound handling hasn't changed since, and I get the same errors with 3.1.x versions.)
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9638

    #2
    If you're doing this in SDL, I think maybe the wavs don't work there. I transformed all the files to .mp3 - largely for size - and maybe did some tweaking to make them work (particularly in Windows, IIRC). FA currently has this setup, so it should be easy enough to put in to V. I would offer to do it myself except that I'm (a) playing O and (b) going to be pretty much AFK for a week from Sunday.
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    • Derakon
      Prophet
      • Dec 2009
      • 9022

      #3
      I downloaded the soundpack and opened some of them in Audacity; they seem to work fine. So at the very least, if there are format issues, Audacity could be used to fix them. Didn't try using them in Angband though, since I only have a laptop keyboard handy (and don't feel like learning the roguelike keyset right now).

      Comment

      • Twilight
        Apprentice
        • Jan 2009
        • 58

        #4
        Originally posted by Magnate
        Does anyone else use this sounds? Did you ever see/solve these errors?? There's nothing on dubtrain's site about these errors, and I presume he used them perfectly successfully.

        (He wrote them for 3.1.0, but sound handling hasn't changed since, and I get the same errors with 3.1.x versions.)
        I've used Dubtrain Angband Sound Pack v3.1.0 from time to time with a sound.cfg modified to use sounds only for buffs running out, shrieks and multiplies and perhaps some stuff I forget about. It works without a hitch for me in the latest nightly using Windows 7 64-bit.

        Edit: Seems to be working fine with Dubtrains original sound.cfg as well (tested a few sounds)
        It's better to burn out than to fade away!

        Comment

        • Magnate
          Angband Devteam member
          • May 2007
          • 5110

          #5
          Originally posted by Twilight
          I've used Dubtrain Angband Sound Pack v3.1.0 from time to time with a sound.cfg modified to use sounds only for buffs running out, shrieks and multiplies and perhaps some stuff I forget about. It works without a hitch for me in the latest nightly using Windows 7 64-bit.

          Edit: Seems to be working fine with Dubtrains original sound.cfg as well (tested a few sounds)
          Ok, if they work OTS for anyone then the problem must be at my end. I've seen it on more than one box so it's something to do with the Debian setup I think. I will fire up a Windows box and see if they work there.

          EDIT: yes - on WinXP I just unzip the 3.2 download from rephial, unzip dubtrain's sounds into lib/xtra/sound, and everything Just Works. Oh dear.
          Last edited by Magnate; December 31, 2010, 10:30.
          "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

          Comment

          • takkaria
            Veteran
            • Apr 2007
            • 1951

            #6
            Originally posted by Magnate
            Ok, if they work OTS for anyone then the problem must be at my end. I've seen it on more than one box so it's something to do with the Debian setup I think. I will fire up a Windows box and see if they work there.

            EDIT: yes - on WinXP I just unzip the 3.2 download from rephial, unzip dubtrain's sounds into lib/xtra/sound, and everything Just Works. Oh dear.
            It may also be SDL's mixer being a bit rough? AFAICR, Dubtrain's sounds are pretty high quality and that might pose an issue.
            takkaria whispers something about options. -more-

            Comment

            • Magnate
              Angband Devteam member
              • May 2007
              • 5110

              #7
              Originally posted by takkaria
              It may also be SDL's mixer being a bit rough? AFAICR, Dubtrain's sounds are pretty high quality and that might pose an issue.
              Thank you. I converted all the WAVs to oggs and they work fine. I have now finished the Debian packaging for 3.2, including Dubtrain's sounds, so I will offer those for upload to Debian now.
              "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

              Comment

              • Nick
                Vanilla maintainer
                • Apr 2007
                • 9638

                #8
                Originally posted by Magnate
                Thank you. I converted all the WAVs to oggs and they work fine. I have now finished the Debian packaging for 3.2, including Dubtrain's sounds, so I will offer those for upload to Debian now.
                I used .mp3 because it was easier to get Windows to play it, but I'm sure you know what you're doing
                Last edited by Nick; December 31, 2010, 23:22. Reason: Pointless stealth fixing of typo
                One for the Dark Lord on his dark throne
                In the Land of Mordor where the Shadows lie.

                Comment

                • Magnate
                  Angband Devteam member
                  • May 2007
                  • 5110

                  #9
                  Originally posted by Nick
                  I used .mp3 because it was easier to get Windows to play it, nut I'm sure you know what you're doing
                  Hah! Debian really doesn't get on with the licence of the mp3 codec, so it's best to avoid it if poss. Oggs will work out-of-the-box on Debian which is a plus.

                  Now as soon as the next nightly is sorted out, I can get back to comp97 ....
                  "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                  Comment

                  Working...
                  😀
                  😂
                  🥰
                  😘
                  🤢
                  😎
                  😞
                  😡
                  👍
                  👎