aliens
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
November 10, 2024, 01:21:14 am
News:
If you can't login, please
contact us
with your username and e-mail so we can fix it.
Home
Help
Search
Calendar
Login
Register
OpenXcom Forum
»
Contributions
»
Programming
»
audio: default sample rate (discuss )
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: audio: default sample rate (discuss ) (Read 4313 times)
kevL
Colonel
Posts: 482
pitchforks and torches
audio: default sample rate (discuss )
«
on:
September 08, 2013, 09:56:57 pm »
Engine/Options.cpp, createDefault(), line 111 sets the default sample rate in options.cfg ...
the value is currently "22050". A problem is that the
original files
have a rate of 11.025k. The result sounds harsh to this audio-engineer's ears
Suggest: changing the default value to "11025"
caveat, results may be system dependent.
--
difference between oXc and UFO:
oXc,
https://www.youtube.com/watch?feature=player_detailpage&v=MMLb7dpO9fE#t=455
- tinny metallic zing (sort of an aftereffect)
UFO,
https://www.youtube.com/watch?feature=player_detailpage&v=2W0DnuLQpQ0
- normal (muted slightly due to recording, and the 5.5k cutoff of the lower sample rate)
«
Last Edit: September 08, 2013, 10:04:33 pm by kevL
»
Logged
SupSuper
Lazy Developer
Administrator
Commander
Posts: 2162
Re: audio: default sample rate (discuss )
«
Reply #1 on:
September 09, 2013, 03:33:52 am »
It's because 22050Hz 16-bit are "standard" and cause no problems across systems. Different settings can make SDL_Mixer not play anything or just die on various platforms, so it's left as an option for the audio purists.
And technically the original is 11025Hz 8-bit
(or 8000 6-bit for original DOS version)
Logged
kevL
Colonel
Posts: 482
pitchforks and torches
Re: audio: default sample rate (discuss )
«
Reply #2 on:
September 09, 2013, 04:12:48 am »
ok Sup, i figured there was a reason
but the difference to me is glaring and extremely *annoying* ... it was probly the very first thing I changed in options.cfg
thanks,
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
OpenXcom Forum
»
Contributions
»
Programming
»
audio: default sample rate (discuss )