Go Back   FileForums > Game Backup > SEGA > DC Games
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19-06-2003, 10:08
Drama! Drama! is offline
Banned
 
Join Date: Jun 2003
Location: Argentina
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Drama!
Question How to make perfect sound loops?

Hello.

I need some help looping .WAV files before converting them to .ADX.

I use the tool called "adxencd", and the output is something like this:

Input sound data file: 'SONG01_00000.wav'
ADX Compressed data file : 'SONG01_00000.adx'
Sampling frequency : 44100 Hz = Input sound data
No. of channels : 2
Input audio sample : 284666 smpl = 6.0 sec <44100 Hz>
ADX output sample : 284666 smpl(Blk:284672 smpl) = 6.0 sec <44100 Hz>
....................

As some of you can discover, this is one of the sound files from Crazy Taxi 1 (extracted from SONG01.AFS).
I wanted to replace with another tune, so I´m playing with this tool.
The question is, WHICH number I need to make a perfect loop, in the flat "-lpe"

adxencd SONG01_00000.wav -lps0 -lpe284666

or

adxencd SONG01_00000.wav -lps0 -lpe284672

?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 19-06-2003, 15:37
spider0735's Avatar
spider0735 spider0735 is offline
Member
 
Join Date: May 2003
Location: MN
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
spider0735
to make the song loop, you have to first convert it to adx and use the adxencd again with the number you have. you use the number before the smpl =........
so if you want to loop a song type

adxencd song_000 -lps0 -lpe(the number before smpl)

the song is already in adx so you don't need to put in the type/format.

i have a little problem with the marvel vs capcom 2 music. i have looped my songs perfectly and with out any noise distortion but when i play the game or push a botton, the song just fades into the background so what you really hear is the char. voices. does any body know how to fix this problem? thanks
__________________
I feel like screaming!!!!!!!!!! AHHHHHHHHHHHHHHHHHHHHHHH
Reply With Quote
  #3  
Old 19-06-2003, 22:43
Sephirsin Sephirsin is offline
Junior Member
 
Join Date: May 2003
Location: La Puente, CA
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Sephirsin
Speaking of looping. Is it possible to loop a song lets say it reaches 3 min. and make it loop back to 1 min.?
Reply With Quote
  #4  
Old 20-06-2003, 08:11
Drama! Drama! is offline
Banned
 
Join Date: Jun 2003
Location: Argentina
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Drama!
You´ve ever tried?

One more question: Which is the best rate to convert a WAV to ADX. I used to work with 44hz stereo files, but when they´re converted to ADX sound very choppy.
It is better to use 22 kz mono files ?
Reply With Quote
  #5  
Old 20-06-2003, 13:32
spider0735's Avatar
spider0735 spider0735 is offline
Member
 
Join Date: May 2003
Location: MN
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
spider0735
about looping it back to 1 min...i think it is possible. but i don't know how to do it. you probably need to know the sample number for the one minute. and then just loop it back to that number.

like

adxencd -lps(one minute number) -lpe(the number)

you know what i mean...i haven't tried it yet...so i don't know if it will work.
__________________
I feel like screaming!!!!!!!!!! AHHHHHHHHHHHHHHHHHHHHHHH
Reply With Quote
  #6  
Old 20-06-2003, 13:32
spider0735's Avatar
spider0735 spider0735 is offline
Member
 
Join Date: May 2003
Location: MN
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
spider0735
about the rate you use...i don't really know...i just let the program do that for me automatically. sorry.
__________________
I feel like screaming!!!!!!!!!! AHHHHHHHHHHHHHHHHHHHHHHH
Reply With Quote
  #7  
Old 22-06-2003, 02:02
Darkfalz Darkfalz is offline
Registered User
 
Join Date: Mar 2003
Location: Australia
Posts: 216
Thanks: 0
Thanked 0 Times in 0 Posts
Darkfalz is on a distinguished road
The version of adxencd with the final Katana SDK supports -lpa which loops the whole song.

In answer to your question though, the padding data is just blank sectors and not even played, so you want it to loop at the end of the actual samples. It won't make any difference though.
Reply With Quote
  #8  
Old 22-06-2003, 13:21
Eiji's Avatar
Eiji Eiji is offline
Member
 
Join Date: Mar 2003
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Eiji
Quote:
Originally posted by Darkfalz
The version of adxencd with the final Katana SDK supports -lpa which loops the whole song.
Where can I find the final Katana SDK version of adxencd?
Reply With Quote
  #9  
Old 22-06-2003, 19:55
Hacker999 Hacker999 is offline
Senior Member
 
Join Date: Apr 2003
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
Hacker999
Quote:
Originally posted by spider0735
about looping it back to 1 min...i think it is possible. but i don't know how to do it. you probably need to know the sample number for the one minute. and then just loop it back to that number.
That is correct. However, I don't know the exact command for adxencd to do that


Quote:
Originally posted by Drama!

One more question: Which is the best rate to convert a WAV to ADX. I used to work with 44hz stereo files, but when they´re converted to ADX sound very choppy.
It is better to use 22 kz mono files ?
You can set it to any rate as long as it is not higher than 44hz. If it does not sound properly after you convert it, either you missed something or you are doing something wrong.
Reply With Quote
  #10  
Old 23-06-2003, 08:46
spider0735's Avatar
spider0735 spider0735 is offline
Member
 
Join Date: May 2003
Location: MN
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
spider0735
how do you set the rate? i am curious because when i have it converted and put it into the game...it just fades in the background. maybe this is the cause of the rate? i don't know. but isn't the rate just how fast it is converting?
__________________
I feel like screaming!!!!!!!!!! AHHHHHHHHHHHHHHHHHHHHHHH
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 13:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com