Showing posts with label AY-3-8910. Show all posts
Showing posts with label AY-3-8910. Show all posts

Saturday, April 25, 2015

GEEKSPEAK U: The FME-7 (SUNSOFT 5B)

Most of you know about the Gimmick soundtrack. Most of you know that it features a special chip in the cart that enhances the sound capabilities and adds more channels. But what exactly does it add to the NES's stock sound system to make it sound so good? Well, believe it or not....it basically just adds an Intellivision sound system.

The SUNSOFT 5B, which was a modified version of the Sunsoft FME-7, contained the Yamaha 2149 PSG, which is functionally identical to the General Instruments AY-3-8910, which appeared in the MSX, several arcade cabinets, and of all things, the Intellivision. It's generally felt that the AY and YM slot in-between the SN76489s and POKEYs of the world on the one hand, and the 2A03s and SIDs of the world on the other...in other words, it's generally held to be an inferior sound chip to the one in the NES.

But what Gimmick proves for us is that even though it's inferior, the inferior, paired with the superior produces something FAR better than what the superior can produce all by itself.

A lot of people, I think, assume that the FME-7 added the sampled bass channel, but no, this is just stock 2A03. NES has a 1-bit PCM sampler that does a really crappy job of sampling...but can do it - without tying up any other resources in the sound chip. You will occasionally hear it produce percussion (think Super C, or Super Mario Bros 3), or it will be used for short voice clips, or for sound effects, but it was VERY rare to hear it used "musically". As far as I know, only Gimmick, Batman: Return of the Joker, and Fester's Quest use it for bass guitar (though the bass is so poor that it's almost unrecognizable as a bass guitar sample, or anything that began its life organically, for that matter)

What the YM adds is three more square wave channels (they can do 25% and 85% duty pulse waves too, but I do not think they're used that way in this soundtrack). Big deal, right? Well hold on. Not only does that bring the total number of channels to eight (same as SNES), but it completely frees the 2A03 up to just use asymmetrical pulse waves on those channels, and not have to worry about plain square, while still keeping those wonderful square tones in the mix - moreover, the square waves on the AY/YM are a little "rounder" and more "haunting" sounding than the purer, but blander squares of the 2A03. So, these three extra square waves turn out to be a huge boon after all!

The typical sound scheme of this soundtrack is 2A03 PCM bass (with the PCM also pitching in a little sampled percussion in-between bass notes), the white noise handling the lion's share of the percussion, with the triangle wave - usually used for bass freed up to mostly devote itself to supporting the percussion with portamento falls "tom fill" drums. The 2A03 pulse wave channels, not needing to produce plain squares can just stay in 12.5%, 25%, and 75% pulse wave mode for tonal diversity and inflection. And then, as I said before the YM brings a trio of their haunting, phasey, wonderful plain square waves.

In fact, the soundtrack doesn't deviate from this scheme til about 2/3rds of the way through, when "Just Friends" starts at 19:23. This track features a square wave bass (provided by the YM), subtle sampled percussion, YM rhythm squares in the melody and harmony register, NES pulse waves, and if I'm not mistaken, the triangle wave is buried up in the squares (it might also just be absent).

Next up, at 21:11, is my favorite track of the whole game, "Sophia". It starts with NES sampled percussion, and a YM bass line with a pair of  square waves (to get the fatness, phasey-ness, and warmth) until the bridge at 21:37, when it drops to just a single square wave, since that one is needed elsewhere. And then, at 21:49, the chorus comes, which features NES sampled bass once again. The chorus also features a double melody of NES triangle wave, and NES pulse wave. Even cooler is the plain triangle wave solo at the very beginning of the track at 21:17. Keep in mind a few things: the triangle wave has a really smooth sound, that kinda meets square and sine in the middle, if not even leaning closer to sine (though it has overtones unique to it that neither sine nor square have), and that it's normally used for bass or drums, so you don't often get to hear its soothing call in the upper register.

Paradox, and Innocent go back to the Gimmick Standard sound font, but Siesta features NES sampled drums, YM square bass, and a triangle/square double melody (a la Ironsword).

Goodnight is close to the Gimmick Standard font, only with the obvious exception of very wonderfully overt triangle wave harmony arpeggios. Also, just before the chorus, the bass briefly goes from NES samples to YM square before going back again right away. And then after the chorus, it goes back to square for a bit before returning once again to samples. Great interplay between the two bass modes. Also worth noting, at no point in this soundtrack is the triangle wave used as the primary driving force for bass, as it customarily is on standard 2A03-only stock NES/Famicom sound hardware. :-)

The very last track, the unused one, goes back to the standard Gimmick sound font. Nice way to round us out.

So, now that you've heard all about it, why not actually hear it? :-D

Gimmick, for the Famicom - who knew NES and Intellivision could sing such a lovely duet (though it's probably more accurate - albeit a whole lot less fun- to think of this as an NES/MSX duet instead).

Enjoy:


Sunday, April 12, 2015

GEEKSPEAK U: The Yamaha FM chips of Gaming - Part 8 of 12: YM2413 (aka OPLL)

OPLL is based on the OPL2, but stripped down for budget purposes. For one, it could only use two of OPL2's four waveform options - plain sine, or half sine, and not the absolute sine or quarter sine. For two, it was TDM, like the OPN2, rather than adder output (though I do not believe it suffered from the ladder effect).

Lastly, and perhaps most importantly, on ALL of these chips I've mentioned so far, OPM, OPN, and OPL you could custom set the channel parameters (operators, algorithms, etc) on EVERY channel on that chip. On the OPLL, of the nine (or six) instrument channels, only one...ONE was completely user definable. The other channels had to use "canned", or pre-programmed instruments (such as flute, acoustic bass, guitar, brass, etc).

There were 15 canned voices that programmers could choose from, and that was what they had to work with. Granted, the voices sounded nice...but still they were canned instruments, with only one definable custom voice at any one time. As a result, OPLL music is going to sound a LOT more samey than any of the other FM chips.

That's a huge limitation for OPLL! Even with OPL only being able to use plain sine, OPL, as "vanilla FM" as it is is still generally regarded to be the more all-around usable, powerful chip because of the user definability of all its channels. Though, to me, the listener, I still think OPLL sounds more robust than OPL due to it's ability to use half-sine operators. It sounds more like OPL2 to me than OPL.

I guess I'll let you decide for yourself. :-)

OPLL did see some use in the Arcade (though I don't believe it was ever used by itself, but in conjunction with, say, the OPN), and it was also used in an FM music making cart for the MSX called the MSX Music. There was also MSX Audio which was considered the more powerful format, and featured OPL instead of OPLL. But most likely its most famous use was in the Japanese Sega Mastersystem. The Japanese Mastersystem had the OPLL built in as well as the global Mastersystem's PSG chip, the Texas Instruments SN76489. None of the other region's Mastersystems had the OPLL built-in (though there is an aftermarket mod kit that will add it to the other regions).

The relationship between FM and PSG on the Mastersystem is different than the relationship between FM and PSG on the Genesis. On the Genesis, the PSG supplements the FM, and all Genesis games (except Frogger) use the FM, but several choose to supplement it with PSG, bringing sound channels to 10 from 6. Well, in the case of the Mastersystem, it's either or, rather than both / and.

Many games have no instructions for FM, and will run PSG in any region. The ones with instructions for FM also have instructions for PSG, but they won't run simultaneously, instead, it will check for the presence of the OPLL, and if found, will play FM. If not found, it will revert to PSG (this is why the FM mod on, say, the US Mastersystem will be effective, because even the US version of those games still have the FM code in them, they just revert to PSG when the FM chip is not found).

The only exception to this is not a game, but the BIOS screen to the JP SMS, if turned on without a game plugged in, it'll play a track from Space Harrier, but modified to feature FM and PSG working in concert, like you'd hear on the Genesis. This implies to me that it's not an actual hardware limitation in the system as I had suspected. I suppose it's so the game will work seamlessly in any region without requiring reprogramming.

If anyone knows of any actual Mastersystem games that actually do use FM and PSG in tandem, please let us know in the comments.

The Konami VRC7 chip is based on the YM2413, but there are enough differences between it and a stock OPLL that we can consider it a distinct chip, and thus, it shall receive its own part in the series.

I'll share some OPLL examples from the Mastersystem, as well as the MSX Music. And for cross-reference, I'll share both the FM and the PSG versions of the Mastersystem R-Type soundtrack.

For starters, here's the FM version of R-Type


Now, here's the PSG version - this is running on the Texas Instrument SN76489 PSG chip that is common to all regions of the Mastersystem (and is also the exact same PSG chip used in the Genesis for its PSG - a modified for stereo version of it can be found in the Game Gear handheld)


One more comparison while we're at it, The Aleste soundtrack - only this time not Mastersystem FM vs Mastersystem PSG, but rather Mastersystem OPLL vs MSX Music OPLL. The MSX version sounds much beefier and fuller, while the Mastersystem version sounds thinner and scratchier. I don't know if this is an accurate reflection of the difference from system to system, or just the quality of the YouTube video. More investigation is required on my part, and if I find anything interesting, I may post a blog about it in the future.

Meanwhile, here's the Mastersystem version


Here's the MSX: One difference I do notice is that the MSX version is getting some percussive help here and there from the MSX's stock PSG chip, while the Mastersystem version is depending entirely on the FM chip. I don't believe this wouldn't account for any of the differences I mentioned above, but it is a difference to notice.


There were different carts with the MSX Music designation. While they all had the OPLL as the common denominator, and while they all had access to the MSX's stock General Instruments AY-3-8910 PSG, they differed in various other ways. Some even included the ability to use PCM percussion! As far as how this FM/PCM/PSG MSX2 sound system would stack up to say, a Sega Genesis, it's an interesting question. The FM chip in the Genesis is substantially superior to the FM chip found in the MSX, but the PCM quality is significantly better than the DAC sampler on FM channel 6 in the Genesis (and the MSX PSG is slightly better than the PSG the Genesis uses as well.) I'd still give the crown to the Genesis on account of the FM chips. But it's a real question, worthy of real discussion.

Once again, I'll let you decide for yourself. Here are Xak 1 and 2, and Xak: The Tower of Gazzel (presumably Xak 3.) For some reason, the Xak 2 soundtrack does not use PCM percussion, but 1 and 3 do.




As alluded to earlier, here's the OPLL/PSG duet JP BIOS version of the Space Harrier theme



And lastly, I'll just leave you with two random tracks from the Mastersystem...just because.

Galaxy Force - Beyond the Galaxy (in my opinion, the best Mastersystem use of the OPLL of everything I've shared here.)



Double Dragon - Stage 2