快速年月导航Quick archive · 2004—2015

・第126回・

【开发日记】宝可梦皮卡丘叫声诞生记

中文译文

12周年纪念企划第二弹!

“宝可梦 皮卡丘版”

像动画里的皮卡丘一样,皮卡丘会叫出“皮卡丘”。

Game Boy没有高性能的采样功能,

所以无论如何,都得想办法让它叫出“皮卡丘”。

于是,当时还是程序员的我,

制作了一个把声音转换成1比特数据的转换器,

并编写了播放这些数据的程序。

原理是这样……

首先,用采样器之类的设备把声音数字化。

※这个波形是帝牙卢卡的叫声。波形大概会呈现出这种感觉。

放大后,是这个样子。

再放大一些,

就几乎变成数字状态了。波形已经作为音量数据被数值化。

接着,用转换器把它转换成0和1。

数据大概是这样……

就是这种感觉。(图片中红色的0和1)

把哪个电平设为1也会影响声音,所以我在转换器里准备了几种转换方式。

然后利用 Game Boy 的点击噪声(啪嗞!)来高速执行这样的操作:0不发声,1发声。

高速执行这一点才是关键。

越快,声音就越好听。

“皮卡丘”就这样完成了。

现在听起来也还是很可爱……

那么,下次见。

(c)1995,1996,1998 Nintendo/Creatures Inc./GAME FREAK inc.

查看日文原文 12周年記念企画第二弾! 「ポケットモンスター ピカチュウバージョン」 アニメのピカチュウのように、ピカチュウが”ピカチュウ”と鳴きます。 ゲームボーイでは高性能なサンプリングの機能はありませんから、 どうにかして、”ピカチュウ”と鳴かせなければなりません。 そこで、当時プログラマでもあったマスダは、 音声を1ビットデータにするコンバータを作成し、 それを再生するプログラムを組みました。 仕組みとしては、、 まず、サンプラーなどの機材で音をデジタル化します。 ※この波形はディアルガの鳴き声です。波形ではこんな感じになります。 拡大すると、こんな感じ。 さらに拡大すると、 ほぼ、デジタルな状態に。波形は音量データとして数値化されています。 これをコンバーターで、0と1に。 データとしては、、、 こんな感じに。(画像の赤い0と1) どのレベルを1にするかでも音に影響するので、コンバーターには変換方式をいくつか用意しておきます。 この0と1をゲームボーイのクリックノイズ(ブチツ!)といった音で、 0は鳴らさない。1は鳴らす。というのを高速に行います。 この高速に行う、というのがポイント。 早いほど良い音になります。 ”ピカチュウ”の完成です。

いま聞いても可愛い。。。 では。 (c)1995,1996,1998 Nintendo/Creatures Inc./GAME FREAK inc.
查看官方英文版 Pokemon 12th anniversary column PART 2! “Pokemon YELLOW” In this game, Pikachu cries “pikachu!”, like TV animation. Of course, there is no such high quality sampling function on the Game Boy hardware. Therefore, we must think different way to recreate the cry of “pikachu!”. At that time, I was a programmer and I came up with following idea to solve this problem. Program the converter to make the sound into one bit data, and recreating the sound. The structure is as follows. First of all, make the sound degitalize using the equipment, suich as a sampler. *This is the wave of DIALGA’s cry. Here’s the maximized picture. Enlarged. Almost completely degitalized. Above waves are numerated as sound data. Then, convert them into “0″ and “1″. Detail data are… like above picture. Since the sound differs depend on how we set the level of “1″, few different converting systems were prepared. Using the Game Boy’s click noise (beep!) to make “0″ as a silent, and “1″ to sound. The important part is, to recreate them with very fast speed. Faster the better. It will give us a nice sound. Ta-da! “pikachu” is done!

It still sounds cute… See ya. (c)1995,1996,1998 Nintendo/Creatures Inc./GAME FREAK inc.
Posted in: ポケモン
来源、关联链接与研究信息

Link Context

链接解析

1 条