Posts: 13
Threads: 0
Joined: Dec 2011
Reputation:
0
jame_peng, thanks, it works with mono at3, but the sound is really choppy
Posts: 2,420
Threads: 30
Joined: Dec 2009
Reputation:
50
03-29-2013, 04:29 PM
(This post was last modified: 03-29-2013, 04:29 PM by gid15.)
(03-29-2013, 03:09 PM)gid15 Wrote: I've investigating the problem where mono audio is played as stereo (high pitched). I've found a new parameter in r3078 controlling the mono/stereo for sceAtracLowLevel. Could you retest several games?
Thank you!
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Posts: 852
Threads: 26
Joined: Jun 2010
Reputation:
10
03-29-2013, 04:34 PM
(This post was last modified: 03-29-2013, 04:46 PM by serio.)
it's not working now.
the files are extracted and converted, but they aren't played by the emulator because the output filename is different.
Code: 56188 [AT3 play thread] ERROR me - java.io.FileNotFoundException: F:\emu\psp\_tmp\NPJH50222\Atrac\Atrac-00002980-09AC81C0.wav (The system cannot find the file specified)
56188 [AT3 play thread] ERROR me - MediaEngine: Invalid container format!
56188 [AT3 play thread] ERROR me - MediaEngine: No audio streams found!
the file in question is saved as Atrac-00002980-09AC81C0.oma.wav
i'm guessing the bat file needs few adjustments. this is probably related to atrac3plus2wav.exe part since it's the only one that can convert mono oma files.
replacing
rename %1.wav %2
with
move %1.wav %2
fixes it.
edit: after fixing the bat up, the sounds now work fine in ikkitosen. both mono and stereo ones play at the right pitch. nice work.
Posts: 30
Threads: 3
Joined: Feb 2013
Reputation:
0
03-29-2013, 04:40 PM
(This post was last modified: 03-29-2013, 04:45 PM by jame_peng.)
(03-29-2013, 04:29 PM)gid15 Wrote: (03-29-2013, 03:09 PM)gid15 Wrote: I've investigating the problem where mono audio is played as stereo (high pitched). I've found a new parameter in r3078 controlling the mono/stereo for sceAtracLowLevel. Could you retest several games?
Thank you!
wow!gid ,congratulation!
in the 3078 version(just tested the FATE:CCC game,because this game have many AT3+ audio data)
detail:there are a lot of AT3+ audio can playing now,but some of audio data likely incomplete,just play a little part of the AT3+ data。
Posts: 2,420
Threads: 30
Joined: Dec 2009
Reputation:
50
03-29-2013, 04:47 PM
(This post was last modified: 03-29-2013, 04:48 PM by gid15.)
(03-29-2013, 04:34 PM)serio Wrote: replacing
rename %1.wav %2
with
move %1.wav %2
fixes it. ??? I'm wondering what is the difference?
(03-29-2013, 03:21 PM)serio Wrote: @gid:
while trying to fix the high pitched voice, can you also look at the at3/oma file naming/hashes? the emulator sometimes mistakes some files for others. i think the emulator will wrongly assume some files it's about to extract are the same as different ones it already extracted, maybe because of apparently identical hashes and will play the wrong file. the hash codes might be too simple, or there's some problem in their generation. Could you point me to a specific game thread where I could find a log file?
Thank you!
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Posts: 852
Threads: 26
Joined: Jun 2010
Reputation:
10
03-29-2013, 04:56 PM
(This post was last modified: 03-29-2013, 04:59 PM by serio.)
i have this happening in ikkitousen. all i have to do is change the announcer voice actor, and things start to mess up.
one example is
Code: 44625 [AT3 play thread] INFO hle.IoFileMgrForUser - hleIoOpen filename = disc0:/sce_lbn0x4f300_size0x23a0 flags = 1 permissions = 00
44641 [AT3 play thread] INFO hle.sceAtrac3plus - hleAtracSetData atracID=1, buffer=0x09AC81C0, readSize=0x23A0, bufferSize=0x23A0, fileSize=0x23A0
44641 [AT3 play thread] INFO hle - AT3+ data decoded by the external decoder.
45610 [AT3 play thread] INFO hle.IoFileMgrForUser - hleIoOpen filename = disc0:/sce_lbn0x4ea80_size0x23a0 flags = 1 permissions = 00
45625 [AT3 play thread] INFO hle.sceAtrac3plus - hleAtracSetData atracID=1, buffer=0x09AC81C0, readSize=0x23A0, bufferSize=0x23A0, fileSize=0x23A0
45625 [AT3 play thread] INFO hle - AT3+ data decoded by the external decoder.
it should play a different voice sample for story mode and adhoc mode (it does on psp), but it uses the story mode one for both here (sce_lbn0x4ea80_size0x23a0 is the one for story mode. i think the sound from this one's used for both. the filename in temp is Atrac-000023A0-09A80180.wav).
Posts: 2,420
Threads: 30
Joined: Dec 2009
Reputation:
50
(03-29-2013, 04:47 PM)gid15 Wrote: (03-29-2013, 04:34 PM)serio Wrote: replacing
rename %1.wav %2
with
move %1.wav %2
fixes it. ??? I'm wondering what is the difference? Fix now available in r3079.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Posts: 30
Threads: 3
Joined: Feb 2013
Reputation:
0
03-29-2013, 04:58 PM
(This post was last modified: 03-29-2013, 05:15 PM by jame_peng.)
(03-29-2013, 04:34 PM)serio Wrote: it's not working now.
the files are extracted and converted, but they aren't played by the emulator because the output filename is different.
Code: 56188 [AT3 play thread] ERROR me - java.io.FileNotFoundException: F:\emu\psp\_tmp\NPJH50222\Atrac\Atrac-00002980-09AC81C0.wav (The system cannot find the file specified)
56188 [AT3 play thread] ERROR me - MediaEngine: Invalid container format!
56188 [AT3 play thread] ERROR me - MediaEngine: No audio streams found!
the file in question is saved as Atrac-00002980-09AC81C0.oma.wav
i'm guessing the bat file needs few adjustments. this is probably related to atrac3plus2wav.exe part since it's the only one that can convert mono oma files.
replacing
rename %1.wav %2
with
move %1.wav %2
fixes it.
edit: after fixing the bat up, the sounds now work fine in ikkitosen. both mono and stereo ones play at the right pitch. nice work.
awesome,with this change:All the AT3+ audio can playing now!
but strangely that some voice was confusing!
Posts: 2,420
Threads: 30
Joined: Dec 2009
Reputation:
50
(03-29-2013, 04:56 PM)serio Wrote: i have this happening in ikkitousen. all i have to do is change the announcer voice actor, and things start to mess up.
one example is
Code: 44625 [AT3 play thread] INFO hle.IoFileMgrForUser - hleIoOpen filename = disc0:/sce_lbn0x4f300_size0x23a0 flags = 1 permissions = 00
44641 [AT3 play thread] INFO hle.sceAtrac3plus - hleAtracSetData atracID=1, buffer=0x09AC81C0, readSize=0x23A0, bufferSize=0x23A0, fileSize=0x23A0
44641 [AT3 play thread] INFO hle - AT3+ data decoded by the external decoder.
45610 [AT3 play thread] INFO hle.IoFileMgrForUser - hleIoOpen filename = disc0:/sce_lbn0x4ea80_size0x23a0 flags = 1 permissions = 00
45625 [AT3 play thread] INFO hle.sceAtrac3plus - hleAtracSetData atracID=1, buffer=0x09AC81C0, readSize=0x23A0, bufferSize=0x23A0, fileSize=0x23A0
45625 [AT3 play thread] INFO hle - AT3+ data decoded by the external decoder.
it should play a different voice sample for story mode and adhoc mode (it does on psp), but it uses the story mode one for both here (sce_lbn0x4ea80_size0x23a0 is the one for story mode. i think the sound from this one's used for both. the filename in temp is Atrac-000023A0-09A80180.wav). Would it be possible to extract both audio files? I would like to check if the headers are somewhat different so that I could use a hash on them. Currently, I just use the buffer address and size, not the content.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Posts: 13
Threads: 0
Joined: Dec 2011
Reputation:
0
Tested 3078 with Dragoneer's Aria - the dialogues now play perfectly !
|