JP4605058B2 - Program for realizing electronic musical instrument and its control method - Google Patents
Program for realizing electronic musical instrument and its control method Download PDFInfo
- Publication number
- JP4605058B2 JP4605058B2 JP2006075172A JP2006075172A JP4605058B2 JP 4605058 B2 JP4605058 B2 JP 4605058B2 JP 2006075172 A JP2006075172 A JP 2006075172A JP 2006075172 A JP2006075172 A JP 2006075172A JP 4605058 B2 JP4605058 B2 JP 4605058B2
- Authority
- JP
- Japan
- Prior art keywords
- language
- server
- electronic musical
- musical instrument
- response data
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
本発明は、通信ネットワークを介して接続されたサーバから各種サービスの提供を受ける電子楽器およびその制御方法を実現するためのプログラムに関する。 The present invention relates to an electronic musical instrument that receives provision of various services from a server connected via a communication network, and a program for realizing a control method thereof.
通信ネットワークを介して接続されたサーバから各種サービスの提供を受ける電子楽器は、従来から知られている(たとえば、特許文献1参照)。 2. Description of the Related Art An electronic musical instrument that receives various services from a server connected via a communication network is conventionally known (see, for example, Patent Document 1).
また、文字入力をする際に、ユーザが予め選択した言語を用いて容易に文字情報を入力するようにした電子楽器も提案されている(たとえば、特許文献2参照)。
しかし、上記従来の電子楽器のうち、前者では、そのユーザが理解可能な言語がどの言語であるかに拘わらず、サーバからの各種サービスは一律の言語で提供されていた。たとえば、アクセスするサーバが日本にあれば、この電子楽器は、そのサーバから日本語で各種サービスの提供を受け、アクセスするサーバがアメリカにあれば、この電子楽器は、そのサーバから英語で各種サービスの提供を受けていた。したがって、楽曲データをサーバからダウンロードする場合に、英語圏のユーザが、この電子楽器を用いて、日本国内のサーバにアクセスすると、その楽曲データの曲名が日本語で表示されたり、電子楽器の表示能力によっては(つまり、日本語の文字を表示できないような機種である場合)、その楽曲データの曲名が表示できなかったりした。 However, among the above-described conventional electronic musical instruments, in the former, various services from the server are provided in a uniform language regardless of which language is understandable by the user. For example, if the server to be accessed is in Japan, this electronic musical instrument is provided with various services in Japanese from that server. If the server to be accessed is in the United States, this electronic musical instrument is provided with various services in English from that server. Had been provided. Therefore, when downloading music data from the server, if an English-speaking user uses this electronic instrument to access a server in Japan, the song name of the song data is displayed in Japanese or the electronic instrument is displayed. Depending on the ability (that is, the model that cannot display Japanese characters), the song name of the song data could not be displayed.
また、上記従来の電子楽器のうち、後者では、サーバと連動していないので、サーバから所定の言語で各種サービスの提供を受けることはできなかった。 Of the above-described conventional electronic musical instruments, the latter is not linked to a server, and therefore cannot provide various services in a predetermined language from the server.
本発明は、この点に着目してなされたものであり、ユーザの意図する言語で、サーバから各種サービスの提供を受けることが可能となる電子楽器およびその制御方法を実現するためのプログラムを提供することを目的とする。 The present invention has been made paying attention to this point, and provides an electronic musical instrument that can receive provision of various services from a server in a language intended by the user, and a program for realizing a control method thereof The purpose is to do.
上記目的を達成するため、請求項1に記載の電子楽器は、通信ネットワークを介してサーバに接続する接続手段と、該接続手段によって接続されたサーバに、自然言語で表示される応答データを要求する要求メッセージを送信する送信手段と、該送信手段によって送信された要求メッセージに応じて、前記サーバが前記通信ネットワークを介して送信した、自然言語で表示される応答データを受信する受信手段とを有し、前記送信手段は、前記要求メッセージに、複数種類の自然言語に優先順位を付けて前記自然言語の種類を指定する言語指定情報を付加し、前記応答データは、前記サーバが送信可能な自然言語の種類のうち、前記要求メッセージに付加された複数種類の自然言語の優先順位にて最上位の自然言語で表示されるものであることを特徴とする。 To achieve the above object, the electronic musical instrument according to claim 1 requests connection data connected to a server via a communication network, and response data displayed in a natural language from the server connected by the connection means. Transmitting means for transmitting a request message to be received; and receiving means for receiving response data displayed in a natural language transmitted by the server via the communication network in response to the request message transmitted by the transmitting means. And the transmission means adds, to the request message, language designation information for designating the types of natural languages by giving priority to a plurality of types of natural languages, and the response data can be transmitted by the server among types of natural language, this is what is displayed in a natural language topmost in priority among types of natural language has been added to the request message The features.
さらに好ましくは、前記優先順位を決定する決定手段をさらに有することを特徴とする。 More preferably, it further has a determining means for determining the priority order.
また、好ましくは、前記受信手段によって受信された応答データには、言語情報が含まれ、該言語情報に応じて表示態様を変更して、前記受信された応答データに含まれる表示情報を表示する表示手段をさらに有することを特徴とする。 Preferably, the response data received by the receiving means includes language information, and the display mode is changed according to the language information to display the display information included in the received response data. It further has a display means.
上記目的を達成するため、請求項4に記載のプログラムは、請求項1と同様の技術的思想によって実現できる。
In order to achieve the above object, the program according to
請求項1または4に記載の発明によれば、接続手段によって接続されたサーバに、自然言語で表示される応答データを要求する要求メッセージを送信するときに、その要求メッセージに、複数種類の自然言語に優先順位を付けて前記自然言語の種類を指定する言語指定情報が付加されるので、サーバは、応答データを送信する相手の電子楽器が要求する自然言語が優先順位付きで分かり、自身が送信可能な自然言語のうち、前記優先順位にて最上位の自然言語で表示される応答データを送信しようとする。これにより、ユーザの意図する言語で、サーバから各種サービスの提供を受けることが可能となる。 According to the first or fourth aspect of the present invention, when a request message for requesting response data displayed in a natural language is transmitted to a server connected by the connection means, a plurality of types of natural messages are included in the request message. since the language designation information designating a type of the natural language prioritize language is added, the server, natural language counterpart electronic musical instrument for transmitting the response data is required to understand with a priority, itself Of the natural languages that can be transmitted, response data displayed in the highest natural language in the priority order is transmitted. This makes it possible to receive various services from the server in the language intended by the user.
以下、本発明の実施の形態を図面に基づいて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施の形態に係る電子楽器の概略構成を示すブロック図である。 FIG. 1 is a block diagram showing a schematic configuration of an electronic musical instrument according to an embodiment of the present invention.
同図に示すように、本実施の形態の電子楽器は、音高情報を入力するための鍵盤を含む演奏操作子1と、各種情報を入力するための複数のスイッチやホイール、ジョイスティックを含む設定操作子2と、演奏操作子1の操作状態を検出する検出回路3と、設定操作子2の操作状態を検出する検出回路4と、工場設定を行うときに使用するDIP(Dual Inline Package)スイッチ5と、装置全体の制御を司るCPU6と、該CPU6が実行する制御プログラムや、各種テーブルデータ等を記憶するROM7と、楽曲データ、各種入力情報および演算結果等を一時的に記憶するRAM8と、タイマ割込み処理における割込み時間や各種時間を計時するタイマ9と、各種情報等を表示する、たとえば液晶ディスプレイ(LCD)および発光ダイオード(LED)等を備えた表示装置10と、言語設定を含む各種設定を記憶する不揮発性メモリ11と、前記制御プログラムを含む各種アプリケーションプログラムや各種楽曲データ、各種データ等を記憶する外部記憶装置12と、外部からのMIDIメッセージを入力したり、MIDIメッセージを外部に出力したりするMIDIインターフェース(I/F)13と、通信ネットワーク101を介して、たとえばサーバコンピュータ(以下、「サーバ」と略して言う)102とデータの送受信を行う通信インターフェース(I/F)14と、演奏操作子1から入力された演奏データや予め設定された楽曲データ等をオーディオ信号に変換する音源回路15と、該音源回路15からのオーディオ信号に各種効果を付与するための効果回路16と、該効果回路16からのオーディオ信号を音響に変換する、たとえば、DAC(Digital-to-Analog Converter)やアンプ、スピーカ等のサウンドシステム17とにより構成されている。
As shown in the figure, the electronic musical instrument of the present embodiment includes a
上記構成要素3〜16は、バス18を介して相互に接続され、CPU6にはタイマ9が接続され、MIDII/F13には他のMIDI機器100が接続され、通信I/F14には通信ネットワーク101が接続され、音源回路15には効果回路16が接続され、効果回路16にはサウンドシステム17が接続されている。ここで、通信I/F14および通信ネットワーク101は、有線方式のものに限らず、無線方式のものであってもよい。また、両方式のものを備えていてもよい。
The
DIPスイッチ5は、複数の小スイッチからなるスイッチであり、図4を用いて後述するように、本実施の形態の電子楽器の電源をオフにした状態で、この複数のスイッチのオン/オフパターンを所定のパターンに設定した後、本実施の形態の電子楽器の電源をオンすると、本実施の形態の電子楽器は、設定されたオン/オフパターンに応じた工場出荷状態に初期設定される。
The
不揮発性メモリ11としては、たとえば、NV(Non Volatile)RAMや電源バックアップされたRAM、フラッシュメモリ等を挙げることができる。不揮発性メモリ11には、本実施の形態の電子楽器の電源をオフしたときでも、保持しておくべき設定が記憶される。この種の設定には、現在の言語設定やユーザIDなどが含まれる。なお、本実施の形態の電子楽器は、多言語の文字を表示できるように構成され、ユーザ設定や工場設定により、その中のいずれか1つの言語が選択設定されると、その言語の文字が表示される。本実施の形態の電子楽器が対応可能な言語の情報は、前記ROM7に記憶されている。そして、対応可能な言語のうち、現在どの言語が設定されているかという情報、つまり現在の言語設定が、不揮発性メモリ11に記憶される。
Examples of the
外部記憶装置12としては、たとえば、フレキシブルディスクドライブ(FDD)、ハードディスクドライブ(HDD)、CD−ROMドライブおよび光磁気ディスク(MO)ドライブ等を挙げることができる。そして、外部記憶装置12には、前述のように、CPU6が実行する制御プログラムも記憶でき、ROM7に制御プログラムが記憶されていない場合には、この外部記憶装置12に制御プログラムを記憶させておき、それをRAM8に読み込むことにより、ROM7に制御プログラムを記憶している場合と同様の動作をCPU6にさせることができる。このようにすると、制御プログラムの追加やバージョンアップ等が容易に行える。
Examples of the
なお、本発明は、上述の構成から分かるように、電子鍵盤楽器に適用されているが、その実施形態は、鍵盤楽器に限らず、弦楽器タイプ、管楽器タイプ、打楽器タイプ等の形態でもよい。 As can be seen from the above configuration, the present invention is applied to an electronic keyboard instrument. However, the embodiment is not limited to a keyboard instrument, and may be a string instrument type, a wind instrument type, a percussion instrument type, or the like.
以上のように構成された電子楽器が実行する制御処理を、まず図2を参照してその概要を説明し、次に図3〜図6を参照して詳細に説明する。 The control process executed by the electronic musical instrument configured as described above will be described first with reference to FIG. 2 and then in detail with reference to FIGS.
図2は、言語設定モードが選択されたときに、表示装置10上に表示された言語設定画面の一例を示す図であり、同図には、設定操作子2に含まれる複数の操作子2a〜2gも記載されている。
FIG. 2 is a diagram showing an example of a language setting screen displayed on the
ユーザが、左/右移動スイッチ2e,2fまたはダイヤルスイッチ2gのいずれかを操作する度に、本実施の形態の電子楽器が対応可能な言語が切り替わって表示される。図2(a)は、対応可能な言語として英語が選択されたときの言語設定画面10aを示し、この言語設定画面10aで、左/右移動スイッチ2e,2fまたはダイヤルスイッチ2gのいずれかが操作されると、言語設定画面10aは、図2(b)に示すように、日本語の言語設定画面10a′に切り替わる。言語設定画面10aおよび10a′中、カッコ([ ])で囲まれた項目は、その項目に隣接するスイッチ、図示例では、スイッチ2cで設定可能であることを意味する。たとえば、図2(a)の言語設定画面10aで、スイッチ2cが操作されると、現在の言語設定が「ENGLISH」に決定され、この決定された言語設定で、前記不揮発性メモリ11の現在の言語設定が更新される(書き替えられる)。
Each time the user operates one of the left /
そして、本実施の形態の電子楽器が、前記サーバ102にアクセスして、各種サービスの提供を要求する際に、この要求とともに、現在の言語設定もサーバ102に送信される。これにより、サーバ102は、サービスを提供する相手側の電子楽器(本実施の形態の電子楽器)の現在の言語設定が分かるので、その言語に対応したサービスを相手側の電子楽器に提供することができる。
When the electronic musical instrument of the present embodiment accesses the
次に、この制御処理を詳細に説明する。 Next, this control process will be described in detail.
図3は、本実施の形態の電子楽器、特にCPU6が実行する言語設定処理の手順を示すフローチャートである。 FIG. 3 is a flowchart showing the procedure of the language setting process executed by the electronic musical instrument of the present embodiment, particularly the CPU 6.
本言語設定処理は、ユーザが、たとえば、前記設定操作子2中のモード切替スイッチ(図示せず)あるいは前記操作子2a〜2gを用いて、言語設定モードを選択したときに、起動される。
This language setting process is started when the user selects a language setting mode using, for example, a mode switch (not shown) in the
本言語設定処理が起動されると、まず、CPU6は、前記ROM7から、本実施の形態の電子楽器が対応可能な言語を取得する(ステップS1)。前述のように、本実施の形態の電子楽器は、多言語に対応するように構成されており、対応可能な言語の種類が、ROM7に記憶されているので、ステップS1では、その言語の種類に関する情報を取得する。なお、本実施の形態の電子楽器が対応可能な言語の種類として、日本語と英語の2種類としたが、これは説明の都合上に過ぎず、これよりも多くてもよい。 When the language setting process is started, first, the CPU 6 acquires a language that can be supported by the electronic musical instrument of the present embodiment from the ROM 7 (step S1). As described above, the electronic musical instrument of the present embodiment is configured to support multiple languages, and the types of languages that can be supported are stored in the ROM 7, so in step S1, the types of the languages are stored. Get information about. Note that although two types of languages, English and Japanese, can be handled by the electronic musical instrument of the present embodiment, this is merely for convenience of explanation, and there may be more than this.
次に、CPU6は、前記不揮発性メモリ11から現在の言語設定を取得する(ステップS2)。言語設定の初期値は、工場出荷時になされる工場設定(図4参照)によって、設定されている。本実施の形態の電子楽器が工場から出荷されてから初めて、本言語設定処理が起動されたとすると、不揮発性メモリ11に記憶されている言語設定は、工場出荷時の初期値である。
Next, the CPU 6 acquires the current language setting from the nonvolatile memory 11 (step S2). The initial value of the language setting is set by the factory setting (refer to FIG. 4) made at the time of factory shipment. If the language setting process is started for the first time after the electronic musical instrument of the present embodiment is shipped from the factory, the language setting stored in the
次に、CPU6は、ステップS2で取得された、現在の言語設定を、まず表示装置10上に表示する。現在の言語設定として、日本語が設定されているとすると、表示装置10上には、図2の言語設定画面10a′が表示され、現在の言語設定として、英語が設定されているとすると、表示装置10上には、図2の言語設定画面10aが表示される。そして、この2種類の言語から、ユーザがいずれかの言語を選択する(ステップS3)と、つまり、言語設定画面10aまたは10a′のいずれかが表示された状態で、ユーザがスイッチ2cを操作すると、不揮発性メモリ11の言語設定は、選択された言語で書き替えられる(ステップS4)。
Next, the CPU 6 first displays the current language setting acquired in step S <b> 2 on the
図4は、工場設定処理の手順を示すフローチャートである。 FIG. 4 is a flowchart showing the procedure of the factory setting process.
本工場設定処理は、前記DIPスイッチ5を所定のオン/オフパターンにした後、本実施の形態の電子楽器の電源をオンしたときに、起動される。
The factory setting process is started when the power source of the electronic musical instrument according to the present embodiment is turned on after the
まず、CPU6は、DIPスイッチ5のオン/オフ状態を読み出し、読み出したオン/オフ状態(オン/オフパターン)に応じて言語を決定する(ステップS11)。
First, the CPU 6 reads the on / off state of the
次に、CPU6は、決定された言語で、不揮発性メモリ11の言語設定を更新する(ステップS12)。
Next, the CPU 6 updates the language setting of the
不揮発性メモリ11には、言語設定の他にも、様々な設定が記憶されるので、その設定を、前記DIPスイッチ5のオン/オフパターンに応じて決定されたもの(工場出荷時の設定状態)に書き替える(ステップS13)。なお、その他の設定としては、前述のように、ユーザIDがあるが、ユーザIDは、ユーザによって登録されるものであり、工場出荷時には登録されていないので、不揮発性メモリ11にユーザIDが登録されていた場合には、そのユーザIDは、本工場設定処理によって消去される。
In addition to language settings, various settings are stored in the
このようにして、本工場設定処理では、DIPスイッチ5のオン/オフパターンを適宜変更することで、不揮発性メモリ11の設定内容を目的の工場出荷状態にすることができる。たとえば、工場設定の対象となる電子楽器の仕向地が、アメリカである場合には、本工場設定処理によって、不揮発性メモリ11の言語設定は英語に設定される。
In this way, in the factory setting process, the setting contents of the
図5は、本実施の形態の電子楽器、特にCPU6が実行する、サーバとの情報の送受信処理の手順を示すフローチャートである。 FIG. 5 is a flowchart showing a procedure of information transmission / reception processing with the server executed by the electronic musical instrument of the present embodiment, particularly the CPU 6.
本情報の送受信処理は、ユーザが、たとえば前記設定操作子2を用いて、サーバ102から必要な情報を取得する指示を行ったときに、起動される。
The transmission / reception process of this information is started when the user gives an instruction to acquire necessary information from the
まず、CPU6は、サーバ102からの提供内容(サーバ102から提供を受けるデータ内容)を決定する(ステップS21)。この提供内容の一例には、サーバ102が配信する楽曲データの曲名がある。本情報の送受信処理では、サーバ102から楽曲データの曲名の提供を受けて、表示装置10上に表示する例について説明する。
First, the CPU 6 determines the content provided from the server 102 (data content received from the server 102) (step S21) . An example of the provided contents is a song name of song data distributed by the
次に、CPU6は、前記図3のステップS1およびS2と同様にして、ROM7から、本実施の形態の電子楽器が対応可能な言語を取得する(ステップS22)とともに、不揮発性メモリ11から現在の言語設定を取得する(ステップS23)。
Next, the CPU 6 obtains a language that can be supported by the electronic musical instrument of the present embodiment from the ROM 7 (step S22) and performs the current operation from the
次に、CPU6は、前記ステップS21で決定された提供内容から、その提供を受けるためのメソッドを決定するとともに、前記取得された対応可能な言語および現在の言語設定から言語情報を決定し、これら決定されたメソッドおよび言語情報を含む要求ヘッダを生成する(ステップS24)。本実施の形態では、サーバ102とのデータの送受信は、HTTP(Hypertext Transfer Protocol)を用いて行うようにしているので、クライアント(本実施の形態の電子楽器)からサーバ(サーバ102)にリクエストを送信するときには、HTTPメソッドと呼ばれる命令を使用する。したがって、ステップS24の処理中、メソッドの決定とは、複数種類のメソッドから、いずれのメソッドを使用するかの決定を意味する。また、本実施の形態では、要求ヘッダ内に記載する言語情報は、優先順位を付けて列挙される。具体的には、現在の言語設定を先頭に記載して、最優先とし、他の言語、つまり、前記ステップS22で取得された対応言語から、現在の言語設定の言語を除いた、残りの言語をそれより優先度を下げて列挙する。なお、残りの言語が複数種類ある場合(本実施の形態では、対応言語が2種類のみなので、この場合に該当しない)には、残りの言語にどのように優先順位を付けるかと言う問題があるが、たとえば、同じ優先度を付けて、サーバ102側にどれを優先するか任せるようにしたり、先頭に近いもの程優先度を高くしたりすればよい。なお、要求ヘッダ内に記載する言語情報は、ただ1つのみとし、現在の言語設定の言語を記載するようにしてもよい。
Next, the CPU 6 determines a method for receiving the provision from the provision contents determined in the step S21, and determines language information from the acquired compatible language and the current language setting. A request header including the determined method and language information is generated (step S24). In this embodiment, since data is transmitted to and received from the
図6は、生成された要求ヘッダの一部の一例を示す図である。 FIG. 6 is a diagram illustrating an example of a part of the generated request header.
同図に示すように、要求ヘッダには、メソッド、ホストおよび言語情報が含まれている。なお、要求ヘッダには、実際には、これ以外のデータも含まれているが、これ以外のデータは、本発明の特徴を説明する上で必要ないので、図示されていない。 As shown in the figure, the request header includes method, host, and language information. The request header actually includes other data, but the other data is not shown because it is not necessary for describing the features of the present invention.
本実施の形態では、サーバ102から楽曲データの曲名の提供を受けるため、メソッドのフィールドには、GETメソッドが記載され、GETメソッドでは、リソースとして、曲名(songname1)を指定し、その取得をホストに要求している。ホストのフィールドには、サーバ102のURL(uniform resource locator)が記載されている。さらに、言語情報のフィールドには、“Accept-Language: ja, en”が記載されている。ここで、“ja”は、日本語を示し、“en”は、英語を示している。そして、“ja”が先頭に記載され、“en”はその後に記載されているので、“ja”の方が、“en”より優先順位が高いことが示されている。したがって、サーバ102は、まず日本語で、要求されたサービスの提供をしようとし、日本語でサービスの提供ができない場合(たとえば、日本語の曲名がない場合)に、英語で、要求されたサービスの提供をする。もし、両方の言語でも、要求されたサービスの提供を行うことができない場合には、サーバ102は、優先順位の高い方(先頭)の言語、あるいはその言語に近い言語で、要求されたサービスの提供を行う。なお、サーバ102から提供を受けたいデータ内容を要求するものとして、要求ヘッダを生成するようにしたのは、GETメソッドを用いてのデータ要求は、ヘッダのみで行うことができ、ボディを必要としないからである。したがって、サーバ102から提供を受けたいデータの種類によっては、ヘッダだけでは不十分で、ボディも必要となることもあり得る。
In this embodiment, in order to receive the song name of the song data from the
このようにして生成した要求ヘッダを、CPU6は、前記通信I/F14および通信ネットワーク101を介して、上記ホストとして指定されたサーバ102に送信する(ステップS25)。
The request header generated in this manner, CPU 6 via the communication I / F14 and the
サーバ102は、受信した要求ヘッダに応じた応答データ(本実施の形態では、日本語であることを示す言語情報(たとえば、SHIFT-JIS)と日本語で記載された曲名データ(たとえば、SHIFT-JISコードの文字列データ)を含むデータ)を、通信ネットワーク101を介して、本実施の形態の電子楽器に送信する。本実施の形態の電子楽器は、この応答データを受信し(ステップS26)、受信した応答データに含まれている言語情報を取り出して、表示態様を決定する(ステップS27)。ここで、表示態様の決定とは、現在の言語設定と異なった言語情報を含む応答データを受信し、本実施の形態の電子楽器が、その異なった言語情報の表示情報を表示できる場合(つまり、その異なった言語情報の言語が、本実施の形態の電子楽器が対応可能な言語の1つである場合)に、その異なった言語情報の言語で表示情報を表示するために、使用するフォントを対応するものに変更することなどを意味する。したがって、現在の言語設定の言語と同じ言語の言語情報を含む応答データを受信した場合には、「表示態様の決定」は通常、必要としない。なお、応答データに含まれる言語情報には、具体的には、ASCII,Latin-1(ISO8859-1),SHIFT-JIS,EUC-KR,UCS-2,UTF-8などがある。
The
そして、受信した応答データに含まれている表示情報(本実施の形態では、曲名データ)を取り出して、表示する(ステップS28)。 Then, the display information (in this embodiment, song name data) included in the received response data is extracted and displayed (step S28).
なお、本情報の送受信処理では、サーバ102から楽曲データの曲名の提供を受け、それを表示するようにしたが、提供された曲名を、表示せずに、前記不揮発性メモリ11に格納するようにしてもよいし、曲名とともに、楽曲データも提供を受け、曲名は表示し、楽曲データは自動再生するようにしてもよい。
In this information transmission / reception process, the song name of the song data is received from the
このように、本実施の形態では、サーバに提供を要求する要求メッセージ(本実施の形態では、要求ヘッダであるが、ヘッダでないこともある)に、言語情報を付加するようにしたので、サーバから本実施の形態の電子楽器にサービスを提供してもらうときに、そのサービスの言語を指定することができ、これにより、本実施の形態の電子楽器の操作性が向上する。 Thus, in this embodiment, language information is added to a request message for requesting provision to the server (in this embodiment, it is a request header but may not be a header). When the service is provided to the electronic musical instrument according to the present embodiment, the language of the service can be designated, thereby improving the operability of the electronic musical instrument according to the present embodiment.
また、言語情報として、優先順位を付けた複数の言語情報を付加するようにし、サーバは優先順位に従った言語でサービスを提供するので、提供を受けたサービスの文字化けは起こらず、これにより、本実施の形態の電子楽器の操作性がさらに向上する。 In addition, a plurality of prioritized language information is added as language information, and the server provides a service in a language according to the priority, so that the received service is not garbled. The operability of the electronic musical instrument of the present embodiment is further improved.
なお、本実施の形態では、工場設定によって設定された言語情報は、ユーザ設定(前記図3の言語設定処理)により、自由に変更できるようにしたが、これに限らず、工場設定によって設定された言語情報は、その後、ユーザによって自由に変更できないようにしてもよい。ただし、この場合でも、電子楽器が複数言語に対応しているときには、要求ヘッダに記載する言語情報は、本実施の形態と同様に、優先順位が付けられた複数の言語情報とし、これに応じて、サーバが、最優先でない言語(工場設定によって設定された言語情報の言語とは異なる言語)でサービスを提供してきたときには、その言語に応じた表示態様を決定し、この表示態様で、提供されたサービスを表示するようにすればよい。また、この場合、要求ヘッダに記載する言語情報は、工場設定によって設定された言語情報のみとしてもよい。 In the present embodiment, the language information set by the factory setting can be freely changed by the user setting (the language setting process in FIG. 3). However, the present invention is not limited to this, and is set by the factory setting. Thereafter, the language information may not be freely changed by the user. However, even in this case, when the electronic musical instrument is compatible with a plurality of languages, the language information described in the request header is a plurality of language information with priorities assigned in the same manner as in the present embodiment. When the server provides a service in a language that is not the highest priority (a language different from the language information language set by the factory settings), the display mode according to the language is determined and provided in this display mode. The displayed service may be displayed. In this case, the language information described in the request header may be only language information set by factory settings.
また、本実施の形態では、サーバとのデータの送受信は、HTTPを用いて行ったが、他のプロトコルを用いてもよい。ただし、HTTPを用いて、サービスを要求する際には、言語情報は、毎回サーバ側に送信されるので、サービスの途中で、電子楽器の言語設定を変更したとしても、サーバ側から提供されるサービスの言語は、電子楽器側の言語設定の変更に正しく追従できる。もちろん、他のプロトコルを採用したとしても、サービスを要求する際には、言語情報を毎回サーバ側に送信するようにすれば、HTTPを用いたときと同様に、サービスの途中における、電子楽器の言語設定の変更に、サーバ側も正しく追従できる。 In this embodiment, transmission / reception of data with the server is performed using HTTP, but other protocols may be used. However, when requesting a service using HTTP, language information is transmitted to the server side every time, so even if the language setting of the electronic musical instrument is changed during the service, it is provided from the server side. The language of the service can correctly follow the change of the language setting on the electronic musical instrument side. Of course, even if other protocols are adopted, when the service is requested, if the language information is transmitted to the server each time, the electronic musical instrument in the middle of the service can be used as in the case of using HTTP. The server side can follow the change of the language setting correctly.
なお、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。 A program in which a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus is stored in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the code.
この場合、記憶媒体から読出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードおよび該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the program code and the storage medium storing the program code constitute the present invention.
プログラムコードを供給するための記憶媒体としては、たとえば、フレキシブルディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。また、通信ネットワークを介してサーバコンピュータからプログラムコードが供給されるようにしてもよい。 As a storage medium for supplying the program code, for example, a flexible disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic A tape, a non-volatile memory card, a ROM, or the like can be used. Further, the program code may be supplied from a server computer via a communication network.
また、コンピュータが読出したプログラムコードを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. It goes without saying that a case where the functions of the above-described embodiment are realized by performing part or all of the above and the processing thereof is included.
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。 Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
6…CPU(送信手段、受信手段、決定手段、表示手段),10…表示装置(表示手段),14…通信I/F(接続手段、送信手段、受信手段),101…通信ネットワーク,102…サーバ 6 ... CPU (transmission means, reception means, determination means, display means), 10 ... display device (display means), 14 ... communication I / F (connection means, transmission means, reception means), 101 ... communication network, 102 ... server
Claims (4)
該接続手段によって接続されたサーバに、自然言語で表示される応答データを要求する要求メッセージを送信する送信手段と、
該送信手段によって送信された要求メッセージに応じて、前記サーバが前記通信ネットワークを介して送信した、自然言語で表示される応答データを受信する受信手段と
を有し、
前記送信手段は、前記要求メッセージに、複数種類の自然言語に優先順位を付けて前記自然言語の種類を指定する言語指定情報を付加し、
前記応答データは、前記サーバが送信可能な自然言語の種類のうち、前記要求メッセージに付加された複数種類の自然言語の優先順位にて最上位の自然言語で表示されるものである
ことを特徴とする電子楽器。 A connection means for connecting to the server via a communication network;
Transmitting means for transmitting a request message for requesting response data displayed in a natural language to a server connected by the connecting means;
Receiving means for receiving response data displayed in a natural language transmitted by the server via the communication network in response to the request message transmitted by the transmitting means;
The transmission means adds, to the request message, language designation information for designating the types of natural languages by giving priority to a plurality of types of natural languages ,
The response data is displayed in the highest natural language in the priority order of a plurality of types of natural languages added to the request message among the natural language types that can be transmitted by the server. <Br / > An electronic musical instrument characterized by
該送信手順によって送信された要求メッセージに応じて、前記サーバが前記通信ネットワークを介して送信した、自然言語で表示される応答データを受信する受信手順と
をコンピュータに実行させるためのプログラムであって、
前記送信手順は、前記要求メッセージに、複数種類の自然言語に優先順位を付けて前記自然言語の種類を指定する言語指定情報を付加し、
前記応答データは、前記サーバが送信可能な自然言語の種類のうち、前記要求メッセージに付加された複数種類の自然言語の優先順位にて最上位の自然言語で表示されるものである
ことを特徴とするプログラム。 A transmission procedure for transmitting a request message requesting response data displayed in a natural language to a server connected via a communication network;
A program for causing a computer to execute a reception procedure for receiving response data displayed in a natural language, which is transmitted by the server via the communication network in response to a request message transmitted by the transmission procedure. ,
The transmission procedure adds, to the request message, language designation information that designates a type of the natural language by giving a priority to a plurality of types of natural languages ,
The response data is displayed in the highest natural language in the priority order of a plurality of types of natural languages added to the request message among the natural language types that can be transmitted by the server. <Br / > A program characterized by
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006075172A JP4605058B2 (en) | 2006-03-17 | 2006-03-17 | Program for realizing electronic musical instrument and its control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006075172A JP4605058B2 (en) | 2006-03-17 | 2006-03-17 | Program for realizing electronic musical instrument and its control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007249034A JP2007249034A (en) | 2007-09-27 |
JP4605058B2 true JP4605058B2 (en) | 2011-01-05 |
Family
ID=38593371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006075172A Expired - Fee Related JP4605058B2 (en) | 2006-03-17 | 2006-03-17 | Program for realizing electronic musical instrument and its control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4605058B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010204980A (en) * | 2009-03-04 | 2010-09-16 | Konica Minolta Business Technologies Inc | Character display system and multilingual supporting image forming device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04368994A (en) * | 1991-06-18 | 1992-12-21 | Kawai Musical Instr Mfg Co Ltd | Display controller of electronic musical instrument |
JPH05224683A (en) * | 1992-02-07 | 1993-09-03 | Roland Corp | Text display controller of 'karaoke' (recorded orchestral accompaniment device) |
JPH06130951A (en) * | 1992-10-16 | 1994-05-13 | Yamaha Corp | Electronic musical instrument |
JP2001272976A (en) * | 2000-03-27 | 2001-10-05 | Casio Comput Co Ltd | Training system for playing and storage medium in which program for processing training for playing is stored |
JP2001306070A (en) * | 2000-04-18 | 2001-11-02 | Canon Inc | Device and method for sequence data file processing and storage medium |
JP2004023170A (en) * | 2002-06-12 | 2004-01-22 | Nec Corp | Guide information supply system dealing with desired language |
JP2005151415A (en) * | 2003-11-19 | 2005-06-09 | Matsushita Electric Ind Co Ltd | Operation menu display method and composite machine |
-
2006
- 2006-03-17 JP JP2006075172A patent/JP4605058B2/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04368994A (en) * | 1991-06-18 | 1992-12-21 | Kawai Musical Instr Mfg Co Ltd | Display controller of electronic musical instrument |
JPH05224683A (en) * | 1992-02-07 | 1993-09-03 | Roland Corp | Text display controller of 'karaoke' (recorded orchestral accompaniment device) |
JPH06130951A (en) * | 1992-10-16 | 1994-05-13 | Yamaha Corp | Electronic musical instrument |
JP2001272976A (en) * | 2000-03-27 | 2001-10-05 | Casio Comput Co Ltd | Training system for playing and storage medium in which program for processing training for playing is stored |
JP2001306070A (en) * | 2000-04-18 | 2001-11-02 | Canon Inc | Device and method for sequence data file processing and storage medium |
JP2004023170A (en) * | 2002-06-12 | 2004-01-22 | Nec Corp | Guide information supply system dealing with desired language |
JP2005151415A (en) * | 2003-11-19 | 2005-06-09 | Matsushita Electric Ind Co Ltd | Operation menu display method and composite machine |
Also Published As
Publication number | Publication date |
---|---|
JP2007249034A (en) | 2007-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3753007B2 (en) | Performance support apparatus, performance support method, and storage medium | |
JP2007192559A (en) | Performance information generator and program | |
KR100750024B1 (en) | Electronic musical apparatus, control method therefor, and storage medium storing instructions for implementing the method | |
JP2008027129A (en) | Compatibility decision device and program | |
JP2006025127A (en) | Image processor and control method thereof | |
JP4605058B2 (en) | Program for realizing electronic musical instrument and its control method | |
JP4591308B2 (en) | Music session system, server for music session system, and program for realizing control method for controlling server | |
JP2005266302A (en) | Electronic music device having network connecting function and server device, and network connection environment setting program | |
US6583348B2 (en) | Server for use in rating of music contents | |
JP4135636B2 (en) | Program for realizing electronic music apparatus and control method thereof | |
US8214908B2 (en) | Electronic musical apparatus, control method therefor, and program for implementing the control method | |
JP2008233334A (en) | Music application device, electronic musical instrument and program | |
US7368653B2 (en) | Electronic musical apparatus and program for controlling the same | |
JP4321418B2 (en) | Electronic music apparatus and program | |
JPH11316636A (en) | Manual display, manual display method and medium for recording manual display program | |
US20060215842A1 (en) | Automatic performance data reproducing apparatus, control method therefor, and program for implementing the control method | |
JP5029400B2 (en) | Management program and information processing apparatus | |
JP2005189506A (en) | Electronic musical instrument, web site, and program for realizing control method for controlling the electronic musical instrument and web site | |
JP5066975B2 (en) | NETWORK CONNECTION ENVIRONMENT SETTING CLIENT DEVICE, NETWORK CONNECTION ENVIRONMENT SETTING SYSTEM, AND PROGRAM | |
JP4775558B2 (en) | Electronic musical instrument, program for realizing control method thereof, and server | |
JP2004109745A (en) | Expression parameter editing device and program for realizing expression parameter editing method | |
JP4321419B2 (en) | Electronic music apparatus and program | |
JP2009014862A (en) | Electronic musical instrument, and method of controlling the electronic musical instrument | |
JP4453262B2 (en) | Accompaniment style data conversion apparatus and program for realizing accompaniment style data conversion method | |
JP3846334B2 (en) | Program for realizing automatic composition / arrangement device and automatic composition / arrangement method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090120 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100601 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100607 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100802 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100907 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100920 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131015 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |