# Qhimm.com Forums

## Read this first! => FAQs and Tutorials => Topic started by: titeguy3 on 2009-08-14 02:32:55

Title: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-14 02:32:55
Note: If you have FF7 Remix installed, you can skip down to step 2b!
Ways to get FF7's internal MIDI to mute (only use one of these):
*download LoopBe1 (http://www.softpedia.com/get/Multimedia/Audio/Other-AUDIO-Tools/LoopBe.shtml) and set that as your midi device in FF7 Configuration (note that if you've got Aali's custom driver (http://forums.qhimm.com/index.php?topic=8306.0), you have to re-apply the registry key after running FF7 Configuration)
*Use Aali's custom driver (http://forums.qhimm.com/index.php?topic=8306.0)'s "FakeMidi" option found in the OpenGL.cfg file (Note that older versions of the driver have been known to have a faulty "FakeMidi" device, make sure it's up to date)
*Use a blank midi.lgp file, like the one Nero created (http://www.mediafire.com/file/t4wwy432vnm/midi.lgp) and overwrite the old one with it (though keep in mind that you should back it up if you want to be able to listen to the old midi music whenever you want)

There have been a ton of people on the forums asking about how to get their mp3's to loop properly using Ficedula's FF7Music, so I figured I'd start this topic as a quick step-by-step tutorial on how to do it

Step 1: Acquire a complete soundtrack, properly named as shown below and with silence cropped out of beginning and end:
Code: [Select]
aseri = "Hurry!"aseri2 = "Hurry Faster! (Hurry up!)"ayasi = "Lurking in the Darkness"barret = "Barret's Theme"bat = "Fighting (Let the Battles Begin)"bee = "Honeybee Manor"bokujo = "Farm Boy"boo = "Lifestream"cannon = "The Makou Cannon is Fired~Shinra Explodes" (medley)canyon = "Cosmo Canyon"cephiros = "Those Chosen by the Planet"chase = "Crazy Motorcycle"chu = "Those Who Fight Further"chu2 = "J-E-N-O-V-A"cinco = "Cinco de Chocobo"cintro = "Those Chosen by the Planet" (heartbeat intro only)comical = [Unused in game]condor = "Fortress of the Condor"corel = "Mining Town"corneo = "Don of the Slums"costa = "Costa del Sol"crlost = "Tango of Tears"crwin = "A Great Success"date = "Interrupted by Fireworks"dokubo = "Underneath the Rotting Pizza"dun2 = "Chasing the Black Caped Man"earis = "Aerith's Theme"earislo = "Flowers Blooming in the Church"elec = "Electric de Chocobo"fan2 = "Fanfare" (full)fanfare = "Fanfare" (opening)fiddle = "Fiddle de Chocobo"fin = "World Crisis"geki = "Debut"gold1 = "Gold Saucer"guitar2 = "On the Other Side of the Mountain"gun = "Shinra Army Wages a Full Scale Attack"hen = "Who Am I?"hiku = "The Highwind Takes to the Skies"horror = "Trail of Blood"iseki = "You Can Hear the Cry of the Planet"jukai = "Forested Temple"junon = "Off the Edge of Despair"jyro = "Steal the Tiny Bronco"ketc = "Cait Sith's Theme"kita = "The Great Northern Cave"kurai = "Anxious Heart"lb1 = "Birth of a God"lb2 = "One Winged Angel"lb2_awe = "One Winged Angel" (AWE)ld = "Judgement Day"makoro = "Makou Reactor"mati = "Ahead On Our Way"mekyu = "Reunion"mogu = "The Moogle Takes to the Skies" (first 15s of "The Highwind Takes to the Skies")mura1 = "Parochial Town"nointro = "Those Chosen by the Planet" (no heartbeat intro)oa = "Opening~Bombing Mission" (medley)ob = "Bombing Mission"odds = "Place Your Bets! (Racing Chocobos)"over2 = "Continue"parade = "Rufus' Welcoming Ceremony"pj = "Jenova Absolute"pre = "Final Fantasy VII Prelude Theme"red = "Red XIII's Theme"rhythm = "Turks' Theme"riku = "Shinra Explodes" (part 1)ro = "The Countdown Begins"rocket = "Oppressed People"roll = "Staff Roll"rukei = "Sandy Badlands"sadbar = "Mark of the Traitor"sadsid = "Sending a Dream into the Universe"sea = "Secret of the Deep Sea"seto = "Great Warrior"si = "Shinra Explodes" (part 2)sid2 = "Cid's Theme"sido = "It's Difficult Standing on Both Feet, isn't it?"siera = "If You Open Your Heart"sinra = "Shinra Company"sinraslo = "Infiltrating Shinra Tower"snow = "Buried in the Snow"ta = "Final Fantasy VII Main Theme"tb = "Final Fantasy VII Main Theme" (from middle)tender = "Holding my Thoughts in my Heart"tifa = "Tifa's Theme"tm = "On That Day, Five Years Ago"utai = "Wutai"vincent = "The Nightmare's Beginning (Vincent's Theme)"walz = "Waltz de Chocobo"weapon = "Weapon Raid"yado = "Goodnight Until Tomorrow"yufi = "Descendant of Shinobi"yufi2 = "Stolen Materia"yume = "Who Are You?"
You can get pre-cropped songs from FFT (http://forums.qhimm.com/index.php?topic=8160.0) (whenever he uploads them) or from here (http://www.megaupload.com/?d=IQOUEC33) (compliments of willis936) or you can use this patch (http://forums.qhimm.com/index.php?topic=8915.0).

or if you prefer to do it yourself, grab Audacity from here (http://audacity.sourceforge.net/download/)
and crop your audio files by opening up your mp3's, highlighting the horizontal areas (shown below), and cutting them out.
(http://img193.imageshack.us/img193/1439/35466331.jpg)
This can be done by clicking on an area between silence and sound, zooming in for precision, pressing shift+end or shift+home, and pressing ctrl+x.
...and repeat for all files.
*note that some songs (like Bombing Mission, for example) will require you to cut some of the track out in order to loop effectively, whereas some songs cannot really *loop* but only start over quickly (like Debut). Also remember that you cannot make any changes to the mp3 while it's playing or paused.

Step 2:
Open \ficedula\ff7music.ini in your FF7 folder (assuming you've got FF7Music (http://forums.qhimm.com/index.php?topic=5387.0) Installed, if not, grab that before any of this) with notepad.
Check this line:
Code: [Select]
[Setup]InputPlugin=C:\Program Files\Square Soft, Inc\Final Fantasy VII\ficedula\in_xxx.dllif this says in_mp3.dll and you're running a 64-bit OS, you need Covarr's or my version of FF7Music.

Step 2a:
If you've got the old version of FF7Music and you have "in_mp3.dll" as your mp3 plugin and a 32-bit OS, this is what you do, otherwise scroll down to the next step
Under where it says "LoopFudge=2000" (shown below) change that to something lower but not considerably so. The optimal number for your machine will vary but I find that 250 works fine for me.
(http://img17.imageshack.us/img17/3200/64732841.jpg)

Step 2b:
If you did step 2a, this part isn't necessary.
Hopefully, this will already be done in future versions of FF7 Remix. However, since the wave configuration data isn't stored in any of the FF7Music files, that'll be a little tricky to do...
Open FF7Music, and click the configure button, then, under the setup tab, click the configure button for the output plugin.
Your options should look like this:
(http://img188.imageshack.us/img188/8348/93290583.jpg)
Set your pre-buffer to something low, but not too low. (again, ~250 works fine for me...though you can only scroll in multiples of 4 so...248. You can actually scroll in multiples of 1 by hitting the left/right arrow keys, too, but meh.)
and set your buffer ahead to the difference between the buffer and the pre-buffer. (as shown in the screencap)
Close the window, and hit save and exit, and restart ff7music.

Step 3:
Run your game, wait for a song to loop. If something bad happens (quality sucks, song doesn't loop, song doesn't play, song stutters, etc...) you went too low. If you can still hear a considerable silence (longer than ~0.3 sec) you should check steps 1 & 2.

Click Here (http://www.youtube.com/watch?v=NOuknGEHzdI) to see the results. (and keep in mind that it can actually be reduced lower than this)
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-14 02:45:25
This is great, thanks.   :-D

However, I can't find that in the .ini, is that the same as the buffer in out_wave.dll?
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-14 02:53:22
Check the image of it I just posted^^. Hopefully that'll help you find it. It's different, I believe. If it were the same as in your mp3 driver, then I don't believe it would have to be configurable through ff7music, but I could be wrong.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-14 03:49:11
Hmm, that's very strange.  I'm using the .ini that came with covarr's guide but it has no loopfudge.

(http://i121.photobucket.com/albums/o236/willis936/Untitled-12.png)
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Curlyoxide on 2009-08-14 04:04:04
Hmm yeah mine doesn't have the option either in the ini
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: obesebear on 2009-08-14 04:20:34
I have LoopFudge.  FF7Music version 1.5.1.1  (check this by going to FF7Music, right click, properties, and click the "details" tab)
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Torazo on 2009-08-14 04:25:55
I also have version 1.5.1.1 and I do not have that option... Although I could add it, but I am not certain as to whether or not that would be good for this program version.

[Setup]
OutputPlugin=C:\FF7\out_wave.dll
Volume=255
Pan=0
Profile=OSTRemastered
Paths=C:\Mp3\;C:\FF7\OstRE\
ProfileList=PSF;FilenamesOnly;OSTRemastered
Loop=1
Remember=2
ResumeExclusions=aseri2,bat,chu,chu2,crwin,crlost,fanfare,fan2
ResumeAfter=aseri2,bat,chu,chu2,fan2,
ObeyStop=1
MidiDevice=1
MuteMidi=1
MaxMidi=0
PassThru=0
EmulateRamp=1
StopDelay=0
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-14 04:37:53
I have 1.5.1.1 as well.  It seems covarr made some changes to this already since his .ini is different than the default by more than a little.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-14 05:06:03
I've posted my version of ficedula so that you can have the option too. I also included the file guide as a text file for your convenience. Enjoy!  :-D
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-14 05:20:31
>.<

Does anyone else notice that the music stops playing after the first battle in the bombing mission?
I've never had this problem before.  Also, I haven't used your .ini yet.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-14 05:34:37
you're using the fakemidi option in the custom graphics driver aren't you?

Set fakemidi to false, download Loopbe1 (http://www.softpedia.com/get/Multimedia/Audio/Other-AUDIO-Tools/LoopBe.shtml) and set that as your midi device in FF7 Config. (then re-apply the custom driver registry key)
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-14 05:36:01
I'm already using loopbe, I guess I don't know why I'm using fakemidi.

:p
Thanks!
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-14 05:39:51
no problem, and I've figured out why Covarr's version of ff7music.ini didn't have a loopfudge option. He used the Mad mp3 decoder (in_mad.dll), which doesn't have a configurable buffer (hence the loopfudge option doesn't do anything), whereas the old in_mp3.dll file DOES have that option. Only according to Covarr, that version doesn't seem to be compatible with 64-bit operating systems...

Can anybody attest that using in_mp3.dll on a 64-bit machine doesn't work and explain to me what goes wrong? I'm currently rummaging through the source code of the Mad mp3 decoder trying to find something that'll help, but it'd be nice if the incompatibility were fixable...
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-14 07:00:52
Hmm, it's really late here, but I running 7 x64.  I'll redownload it, copy the .ini bits I need then test it out tomorrow.

Also, crap.  Now when I try to disable the driver music string and run ff7music, nothing comes out, period.  But it does successfully cancel out the midis which it didn't do before.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-14 08:04:35
Alright, I've modified the setup to work with 64 bit OS's. It should work fine now even without the loopfudge option. I'll modify the instructions accordingly.

But so it turns out that you can modify either loopfudge or the out_wave settings. I haven't tried modifying both of them but my guess is that loopfudge overrides the out_wave buffer...or just adds to it.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: secondadvent on 2009-08-14 09:40:34
i sort of manually edited all of my mp3 files to loop better a while ago... but there was still some slowness in between songs, which is now pretty much gone with loopfudge set to 250. it is likely that i can set it even lower, but i think that 250 sounds pretty good for now :P. this is a pretty nice little tutorial, though all i really changed was the loopfudge value... guess i was a little bit farther than most people  :roll:
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Harruzame on 2009-08-14 10:05:08
How come your link to your version of FFVII music is unavailable? Not to the original Sticky: FFVII music though..
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: obesebear on 2009-08-14 16:04:55
no problem, and I've figured out why Covarr's version of ff7music.ini didn't have a loopfudge option. He used the Mad mp3 decoder (in_mad.dll), which doesn't have a configurable buffer (hence the loopfudge option doesn't do anything), whereas the old in_mp3.dll file DOES have that option. Only according to Covarr, that version doesn't seem to be compatible with 64-bit operating systems...

Can anybody attest that using in_mp3.dll on a 64-bit machine doesn't work and explain to me what goes wrong? I'm currently rummaging through the source code of the Mad mp3 decoder trying to find something that'll help, but it'd be nice if the incompatibility were fixable...
Win 7 x64 build 7201
in_mp3.dll  ---Nullsoft MPEG Audio Decoder 3.52.

Works perfectly
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-14 16:27:24
Has anyone noticed that "good night until tomorrow" cuts off a second or two early.  Also, I just played through Wutai and noticed that the part where Corneo has a dramatic turn around and the continue music starts to play, it's supposed to stop shortly after it starts but it doesn't.  Probably an ff7music thing that can't be helped.

All this and I still can't get ff7music to work without the plugin (meaning the bombing mission music stop issue).
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: obesebear on 2009-08-14 17:05:09
Has anyone noticed that "good night until tomorrow" cuts off a second or two early.  Also, I just played through Wutai and noticed that the part where Corneo has a dramatic turn around and the continue music starts to play, it's supposed to stop shortly after it starts but it doesn't.  Probably an ff7music thing that can't be helped.

All this and I still can't get ff7music to work without the plugin (meaning the bombing mission music stop issue).
http://forums.qhimm.com/index.php?topic=5387.msg105250#msg105250

For Aali's newest driver .7.1, open the .cfg file and change the part that says #plugins to look like this:
Code: [Select]
# plugins# a movie plugin is required, the music plugin is optional, but required to make FF7Music workmovie_plugin = plugins/ffmpeg_movies.fgpmusic_plugin = plugins/ff7music.fgp
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-14 17:46:38
I encountered the Good night until tomorrow problem as well, I just added a minute of silence to the end of it though with audacity using the Generate....Silence option. Did the same for fan2.mp3

@Harruzame, try it again, I just uploaded it last night so it was probably still processing.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-14 18:00:30
It does look like that.   D:

Also, by changing the input priority to highest in the in_mad/mp3/psf.dll I can get away with a pre-buffer of under 100ms.

Also, my good night... mp3 has a few seconds of silence on the end already.(?)
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-14 18:11:30
Yeah, but if you add more, it won't loop.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-14 18:22:27
Hmm, I'm noticing covarr's .ini doesn't make use of some of the looped (modified) OST songs.  I'll try to correct this.

Is fan2 the shortened one (only the dun dun dun dah dan dundah) and fanfare the looped one?
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-15 03:14:55
fan2 is the long one. It loops if you leave it on that screen for long enough, and I think that's awkward...
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-15 03:30:44
Okey dokey.  Here's my ff7music folder:
Works solid on 7 x64, has everything you need to rock n roll.  Includes my trimming of the Remastered Soundtrack.  You'll have to tweak the buffer settings on your own.  Loopfudge should be the same as your out_wave.dll config's "buffer ahead on next track" setting.  The pre-buffer should equal the difference between the buffer setting and the buffer ahead.  Don't lower the buffer too much.  It's set to 250 and that seems optimal.
(http://i121.photobucket.com/albums/o236/willis936/Untitled-13.png)

The OSTRemastered profile in the ff7music.ini should look like this to make use of the loops/avoid issues in some loops.
Code: [Select]
[OSTRemastered]aseri=07 - Hurry!.mp3aseri2=08 - Hurry Faster!.mp3ayasi=08 - Lurking in the Darkness.mp3barret=1-06 - Barret's Theme (Loop).mp3bat=10 - Fighting.mp3bee=16 - Honeybee Manor.mp3boo=3-02 - Life Stream (Loop).mp3bokujo=05 - Farm Boy.mp3canyon=01 - Cosmo Canyon.mp3cannon=4-12 - The Makou Cannon Is Fired ~ Shinra Explodes (Loop).mp3cephiros=05 - Those Chosen By The Planet.mp3chu=20 - Still More Fighting.mp3chu2=14 - J-E-N-O-V-A.mp3chase=1-22 - Crazy Motorcycle (Loop).mp3cinco=08 - Cinco De Chocobo.mp3cintro=05 - Those Chosen By The Planet.mp3condor=10 - Fortress Of The Condor.mp3costa=16 - Costa Del Sol.mp3comical=14 - J-E-N-O-V-A.mp3corel=18 - Mining Town.mp3corneo=18 - Don of the Slums.mp3crwin=13 - A Great Success.mp3crlost=14 - Tango Of Tears.mp3date=16 - Interrupted By Fireworks.mp3dokubo=14 - Underneath the Rotting Pizza.mp3dun2=09 - Chasing The Black-Caped Man.mp3earislo=12 - Flowers Blooming in the Church.mp3earis=19 - Aerith's Theme.mp3elec=07 - Electric De Chocobo.mp3fanfare=11 - Fanfare.mp3fan2=1-11 - Fanfare (Loop).mp3fiddle=12 - Fiddle De Chocobo.mp3fin=17 - World Crisis.mp3geki=15 - Debut.mp3gold1=19 - Gold Saucer.mp3gun=01 - Shinra Army Wages A Full-Scale Attack.mp3guitar2=07 - On The Other Side Of The Mountain.mp3hen=23 - Who Am I.mp3hiku=03 - Highwind Takes To The Skies.mp3horror=13 - Trail Of Blood.mp3iseki=18 - You Can Hear The Cry Of The Planet.mp3jukai=17 - Forested Temple.mp3junon=06 - Off The Edge Of Despair.mp3jyro=08 - Steal The Tiny Bronco!.mp3ketc=20 - Cait Sith's Theme.mp3kita=21 - The Great Northern Cave.mp3kurai=04 - Anxious Heart.mp3lb1=4-15 - The Birth Of God (Loop).mp3lb2=4-16 - One-Winged Angel (Loop).mp3ld=13 - Judgement Day.mp3mati=02 - Ahead On Our Way.mp3makoro=03 - Makou Reactor.mp3mekyu=22 - Reunion.mp3mura1=05 - Parochial Town.mp3oa=02 - Opening ~ Bombing Mission.mp3ob=02 - Bombing Mission.mp3odds=11 - Racing Chocobo ~ Place Your Bets.mp3over2=15 - Continue.mp3parade=11 - Rufus Welcomming Ceremony.mp3pj=14 - Jenova Absolute.mp3pre=01 - Prelude.mp3red=21 - Red XIII's Theme.mp3rhythm=13 - Turk's Theme.mp3roll=18 - Staff Roll.mp3ro=10 - The Countdown Begins.mp3rocket=15 - Oppressed People.mp3rukei=21 - Sandy Badlands.mp3sadsid=09 - Sending A Dream Into The Universe.mp3sadbar=17 - Mark Of The Traitor.mp3seto=03 - Great Warrior.mp3sea=04 - A Secret Sleeping In The Deep Sea.mp3sido=12 - It's Difficult To Stand On Both Feet, Isn't It.mp3siera=11 - If You Open Your Hearts.mp3sinraslo=19 - Infiltrating Shinra Tower.mp3sinra=09 - Shinra Company.mp3sid2=07 - Cid's Theme.mp3snow=20 - Buried In The Snow.mp3ta=01 - Final Fantasy VII Main Theme.mp3tb=01 - Final Fantasy VII Main Theme.mp3tender=23 - Holding My Thoughts In My Heart.mp3tifa=05 - Tifa's Theme.mp3tm=04 - On That Day, Five Years Ago.mp3utai=3-09 - Utai (Loop).mp3vincent=06 - The Nightmare's Beginning.mp3walz=06 - Waltz De Chocobo.mp3weapon=4-02 - Weapon Raid (Loop).mp3yado=03 - Good Night, Until Tomorrow.mp3yufi2=10 - Stolen Materia.mp3yufi=04 - Descendant Of Shinobi.mp3yume=17 - Who Are You.mp3lb2_awe=4-16 - One-Winged Angel (Loop).mp3
Recently re-edited to have the latest updates to the remastered soundtrack, better looping on the bombing mission, psf support (not that you'll want it), and proper buffer settings already.  This works perfectly on Windows 7 x64, and should work with most other Windows x64 systems.  For x86 OS, you should edit the file paths in the profiles tab to the appropriate addresses.
*now includes trimmed mako reactor redux.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-15 03:42:18
Haha, that's smart. I renamed all my files to the old naming convention, like... fan2.mp3, aseri.mp3.. Doing it that way is probably easier.

ta and tb aren't the same, btw... I believe tb starts at the part where it's like DUNN, DUNN, DUNDUNNNNN

haha.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-15 03:45:36
I did that too before I discovered covarr's .ini, but he didn't rename the files to work with the updated OSTRe loop files so I took the liberty to change a few things.   :-D
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Covarr on 2009-08-15 15:07:57
no problem, and I've figured out why Covarr's version of ff7music.ini didn't have a loopfudge option. He used the Mad mp3 decoder (in_mad.dll), which doesn't have a configurable buffer (hence the loopfudge option doesn't do anything), whereas the old in_mp3.dll file DOES have that option. Only according to Covarr, that version doesn't seem to be compatible with 64-bit operating systems...

Can anybody attest that using in_mp3.dll on a 64-bit machine doesn't work and explain to me what goes wrong? I'm currently rummaging through the source code of the Mad mp3 decoder trying to find something that'll help, but it'd be nice if the incompatibility were fixable...
Win 7 x64 build 7201
in_mp3.dll  ---Nullsoft MPEG Audio Decoder 3.52.

Works perfectly
You found a version of in_mp3 that works with x64 AND doesn't crash FF7Music when you try to to change its config?!?!?! in_mp3 tends to have lower cpu usage than in_mad, and a changeable buffer, so I might modify my tutorial to use this version if you feel like uploading it. I also need to add/change some steps to reduce loop.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: obesebear on 2009-08-15 19:26:01
Win 7 x64 build 7201
in_mp3.dll  ---Nullsoft MPEG Audio Decoder 3.52.

Works perfectly
You found a version of in_mp3 that works with x64 AND doesn't crash FF7Music when you try to to change its config?!?!?! in_mp3 tends to have lower cpu usage than in_mad, and a changeable buffer, so I might modify my tutorial to use this version if you feel like uploading it. I also need to add/change some steps to reduce loop.

Check it --> Clicky (http://forums.qhimm.com/index.php?topic=8842.msg113379#msg113379)
Look under the heading "The Tutorial"  Step 1)
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Bosque on 2009-08-15 20:03:00
I use PSFs myself, and therefore I never have a problem with looping (go into the plugin configuration and select "Force all songs to play indefinitely")
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: sl1982 on 2009-08-15 20:27:27
The point of using the mp3's is that finalfantim did a great job of remastering the soundtrack and some people would rather use that.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Kudistos Megistos on 2009-08-15 20:41:00
The point of using the mp3's is that finalfantim did a great job of remastering the soundtrack and some people would rather use that.

Not to mention that there are a few other remixes/remasterings/rewhatevers of songs on the OST. Trust me, there's nothing like finally leaving Midgar and hearing the orchestral version of the main theme; it really is in a different league from the normal version.

Furthermore, I think (I'm not sure about this), that there might be difficulties with playing pieces of music with the PSFs that don't have their own individual track. I'm talking about the music from the Shinra mansion mainly (it certainly won't play properly if you don't have the right mp3). There's an mp3 of that, but AFAIK there isn't a PSF version. Does anyone know whether that plays properly with the PSFs? Or does the game play the normal version of "Those Chosen by the Planet" in the mansion and the final battle?
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Hellbringer616 on 2009-08-16 02:22:54

Not to mention that there are a few other remixes/remasterings/rewhatevers of songs on the OST. Trust me, there's nothing like finally leaving Midgar and hearing the orchestral version of the main theme; it really is in a different league from the normal version.

Could you provide the song name for that, I'd love the orchestral version for this as well. Unless it's on Final Fan Tims soundtrack
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Kudistos Megistos on 2009-08-16 02:25:23
It doesn't have a special name, but here's a link to a youtube video:

It's one of the three orchestrated tracks on the "Reunion" album.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Hellbringer616 on 2009-08-16 02:28:31
Awesome thanks!

One problem, But i'll check somewhere else before i just say screw it haha. CD is $103 @[email protected] Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible] Post by: Kudistos Megistos on 2009-08-16 02:34:48 Awesome thanks! One problem, But i'll check somewhere else before i just say screw it haha. CD is$103 @[email protected]

Actually, I bought that CD on amazon (for a much more reasonable price), along with the OST a few years ago. :wink:
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Hellbringer616 on 2009-08-16 02:36:36
Yes i do :-D

I am PROUD to say i am not a pirate :-P
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-16 06:01:05
Arrrr, matey!!!  :evil:
I turned to the pirates side after I once stupidly bought the game "enter the matrix."

Savvy?
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Hellbringer616 on 2009-08-16 06:02:10
might wanna edit that. less the mods come down on you.

I dressed up as a pirate for Halloween. does that count? XD
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-16 06:06:48
Halloween is of course what I was referring to, you didn't think..? Oh, hahahaha I can see how you'd make that misunderstanding. No, i just like dressing up like pirates, hahaha.

Seriously though, I buy products when they're worth buying. FF7, for one example. Although.. from a certain standpoint, most of the crap you view on the interwebs counts as piracy in some form or another. Anybody who says they've never enjoyed copyrighted material for free on the internet is either a liar, or doesn't have internet (56k doesn't count).
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Hellbringer616 on 2009-08-16 06:08:57
I've watched Youtube. So i guess i count haha XD
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: Satoh on 2009-08-16 06:14:46
Saving final fantasy related images from a website = theft. (with the exception of art that is expressly permitted to be taken.)
Piracy = aquatic theft.
therefore...
the intarwebs are made of ocean and win. (and sometimes fail)
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: finalfantim on 2009-08-25 13:03:19
Okey dokey.  Here's my ff7music folder:
Works solid on 7 x64, has everything you need to rock n roll.  You'll have to tweak the buffer settings on your own.  Loopfudge should be the same as your out_wave.dll config's "buffer ahead on next track" setting.  The pre-buffer should equal the difference between the buffer setting and the buffer ahead.  Don't lower the buffer too much.  I know it's set to 125 in this version but 250 seems optimal.
(http://i121.photobucket.com/albums/o236/willis936/Untitled-13.png)

The OSTRemastered profile in the ff7music.ini should look like this to make use of the loops/avoid issues in some loops.
Code: [Select]
[OSTRemastered]aseri=07 - Hurry!.mp3aseri2=08 - Hurry Faster!.mp3ayasi=08 - Lurking in the Darkness.mp3barret=1-06 - Barret's Theme (Loop).mp3bat=10 - Fighting.mp3bee=16 - Honeybee Manor.mp3boo=3-02 - Life Stream (Loop).mp3bokujo=05 - Farm Boy.mp3canyon=01 - Cosmo Canyon.mp3cannon=4-12 - The Makou Cannon Is Fired ~ Shinra Explodes (Loop).mp3cephiros=05 - Those Chosen By The Planet.mp3chu=20 - Still More Fighting.mp3chu2=14 - J-E-N-O-V-A.mp3chase=1-22 - Crazy Motorcycle (Loop).mp3cinco=08 - Cinco De Chocobo.mp3cintro=05 - Those Chosen By The Planet.mp3condor=10 - Fortress Of The Condor.mp3costa=16 - Costa Del Sol.mp3comical=14 - J-E-N-O-V-A.mp3corel=18 - Mining Town.mp3corneo=18 - Don of the Slums.mp3crwin=13 - A Great Success.mp3crlost=14 - Tango Of Tears.mp3date=16 - Interrupted By Fireworks.mp3dokubo=14 - Underneath the Rotting Pizza.mp3dun2=09 - Chasing The Black-Caped Man.mp3earislo=12 - Flowers Blooming in the Church.mp3earis=19 - Aerith's Theme.mp3elec=07 - Electric De Chocobo.mp3fanfare=11 - Fanfare.mp3fan2=1-11 - Fanfare (Loop).mp3fiddle=12 - Fiddle De Chocobo.mp3fin=17 - World Crisis.mp3geki=15 - Debut.mp3gold1=19 - Gold Saucer.mp3gun=01 - Shinra Army Wages A Full-Scale Attack.mp3guitar2=07 - On The Other Side Of The Mountain.mp3hen=23 - Who Am I.mp3hiku=03 - Highwind Takes To The Skies.mp3horror=13 - Trail Of Blood.mp3iseki=18 - You Can Hear The Cry Of The Planet.mp3jukai=17 - Forested Temple.mp3junon=06 - Off The Edge Of Despair.mp3jyro=08 - Steal The Tiny Bronco!.mp3ketc=20 - Cait Sith's Theme.mp3kita=21 - The Great Northern Cave.mp3kurai=04 - Anxious Heart.mp3lb1=4-15 - The Birth Of God (Loop).mp3lb2=4-16 - One-Winged Angel (Loop).mp3ld=13 - Judgement Day.mp3mati=02 - Ahead On Our Way.mp3makoro=03 - Makou Reactor.mp3mekyu=22 - Reunion.mp3mura1=05 - Parochial Town.mp3oa=02 - Opening ~ Bombing Mission.mp3ob=02 - Bombing Mission.mp3odds=11 - Racing Chocobo ~ Place Your Bets.mp3over2=15 - Continue.mp3parade=11 - Rufus Welcomming Ceremony.mp3pj=14 - Jenova Absolute.mp3pre=01 - Prelude.mp3red=21 - Red XIII's Theme.mp3rhythm=13 - Turk's Theme.mp3roll=18 - Staff Roll.mp3ro=10 - The Countdown Begins.mp3rocket=15 - Oppressed People.mp3rukei=21 - Sandy Badlands.mp3sadsid=09 - Sending A Dream Into The Universe.mp3sadbar=17 - Mark Of The Traitor.mp3seto=03 - Great Warrior.mp3sea=04 - A Secret Sleeping In The Deep Sea.mp3sido=12 - It's Difficult To Stand On Both Feet, Isn't It.mp3siera=11 - If You Open Your Hearts.mp3sinraslo=19 - Infiltrating Shinra Tower.mp3sinra=09 - Shinra Company.mp3sid2=07 - Cid's Theme.mp3snow=20 - Buried In The Snow.mp3ta=01 - Final Fantasy VII Main Theme.mp3tb=01 - Final Fantasy VII Main Theme.mp3tender=23 - Holding My Thoughts In My Heart.mp3tifa=05 - Tifa's Theme.mp3tm=04 - On That Day, Five Years Ago.mp3utai=3-09 - Utai (Loop).mp3vincent=06 - The Nightmare's Beginning.mp3walz=06 - Waltz De Chocobo.mp3weapon=4-02 - Weapon Raid (Loop).mp3yado=03 - Good Night, Until Tomorrow.mp3yufi2=10 - Stolen Materia.mp3yufi=04 - Descendant Of Shinobi.mp3yume=17 - Who Are You.mp3lb2_awe=4-16 - One-Winged Angel (Loop).mp3
The only thing I can think that's left to be done with this version of ff7music is to find which tracks should use the resume functions and which tracks shouldn't.

Nice progress on your end  :roll:

Although i would gladly helped with precropped mp3's, many people do want the OST version (with already looped segments in the mp3 and fade out) so im currently doing that with The Favs.

EDIT:

You might be 'happy' to know that i have some mp3's updated to sound better :wink:

Opening Bombing Mission (way improved):

Still More Fighting: (better guitar sound, altough the volume might be too high overall considering the rest)

Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-25 15:55:48
Alright, thanks.   :-D

Before I start trimming the OST I have to ask if I'm allowed to post it (something about copyright and immoral corporate heads getting what they want).
Otherwise I'd love to get that done.

Before I reupload my ficedula folder can I ask someone to rework the bombing mission?  I think it was Torazo last time.
I'll try to get see what he did in audacity in the mean time.

EDIT:  Does anyone know if there's a way to select a certain frequency range in audacity (so I can select a few seconds of music, then the high frequencies in that piece and delete them)?
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-25 17:38:23
I'm not sure what you mean...the frequency of an MP3 is constant throughout the entire file. You can use the effect...amplify option to change the amplitude of the sound wave for a selected bit, if that's what you want to do...but that's decibels--"Attenuation", not Frequency.
EDIT: I'm not sure what the default waveform is measured in, now that I take a closer look because there's an option to change it to decibels...

Or do you mean, sounds with a high pitch? If that's the case then effect...noise removal or effect...click removal might help you out a bit.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-25 20:40:05
Okay, I was trying to do it a much hard way.  I gots it working now.

I'm having trouble getting my psf music working, but it's not exactly high quality plus the looping has the same issues and fades out at the end etc.

Any thoughts on me being allowed to post OST tracks?
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: sl1982 on 2009-08-25 20:41:54
Okay, I was trying to do it a much hard way.  I gots it working now.

I'm having trouble getting my psf music working, but it's not exactly high quality plus the looping has the same issues and fades out at the end etc.

Any thoughts on me being allowed to post OST tracks?

I wouldnt advise it... but halkun is the ultimate decision maker on that one
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-28 03:25:08
Updated my files yay!

I'd make a thread for it but there are already so many.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-28 04:34:41
What'd ya update?

EDIT: haha, 137th post. so close, yet so far...
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-28 17:58:22
Most recent track updates, bombing mission loops better, tweaked the ini to actually work with the psf track, and the buffer settings are optimized.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-28 20:44:47
Gotcha, might also wanna grab the new version of Makou Reactor FFT just uploaded. Apparently it was missing bells before.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: willis936 on 2009-08-28 22:48:04
fffffff

EDIT:  Done.
Title: Re: How to get your FF7 MP3 soundtrack to loop [as] seamlessly [as possible]
Post by: titeguy3 on 2009-08-29 01:42:00

EDIT that isn't really significant anymore: