JP4674562B2 - Electronic musical instrument and computer program applied to the electronic musical instrument - Google Patents
Electronic musical instrument and computer program applied to the electronic musical instrument Download PDFInfo
- Publication number
- JP4674562B2 JP4674562B2 JP2006087092A JP2006087092A JP4674562B2 JP 4674562 B2 JP4674562 B2 JP 4674562B2 JP 2006087092 A JP2006087092 A JP 2006087092A JP 2006087092 A JP2006087092 A JP 2006087092A JP 4674562 B2 JP4674562 B2 JP 4674562B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- musical instrument
- electronic musical
- 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 having a function of displaying a web page on a display device and enabling communication according to the web page with a server computer, and a computer program applied to the electronic musical instrument.
従来から、例えば下記特許文献1に示されているように、サーバコンピュータとの交信により、音波形データ、楽曲データ(MIDIデータ)、電子楽譜データなどの音楽コンテンツデータを購入して、電子楽器にて再生するようにした電子楽器は知られている。
また、下記特許文献2には、パーソナルコンピュータに電子楽器およびプリンタを接続することにより、パーソナルコンピュータ上の電子楽譜データをプリンタで印刷したり、電子楽譜データから生成した演奏用データを用いて電子楽器に同電子楽譜データに対応した楽曲を自動演奏させたりする技術が示されている。
Further, in
一般的に、音楽コンテンツの購入においては、購入可能なコンテンツの一覧、コンテンツの購入時のレシート、コンテンツの購入履歴などのコンテンツ購入情報を確認したり、保管しておいたりしたいことがある。しかし、従来の電子楽器においては印刷機能を有していていないので、コンテンツ購入情報を印刷して保管しておくことはできない。また、電子楽器における表示器は、通常小さなLCD表示器によって構成されており、前記コンテンツ購入情報の確認においても不便であった。また、前記後者の従来技術のように、電子楽器にパーソナルコンピュータを接続することも知られているが、この場合であっても、コンテンツ購入情報の確認および保管を行うためには、わざわざ、パーソナルコンピュータを用意して電子楽器に接続する必要がある。また、パーソナルコンピュータを電子楽器に接続してもその操作が煩雑である。すなわち、従来の電子楽器では、ウェブページによって指定される内容を確認および保管するために不便であった。 In general, when purchasing music content, it may be desired to check or store content purchase information such as a list of content that can be purchased, receipts at the time of content purchase, and content purchase history. However, since the conventional electronic musical instrument does not have a printing function, the content purchase information cannot be printed and stored. In addition, the display device in the electronic musical instrument is usually composed of a small LCD display device, which is inconvenient in confirming the content purchase information. It is also known to connect a personal computer to an electronic musical instrument as in the latter prior art, but even in this case, in order to confirm and store the content purchase information, it is necessary to bother personally. It is necessary to prepare a computer and connect it to an electronic musical instrument. Even if a personal computer is connected to an electronic musical instrument, the operation is complicated. That is, the conventional electronic musical instrument is inconvenient for confirming and storing the content specified by the web page.
本発明は、上記問題に対処するためになされたもので、その目的は、サーバコンピュータとの交信による音楽コンテンツの購入などに関連して、ウェブページにおいて指定される内容を簡単に印刷できて、ユーザが同内容を簡単に確認および保管できるようにした電子楽器、および同電子楽器に適用されるコンピュータプログラムを提供することにある。 The present invention has been made to address the above problems, and its purpose is to easily print the content specified on the web page in connection with the purchase of music content by communication with a server computer, It is an object to provide an electronic musical instrument that allows a user to easily confirm and store the same contents, and a computer program applied to the electronic musical instrument.
上記目的を達成するために、本発明の特徴は、サーバコンピュータに交信可能に接続されるとともに、プリンタ装置に直接接続される電子楽器において、ウェブページデータをサーバコンピュータから取り込むウェブページデータ取り込み手段と、前記取り込んだウェブページデータにより表されたウェブページを表示器に表示させる表示制御手段と、前記ウェブページの表示状態において、ユーザの指示により、ウェブページデータによって規定されて、印刷指示を含む各ファイルの処理内容を表すコードデータ、及び印刷内容又は印刷内容の保存先を含むファイルを取得するファイル取得手段と、前記コードデータが印刷指示を表しているとき、前記取得したファイルに基づいて、印刷内容を表す印刷内容データを取得する印刷内容データ取得手段と、接続されているプリンタ装置の能力に応じて前記取得した印刷内容データを変換してプリンタ装置にて印刷可能な画像ファイルを生成する画像ファイル生成手段と、前記生成した画像ファイルをプリンタ装置に送って印刷内容をプリンタ装置に印刷させる印刷制御手段とを設けたことにある。この場合、印刷内容は、例えば、購入可能なコンテンツの一覧、コンテンツの購入時のレシート、またはコンテンツの購入履歴である。なお、本明細書において、プリンタ装置を電子楽器に直接接続するとは、パーソナルコンピュータなどの他の装置を介して両者を接続することを除外する意味である。 In order to achieve the above object, the present invention is characterized in that web page data fetching means for fetching web page data from a server computer in an electronic musical instrument that is communicably connected to a server computer and directly connected to a printer device. Display control means for displaying a web page represented by the fetched web page data on a display, and each of the display states of the web page defined by the web page data according to a user instruction and including a print instruction File acquisition means for acquiring code data representing the processing content of the file and a file containing the print content or the storage destination of the print content, and when the code data represents a print instruction, printing is performed based on the acquired file. Print content data to obtain print content data representing the content An acquisition unit; an image file generation unit that converts the acquired print content data according to the capability of the connected printer device to generate an image file that can be printed by the printer device; and the generated image file is a printer. And a print control means for sending the print contents to the printer and causing the printer to print. In this case, the print content is, for example, a list of contents that can be purchased, a receipt at the time of purchasing the contents, or a purchase history of the contents. In the present specification, “directly connecting a printer device to an electronic musical instrument” means excluding connecting the printer device via another device such as a personal computer.
この場合、電子楽器は、さらに、ウェブページデータ取り込み手段によって取り込まれたウェブページデータが、印刷指示を含む各ファイルの処理内容を表すコードデータ、及び印刷内容又は印刷内容の保存先を含むファイルを読み込むように記述しているとき、前記読み込むように記述されたファイルを自動的に取り込むファイル自動取得手段を設けるとよい。 In this case, in the electronic musical instrument, the web page data captured by the web page data capturing unit further includes code data representing the processing content of each file including the print instruction and a file including the print content or the storage destination of the print content. It is preferable to provide automatic file acquisition means for automatically loading the file described to be read when it is described to be read.
また、ファイル取得手段によって取得されたファイルが印刷内容を含むとき、印刷内容データ取得手段は、前記取得されたファイルから印刷内容データを取出するものであるとよい。また、ファイル取得手段によって取得されたファイルが印刷内容の保存先を含み、前記保存先が電子楽器に設けた記憶装置であるとき、印刷内容データ取得手段は、電子楽器に設けた記憶装置から印刷内容データを取得するものであってもよい。また、ファイル取得手段によって取得されたファイルが印刷内容の保存先を含み、前記保存先がサーバコンピュータであるとき、印刷内容データ取得手段は、サーバコンピュータから印刷内容データを取得するものであってもよい。 In addition, when the file acquired by the file acquisition unit includes the print content, the print content data acquisition unit may extract the print content data from the acquired file. In addition, when the file acquired by the file acquisition unit includes a storage destination of the print content, and the storage destination is a storage device provided in the electronic musical instrument , the print content data acquisition unit prints from the storage device provided in the electronic musical instrument. Content data may be acquired . Further, when the file acquired by the file acquisition unit includes a storage destination of the print content, and the storage destination is a server computer , the print content data acquisition unit may acquire the print content data from the server computer. Good.
上記のように構成した本発明においては、ウェブページの表示状態において、ユーザの指示により、ウェブページデータによって規定される印刷内容がプリンタ装置によって印刷される。したがって、ウェブページの指示に従うといった簡単な操作で、パーソナルコンピュータを用意することもなく、ウェブページによって指定される内容(例えば、購入可能なコンテンツの一覧、コンテンツの購入時のレシート、コンテンツの購入履歴など)が印刷されるので、ユーザは簡単にウェブページによって指定される内容を確認および保管できるようになる。 In the present invention configured as described above, in a web page display state, a print content defined by web page data is printed by a printer device in accordance with a user instruction. Therefore, the contents specified by the web page (for example, a list of contents that can be purchased, receipts at the time of purchase of contents, history of purchase of contents, etc.) can be performed simply by following the instructions on the web page without preparing a personal computer. Etc.), the user can easily confirm and store the content specified by the web page.
さらに、本発明の実施にあたっては、電子楽器の発明に限定されることなく、同電子楽器に適用されるコンピュータプログラムおよび方法の発明としても実施し得るものである。 Furthermore, the implementation of the present invention is not limited to the invention of the electronic musical instrument, and can be implemented as an invention of a computer program and method applied to the electronic musical instrument.
以下、本発明の一実施形態について図面を用いて説明する。図1は、通信ネットワークNWを介して本発明に係る電子楽器ELをサーバコンピュータSVに交信可能に接続するとともに、同電子楽器ELにプリンタPRを接続した状態を示す概略図である。通信ネットワークNWは、例えばインターネットである。サーバコンピュータSVは、コンピュータおよび大容量の記憶装置(データベース)を備えている。記憶装置には、ウェブページを表すウェブページデータ(ウェブページを表示するためのhtmlファイル)、音波形データ、楽曲データ(MIDIデータ)、電子楽譜データなどの音楽コンテンツ、詳しくは後述する音楽リモートファイルならびにコンピュータによって実行されるプログラムが記憶されている。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram showing a state in which an electronic musical instrument EL according to the present invention is communicably connected to a server computer SV via a communication network NW, and a printer PR is connected to the electronic musical instrument EL. The communication network NW is, for example, the Internet. The server computer SV includes a computer and a large-capacity storage device (database). In the storage device, music content such as web page data (html file for displaying the web page), sound waveform data, music data (MIDI data), electronic score data, and the like, which will be described later in detail. In addition, a program executed by the computer is stored.
プリンタPRは、USBコネクタ11,USBケーブル12およびUSBコネクタ13を介して電子楽器ELと直接接続される。プリンタPRおよび電子楽器ELには、USBコネクタ11、13が脱着可能に接続されるコネクタ部がそれぞれ設けられている。この電子楽器ELにプリンタPRを接続した状態では、電子楽器ELがUSBデバイスとして機能するとともに、SICD(Still Image Capture Device)インターフェースとしても機能する。プリンタPRは、USBホストとして機能する。また、電子楽器ELおよびプリンタPRは、CIPA規格DC-001(以下、“PictBridge”(登録商標)という)に従って動作して、プリンタPRは電子楽器ERからの画像データに応じた画像を印刷する。ここで、前記USBコネクタ11,13、USBケーブル12、電子楽器EL側のコネクタ部および後述するUSBインターフェース回路34などが、本発明の電子楽器ELとプリンタPRとを直接接続する手段を構成する。
The printer PR is directly connected to the electronic musical instrument EL via the
電子楽器ELは、複数の鍵からなる鍵盤21と、操作パネルに設けた複数の設定操作子22および表示器23を備えている。鍵盤21は、ユーザによって演奏操作されて、楽音の発生を指示するとともに、発生楽音の音高を指定するものである。複数の設定操作子22は、ユーザの操作によって操作されて電子楽器ELの各種動作を指示するものである。表示器23は、表示画面上に文字、図形などを表示するためのもので、本実施形態では小型の液晶ディスプレイ(LCD)によって構成されている。
The electronic musical instrument EL includes a
これらの鍵盤21、設定操作子22および表示器23は、図2に示すように、検出回路21a,検出回路22aおよび表示制御回路23aを介してバス24にそれぞれ接続されている。検出回路21aは、鍵盤21の操作を検出する。検出回路22aは、設定操作子22の操作を検出する。表示制御回路23aは、表示器23の表示を制御する。
As shown in FIG. 2, the
バス24には音源回路25および効果回路26も接続されている。音源回路25は、後述するコンピュータ部31の制御のもとに供給される演奏データおよび各種楽音制御パラメータに基づいてディジタル楽音信号を生成して、生成したディジタル楽音信号を効果回路26に出力する。効果回路26は、コンピュータ部31の制御のもとに、前記供給されたディジタル楽音信号にリバーブ、コーラスなど効果を付加してサウンドシステム27に出力する。サウンドシステム27は、D/A変換器、アンプ、スピーカなどからなり、供給されるディジタル楽音信号をアナログ楽音信号に変換するとともに増幅し、スピーカを介して放音する。
A
また、この電子楽器は、バス24にそれぞれ接続されていてコンピュータ部31を構成するCPU31a、タイマ31b、ROM31cおよびRAM31dを備えているとともに、外部記憶装置32、MIDIインターフェース回路33、USBインターフェース回路34および通信インターフェース回路35も備えている。
The electronic musical instrument includes a
外部記憶装置32は、この電子楽器に予め組み込まれているハードディスクHDおよびフラッシュメモリ、同電子楽器に装着可能なコンパクトディスクCDおよびフレキシブルディスクFDなどの種々の記録媒体と、同各記録媒体に対するドライブユニットを含むものであり、後述するプログラムを含む各種プログラムおよびデータを記憶している。これらのプログラムおよびデータは予め外部記憶装置32に記憶されていてもよいし、MIDIインターフェース回路33および通信インターフェース回路35を介して外部から取り込んでもよい。なお、ROM31cにも各種プログラムおよびデータは予め記憶されている。
The
MIDIインターフェース回路33は、他の電子楽器、パーソナルコンピュータなどのMIDI対応の外部機器41に接続可能となっていて、この電子楽器ELが外部機器41と各種プログラム及びデータを交信可能となっている。USBインターフェース回路34は、USBコネクタ13に接続されており、USBホスト機器42に接続されるようになっている。本実施形態においては、このUSBインターフェース回路34は、USBコネクタ13、USBケーブル12およびUSBコネクタ11を介して、USBホスト機器42としてのプリンタPRに接続されるようになっている。通信インターフェース回路35は、通信ネットワークNWを介してサーバコンピュータSVに接続可能となっていて、この電子楽器ELが各種プログラム及びデータをサーバコンピュータSVから受信し、またはサーバコンピュータSVに送信できるようになっている。
The
次に、上記のように構成した電子楽器ELの動作について説明する。ユーザが図示しない電子楽器の電源スイッチをオンするととともに、設定操作子22の操作によりサーバコンピュータSVに対するアクセスを指示すると、コンピュータ部31は、図3のステップE10にて、ウェブページ処理プログラムの実行を開始する。このウェブページ処理プログラムの実行開始後、コンピュータ部31は、ステップE11にて、サーバコンピュータSVから通信ネットワークNWを介してウェブページを表すhtmlファイルを取得する。この場合、取得したhtmlファイルをRAM31d内に記憶しておくだけでもよいが、外部記憶装置32内に記憶保存するようにしてもよい。また、外部記憶装置32内に以前に記憶した前記htmlファイルが残されていれば、サーバコンピュータSVに代えて外部記憶装置32から前記htmlファイルを取得してもよい。
Next, the operation of the electronic musical instrument EL configured as described above will be described. When the user turns on a power switch of an electronic musical instrument (not shown) and instructs the access to the server computer SV by operating the
次に、コンピュータ部31は、ステップE12にて、取得したhtmlファイルを表示器23に表示する。この場合の画面表示は、本発明に係り印刷される印刷内容データの取得に関する情報の表示である。すなわち、購入可能なコンテンツの一覧、コンテンツの購入時のレシート、コンテンツの購入履歴などの印刷される内容を示すデータすなわち楽器リモートファイルの取得に関する表示である。
Next, the
ここで、コンテンツの購入について若干の説明をしておくとともに、楽器リモートファイルについて説明しておく。コンテンツの購入に関しては、図示しないプログラムの実行により、前述のような購入可能なコンテンツ一覧の画面上で、購入を希望するコンテンツ(例えば、音波形データ、楽曲データ(MIDIデータ)、電子楽譜データなどの音楽コンテンツデータ)をユーザに選択させる。ユーザが設定操作子22を用いて希望のコンテンツを選択すると、電子楽器ELのコンピュータ部31は選択されたコンテンツをサーバコンピュータSVに要求する。サーバコンピュータSVは、この要求に応答して、ユーザに対する課金処理を実行するとともに、ユーザによって選択されたコンテンツを電子楽器ELに配信する。電子楽器ELのコンピュータ部31は前記配信されたコンテンツを外部記憶装置32にダウンロードする。その後に、ユーザはダウンロードされたコンテンツを利用できるようになる。
Here, some explanations regarding the purchase of contents will be given, and the instrument remote file will be explained. Regarding the purchase of content, by executing a program (not shown), the content desired to be purchased (for example, sound waveform data, music data (MIDI data), electronic score data, etc.) on the screen of the list of contents that can be purchased as described above. Music content data) is selected by the user. When the user selects a desired content using the
楽器リモートファイルは、図5に示すように、プリンタPRにて印刷されるべき印刷内容データを含む種々のデータを記憶しており、1つまたは複数のファイル1,2・・からなる。各ファイルは、ファイル識別子、リモートID、リモートデータサイズ、リモートデータ種類フラグ、リモートデータなどからなる。ファイル識別子は、ファイル名を表すもので、楽器リモートファイルを表す拡張子(例えば、GRM1など)が付されている。リモートIDは、本発明に直接関係する印刷の指示を含む各ファイルの処理内容を表すコードデータである。本実施形態では、印刷の指示を表すコードは図示「6」である。リモートデータサイズは、各ファイルのサイズを表す。リモートデータ種類フラグは、リモートデータの種類を表しており、例えば、「リモートデータが印刷内容データそのものであること」、「リモートデータが外部記憶装置32に保存されている印刷内容データファイルへのファイルパスであること」または「リモートデータがサーバコンピュータSVに保存されている印刷内容データファイルのURLであること」を表す。リモートデータは、前記印刷内容データ、ファイルパスまたはURLを含む種々のデータである。なお、楽器リモートファイルの最後には、同ファイルの終端であることを表すリモートIDが付されている。
As shown in FIG. 5, the instrument remote file stores various data including print content data to be printed by the printer PR, and includes one or a plurality of
前記印刷内容データは、プリンタPRによって実際に印刷される内容を表すデータであり、前記コンテンツの購入に関する情報(例えば、購入可能なコンテンツの一覧情報、コンテンツの購入時のレシート、ユーザによるコンコンテンツの購入履歴など)を表している。このような印刷内容データは、前述のように楽器リモートファイルを構成する1つまたは複数のファイルに直接的に含まれている場合もあれば、外部記憶装置32またはサーバコンピュータSVのデータベース内に前記印刷内容データファイルとして楽器リモートファイルとは独立して設けられている場合もある。そして、このような楽器リモートファイルおよび印刷内容データファイルは、サーバコンピュータSV内のデータベースに予め設けておいてもよいが、電子楽器ELの外部記憶装置32に保存記憶させておくこともできる。具体的には、例えば、コンテンツの購入時に、サーバコンピュータSVが、前記一覧情報、レシート、購入履歴などのコンテンツの購入に関する情報を含む楽器リモートファイルまたは印刷内容データファイルを電子楽器ELの外部記憶装置32にダウンロードしておくこともできる。
The print content data is data representing the content that is actually printed by the printer PR, and includes information related to the purchase of the content (for example, list information of content that can be purchased, receipts at the time of purchase of content, content of content by the user) Purchase history). Such print content data may be directly included in one or more files constituting the instrument remote file as described above, or may be stored in the database of the
ふたたび、図3のウェブページ処理プログラムの説明に戻ると、コンピュータ部31は、ステップE13にて、前記取得したhtmlファイル内において、楽器リモートファイルを読み込むように記述されているかを判定する。楽器リモートファイルの読み込みが記述されていれば、ステップE14にて楽器リモートファイル処理ルーチンを実行する。楽器リモートファイルの読み込みが記述されていなければ、ステップE14の処理をジャンプして、ステップE15以降の処理を実行する。ウェブページを最初に開いた状態では、表示器23には通常メニューが表示され、前記取得したhtmlファイル内に楽器リモートファイルを読み込むように記述されていることはない。したがって、ステップE14の処理については後述するとして、次にステップE15以降の処理について説明する。
Returning to the description of the web page processing program in FIG. 3 again, in step E13, the
コンピュータ部31は、ステップE15にて、表示器23にウェブページが表示されている状態で、外部ファイルを読み込む操作がなされたかを判定する。この外部ファイルの読み込み操作は、設定操作子22中のマウス、移動キー、エンターキーなどを用いて表示器23の表示状態と関連して行われる。また、表示器23がタッチパネル式であれば、その機能も利用できる。具体的には、ハイパーリンクを表すテキスト表示をクリックまたは選択する。外部ファイルの読み込みと結び付けられた表示ボタンをクリックまたは選択する。外部ファイルの読み込みと結び付けられた表示部上に、カーソルを移動する。外部ファイルの読み込みと結び付けられた表示部にフォーカスを当てたうえで、同表示部に対する指示を決定する。「戻る」および「進む」などを指示して、外部ファイルを選択する。なお、これらの外部ファイルの読み込み操作、特に「戻る」および「進む」などの指示は、ウェブページデータ(htmlファイル)を取得してウェブページを前ページに戻したり、次ページに進めたりすることも含む。
In step E15, the
次に、コンピュータ部31は、ステップE16にて読み込みの指示された外部ファイルがhtml形式のファイルか否かを判定する。html形式のファイルであれば、ステップE11に戻り、前述したステップE11,E12の処理により、htmlファイルを取得して表示器23に表示する。html形式のファイルでなければ、ステップE17にて前記外部ファイルは楽器リモートファイル形式のファイルであるかを判定する。なお、この判定は、ファイル識別子の拡張子「GRM1」によって判定が可能である(図5参照)。楽器リモートファイル形式のファイルであれば、ステップE18にて楽器リモートファイル処理ルーチンを実行する。楽器リモートファイル形式のファイルでなければ、ステップE19にてhtmlファイル形式および楽器リモート形式のファイル以外の処理を実行する。なお、このステップE19の処理については本発明に直接関係しないので、説明を省略する。前記ステップE18,E19の処理後、コンピュータ部31は、前述したステップE15〜E19の循環処理を実行する。
Next, the
次に、楽器リモートファイル処理ルーチンについて説明する。楽器リモートファイル処理ルーチンの実行は図4のステップE20にて開始され、電子楽器ELのコンピュータ部31は、ステップE21にて前記楽器リモートファイルの読み込みの記述中のファイルパスが外部記憶装置32内の楽器リモートファイルを示しているかを判定する。ファイルパスが外部記憶装置32内の楽器リモートファイルを示していれば、ステップE22にて外部記憶装置32からファイルパスによって示された楽器リモートファイルを取得する。ファイルパスが外部記憶装置32内の楽器リモートファイルを示していなければ、コンピュータ部31は、ステップE23にて、通信ネットワークNWを介してサーバコンピュータSVにファイルパスによって示された楽器リモートファイルの要求を送信する。
Next, the instrument remote file processing routine will be described. The execution of the instrument remote file processing routine is started in step E20 of FIG. 4, and the
サーバコンピュータSVは、電子楽器ELにおける楽器リモートファイル処理ルーチンに並行して、ステップS20にてファイル送信プログラムを実行開始し、ステップS21,S22からなる循環処理を繰り返し実行している。前記のように電子楽器ELからの楽器リモートファイルの要求があると、サーバコンピュータSVは、ステップS21にて前記要求を受け取り、ステップS22にてファイルパスによって指定された楽器リモートファイルを通信ネットワークNWを介して電子楽器ELに送る。電子楽器ELにおいては、コンピュータ部31が、ステップE24にてサーバコンピュータSVから送られた楽器リモートファイルを受け取る。
In parallel with the musical instrument remote file processing routine in the electronic musical instrument EL, the server computer SV starts executing the file transmission program in step S20, and repeatedly executes the cyclic processing consisting of steps S21 and S22. When there is a request for an instrument remote file from the electronic instrument EL as described above, the server computer SV receives the request in step S21, and transmits the instrument remote file designated by the file path in step S22 via the communication network NW. To the electronic musical instrument EL. In the electronic musical instrument EL, the
前記ステップE22,E24の処理後、コンピュータ部31は、前記外部記憶装置32またはサーバコンピュータSVから受け取った楽器ファイルを構成する1つまたは複数のファイルごとに、ステップE25〜E32からなる処理をそれぞれ実行する。各ファイルのリモートIDが「印刷」を表していなければ、ステップE25にて「No」と判定して、ステップE26にてリモートIDに従った処理を実行して、ステップE39にてこの楽器リモートファイル処理ルーチンの実行を終了する。なお、「印刷」以外の処理に関しては本発明に直接関係しないので、その詳しい説明を省略する。
After the processes of steps E22 and E24, the
リモートIDが「印刷」を表していれば、コンピュータ部31は、ステップE27,E28の判定処理を実行する。ステップE27においては、リモートデータ種類フラグに基づいてリモートデータが印刷データそのものであるかを判定する。ステップE28においては、リモートデータ種類フラグに基づいてリモートデータが外部記憶装置32のファイルパスを示しているかを判定する。リモートデータが印刷内容データそのものであれば、ステップE27にて「Yes」と判定して、ステップE29にてリモートデータから印刷内容データを取り出す。リモートデータが外部記憶装置32のファイルパスを示していれば、ステップE28にて「Yes」と判定して、ステップE30にて外部記憶装置32に記憶されていて前記ファイルパスによって指定される印刷内容データファイルを取得する。
If the remote ID represents “printing”, the
リモートデータが印刷内容データそのものでなく、かつ外部記憶装置32のファイルパスを示していなければ、ステップE27,E28にて共に「No」と判定して、コンピュータ部31は、ステップE31にて、通信ネットワークNWを介してサーバコンピュータSVに前記リモートデータであるファイルパスによって示された印刷内容データファイルの要求を送信する。サーバコンピュータSVは、前記ステップS21,S22からなる循環処理中、ステップS21にて前記要求を受け取り、ステップS22にてファイルパスによって指定された印刷内容データファイルを通信ネットワークNWを介して電子楽器ELに送る。電子楽器ELにおいては、コンピュータ部31が、ステップE32にてサーバコンピュータSVから送られた印刷内容データファイルを受け取る。
If the remote data is not the print content data itself and does not indicate the file path of the
前記ステップE29,E30,E32の処理後、コンピュータ部31は、ステップE33にてプリンタPRが対応している形式に応じて、印刷内容データを画像ファイルに1頁ずつ変換する。なお、この1頁は、印刷された状態の1頁分を意味する。この画像ファイルへの変換について具体例をあげて説明しおくと、印刷内容データファイルがテキスト形式またはhtml形式の場合、ROM31c内のフォント情報を利用し、プリンタPRの能力に合った画像ファイルを作成する。また、印刷内容データが画像データの場合も、プリンタの能力に合った形式の画像データに変換する。例えば、印刷内容データファイルがGIF形式で、プリンタがBPM形式にのみ対応している場合、GIF形式の印刷内容データファイルはBPM形式の画像ファイルに変換される。ただし、印刷内容データファイルがそのままプリンタPRで印刷できる場合は変換の必要はない。また、このプリンタPRが対応している形式とは、電子楽器ELにUSBコネクタ11,13およびUSBケーブル12を介してプリンタPRを接続したときに取得される設定可能情報によって規定される。
After the processing in steps E29, E30, and E32, the
前記設定可能情報について具体的に説明する。プリンタPRが電子楽器ELに接続されると、かつプリンタPRおよび電子楽器ELの電源がオンであることを条件に、コンピュータ部31とプリンタPRに内蔵のコンピュータ部とのUSB仕様に従った初期化処理すなわち列挙処理(enumeration)により、前記設定可能情報は設定される。この初期化処理においては、まず、電子楽器ELはプリンタPRをUSBホスト機器として検出し、プリンタPRは電子楽器をSICD(Still Image Capture Device)として検出する。次に、電子楽器ELおよびプリンタPRは、お互いに、画像印刷のためのプロトコルに対応していることを確認する。次に、電子楽器ELおよびプリンタPRは、お互いにどのよなうサービス機能を有するかの確認をする。具体的には、電子楽器ELは、自身が画像ファイル供給機能をもち、相手の印刷機能を利用することを、プリンタPRに伝える。プリンタPRは、自身が印刷機能をもち、相手の画像ファイル供給機能を利用することを、電子楽器ELに伝える。そして、最後に、電子楽器ELはプリンタPRに対して設定可能な能力を問合せ、プリンタPRはこの問合わせに応答して設定可能な能力を表す設定可能情報を電子楽器ELに送信する。ここで、プリンタPRの設定可能な能力とは、受け取ることのできるファイルフォーマットなどであり、例えばビットマップデータ(BMP)形式などの画像データである。
The settable information will be specifically described. When the printer PR is connected to the electronic musical instrument EL and the printer PR and the electronic musical instrument EL are powered on, initialization is performed according to the USB specifications of the
ふたたび、図4の説明に戻ると、前記ステップE33の処理後、コンピュータ部31は、ステップE34にてプリンタPRに印刷開始を要求する。一方、プリンタPRは、電子楽器ELにおける楽器リモートファイル処理ルーチンの実行に並行して、プリント処理プログラムの実行をステップP10にて開始し、ステップP11〜P17からなる循環処理を繰り返し実行している。前記のように電子楽器ELから印刷開始要求があると、プリンタPRは、ステップP11にて前記印刷開始要求を受け取り、ステップP12にて電子楽器ELに画像ファイル情報(ファイルサイズなど)を要求する。電子楽器ELのコンピュータ部31は、ステップE35にて、プリンタPRからの要求に従って画像ファイル情報をプリンタPRに送信する。プリンタPRは、ステップP13にて送信された画像ファイル情報を受け取り、ステップP14にて画像ファイルを要求する。
Returning to the description of FIG. 4, after the processing in step E33, the
電子楽器ELのコンピュータ部31は、ステップE36にて、プリンタPRからの要求に従って、前記ステップE33の処理によって生成した画像ファイルをプリンタPRに送信する。プリンタPRは、ステップP15にて送信された画像ファイルを受け取り、ステップP16にて受け取った画像ファイルを印刷する。画像ファイルの印刷が終了すると、プリンタPRはステップP17にて完了通知を電子楽器ELに送る。電子楽器ELのコンピュータ部31は、ステップE37にてこの完了通知を受け取り、ステップE38にて印刷内容データに関する全頁の印刷が終了したかを判定する。全頁の印刷が終了すれば、コンピュータ部31は、ステップE38にて「Yes」と判定して楽器リモートファイル処理ルーチンの実行を終了する。
In step E36, the
全頁の印刷が終了していなければ、コンピュータ部31は、ステップE38にて「No」と判定してステップE33に戻り、前述したステップE33〜E38からなる処理により、次の頁に関する画像ファイルをプリンタPRに送信する。プリンタPRは、前述のステップP11〜P17の処理により、次の頁の画像ファイルを印刷する。これにより、前記図3のステップE11の処理によって取得したhtmlファイルが指定する楽器リモートファイルに関する印刷が完了する。このようにして、表示器23にてウェブページ(htmlファイル)を表示した状態において、ユーザが楽器リモートファイルを指示すると、楽器リモートファイルにより規定される印刷内容(例えば、購入可能なコンテンツの一覧、コンテンツの購入時のレシート、コンテンツの購入履歴など)がプリンタPRによって印刷される。
If printing of all pages has not been completed, the
次に、ユーザによって読み込みの指示されたファイルがhtmlファイル形式であった場合について説明する。この場合、前述のように、コンピュータ部31は、ステップE16にて「Yes」と判定して、ステップE11,E12の処理により、htmlファイルを取得して表示器23に表示する。そして、前記htmlファイル中に楽器リモートファイルの読み込みが記述されていなければ、ステップE14の処理をジャンプして、ステップE15以降の処理を実行することについては前述のとおりである。
Next, a case where the file instructed to be read by the user is in the html file format will be described. In this case, as described above, the
しかし、ウェブページを順次または特定ページに進めていく場合には、次の表示に関するhtmlファイル内において、楽器リモートファイルを読み込むように記述されている場合がある。この場合、ステップE13にて「Yes」と判定して、ステップE14の楽器リモートファイル処理ルーチンを実行する。楽器リモートファイル処理ルーチンの処理については前述したとおりであり、同ルーチンの処理により、前記読み込みの指示されている楽器リモートファイルによって規定される印刷内容データが取得されて、同データにより表された印刷内容がプリンタPRによって印刷される。この動作は、現在表示中のウェブページの直前のウェブページの表示状態において、ユーザによる外部ファイルの読み込み操作に応答して、ウェブページデータによって規定される印刷内容がプリンタPRによって印刷されることを意味する。 However, when a web page is advanced sequentially or to a specific page, it may be described that an instrument remote file is read in an html file related to the next display. In this case, “Yes” is determined in step E13, and the instrument remote file processing routine in step E14 is executed. The processing of the instrument remote file processing routine is as described above, and the print content data defined by the instrument remote file instructed to be read is acquired by the processing of the routine, and the printing represented by the data is performed. The contents are printed by the printer PR. In this operation, in the display state of the web page immediately before the currently displayed web page, in response to the external file reading operation by the user, the print content specified by the web page data is printed by the printer PR. means.
上記作動説明からも理解できるように、上記実施形態においては、表示器23におけるウェブページの表示状態において、ユーザの指示により、ウェブページデータ(htmlファイル)によって規定される印刷内容がプリンタPRで印刷される。その結果、上記実施形態によれば、ウェブページの指示に従うといった簡単な操作で、ウェブページによって指定される内容(例えば、購入可能なコンテンツの一覧、コンテンツの購入時のレシート、コンテンツの購入履歴など)が印刷されるので、ユーザは簡単にウェブページによって指定される内容を確認および保管できるようになる。特に、この場合、USBケーブル12を介してプリンタPRを電子楽器ELに直接接続して利用でき、パーソナルコンピュータなどを介在させる必要もないので、複雑な操作を必要とせず、パーソナルコンピュータを用意する必要もない。
As can be understood from the above operation description, in the above-described embodiment, in the display state of the web page on the
さらに、本発明の実施にあたっては、上記実施形態に限定されるものではなく、本発明の目的を逸脱しない限りにおいて種々の変更が可能である。 Furthermore, in carrying out the present invention, the present invention is not limited to the above embodiment, and various modifications can be made without departing from the object of the present invention.
上記実施形態においては、ウェブページデータ、印刷内容データファイルなどに関しては、サーバコンピュータSVから電子楽器ELの外部記憶装置32にダウンロードしたデータを除き、基本的にはサーバコンピュータSVに記憶保存したものを利用するようにした。しかし、これらに代えて、電子楽器ELの外部記憶装置32に、予めウェブページデータ、印刷内容データファイルなどを記憶保存しておいて、それらを利用するようにしてもよい。
In the above embodiment, web page data, print content data files, etc. are basically stored and saved in the server computer SV except for data downloaded from the server computer SV to the
さらに、上記実施形態においては、演奏操作子として鍵盤21を採用した電子楽器ELに本発明を適用したが、鍵に代えて、単なる押圧スイッチ、タッチスイッチなどを音高を指定する演奏操作子を採用した電子楽器に本発明を適用してもよい。特に、本発明は、電子楽器の形態を問わず、電子弦楽器、電子管楽器などの電子楽器にも適用され得る。
Furthermore, in the above-described embodiment, the present invention is applied to the electronic musical instrument EL that employs the
EL…電子楽器、SV…サーバコンピュータ、PR…プリンタ、NW…通信ネットワーク、12…USBケーブル、21…鍵盤、22…設定操作子、23…表示器、25…音源回路、31…コンピュータ部、32…外部記憶装置、34…USBインターフェース回路、35…通信インターフェース回路
EL ... electronic musical instrument, SV ... server computer, PR ... printer, NW ... communication network, 12 ... USB cable, 21 ... keyboard, 22 ... setting operator, 23 ... display, 25 ... sound source circuit, 31 ... computer unit, 32 ...
Claims (7)
ウェブページデータを前記サーバコンピュータから取り込むウェブページデータ取り込み手段と、
前記取り込んだウェブページデータにより表されたウェブページを表示器に表示させる表示制御手段と、
前記ウェブページの表示状態において、ユーザの指示により、前記ウェブページデータによって規定されて、印刷指示を含む各ファイルの処理内容を表すコードデータ、及び印刷内容又は印刷内容の保存先を含むファイルを取得するファイル取得手段と、
前記コードデータが印刷指示を表しているとき、前記取得したファイルに基づいて、印刷内容を表す印刷内容データを取得する印刷内容データ取得手段と、
接続されているプリンタ装置の能力に応じて前記取得した印刷内容データを変換して前記プリンタ装置にて印刷可能な画像ファイルを生成する画像ファイル生成手段と、
前記画像ファイルを前記プリンタ装置に送って前記印刷内容を前記プリンタ装置に印刷させる印刷制御手段と
を設けたことを特徴とする電子楽器。 In an electronic musical instrument that is communicably connected to a server computer and directly connected to a printer device,
Web page data fetching means for fetching web page data from the server computer;
Display control means for displaying a web page represented by the fetched web page data on a display;
In the display state of the web page, the code data representing the processing content of each file including the printing instruction and the file including the printing content or the storage destination of the printing content are obtained by the user's instruction and specified by the web page data. File acquisition means to
Print content data acquisition means for acquiring print content data representing print content based on the acquired file when the code data represents a print instruction ;
Image file generation means for converting the acquired print content data according to the capability of the connected printer device and generating an image file that can be printed by the printer device;
An electronic musical instrument comprising: a print control unit that sends the image file to the printer device and causes the printer device to print the print content.
前記ウェブページデータ取り込み手段によって取り込まれたウェブページデータが、前記印刷指示を含む各ファイルの処理内容を表すコードデータ、及び印刷内容又は印刷内容の保存先を含むファイルを読み込むように記述しているとき、前記読み込むように記述されたファイルを自動的に取り込むファイル自動取得手段を設けた電子楽器。 The electronic musical instrument according to claim 1 , further comprising:
It is described that the web page data fetched by the web page data fetching unit reads the code data representing the processing contents of each file including the printing instruction and the file including the printing contents or the storage destination of the printing contents. An electronic musical instrument provided with automatic file acquisition means for automatically taking in the file described to be read .
前記ファイル取得手段によって取得されたファイルが印刷内容を含むとき、前記印刷内容データ取得手段は、前記取得されたファイルから印刷内容データを取出すものである電子楽器。 The electronic musical instrument according to claim 1 or 2 ,
When the file acquired by the file acquisition unit includes a print content, the print content data acquisition unit extracts the print content data from the acquired file .
前記ファイル取得手段によって取得されたファイルが印刷内容の保存先を含み、前記保存先が電子楽器に設けた記憶装置であるとき、前記印刷内容データ取得手段は、前記電子楽器に設けた記憶装置から前記印刷内容データを取得するものである電子楽器。 The electronic musical instrument according to claim 1 or 2 ,
When the file acquired by the file acquisition unit includes a storage destination of print contents, and the storage destination is a storage device provided in the electronic musical instrument, the print content data acquisition unit is stored in a storage device provided in the electronic musical instrument. An electronic musical instrument for acquiring the print content data.
前記ファイル取得手段によって取得されたファイルが印刷内容の保存先を含み、前記保存先が前記サーバコンピュータであるとき、前記印刷内容データ取得手段は、前記サーバコンピュータから前記印刷内容データを取得するものである電子楽器。 The electronic musical instrument according to claim 1 or 2 ,
When the file acquired by the file acquisition unit includes a storage location for print contents, and the storage destination is the server computer, the print content data acquisition unit acquires the print content data from the server computer. An electronic musical instrument.
前記印刷内容は、購入可能なコンテンツの一覧、コンテンツの購入時のレシート、またはコンテンツの購入履歴である電子楽器。 The electronic musical instrument according to any one of claims 1 to 5,
The printed content is an electronic musical instrument that is a list of contents that can be purchased, a receipt when the contents are purchased, or a purchase history of the contents.
ウェブページデータを前記サーバコンピュータから取り込ませるウェブページデータ取り込み機能と、
前記取り込ませたウェブページデータにより表されたウェブページを表示器に表示させる表示制御機能と、
前記ウェブページの表示状態において、ユーザの指示により、前記ウェブページデータによって規定されて、印刷指示を含む各ファイルの処理内容を表すコードデータ、及び印刷内容又は印刷内容の保存先を含むファイルを取得させるファイル取得機能と、
前記コードデータが印刷指示を表しているとき、前記取得させたファイルに基づいて、印刷内容を表す印刷内容データを取得させる印刷内容データ取得機能と
接続されているプリンタ装置の能力に応じて前記取得した印刷内容データを変換させて前記プリンタ装置にて印刷可能な画像ファイルを生成させる画像ファイル生成機能と、
前記生成させた画像ファイルを前記プリンタ装置に送らせて前記印刷内容を前記プリンタ装置に印刷させる印刷制御機能と
を実現させるようにしたコンピュータプログラム。 A computer that is communicably connected to a server computer and applied to an electronic musical instrument that is directly connected to a printer device.
A web page data fetching function for fetching web page data from the server computer;
A display control function for causing a display to display a web page represented by the captured web page data;
In the display state of the web page, the code data representing the processing content of each file including the printing instruction and the file including the printing content or the storage destination of the printing content are obtained by the user's instruction and specified by the web page data. File acquisition function
When the code data represents a print instruction, based on the acquired file, the print content data acquisition function for acquiring print content data representing the print content and the acquisition according to the capability of the connected printer device An image file generation function that converts the printed content data and generates an image file that can be printed by the printer device;
A computer program for realizing a print control function for causing the generated image file to be sent to the printer device and causing the printer device to print the print contents.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006087092A JP4674562B2 (en) | 2006-03-28 | 2006-03-28 | Electronic musical instrument and computer program applied to the electronic musical instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006087092A JP4674562B2 (en) | 2006-03-28 | 2006-03-28 | Electronic musical instrument and computer program applied to the electronic musical instrument |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007264163A JP2007264163A (en) | 2007-10-11 |
JP4674562B2 true JP4674562B2 (en) | 2011-04-20 |
Family
ID=38637233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006087092A Expired - Fee Related JP4674562B2 (en) | 2006-03-28 | 2006-03-28 | Electronic musical instrument and computer program applied to the electronic musical instrument |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4674562B2 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001002183A1 (en) * | 1999-07-05 | 2001-01-11 | Sony Corporation | Data printing system, data printing method and recording medium |
JP2002041606A (en) * | 2000-07-21 | 2002-02-08 | Sharp Corp | Electronic publishing system |
JP2002163597A (en) * | 2000-11-29 | 2002-06-07 | Canon Inc | System and method for information processing, and system and method for printing |
JP2002197069A (en) * | 2000-12-26 | 2002-07-12 | Yamaha Corp | Contents providing service system, server device, and client device |
JP2004102590A (en) * | 2002-09-09 | 2004-04-02 | Canon Inc | Reception system |
JP2005310104A (en) * | 2004-03-25 | 2005-11-04 | Seiko Epson Corp | Pos system, printer, input/output control apparatus. and data relay processing method therefor |
-
2006
- 2006-03-28 JP JP2006087092A patent/JP4674562B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001002183A1 (en) * | 1999-07-05 | 2001-01-11 | Sony Corporation | Data printing system, data printing method and recording medium |
JP2002041606A (en) * | 2000-07-21 | 2002-02-08 | Sharp Corp | Electronic publishing system |
JP2002163597A (en) * | 2000-11-29 | 2002-06-07 | Canon Inc | System and method for information processing, and system and method for printing |
JP2002197069A (en) * | 2000-12-26 | 2002-07-12 | Yamaha Corp | Contents providing service system, server device, and client device |
JP2004102590A (en) * | 2002-09-09 | 2004-04-02 | Canon Inc | Reception system |
JP2005310104A (en) * | 2004-03-25 | 2005-11-04 | Seiko Epson Corp | Pos system, printer, input/output control apparatus. and data relay processing method therefor |
Also Published As
Publication number | Publication date |
---|---|
JP2007264163A (en) | 2007-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7745713B2 (en) | Electronic musical instrument with direct print interface | |
US20060075334A1 (en) | Information processing apparatus, history file generation method and program | |
JP2014052900A (en) | Relay device, image processor, program of relay device, program of image processor, and communication method | |
US7765314B2 (en) | Contents managing apparatus and program for the same | |
US20050178821A1 (en) | Manual providing apparatus, multi function printer, server, electronic manual presentation method, and computer program | |
JP2007053556A (en) | Composite machine | |
JP2011188434A (en) | Image processing device, display method, and program | |
US20070227336A1 (en) | Electronic musical instrument with direct printer interface | |
JP4674562B2 (en) | Electronic musical instrument and computer program applied to the electronic musical instrument | |
JP2008311941A (en) | Information processor and information processing method | |
JP2006031484A5 (en) | ||
JP2006033080A (en) | Voice file producing system | |
JP2007280035A (en) | Printing process system and method, and information processing apparatus and method | |
JP2006099455A (en) | Content delivery system | |
JP2005122377A (en) | Control device, control indicator, control program, and control indication program | |
JP2007264509A (en) | Electronic musical instrument | |
JP2006345041A (en) | Image processing apparatus | |
JP4148135B2 (en) | Information provision system | |
JP5066975B2 (en) | NETWORK CONNECTION ENVIRONMENT SETTING CLIENT DEVICE, NETWORK CONNECTION ENVIRONMENT SETTING SYSTEM, AND PROGRAM | |
JP3703892B2 (en) | Karaoke system | |
JP4217120B2 (en) | Output support method, output support program, and output support system | |
JP5186825B2 (en) | Electronic manual display device and program | |
JP4214932B2 (en) | Website program applied to server computer | |
JP4605069B2 (en) | Music content providing system, electronic musical instrument and music content acquisition program | |
JP5824949B2 (en) | Electronic musical instrument content data management apparatus and program |
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: 20100506 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100519 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100709 |
|
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: 20101228 |
|
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: 20110110 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140204 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4674562 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |