This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 4 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Yet another at3+ encoder/decoder
#21
jame_peng, thanks, it works with mono at3, but the sound is really choppy Smile
Reply
#22
(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
Reply
#23
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.
Reply
#24
(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!Big Grin
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。Smile
Reply
#25
(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
Reply
#26
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).
Reply
#27
(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
Reply
#28
(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!Tongue
but strangely that some voice was confusing!
Reply
#29
(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
Reply
#30
Tested 3078 with Dragoneer's Aria - the dialogues now play perfectly !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)