Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old December 31, 2010, 01:20   #1
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
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.)
Magnate is offline   Reply With Quote
Old December 31, 2010, 01:30   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,836
Donated: $60
Nick will become famous soon enough
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.
Nick is offline   Reply With Quote
Old December 31, 2010, 01:36   #3
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,918
Derakon is on a distinguished road
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).
Derakon is online now   Reply With Quote
Old December 31, 2010, 02:03   #4
Twilight
Apprentice
 
Twilight's Avatar
 
Join Date: Jan 2009
Location: Sweden
Posts: 58
Twilight is on a distinguished road
Quote:
Originally Posted by Magnate View Post
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!
Twilight is offline   Reply With Quote
Old December 31, 2010, 09:45   #5
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Twilight View Post
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 at 10:30.
Magnate is offline   Reply With Quote
Old December 31, 2010, 14:21   #6
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,936
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Magnate View Post
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-
takkaria is offline   Reply With Quote
Old December 31, 2010, 16:44   #7
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by takkaria View Post
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.
Magnate is offline   Reply With Quote
Old December 31, 2010, 23:08   #8
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,836
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by Magnate View Post
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
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.

Last edited by Nick; December 31, 2010 at 23:22. Reason: Pointless stealth fixing of typo
Nick is offline   Reply With Quote
Old December 31, 2010, 23:19   #9
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Nick View Post
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 ....
Magnate is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Not working at all froboz Vanilla 1 June 22, 2010 19:12
Does anyone have sound working? Mushuukyou Vanilla 22 May 7, 2010 04:19
Can't get sound working Mushuukyou Vanilla 0 February 27, 2010 07:59
SDL sound Nick Development 1 July 16, 2009 22:14
Sound configuration nurak Vanilla 6 May 14, 2008 11:23


All times are GMT +1. The time now is 03:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.