[ scummvm-Feature Requests-557937 ] Support 44.1 khz mp3s

SourceForge.net noreply at sourceforge.net
Sat Aug 16 18:32:27 CEST 2003


Feature Requests item #557937, was opened at 2002-05-19 15:33
Message generated for change (Comment added) made by logicdeluxe
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=557937&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support 44.1 khz mp3s

Initial Comment:
Please support 44.1 khz mp3, this whould be cool 
especially for loom. The Quality of a 22.1 khz mp3 is 
not that good. 

thx

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

Comment By: Marek Roth (logicdeluxe)
Date: 2003-08-16 18:32

Message:
Logged In: YES 
user_id=123766

Since you once wrote that the new mixer code can handle any
output rates, please add a command line option and a
scummvm.ini entry for this!

And think about it! Adding command line parameter to extract
which let the user select the target rate would be a
solution to the resampling issue in ScummVM (for monster.sou
at least). Since the extract tool is not required to
resample in real time it would be no problem there, ie it
might take some hours without reducing the game experience.
If ScummVM can use a sample rate of 44100 Hz it could be
useful having a monster.sog/so3 with all sounds resampled to
44100 Hz, as well. That way ScummVM would not need to
resample them anymore. That way it could sound even better
than the hardware oversampling of many sound cards
(including the SB Live!), which in deed often uses just
linear interpolation like ScummVM. Since there are actually
no frequencies above 22 kHz in monster.sou this wouldn't
even increase the required bitrate. (You usually can encode
a 22 kHz mp3 with almost the same size and quality in 44 kHz
as well. I tried it with my discman, which also does badly
resampling on low rates.)
And not to forget that there are even recent sound cards
which don't support low rates at all.

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

Comment By: Nicolas Bacca (arisme)
Date: 2003-07-17 19:31

Message:
Logged In: YES 
user_id=459952

actually the PocketPC version is already downsampling to 11
kHz :)

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

Comment By: Marek Roth (logicdeluxe)
Date: 2003-07-08 18:26

Message:
Logged In: YES 
user_id=123766

Integrating a multi sample rate mixer would make the
resampling for monster.sog/monster.so3 obsolete. In addition
it would enabling the optional use of 44.1 kHz ogg/mp3 CD
tracks (Hence posting this here, since it is the main
advantage of this.).
The required real time resampling best could be done with a
linear interpolation (fast) and a fft lowpass (not that
fast) before downsampling (if this would the case at all)
and after upsampling to the target rate in order to avoid
alias and mirror frequencies. Since this would take a
serious amount of CPU time, this should be an option. You
still should be able doing all at 22050 Hz (or even lower,
if you wish, as 11111 would be enough for FOA, for example),
of course. The extract tool then would need a sort of
--no-resample switch.

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

Comment By: Per Wigren (pwigren)
Date: 2003-04-05 18:12

Message:
Logged In: YES 
user_id=136799

Try using OGG/Vorbis instead!  Loom sounds fine here, even
at -q 0 (about 40 kbps !!!)

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

Comment By: Andreas Brosche (plasmodium)
Date: 2003-03-05 13:41

Message:
Logged In: YES 
user_id=721510

Hmm, in ZSNES it is possible to change this at runtime,
maybe you can borrow some code there :-) 

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

Comment By: Max Horn (fingolfin)
Date: 2002-12-09 01:38

Message:
Logged In: YES 
user_id=12935

...and OGGs of course :-)

Note that this would require some major reworking of the
mixer at the current state. Also, we can't just switch to
44khz output, we would have to keep both 44khz and 22khz
possible, since the PocketPC version of ScummVM is already
strained with 22khz audio - 44khz simply would be too much
(talking in terms of processing power).

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=557937&group_id=37116




More information about the Scummvm-tracker mailing list