Gamingforce Interactive Forums
32999 29370

Go Back   Gamingforce Interactive Forums > Gamingforce Music and Trading > Behind the Music
Register FAQ GFWiki Members List Donate Arcade ChocoJournal Mark Forums Read

Welcome to the Gamingforce Interactive Forums.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


Audio restoration
Reply
 
LinkBack Thread Tools
Krwawy Pan


Member 10863

Level 7.95

Aug 2006


Reply With Quote
Old Jul 26, 2007, 02:40 PM Local time: Jul 26, 2007, 06:40 PM #1 (permalink) of 38
Audio restoration

I'll get straight to the point. Couple of days ago, I bumped into some .mp3 files, extracted music from "Freelancer" to be precise, the thing is,
those files were badly compressed and the sound quality was very poor. Generally I would have just ignored the problem, but in this case,
I couldn't just leave these files in the way they are. The main reason for this is the music itself, it was quite nice.

And suddenly I was struck with this looney thought, maybe there is some way to increase the overall quality by some special decompressing techniques and/or restoration software. In Sound Forge 8.0, I've tried to edit the streams in 32-bit resolution, used some DirectX filters like Smooth/Enhance, but unfortunately, results of my experiments were not that consolatory.

I'm not much of a sound engineer so I don't know all the aspects of sound restoration, this is why I'm posting here. It would be very useful to know the basics. And to do something with those source files in my disposal

Here's a couple of samples to give an idea, with what I am dealing with. They are in "untouched" quality - 80 kbps bitrate, and 22 kHz frequency. Exactly in the way they were in the game.
De Arimasu!


Member 1222

Level 34.59

Mar 2006


Reply With Quote
Old Jul 26, 2007, 02:49 PM Local time: Jul 26, 2007, 06:49 PM #2 (permalink) of 38
I don't see how it's possible. You can't add in information that's not there. All you can do is to take yet more information away. MP3 uses lossy compression, so when you decompress the files, you don't automatically get back all the data that was discarded.
Krwawy Pan


Member 10863

Level 7.95

Aug 2006


Reply With Quote
Old Jul 26, 2007, 03:19 PM Local time: Jul 26, 2007, 07:19 PM #3 (permalink) of 38
Here's an interesting link: http://www.team-gizka.org/2005-04-03.html
At the very bottom, there is an "Music Restoration" article, there is also an archive with samples and a text document.

And it has to be said, results of that restore is quite impressive.
This is proving, that it is possible to get good results even from a very limited source.
De Arimasu!


Member 1222

Level 34.59

Mar 2006


Reply With Quote
Old Jul 26, 2007, 04:03 PM Local time: Jul 26, 2007, 08:03 PM #4 (permalink) of 38
Here's an interesting link: http://www.team-gizka.org/2005-04-03.html
At the very bottom, there is an "Music Restoration" article, there is also an archive with samples and a text document.

And it has to be said, results of that restore is quite impressive.
This is proving, that it is possible to get good results even from a very limited source.
Impressive...?

What am I not hearing? I don't hear anything in the "restored" version that was not in the original version, personally. I can see that it has been re-encoded at a higher bitrate, and that it is in stereo. What I don't see is how that has improved either of the tracks at all.

After all... you can't just draw additional data from thin air. Quite nice music though. I might try to find a gamerip now, or even buy a copy of the game just for the music.
Sierra Music Quester


Member 13178

Level 13.32

Sep 2006


Reply With Quote
Old Jul 26, 2007, 10:27 PM Local time: Jul 27, 2007, 12:57 PM #5 (permalink) of 38
Hey man,

Interesting thread. This is close to my heart, because a lot of Western VGM from the mid-90's was WAV audio at extremely low quality- downsampled from the masters to 22.050 kHz, 8-bit, and mono (quarter of usual CD stereo quality).

I've recently discovered some tricks with Cool Edit Pro (now Adobe Audition) that allow me to 'remaster' (and I use this term very loosely) the audio a little, and make it semi-stereo instead of rubbish-sounding mono.

This is a very beta example I posted on my site a couple days ago, but check it out anyway:
http://smc.sq7.org/assorted/RESOURCE2288.wav - Original Mono source file (in-game audio)

http://smc.sq7.org/assorted/Lands%20Above.mp3 - 'Remastered' (or messed with :P ) file

Don't expect them to sound hugely different, but I call that an improvement, for the purposes of making a gamerip that's listenable to. Note that I haven't worked on an ending for it yet, so don't mention it


On the KOTOR audio samplers- for fun, I processed it a little bit, tell me what you think:
http://smc.sq7.org/assorted/mus_bat_...20STEREO)2.mp3
(I don't like it so much, but I put all of 5 minutes into it- I really did it to show you can make something 'more stereo'.)

- Spike

Last edited by Spikey : Jul 26, 2007 at 10:34 PM.
Krwawy Pan


Member 10863

Level 7.95

Aug 2006


Reply With Quote
Old Jul 27, 2007, 11:47 AM Local time: Jul 27, 2007, 03:47 PM #6 (permalink) of 38
@ Soluzar
That restored sample sounded better in my opinion, though not too significant... at least it's more listenable.
Restoration is all about removing imperfections like hiss, noise and sound anomalies. I understand, that it's not possible to replace the missing data.


@ Spikey
I have listened to those samples, and in comparison, that's definitely an improvement. Though there is some hiss in the remastered version.

Also, could you provide more details about the trick you mentioned?
Better yet, could you try your method on those attached files in the first post?
I'm just curious, what is possible to do.

Last edited by gulahi : Jul 27, 2007 at 11:52 AM.
Xmd5a


Member 324

Level 26.83

Mar 2006


Reply With Quote
Old Jul 28, 2007, 03:09 PM Local time: Jul 28, 2007, 08:09 PM #7 (permalink) of 38
Originally Posted by Soluzar
After all... you can't just draw additional data from thin air.
You're right, you can't do that, but you can add transparent sound patterns that enhance the overall experience of what you hear. Sort of like tricking your brain. Think of all the available frequencies in a graphic equalizer for instance, and the endless combinations of settings. Much like VBR is a transparent encode setting, it is indistinguishable from 320CBR, yet it occupies less space.

I've worked with restoration before, it's tricky, but it's worth it. I'll see what I can do, maybe it'll turn out good.

EDIT: Here's an example; normalized, equalized a little bit with a high cut, minor hiss reduction and some pops and cracks eliminated.

Last edited by Killy : Jul 29, 2007 at 02:14 PM.
Krwawy Pan


Member 10863

Level 7.95

Aug 2006


Reply With Quote
Old Jul 31, 2007, 10:20 AM Local time: Jul 31, 2007, 02:20 PM #8 (permalink) of 38
Thanks for the effort Killy, I really appreciate it. As for the sample... well, let's just say it didn't turned out that well.

Most recently I've been examining more articles on this matter, with more theories than practical suggestions. If I manage to do some progress in this area, I'm sure to post here right away.

Last edited by gulahi : Jul 31, 2007 at 10:23 AM.
Xmd5a


Member 324

Level 26.83

Mar 2006


Reply With Quote
Old Jul 31, 2007, 04:59 PM Local time: Jul 31, 2007, 09:59 PM #9 (permalink) of 38
Dude, it won't get any better than that. You're already dealing with a lost case right there. The best thing you can do is just lower the clipping and equalize it - if you ask me that sample is already beyond saving. No sound engineer would work on it anyway, take it or leave it.
Sierra Music Quester


Member 13178

Level 13.32

Sep 2006


Reply With Quote
Old Aug 1, 2007, 11:22 PM Local time: Aug 2, 2007, 01:52 PM #10 (permalink) of 38
I agree with Killy mostly, but that said, I had a go and I think I did a better job (Killy's sounds flat to me). I posted three examples of how I could approach a track.

Usually there's two, the third is a kind of combination of the first two (although not exactly a combination mind you).

Check them out here:

http://smc.sq7.org/assorted/music_bar_li04a.mp3
http://smc.sq7.org/assorted/music_bar_li04b.mp3
http://smc.sq7.org/assorted/music_bar_li04c.mp3

I like 'C' myself. I think it's actually listenable to.

But, I'm much more interested in everyone else's thoughts.

Once again, please note stereo and improved sound was the only goal here, I haven't faded out or ended it or anything.

- Spike
Xmd5a


Member 324

Level 26.83

Mar 2006


Reply With Quote
Old Aug 2, 2007, 07:22 AM Local time: Aug 2, 2007, 12:22 PM #11 (permalink) of 38
No, all of those are clipping. You haven't really improved it. Panning and/or adding echo isn't going to restore it. To reduce clipping - you have to flatten it, if you flatten it without keeping it even and re-equalize it to hell, you'll end up cutting and reducing the sample even more.

I created a sample before I posted the one above, although it does indeed sound less flat than what I posted - it has lost far too much quality, thus making the end results worthless to say the least. Going with simple clip reduction, hiss reduction and flattening isn't going to give you a perfect sounding sample - that's not even the point of audio restoration, as far as I'm concerned, but like I said, this sample won't get any better than what it is. The original is far too lossy.

EDIT: The sample is already stereo, Spikey.

Last edited by Killy : Aug 2, 2007 at 07:31 AM.
Macabre Ripper


Member 1284

Level 13.25

Mar 2006


Reply With Quote
Old Aug 2, 2007, 06:44 PM #12 (permalink) of 38
Try this.
Composer of Broken Notes, music inspired by Silent Hill:


Macabre Productions
Sierra Music Quester


Member 13178

Level 13.32

Sep 2006


Reply With Quote
Old Aug 3, 2007, 04:22 AM Local time: Aug 3, 2007, 06:52 PM #13 (permalink) of 38
Quote:
No, all of those are clipping. You haven't really improved it. Panning and/or adding echo isn't going to restore it. To reduce clipping - you have to flatten it, if you flatten it without keeping it even and re-equalize it to hell, you'll end up cutting and reducing the sample even more.
If you mean clipping as going over 100% volume, 0 dB, then no, it's not clipping. But if you mean parts are clipped, then I can't magically 'unclip it'.

All 3 samples I posted are normalised to 96%, which is what's generally accepted (and what CoolEdit recommends).

I never claimed to have some magic snake oil. I just feel it sounds better than crappy mono-sounding stereo.

Quote:
I created a sample before I posted the one above, although it does indeed sound less flat than what I posted - it has lost far too much quality, thus making the end results worthless to say the least. Going with simple clip reduction, hiss reduction and flattening isn't going to give you a perfect sounding sample - that's not even the point of audio restoration, as far as I'm concerned, but like I said, this sample won't get any better than what it is. The original is far too lossy.
I'm not sure what you're getting at. Did you listen to what I posted? Do you like it? Do you think it's a pointless exercise? Etc, etc.


As for it already being stereo, it's not very good stereo, which is the whole point of this thread, I thought so anyway. As opposed to generally-speaking audio restoration, which is beyond the scope of this thread.



Parjay: Sounds worse than the original. Maybe just a smidge more stereo. Did you normalise it? It's pretty tough to compare one volume level with another..

- Spike

Last edited by Spikey : Aug 3, 2007 at 04:28 AM.
De Arimasu!


Member 1222

Level 34.59

Mar 2006


Reply With Quote
Old Aug 3, 2007, 04:44 AM Local time: Aug 3, 2007, 08:44 AM #14 (permalink) of 38
I will admit that there's a bit more stereo in some of these samples. I'll also admit that the Freelancer music is fairly nice, and worth a listen. I just don't think the gains outweigh the losses though. When you're recompressing a lossy MP3 to another lossy MP3, you will lose quality.

Isn't something like this more likely to offer the better quality you're looking for? Are there tracks which exist in the game but are not on the OST?

http://music.msn.com/album/?album=39728626
Sierra Music Quester


Member 13178

Level 13.32

Sep 2006


Reply With Quote
Old Aug 3, 2007, 08:16 AM Local time: Aug 3, 2007, 10:46 PM #15 (permalink) of 38
Quote:
I will admit that there's a bit more stereo in some of these samples. I'll also admit that the Freelancer music is fairly nice, and worth a listen. I just don't think the gains outweigh the losses though. When you're recompressing a lossy MP3 to another lossy MP3, you will lose quality.
I don't usually do that. I usually work with WAV game audio, so there's only one lot of compression. And with the work I'm doing on Torin's Passage (sample posted earlier, and I've improved on it), there's definitely a big improvement- it's mono audio originally. Hissy mono sucks compared to fake stereo, no matter what anyone says

- Spike
Macabre Ripper


Member 1284

Level 13.25

Mar 2006


Reply With Quote
Old Aug 3, 2007, 12:08 PM #16 (permalink) of 38
Parjay: Sounds worse than the original. Maybe just a smidge more stereo. Did you normalise it? It's pretty tough to compare one volume level with another..
Hahahaa, oh wow.
Composer of Broken Notes, music inspired by Silent Hill:


Macabre Productions
Xmd5a


Member 324

Level 26.83

Mar 2006


Reply With Quote
Old Aug 3, 2007, 12:14 PM Local time: Aug 3, 2007, 05:14 PM #17 (permalink) of 38
Quote:
Parjay: Sounds worse than the original. Maybe just a smidge more stereo. Did you normalise it? It's pretty tough to compare one volume level with another..
Yes, let's add crappy panning and echo sounds to the original sample and still have it melt our eardrums! Yay! :sarcasm:
Sierra Music Quester


Member 13178

Level 13.32

Sep 2006


Reply With Quote
Old Aug 4, 2007, 03:54 AM Local time: Aug 4, 2007, 06:24 PM #18 (permalink) of 38
I usually work with mono to stereo, not making a stereo piece improved. I probably wouldn't touch that Freelancer piece if it was a soundtrack I'd listen to (which it isn't, not my kind of game music).

I notice you guys haven't commented on each other's samples, either.

And, no doubt you guys are more knowledgeable than me about audio. But I get the feeling I'm the only one who is actually:
a. trying to help the guy
b. trying to have a proper discussion about this

If you have a comment like, "I don't like you what you did because X", or "Person X's sample is better than yours", that's fine- being assholes because you want to or because you can't be assed justfiying your opinion is just weak.

Bottom line- I hate listening to mono game audio or poorly mastered stereo, and if I can do something to improve that (which I believe I'm doing with Torin's Passage), I sure will. If someone has comments or improvements on that, that's fine too. I'm certainly no expert and could use that.

- Spike
Xmd5a


Member 324

Level 26.83

Mar 2006


Reply With Quote
Old Aug 4, 2007, 07:11 AM Local time: Aug 4, 2007, 12:11 PM #19 (permalink) of 38
Come on man, enough bullshit already. Are you the only one trying to help him? Jesus, want a ribbon to go with that?

Also, I don't feel I have to justify my opinion by telling you a lie - I'm not going to say "Hey Spikey, you did a great job!" when in fact, you did something I would never even consider doing. Being dishonest to you will not help you improve, if that's truly what you want to, it'll only make matters worse.

If you take your time and read through my first response after you posted your three samples, you might even catch a hint of constructive criticism.