OpenXcom Forum

OpenXcom => Open Feedback => Topic started by: skyhawk on June 15, 2014, 03:50:48 am

Title: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 15, 2014, 03:50:48 am
Hello,

I just discovered OpenXCom earlier today. I played the hell out of X-Com and TFTD back in the day, and I happened to be fortunate enough to own a Roland MT-32 when I did so.

It so happens that I still own it, and it's connected to my computer and works from within DosBOX, and I'm setup to capture it's output.

If someone a bit more familiar with the music situation with OpenXCom would like to work with me and answer a few questions, I'd be delighted to provide MT-32 captures for the music from X-Com and TFTD.

Apologies is this is the incorrect sub-forum to post this in. If I should be posting elsewhere please advise.

For those new to the thread: Revision 3 of the MT-32 music pack is currently available -
Dropbox (https://www.dropbox.com/s/w4o1ootiehfr6kw/OpenXCom-UFO-MT32-rev3.zip?dl=0)

This release has been down-sampled to 44kHz, disregard any previous instructions about setting a 48kHz sample rate.

Readme:
Code: [Select]
This is revision 3 of my OpenXCom Enemy Unknown MT-32 music pack.

Unless the developers give me a way to offset-loop music in the future, I do not expect there to be any future releases. Yes, that's what I said for revision 2.

Due to popular demand and apparent issues with 48KHz Playback in OpenXCOM that I haven't personally encountered, this release has been down-sampled to 44.1 kHz. As I no longer have the original Audacity cuts used to generate this release, this has been downsampled from the .ogg versions of revision 2.

There are three caveats:
1) Due to how it loops, the first second or so of the Interception music sounds a little lousy (reverb from just before the looping point).
2) The Cydonia briefing differs significantly from the General MIDI version of the same song, and sounds much more bare.
3) There is a police siren present during the opening sequence as played on a CM-32L or LAPC-I, that is not present on the MT-32.

---------------
Install like any other OpenXCom Music Pack:

Extract the contents into <datadirectory>/SOUND, overwriting as necessary.

In Game Options -> Audio, make the following changes:
set Music Format to OGG, or else make sure there are no other GM*.* files in the directory.
Set Audio Sample Rate to 44.1 KHz
---------------

Further details might be available at:
https://openxcom.org/forum/index.php?topic=2270.0
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: SupSuper on June 15, 2014, 06:42:09 am
That sounds awesome. :) Did X-COM take advantage of the Roland MT-32? I don't remember.

What information do you need? OpenXcom supports any music in any standard format (FLAC/OGG/MP3/etc), preferably cut for seamless looping. You can find examples of music packs here (https://users.atw.hu/xcom-sounds/).

The game tracks are as follows:
GMDEFEND - Briefing music for base defenses and terror missions
GMENBASE - Briefing music for the rest
GMGEO1 - Geoscape (Variation 1)
GMGEO2 - Geoscape (Variation 2)
GMINTER - Dogfight / Interception music
GMINTRO1 - Intro (Part I)
GMINTRO2 - Intro (Part II)
GMINTRO3 - Intro (Part III)
GMLOSE - Game Over music
GMMARS - Debriefing music after a mission
GMNEWMAR - Briefing music for the Cydonia mission
GMSTORY - Main Menu music
GMTACTIC - Battlescape music
GMWIN - Victory music
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 15, 2014, 07:08:27 am
Both XCOM and TFTD could use the MT-32 for music, though neither even tried to do sound via the MT-32. (Which is good from the perspective of trying to capture music). I honestly preferred the music from TFTD (which is actually the game I played first). I can't recall off the top of my head if either game used custom patches.

Ideally someone could provide some savegames so I simply have to "load" each game and capture one or more pieces, then load the next game.

I haven't done a whole lot of audio editing work. If someone would be interested in processing the raw captures that would work, else if someone has a handy guide to producing the needed results in Audacity that would be great.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: yrizoud on June 15, 2014, 03:30:29 pm
The linked page includes a MIDI-MT32_GS_2.51.zip, I don't know how different it sounds from music played with the actual Roland MT-32
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 15, 2014, 04:07:21 pm
The linked page includes a MIDI-MT32_GS_2.51.zip, I don't know how different it sounds from music played with the actual Roland MT-32
Looks like it used a General Midi (mt-32 emulation) patchset. I expect it sounds terrible and nothing like the real thing. Downloading it now...

ew. yep. Nothing at all like the real thing.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 15, 2014, 06:46:08 pm
Does the original game use some kind of logic to determine which Geoscape music to play? I've captured about 20 minutes, and I'm having a hard time picking out the start of GMGEO1. I'm almost thinking they're the same piece of music, cut up and looped with different beginning and ending positions.

I'm comparing to the GM-Ultrasound zip by Fenyo.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: Tarvis on June 15, 2014, 10:22:29 pm
There's two Geoscape tracks, and they don't play sequentially (it loops the same one). The first time the game goes to the Geoscape it will play GMGEO1. Once you do a mission and come back, it should do GMGEO2, and so on.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 16, 2014, 12:37:39 am
Got it!

Capturing now, thanks.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 16, 2014, 01:35:47 am
Huh.

The Geoscape musics for the MT-32 actually loop seamlessly in-game.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 16, 2014, 01:46:59 am
There's two Geoscape tracks, and they don't play sequentially (it loops the same one). The first time the game goes to the Geoscape it will play GMGEO1. Once you do a mission and come back, it should do GMGEO2, and so on.
Does it just round-robin between the two, even across savegames, or will it _always_ start with GMGEO1 on a New Game? I'm picking at nits here, but I want to do this as correctly as possible.

Edit: Just answered my own question, it round-robins, and may start a New Game with either GMGEO1 or GMGEO2.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: SupSuper on June 16, 2014, 02:54:48 am
My advice for recording the tracks would be:
- Record the intro with sound effects disabled.
- Start a New Game, shoot down a UFO, go to the crash site and abort. This alone should get you the Main Menu music, Geoscape 1 music, Interception music, Briefing music, Battlescape music, Debriefing music and Geoscape Music 2.
- To record the Lose Game music, just sit on your ass until you inevitably lose. :P
- Get a late-game save like the one found here (https://www.xcomufo.com/x1save.html). This should let you get the Base Attack Briefing music if you wait around, or send a craft to Cydonia to get the Mars Briefing music. To get the Win Game music you probably have to actually beat it though. ;)

Does it just round-robin between the two, even across savegames, or will it _always_ start with GMGEO1 on a New Game? I'm picking at nits here, but I want to do this as correctly as possible.
From what I could tell from testing, the Geoscape track variation is kinda crazy:
- First time you start a game it will always play GMGEO1.
- Loading a game from the Geoscape has no effect, the last track will keep playing.
- Loading a game from the Main Menu, it plays GMGEO1 if the save slot is odd, and GMGEO2 if the save slot is even.
- Tactical battles seem to switch to GMGEO2, while interceptions switch to GMGEO1.

Note that this only applies to UFO. TFTD has many more track variations, so they're probably actually random. :P
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: shinr on June 16, 2014, 08:05:06 am
For reference, GMGEO1 and GMGEO2 are around 8 and 9 minutes long, respectively, give or take 20 seconds.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 16, 2014, 08:13:29 am
My advice for recording the tracks would be:
- Record the intro with sound effects disabled.
- Start a New Game, shoot down a UFO, go to the crash site and abort. This alone should get you the Main Menu music, Geoscape 1 music, Interception music, Briefing music, Battlescape music, Debriefing music and Geoscape Music 2.
- To record the Lose Game music, just sit on your ass until you inevitably lose. :P
- Get a late-game save like the one found here (https://www.xcomufo.com/x1save.html). This should let you get the Base Attack Briefing music if you wait around, or send a craft to Cydonia to get the Mars Briefing music. To get the Win Game music you probably have to actually beat it though. ;)
Fantastic advice, thanks. I think I've got satisfactory captures of everything but GMDEFEND, GMNEWMAR, and GMWIN. I'll probably post a teaser up on Youtube sometime this eve. Any requests? GMLOSE was kinda interesting (I've never heard it before. I always rage-quit and restart long before I get to an official game-over).
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 16, 2014, 09:29:03 am
Here's the teaser: https://www.youtube.com/watch?v=ugc54iqpkGE
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 16, 2014, 03:02:53 pm
I'm not certain how I'm supposed to cut up the intro. On my setup, the INTRO1 segment only lasts 14 seconds, and cuts directly into INTRO2. I have no idea where the GUS soundtrack got that extra 6 seconds...
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 17, 2014, 01:25:30 am
And it's done!

Should be able to be downloaded here: -- See below or top post on the thread for current download --
https://www.dropbox.com/s/esmyeqlwlwegwb8/OpenXCom-MT32.zip

I'm pretty happy with it overall, though I couldn't quite get the interception music looping perfectly. Constructive criticism is appreciated, and if anyone thinks they can do a better job looping I'd be happy to make the Audacity project files available.

I don't like this soundtrack enough to bother normally, but if there's any interest I might make a reverb-enhanced music pack. The MT-32 has little-known adjustable hardware reverb, and on better pieces it sounds _fantastic_. For an example of the effect, skip to about 1:45 (or don't!) on this video:
https://www.youtube.com/watch?v=YqPRCi2ji6k

Also, SupSuper, you got the filenames for the Base Defense briefing and the regular briefing reversed.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: Tarvis on June 17, 2014, 03:02:54 am
If you pack up the project files and host them, I'll help you cut them properly for looping. A lot of tracks seems to have a bit missing off the beginning, and others like INTRO1/2 are cut wrong.

Here's the tracks that need re-doing:
-GMINTRO1 and 2 (the end of 1 is put into the beginning of 2, you can probably just cut and paste it back over)
-GMINTER (The beginning is moved to the end, could probably just be re-cut)
-GMNEWMAR (Seems to have a lot missing, if you have a longer recording I could just re-cut it)

The following are fine but seem to have a tiny bit cut off the beginning:
-GMENBASE (very slight)
-GMINTRO3
-GMWIN (This isn't meant to loop so it doesn't really matter)

The rest are fine.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: SupSuper on June 17, 2014, 03:17:03 am
The MIDI tracks have a lot of blank space. The game probably automatically switches between them to keep timing, so the length doesn't matter. I'd say just go with your gut, since each part has very different instrumentality and scenes:
INTRO1 is just a quiet mood-setter like the menu theme.
INTRO2 starts when the muton leader screams and ramps it up.
INTRO3 starts at the ALERT and sets up X-COM fighting back.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 17, 2014, 05:28:22 am
If you pack up the project files and host them, I'll help you cut them properly for looping. A lot of tracks seems to have a bit missing off the beginning, and others like INTRO1/2 are cut wrong.

Here's the tracks that need re-doing:
-GMINTRO1 and 2 (the end of 1 is put into the beginning of 2, you can probably just cut and paste it back over)
-GMINTER (The beginning is moved to the end, could probably just be re-cut)
-GMNEWMAR (Seems to have a lot missing, if you have a longer recording I could just re-cut it)

The following are fine but seem to have a tiny bit cut off the beginning:
-GMENBASE (very slight)
-GMINTRO3
-GMWIN (This isn't meant to loop so it doesn't really matter)

The rest are fine.
Lesson learned. Take a capture, SAVE the capture before processing, then process in a different project. I've cut and trimmed some of these up enough I don't think I have footage to easily re-cut them again.

The division between INTRO1 and INTRO2 seems totally arbitrary to me, and I'll gladly let someone else cut up that one. My GMINTRO3 was cut from this so I'm not sure how/if it's wrong, but feel free to re-cut as you see fit.
https://www.dropbox.com/s/rqsbwd8xgeoethb/GMINTRO_raw.7z -- I'm pretty sure I've already normalized that one, so just chop it up and export to OGGs.

GMINTER no longer has two complete loops to work with. It could be salvaged, but it's probably less work for me to just re-capture it and try my hand at cutting it again.

GMNEWMAR is fine and complete, as far as I can tell. It's the same length as the GUS soundtrack I'm using as reference, and listening to the raw recording it's only about a 30-second loop. If you're certain there's something wrong with it I'll give you the capture, but please check again as I'm pretty sure it's fine. Again I've only got my cut version, so I'll recapture this if you still think there's an issue with it.

I no longer have an uncut version of GMWIN. I'm not sure how I would've screwed that up, but that'll be easy enough to recapture. (I've got a savegame that's one turn from victory)

I'm also lacking an uncut version of GMENBASE. Yay for more recapturing.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: SupSuper on June 17, 2014, 06:33:39 am
Something I noticed is your INTRO1 doesn't have the extra cop siren sound played in this Roland-MT32 recording: https://www.youtube.com/watch?v=iIMGd1Hr_JU
Different card maybe?
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 17, 2014, 07:10:49 am
Something I noticed is your INTRO1 doesn't have the extra cop siren sound played in this Roland-MT32 recording: https://www.youtube.com/watch?v=iIMGd1Hr_JU
Different card maybe?
Yep. Broadly speaking, there's two generations of MT-32 family devices. In a perfect world, I'd only play a given game on the device from it's era. Unfortunately, I only have the one module.

The first family consists only of the older revision MT-32 synthesizer modules, like mine. (This is an external machine connected via MIDI, not a PCB in a computer).

Once it took off and became the de-facto standard for high-end game music, Roland released a second generation of devices.
These second generation devices had more samples (like that siren), less noisy output, headphone jacks, and didn't freeze or crash if sent rapid SysEx messages. Problem is, they weren't totally backwards compatible. The newer devices have unavoidable, horrible clipping in some games, and sometimes produce different results on custom patches than early revision units. These second generation units come in a variety of forms, external synth modules like mine, dedicated "computer music" modules without the controls, and the LAPC-I, an ISA add-in card.

Wikipedia can give you more details, and there's an insanely long Youtube video that goes into extreme depth:
https://www.youtube.com/watch?v=5NUQpAZeAdo
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 17, 2014, 09:56:56 am
-GMINTER (The beginning is moved to the end, could probably just be re-cut)
I see why I'm having problems now. Because of how this piece loops (that drum loop right before the cut), the MT-32 is still rendering a lot of reverb over the start of the new loop, hence it sounds like ass on the first playback. I'm going to publish a v2 of the music pack, with the "correct" (I think) GMINTER. I actually have my raw rips this time, so we can debate how/if to cut it differently at that time.

I don't see a way to capture the complete and full song correctly, without running into this problem. My initial reaction would be to skip the first one or two beats and put the start of the song at the end of the loop, which is what I (incompetently) tried to do the first time.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 17, 2014, 10:29:33 am
The following are fine but seem to have a tiny bit cut off the beginning:
-GMENBASE (very slight)
-GMINTRO3
-GMWIN (This isn't meant to loop so it doesn't really matter)

Tarvis,

I have to ask - are you listening to these tracks in a separate media player application, and is your computer connected to an external audio receiver via something like TOSlink or Coaxial digital?

That's my setup, and I've found the receiver goes to "sleep" if it's not receiving a signal. It wakes up _really_ fast, but can still sometimes miss the first note of something. I've actually got a "Silent" WAV file looping continuously in the background right now to keep the receiver awake.

I ask because all of your notes of "Chopped a little off at the beginning" aren't panning out for me. I'm comparing the files I published with my new captures, and they're the same.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 17, 2014, 11:37:51 am
Revision 2 of the music pack is available now:
https://www.dropbox.com/s/7boc4wsabfnrc2c/OpenXCom-UFO-MT32-rev2.zip

Near as I can tell, this is complete and properly looped and cut. There are two points worthy of discussion:

1) GMINTER has a drum roll right before it loops, and the MT-32 is reverbing that over the loop point, making the very start of the first playback sound a little lousy. I suggest we consider moving the first two beats of the song to the "end" of the loop, which (in my opinion) won't be noticeable, and will improve the quality of the first play-through.

2) GMNEWMAR appears to be substantially different between the General Midi and the MT-32 version. The MT-32 version is very bare. As this was probably written for GM and ported to the MT-32 this was probably an oversight on the developers' part. It should be noted that patch 1.4 completely broke Roland playback, and required a fan-made correction to fix it, so it should be safe to say the Roland support wasn't exactly extensively tested.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: HunterZ on June 18, 2014, 02:37:14 am
Something I noticed is your INTRO1 doesn't have the extra cop siren sound played in this Roland-MT32 recording: https://www.youtube.com/watch?v=iIMGd1Hr_JU
Different card maybe?
This is because X-COM actually expects a Roland CM-32/LAPC-I compatible synth, which contains extra sounds not provided by the MT-32.

I also own a real MT-32 (and SC-88) but would like to someday acquire a CM-32 as well. Unfortunately the latter are a lot more rare these days.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: HunterZ on June 18, 2014, 04:41:20 am
For some reason these sound like almost pure noise on the Android version. I have some SC-55 OGGs that sound fine, and these MT-32 ones play fine in an Android media player app, so it must be something with the Android build of OpenXcom I guess.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: sfalexrog on June 18, 2014, 03:20:33 pm
Wow, that Roland sound, just... wow. I knew Rolands were good, but I've never known they're THAT good. Makes me really wish I'd owned one at some point.

And about that Android version, well, looks like it's some weird problem with resampling. I've tried saving the music as 22050 Hz oggs, and they seemed to work fine for me, although it sounded noticeably worse. Also, setting OpenXcom's sample rate to 48000 made sound effects higher-pitched. So I guess one should use 44100 Hz oggs for maximum compatibility, and 48000 Hz high-quality sound should always be there for completeness' sake.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 19, 2014, 07:08:11 am
So I've been experimenting with GMINTER, trying to find a better loop point, and the musician really didn't give me much to work with. There's no 'slack space' to play with. If I start even just a few beats into the piece, it totally wrecks the progression.

Unless the OpenXCom devs give me a way to implement a 'Start at 0m:00s, play until the end, then loop to 0m:55s' there's no way I can make this loop properly and sound good at the beginning.

This also puts a serious wrench into an 'enhanced reverb' music pack, as enhancing the reverb will just make the start/loop point of GMINTER sound even worse than it already does.

Any suggestions on long-term hosting? I'd rather not keep this on my Dropbox for forever.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: HunterZ on June 19, 2014, 07:22:26 am
Any suggestions on long-term hosting? I'd rather not keep this on my Dropbox for forever.
Have you tried contacting the guy who maintains the soundtrack web page? It's at https://users.atw.hu/xcom-sounds/ although there isn't any contact info there - just the name Fenyo.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 19, 2014, 07:43:22 am
Have you tried contacting the guy who maintains the soundtrack web page? It's at https://users.atw.hu/xcom-sounds/ although there isn't any contact info there - just the name Fenyo.
I'd love to have this hosted on his site, but I'm drawing a blank on methods of contacting him...
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 19, 2014, 08:20:03 am
Any chance the devs could implement something like this?

https://www.rpgmakervxace.net/topic/3825-make-looping-bgm-part-1-ogg-vorbis/
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: HunterZ on June 19, 2014, 08:36:26 am
I'd love to have this hosted on his site, but I'm drawing a blank on methods of contacting him...
https://openxcom.org/forum/index.php?action=pm;sa=send;u=937
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: Jo5hua on June 19, 2014, 11:21:55 am
I'd love to have this hosted on his site, but I'm drawing a blank on methods of contacting him...

Feel free to upload it to the modsite. It's also hosting the UFO Cydonia's Fall soundtrack.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 19, 2014, 02:29:53 pm
Feel free to upload it to the modsite. It's also hosting the UFO Cydonia's Fall soundtrack.
I got a response from Fenyo, he should have it added sometime next week. I'd like to add it to the modsite as well, but the Flash uploader doesn't seem to be working. I can select the file to upload, but when the Open dialog closes nothing happens.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: HunterZ on June 20, 2014, 05:11:27 am
And about that Android version, well, looks like it's some weird problem with resampling. I've tried saving the music as 22050 Hz oggs, and they seemed to work fine for me, although it sounded noticeably worse. Also, setting OpenXcom's sample rate to 48000 made sound effects higher-pitched. So I guess one should use 44100 Hz oggs for maximum compatibility, and 48000 Hz high-quality sound should always be there for completeness' sake.
Any chance that you could post 44kHz OGGs? I could probably resample myself using Audacity or something, but I'm assuming you've got lossless recordings to work with.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on June 20, 2014, 06:39:32 am
Any chance that you could post 44kHz OGGs? I could probably resample myself using Audacity or something, but I'm assuming you've got lossless recordings to work with.
Sorry, but due to the issues with chopping up the recordings earlier in the thread, many of the original recordings are no longer suitable for making new cuts from. Given a 44KHz pack's status as "a kludge for Android" I'd just resample the 48KHz OGGs and be done with it. Honestly, even if your device is attached to a fairly high-end sound system I find it unlikely you'd be able to tell the difference.

Can we get word from the devs? Is this issue with Android an explicit bug which should be fixed in the near future, making 44KHz music redundant?
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: Jo5hua on June 24, 2014, 10:35:20 pm
I got a response from Fenyo, he should have it added sometime next week. I'd like to add it to the modsite as well, but the Flash uploader doesn't seem to be working. I can select the file to upload, but when the Open dialog closes nothing happens.

I've sent you a personal message on here regarding this.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: FenyƑ on June 29, 2014, 11:46:38 pm
I have uploaded this music set to the collection site! LINK (https://users.atw.hu/xcom-sounds/)

I have repacked (reZipped) it to conform to the others. (Now it does not contain the SOUND folder, only the content)
Hope you don't mind.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: Tony Soprano on July 10, 2014, 11:06:22 pm
The intro music of these Roland captures is approximately 10% too slow. However, they play perfectly fine in VLC. Does anyone else have the same problem?
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: Tony Soprano on July 10, 2014, 11:15:33 pm
Converting to 44.1 khz solved the problem. Sorry for the last post...
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on July 11, 2014, 02:44:40 am
Converting to 44.1 khz solved the problem. Sorry for the last post...
That's the second reported issue related to sample-rate. What build and platform are you on? These playback perfectly, as far as I can tell, on OpenXcom 1.0 on Win7Pro-64.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: Tony Soprano on July 11, 2014, 08:39:29 pm
OS X 10.9.4 and OpenXcom 1.0. I don't know the exact build. How can I check that?
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on July 12, 2014, 09:17:03 am
OS X 10.9.4 and OpenXcom 1.0. I don't know the exact build. How can I check that?
I can't help with finding a build number, but I have another question - does it make any difference what the Audio Sample Rate is set to under Audio Options? If you set it to 48KHz does my music pack as distributed work properly?
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: Tony Soprano on July 12, 2014, 02:22:46 pm
Yes, that works. It was set to 22Khz before.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: ivandogovich on April 04, 2015, 06:33:00 am
Ok.  So I'm not an audiophile and I often play with no background music whatsoever.  However, Ivan Ivanoff recommended this sound pack to me for my PirateZ LP, as something at least better than the original midi files I was using from the steam version. 

I went ahead and checked it out.  I have to say, I'm very impressed!  There is a rich texture of undertones that comes through in this version that isn't there in other versions.  I like it alot.

Copied the files into /data/sound.  Set music format to .ogg and sample rate to 48k.  Very nice. :)
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: Meridian on April 04, 2015, 09:50:19 am
I was told by Volutar once that 48k doesn't work properly (something with SDL). And that I should use 44k, 22k or 11k... the other options not.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: ivandogovich on April 04, 2015, 03:47:37 pm
Hmm... that is interesting.  44k is definitely off with these samples.  48k definitely sounds better.  But it does sound a little different to what I'm used to.  I should have these incorporated into Episode 5.   I'll ask for feedback from folks then. :)
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: Meridian on April 04, 2015, 03:56:14 pm
Here's the full quote from Volutar: "And please, don't use 8/16/32/48k samplerates. SDL can't resample signal properly, and 48khz is simply played with samplerate of 44100, so every SFX, including UI and battlescape sounds are gonna be high pitched. You don't want this. It doesn't related to recording or your mic compability."

I don't pretend to understand any of this... just saying.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: ivandogovich on April 04, 2015, 03:58:06 pm
Aha!  I get what you are saying! 

Some of the sounds to sound High pitched at that.   so its a SFX issue, not a music issue.

Hmm... I'll have to look at a work around.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: Meridian on April 04, 2015, 07:57:42 pm
Hmm... that is interesting.  44k is definitely off with these samples.  48k definitely sounds better.  But it does sound a little different to what I'm used to.  I should have these incorporated into Episode 5.   I'll ask for feedback from folks then. :)

So, I just tried it too. The music in this soundtrack sounds good only at 48khz... everything else sounds really horrible.
The SFX definitely sounds better at 44khz, but (to my ears) it doesn't sound that bad at 48khz either.

So either we use 48khz and live with different sounds... or maybe we could try re-encoding the music at 44khz... not sure if that helps, but that's the only thing that comes to my mind right now.
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: ivandogovich on April 04, 2015, 08:23:30 pm
I did re-encode to 44k and its a good fit! :)  I'll work on getting it packaged and uploaded. :)
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures -44100Hz sample
Post by: ivandogovich on April 04, 2015, 11:10:21 pm
I've uploaded my sound pack.  Down sampled to 44.1 KHz everything sounds good. :)


Looks  like the file is too big for the forums and the Mod Site:  ::)

I threw it up on Google Drive.  I'm sure it can be down converted to a smaller format, but this is working fine for me.
https://drive.google.com/file/d/0B3LA7DXD41YYUmpudDRTTE9na0k/view?usp=sharing

The new Readme:
Code: [Select]
April, 2015 - Ivan Dogovich

This is a revision of Skyhawk's MT32 Roland Music Pack.  I have converted these to 44.1 KHz sample so that it will work better with the

other SFX (sound effects) in the game due to the way SDL works in OpenXcom.  I simply opened the original .ogg files in audacity and

changed the project rate to 44100.  My default is set to .wav files as those work well for me, but they do make large files.  The end

result is files that are Much larger than the original .mid files or the new .ogg files.  But they do sound really cool in the game.

Install like any other OpenXCom Music Pack.

Extract the contents into <gamedirectory>/DATA/SOUND, overwriting as necessary.

In Game Options -> Audio set Music Format to WAV, or else make sure there are no other GM*.* files in the directory.
In Game Options -> Audio set Audio Sample Rate to 44100 Hz
Title: Re: New to OpenXCom, would like to provide Roland MT-32 captures
Post by: skyhawk on August 16, 2015, 05:45:40 am
Alright, by popular demand I've released rev3. Unfortunately, as I do not have the original Audacity files used to create the pack, I've had to re-sample the previously-released .ogg files. These are high-quality .ogg files, like the original, so the disk space requirement is much lower than Ivan's uncompressed WAVs. I've also removed all directory structure from the archive, as that only serves to confuse the issue.

Dropbox (https://www.dropbox.com/s/w4o1ootiehfr6kw/OpenXCom-UFO-MT32-rev3.zip?dl=0)

Code: [Select]
This is revision 3 of my OpenXCom Enemy Unknown MT-32 music pack.

Unless the developers give me a way to offset-loop music in the future, I do not expect there to be any future releases. Yes, that's what I said for revision 2.

Due to popular demand and apparent issues with 48KHz Playback in OpenXCOM that I haven't personally encountered, this release has been down-sampled to 44.1 kHz. As I no longer have the original Audacity cuts used to generate this release, this has been downsampled from the .ogg versions of revision 2.

There are three caveats:
1) Due to how it loops, the first second or so of the Interception music sounds a little lousy (reverb from just before the looping point).
2) The Cydonia briefing differs significantly from the General MIDI version of the same song, and sounds much more bare.
3) There is a police siren present during the opening sequence as played on a CM-32L or LAPC-I, that is not present on the MT-32.

---------------
Install like any other OpenXCom Music Pack:

Extract the contents into <datadirectory>/SOUND, overwriting as necessary.

In Game Options -> Audio, make the following changes:
set Music Format to OGG, or else make sure there are no other GM*.* files in the directory.
Set Audio Sample Rate to 44.1 KHz
---------------

Further details might be available at:
https://openxcom.org/forum/index.php?topic=2270.0