JPH06202648A - Input device and electronic musical instrument equipped with the same - Google Patents

Input device and electronic musical instrument equipped with the same

Info

Publication number
JPH06202648A
JPH06202648A JP4359663A JP35966392A JPH06202648A JP H06202648 A JPH06202648 A JP H06202648A JP 4359663 A JP4359663 A JP 4359663A JP 35966392 A JP35966392 A JP 35966392A JP H06202648 A JPH06202648 A JP H06202648A
Authority
JP
Japan
Prior art keywords
data
area
column
register
ram
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4359663A
Other languages
Japanese (ja)
Other versions
JP3298196B2 (en
Inventor
Toshihiko Otsuka
利彦 大塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP35966392A priority Critical patent/JP3298196B2/en
Publication of JPH06202648A publication Critical patent/JPH06202648A/en
Application granted granted Critical
Publication of JP3298196B2 publication Critical patent/JP3298196B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To set musical sound characteristics in relation to display data such as characters, figures displayed on a display means by specifying musical sound characteristics such as a pitch, a timbre. for a area specified by an area specifying means. CONSTITUTION:An image is fetched from a TV receiver 3 which is connected with a cable 3 and displayed on a display part 6, and the area of the image displayed on this display part 6 is specified in drawing mode to specifies an area on the screen of the display part 6, i.e., an LCD panel. Musical sound characteristic are specified in setting mode for the specified area and respective areas and musical sound characteristics are stored in a data RAM in relation to each other. Then an optional area is touched with a touch pen 7 in sound generation mode and then the musical sound having the musical sound characteristics specified for the area can be generated, so that an image of figures, characteristics, etc., and a musical sound can be generated while related to each other. Consequently, a musical performance wherein the image and musical sound are related with each other is obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、入力装置及びこの入力
装置を備えた電子楽器に関し、詳しくは、画面に表示さ
れた文字や図形等を領域指定し、指定した領域に楽音特
性を設定入力できる入力装置及びこの入力装置を備えた
電子楽器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input device and an electronic musical instrument equipped with this input device. More specifically, the characters and figures displayed on the screen are designated as an area and the tone characteristics are set and input in the designated area. The present invention relates to a possible input device and an electronic musical instrument equipped with this input device.

【0002】[0002]

【従来の技術】近時、TV(テレビジョン)装置やビデ
オ装置等の普及に伴って、TV装置やビデオ装置等の画
像に別に作成した文字や画像を組み込む入力装置とし
て、ビデオコントローラーが出現している。
2. Description of the Related Art Recently, with the spread of TV (television) devices, video devices, etc., video controllers have emerged as input devices for incorporating separately created characters and images into images of TV devices, video devices, etc. ing.

【0003】このビデオコントローラーは、通常、タッ
チパネルを備え、タッチパネル上の押された部分の位置
を検出して、文字や図形として認識し、この文字や図形
に選択された色情報を組み合わせてビデオ信号に変換し
て、外部に出力するものである。このビデオコントロー
ラーの出力するビデオ信号をTV装置やビデオ装置等に
入力すると、タッチパネル上で描いた文字や図形をTV
装置に写し出したり、ビデオ装置の画面に写し出すこと
ができる。
This video controller is usually equipped with a touch panel, detects the position of the pressed portion on the touch panel, recognizes it as a character or graphic, and combines the character or graphic with selected color information to obtain a video signal. It is converted to and output to the outside. When the video signal output from this video controller is input to a TV device or a video device, the characters and figures drawn on the touch panel are displayed on the TV.
It can be displayed on the device or on the screen of the video device.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の入力装置としてのビデオコントローラーは、
TV装置やビデオ装置の画面にタッチパネル上で描いた
文字や図形を写し出すことはできるが、画面上の文字や
図形に音を関連付けて操作することはできず、自由度の
低いものであり、面白味に欠けるものであった。
However, the video controller as such a conventional input device has the following problems.
Characters and figures drawn on the touch panel can be displayed on the screen of the TV device or video device, but it is not possible to operate by associating sounds with the characters and figures on the screen, which is a low degree of freedom and is interesting. Was lacking in.

【0005】そこで、本発明は、画面上の文字や図形に
音を関連付けて入力できる入力装置を提供するととも
に、この入力装置を備え文字や図形に関連付けて音を発
生することのできる電子楽器を提供することを目的とし
ている。
Therefore, the present invention provides an input device capable of inputting a sound in association with a character or a graphic on a screen, and an electronic musical instrument which is provided with this input device and which can generate a sound in association with a character or a graphic. It is intended to be provided.

【0006】[0006]

【課題を解決するための手段】本発明の入力装置は、表
示データを表示出力する表示手段と、前記表示手段と積
層され表示手段に表示出力された表示データの任意の領
域を指定する領域指定手段と、前記領域指定手段により
指定された領域に対して楽音特性を指定する楽音特性指
定手段と、を備えることにより、上記目的を達成してい
る。
An input device according to the present invention includes a display unit for displaying and outputting display data, and a region designation for designating an arbitrary region of display data which is stacked on the display unit and displayed and output on the display unit. The above-mentioned object is achieved by including means and tone characteristic designating means for designating tone characteristics for the area designated by the area designating means.

【0007】この場合、前記楽音特性指定手段は、例え
ば、請求項2に記載するように、音高を指定してもよ
く、また、例えば、請求項3に記載するように、音色を
指定してもよい。
In this case, the tone characteristic designating means may designate a pitch as described in claim 2 or a tone color as described in claim 3, for example. May be.

【0008】また、前記表示手段は、例えば、請求項4
に記載するように、表示データとして図形を表示出力
し、前記領域指定手段が、該表示手段により表示された
図形の任意の領域を指定してもよい。
Further, the display means is, for example, as defined in claim 4.
As described in, the graphic may be displayed and output as the display data, and the area designating unit may designate an arbitrary area of the graphic displayed by the display unit.

【0009】さらに、例えば、請求項5に記載するよう
に、前記領域指定手段により指定された前記表示手段に
表示された表示データの領域を認識する領域認識手段を
さらに備え、前記表示手段は、表示データとして図形を
表示出力し、前記領域指定手段は、該表示手段の表示出
力する図形の各部を領域区分して領域指定可能であり、
前記領域認識手段は、該領域指定手段の指定した各領域
をそれぞれ認識してもよい。
Further, for example, as described in claim 5, further comprising area recognition means for recognizing an area of the display data displayed on the display means designated by the area designating means, the display means comprising: A graphic is displayed and output as the display data, and the area designating means is capable of designating the area by dividing each part of the graphic to be output by the display means.
The area recognition means may recognize each area designated by the area designation means.

【0010】さらに、前記領域指定手段は、例えば、請
求項6に記載するように、図形を描くことにより該図形
を表示データとして入力し、前記表示手段は、該領域指
定手段から入力された表示データを図形として表示出力
するようにしてもよく、また、例えば、請求項7に記載
するように、前記表示手段は、外部から入力された図形
データを図形として表示出力してもよい。
Further, the area designating means inputs the figure as display data by drawing a figure as described in claim 6, and the display means displays the display inputted from the area designating means. The data may be displayed and output as a graphic, and, for example, as described in claim 7, the display means may display and output the graphic data input from the outside as a graphic.

【0011】また、本発明の電子楽器は、請求項1から
請求項7のいずれか1項に記載の入力装置と、前記領域
指定手段により領域が指定されると、該領域に対して、
前記楽音特性指定手段により指定された楽音特性の楽音
を発生する楽音発生手段と、を備えることにより、上記
目的を達成している。
The electronic musical instrument of the present invention, when an area is designated by the input device according to any one of claims 1 to 7 and the area designating means,
The above-mentioned object is achieved by providing a musical tone generating means for generating a musical tone having a musical tone characteristic designated by the musical tone characteristic designating means.

【0012】[0012]

【作用】本発明の入力装置によれば、文字や図形等の表
示データを表示出力する表示手段と積層された領域指定
手段により、表示手段に表示出力された表示データの任
意の領域を指定し、この領域指定手段により指定された
領域に対して、楽音特性指定手段により音高や音色等の
楽音特性を指定するので、表示手段に表示される文字や
図形等の表示データに関連付けて楽音特性を設定するこ
とができる。
According to the input device of the present invention, the area designation means laminated with the display means for displaying and outputting the display data such as characters and figures designates an arbitrary area of the display data displayed and output on the display means. To the area designated by the area designating means, the musical tone characteristic designating means designates musical tone characteristics such as pitch and tone color. Therefore, the musical tone characteristics are associated with display data such as characters and figures displayed on the display means. Can be set.

【0013】この場合、領域指定手段により描いた図形
を表示手段に表示させ、この表示された図形に対して領
域指定して楽音特性を指定するようにすると、任意に描
いた図形に関連付けて楽音特性を設定できる。また、外
部から入力された図形を表示手段に表示させ、この表示
された図形を領域指定して楽音特性を指定すると、簡単
に、図形と楽音特性とを関連付けて設定することができ
る。
In this case, if the figure drawn by the area designating means is displayed on the display means and the tone characteristic is designated by designating the area for the displayed figure, the musical tone is associated with the arbitrarily drawn figure. You can set the characteristics. Further, by displaying a graphic input from the outside on the display means and designating the displayed graphic by specifying the region and the musical tone characteristic, the graphic and the musical tone characteristic can be easily set in association with each other.

【0014】また、本発明の電子楽器によれば、上記入
力装置で表示手段の表示データの領域と楽音特性が設定
され、設定された領域が指定されると、この指定された
領域に設定された楽音特性の楽音を発生するので、鍵盤
等を使用することなく、表示手段に表示された図形や文
字等の表示データの領域を指定するだけで、指定した表
示データの領域に設定した楽音を発生させることがで
き、図形や文字等の表示データと楽音とを関連付けて発
生させることができる。
Further, according to the electronic musical instrument of the present invention, the area of the display data of the display means and the musical tone characteristic are set by the input device, and when the set area is designated, it is set to the designated area. Since it generates a musical tone with the specified musical tone characteristics, the musical tone set in the designated display data area can be set by simply designating the area of the display data such as figures and characters displayed on the display means without using a keyboard or the like. It can be generated, and the display data such as figures and characters and the musical sound can be generated in association with each other.

【0015】[0015]

【実施例】以下、本発明の入力装置及びこの入力装置を
備えた電子楽器を実施例に基づいて具体的に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The input device of the present invention and an electronic musical instrument equipped with this input device will be specifically described below based on embodiments.

【0016】図1〜図14は、入力装置及びこの入力装
置を備えた電子楽器の第1実施例を示す図である。
1 to 14 are diagrams showing a first embodiment of an input device and an electronic musical instrument equipped with this input device.

【0017】図1は、入力装置を備えた電子楽器1とこ
の電子楽器1にケーブル2により接続されたTV装置3
の外観図であり、TV装置3は、通常の液晶TV装置で
ある。
FIG. 1 shows an electronic musical instrument 1 having an input device and a TV device 3 connected to the electronic musical instrument 1 by a cable 2.
FIG. 3 is an external view of the TV device 3, and the TV device 3 is a normal liquid crystal TV device.

【0018】電子楽器1は、その本体ケース4の表面に
モードキー5が設けられており、モードキー5を投入す
ることにより、描画モード、設定モード及び発音モード
を切り換えて設定することができる。
The electronic musical instrument 1 is provided with a mode key 5 on the surface of its main body case 4, and when the mode key 5 is turned on, the drawing mode, the setting mode and the sounding mode can be switched and set.

【0019】電子楽器1は、モードキー5により描画モ
ードに設定されると、ケーブル2を介してTV装置3か
ら映像データを取り込み、本体ケース4の表面に設けら
れた表示部6に取り込んだ映像データを表示出力するこ
とができる。また、この描画モードにおいては、タッチ
ペン7により表示部6の表面をタッチして、任意の図形
や文字等の映像を描くことができ、描いた図形や文字の
映像を表示部6に表示出力させることができる。
When the electronic musical instrument 1 is set to the drawing mode by the mode key 5, the image data is taken in from the TV device 3 via the cable 2 and the image taken in the display section 6 provided on the surface of the main body case 4. Data can be displayed and output. In this drawing mode, the surface of the display unit 6 can be touched by the touch pen 7 to draw an image of an arbitrary figure or character, and the image of the drawn figure or character is displayed and output to the display unit 6. be able to.

【0020】すなわち、表示部6は、図2に示すよう
に、LCD(Liquid Crystal Display)パネル8上にタ
ッチパネル9が積層され、LCDパネル8の下部にバッ
クライト部10が配設されている。LCDパネル8は、
通常のLCDが使用されており、LCDパネル8は、後
述するように、ビデオ画像を表示出力する。タッチパネ
ル9は、通常のタッチパネルが使用され、n行m列の複
数のマトリックス状にセンサが配列されている。タッチ
パネル9は、そのタッチパネル9上の押圧された位置を
検出し、タッチ位置情報として出力する。また、タッチ
パネル9は、透明部材で形成されており、タッチパネル
9を通してLCDパネル8の表示内容を視認することが
できる。バックライト部10は、ケーシング11とケー
シング11内に配設された反射板12及び複数本(図2
では、2本)の蛍光ランプ13で構成されており、LC
Dパネル8に背面から光りを照射して、LCDパネル8
に表示される文字や図形等の映像の視認性を向上させて
いる。
That is, in the display unit 6, as shown in FIG. 2, a touch panel 9 is laminated on an LCD (Liquid Crystal Display) panel 8, and a backlight unit 10 is arranged below the LCD panel 8. LCD panel 8
A normal LCD is used, and the LCD panel 8 displays and outputs a video image as described later. As the touch panel 9, a normal touch panel is used, and the sensors are arranged in a matrix of n rows and m columns. The touch panel 9 detects the pressed position on the touch panel 9 and outputs it as touch position information. Further, the touch panel 9 is formed of a transparent member, and the display content of the LCD panel 8 can be viewed through the touch panel 9. The backlight unit 10 includes a casing 11, a reflector 12 arranged in the casing 11, and a plurality of reflectors (see FIG. 2).
It consists of two fluorescent lamps 13, and LC
The D panel 8 is illuminated with light from the back, and the LCD panel 8
The visibility of images such as characters and figures displayed on is improved.

【0021】再び、図1において、電子楽器1は、上記
描画モードにおいて、表示部6に表示された映像の輪郭
がタッチペン7でなぞられると、なぞられた映像の輪郭
内を描画領域として認識する。このとき、なぞられた輪
郭が複数であれば、それぞれを区別して複数の描画領域
として認識する。
Referring again to FIG. 1, when the contour of the image displayed on the display unit 6 is traced by the touch pen 7 in the drawing mode, the inside of the contour of the traced image is recognized as a drawing area. . At this time, if there are a plurality of traced contours, they are distinguished and recognized as a plurality of drawing areas.

【0022】また、電子楽器1は、モードキー5により
設定モードに設定され、本体ケース4表面に設けられた
セレクトキー14が投入されと、上記描画モードにおい
て指定された各領域を順次選択して、選択領域であるこ
とを示す表示を行なう。この選択領域の表示は、例え
ば、選択領域の映像の色を選択前の色と変化させたり、
点滅させること等により行ない、この選択状態にある領
域に対して、本体ケース4表面に設けられた音高キー1
5により音高が指定され、また、同様に本体ケース4表
面に設けられた音色キー16によりピアノやオルガン等
の音色が指定されると、電子楽器1は、当該選択された
領域に対して指定された音高や音色等の楽音特性を設定
する。
When the electronic musical instrument 1 is set to the setting mode by the mode key 5 and the select key 14 provided on the surface of the main body case 4 is turned on, the areas designated in the drawing mode are sequentially selected. , A display indicating that it is the selected area is displayed. The display of this selection area is, for example, changing the color of the image of the selection area from the color before selection,
The pitch key 1 provided on the surface of the main body case 4 for the area in the selected state by blinking or the like.
When the tone pitch is designated by 5 and the tone color of the piano, organ, etc. is designated by the tone color key 16 provided on the surface of the body case 4 as well, the electronic musical instrument 1 is designated for the selected region. Tone characteristics such as pitch and tone are set.

【0023】さらに、電子楽器1は、モードキー5によ
り発音モードに設定され、タッチペン7で、上記設定モ
ードで楽音特性を設定された複数の領域のうちの1つが
タッチされると、タッチされた位置がいずれの領域に属
するかを判別し、その領域に対して上記設定モードで設
定された音高の楽音を生成して、本体ケース4に設けら
れたスピーカ17から楽音を発生する。このとき、電子
楽器1は、その領域に対して音高とともに音色が指定さ
れていると、指定された音色でその音高の楽音を発生さ
せる。
Further, the electronic musical instrument 1 is set to the tone generation mode by the mode key 5, and when the touch pen 7 touches one of the plurality of regions for which the musical tone characteristics are set in the above-mentioned setting mode, it is touched. It is determined which region the position belongs to, a musical tone of the pitch set in the setting mode is generated for the region, and the musical tone is generated from the speaker 17 provided in the main body case 4. At this time, when a tone color and a tone color are designated for the area, the electronic musical instrument 1 generates a musical tone having the tone pitch with the designated tone color.

【0024】なお、本体ケース4の上面には、画像取り
込みボタン18が設けられており、電子楽器1は、上記
描画モードにおいて、画像取り込みボタン18が投入さ
れると、投入された時点で、TV装置3の画面に表示さ
れている画像をTV装置3から取り込む。
An image capture button 18 is provided on the upper surface of the main body case 4, and when the image capture button 18 is turned on in the drawing mode of the electronic musical instrument 1, a TV is displayed when the button is turned on. The image displayed on the screen of the device 3 is captured from the TV device 3.

【0025】また、図1では、電子楽器1には、ケーブ
ル2を介してTV装置3が接続されているが、接続する
のはTV装置3に限るものではなく、例えば、ビデオ装
置等であってもよい。
Further, in FIG. 1, the TV device 3 is connected to the electronic musical instrument 1 via the cable 2, but the connection is not limited to the TV device 3, but may be a video device or the like. May be.

【0026】この電子楽器1は、図3に示すように回路
構成されている。
The electronic musical instrument 1 has a circuit configuration as shown in FIG.

【0027】すなわち、電子楽器1は、LCDコントロ
ーラ21、ビデオインタフェイス22、タッチパネルイ
ンタフェイス23、ビデオRAM24、音源回路25、
サウンドシステム26、ビデオRAMマップ27、デー
タRAM28、CPU29、プログラムROM30、波
形ROM31、操作部32、映像入力端子33、映像出
力端子34及び音声出力端子35等を備えている。
That is, the electronic musical instrument 1 includes an LCD controller 21, a video interface 22, a touch panel interface 23, a video RAM 24, a sound source circuit 25,
The sound system 26, the video RAM map 27, the data RAM 28, the CPU 29, the program ROM 30, the waveform ROM 31, the operation unit 32, the video input terminal 33, the video output terminal 34, the audio output terminal 35, and the like are provided.

【0028】操作部32は、上記モードキー5、セレク
トキー14、音高キー15、音色キー16及び映像読み
取りボタン18等を総称したものである。
The operation section 32 is a general term for the mode key 5, the select key 14, the pitch key 15, the tone color key 16, the image reading button 18, and the like.

【0029】CPU29は、操作部32のキー操作を走
査し、プログラムROM30に格納されたプログラムに
従って電子楽器1の各部を制御して、キー操作に応じた
処理、特に、モードキー5で選択された選択モードに応
じた処理を行なう。
The CPU 29 scans the key operation of the operation section 32, controls each section of the electronic musical instrument 1 in accordance with the program stored in the program ROM 30, and selects the processing corresponding to the key operation, particularly the mode key 5. The processing according to the selection mode is performed.

【0030】すなわち、上記TV装置3に接続されたケ
ーブル2は、映像入力端子33に接続され、電子楽器1
は、描画モードにおいて操作部32の画像読み取りボタ
ン18が投入されると、映像入力端子33から入力され
る映像をビデオインタフェイス22を介して、一旦ビデ
オRAM24にビデオ信号として格納する。ビデオRA
M24にビデオ信号として格納された映像は、ビデオイ
ンタフェイス22及びLCDコントローラ21を介し
て、LCDパネル8に表示出力される。また、描画モー
ドにおいてタッチパネル9で描画されると、電子楽器1
は、その描画データをビットマップデータとしてタッチ
パネルインタフェイス23を介して取り込んでビデオR
AMマップ27に、一旦格納し、その後、ビデオ信号に
変換してビデオRAM24に格納する。そして、電子楽
器1は、ビデオRAM24に格納したビデオ信号をLC
Dパネル8に表示出力させ、タッチパネル9で描かれた
画像を表示部6に表示する。
That is, the cable 2 connected to the TV device 3 is connected to the video input terminal 33, and the electronic musical instrument 1
When the image reading button 18 of the operation unit 32 is turned on in the drawing mode, the image input from the image input terminal 33 is temporarily stored in the video RAM 24 as a video signal via the video interface 22. Video RA
The image stored in M24 as a video signal is displayed and output on the LCD panel 8 via the video interface 22 and the LCD controller 21. When the touch panel 9 is drawn in the drawing mode, the electronic musical instrument 1
Captures the drawing data as bitmap data via the touch panel interface 23,
It is temporarily stored in the AM map 27, then converted into a video signal and stored in the video RAM 24. Then, the electronic musical instrument 1 uses the video signal stored in the video RAM 24 as the LC signal.
The display is output to the D panel 8, and the image drawn on the touch panel 9 is displayed on the display unit 6.

【0031】また、電子楽器1は、描画モードにおい
て、LCDパネル8に表示出力した画像の輪郭がタッチ
ペン7によりなぞられると、そのなぞられた画像の領域
を識別し、識別した指定領域の領域情報をデータRAM
28に格納する。すなわち、いま、表示部6のLCDパ
ネル8に、図4に示すような、太陽A、子供B及び2本
のひまわり1C、2Cの図形が表示されており、各ひま
わり1C、2Cには、花1C1、2C1、葉1C2、1
C3、2C2及び茎1C4、2C3が描かれている。そ
して、描画モードにおいて、この図形の太陽A、子供
B、ひまわり1C、2Cの花1C1、2C1及び葉1C
2、1C3、2C2の輪郭を、図5に示すように、タッ
チペン7でなぞられたとすると、電子楽器1は、この図
形のうち、タッチペン7でなぞられた図形の領域を、タ
ッチパネルインタフェイス23を介して取り込んで指定
領域として認識し、その指定領域の領域情報をデータR
AM28に格納する。
Further, in the electronic musical instrument 1, when the outline of the image displayed and output on the LCD panel 8 is traced by the touch pen 7 in the drawing mode, the region of the traced image is identified, and the region information of the identified designated region is identified. Data RAM
28. That is, the LCD panel 8 of the display unit 6 is now displaying the figures of the sun A, the child B, and two sunflowers 1C and 2C as shown in FIG. 1C1, 2C1, leaves 1C2, 1
C3, 2C2 and stems 1C4, 2C3 are depicted. Then, in the drawing mode, the sun A, the child B, the sunflowers 1C, 2C flowers 1C1, 2C1 and leaves 1C of this figure
Assuming that the contours of 2, 1C3, and 2C2 are traced by the touch pen 7 as shown in FIG. 5, the electronic musical instrument 1 determines the area of the figure traced by the touch pen 7 among the figures by the touch panel interface 23. Recognized as a designated area by importing through the area information of the designated area in the data R
Store in AM28.

【0032】さらに、電子楽器1は、設定モードにおい
て、図5に示すように、この識別した領域に対して操作
部32の音高キー15や音色キー16により音高や音色
等の楽音情報が指定されると、指定された楽音情報を当
該領域に関連付けてデータRAM28に格納する。この
とき操作部32のセレクトキー14が投入されると、電
子楽器1は、投入される毎に、各領域を順次選択して当
該領域を点滅させたり、色を換えたりして表示出力させ
る。
Further, in the setting mode, in the electronic musical instrument 1, as shown in FIG. 5, musical tone information such as pitch and tone color is provided to the identified area by the tone pitch key 15 and tone color key 16 of the operating section 32. When designated, the designated musical tone information is stored in the data RAM 28 in association with the area. When the select key 14 of the operation unit 32 is pressed at this time, the electronic musical instrument 1 sequentially selects each area every time the key is pressed, blinks the area, or changes the color to output the display.

【0033】また、電子楽器1は、発音モードにおい
て、表示部6に表示する画像のうち上記領域の1つがタ
ッチペン7によりタッチされると、どの領域がタッチさ
れたかをタッチパネル9により検出し、音源回路25を
制御して、この検出した領域に対して指定された音高を
指定された音色で発生させる。すなわち、CPU29
は、領域に対応してデータRAM28に格納されている
音高や音色等の楽音情報を読み出し、読み出した楽音情
報に対応する波形を波形ROM31から読み出して、音
源回路25に供給する。音源回路25は、波形が供給さ
れ、発音開始の指示があると、楽音を発生し、サウンド
システム26に供給して、発音を開始する。サウンドシ
ステム26は、A/D変換器やアンプ及びスピーカ17
等を備え、供給される楽音をスピーカ17から発生させ
るとともに、音声出力端子35から外部機器に出力す
る。
In the sounding mode, the electronic musical instrument 1 detects which area is touched by the touch panel 9 when one of the above-mentioned areas of the image displayed on the display section 6 is touched by the touch pen 7, The circuit 25 is controlled to generate a designated pitch for the detected region with a designated timbre. That is, the CPU 29
Reads tone information such as pitch and tone color stored in the data RAM 28 corresponding to the area, reads a waveform corresponding to the read tone information from the waveform ROM 31, and supplies it to the tone generator circuit 25. The sound source circuit 25 is supplied with a waveform and, when instructed to start sounding, generates a musical sound and supplies it to the sound system 26 to start sounding. The sound system 26 includes an A / D converter, an amplifier and a speaker 17.
Etc., the supplied musical sound is generated from the speaker 17 and is output to the external device from the audio output terminal 35.

【0034】次に、作用を説明する。Next, the operation will be described.

【0035】本実施例では、ケーブル2で接続されたT
V装置3から映像を取り込んで、表示部6に表示出力
し、この表示部6に表示出力した映像の領域を、描画モ
ードにおいて指定することにより、表示部6、すなわ
ち、LCDパネル8の画面の領域指定を行なう。この指
定された領域に対して、設定モードで、楽音特性を指定
し、各領域と楽音特性とを関連付けてデータRAM28
に記憶する。そして、発音モードにおいて、任意の領域
をタッチペン7でタッチすると、その領域に対して指定
された楽音特性の楽音を発生する。
In this embodiment, the T connected by the cable 2 is used.
By capturing an image from the V device 3 and displaying and outputting the image on the display unit 6 and designating an area of the image displayed and output on the display unit 6 in the drawing mode, the display unit 6, that is, the screen of the LCD panel 8 is displayed. Specify the area. In the setting mode, a musical tone characteristic is designated for the designated region, and each region and the musical tone characteristic are associated with each other to form the data RAM 28.
Remember. Then, in the sound generation mode, when an arbitrary area is touched with the touch pen 7, a musical sound having a musical sound characteristic designated for the area is generated.

【0036】電子楽器1は、図6に示すメイン処理を実
行することにより、上記動作を行なっている。
The electronic musical instrument 1 performs the above operation by executing the main process shown in FIG.

【0037】すなわち、電子楽器1は、電源が投入され
ると、まず、イニシャル設定処理を行ない(ステップS
1)、各種レジスタの初期化等を行なう。その後、操作
部32の画像読み取りボタン18が投入されると、画像
読み取りボタン18が投入された時点でTV装置3に表
示されている画像を取り込み、ビデオRAM24にビデ
オ信号として格納する。
That is, the electronic musical instrument 1 first performs an initial setting process when the power is turned on (step S).
1) Initialize various registers. After that, when the image reading button 18 of the operation unit 32 is pressed, the image displayed on the TV device 3 at the time when the image reading button 18 is pressed is captured and stored in the video RAM 24 as a video signal.

【0038】次に、CPU29は、操作部32のモード
キー5を走査し、選択モードをチェックする(ステップ
S2)。
Next, the CPU 29 scans the mode key 5 of the operation unit 32 to check the selection mode (step S2).

【0039】選択モードが描画モードであると、ステッ
プS3からステップS6までの描画モード処理を行な
う。この描画モード処理では、LCDパネル8に表示さ
れている画像の輪郭をタッチパネル9上でなぞられるこ
とにより、まず、タッチパネル9のタッチ位置を検出す
るタッチ位置検出処理を行ない、次に、タッチ位置検出
処理で検出したタッチ位置からなぞられた範囲内を描画
領域として認識する図形認識処理を行なう。
If the selection mode is the drawing mode, the drawing mode processing from step S3 to step S6 is performed. In this drawing mode process, the outline of the image displayed on the LCD panel 8 is traced on the touch panel 9 to first perform a touch position detection process for detecting the touch position of the touch panel 9, and then a touch position detection. A figure recognition process is performed in which a range traced from the touch position detected in the process is recognized as a drawing region.

【0040】すなわち、描画モードに移行すると、ま
ず、タッチパネル9をスキャンして、タッチパネル9上
のタッチ位置を検出し(ステップS3)、検出したタッ
チ位置情報をビデオRAMマップ27に転送して、格納
する(ステップS4)。すなわち、タッチパネル9は、
図7に示すように、x方向(行方向)にm列、y方向
(列方向)にn行のマトリックス状に検出センサが配列
されており、タッチパネル9の各検出センサ毎にタッチ
ペン7で押圧されたかいなかを検出して、その検出結果
をビット情報としてビデオRAMマップ27に転送・記
憶する。
That is, when shifting to the drawing mode, first, the touch panel 9 is scanned to detect the touch position on the touch panel 9 (step S3), and the detected touch position information is transferred to the video RAM map 27 and stored. Yes (step S4). That is, the touch panel 9
As shown in FIG. 7, the detection sensors are arranged in a matrix of m columns in the x direction (row direction) and n rows in the y direction (column direction), and the touch pen 7 presses each detection sensor of the touch panel 9. Then, the detection result is transferred and stored in the video RAM map 27 as bit information.

【0041】次に、モードキー5が投入されたかどう
か、すなわち、モード切換が行なわれたかどうかチェッ
クし(ステップS5)、モードキー5が投入されていな
いときには、ステップS3に戻って、同様に、タッチパ
ネル9のタッチ位置情報を取り込んで、ビット情報とし
てビデオRAMマップ27に転送・記憶する。
Next, it is checked whether or not the mode key 5 has been pressed, that is, whether or not the mode has been switched (step S5). When the mode key 5 has not been pressed, the process returns to step S3 and similarly. The touch position information of the touch panel 9 is fetched and transferred / stored in the video RAM map 27 as bit information.

【0042】このように、描画モードにおいて、図5に
示したようにLCDパネル8に表示されている画像の輪
郭がタッチペン7でなぞられると、そのタッチ位置を検
出して、ビデオRAMマップ27にビット情報として転
送・記憶する。例えば、図7に黒丸で示す位置がタッチ
ペン7でタッチされると、このタッチ位置に該当するビ
ット情報がビデオRAMマップ27に転送されて、タッ
チパネル9のタッチ位置を示すビットマップとして記憶
される。
As described above, in the drawing mode, when the outline of the image displayed on the LCD panel 8 is traced by the touch pen 7 as shown in FIG. 5, the touch position is detected and the video RAM map 27 is displayed. Transfer and store as bit information. For example, when the position indicated by a black circle in FIG. 7 is touched by the touch pen 7, the bit information corresponding to this touch position is transferred to the video RAM map 27 and stored as a bit map indicating the touch position on the touch panel 9.

【0043】その後、モードキー5が投入されると、上
記タッチ位置検出処理で検出したタッチ位置から描画領
域を認識する図形認識処理(ステップS6)を行ない、
ステップS2に戻る。この図形認識処理は、タッチペン
7で輪郭がなぞられた図形の領域を認識するための処理
であり、図8に示す手順で実行される。
After that, when the mode key 5 is pressed, graphic recognition processing (step S6) for recognizing the drawing area from the touch position detected by the touch position detection processing is performed,
Return to step S2. This figure recognition processing is processing for recognizing the area of the figure whose contour is traced by the touch pen 7, and is executed in the procedure shown in FIG.

【0044】すなわち、図形認識処理は、図7のy方向
毎にx方向についてタッチされた位置を検出(すなわ
ち、各行毎にタッチされた位置のみを検出)してデータ
RAM28のA領域(以降、データRAM(A)と略
す)に書き込みを行なうデータRAM(A)書き込み処
理(ステップP1)、このデータRAM(A)のデータ
から各指定領域のx方向の両端を識別してデータRAM
28のB領域(以降、データRAM(B)と略す)に書
き込みを行なうデータRAM(B)書き込み処理(ステ
ップP2)及びデータRAM(B)のデータから同じ領
域に属するx方向の両端のデータをy方向について分類
してまとめ、各領域毎に別々にデータRAM28の領域
C1・・・(以降、データRAM(C1)・・・と略
す)を確保して書き込むデータRAM(C)書き込み処
理(ステップP3)を順次行なうことにより処理され
る。
That is, in the figure recognition process, the touched position in the x direction is detected for each y direction in FIG. 7 (that is, only the touched position is detected for each row) to detect the area A of the data RAM 28 (hereinafter, referred to as "area A"). Data RAM (A) write processing (step P1) for writing data RAM (A), and data RAM by identifying both ends in the x direction of each designated area from the data of this data RAM (A)
The data RAM (B) writing process (step P2) for writing data in the B area 28 (hereinafter referred to as the data RAM (B)) and the data in both ends in the x direction belonging to the same area from the data in the data RAM (B). A data RAM (C) writing process (step) in which the y direction is classified and summarized, and an area C1 ... (Hereinafter, abbreviated as data RAM (C1). It is processed by sequentially performing P3).

【0045】まず、データRAM(A)書き込み処理に
ついて、図9に示す詳細なフローチャートに基づいて説
明する。
First, the data RAM (A) writing process will be described with reference to the detailed flowchart shown in FIG.

【0046】データRAM(A)書き込み処理では、ま
ず、ビデオRAMマップ27に格納されたビットマップ
のy方向についてカウントするカウンタy及びx方向に
ついてカウントするカウンタxに「0」をセットし(ス
テップP101、P102)、両カウンタを順次増加さ
せていき、このx、yに該当するビデオRAMマップ2
7のビットマップにタッチ有りを示す書き込みが有るか
どうかチェックする(ステップP3)。
In the data RAM (A) writing process, first, "0" is set to the counter y that counts in the y direction of the bitmap stored in the video RAM map 27 and the counter x that counts in the x direction (step P101). , P102) and both counters are sequentially incremented, and the video RAM map 2 corresponding to these x and y
It is checked whether or not there is a write indicating that there is a touch in the bitmap of 7 (step P3).

【0047】タッチ有りでないときには、カウンタxの
値が最終列の値である「m」になったかどうかチェック
し(ステップP105)、最終列まで処理していないと
きには、カウンタxを「1」だけインクリメントして
(ステップP106)、ステップP103に戻って、同
様に、インクリメントしたxとyに該当するビデオRA
Mマップ27にタッチ有りの書き込みがあるかどうかチ
ェックする(ステップP103)。
When there is no touch, it is checked whether or not the value of the counter x has reached the value of the last column, "m" (step P105). When the last column has not been processed, the counter x is incremented by "1". Then (step P106), the process returns to step P103, and similarly, the video RA corresponding to the incremented x and y.
It is checked whether or not there is writing with a touch on the M map 27 (step P103).

【0048】ステップP103で、タッチ有りのときに
は、データRAM(A)のy欄にxの値を書き込み(ス
テップP104)、xが「m」になったかどうかチェッ
クする(ステップP105)。上記ステップP103か
らステップP106までの処理を順次繰り返し行なうこ
とにより、y行について先頭列から最終列までにタッチ
有りの書き込みがあるかチェックして、タッチ有りの書
き込みのある列の値(xの値)をデータRAM(A)の
当該y欄に順次書き込む。
If there is a touch in step P103, the value of x is written in the y column of the data RAM (A) (step P104), and it is checked whether x has become "m" (step P105). By sequentially repeating the processing from step P103 to step P106 above, it is checked whether or not there is writing with a touch in the y-th row from the first column to the last column, and the value of the column with the writing with a touch (value of x ) Are sequentially written in the y column of the data RAM (A).

【0049】ステップP105で、xがmに一致する
と、そのy行についての処理を完了したと判断して、デ
ータRAM(A)のy欄にエンドマーク「E」を書き込
み(ステップP107)、カウンタyの値が最終行の値
である「n」になったかどうかチェックし(ステップP
108)、最終行まで処理していないときには、カウン
タyを「1」だけインクリメントして(ステップP10
9)、ステップP102に戻って、カウンタxを「0」
にセットする。以降、同様に、インクリメントしたカウ
ンタyの値の行についてタッチ有りの書き込みがあるか
どうかチェックして、タッチ有りの書き込みのある列の
xの値をデータRAM(A)の当該y欄に順次書き込む
(ステップP103〜ステップP106)。
When x matches m in step P105, it is determined that the processing for the y row is completed, and the end mark "E" is written in the y column of the data RAM (A) (step P107), and the counter is counted. It is checked whether the value of y has become the value "n" which is the value in the last line (step P
108), when the last line is not processed, the counter y is incremented by "1" (step P10).
9) Return to step P102, and set the counter x to "0".
Set to. Thereafter, similarly, it is checked whether or not there is writing with touch with respect to the row of the value of the incremented counter y, and the value of x in the column where writing with touch is written is sequentially written into the relevant y column of the data RAM (A). (Step P103 to Step P106).

【0050】上記処理を順次繰り返し行なって、ステッ
プP108でカウンタyの値が最終行の値である「n」
になると、データRAM(A)には、図10の左端図に
データRAM(A)の図として示すように、yの各欄毎
にタッチ有りがあるときには、そのタッチのあるxの値
とエンドマーク「E」が、タッチ有りがないときには、
エンドマーク「E」のみが書き込まれる。
The above process is sequentially repeated, and in step P108, the value of the counter y is "n" which is the value of the last line.
Then, in the data RAM (A), as shown in the left end diagram of FIG. 10 as a diagram of the data RAM (A), when there is a touch for each column of y, the x value and the end with the touch are touched. When the mark "E" is not touched,
Only the end mark "E" is written.

【0051】このようにして最終行まで処理を終了する
と、図8に示すデータRAM(A)書き込み処理(ステ
ップP1)を終了し、次に、データRAM(B)書き込
み処理(ステップP2)を行なう。
When the processing up to the last row is completed in this way, the data RAM (A) writing processing (step P1) shown in FIG. 8 is completed, and then the data RAM (B) writing processing (step P2) is performed. .

【0052】データRAM(B)書き込み処理は、図1
1に示すように処理される。
The data RAM (B) writing process is shown in FIG.
1 is processed.

【0053】データRAM(B)書き込み処理では、ま
ず、カウンタy及びカウンタxに「0」をセットする
(ステップP201、P202)。このカウンタx、y
は順次インクリメントされる。そして、データRAM
(A)のy欄のxのデータをレジスタX0にセットして
(ステップP203)、このレジスタX0の値をデータ
RAM(B)のy欄に書き込む(ステップP204)。
In the data RAM (B) writing process, first, "0" is set to the counter y and the counter x (steps P201 and P202). This counter x, y
Are sequentially incremented. And data RAM
The data of x in the y column of (A) is set in the register X0 (step P203), and the value of this register X0 is written in the y column of the data RAM (B) (step P204).

【0054】次に、レジスタX0の値が「E」であるか
どうか、すなわち、データRAM(A)の当該y欄に書
き込まれているデータが「E」のみであるかどうかチェ
ックし(ステップP205)、図10のデータRAM
(A)のy=0欄のように、「E」のときには、yの値
が「n」であるか、すなわち、最終行まで処理したかど
うかチェックする(ステップP215)。最終行まで処
理していないときには、カウンタyの値を「1」だけイ
ンクリメントして(ステップP216)、ステップP2
02に戻り、カウンタxに「0」をセットする。
Next, it is checked whether the value of the register X0 is "E", that is, whether the data written in the y column of the data RAM (A) is only "E" (step P205). ), The data RAM of FIG.
As in the column y = 0 in (A), when "E", it is checked whether the value of y is "n", that is, whether the last line has been processed (step P215). When the last line is not processed, the value of the counter y is incremented by "1" (step P216), and the step P2
Returning to 02, the counter x is set to "0".

【0055】次のy欄について同様に、データRAM
(A)のそのy欄の最初のxのデータをレジスタX0に
セットして(ステップP203)、セットしたレジスタ
X0の値をデータRAM(B)のy欄に書き込み(ステ
ップP204)、レジスタX0の値が「E」かどうかチ
ェックする(ステップP205)。
Similarly for the next column y, the data RAM
The first x data in the y column of (A) is set in the register X0 (step P203), the set value of the register X0 is written in the y column of the data RAM (B) (step P204), and the register X0 It is checked whether the value is "E" (step P205).

【0056】ステップP205で、レジスタX0の値が
「E」でないときには、図10のデータRAM(A)の
y=1欄のように、そのy欄に「E」以外のデータが書
き込まれていると判断して、レジスタxを「1」だけイ
ンクリメントして(ステップP206)、データRAM
(A)の当該y欄のxのデータをレジスタX1にセット
する(ステップP207)。
In step P205, when the value of the register X0 is not "E", data other than "E" is written in the y column as in the y = 1 column of the data RAM (A) of FIG. Then, the register x is incremented by "1" (step P206), and the data RAM
The data of x in the y column of (A) is set in the register X1 (step P207).

【0057】次に、このレジスタX1の値が「E」であ
るかどうかチェックし(ステップP208)、図10の
データRAM(A)のy=5欄のように、レジスタX1
の値が「E」であるときには、そのy欄のデータが最後
であると判断して、図10のデータRAM(B)のy=
5欄に示すように、同じレジスタX0の値をデータRA
M(B)のy欄に書き込む(ステップP213)。ま
た、データRAM(B)のy欄に「E」を書き込み(ス
テップP214)、カウンタyの値が「n」であるかチ
ェックする(ステップP215)。ここで、図10のデ
ータRAM(A)のy=5欄の場合のように、xのデー
タが1つしかないときには、ステップP213で、レジ
スタX0の値をデータRAM(B)のy欄に書き込んで
いるが、データRAM(B)には、同じ値のデータを、
さらにy欄に書き込んで、当該領域の左端データと右端
データを1対のデータとして書き込んでいる。
Next, it is checked whether or not the value of the register X1 is "E" (step P208), and the register X1 is registered as shown in the y = 5 column of the data RAM (A) of FIG.
When the value of is “E”, it is determined that the data in the y column is the last, and y = of the data RAM (B) of FIG.
As shown in column 5, the value of the same register X0 is set to the data RA.
Write in the y column of M (B) (step P213). Further, "E" is written in the y column of the data RAM (B) (step P214), and it is checked whether the value of the counter y is "n" (step P215). Here, when there is only one x data, as in the case of y = 5 column of the data RAM (A) of FIG. 10, in step P213, the value of the register X0 is stored in the y column of the data RAM (B). Although it is written, the data of the same value is written in the data RAM (B).
Further, the data is written in the y column, and the left end data and the right end data of the area are written as a pair of data.

【0058】そして、ステップP215で、カウンタy
の値が「n」でないときには、カウンタyの値を「1」
だけインクリメントして(ステップP216)、ステッ
プP202に戻り、カウンタxに「0」をセットする。
Then, in step P215, the counter y
When the value of is not "n", the value of the counter y is set to "1".
Only (step P216), the process returns to step P202, and the counter x is set to "0".

【0059】以降、同様に、新たなy欄について、デー
タRAM(A)の最初のxのデータをレジスタX0にセ
ットして、データRAM(B)のy欄に書き込み(ステ
ップP203、P204)、そのxのデータが「E」で
あるかチェックし(ステップP205)、「E」でない
ときには、カウンタxの値をインクリメントして、デー
タRAM(A)のy欄のインクリメントしたx列のデー
タをレジスタX1に格納する(ステップP207)。こ
のレジスタX1の値が「E」であるかチェックし(ステ
ップP206)、図10のデータRAM(A)のy=1
からy=4欄のように、「E」でないときには、レジス
タX1の値からレジスタX0の値を減算した結果が予め
設定された値「N」(例えば、Nとしては、10〜20
の値が設定される。)より大きいかチェックして、レジ
スタX1に格納したxとレジスタX0に格納したxとが
行方向において同じ領域のものであるかどうか判断する
(ステップP209)。すなわち、例えば、図10のデ
ータRAM(A)において、y=3欄の場合、x=0列
のデータは、「1」であり、x=1列のデータは、
「3」であるため、「N」として「10」を設定したと
き、「3」から「1」を減算した結果は、「10」より
も小さいので、行方向(x方向)において同じ領域のデ
ータであると判断する。また、同様に、図10のデータ
RAM(A)のy=3欄の場合、x=2列のデータは、
「80」であるため、この「80」からx=1列のデー
タである「3」を減算した結果は、「10」よりも大き
いので、x方向において異なる領域のデータであると判
断する。
Thereafter, similarly, for the new y column, the first x data of the data RAM (A) is set in the register X0 and written in the y column of the data RAM (B) (steps P203 and P204), It is checked whether or not the data of x is "E" (step P205). If it is not "E", the value of the counter x is incremented and the data of the incremented x column of the y column of the data RAM (A) is registered. It is stored in X1 (step P207). It is checked whether the value of this register X1 is "E" (step P206), and y = 1 in the data RAM (A) of FIG.
To y = 4, when not “E”, the result of subtracting the value of the register X0 from the value of the register X1 is a preset value “N” (for example, N is 10 to 20).
The value of is set. ), It is determined whether x stored in the register X1 and x stored in the register X0 are in the same area in the row direction (step P209). That is, for example, in the data RAM (A) of FIG. 10, in the case of the y = 3 column, the data in the x = 0 column is “1”, and the data in the x = 1 column is
Since it is "3", when "10" is set as "N", the result of subtracting "1" from "3" is smaller than "10", so that the same region in the row direction (x direction) Judge as data. Similarly, in the case of column y = 3 in the data RAM (A) of FIG. 10, the data in column x = 2 is
Since it is “80”, the result of subtracting “3” which is the data of the x = 1 column from this “80” is larger than “10”, so it is determined that the data is of a different region in the x direction.

【0060】いま、ステップP209で、その比較結果
がNOの場合には、x方向において同じ領域のデータで
あると判断して、ステップP212に移行し、レジスタ
X1の値をレジスタX0に格納して(ステップP21
2)、ステップP206に移行する。
If the comparison result is NO in step P209, it is determined that the data is in the same area in the x direction, the process proceeds to step P212, and the value of the register X1 is stored in the register X0. (Step P21
2) The process moves to step P206.

【0061】そして、ステップP206で、カウンタx
をインクリメントして次のxについて同様に「E」であ
るか(ステップP208)、また、前のxの値から減算
した結果が「N」より大きいかチェックする(ステップ
P209)。ここで、レジスタX1からレジスタX0を
減算した結果が「N」より大きいと、今回のxのデータ
は、x方向において異なる領域のデータであると判断し
て、データRAM(B)のy欄にレジスタX0のデータ
を書き込み(ステップP210)、データRAM(B)
のy欄にレジスタX1のデータを書き込む(ステップP
211)。そして、レジスタX1のデータをレジスタX
0に格納して(ステップP212)、ステップP206
に戻り、カウンタxをインクリメントして、次のxにつ
いて、同様に処理する。
Then, in step P206, the counter x
Is incremented by 1 to check if it is “E” for the next x (step P208), and if the result of subtraction from the previous value of x is larger than “N” (step P209). Here, if the result of subtracting the register X0 from the register X1 is larger than “N”, it is determined that the current x data is data in a different area in the x direction, and the y column of the data RAM (B) is stored. Write data in register X0 (step P210), data RAM (B)
Write the data of the register X1 into the y column of the
211). Then, the data in the register X1 is transferred to the register X
0 (step P212) and step P206
Then, the counter x is incremented and the next x is similarly processed.

【0062】すなわち、ステップP206からステップ
P209において、カウンタxを順次インクリメントし
て、データRAM(A)のそのxのデータが最終データ
(「E」)であるか、最終データでないときには、前の
xのデータとの差が「N」より大きいかどうかにより、
x方向において同じ領域のデータかどうか判断する。そ
して、ステップP210からステップP212におい
て、同じ領域のデータでないときには、前のxのデータ
をデータRAM(B)に、次に、今回のxのデータをデ
ータRAM(B)に書き込んで、レジスタX1の値をレ
ジスタX0に書き込み、同じ領域のデータのときには、
データRAM(B)へのxのデータの書き込みを行なわ
ずに、レジスタX1の値をレジスタX0に書き込む。
That is, in steps P206 to P209, the counter x is sequentially incremented, and if the data of the x in the data RAM (A) is the final data (“E”) or is not the final data, the previous x. Depending on whether the difference from the data of is larger than “N”,
It is determined whether the data is in the same area in the x direction. Then, from step P210 to step P212, when the data is not in the same area, the previous x data is written to the data RAM (B), then the current x data is written to the data RAM (B), and Write the value to register X0, and when the data is the same area,
The value of the register X1 is written to the register X0 without writing the data of x to the data RAM (B).

【0063】すなわち、図10のデータRAM(A)に
おいて、y=3欄のx=1列とx=2列のデータは、異
なる領域のデータであり、この異なる領域のデータが現
われると、ステップP210で前の領域の右端のデータ
をデータRAM(B)に書き込み、ステップP211
で、次の領域の左端のデータをデータRAM(B)に書
き込む。そして、データRAM(A)のy=3欄のx=
2列から6列までは、同じ領域のデータであり、このと
きには、x=3列から5列までのデータは、データRA
M(B)に書き込まない。
That is, in the data RAM (A) of FIG. 10, the data of the x = 1 column and the x = 2 column of the y = 3 column are the data of different areas, and when the data of this different area appears, step At P210, the data at the right end of the previous area is written to the data RAM (B), and the process proceeds to Step P211.
Then, the data at the left end of the next area is written in the data RAM (B). Then, in the data RAM (A), y = 3 column x =
The data from the 2nd column to the 6th column is the data of the same area. At this time, the data from the x = 3rd column to the 5th column is
Do not write to M (B).

【0064】そして、ステップP208で、レジスタX
1のデータが「E」のときには、レジスタX0のデータ
をデータRAM(B)のy欄に書き込み(ステップP2
13)、データRAM(B)のy欄に「E」を書き込む
(ステップP214)。すなわち、図10で、データR
AM(A)のxから読み出したデータが「E」である
と、この「E」の前のxの値、すなわち、当該領域の右
端のデータであるレジスタX0の値を、データRAM
(B)に書き込み(ステップP213)、その後、
「E」をデータRAM(B)に書き込んで(ステップP
214)、カウンタyの値が「n」になったかどうかチ
ェックする(ステップP215)。
Then, in Step P208, the register X
When the data of 1 is "E", the data of the register X0 is written in the y column of the data RAM (B) (step P2
13), "E" is written in the y column of the data RAM (B) (step P214). That is, in FIG. 10, the data R
If the data read from x of AM (A) is "E", the value of x before this "E", that is, the value of the register X0 which is the data at the right end of the area is set to the data RAM
Write to (B) (step P213), then
Write "E" to the data RAM (B) (step P
214), and it is checked whether the value of the counter y has become "n" (step P215).

【0065】ステップP215で、カウンタyの値が
「n」になっていないときには、カウンタyをインクリ
メントして、次のy行について同様に処理する。
If the value of the counter y is not "n" in step P215, the counter y is incremented and the same processing is performed for the next y rows.

【0066】上記処理を順次行ない、ステップP215
で、カウンタyの値が「n」になると、最終行まで処理
を完了したと判断して、データRAM(B)書き込み処
理を終了する。このデータRAM(B)書き込み処理に
より、タッチパネル9上でタッチすることによりなぞら
れた各領域のx方向を識別することができるとともに、
データRAM(B)に、図10のデータRAM(B)に
示すように、各y欄に「E」と識別した各領域の左端の
データ及び右端のデータを対として書き込むことができ
る。
The above processing is sequentially carried out, and step P215
Then, when the value of the counter y reaches "n", it is determined that the processing has been completed up to the last row, and the data RAM (B) write processing is ended. By this data RAM (B) writing process, it is possible to identify the x direction of each area traced by touching on the touch panel 9, and
As shown in the data RAM (B) of FIG. 10, the data at the left end and the data at the right end of each area identified as “E” in each y column can be written in the data RAM (B) as a pair.

【0067】このようにして最終行まで処理を終了する
と、図8に示すデータRAM(B)書き込み処理(ステ
ップP2)を終了し、次に、データRAM(C)書き込
み処理(ステップP3)を行なう。
When the processing is completed up to the last row in this way, the data RAM (B) writing processing (step P2) shown in FIG. 8 is completed, and then the data RAM (C) writing processing (step P3) is performed. .

【0068】データRAM(C)書き込み処理は、図1
2に示すように処理される。
The data RAM (C) writing process is shown in FIG.
2 is processed.

【0069】データRAM(C)書き込み処理では、デ
ータRAM(B)書き込み処理によりデータRAM
(B)に書き込んだデータから指定領域の列方向(y方
向)の領域の区切りを識別し、識別した各領域毎にデー
タRAM28のC領域に、領域Cz(z=0、1、2、
・・・)を確保して、各領域の先頭行から最終行までを
各行毎に左端列のデータと右端列のデータとを確保した
領域Czに書き込む。このデータRAM(C)書き込み
処理を図10及び図12に基づいて説明する。
In the data RAM (C) writing process, the data RAM (B) writing process is performed.
Area delimiters in the column direction (y direction) of the designated area are identified from the data written in (B), and an area Cz (z = 0, 1, 2,
...) is secured and the first row to the last row of each area are written for each row in the area Cz in which the data of the leftmost column and the data of the rightmost column are secured. This data RAM (C) writing process will be described with reference to FIGS.

【0070】すなわち、データRAM(C)書き込み処
理では、まず、作成したデータRAM(Cz)の領域の
数をカウントするカウンタw、カウンタy、カウンタx
及び処理中のデータRAM(Cz)をカウントするカウ
ンタzに「0」をセットする(ステップP301〜ステ
ップP304)。これらカウンタw、x、y、zは順次
インクリメントされる。データRAM(B)のy欄のx
のデータを読み出して、レジスタaにセットする(ステ
ップP305)。このレジスタaのデータが「E」であ
るかチェックし(ステップP306)、いま、図10の
データRAM(B)のy=0欄に示すように、レジスタ
aのデータが「E」であるときには、そのy欄には、領
域データがないと判断して、カウンタyの値が「n」で
あるか、すなわち最終行まで処理したかどうかチェック
する(ステップP319)。カウンタyの値が「n」で
ないときには、カウンタyの値を「1」だけインクリメ
ントして、ステップP303に戻り、カウンタx及びカ
ウンタzに「0」をセットして、次のy欄の最初のxの
データをレジスタaにセットする(ステップP30
5)。このレジスタaのデータが「E」かどうかチェッ
クし(ステップP306)、例えば、図10のデータR
AM(B)のy=1欄のように、「E」でないときに
は、レジスタaのデータは領域の左端を示すデータであ
るので、データRAM(B)のy欄のx+1のデータ、
すなわち、領域の右端を示すデータを読み出して、レジ
スタbにセットする(ステップP307)。
That is, in the data RAM (C) writing process, first, a counter w, a counter y and a counter x for counting the number of areas of the created data RAM (Cz).
Also, "0" is set to the counter z that counts the data RAM (Cz) being processed (step P301 to step P304). These counters w, x, y, z are sequentially incremented. X in the y column of data RAM (B)
Data is read out and set in the register a (step P305). It is checked whether the data in the register a is "E" (step P306). Now, as shown in the column y = 0 in the data RAM (B) of FIG. 10, when the data in the register a is "E", Then, it is determined that there is no area data in the y column, and it is checked whether the value of the counter y is "n", that is, whether the last line has been processed (step P319). When the value of the counter y is not "n", the value of the counter y is incremented by "1", the process returns to step P303, the counter x and the counter z are set to "0", and the first y in the next y column is set. The data of x is set in the register a (step P30).
5). It is checked whether or not the data in the register a is "E" (step P306). For example, the data R in FIG.
When it is not “E” as in the y = 1 column of AM (B), the data of the register a is the data indicating the left end of the area, so the x + 1 data of the y column of the data RAM (B),
That is, the data indicating the right end of the area is read and set in the register b (step P307).

【0071】そして、カウンタwの値がカウンタzの値
より大きいかチェックし(ステップP308)、いま、
カウンタw及びカウンタzには、ステップP303及び
ステップP304で、ともに「0」がセットされている
ので、カウンタwの値を「1」だけインクリメントして
(ステップP317)、データRAM(Cz)、すなわ
ち、図10の右端図に示すように、データRAM(C
0)を確保する。次に、フラグFz、いま、z=0であ
るので、フラグF0に「0」をセットする(ステップP
318)。このフラグFz(z=0、1、2、・・・)
は、カウンタzの数だけ作られ、各データRAM(C
z)に対応するフラグであり、そのデータRAM(C
z)が書き込み中のとき、「0」に、書き込みが終了す
ると、「1」に設定される。
Then, it is checked whether the value of the counter w is larger than the value of the counter z (step P308).
Since "0" is set to both the counter w and the counter z in Steps P303 and P304, the value of the counter w is incremented by "1" (Step P317), and the data RAM (Cz), that is, , The data RAM (C
0) is secured. Next, since the flag Fz is now z = 0, "0" is set to the flag F0 (step P
318). This flag Fz (z = 0, 1, 2, ...)
Are created by the number of counters z, and each data RAM (C
z) corresponding to the data RAM (C
It is set to "0" when z) is being written and is set to "1" when the writing is completed.

【0072】次に、後述するように、次のy欄について
処理する際に、ステップP310でデータRAM(B)
から読み込んできたxのデータが、現在書き込み中の領
域に属するデータであるかどうかをチェックするため
に、レジスタaの値をレジスタaz(z=0、1、2、
・・・)にセットし(ステップP311)、データRA
M(Cz)のy欄にレジスタa及びレジスタbのデータ
を書き込む(ステップP312)。すなわち、確保した
データRAM(C0)に最初の領域の左端を示すxのデ
ータ(図10のデータRAM(B)のy=1欄のx=0
列のデータである「2」)と右端を示すxのデータ(図
10のデータRAM(B)のy=1欄のx=1列のデー
タである「3」)を、図10の右端図に示すように、デ
ータRAM(C0)のy=1欄に書き込む。そして、カ
ウンタzを「1」だけインクリメントし(ステップP3
13)、またxのデータは、領域の左右端で1対である
ので、カウンタxを「2」だけインクリメントする(ス
テップP314)。
Next, as will be described later, when processing the next y column, in step P310, the data RAM (B)
In order to check whether the data of x read from the data belonging to the area currently being written, the value of the register a is set to the register az (z = 0, 1, 2,
...)) (step P311), and the data RA
The data of the register a and the register b is written in the y column of M (Cz) (step P312). That is, x data indicating the left end of the first area in the secured data RAM (C0) (x = 0 in the y = 1 column of the data RAM (B) in FIG. 10).
The right end view of FIG. 10 is the data “2” of the column and the data x of the right end (the data “3” of the column x = 1 in the column y = 1 of the data RAM (B) of FIG. 10). As shown in, the data RAM (C0) is written in the y = 1 column. Then, the counter z is incremented by "1" (step P3
13) Further, since the data of x is a pair at the left and right ends of the area, the counter x is incremented by "2" (step P314).

【0073】そして、ステップP305に戻って、同様
に、データRAM(B)の同じy欄のインクリメントし
たxのデータを読み出してレジスタaにセットし、レジ
スタaのデータが「E」であるかどうかチェックする
(ステップP306)。いま、図10のデータRAM
(B)のy=2欄のx=0列のデータ「1」を読み込ん
できたのであるから、レジスタaのデータは「E」では
なく、データRAM(B)からx+1のデータ、すなわ
ち、図10のy=2欄のx=1列のデータである「3」
を読み込み、カウンタwの値がカウンタzの値より大き
いかチェックする(ステップP308)。
Then, returning to step P305, similarly, the incremented x data in the same y column of the data RAM (B) is read and set in the register a, and whether the data in the register a is "E" or not Check (step P306). Now, the data RAM of FIG.
Since the data "1" in the column x = 0 in the column y = 2 in (B) has been read, the data in the register a is not "E", but the data x + 1 from the data RAM (B), that is, the figure “3”, which is the data of the x = 1 column of the y = 2 column of 10
Is read and it is checked whether the value of the counter w is larger than the value of the counter z (step P308).

【0074】いま、カウンタwには「1」が、カウンタ
zには「0」がセットされているので、フラグFzが
「0」かどうかチェックするが(ステップP309)、
フラグFzは、ステップP318で「0」にセットされ
ているので、レジスタazのデータからレジスタaのデ
ータを減算した減算結果の絶対値、すなわち、図10の
データRAM(B)の前y欄(y=1欄)の現在書き込
み中である領域(データRAM(C0))の左端を示す
xのデータ(x=「2」)と今回データRAM(B)か
ら読み込んだ領域の左端を示すxのデータ(x=
「1」)との差の絶対値が予め設定された値「M」(例
えば、10〜20の値が設定される。)より小さい(|
az−a|<M)かどうかにより、今回データRAM
(B)から読み込んだ左端を示すxのデータが、書き込
み中であるデータRAM(Cz)の領域と同じ領域であ
るかどうかチェックする(ステップP310)。
Since the counter w is set to "1" and the counter z is set to "0", it is checked whether the flag Fz is "0" (step P309).
Since the flag Fz is set to "0" in Step P318, the absolute value of the subtraction result obtained by subtracting the data of the register a from the data of the register az, that is, the previous y column ((y) in the data RAM (B) of FIG. Data (x = “2”) of x indicating the left end of the area (data RAM (C0)) currently being written in the y = 1 column and x indicating the left end of the area read from the data RAM (B) this time. Data (x =
The absolute value of the difference from “1” is smaller than a preset value “M” (for example, a value of 10 to 20 is set) (|
az-a | <M) Depending on whether or not this time data RAM
It is checked whether the x data indicating the left end read from (B) is the same area as the area of the data RAM (Cz) being written (step P310).

【0075】|az−a|<Mのときには、同じ領域の
データであると判断して、データRAM(Cz)のy欄
にレジスタa及びレジスタbの値を書き込み(ステップ
P312)、カウンタz及びカウンタxをインクリメン
トして、ステップP305に戻る。すなわち、図10の
データRAM(C0)のy=2欄にレジスタaの「1」
とレジスタbの「3」を書き込み、カウンタzを「1」
に、カウンタxを「2」にインクリメントする。
When | az-a | <M, it is determined that the data is in the same area, and the values of the register a and the register b are written in the y column of the data RAM (Cz) (step P312), and the counter z and The counter x is incremented and the process returns to step P305. That is, "1" of the register a is set in the y = 2 column of the data RAM (C0) of FIG.
And write "3" in register b and set counter z to "1".
Then, the counter x is incremented to "2".

【0076】同様に、データRAM(B)のy欄から次
のxのデータを読み出して、レジスタaにセットし(ス
テップP305)、レジスタaのデータが「E」である
かチェックする(ステップP306)。いま、y=2欄
のx=2列のデータは、「E」であるので、ステップP
319に移行するが、いま、y=nまで処理していない
ので、カウンタyを「3」にインクリメントして(ステ
ップP320)、カウンタx及びカウンタzに「0」セ
ットして(ステップP303、P304)、y=3欄に
ついで同様に処理する。
Similarly, the next x data is read from the y column of the data RAM (B) and set in the register a (step P305), and it is checked whether the data in the register a is "E" (step P306). ). Now, since the data in the x = 2 column of the y = 2 column is “E”, step P
However, since y = n has not been processed yet, the counter y is incremented to "3" (step P320), and the counter x and the counter z are set to "0" (steps P303 and P304). ), Y = 3, and then perform the same processing.

【0077】ステップP305でレジスタaにセットし
たデータは、図10のデータRAM(B)から分かるよ
うに、「1」であり、レジスタaのデータは「E」では
ないので(ステップP306)、データRAM(B)の
当該y欄のx+1のデータをレジスタbにセットする
(ステップP307)。いま、データRAM(C)は1
つ作成されておりカウンタwは「1」であり、カウンタ
zはステップP304で「0」がセットされている、ま
た、このレジスタa及びレジスタbにセットしたデータ
は、上記データRAM(C0)に属するデータである。
したがって、ステップP308、ステップP309及び
ステップP310でYESとなり、レジスタaのデータ
をレジスタazに格納した後(ステップP311)、レ
ジスタa及びレジスタbのデータをデータRAM(C
0)のy=3欄に書き込んで(ステップP312)、カ
ウンタz及びカウンタxをインクリメントする(ステッ
プP313、P314)。
The data set in the register a in step P305 is "1" as can be seen from the data RAM (B) in FIG. 10, and the data in the register a is not "E" (step P306). The x + 1 data of the y column of the RAM (B) is set in the register b (step P307). Data RAM (C) is now 1
The counter w is "1", the counter z is set to "0" in step P304, and the data set in the registers a and b is stored in the data RAM (C0). This is the data to which it belongs.
Therefore, YES is obtained in steps P308, P309, and P310, the data in the register a is stored in the register az (step P311), and then the data in the registers a and b is stored in the data RAM (C
0) is written in the y = 3 column (step P312), and the counter z and the counter x are incremented (steps P313 and P314).

【0078】そして、データRAM(B)からインクリ
メントしたxのデータ(図10のx=2の「80」)を
読み出して、レジスタaにセットする(ステップP30
5)。いまレジスタaのデータは、「E」ではないの
で、データRAM(B)から次のインクリメントしたx
のデータ(図10のデータRAM(B)のy=3欄のx
=3列の「84」)を読み出してレジスタbにセットし
(ステップP307)、カウンタwとカウンタzを比較
する(ステップP308)。いま、カウンタwの値は、
「1」であり、カウンタzは、インクリメントされて
「1」となっており、w=1、z=1で、w>zではな
いので、カウンタwをインクリメントして、すなわち、
カウンタwの値を「2」にして(ステップP317)、
新たにデータRAM(C1)を作成し、フラグFzに
「0」をセットする(ステップP318)。このレジス
タaのデータをレジスタazに書き込み(ステップP3
11)、また、レジスタa及びレジスタbのデータを、
図10の右端図に示すように、新たに作成したデータR
AM(C1)に書き込んで(ステップP312)、カウ
ンタz及びカウンタxをインクリメントする(ステップ
P313、P314)。
Then, the incremented x data (x = 2 "80" in FIG. 10) is read from the data RAM (B) and set in the register a (step P30).
5). Since the data in the register a is not "E" now, the next incremented x from the data RAM (B)
Data (x in the y = 3 column of the data RAM (B) in FIG. 10)
= “3” in column 3 is read out and set in the register b (step P307), and the counter w and the counter z are compared (step P308). Now, the value of the counter w is
Since it is "1" and the counter z is incremented to "1" and w = 1 and z = 1 and w> z is not satisfied, the counter w is incremented, that is,
Set the value of the counter w to "2" (step P317),
A data RAM (C1) is newly created and "0" is set in the flag Fz (step P318). The data of this register a is written to the register az (step P3
11), and the data in register a and register b
As shown in the rightmost diagram of FIG. 10, newly created data R
The data is written to AM (C1) (step P312), and the counter z and the counter x are incremented (steps P313 and P314).

【0079】ステップP305で、データRAM(B)
からそのy欄のインクリメントしたxのデータ、すなわ
ち、「E」を読み込んでレジスタaにセットする。い
ま、レジスタaのデータは「E」であるので、カウンタ
yのチェック及びインクリメントを行なって(ステップ
P319、P320)、次のy欄について同様に処理す
る。いま、yの値は、「4」にセットされているので、
上記y=3の場合と同様に処理し、処理が完了すると、
図10に示すように、データRAM(C0)及びデータ
RAM(C1)の該当するy欄には、データRAM
(B)のそのy欄のxのデータがそれぞれ書き込まれ
る。
In step P305, the data RAM (B)
To the incremented x data in the y column, that is, “E” is read and set in the register a. Since the data in the register a is now "E", the counter y is checked and incremented (steps P319 and P320), and the next y column is similarly processed. Since the value of y is set to "4" now,
The same process as in the case of y = 3 above, and when the process is completed,
As shown in FIG. 10, the data RAM (C0) and the data RAM (C1) have the data RAM in the corresponding y column.
The data of x in the y column of (B) is written respectively.

【0080】そして、y=4についての処理が完了し、
ステップP319を経て、ステップP320でカウンタ
yがインクリメントされると、ステップP303に戻っ
て、次のy=5について処理する。
Then, the processing for y = 4 is completed,
When the counter y is incremented in step P320 via step P319, the process returns to step P303 to process the next y = 5.

【0081】y=5では、図10に示すように、データ
RAM(B)のy=5欄のxの最初のデータは「82」
であるので、ステップP306で、レジスタaの値は
「E」ではないと判断し、x+1のデータである「8
2」を読み込んでレジスタbにセットする。
When y = 5, as shown in FIG. 10, the first data of x in the y = 5 column of the data RAM (B) is "82".
Therefore, in step P306, it is determined that the value of the register a is not “E”, and the data of x + 1 is “8”.
2 ”is read and set in the register b.

【0082】いま、カウンタwには「2」が、カウンタ
zには「0」がセットされているので、フラグFzをチ
ェックするが、フラグFzには「0」がセットされてい
るで、書き込み中であるカウンタzの値のレジスタaz
のデータ、すなわち、z=0のレジスタazのデータと
今回読み込んだレジスタaのデータとの差の絶対値が所
定値「M」より小さいかどうかチェックする(ステップ
P310)。ここで、図10のデータRAM(B)のy
=4欄のx=0列のデータとy=5欄のx=0列のデー
タとは、異なる領域のデータであり所定値「M」より小
さくないので、そのzの値に対応するフラグFz(図1
0では、フラグF0)を「1」にセットし(ステップP
316)、カウンタzを「1」だけインクリメントして
(ステップP315)、カウンタwとカウンタzを比較
する(ステップP308)。
Now, since the counter w is set to "2" and the counter z is set to "0", the flag Fz is checked. However, since the flag Fz is set to "0", writing is performed. Register az of the value of counter z which is inside
Data, that is, whether the absolute value of the difference between the data of the register az at z = 0 and the data of the register a read this time is smaller than a predetermined value “M” (step P310). Here, y in the data RAM (B) of FIG.
= 4 column x = 0 column data and y = 5 column x = 0 column data are data in different areas and are not smaller than the predetermined value "M". Therefore, the flag Fz corresponding to the z value is set. (Fig. 1
At 0, the flag F0 is set to "1" (step P
316), the counter z is incremented by "1" (step P315), and the counter w and the counter z are compared (step P308).

【0083】次に、ここでも、カウンタwには「2」
が、カウンタzには「1」がセットされているので、フ
ラグFzをチェックするが、フラグFz、すなわちフラ
グF1には「0」がセットされているで、書き込み中で
あるカウンタzの値のレジスタazのデータ、すなわ
ち、z=1のレジスタazのデータと今回読み込んだレ
ジスタaのデータとの差の絶対値が所定値「M」より小
さいかどうかチェックする(ステップP310)。ここ
で、図10のデータRAM(B)のy=4欄のx=2列
のデータとy=5欄のx=0列のデータとは、同じ領域
のデータであり所定値「M」より小さいので、レジスタ
aのデータをレジスタazにセットし(ステップP31
1)、レジスタa及びレジスタbのデータをデータRA
M(Cz)、すなわち、データRAM(C1)に書き込
んで(ステップP312)、カウンタz及びカウンタx
をインクリメントする(ステップP313、P31
4)。
Next, again, the counter w is "2".
However, since the counter z is set to "1", the flag Fz is checked. However, since the flag Fz, that is, the flag F1 is set to "0", the value of the counter z being written is It is checked whether or not the absolute value of the difference between the data of the register az, that is, the data of the register az with z = 1 and the data of the register a read this time is smaller than a predetermined value "M" (step P310). Here, the data of the x = 2 column of the y = 4 column and the data of the x = 0 column of the y = 5 column of the data RAM (B) of FIG. Since it is small, the data in the register a is set in the register az (step P31
1), the data of register a and register b are changed to data RA
M (Cz), that is, data RAM (C1) is written (step P312), and counter z and counter x are written.
Is incremented (steps P313, P31
4).

【0084】そして、当該y欄の次のx列のデータをデ
ータRAM(B)から読み出してレジスタaにセットし
(ステップP305)、レジスタaの値がカウンタwか
どうかチェックする(ステップP306)。いま、図1
0で、データRAM(B)のy=5欄のx=2列の値
は、「E」であるので、y=nかどうかチェックするが
(ステップP319)、y=nではないので、カウンタ
yをインクリメントして、次のy欄(y=6欄)につい
て同様に処理する。
Then, the data in the x column next to the y column is read from the data RAM (B) and set in the register a (step P305), and it is checked whether the value of the register a is the counter w (step P306). Now, Figure 1
At 0, the value in the x = 2 column of the y = 5 column of the data RAM (B) is “E”, so it is checked whether y = n (step P319), but since y = n is not satisfied, the counter y is incremented and the same processing is performed for the next y column (y = 6 column).

【0085】いま、y=6欄には、領域データがなく、
「E」が書き込まれているので、以降、ステップP30
3からステップP306及びステップP319とステッ
プP320の処理が順次実行され、ステップP319
で、y=nになると、データRAM(C)書き込み処理
を終了する。
Now, there is no area data in the y = 6 column,
Since "E" has been written, step P30 is subsequently performed.
3 to step P306, step P319, and step P320 are sequentially executed, and step P319
Then, when y = n, the data RAM (C) writing process is terminated.

【0086】このように、データRAM(C)書き込み
処理では、データRAM(B)書き込み処理によりデー
タRAM(B)に書き込んだデータから描画領域の列方
向の領域の区切りを識別し、識別した各描画領域毎にデ
ータRAM28のC領域に、領域Cz(データRAM
(C1)・・・)を確保して、各描画領域の先頭行から
最終行までを各行毎に左端列のデータと右端列のデータ
とを確保したデータRAM(Cz)にそれぞれ書き込む
ことができる。このようにしてデータRAM(C)書き
込み処理を終了すると、図8に示すように、図形認識処
理を終了し、図6に示すように、ステップS2に戻っ
て、選択モードをチェックする。
As described above, in the data RAM (C) writing process, the delimiter of the drawing region in the column direction is identified from the data written in the data RAM (B) by the data RAM (B) writing process. An area Cz (data RAM) is provided in the area C of the data RAM 28 for each drawing area.
(C1) ...) can be ensured, and the first row to the last row of each drawing area can be written into the data RAM (Cz) in which the data in the leftmost column and the data in the rightmost column are secured for each row. . When the data RAM (C) writing process is completed in this way, the graphic recognition process is completed as shown in FIG. 8, and the process returns to step S2 to check the selection mode as shown in FIG.

【0087】ここで、設定モードが選択されていると、
設定モード処理を行なう。
Here, when the setting mode is selected,
Performs setting mode processing.

【0088】この設定モード処理は、描画モード処理で
領域指定された指定領域に囲まれた各図形に対して、図
形番号と音高や音色を設定する処理である。
The setting mode process is a process of setting the figure number, pitch and tone color for each figure surrounded by the designated area designated in the drawing mode processing.

【0089】設定モード処理では、まず、図6に示すよ
うに、図形番号の指定があったかどうかチェックする
(ステップS7)。この図形番号の指定は、操作部32
のセレクトキー14を投入することにより、順次、上記
描画モードで指定した領域の図形を選択指定することが
でき、図形が指定されると、CPU29は、指定順に図
形番号を、例えば、図13に示すように、1、2・・・
のように付与する。
In the setting mode process, first, as shown in FIG. 6, it is checked whether or not a figure number has been designated (step S7). This graphic number is designated by the operation unit 32.
By pressing the select key 14 of, the figures in the area designated in the drawing mode can be sequentially selected and designated. When the figures are designated, the CPU 29 assigns the figure numbers in the designated order, for example, to FIG. As shown, 1, 2, ...
As in.

【0090】この図形番号が指定されると、音高や音色
が操作部32の音高キー15や音色キー16により指定
されるのを待って(ステップS8)、その指定された図
形番号と音高や音色データを、図13に示すように、デ
ータRAM28の所定領域に書き込む(ステップS
9)。その後、モードキー5が投入されたかどうかチェ
ックし(ステップS10)、モードキー5が投入されて
いないときには、ステップS7に戻って、図形番号の指
定のチェックから同様に処理する。上記処理を順次実行
すると、データRAM28には、図13に示すように、
各指定領域毎に、その図形番号と音色番号や音高番号が
書き込まれ、ステップS10で、モードキー5が投入さ
れると、設定モード処理を終了して、ステップS2に戻
る。
When this figure number is designated, the system waits until the pitch or tone color is designated by the tone pitch key 15 or tone color key 16 of the operation section 32 (step S8), and then the designated figure number and tone are selected. The pitch and tone color data are written in a predetermined area of the data RAM 28 as shown in FIG. 13 (step S
9). Thereafter, it is checked whether or not the mode key 5 has been pressed (step S10). When the mode key 5 has not been pressed, the process returns to step S7, and the same processing is performed from the check of the designation of the figure number. When the above processes are sequentially executed, the data RAM 28 is displayed as shown in FIG.
The graphic number, tone color number, and pitch number are written for each designated area, and when the mode key 5 is pressed in step S10, the setting mode process is terminated and the process returns to step S2.

【0091】このように、設定モード処理により、描画
モードで指定した領域の図形に対して、任意に音高や音
色を設定することができる。
As described above, by the setting mode processing, the pitch and the tone color can be arbitrarily set for the figure in the area designated in the drawing mode.

【0092】ここで、発音モードが選択されていると、
発音モード処理を行なう。
If the tone generation mode is selected,
Performs pronunciation mode processing.

【0093】発音モード処理は、設定モードで設定した
タッチパネル9の図形をタッチペン7で指定されると、
指定された図形に設定モードで設定した音高の音を指定
された音色で発音させる処理である。
In the tone generation mode process, when the figure on the touch panel 9 set in the setting mode is designated by the touch pen 7,
This is a process of causing a designated figure to generate a tone having a pitch set in the setting mode with a designated tone color.

【0094】発音モード処理では、まず、タッチパネル
9をスキャンして(ステップS11)、タッチパネル9
上でタッチペン7により押圧された位置をタッチパネル
9上のx方向(行方向)及びy方向(列方向)の押圧位
置データとして検出し、押圧位置データを取り込む。こ
のスキャンした結果の押圧位置データに基づき押圧図形
認識処理(ステップS12)を行なう。
In the sound generation mode process, first, the touch panel 9 is scanned (step S11), and the touch panel 9 is scanned.
The position pressed by the touch pen 7 is detected as the pressed position data on the touch panel 9 in the x direction (row direction) and the y direction (column direction), and the pressed position data is captured. A pressed figure recognition process (step S12) is performed based on the pressed position data obtained as a result of this scanning.

【0095】この押圧図形認識処理は、図14に示すよ
うに処理される。
This pressed figure recognition process is performed as shown in FIG.

【0096】すなわち、押圧図形認識処理では、まず、
検出した押圧位置データをx方向のデータを格納するた
めのレジスタx及びy方向のデータを格納するためのレ
ジスタyに格納し(ステップQ1)、データRAM(C
z)に格納されている各指定領域を走査するためのカウ
ンタzに「0」をセットする(ステップQ2)。
That is, in the pressed figure recognition processing, first,
The detected pressed position data is stored in a register x for storing data in the x direction and a register y for storing data in the y direction (step Q1), and the data RAM (C
"0" is set to the counter z for scanning each designated area stored in z) (step Q2).

【0097】そして、データRAM(Cz)から当該押
圧されたy行に該当するy欄のデータ(xデータ)をレ
ジスタa及びレジスタbに読み込み(ステップQ3)、
押圧されたx列を示すレジスタxのデータが、レジスタ
a及びレジスタbのデータ内にあるかどうか(a≦x≦
b)により、押圧位置がデータRAM(Cz)の図形内
にあるかどうかチェックする(ステップQ4)。すなわ
ち、押圧位置と同じy欄についてのみ、押圧位置である
レジスタxのデータが当該データRAM(Cz)のxデ
ータであるレジスタaとレジスタbのデータの範囲内に
あるかどうかチェックすることにより、押圧位置が当該
データRAM(Cz)の領域内にあるかどうかチェック
している。
Then, the data (x data) in the y column corresponding to the pressed y row is read from the data RAM (Cz) into the registers a and b (step Q3),
Whether the data of the register x indicating the pressed x column is in the data of the register a and the register b (a ≦ x ≦
By b), it is checked whether or not the pressed position is within the figure of the data RAM (Cz) (step Q4). That is, by checking whether or not the data of the register x which is the pressed position is within the range of the data of the register a and the register b which are the x data of the data RAM (Cz) only for the same y column as the pressed position. It is checked whether the pressed position is within the area of the data RAM (Cz).

【0098】ステップQ4で、押圧位置が当該データR
AM(Cz)の領域内にないときには、カウンタzの値
がデータRAM28に作成したデータRAM(Cz)の
数になったかどうかチェックし(ステップQ5)、デー
タRAM(Cz)の数だけチェックしていないときに
は、カウンタzを「1」だけインクリメントして(ステ
ップQ6)、同様に、次のデータRAM(Cz)の当該
y欄のデータをレジスタa及びレジスタbに読み込んで
(ステップQ3)、同様に処理する。
In step Q4, the pressed position is the data R
When it is not within the area of AM (Cz), it is checked whether the value of the counter z has reached the number of data RAM (Cz) created in the data RAM 28 (step Q5), and only the number of data RAM (Cz) is checked. If not, the counter z is incremented by "1" (step Q6), similarly, the data in the y column of the next data RAM (Cz) is read into the registers a and b (step Q3), and similarly. To process.

【0099】ステップQ4で、レジスタxのデータが、
レジスタa及びレジスタbのデータの範囲内にあるとき
には、当該レジスタa及びレジスタbのデータが含まれ
ている領域番号(z)とともに、押圧位置に指定図形が
ある旨の有リターンを帰す。また、ステップQ4で、レ
ジスタxのデータが、レジスタa及びレジスタbのデー
タの範囲内にないときには、カウンタzの値がデータR
AM28に作成したデータRAM(Cz)の数になった
かどうかチェックし(ステップQ5)、データRAM
(Cz)の数に達していないときには、カウンタzをイ
ンクリメントして(ステップQ6)、ステップQ3に戻
る。
At step Q4, the data in the register x is
When it is within the range of the data of the register a and the register b, a return indicating that the designated figure is at the pressed position is returned together with the area number (z) in which the data of the register a and the register b are included. If the data of the register x is not within the range of the data of the registers a and b in step Q4, the value of the counter z is the data R.
It is checked whether or not the number of data RAM (Cz) created in AM28 has been reached (step Q5), and data RAM
When the number of (Cz) has not been reached, the counter z is incremented (step Q6) and the process returns to step Q3.

【0100】上記処理を順次繰り返し行ない、押圧位置
が、データRAM28に作成した各データRAM(C
z)の領域内にないまま、ステップQ5で、データRA
M28に作成した全ての領域についてのチェックを終了
すると、押圧位置に該当する図形がない旨の無リターン
を返して押圧図形認識処理を終了する。
The above-described processing is repeated in sequence, and the pressing position is set in each data RAM (C
z), the data RA
When all the areas created in M28 have been checked, no return is returned to the effect that there is no figure corresponding to the pressed position, and the pressed figure recognition process ends.

【0101】この押圧図形認識処理を終了すると、CP
U29は、図6のメイン処理に戻って、押圧図形認識処
理の結果により、押圧位置が前記描画モードで設定した
領域を指定していないかどうかのチェック、すなわち、
非設定領域かどうかチェックし(ステップS13)、非
設定領域でないときには、データRAM28からその押
圧された指定領域の図形番号に基づいて音高や音色デー
タを読み込む(ステップS14)。CPU29は、この
読み込んだ音高や音色データに基づいて波形ROM31
から波形データを読み出して、音源回路25に設定し
(ステップS15)、音源回路25に発音開始の指示を
行なう(ステップS16)。
When this pressed figure recognition process is completed, CP
U29 returns to the main processing of FIG. 6 and checks whether or not the pressed position does not specify the area set in the drawing mode based on the result of the pressed figure recognition processing, that is,
It is checked whether it is a non-setting area (step S13). If it is not a non-setting area, the pitch and tone color data are read from the data RAM 28 based on the figure number of the pressed designated area (step S14). The CPU 29 uses the waveform ROM 31 based on the read pitch and tone color data.
The waveform data is read out from, and set in the tone generator circuit 25 (step S15), and the tone generator circuit 25 is instructed to start sound generation (step S16).

【0102】音源回路25は、波形データが供給され
て、発音開始の指示があると、供給された波形データに
より楽音を生成し、サウンドシステム26に供給する。
サウンドシステム26は、供給された楽音をスピーカ1
7から発生させるとともに、音声出力端子35を介して
外部装置に出力する。
When the tone generator circuit 25 is supplied with the waveform data and is instructed to start sounding, it generates a musical tone by the supplied waveform data and supplies it to the sound system 26.
The sound system 26 outputs the supplied musical sound to the speaker 1
7 and outputs to an external device via the audio output terminal 35.

【0103】CPU29は、発音開始の指示を音源回路
25に出力すると、モードキー5が投入されたかどうか
チェックし(ステップS17)、モードキー5が投入さ
れていないときには、モード切換が行なわれていないと
判断して、ステップS11に戻る。以下同様に処理し、
順次タッチパネル9を走査して、タッチパネル9が押圧
される毎に、押圧位置の図形に設定した音高や音色の楽
音を発生させる。
When the CPU 29 outputs a sound generation start instruction to the tone generator circuit 25, it checks whether or not the mode key 5 has been pressed (step S17). When the mode key 5 is not pressed, the mode switching is not performed. Then, the process returns to step S11. And so on,
The touch panel 9 is sequentially scanned, and each time the touch panel 9 is pressed, a musical tone of the pitch or tone color set in the figure at the pressed position is generated.

【0104】このように、TV装置3からの映像を取り
込んでLCDパネル8に表示出力し、この表示出力した
任意の映像の輪郭をタッチパネル9上でタッチペン7に
よりなぞることにより、領域指定することができる。そ
して、この指定した領域に音高や音色等の楽音特性を指
定することができる。その結果、LCDパネル8に表示
される文字や図形等の映像を領域指定し、指定した領域
に関連付けて楽音特性を容易に設定することができる。
As described above, the image from the TV device 3 is captured and displayed on the LCD panel 8, and the contour of the arbitrary image displayed and output is traced by the touch pen 7 on the touch panel 9 to specify the area. it can. Then, musical tone characteristics such as pitch and timbre can be designated in the designated area. As a result, it is possible to specify the area of the image such as characters and figures displayed on the LCD panel 8 and easily set the musical tone characteristics in association with the specified area.

【0105】また、このように楽音特性が指定された領
域が設定され、この設定された領域がタッチペン7によ
り指定されると、この指定された領域に設定された楽音
特性の楽音を発生することができる。したがって、鍵盤
等を使用することなく、LCDパネル8に表示された図
形や文字等の映像の領域を指定するだけで、指定した領
域の映像に設定した楽音を発生させることができ、図形
や文字等の映像と楽音とを関連付けて発生させることが
できる。その結果、映像と楽音とを関連付けた演奏を行
なうことができ、従来にない、面白味のある電子楽器を
提供することができる。
Further, when the area in which the musical tone characteristic is designated is set and the designated area is designated by the touch pen 7, the musical tone having the musical tone characteristic set in the designated area is generated. You can Therefore, it is possible to generate the musical sound set in the image in the designated area by simply designating the area of the image such as the figure or character displayed on the LCD panel 8 without using the keyboard or the like. It is possible to generate an image by associating a video with a musical sound. As a result, it is possible to perform a performance in which the image and the musical sound are associated with each other, and it is possible to provide an interesting electronic musical instrument that has never been seen before.

【0106】図15は、本発明の入力装置及びこの入力
装置を備えた電子楽器の第2実施例のメイン処理を示す
フローチャートである。
FIG. 15 is a flow chart showing the main processing of the second embodiment of the input device of the present invention and the electronic musical instrument provided with this input device.

【0107】本実施例は、図1に示した電子楽器1と同
様の電子楽器に適用したものであり、本実施例では、描
画モードにおいて、タッチパネル上でタッチペンにより
描かれた映像を取り込んで、表示部に表示出力して、こ
の表示部に表示出力した映像の領域を、自動的に描画領
域として区分して認識する。そこで、本実施例の説明に
あたり、第1実施例で用いた符号をそのまま用いて、以
下説明する。特に、図6と同様の処理については、同一
のステップ番号を付してその詳細な説明を省略する。
This embodiment is applied to an electronic musical instrument similar to the electronic musical instrument 1 shown in FIG. 1. In the present embodiment, in the drawing mode, an image drawn by a touch pen on the touch panel is captured, The area of the video output to the display unit and output to the display unit is automatically recognized as a drawing area. Therefore, in describing the present embodiment, the same reference numerals used in the first embodiment will be used as they are in the following description. In particular, the same steps as those in FIG. 6 are designated by the same step numbers, and detailed description thereof will be omitted.

【0108】図15において、電子楽器1は、電源が投
入されると、第1実施例と同様に、まず、イニシャル処
理を行ない(ステップS1)、操作部32のモードキー
5を走査して、選択モードをチェックする(ステップS
2)。
In FIG. 15, when the power of the electronic musical instrument 1 is turned on, first, as in the first embodiment, initial processing is performed (step S1), and the mode key 5 of the operation unit 32 is scanned, Check the selection mode (step S
2).

【0109】選択モードが描画モードであると、まず、
タッチパネル9をスキャンして、タッチパネル9のタッ
チ位置を検出し(ステップS3)、検出したタッチ位置
情報をビデオRAMマップ27に転送して、ビット情報
として格納する(ステップS4)。CPU29は、この
ビット情報をプログラムROM30内に格納されている
ビデオデータ変換プログラムに従ってビデオデータに変
換し、ビデオRAM24に転送・記憶させる(ステップ
S20)。CPU29は、このビデオRAM24に記憶
させたビデオデータをビデオインタフェイス22を介し
てLCDコントローラ21に出力させ、LCDコントロ
ーラ21がLCDパネル8を制御して、タッチパネル9
上のタッチ位置をLCDパネル8に表示出力させる(ス
テップS21)。
If the selection mode is the drawing mode, first,
The touch panel 9 is scanned to detect the touch position on the touch panel 9 (step S3), the detected touch position information is transferred to the video RAM map 27, and stored as bit information (step S4). The CPU 29 converts this bit information into video data according to the video data conversion program stored in the program ROM 30, and transfers / stores it in the video RAM 24 (step S20). The CPU 29 outputs the video data stored in the video RAM 24 to the LCD controller 21 via the video interface 22, and the LCD controller 21 controls the LCD panel 8 to touch the touch panel 9
The upper touch position is displayed and output on the LCD panel 8 (step S21).

【0110】次に、モードキー5が投入されたかどうか
チェックし(ステップS5)、モードキー5が投入され
ていないときには、ステップS3に戻って、同様に、タ
ッチパネル9のタッチ位置をビデオRAMマップ27に
格納するとともに、ビデオデータに変換して、ビデオR
AM24に格納した後、LCDパネル8に表示出力する
(ステップS3〜ステップS21)。上記処理を順次繰
り返し行なうことにより、タッチパネル9上でタッチペ
ン7により文字や図形等の映像が描かれると、その描か
れた映像が、順次ビデオRAMマップ27に展開され、
ビデオデータに変換されてビデオRAM24に格納され
るとともに、LCDパネル8に表示出力される。
Next, it is checked whether or not the mode key 5 has been pressed (step S5). If the mode key 5 has not been pressed, the process returns to step S3 and similarly the touch position on the touch panel 9 is determined by the video RAM map 27. Stored in and converted to video data
After being stored in the AM 24, it is displayed and output on the LCD panel 8 (steps S3 to S21). When images of characters, figures, etc. are drawn on the touch panel 9 by the touch pen 7 by sequentially repeating the above processes, the drawn images are sequentially developed on the video RAM map 27,
The video data is converted and stored in the video RAM 24, and is displayed and output on the LCD panel 8.

【0111】その後、モードキー5が投入されると、ス
テップS5からステップS6に移行し、上記第1実施例
と同様の図形認識処理を行なう(ステップS6)。但
し、この図形認識処理では、図8から図12に示した図
形認識処理と同様の処理手順により処理されるが、本実
施例では、上記タッチパネル9上で描かれた映像自体を
それぞれ領域として自動的に認識する。
After that, when the mode key 5 is pressed, the process proceeds from step S5 to step S6, and the same graphic recognition process as in the first embodiment is performed (step S6). However, in this figure recognition processing, the same processing procedure as the figure recognition processing shown in FIGS. 8 to 12 is performed, but in the present embodiment, the image itself drawn on the touch panel 9 is automatically set as an area. Recognize it.

【0112】この図形認識処理を終了すると、ステップ
S2に戻り、選択モードをチェックする(ステップS
2)。以降選択モードに応じて、設定モード処理及び発
音処理を行なうが、この設定モード処理及び発音モード
処理は、上記実施例と同様である。
When the figure recognition process is completed, the process returns to step S2 to check the selection mode (step S2).
2). After that, the setting mode process and the sound generation process are performed according to the selection mode. The setting mode process and the sound generation mode process are the same as those in the above-described embodiment.

【0113】このように、本実施例によれば、タッチパ
ネル9をタッチすることにより、文字や図形等の映像を
描き、この描いた映像の領域を認識する。そして、設定
モードで認識した領域に音高や音色等の楽音特性を設定
し、発音モードで、設定した領域をタッチペン7により
指定すると、指定した領域に設定した楽音特性の楽音を
発生させることができる。したがって、演奏者が、任意
に描いた映像に楽音特性を設定し、その映像を指定する
ことにより設定した楽音特性の楽音を発生させることが
できる。その結果、より一層、自由度のある映像に対し
て楽音を設定して、その楽音を任意の順序で発生させる
ことができ、より一層面白味のある電子楽器を提供する
ことができる。
As described above, according to the present embodiment, by touching the touch panel 9, an image such as a character or a figure is drawn, and the drawn image area is recognized. Then, when the tone characteristics such as pitch and tone color are set in the region recognized in the setting mode and the set region is designated by the touch pen 7 in the sounding mode, a tone having the tone characteristic set in the designated region can be generated. it can. Therefore, the player can generate a musical tone having the set musical tone characteristic by setting the musical tone characteristic in an image drawn arbitrarily and designating the image. As a result, it is possible to set a musical sound for a video having a higher degree of freedom and to generate the musical sound in an arbitrary order, so that it is possible to provide a more interesting electronic musical instrument.

【0114】[0114]

【発明の効果】本発明の入力装置によれば、文字や図形
等の表示データを表示出力する表示手段と積層された領
域指定手段により、表示手段に表示出力された表示デー
タの任意の領域を指定し、この領域指定手段により指定
された領域に対して、音高や音色等の楽音特性を指定す
ることができるので、表示手段に表示される文字や図形
等の表示データに関連付けて楽音特性を設定することが
できる。
According to the input device of the present invention, by the area designating means laminated with the display means for displaying and outputting the display data such as characters and figures, any area of the display data displayed and output on the display means can be displayed. Since the tone characteristics such as pitch and tone can be designated for the area designated by the area designating means, the tone characteristic can be associated with the display data such as characters and figures displayed on the display means. Can be set.

【0115】また、本発明の電子楽器によれば、本発明
の入力装置で表示手段の表示データの領域と楽音特性が
設定され、この設定された領域が指定されると、指定さ
れた領域に設定された楽音特性の楽音を発生することが
できるので、鍵盤等を使用することなく、表示手段に表
示された図形や文字等の表示データの領域を指定するだ
けで、指定した表示データの領域に設定した楽音を発生
させることができ、図形や文字等の表示データと楽音と
を関連付けて発生させることができる。
According to the electronic musical instrument of the present invention, the area of the display data of the display means and the musical tone characteristic are set by the input device of the present invention, and when the set area is designated, the designated area is set. Since it is possible to generate musical tones with the set musical tone characteristics, it is possible to specify the area of the specified display data by simply specifying the area of the display data such as figures and characters displayed on the display means without using the keyboard etc. It is possible to generate the musical tone set to, and display data such as figures and characters and the musical tone can be generated in association with each other.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明を適用した電子楽器の第1実施例の外観
構成図。
FIG. 1 is an external configuration diagram of an electronic musical instrument according to a first embodiment of the present invention.

【図2】図1の表示部の分解斜視図。FIG. 2 is an exploded perspective view of the display unit shown in FIG.

【図3】電子楽器の回路ブロック図。FIG. 3 is a circuit block diagram of an electronic musical instrument.

【図4】図形の表示された表示部の正面図。FIG. 4 is a front view of a display unit on which graphics are displayed.

【図5】表示された図形を領域指定する状態の表示部の
正面図。
FIG. 5 is a front view of the display unit in a state where the displayed figure is designated as an area.

【図6】図1の電子楽器のメイン処理を示すフローチャ
ート。
FIG. 6 is a flowchart showing main processing of the electronic musical instrument shown in FIG.

【図7】タッチパネルの押圧位置の一例をx−y方向の
ドットとして示す図。
FIG. 7 is a diagram showing an example of pressed positions on the touch panel as dots in xy directions.

【図8】図6の図形認識処理の手順を示すフローチャー
ト。
8 is a flowchart showing the procedure of the graphic recognition process of FIG.

【図9】図8のデータRAM(A)書き込み処理の詳細
な処理を示すフローチャート。
9 is a flowchart showing the detailed processing of the data RAM (A) write processing of FIG.

【図10】図8の図形認識処理によりデータRAMに形
成されるデータRAM(A)、データRAM(B)及び
データRAM(C)のメモリマップを示す図。
10 is a diagram showing a memory map of a data RAM (A), a data RAM (B) and a data RAM (C) which are formed in the data RAM by the figure recognition processing of FIG.

【図11】図8のデータRAM(B)書き込み処理の詳
細な処理を示すフローチャート。
11 is a flowchart showing the detailed processing of the data RAM (B) write processing of FIG.

【図12】図8のデータRAM(C)書き込み処理の詳
細な処理を示すフローチャート。
FIG. 12 is a flowchart showing detailed processing of a data RAM (C) writing process of FIG.

【図13】図6の押圧図形認識処理によりデータRAM
に書き込まれる図形番号と音色番号及び音高番号の関係
を示す図。
13 is a data RAM for the pressed figure recognition process of FIG.
The figure which shows the relationship of the figure number, tone color number, and pitch number written in.

【図14】図6の押圧図形認識処理の詳細な処理を示す
フローチャート。
FIG. 14 is a flowchart showing detailed processing of the pressed figure recognition processing of FIG.

【図15】本発明を適用した電子楽器の第2実施例のメ
イン処理を示すフローチャート。
FIG. 15 is a flowchart showing the main processing of the second embodiment of the electronic musical instrument to which the present invention is applied.

【符号の説明】[Explanation of symbols]

1 電子楽器 2 ケーブル 3 TV装置 5 モードキー 6 表示部 7 タッチペン 8 LCDパネル 9 タッチパネル 15 音高キー 16 音色キー 17 スピーカ 18 画像取り込みボタン 21 LCDコントローラ 22 ビデオインタフェイス 23 タッチパネルインタフェイス 24 ビデオRAM 25 音源回路 26 サウンドシステム 27 ビデオRAMマップ 28 データRAM 29 CPU 30 プログラムROM 31 波形ROM 32 操作部 33 映像入力端子 34 映像出力端子 35 音声出力端子 1 electronic musical instrument 2 cable 3 TV device 5 mode key 6 display section 7 touch pen 8 LCD panel 9 touch panel 15 pitch key 16 tone color key 17 speaker 18 image capture button 21 LCD controller 22 video interface 23 touch panel interface 24 video RAM 25 sound source Circuit 26 Sound system 27 Video RAM map 28 Data RAM 29 CPU 30 Program ROM 31 Waveform ROM 32 Operation part 33 Video input terminal 34 Video output terminal 35 Audio output terminal

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 表示データを表示出力する表示手段と、 前記表示手段と積層され表示手段に表示出力された表示
データの任意の領域を指定する領域指定手段と、 前記領域指定手段により指定された領域に対して楽音特
性を指定する楽音特性指定手段と、 を備えたことを特徴とする入力装置。
1. Display means for displaying and outputting display data; area designating means for designating an arbitrary area of display data which is stacked with said display means and outputted and displayed on the display means; and the area designating means. An input device, comprising: a musical tone characteristic designating unit for designating a musical tone characteristic to an area.
【請求項2】 前記楽音特性指定手段は、音高を指定す
ることを特徴とする請求項1記載の入力装置。
2. The input device according to claim 1, wherein the musical tone characteristic designating unit designates a pitch.
【請求項3】 前記楽音特性指定手段は、音色を指定す
ることを特徴とする請求項1または請求項2記載の入力
装置。
3. The input device according to claim 1, wherein the musical tone characteristic designating unit designates a tone color.
【請求項4】 前記表示手段は、表示データとして図形
を表示出力し、前記領域指定手段は、該表示手段により
表示された図形の任意の領域を指定することを特徴とす
る請求項1から請求項3のいずれかに記載の入力装置。
4. The display means outputs the graphic as display data, and the area designating means designates an arbitrary area of the graphic displayed by the display means. Item 4. The input device according to any one of Item 3.
【請求項5】 前記領域指定手段により指定された前記
表示手段に表示された表示データの領域を認識する領域
認識手段をさらに備え、 前記表示手段は、表示データとして図形を表示出力し、
前記領域指定手段は、該表示手段の表示出力する図形の
各部を領域区分して領域指定可能であり、前記領域認識
手段は、該領域指定手段の指定した各領域をそれぞれ認
識することを特徴とする請求項1から請求項4のいずれ
かに記載の入力装置。
5. The apparatus further comprises area recognition means for recognizing an area of the display data displayed on the display means designated by the area designation means, the display means displaying and outputting a graphic as the display data,
The area designating means is capable of designating an area by dividing each part of a graphic to be displayed and output by the display means, and the area recognizing means recognizes each area designated by the area designating means. The input device according to any one of claims 1 to 4.
【請求項6】 前記領域指定手段は、図形を描くことに
より該図形を表示データとして入力可能であり、前記表
示手段は、該領域指定手段から入力された表示データを
図形として表示出力することを特徴とする請求項1から
請求項5のいずれかに記載の入力装置。
6. The area designation means can input the figure as display data by drawing a figure, and the display means displays and outputs the display data input from the area designation means as a figure. The input device according to any one of claims 1 to 5, which is characterized.
【請求項7】 前記表示手段は、外部から入力された図
形データを図形として表示出力することを特徴とする請
求項1から請求項5のいずれかに記載の入力装置。
7. The input device according to claim 1, wherein the display means displays and outputs the graphic data input from the outside as a graphic.
【請求項8】 請求項1から請求項7のいずれか1項に
記載の入力装置と、 前記領域指定手段により領域が指定されると、該領域に
対して、前記楽音特性指定手段により指定された楽音特
性の楽音を発生する楽音発生手段と、 を備えたことを特徴とする電子楽器。
8. The input device according to claim 1, wherein when the area is designated by the area designating means, the area is designated by the tone characteristic designating means. An electronic musical instrument comprising: a musical tone generating means for generating a musical tone having a musical tone characteristic.
JP35966392A 1992-12-25 1992-12-25 Input device and electronic musical instrument provided with the input device Expired - Fee Related JP3298196B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35966392A JP3298196B2 (en) 1992-12-25 1992-12-25 Input device and electronic musical instrument provided with the input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35966392A JP3298196B2 (en) 1992-12-25 1992-12-25 Input device and electronic musical instrument provided with the input device

Publications (2)

Publication Number Publication Date
JPH06202648A true JPH06202648A (en) 1994-07-22
JP3298196B2 JP3298196B2 (en) 2002-07-02

Family

ID=18465657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35966392A Expired - Fee Related JP3298196B2 (en) 1992-12-25 1992-12-25 Input device and electronic musical instrument provided with the input device

Country Status (1)

Country Link
JP (1) JP3298196B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004056153A1 (en) * 2002-12-16 2004-07-01 National Institute Of Advanced Industrial Science And Technology Audio information support system
JP2009169175A (en) * 2008-01-17 2009-07-30 Kawai Musical Instr Mfg Co Ltd Electronic musical instrument
JP2014062984A (en) * 2012-09-20 2014-04-10 Xing Inc Sound generating device and program for sound generation

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2879047A3 (en) * 2013-11-28 2015-12-16 LG Electronics Inc. Mobile terminal and controlling method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004056153A1 (en) * 2002-12-16 2004-07-01 National Institute Of Advanced Industrial Science And Technology Audio information support system
EP1583392A1 (en) * 2002-12-16 2005-10-05 National Institute of Advanced Industrial Science and Technology Audio information support system
EP1583392A4 (en) * 2002-12-16 2008-12-03 Nat Inst Of Advanced Ind Scien Audio information support system
US8073155B2 (en) 2002-12-16 2011-12-06 National Institute Of Advanced Industrial Science And Technology System for reproducing audio information corresponding to a position within a displayed image
JP2009169175A (en) * 2008-01-17 2009-07-30 Kawai Musical Instr Mfg Co Ltd Electronic musical instrument
JP2014062984A (en) * 2012-09-20 2014-04-10 Xing Inc Sound generating device and program for sound generation

Also Published As

Publication number Publication date
JP3298196B2 (en) 2002-07-02

Similar Documents

Publication Publication Date Title
US8358280B2 (en) Electronic device capable of showing page flip effect and method thereof
JPH0126076B2 (en)
JPH11215457A (en) Device and method for photographed image display
JPH1173290A (en) Menu display device
JPH09212529A (en) Portable information collecting device and its information collecting method
JP3298196B2 (en) Input device and electronic musical instrument provided with the input device
JPH09113819A (en) Electronic endoscope device having zooming function
JP4375684B2 (en) Electronic camera device and imaging information display method
JPS62128369A (en) Enlarged image displaying method
KR980007534A (en) Video Magnifier of Television
WO2007064080A1 (en) Key input apparatus and method using direction-selector, and character input method using the same
KR0183167B1 (en) Screen converting method of a portable information terminal system
CN1946223B (en) Mobile communication terminal, detection method of sound file playing position and display method for sound file words information
JPH0981322A (en) Display controller
JPH11252484A (en) Electronic still camera and recording image display control method therefor
JPH09130710A (en) Liquid crystal display video signal generator
JPH05183831A (en) Tv receiver with built-in color temp. sensor
JP3006809U (en) Enlarged display reading device
KR970004715A (en) Peripheral Control Method in Imaging Equipment
KR0149534B1 (en) Method for displaying adjust analog level of image system
JPH04337876A (en) Picture display device
KR0183800B1 (en) Menu-type function control apparatus of camcoder
JP2002157263A (en) Portable telephone set
KR20000043709A (en) Audio/video system of vehicle with capture function
KR960009643A (en) Return method of previous screen of video signal processing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090419

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090419

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100419

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110419

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120419

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees