nesdev.com
https://forums.nesdev.com/

Big Bird's Hide and Speak sample compression
https://forums.nesdev.com/viewtopic.php?f=2&t=8675
Page 2 of 2

Author:  Dwedit [ Mon Mar 05, 2012 11:54 pm ]
Post subject: 

Sonic the Hedgehog for Game Gear uses 4-bit PCM audio for the SEGA sound.

Author:  tokumaru [ Tue Mar 06, 2012 6:10 am ]
Post subject: 

Dwedit wrote:
Sonic the Hedgehog for Game Gear uses 4-bit PCM audio for the SEGA sound.

But it's played back using the square wave channels, right?

Author:  tepples [ Tue Mar 06, 2012 9:15 am ]
Post subject: 

rainwarrior wrote:
The ghostbusters thing doesn't sound like fixed bit compression to me. If I had to guess what's going on there, I'd say it cuts the sound into short segments and replaces each segment with a single cycling waveform that is a close match.

That's how the Digitalker family of codecs works, by treating voice as periodic over the short term. But in addition to periodism and 2-bit delta coding, it employs two other non-obvious (at the time) techniques. It changes the phase of each period sample to all cosines so that it can use a ping-pong loop (2x saving), and it silences the half of that sample that has the least energy (another 2x saving). That's how games using MX squeeze voice into 4 kbps or smaller at the expense of a bit of "robot voice". The developers of BBH&S probably didn't want the "robot voice" and were willing to spend a lot of bits to eliminate it.

tokumaru wrote:
Dwedit wrote:
Sonic the Hedgehog for Game Gear uses 4-bit PCM audio for the SEGA sound.

But it's played back using the square wave channels, right?

Yes, and the PCM sample had to be stored logarithmically because of this.

Author:  NEStegg [ Wed Mar 07, 2012 5:14 pm ]
Post subject: 

Now I am getting a bit of a better understanding of how these PCM-based speech engines work. I've got the jist of how the sample playback works, but it is animating the character's mouth that I am wondering about.

Of course, accurate lip synching is not an overall necessity, considering that the sample playback requires 100% CPU attention. I mean, in Sesame Street Countdown, when the Count says, "'Ah, 'ah, 'ah! Find [number]," his mouth only opens three times. I'd love to find out how Hide & Speak manages to keep Big Bird's mouth moving during smaple playback.

Author:  tepples [ Wed Mar 07, 2012 6:19 pm ]
Post subject: 

Moving the beak during sample playback is as easy as updating a couple entries in a display list, waiting for vblank, and then blasting the display list to the PPU through $4014. This probably happened at the breaks between concatenated waves, seeing as all the voiceless consonants are stored as separate waves.

Author:  tokumaru [ Wed Mar 07, 2012 6:25 pm ]
Post subject: 

NEStegg wrote:
I'd love to find out how Hide & Speak manages to keep Big Bird's mouth moving during smaple playback.

The rate at which the graphics have to be animated is pretty low. I'm sure there's some time between the output of consecutive samples to update some sprites and/or background tiles. In a mapper like the MMC3, that can bankswitch small portions of CHR-ROM, it would be even easier.

Author:  Drag [ Wed Mar 07, 2012 6:26 pm ]
Post subject: 

They probably sneak the mouth movements into the tiny tiny pauses during speech.

Author:  Dwedit [ Wed Mar 07, 2012 7:57 pm ]
Post subject: 

The most ridiculous attempt at PCM I've ever seen was Ultimate Stuntman. They used PCM sound for drums even during gameplay sequences. Quality often sucks. DMC would have sounded much better.

Author:  rainwarrior [ Thu Mar 08, 2012 1:41 am ]
Post subject: 

Most of the samples are broken up in such a way that facilitate animation. Here's an alternative dump with a pop between every individual sample.

http://rainwarrior.ca/projects/nes/Sesame%20Street%20-%20Big%20Bird's%20Hide%20&%20Speak%20(USA)%20div.wav

Notice, for instance, that "hide and" are together as a single sample, and as you might expect, he does not close his mouth between them in-game. Not sure why the alphabet letters are so broken up; I don't think there's any animation during them, really.

Also, this game is MMC1, if anyone's wondering. No special timing hardware was involved, it's pretty much all just cycle counting.

Dwedit, are you sure about Ultimate Stuntman? The NSF version is constantly playing DPCM samples in every track.

Author:  thefox [ Thu Mar 08, 2012 3:13 am ]
Post subject: 

rainwarrior wrote:
Dwedit, are you sure about Ultimate Stuntman? The NSF version is constantly playing DPCM samples in every track.

Yes, Ultimate Stuntman definitely uses raw PCM during gameplay as well.

Author:  Bananmos [ Thu Mar 08, 2012 12:30 pm ]
Post subject: 

Quote:
Dwedit, are you sure about Ultimate Stuntman? The NSF version is constantly playing DPCM samples in every track.


That's because Kevtris (the man behind th NSF format) converted the samples from PCM to DPCM when he ripped that NSF back in the good old early days of NSF ripping :)

Author:  ccovell [ Thu Mar 08, 2012 5:10 pm ]
Post subject: 

rainwarrior wrote:
Not sure why the alphabet letters are so broken up; I don't think there's any animation during them, really.


Probably because about 10 of the consonants end in the "ee" sound so it can be re-used.

Author:  Doommaster1994 [ Sat Apr 28, 2012 7:01 pm ]
Post subject: 

I know Michael Riedel over the net if you guys want me to ask him anything. Though he never replies to my messages anymore, but I can try. I remember mentioning this game to him and he didn't have a lot to say about it. I also know one of the programmers if you're interested, though again, he didn't have a lot to say about the game either.

Author:  rainwarrior [ Mon Apr 30, 2012 11:16 pm ]
Post subject: 

I dunno, at this point I know everything I ever wanted to know about Big Bird's Hide and Speak. I can't think of anything I'd want to ask.

Author:  B00daW [ Sun Mar 03, 2013 11:58 pm ]
Post subject:  Re: Big Bird's Hide and Speak sample compression

http://www.glitterberri.com/developer-i ... f-sunsoft/

Apparently Mozer ESS was used in Mito Koumon 1 and 2 for the Famicom as well.

Page 2 of 2 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/