02-14-2013, 01:44 AM
(02-14-2013, 12:57 AM)hyakki Wrote: interesting, tracking down the correct SF was troublesome (9.0e), anyways it can be used to replace the default converter just edit '<jpcsp>\lib\windows-amd64\DecodeAudio.bat'
and change to
Code:@echo off
set name=%~n1
lib\windows-amd64\atrac3plus2wav.exe %1
rename %1.wav %name%.wav
Although it works and converts mono, I quickly tested Wildarms XF and the voice (mono at3+) has a high pitch noise to it within Jpcsp, stereo files sound/play fine like before, so maybe Jpcsp is trying to play the mono wav in stereo. possibly a fixable jpcsp bug or running the wav through another converter like ffmpeg to convert to stereo.
"44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)"
Hopefully an open source alternative will be available soon.
Yes, I modified the module150/sceAtrac3plus.java
Code:
setAtracOutputChannels(codecType == PSP_MODE_AT_3_PLUS ? atracChannels : 2);
-->
setAtracOutputChannels(2);
Tales of the World - Radiant Mythology 2 ULJS00175
Tales of the World - Radiant Mythology 3 NPJH50353
Shining Hearts NPJH50342
By the way, my DecodeAudio.bat looks like this:
Code:
@echo off
lib\windows-amd64\atrac3plus2wav.exe %1
move %1.wav %2
IF NOT EXIST "%2" ( lib\windows-amd64\HIMDRender.exe -e -i %1 -o %2 )