JP3893980B2 - Electronic musical instrument and performance data acquisition program - Google Patents

Electronic musical instrument and performance data acquisition program Download PDF

Info

Publication number
JP3893980B2
JP3893980B2 JP2002005024A JP2002005024A JP3893980B2 JP 3893980 B2 JP3893980 B2 JP 3893980B2 JP 2002005024 A JP2002005024 A JP 2002005024A JP 2002005024 A JP2002005024 A JP 2002005024A JP 3893980 B2 JP3893980 B2 JP 3893980B2
Authority
JP
Japan
Prior art keywords
data
performance data
personal computer
external device
midi
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
Application number
JP2002005024A
Other languages
Japanese (ja)
Other versions
JP2003208163A (en
Inventor
浩之 鳥村
紀尚 青木
明 鈴木
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2002005024A priority Critical patent/JP3893980B2/en
Priority to US10/339,590 priority patent/US7196259B2/en
Priority to CN2008101491293A priority patent/CN101359468B/en
Priority to CNB031016383A priority patent/CN100485778C/en
Publication of JP2003208163A publication Critical patent/JP2003208163A/en
Priority to US11/159,524 priority patent/US7253351B2/en
Priority to US11/159,551 priority patent/US7301091B2/en
Application granted granted Critical
Publication of JP3893980B2 publication Critical patent/JP3893980B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ネットワークを利用して演奏データ転送を受けて、該演奏データに基づいて自動演奏等を行える電子楽器、及演奏データ取得プログラムに関する。
【0002】
【従来の技術】
従来、電子楽器やコンピュータミュージック等の分野において、自動演奏等に用いる演奏データをネットワークで配信するサービスがある。例えば、パーソナルコンピュータ等でインターネットを利用してサーバから有償で演奏データの配信を受け、このパーソナルコンピュータに接続された電子楽器に演奏データを取り込むことができる。電子楽器では取り込んだ演奏データに基づいて各種の演奏あるいは各種の処理を行う。なお、演奏データを購入する前に事前に試聴用演奏データにより試聴できるようにもなっている。
【0003】
【発明が解決しようとする課題】
ところで、パーソナルコンピュータと電子楽器は、広く普及しているMIDI規格のケーブルで接続することが多い。また、演奏データもMIDI規格のものが広く普及している。このため、パーソナルコンピュータから電子楽器に送るデータもMIDI端子からMIDI規格のデータで送る必要があるり、また、演奏データもMIDI規格であることから、パーソナルコンピュータからはMIDI規格の演奏データをそのまま電子楽器に送るようにしている。
【0004】
したがって、パーソナルコンピュータから出力される演奏データをそのまま自動演奏等に利用できるデータとして自由に取り出すことができてしまう。このため、試聴用演奏データあるいは購入用演奏データを不正に利用される恐れもあり、また、演奏データの著作権の保護という観点からも問題がある。
【0005】
本発明は、サーバから配信された演奏データを不正に扱えないようにすることを課題とする。
【0006】
【課題を解決するための手段】
請求項1の電子楽器は、外部機器との間で各種データを送受信する通信手段と、前記通信手段にて前記外部機器から指示があったとき、新たなキーを生成して、当該外部機器へ当該生成したキーを送るキー生成手段と、前記外部機器が前記生成したキーを用いてビットシフトまたはビット入替えを行うことによって暗号化した演奏データを、前記通信手段にて前記外部機器から受け取って、当該演奏データを前記生成したキーを用いてビットシフトまたはビット入替えを行って復号化する復号手段と、前記復号手段で復号された演奏データを再生する再生手段と、を備えたことを特徴とする。
【0007】
上記のように構成された請求項1の電子楽器によれば、外部機器から指示があったとき新たなキーを生成してこの生成したキーを当該外部機器に送る。外部機器がこのキーを用いてビットシフトまたはビット入替えを行うことによって暗号化した演奏データとし、電子楽器はこの演奏データを通信手段にて外部機器から受け取る。そして、この演奏データを前記生成したキーを用いてビットシフトまたはビット入替えを行って復号化するので、外部機器(例えばパーソナルコンピュータ)から当該電子楽器に送るデータが外部に流出してもそのままでは演奏データとして利用できなくなる。したがって、パーソナルコンピュータから電子楽器に演奏データを安全に送ることができ、演奏データを不正が扱われるのを防止できる。さらに、電子楽器は外部機器から指示があったとき新たなキー(異なるキー)を生成するので、復号化のための該キーが漏洩したとしても、一回のデータ転送に被害がでても、他のデータ転送では安全に転送できるので、被害を最小限に抑えることができる。
【0008】
請求項2の演奏データ取得プログラムは、通信手段にて外部機器から指示があったとき、新たなキーを生成して、当該外部機器へ当該生成したキーを送る処理と、前記外部機器が前記生成したキーを用いてビットシフトまたはビット入替えを行うことによって暗号化した演奏データを、前記通信手段にて前記外部機器から受け取って、当該演奏データを前記生成したキーを用いてビットシフトまたはビット入替えを行って復号化する処理と、前記復号された演奏データを再生する処理と、をコンピュータで実行するためのものであり、この演奏データ取得プログラムの実行によれば請求項1と同様な作用効果が得られる。
【0012】
請求項3の電子楽器は、MIDIケーブルを介して外部機器との間でMIDI規格のデータを送受信するMIDI通信手段と、前記外部機器において、MIDI形式の演奏データをビットシフトまたはビット入替えを行うことにより暗号化して、当該暗号化された後のデータが埋め込まれたMIDI規格のエクスクルーシブデータを、前記MIDI通信手段にて前記外部機器から受け取って、当該エクスクルーシブデータに埋め込まれたデータをビットシフトまたはビット入替えを行うことによりMIDI形式の演奏データへ復号化する復号手段と、前記復号手段で復号された演奏データを再生する再生手段と、を備えたことを特徴とする。
【0013】
上記のように構成された請求項電子楽器によれば、外部機器からの暗号化後の演奏データを、任意のデータを扱えるエクスクルーシブデータに埋め込んで当該電子楽器に送るので、外部機器(例えばパーソナルコンピュータ)から電子楽器に演奏データを安全に送ることができるとともに、MIDIケーブルを介して外部機器との間でMIDI規格のデータを送受信するMIDI通信手段により、暗号化されたデータを簡単にMIDI端子から送ることができるMIDI規格のデータとすることができるので、演奏データを保護しながらMIDI規格を利用してシステムを容易に構成することができる。
【0014】
請求項4の演奏データ取得プログラムは、外部機器において、MIDI形式の演奏データをビットシフトまたはビット入替えを行うことにより暗号化して、当該暗号化された後のデータが埋め込まれたMIDI規格のエクスクルーシブデータを、MIDI通信手段にて前記外部機器から受け取って、当該エクスクルーシブデータに埋め込まれたデータをビットシフトまたはビット入替えを行うことによりMIDI形式の演奏データへ復号化する処理と、前記復号された演奏データを再生する処理と、をコンピュータで実行するためのものであり、この演奏データ取得プログラムの実行によれば請求項3と同様な作用効果が得られる。
【0022】
なお、新たな暗号化に使うキーは、ランダム値として生成するなど、生成するたびに異なる内容となるように生成する。ただし、この異なる内容とは、少なくとも一定期間や一定回数は異なる内容である場合も含む。
【0023】
【発明の実施の形態】
以下、図面を参照して本発明の一実施形態について説明する。図1は本発明の実施形態における全体システムの概略図であり、この実施形態は、電子楽器として電子オルガン(例えば「エレクトーン(登録商標)」)を対象としたものである。なお、図ではパーソナルコンピュータを「PC」、電子オルガンを「EL」として略記している。電子オルガン1は、演奏データ転送制御装置としてのパーソナルコンピュータ2に対してMIDIケーブルで接続されている。また、パーソナルコンピュータ2はインターネット等の通信ネットワーク3を介してサーバ4(そのコンピュータ)に接続される。
【0024】
<演奏データ>
サーバ4のコンピュータはデータベースを有しており、多数の楽曲について、各楽曲に対応する「購入用演奏データ」と「試聴用演奏データ」とを記憶している。購入用演奏データ及び試聴用演奏データ(以下、総称して「演奏データ」ともいう。)は、「再生態様データ」と「楽曲データ」が含まれている。
【0025】
再生態様データは「レジストレーション」あるいは「レジスト」と称されるデータであり、図2(A) に示したように、例えば電子オルガン1の第1鍵盤(ロワーキーボード)の音色を指定するデータ、第1鍵盤における効果を指定するデータ、第2鍵盤(アッパーキーボード)の音色を指定するデータ、第2鍵盤における効果を指定するデータなど、電子オルガン1の音色や効果などの各種の設定を決めるデータである。そして、この再生態様データは、電子オルガン1で用いるとき操作パネルに設けられたレジストスイッチに割り当てられ、そのレジストスイッチを操作することにより、電子オルガン1はその割り当てられている再生態様データに応じた態様に設定される。
【0026】
また、1曲毎に、曲の流れに応じた複数の再生態様データがセットとして用いられることが多く、この場合は複数のレジストスイッチにそれぞれの再生態様データが割り当てられる。したがって、例えば鍵盤演奏(マニュアル演奏)中にレジストスイッチを操作することで、曲の流れに応じて曲の途中で音色や効果などの態様を切り換えることもできる。さらに自動演奏では、演奏データ中に記録されている指示データに応じて再生態様データを切り換え、自動演奏の流れに応じて音色や効果などを自動的に切り換えることもできる。
【0027】
楽曲データは例えば「ソング」などと称されるデータであり、図2(B) に示したように、一つの楽音に対応する楽音イベントのデータ(MIDIイベントデータ)を演奏のタイミングに沿って記憶している。また、前記のように楽曲の再生時に設定する再生態様データを指示するデータも含まれている。
【0028】
なお、購入用演奏データと試聴用演奏データが、再生態様データと楽曲データとの両方を持っている曲もあれば、どちらか一方しか持っていない曲もある。例えば、楽曲データは試聴用演奏データにしか持っていない曲もあり、この場合、購入用演奏データにより再生態様データ(レジストレーション)だけを購入することになり、実際の曲の演奏は鍵盤演奏等で行うものである。また、試聴用演奏データも再生態様データだけしか持っていない曲もあり、この場合は再生態様データによる設定と鍵盤演奏等により再生態様を試聴するものである。さらに、試聴用演奏データの再生態様データは、購入用演奏データの再生態様データと同じ場合もあれば、購入用演奏データの再生態様データよりも一部省略されているような場合もある。
【0029】
<ハードウエア構成>
電子オルガン1及びパーソナルコンピュータ2は、CPU、入出力装置、記憶装置等を備えた何れもマイクロコンピュータの基本構成を備えたものであり、簡単のために両方のハード構成の要部を図3の共通のブロック図で示す。CPU10aはROM10b、RAM10c、あるいは外部記憶装置10dに格納された制御プログラムを実行し、電子オルガン1やパーソナルコンピュータ2の機能を実現する。タイマ10eは制御タイミングをとったり、自動演奏時の再生クロック等を発生する。MIDIインターフェース(I/F)10fは外部のMIDI機器10gとの間でMIDI信号の授受を行う。なお、このブロック図が電子オルガン1の場合はMIDI機器10gはパーソナルコンピュータ2に対応し、このブロック図がパーソナルコンピュータ2の場合はMIDI機器10gは電子オルガン1に対応する。
【0030】
電子オルガン1の場合、各要素の具体例は以下のとおりである。外部記憶装置10dはこの実施形態ではFDD(フロッピィ(商標)ディスクドライブ)であり、配信を受けて購入した購入用演奏データが記憶部としてのフロッピィディスクに保存される。また、操作子10hは鍵盤(ロワーキーボード、アッパーキーボード、ペダルキーボード)やフットスイッチあるいは操作パネルのスイッチ等であり、検出回路10iで各種操作が検出される。また、表示部10jは操作パネルに設けられた液晶ディスプレイ等であり、表示回路10kを介して駆動される。
【0031】
音源回路10mは、設定された音色に応じて電子オルガン1の各種鍵盤の操作に相当する楽音信号を生成し、アンプやスピーカ等のサウンドシステム10nに出力して楽音を発生する。なお、楽曲データに基づいて自動演奏を行うときは、タイマ10eによる割込み処理を行い、楽曲データ中の各種音符のデータを再生し、ノートコード、タッチデータ、ノートオン/ノートオフ等を音源回路10mに出力して楽音を発生する。また、ROM10bには制御プログラム(電子楽器側の演奏データ取得プログラム)が格納されている。なお、電子オルガン1単独でも通信インターフェース10pを介して通信ネットワーク3に接続することもできる。
【0032】
パーソナルコンピュータ2の場合、各要素の具体例は以下のとおりである。外部記憶装置10dはHDD(ハードディスクドライブ)、FDD、CD−ROM(コンパクトディスク−リード・オンリィ・メモリ)装置、光磁気ディスク(MO)装置、デジタル多目的ディスク(DVD)装置等であり、制御プログラム(演奏データ転送制御プログラム)がサーバ4からこの外部記憶装置10dにダウンロードされる。また、操作子10hはキーボードやマウス等であり、検出回路10iで各種操作が検出される。表示部10jは液晶ディスプレイやCRTディスプレイ等であり、表示回路10kを介して駆動され、演奏データ購入時の後述の初期画面や試聴画面が表示される。さらに、通信インターフェース10p及び通信ネットワーク3を介して前記サーバ4との間でデータの授受を行って、電子オルガン1(MIDI機器10g)で利用する演奏データの配信サービスを受ける。
【0033】
<動作及び処理の概略>
図5は実施形態における概略動作とデータ及び指示の流れを概念的に示す図であり、実施形態における動作及び処理の概略を説明する。サーバ4は演奏データを提供しているサイトであり、パーソナルコンピュータ2のブラウザを使ってサーバ4にアクセスするとサーバ4でサイトが立ち上げられるとともにパーソナルコンピュータ2にサイトが提示され、サーバ4から演奏データ転送制御プログラムがダウンロードされる。また、同時に画面表示用のHTMLファイルのデータが配信される。これにより、パーソナルコンピュータ2において図4(A) の初期画面が表示される。そして、サーバ4にアクセスしている間、この初期画面の操作子(画面スイッチ)SW1,SW2,SW3をマウス等で操作して、試聴動作と購入動作及び確認動作を実行することができる。
【0034】
そこで、初期画面で所望の曲を選択して試聴の要求をサーバ4に伝えると、サーバ4からHTMLファイルのデータが送られてパーソナルコンピュータ2に図4(B) の試聴画面が表示される。また、サーバ4から暗号化(第1暗号化)された試聴用演奏データがパーソナルコンピュータ2に送られる。パーソナルコンピュータ2はこれを復号化(第1復号化)するとともに、電子オルガン1に指示を送って電子オルガン1を試聴モードとして固定し、この電子オルガン1に対して後から送る試聴用演奏データを外部に出力できないように設定する。
【0035】
電子オルガン1は再暗号化のためのキーを生成し、パーソナルコンピュータ2はそのキーに基づいて試聴用演奏データを新たに暗号化(第2暗号化)する。そして、この暗号化されたデータをMIDI規格のエクスクルーシブデータに含めて電子オルガン1に送り、電子オルガン1は受信したエクスクルーシブデータから暗号化されたデータを抽出して前記キーに基づいて復号化(第2復号化)し、試聴用演奏データを得る。前記第1暗号化の方法と第2暗号化の方法は異なるものである。それぞれの方法は、サーバ4とパーソナルコンピュータ2の間でのデータ通信の規格(送信するデータのデータ形式)と、パーソナルコンピュータ2と電子オルガン1の間でのデータ通信の規格の、異なる2つのデータ通信の規格のそれぞれに適したものである。第1暗号化によって暗号化された演奏データはサーバ4とパーソナルコンピュータ2の間で通信可能なデータ形式になっており、第2暗号化によって暗号化された演奏データはパーソナルコンピュータ2と電子オルガン1の間で通信可能なデータ形式になっている。
【0036】
以上のようにして、電子オルガン1において試聴用演奏データに基づいて自動演奏あるいは鍵盤演奏(すなわち再生態様の試聴)を行うことができる。そして、試聴を終わるときはパーソナルコンピュータ2の試聴画面で終了の操作子SW4を操作すると、パーソナルコンピュータ2は電子オルガン1に対してモードを解除する指示を送る。これにより、電子オルガン1は、記憶している試聴用演奏データを消去するとともに、その他のデータの外部出力等を可能にして試聴モードを解除する。
【0037】
以上の試聴が済んで演奏データを購入するときは、初期画面で曲(例えば試聴した曲)を選択して購入の要求をサーバ4に伝えると、サーバ4は課金を行う処理及び購入用演奏データの暗号化(第1暗号化)を行ってパーソナルコンピュータ2に送信し、パーソナルコンピュータ2はこれを復号化(第1復号化)する。そして、パーソナルコンピュータ2は、電子オルガン1に対して、フロッピィディスクの用意ができているかの確認をする。電子オルガン1はこれ対応して、必要であればフロッピィディスクのフォーマットや空き領域の確保を行ってパーソナルコンピュータ2に結果(状態情報)を送る。そして、フォーマットされたフロッピィディスクで空き領域が確保されると、パーソナルコンピュータ2は購入用演奏データを送信する動作に移る。
【0038】
この購入用演奏データを送信する動作は、試聴用演奏データの場合と同様であり、電子オルガン1に対するモードの固定の指示、電子オルガン1でのキーの生成、パーソナルコンピュータ2における再暗号化(第2暗号化)及びMIDI化の処理、電子オルガン1における復号化の処理を行う。そして、電子オルガン1において復号化した購入用演奏データを記憶部(フロッピィディスク)に書き込むとともにプロテクトを施し、その後、試聴用演奏データの場合と同様に、電子オルガン1のモード固定の状態を解除する。
【0039】
<第2暗号化>
図6はパーソナルコンピュータ2で行われる第2暗号化の概念を示す図である。(I) のようにサーバ4から配信されて復号化した1ファイル分(1曲分)の演奏データは、MIDI形式等であり、楽曲を再生するための所定のイベントデータが順番に記憶されたものである。(I) の丸印1つ1つがそれぞれのイベントデータ(タイミングデータやMIDIイベントデータなど)を表しており、それぞれのデータは処理順に記憶されている。この(I) の1ファイル分のデータ列を電子オルガン1から受信するキーを使って、通常の読出方法(ファイルの先頭から順にビット列を読んでデータを読み出す方法)では元の演奏データを再現できないデータ列に変換して(再暗号化して)、その変換後のデータ列を電子オルガン1に送れるデータ形式に加工する(MIDI化する)ことを第2暗号化と呼ぶ。
【0040】
前記変換の方法には、(I) のデータ列(ビット列)を電子オルガン1から受信したキーが表す量だけビット単位で前か後ろにずらすことで新たなデータ列へ変換する方法や(先頭のデータは最後尾に、最後尾のデータは先頭にずらす)、(I) のデータ列のうちの電子オルガン1から受信したキーが表す部分のデータ列(ビット列)をそのキーが表す入替順に沿って入れ替えることで新たなデータ列へ変換する方法がある。これらの変換の方法によって内容を壊された(I) のデータ列は(II)のように、通常の読出方法では元の演奏データを再現できない壊れたデータの羅列となっている。
【0041】
そして、この(II)のデータ列は、(III) に示すように、先頭から順に所定長(所定ビット数分)ずつ取り出され、その取り出されたデータと取り出された順番を表す番号をメッセージ内容とするエクスクルーシブデータ(MIDI規格のシステムエクスクルーシブメッセージデータを表わす)に加工されて電子オルガン1に送られる。この作成と送信の処理は(II)のデータ列から全てのデータが取り出されるまで繰り返し行われる。なお、電子オルガン1ではこの逆の手順で、パーソナルコンピュータ2から受信したデータを元の演奏データに復元する(第2復号化)。
【0042】
なお、上記第2暗号化されたデータは、パーソナルコンピュータ2とサーバ4との間の通信ネットワーク3による送信経路とは独立な送信経路に合ったものとして暗号化されている。すなわち、この暗号化された各データは、MIDI規格のエクスクルーシブデータに埋め込まれたものであり、電子オルガン1とパーソナルコンピュータ2との間のMIDIケーブルによる送信経路に合ったデータとなっている。
【0043】
<試聴動作>
図7は実施形態における試聴動作を行う場合のサーバ4、パーソナルコンピュータ2及び電子オルガン1の処理手順を示す図である。なお、以下の試聴動作、後述の購入動作、及び後述の各フローチャートで示す処理は、パーソナルコンピュータ2における「演奏データ転送制御プログラム」及び電子オルガン1における「演奏データ取得プログラム」に対応している。
【0044】
図7の処理の前にパーソナルコンピュータ2は通信ネットワーク3を介してサーバ4に接続されている。そして、パーソナルコンピュータ2にはサーバ4から演奏データ転送制御プログラムがダウンロードされており、さらに、初期画面(図4(A) )が表示されている。
【0045】
まず、初期画面には楽曲リストN(図4(A) )が表示されるので、所望の曲を選択して試聴の操作子SW2を操作し、パーソナルコンピュータ2からサーバ4に対して試聴を要求する(図7のステップA1)。これにより、サーバ4は、要求された楽曲の試聴用演奏データをデータベースから読み出し、そのMIDI形式の試聴用演奏データを予め決められた条件で暗号化(第1暗号化)し、パーソナルコンピュータ2に送る(ステップA2)。なお、第1暗号化は従来の技術と同様であり、暗号化の後のデータは通信ネットワーク3の回線で送信できる形式である。また、サーバ4からは試聴画面を表示するためのHTMLファイルも送信される。
【0046】
次に、パーソナルコンピュータ2では、HTMLファイルに基づいて試聴画面(図4(B) )を表示し(ステップA3)、サーバ4から送信されたデータをMIDI形式の試聴用演奏データに復号化(第1復号化)する(ステップA4)。そして、電子オルガン1に対して、モードを固定するための指示を送る(ステップA5)。
【0047】
電子オルガン1では、パーソナルコンピュータ2からの指示を受けて、図8に示す後述のモード固定の処理を行い、これ以後に受信する試聴用演奏データを外部に出力できないように設定する(ステップA6)。次に、図9に示すキー生成の処理を行い、パーソナルコンピュータ2から供給される試聴用演奏データを暗号化(第2暗号化)するためのキーを新たに生成し、そのキーをパーソナルコンピュータ2に送る(ステップA7)。
【0048】
パーソナルコンピュータ2では、キーを受け取ると図10に示す再暗号化の処理を行い、1ファイル分(1曲分)の試聴用演奏データをキーに従って前記のように暗号化(第2暗号化)する(ステップA8)。そして、図11に示すMIDI化の処理を行い、暗号化されたデータをエクスクルーシブデータに挿入して電子オルガン1に送る(ステップA9)。
【0049】
次に、電子オルガン1では、図12に示す復号化の処理を行って、パーソナルコンピュータ2からの1ファイル分のエクスクルーシブデータを全て受け取って試聴用演奏データに復号化(第2復号化)する(ステップA10)。そして、図13に示す試聴モードの処理を行い、復号化した試聴用演奏データを再生する(ステップA11)。すなわち、電子オルガン1の外部に出力する以外の操作は通常通りに処理する。
【0050】
一方、パーソナルコンピュータ2では、試聴画面(図4(B) )の終了の操作子SW4の操作を検出して、試聴を終わるの指示があるかを監視し(ステップA12)、試聴を終わるの指示があれば、電子オルガン1に対してモードを解除する指示を送る(ステップA13)。そして、電子オルガン1では、図14に示すモード解除の処理を行い、メモリ内の試聴用演奏データを消去して、それ以降にメモリに書き込まれるデータを外部に出力できるようにする(ステップA14)。
【0051】
次に、ステップA6〜A11,A14の具体的な処理を図8〜図14のフローチャートに基づいて説明する。電子オルガン1はパーソナルコンピュータ2からモードを固定するための指示をうけると(ステップA6)、これに応答して図8のモード固定の処理を開始する。まず、ステップS11で、RAM10c等に予め設定されている一時記憶部のデータを消去し、ステップS12で一時記憶部のデータの外部送信を禁止し、さらにステップS13で一時記憶部のデータの移動を禁止する。次に、ステップS14で表示部(図3の10j)の表示を試聴モード画面にして他の画面へ変更できないように固定し、ステップS15で一時記憶部のデータの書き込みを禁止する。なお、この一時記憶部の書き込み禁止とは電子オルガン1の操作子10hなどを使って一時記憶部の試聴用演奏データを編集するための外部操作による書き込みを禁止するものであり、後述のようにパーソナルコンピュータ2から送られた試聴用演奏データの書き込みなど、電子オルガン1の内部処理では必要に応じて書き込みが行われる。
【0052】
以上のステップS11〜S15の各設定を行った後の状態が「試聴モード」であり、この試聴モードでは受信する試聴用演奏データを外部に出力することができなくなる。なお、上記表示部の試聴モード画面は例えば図4(B) と同様な画面であり、これにより電子オルガン1側でも試聴モードに固定されていることを確認することができる。また、この試聴モードでは、試聴用演奏データの内容を変更あるいは編集できないようにすることも好ましい。
【0053】
電子オルガン1はモード固定の処理が終了すると、すなわち、モードの固定が完了すると図9のキー生成の処理を開始する。まず、ステップS21で特定長のランダムな数を生成し、ステップS22で、この生成した数が以前に生成された数でないか否かを判定し、以前に生成された数であればステップS21に戻り、以前に生成された数でなければ、ステップS23で、生成した数を再暗号化用のキーとしてパーソナルコンピュータ2に送る。そして、ステップS24で、生成したキーを復号化のために保持しておく。なお、以前に生成された数(キー)として記憶されているものは、履歴がある程度古くなったものは順次判定基準から除外してもよい。
【0054】
パーソナルコンピュータ2は、電子オルガン1からのキーを受け取ると、これに応答して、図6の(I) から(II)に相当する、図10の再暗号化(第2暗号化)の処理を行い、ステップS31で、キーの内容に従って、前記復号化(第1復号化)されたMIDI形式の試聴用演奏データの内容を壊して暗号化(第2暗号化)する。次に、パーソナルコンピュータ2は、図6の(II)から(III) に相当する、図11のMIDI化の処理を行い、ステップS41では、図10のステップS31で再暗号化されたデータの一部分を取り出し、ステップS42でその一部分のデータをエクスクルーシブデータに埋め込む。そして、ステップS43でエクスクルーシブデータを電子オルガン1に送り、ステップS44で、再暗号化したデータが全て送られたか判定し、全て送られていなければステップS41以降を繰り返し、全て送られていれば、ステップS45でデータが全て送られたことを電子オルガン1に伝える。
【0055】
電子オルガン1は、パーソナルコンピュータ2からデータの送信が開始されると図12の復号化(第2復号化)の処理を開始し、ステップS51で受信したデータを一時記憶部に記憶し、ステップS52でデータの送信が完了したか否かを判定する。完了していなければステップS51に戻り、完了していればステップS53に進む。すなわち、パーソナルコンピュータ2から送信が完了した旨を受信した後に、次の復号化を行う。ステップS53では受信したデータをデータの順番を表す番号に基づいて正規の順番に並び替え、ステップS54で、全てのエクスクルーシブデータから埋め込まれているデータを取り出してつなぎ合わせる。そして、ステップS55で保持されているキーを使って復号化(第2復号化)する。
【0056】
上記の復号化が終了すると、電子オルガン1は図13の試聴モードの処理を開始し、ステップS61で一時記憶部の試聴用演奏データを再生する。この再生の処理では、試聴用演奏データ中の再生態様データ(レジストレーションデータ)をレジストスイッチに割り当て、さらに試聴用演奏データ中に楽曲データが含まれていれば、その楽曲データに基づいて自動演奏する。次に、ステップS62で(電子オルガン1の)操作パネル上の操作を検出し、ステップS63で、指示された操作がこの試聴モードで禁止されている動作を行うものでないか否かを判定する。禁止されている動作とは一時記憶部の試聴用演奏データのコピーや編集などを行う動作であり、その動作を行う操作は、例えば、試聴モードを解除する操作や試聴用演奏データを外部機器に送信(出力)する操作や試聴用演奏データを電子オルガン1内の別の記憶部に移動させる操作や試聴用演奏データの複製を作る操作や試聴用演奏データの内容を編集する操作である。逆に禁止されていない動作とは鍵盤演奏や再生態様の変更などの試聴用演奏データを使った試聴を行うための動作であり、その動作を行う操作は、例えば、各種の鍵盤の演奏操作や再生態様を変更するためのレジストスイッチの操作や電子オルガン1の電源をオフする操作である。
【0057】
そこで、禁止されているものであれば、その操作を無視してステップS62に戻り、禁止されているものでなければ、ステップS64で指示された操作に対応する動作を行ってステップS65に進む。ステップS65では電源がオフされたか否かを判定し、オフされていなければステップS62に戻り、オフされていればステップS66で一時記憶部のデータ(試聴用演奏データ)を消去して試聴モードの処理を終了する。
【0058】
次に、パーソナルコンピュータ2で試聴終了の指示(図7のステップA12)があると、パーソナルコンピュータ2からモードを解除する指示が電子オルガン1に送られるので、電子オルガン1は図14のモード解除の処理を開始する。まず、ステップS71で一時記憶部のデータを消去し、ステップS72で一時記憶部のデータの外部送信を有効にし、さらにステップS73で一時記憶部のデータの移動を有効にする。次に、ステップS74で表示部に通常モードの画面を表示し、ステップS75で一時記憶部のデータの書き込みを有効にして処理を終了する。これにより、試聴が終わって試聴用演奏データは消去されるとともに電子オルガン1が通常の状態に戻る。
【0059】
以上の処理により、試聴モードでは、レジストスイッチに割り当てられている再生態様データを読み出して、電子オルガン1の再生態様を変更した状態で鍵盤演奏したり、一時記憶部に記憶されている試聴用の楽曲データを自動演奏したりすることができる。その上、一時記憶部にあるデータの外部転送の操作と内容変更の操作が無効になり、試聴用演奏データの不正なコピー等を防止することができる。
【0060】
<購入動作>
図15は実施形態における購入動作を行う場合のサーバ4、パーソナルコンピュータ2及び電子オルガン1の処理を示す図である。パーソナルコンピュータ2のステップA12(図7)の処理で試聴の終了が指示されると、パーソナルコンピュータ2では図4(A) の初期画面に戻る。そこで、初期画面で所望の曲(例えば試聴した曲)を選択して購入の操作子SW1を操作して購入を要求する(ステップB1)。これにより、サーバ4は課金を行う処理をし(ステップB2)、購入用演奏データを暗号化(第1暗号化)してパーソナルコンピュータ2に送信する(ステップB3)。そして、パーソナルコンピュータ2は送信されたデータを受信して復号化する(ステップB4)。
【0061】
復号化が済むと、パーソナルコンピュータ2と電子オルガン1は、ステップB5,B6で図16の確認動作の処理を行い、電子オルガン1においてフロッピィディスク(記憶部)の用意ができているかを確認する。図16の確認動作の処理では、パーソナルコンピュータ2において、ステップS81で、電子オルガン1に対してフロッピィディスクが挿入されているかの確認の指示を送る。これにより、電子オルガン1は、ステップS82でフロッピィディスクが挿入されているかを判定し、ステップS83で判定結果を状態情報としてパーソナルコンピュータ2に伝える。パーソナルコンピュータ2では、ステップS84で挿入されているか否かを判定し、挿入されていなければ、ステップS85でフロッピィディスクを電子オルガン1に挿入するように促す表示等を行い、ステップS81に戻る。
【0062】
ステップS81〜S85のループはフロッピィディスクが挿入されるまで繰り返され、定期的に挿入を確認することになる。なお、この例では、フロッピィディスクの挿入を定期的に確認するようにしているが、フロッピィディスクを挿入するように促す画面を表示し、この画面上にあるOKスイッチを押したとき(クリックしたとき)だけフロッピィディスクの挿入を再確認するようにしてもよい。
【0063】
フロッピィディスクが挿入されていれば、ステップS86でフロッピィディスクが未フォーマット状態かの確認の指示を電子オルガン1に送る。これにより、電子オルガン1は、ステップS87でフロッピィディスクのフォーマット状態を判定し、ステップS88で未フォーマットであればフロッピィディスクをフォーマットする。そして、ステップS89でフォーマットが完了していることを状態情報としてパーソナルコンピュータ2に伝える。次に、パーソナルコンピュータ2は、ステップS801で、電子オルガン1に対してフロッピィディスクに空き領域があるかの確認の指示を送る。なお、このとき、購入用演奏データを記録するのに必要な容量のデータも同時に送る。
【0064】
これにより、電子オルガン1は、ステップS802でフロッピィディスクに空き領域があるか否かを判定し、ステップS803で判定結果を状態情報としてパーソナルコンピュータ2に伝える。パーソナルコンピュータ2では、ステップS804で空き領域があるか否かを判定し、空き領域がなければ、ステップS805でフロッピィディスクに空き領域を作るように促す表示等を行い、ステップS801に戻る。フロッピィディスクに空き領域があれば、図15のステップB7に進んで購入動作に戻る。なお、このステップS801〜S805のループも空き領域が作られるまで繰り返されるが、空き領域を作るように促す画面を表示し、この画面上にあるOKスイッチを押したとき(クリックしたとき)だけ空き領域の有無を再確認するようにしてもよい。
【0065】
図15のステップB7〜B12の処理は、図7のステップA5〜A10(図8〜図12)における前記試聴用演奏データについての処理と同様な処理を購入用演奏データについて行うものであり、詳細な説明は省略するが、これらの処理により、購入用演奏データをフロッピィディスクに記録してモードを解除するまでは、前記同様に一時記憶部のデータの外部送信の禁止、一時記憶部のデータの移動の禁止、一時記憶部のデータの書き込みの禁止が設定される。
【0066】
電子オルガン1においてステップB12で復号化が終了すると、ステップB13で、復号された購入用演奏データをフロッピィディスク(記憶部)に書き込み、ステップSB14でフロッピィディスク(記憶部)にプロテクトを施して処理を終了する。このプロテクトはフロッピィディスクからの購入用演奏データのコピー(複製)を禁止する処理であり、公知の技術を適用できる。
【0067】
一方、パーソナルコンピュータ2では、ステップB11のMIDI化の処理により再暗号化されたデータを全て電子オルガン1に送り終えると、電子オルガン1に対してモードを解除する指示を送り(ステップB15)、電子オルガン1はこの指示を受けてモード解除の処理を行う(ステップA16)。なお、ステップA16のモード解除の処理も前掲の図14と同様であり、このモード解除の処理により、一時記憶部の購入用演奏データは消去されるとともに電子オルガン1が通常の状態に戻る。
【0068】
以上の処理により、フロッピィディスクの有無、フォーマット状態、空き領域の有無を自動的に確認することができ、配信された演奏データを確実に取得することができる。また、パーソナルコンピュータ2から電子オルガン1に演奏データを送信するとき、パーソナルコンピュータ2で再暗号化して送信し、電子オルガン1でキーを用いて再復号化しなければ演奏データとして有効にならないので、パーソナルコンピュータ2からMIDIケーブルを介して出力されるデータはそのままでは演奏データとして利用できず、不正使用等を防止することができる。
【0069】
なお、実施形態の購入動作(図15)では、パーソナルコンピュータ2のMIDI化の処理(ステップB11)で全てのデータを送り終えたらモードの解除を指示するようにしているが、電子オルガン1においてフロッピィディスクのプロテクトまで完了した後に、この電子オルガン1からパーソナルコンピュータ2に対してモードを解除する要求を出し、これを受けてパーソナルコンピュータ2がモードの解除を指示するようにしてもよい。
【0070】
実施形態ではサーバ4に試聴用演奏データが記憶されているが、試聴用演奏データを用意しておかないで、試聴の要求が合ったときに、購入用演奏データから特定の情報を削除したものを試聴用演奏データとして作成し、これを試聴用に配信するようにしてもよい。
【0071】
また、試聴モードの設定指示は、パーソナルコンピュータからではなく、サーバからパーソナルコンピュータを介して電子オルガンに出すようにしてもよい。このようにすると、試聴用演奏データの提供者がその演奏データを確実に保護することができる。
【0072】
また、パーソナルコンピュータがサイトに接続したときに、電子オルガンを試聴モードに設定し、サイトから抜け出すか電子オルガンもしくはパーソナルコンピュータの電源を切るまで、試聴モードを解除しないで継続するようにすることもできる。
【0073】
また、フロッピィディスクの確認動作の前に、電子オルガンが接続されていることを確認して、接続されていなければ電子オルガンの接続を促すようにするとよい。そして、電子オルガンの接続が確認された後にフロッピィディスクの確認動作を行うようにしてもよい。
【0074】
また、実施形態では、フロッピィディスクの有無、フォーマット状態、空き領域の有無の判定結果を、逐一パーソナルコンピュータに送るようにしているが、これら複数の確認内容を一度に判定してその判定結果を状態情報として一度にパーソナルコンピュータに送るようにしてもよい。
【0075】
実施形態では、記憶部としてフロッピィディスクを対象とする場合について説明したが、電子オルガンに複数種類の記憶部がある場合、どの記憶部に購入用演奏データを記録するかを選択できるようにしてもよい。選択方法は、パーソナルコンピュータ上でユーザが選択する方法、電子オルガン上でユーザが選択する方法、パーソナルコンピュータが自動的に選択する方法、電子オルガンが自動的に選択する方法のいずれでもよい。電子オルガンで選択した場合、選択された記憶部がどれであるかをパーソナルコンピュータに連絡し、その記憶部を購入用演奏データを格納する記憶部として前記同様な確認動作及び購入動作を行う。
【0076】
また、サーバからパーソナルコンピュータに演奏データを送るときに掛けられる暗号化と、パーソナルコンピュータから電子オルガンに演奏データを送るときに掛けられる暗号化は、それぞれ、暗号化の結果として作成されるデータが、サーバとパーソナルコンピュータの間、パーソナルコンピュータと電子オルガンの間の通信経路を伝達可能な形式となるものであれば、暗号化の方法はどのような方法であってもよい。なお、実施形態の方法は処理のやり易さと保護の確実性という点で好ましい方法の一つである。
【0077】
パーソナルコンピュータでの暗号化は、1ファイル全てのデータを暗号化するものに限らず、MIDI端子で出力できる形式であって、出力されるデータを単純に再生するだけでは元の演奏データを再現できない形式となるものであればよい。例えば、1ファイル分の演奏データの一部だけをキーを使って暗号化してエクスクルーシブデータに埋め込んで送信し、その他のデータはそのまま送信するような方法でもよい。
【0078】
サーバに電子オルガンを直接つなぐ場合には、前記パーソナルコンピュータの動作を電子オルガンが行ってもサーバが行ってもどちらでもよい。この場は、再暗号化は不要となる。サーバはパーソナルコンピュータが行っていた暗号化を行って演奏データを電子オルガンに送るようにしてもよいし、電子オルガンにサーバの行っていた暗号化により暗号化されたデータを受信できるインターフェースを持たせ、パーソナルコンピュータが行っていた復号化を電子オルガン側で行うようにしてもよい。そして、この場合、確認動作のうちの前記パーソナルコンピュータが行っていた部分はサーバが行う。すなわち、サーバが電子オルガンに対して記憶部(例えばフロッピィディスク)の状態を確認する指示を送り、電子オルガンが前記同様な記憶部の状態情報をサーバに送るようにする。また、サーバは必要に応じて、電子オルガンに対して、記憶部を演奏データを記憶できる状態に設定するように促す表示等を行う。
【0079】
以上の例では、サーバに接続される演奏データ転送制御装置としてパーソナルコンピュータを例に説明したが、この演奏データ転送制御装置として第1の電子楽器をサーバに直接接続し、さらにこの第1の電子楽器に他の電子楽器を接続する場合する場合には、第1の電子楽器に前記パーソナルコンピュータ2の動作を行わせるようにし、他の電子楽器に前記電子オルガン1の動作をさせればよいことはいうまでもない。この場合、第1の電子楽器にサーバの行っていた暗号化により暗号化されたデータを受信できるインターフェースを持たせてもよい。
【0080】
以上の実施形態では電子オルガンを例に説明したが、電子楽器の形態はどのようなものでもよい。また、演奏データは電子オルガン用の再生態様データ(レジストレーションデータ)を含む場合について説明したが、演奏データは例えば楽曲データだけの形態でもよい。さらに演奏データの形態はどのようなものでもよいことはいうまでもない。
【0081】
【発明の効果】
請求項1の電子楽器または請求項の演奏データ取得プログラムの実行によれば、例えばパーソナルコンピュータから電子楽器に送るデータが外部に流出してもそのままでは演奏データとして利用できなくなるので、パーソナルコンピュータから電子楽器に演奏データを安全に送ることができ、演奏データを不正が扱われるのを防止できる。
【0084】
請求項電子楽器または請求項の演奏データ取得プログラムの実行によれば、例えばパーソナルコンピュータから電子楽器に演奏データを安全に送ることができるとともに、暗号化されたデータを簡単にMIDI端子から送ることができるMIDI規格のデータとすることができるので、演奏データを保護しながらMIDI規格を利用してシステムを容易に構成することができる。
【図面の簡単な説明】
【図1】本発明の実施形態における全体システムの概略図である。
【図2】本発明の実施形態における再生態様データと楽曲データの一例を示す図である。
【図3】本発明の実施形態における電子オルガン及びパーソナルコンピュータのブロック図である。
【図4】本発明の実施形態における初期画面と試聴画面の例を示す図である。
【図5】本発明の実施形態における概略動作とデータ及び指示の流れを概念的に示す図である。
【図6】本発明の実施形態における第2暗号化の概念を示す図である。
【図7】本発明の実施形態における試聴動作を行う場合のサーバ、パーソナルコンピュータ及び電子オルガンの処理手順を示す図である。
【図8】本発明の実施形態におけるモード固定の処理のフローチャートである。
【図9】本発明の実施形態におけるキー生成の処理のフローチャートである。
【図10】本発明の実施形態における再暗号化の処理のフローチャートである。
【図11】本発明の実施形態におけるMIDI化の処理のフローチャートである。
【図12】本発明の実施形態における復号化の処理のフローチャートである。
【図13】本発明の実施形態における試聴モードの処理のフローチャートである。
【図14】本発明の実施形態におけるモード解除の処理のフローチャートである。
【図15】本発明の実施形態における購入動作を行う場合のサーバ、パーソナルコンピュータ及び電子オルガンの処理を示す図である。
【図16】本発明の実施形態における確認動作の処理を示す図である。
【符号の説明】
1…電子オルガン(電子楽器)、2…パーソナルコンピュータ(演奏データ転送制御装置)、3…通信ネットワーク、4…サーバ。
[0001]
BACKGROUND OF THE INVENTION
  The present invention uses a network to perform dataoftransferTheElectronic musical instruments that can perform automatic performances based on performance data, andAndThe present invention relates to a performance data acquisition program.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in the fields of electronic musical instruments and computer music, there are services that distribute performance data used for automatic performance and the like over a network. For example, performance data can be received from a server for a fee using the Internet on a personal computer or the like, and the performance data can be taken into an electronic musical instrument connected to the personal computer. The electronic musical instrument performs various performances or various processes based on the captured performance data. In addition, before purchasing performance data, it is also possible to audition with trial performance data in advance.
[0003]
[Problems to be solved by the invention]
By the way, a personal computer and an electronic musical instrument are often connected with a cable of the MIDI standard that is widely used. Also, the performance data of the MIDI standard is widely used. For this reason, it is necessary to send data from the personal computer to the electronic musical instrument as MIDI standard data from the MIDI terminal, and the performance data is also MIDI standard. I send it to a musical instrument.
[0004]
Therefore, the performance data output from the personal computer can be freely extracted as data that can be used for automatic performance or the like as it is. For this reason, there is a possibility that the performance data for trial listening or the performance data for purchase may be illegally used, and there is a problem from the viewpoint of protecting the copyright of the performance data.
[0005]
It is an object of the present invention to prevent performance data distributed from a server from being illegally handled.
[0006]
[Means for Solving the Problems]
  The electronic musical instrument according to claim 1 is a communication unit that transmits / receives various data to / from an external device, and an instruction from the external device by the communication unit.When there wasKey generation means for generating a new key and transmitting the generated key to the external device; and performance data encrypted by the external device performing bit shift or bit replacement using the generated key. The communication means receives the performance data from the external device and decrypts the performance data by performing bit shift or bit replacement using the generated key, and reproduces the performance data decrypted by the decryption means. And reproducing means.
[0007]
  According to the electronic musical instrument of claim 1 configured as described above, an instruction is given from an external device.When there wasA new key is generated and the generated key is sent to the external device. The external musical instrument uses the key to perform bit shift or bit exchange to obtain encrypted performance data, and the electronic musical instrument receives the performance data from the external device through communication means. Since the performance data is decrypted by performing bit shift or bit replacement using the generated key, even if data sent to the electronic musical instrument from an external device (for example, a personal computer) flows out to the outside, the performance data is played as it is. Cannot be used as data. Therefore, the performance data can be safely sent from the personal computer to the electronic musical instrument, and the performance data can be prevented from being illegally handled. In addition, electronic musical instruments can be instructed from external devices.When there wasSince a new key (different key) is generated, even if the key for decryption leaks, even if one data transfer is damaged, it can be transferred safely with other data transfer. Can be minimized.
[0008]
  The performance data acquisition program according to claim 2 is instructed from an external device by communication means.When there wasA process of generating a new key and sending the generated key to the external device; and the performance data encrypted by the external device performing bit shift or bit replacement using the generated key, A process of receiving the performance data from the external device and decoding the performance data by performing bit shift or bit replacement using the generated key, and a process of reproducing the decrypted performance data According to the performance data acquisition program, the same effect as that of the first aspect can be obtained.
[0012]
  The electronic musical instrument according to claim 3 is a MIDI communication means for transmitting / receiving MIDI standard data to / from an external device via a MIDI cable, and bit-shifting or bit-changing MIDI performance data in the external device. And receiving the MIDI standard exclusive data embedded with the encrypted data from the external device by the MIDI communication means, and bit-shifting or bit-shifting the data embedded in the exclusive data. Decoding means for decoding the performance data in the MIDI format by exchanging; and reproducing means for reproducing the performance data decoded by the decoding means;It is provided with.
[0013]
  Claims configured as above3ofElectronic musical instrumentsAccording toFrom external equipmentThe performance data after encryption is embedded in exclusive data that can handle arbitrary data.ConcernedElectronic musicIn a vesselBecause I sendExternal deviceElectronic music (eg personal computer)In a vesselPerformance data can be sent safely,By means of MIDI communication means for transmitting / receiving MIDI standard data to / from external devices via a MIDI cable,Since the encrypted data can be converted to MIDI standard data that can be easily transmitted from the MIDI terminal, the system can be easily configured using the MIDI standard while protecting performance data.
[0014]
  5. The performance data acquisition program according to claim 4, wherein the MIDI format performance data is encrypted by performing bit shift or bit replacement in an external device, and the MIDI standard exclusive data in which the encrypted data is embedded. Is received from the external device by MIDI communication means, and the data embedded in the exclusive data is decoded into performance data in MIDI format by performing bit shift or bit replacement, and the decoded performance data Is executed by a computer, and the performance and effect similar to the third aspect can be obtained by executing this performance data acquisition program.
[0022]
  Note that the key used for new encryption is generated as a random value, such as a random value.TheHowever, this different content includes a case where the content is different at least for a certain period and a certain number of times.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram of an entire system according to an embodiment of the present invention, and this embodiment is directed to an electronic organ (for example, “Electone (registered trademark)”) as an electronic musical instrument. In the figure, the personal computer is abbreviated as “PC” and the electronic organ is abbreviated as “EL”. The electronic organ 1 is connected to a personal computer 2 as a performance data transfer control device with a MIDI cable. The personal computer 2 is connected to a server 4 (the computer) via a communication network 3 such as the Internet.
[0024]
<Performance data>
The computer of the server 4 has a database, and stores “purchase performance data” and “trial listening performance data” corresponding to each song for a large number of songs. The performance data for purchase and the performance data for trial listening (hereinafter collectively referred to as “performance data”) include “reproduction mode data” and “music data”.
[0025]
The reproduction mode data is data referred to as “registration” or “registration”. As shown in FIG. 2A, for example, data specifying the tone of the first keyboard (lower keyboard) of the electronic organ 1; Data that determines various settings such as the tone and effects of the electronic organ 1, such as data that specifies the effect on the first keyboard, data that specifies the tone of the second keyboard (upper keyboard), and data that specifies the effect on the second keyboard It is. This reproduction mode data is assigned to a registration switch provided on the operation panel when used in the electronic organ 1, and by operating the registration switch, the electronic organ 1 corresponds to the assigned reproduction mode data. It is set to the aspect.
[0026]
Also, for each song, a plurality of reproduction mode data corresponding to the music flow is often used as a set, and in this case, each reproduction mode data is assigned to a plurality of registration switches. Therefore, for example, by operating the registration switch during a keyboard performance (manual performance), it is possible to switch modes such as timbres and effects in the middle of the music according to the music flow. Further, in the automatic performance, the reproduction mode data can be switched in accordance with the instruction data recorded in the performance data, and the tone color and the effect can be automatically switched in accordance with the flow of the automatic performance.
[0027]
The music data is data called “song”, for example, and as shown in FIG. 2 (B), musical sound event data (MIDI event data) corresponding to one musical sound is stored according to the performance timing. is doing. In addition, as described above, data indicating playback mode data set at the time of music playback is also included.
[0028]
Note that there are songs in which both the performance data for purchase and the performance data for trial listening have both reproduction mode data and music data, and there are songs that have only one of them. For example, there is a song that the music data has only in the performance data for trial listening. In this case, only the reproduction mode data (registration) is purchased by the performance data for purchase, and the actual performance of the song is a keyboard performance, etc. Is what you do. In addition, there is a song that has only the playback mode data as performance data for trial listening. In this case, the playback mode is auditioned by setting the playback mode data and playing the keyboard. Furthermore, the playback mode data of the trial performance data may be the same as the playback mode data of the purchase performance data, or may be partially omitted from the playback mode data of the purchase performance data.
[0029]
<Hardware configuration>
The electronic organ 1 and the personal computer 2 are each provided with a basic configuration of a microcomputer including a CPU, an input / output device, a storage device, and the like. For the sake of simplicity, the main parts of both hardware configurations are shown in FIG. Shown in common block diagram. The CPU 10a executes a control program stored in the ROM 10b, the RAM 10c, or the external storage device 10d, and realizes the functions of the electronic organ 1 and the personal computer 2. The timer 10e takes control timing and generates a reproduction clock for automatic performance. A MIDI interface (I / F) 10f exchanges MIDI signals with an external MIDI device 10g. When this block diagram is the electronic organ 1, the MIDI device 10g corresponds to the personal computer 2, and when this block diagram is the personal computer 2, the MIDI device 10g corresponds to the electronic organ 1.
[0030]
In the case of the electronic organ 1, specific examples of each element are as follows. In this embodiment, the external storage device 10d is an FDD (floppy (trademark) disk drive), and purchase performance data purchased upon distribution is stored on a floppy disk as a storage unit. The operation element 10h is a keyboard (lower keyboard, upper keyboard, pedal keyboard), a foot switch, an operation panel switch, or the like, and various operations are detected by the detection circuit 10i. The display unit 10j is a liquid crystal display or the like provided on the operation panel, and is driven through the display circuit 10k.
[0031]
The tone generator circuit 10m generates musical sound signals corresponding to various keyboard operations of the electronic organ 1 according to the set tone color, and outputs them to a sound system 10n such as an amplifier or a speaker to generate musical sounds. When an automatic performance is performed based on the music data, an interrupt process is performed by the timer 10e, the data of various notes in the music data is reproduced, and the note code, touch data, note on / note off, etc. are transmitted to the tone generator circuit 10m. To generate music. The ROM 10b stores a control program (performance data acquisition program on the electronic musical instrument side). Note that the electronic organ 1 alone can be connected to the communication network 3 via the communication interface 10p.
[0032]
In the case of the personal computer 2, specific examples of each element are as follows. The external storage device 10d is an HDD (Hard Disk Drive), FDD, CD-ROM (Compact Disk-Read Only Memory) device, magneto-optical disk (MO) device, digital multipurpose disk (DVD) device, etc., and a control program ( A performance data transfer control program) is downloaded from the server 4 to the external storage device 10d. The operation element 10h is a keyboard, a mouse, or the like, and various operations are detected by the detection circuit 10i. The display unit 10j is a liquid crystal display, a CRT display, or the like, and is driven via the display circuit 10k to display an initial screen and a trial listening screen described later when performance data is purchased. Further, data is exchanged with the server 4 via the communication interface 10p and the communication network 3, and a performance data distribution service used in the electronic organ 1 (MIDI device 10g) is received.
[0033]
<Outline of operation and processing>
FIG. 5 is a diagram conceptually showing the general operation and the flow of data and instructions in the embodiment, and the outline of the operation and processing in the embodiment will be described. The server 4 is a site that provides performance data. When the server 4 is accessed using the browser of the personal computer 2, the server 4 is started up and the site is presented to the personal computer 2, and the performance data is transmitted from the server 4. A transfer control program is downloaded. Simultaneously, HTML file data for screen display is distributed. As a result, the initial screen shown in FIG. Then, while accessing the server 4, the listening operation, purchase operation, and confirmation operation can be executed by operating the controls (screen switches) SW 1, SW 2, SW 3 of this initial screen with a mouse or the like.
[0034]
Therefore, when a desired song is selected on the initial screen and a request for audition is transmitted to the server 4, the HTML file data is sent from the server 4, and the audition screen shown in FIG. 4B is displayed on the personal computer 2. Also, the performance data for trial listening encrypted from the server 4 (first encryption) is sent to the personal computer 2. The personal computer 2 decodes this (first decoding), sends an instruction to the electronic organ 1 to fix the electronic organ 1 as the audition mode, and sends performance data for audition to be sent later to the electronic organ 1. Set to prevent external output.
[0035]
The electronic organ 1 generates a key for re-encryption, and the personal computer 2 newly encrypts performance data for trial listening (second encryption) based on the key. Then, the encrypted data is included in the MIDI standard exclusive data and sent to the electronic organ 1, and the electronic organ 1 extracts the encrypted data from the received exclusive data and decrypts it based on the key (the first data). 2 decoding) to obtain performance data for trial listening. The first encryption method and the second encryption method are different. Each method includes two different data: a data communication standard between the server 4 and the personal computer 2 (data format of data to be transmitted) and a data communication standard between the personal computer 2 and the electronic organ 1. It is suitable for each communication standard. The performance data encrypted by the first encryption is in a data format that can be communicated between the server 4 and the personal computer 2, and the performance data encrypted by the second encryption is the personal computer 2 and the electronic organ 1. It is a data format that can communicate with each other.
[0036]
As described above, the electronic organ 1 can perform an automatic performance or a keyboard performance (that is, a playback mode audition) based on the audition performance data. When the trial listening is finished, when the operation switch SW4 on the trial listening screen of the personal computer 2 is operated, the personal computer 2 sends an instruction to cancel the mode to the electronic organ 1. Thereby, the electronic organ 1 erases the stored performance data for trial listening and cancels the trial listening mode by allowing other data to be output externally.
[0037]
When purchasing the performance data after the above trial listening, the server 4 selects the music (for example, the music that was auditioned) on the initial screen and transmits the purchase request to the server 4. Is encrypted (first encryption) and transmitted to the personal computer 2, and the personal computer 2 decrypts it (first decryption). Then, the personal computer 2 confirms with the electronic organ 1 whether the floppy disk is ready. Corresponding to this, the electronic organ 1 sends a result (status information) to the personal computer 2 after formatting the floppy disk and securing a free space if necessary. When free space is secured on the formatted floppy disk, the personal computer 2 moves to an operation of transmitting purchase performance data.
[0038]
The operation for transmitting the performance data for purchase is the same as that for the performance data for auditioning, instructing the electronic organ 1 to fix the mode, generating a key in the electronic organ 1, and re-encrypting the data in the personal computer 2 (first encryption). 2 encryption) and MIDI processing, and decryption processing in the electronic organ 1. Then, the performance data for purchase decrypted in the electronic organ 1 is written to the storage unit (floppy disk) and protected, and thereafter, the mode fixed state of the electronic organ 1 is released as in the case of the performance data for trial listening. .
[0039]
<Second encryption>
FIG. 6 is a diagram showing the concept of second encryption performed by the personal computer 2. As shown in (I), the performance data for one file (one song) distributed and decoded from the server 4 is in the MIDI format or the like, and predetermined event data for reproducing the song is stored in order. Is. Each (I) circle represents each event data (timing data, MIDI event data, etc.), and each data is stored in the order of processing. The original performance data cannot be reproduced by the normal reading method (the method of reading the bit string in order from the beginning of the file) using the key to receive the data string of one file from the electronic organ 1 in (I). Converting to a data string (re-encrypting) and processing the converted data string into a data format that can be sent to the electronic organ 1 (converting to MIDI) is called second encryption.
[0040]
As the conversion method, the data sequence (bit sequence) of (I) is converted to a new data sequence by shifting the data sequence (bit sequence) forward or backward by the amount represented by the key received from the electronic organ 1 (in the beginning). (The data is shifted to the end, and the last data is shifted to the beginning.) Of the data sequence (I), the data sequence (bit sequence) of the portion represented by the key received from the electronic organ 1 is in the order of replacement represented by the key. There is a method of converting to a new data string by replacing. As shown in (II), the data string (I) whose contents have been destroyed by these conversion methods is a series of broken data that cannot be reproduced by the normal reading method.
[0041]
Then, as shown in (III), the data string of (II) is extracted in order of a predetermined length (for a predetermined number of bits) from the top, and the extracted data and a number indicating the order of extraction are set as message contents. And is sent to the electronic organ 1 after being processed into the exclusive data (representing the system exclusive message data of the MIDI standard). This creation and transmission process is repeated until all data is extracted from the data string (II). In the electronic organ 1, the data received from the personal computer 2 is restored to the original performance data by the reverse procedure (second decoding).
[0042]
The second encrypted data is encrypted as being suitable for a transmission path independent of the transmission path by the communication network 3 between the personal computer 2 and the server 4. That is, each encrypted data is embedded in the MIDI standard exclusive data, and is data suitable for a transmission path by the MIDI cable between the electronic organ 1 and the personal computer 2.
[0043]
<Audition operation>
FIG. 7 is a diagram illustrating a processing procedure of the server 4, the personal computer 2, and the electronic organ 1 when performing the trial listening operation in the embodiment. Note that the following auditioning operation, purchase operation described later, and processing shown in the flowcharts described later correspond to a “performance data transfer control program” in the personal computer 2 and a “performance data acquisition program” in the electronic organ 1.
[0044]
Before the processing of FIG. 7, the personal computer 2 is connected to the server 4 via the communication network 3. The performance data transfer control program is downloaded from the server 4 to the personal computer 2, and an initial screen (FIG. 4A) is displayed.
[0045]
First, since the music list N (FIG. 4A) is displayed on the initial screen, the desired music is selected and the test listening switch SW2 is operated, and the personal computer 2 requests the server 4 for the test listening. (Step A1 in FIG. 7). As a result, the server 4 reads out the performance data for trial listening of the requested music from the database, encrypts the performance data for trial listening in MIDI format under a predetermined condition (first encryption), and sends it to the personal computer 2. Send (step A2). Note that the first encryption is the same as in the prior art, and the data after encryption is in a format that can be transmitted over the line of the communication network 3. The server 4 also transmits an HTML file for displaying a preview screen.
[0046]
Next, the personal computer 2 displays a trial listening screen (FIG. 4B) based on the HTML file (step A3), and the data transmitted from the server 4 is decoded into MIDI performance data for trial listening (first step). 1 decoding) (step A4). Then, an instruction for fixing the mode is sent to the electronic organ 1 (step A5).
[0047]
In response to the instruction from the personal computer 2, the electronic organ 1 performs a mode fixing process, which will be described later, shown in FIG. 8, and sets so that the performance data for trial listening received thereafter cannot be output to the outside (step A6). . Next, a key generation process shown in FIG. 9 is performed to newly generate a key for encrypting trial performance data supplied from the personal computer 2 (second encryption), and the key is stored in the personal computer 2. (Step A7).
[0048]
When the personal computer 2 receives the key, it performs the re-encryption process shown in FIG. 10 and encrypts the performance data for one file (one song) as described above according to the key (second encryption). (Step A8). Then, the MIDI processing shown in FIG. 11 is performed, and the encrypted data is inserted into the exclusive data and sent to the electronic organ 1 (step A9).
[0049]
Next, the electronic organ 1 performs the decryption process shown in FIG. 12, receives all the exclusive data for one file from the personal computer 2, and decrypts it into performance data for trial listening (second decryption) ( Step A10). Then, the process of the trial listening mode shown in FIG. 13 is performed to reproduce the decoded performance data for trial listening (step A11). That is, operations other than output to the outside of the electronic organ 1 are processed as usual.
[0050]
On the other hand, the personal computer 2 detects the operation of the operation switch SW4 at the end of the trial listening screen (FIG. 4B), monitors whether there is an instruction to end the trial listening (step A12), and instructs to end the trial listening. If there is, an instruction to cancel the mode is sent to the electronic organ 1 (step A13). Then, the electronic organ 1 performs the mode release processing shown in FIG. 14 to erase the performance data for trial listening in the memory so that data written to the memory thereafter can be output to the outside (step A14). .
[0051]
Next, specific processing of steps A6 to A11 and A14 will be described based on the flowcharts of FIGS. When the electronic organ 1 receives an instruction for fixing the mode from the personal computer 2 (step A6), the electronic organ 1 starts the mode fixing process of FIG. 8 in response thereto. First, in step S11, data in the temporary storage unit preset in the RAM 10c or the like is erased, external transmission of the data in the temporary storage unit is prohibited in step S12, and data in the temporary storage unit is moved in step S13. Ban. Next, in step S14, the display on the display unit (10j in FIG. 3) is set to the trial listening mode screen so that it cannot be changed to another screen, and in step S15, writing of data in the temporary storage unit is prohibited. The write prohibition of the temporary storage unit is a prohibition of writing by an external operation for editing the performance data for trial listening in the temporary storage unit using the operation element 10h of the electronic organ 1 or the like. In the internal processing of the electronic organ 1 such as writing of performance data for trial listening sent from the personal computer 2, writing is performed as necessary.
[0052]
The state after each setting of the above steps S11 to S15 is the “trial listening mode”, and in this trial listening mode, the received performance data for trial listening cannot be output to the outside. Note that the preview mode screen of the display unit is the same as that shown in FIG. 4B, for example, and it is possible to confirm that the electronic organ 1 is also fixed to the audition mode. In this audition mode, it is preferable that the contents of the performance data for audition cannot be changed or edited.
[0053]
The electronic organ 1 starts the key generation process of FIG. 9 when the mode fixing process is completed, that is, when the mode fixing is completed. First, in step S21, a random number having a specific length is generated. In step S22, it is determined whether or not the generated number is a previously generated number. If it is a previously generated number, the process proceeds to step S21. Returning to step S23, if the number is not previously generated, the generated number is sent to the personal computer 2 as a key for re-encryption. In step S24, the generated key is held for decryption. In addition, what is stored as a previously generated number (key) may be sequentially excluded from the determination criteria when the history is somewhat out of date.
[0054]
When the personal computer 2 receives the key from the electronic organ 1, in response to this, the personal computer 2 performs the re-encryption (second encryption) processing of FIG. 10 corresponding to (I) to (II) of FIG. In step S31, in accordance with the contents of the key, the contents of the performance data for trial listening in the MIDI format that has been decrypted (first decryption) are broken and encrypted (second encryption). Next, the personal computer 2 performs the MIDI conversion processing of FIG. 11 corresponding to (II) to (III) of FIG. 6, and in step S41, a part of the data re-encrypted in step S31 of FIG. In step S42, a part of the data is embedded in the exclusive data. Then, in step S43, the exclusive data is sent to the electronic organ 1, and in step S44, it is determined whether all the re-encrypted data has been sent. If not all the data has been sent, step S41 and subsequent steps are repeated. In step S45, the electronic organ 1 is informed that all data has been sent.
[0055]
When the transmission of data from the personal computer 2 is started, the electronic organ 1 starts the decoding (second decoding) process of FIG. 12, stores the data received in step S51 in the temporary storage unit, and performs step S52. To determine whether the data transmission is completed. If not completed, the process returns to step S51, and if completed, the process proceeds to step S53. That is, after receiving from the personal computer 2 that transmission has been completed, the next decoding is performed. In step S53, the received data is rearranged in the normal order based on the number representing the data order, and in step S54, the embedded data is extracted from all the exclusive data and connected. Then, decryption (second decryption) is performed using the key held in step S55.
[0056]
When the above decoding is completed, the electronic organ 1 starts the process of the trial listening mode in FIG. 13, and reproduces the performance data for trial listening in the temporary storage unit in step S61. In this playback process, playback mode data (registration data) in the performance data for trial listening is assigned to the registration switch, and if music data is included in the performance data for trial listening, automatic performance is performed based on the music data. To do. Next, an operation on the operation panel (of the electronic organ 1) is detected in step S62, and in step S63, it is determined whether or not the instructed operation is an operation that is prohibited in this audition mode. The prohibited operation is an operation to copy or edit the performance data for audition in the temporary storage unit.For example, the operation to cancel the audition mode or the performance data for audition to the external device This is an operation to transmit (output), an operation to move the performance data for trial listening to another storage unit in the electronic organ 1, an operation to make a copy of the performance data for trial listening, or an operation to edit the content of the performance data for trial listening. On the other hand, operations that are not prohibited are operations for performing audition using performance data for audition such as playing a keyboard or changing the playback mode. An operation of a registration switch for changing the reproduction mode and an operation of turning off the power of the electronic organ 1 are performed.
[0057]
If it is prohibited, the operation is ignored and the process returns to step S62. If not prohibited, the operation corresponding to the operation instructed in step S64 is performed, and the process proceeds to step S65. In step S65, it is determined whether or not the power is turned off. If it is not turned off, the process returns to step S62. If it is turned off, data in the temporary storage unit (trial listening performance data) is erased in step S66 and the audition mode is set. The process ends.
[0058]
Next, when there is an instruction to end the trial listening on the personal computer 2 (step A12 in FIG. 7), an instruction to cancel the mode is sent from the personal computer 2 to the electronic organ 1, so that the electronic organ 1 cancels the mode cancellation in FIG. Start processing. First, the data in the temporary storage unit is erased in step S71, external transmission of the data in the temporary storage unit is enabled in step S72, and the movement of the data in the temporary storage unit is enabled in step S73. Next, a normal mode screen is displayed on the display unit in step S74, and writing of data in the temporary storage unit is enabled in step S75, and the process ends. As a result, the trial listening is completed and the performance data for trial listening is erased, and the electronic organ 1 returns to the normal state.
[0059]
Through the above processing, in the audition mode, the playback mode data assigned to the registration switch is read, and the keyboard performance is performed with the playback mode of the electronic organ 1 changed, or the trial mode stored in the temporary storage unit is used. Music data can be played automatically. In addition, the external transfer operation and the content change operation of the data in the temporary storage unit are invalidated, and illegal copying of the trial performance data can be prevented.
[0060]
<Purchase action>
FIG. 15 is a diagram illustrating processing of the server 4, the personal computer 2, and the electronic organ 1 when performing a purchase operation in the embodiment. When the end of the trial listening is instructed in the process of step A12 (FIG. 7) of the personal computer 2, the personal computer 2 returns to the initial screen of FIG. 4 (A). Therefore, a desired song (for example, a song that was auditioned) is selected on the initial screen, and the purchase operator SW1 is operated to request purchase (step B1). As a result, the server 4 performs a billing process (step B2), encrypts the performance data for purchase (first encryption), and transmits it to the personal computer 2 (step B3). The personal computer 2 receives and decodes the transmitted data (step B4).
[0061]
When the decryption is completed, the personal computer 2 and the electronic organ 1 perform the confirmation operation shown in FIG. 16 in steps B5 and B6 to confirm whether the electronic organ 1 has a floppy disk (storage unit) ready. In the confirmation operation process of FIG. 16, in the personal computer 2, in step S81, an instruction to confirm whether a floppy disk is inserted is sent to the electronic organ 1. Thereby, the electronic organ 1 determines whether or not a floppy disk is inserted in step S82, and transmits the determination result to the personal computer 2 as state information in step S83. The personal computer 2 determines whether or not it is inserted in step S84. If it is not inserted, in step S85, a display prompting the user to insert the floppy disk into the electronic organ 1 is performed, and the process returns to step S81.
[0062]
The loop of steps S81 to S85 is repeated until the floppy disk is inserted, and the insertion is periodically confirmed. In this example, the insertion of a floppy disk is checked periodically, but when a screen prompting to insert a floppy disk is displayed and the OK switch on this screen is pressed (clicked) ), The insertion of the floppy disk may be reconfirmed.
[0063]
If a floppy disk is inserted, an instruction to confirm whether the floppy disk is unformatted is sent to the electronic organ 1 in step S86. Thereby, the electronic organ 1 determines the formatting state of the floppy disk in step S87, and formats the floppy disk if it is unformatted in step S88. In step S89, the personal computer 2 is notified of the completion of formatting as status information. Next, in step S801, the personal computer 2 sends an instruction to the electronic organ 1 to confirm whether there is a free area on the floppy disk. At this time, data of a capacity necessary for recording the performance data for purchase is also sent at the same time.
[0064]
Accordingly, the electronic organ 1 determines whether or not there is a free area on the floppy disk in step S802, and transmits the determination result to the personal computer 2 as status information in step S803. In step S804, the personal computer 2 determines whether or not there is a free area. If there is no free area, the personal computer 2 displays a message prompting to create a free area on the floppy disk in step S805 and returns to step S801. If there is free space on the floppy disk, the process proceeds to step B7 in FIG. 15 to return to the purchase operation. The loop of steps S801 to S805 is repeated until an empty area is created, but a screen prompting to create an empty area is displayed, and only when the OK switch on this screen is pressed (clicked). The presence or absence of the area may be reconfirmed.
[0065]
The processing in steps B7 to B12 in FIG. 15 is the same as the processing for the trial performance data in steps A5 to A10 (FIGS. 8 to 12) in FIG. However, until the mode is canceled by recording the performance data for purchase on the floppy disk by these processes, the external transmission of the data in the temporary storage unit is prohibited, the data in the temporary storage unit is Prohibition of movement and prohibition of writing data in the temporary storage unit are set.
[0066]
When decryption is completed at step B12 in the electronic organ 1, the decrypted performance data for purchase is written to the floppy disk (storage unit) at step B13, and the floppy disk (storage unit) is protected at step SB14 for processing. finish. This protection is processing for prohibiting copying (duplication) of performance data for purchase from a floppy disk, and a known technique can be applied.
[0067]
On the other hand, when the personal computer 2 finishes sending all the data re-encrypted by the MIDI conversion process in step B11 to the electronic organ 1, it sends an instruction to cancel the mode to the electronic organ 1 (step B15). In response to this instruction, the organ 1 performs a mode release process (step A16). Note that the mode canceling process in step A16 is the same as that shown in FIG. 14 described above. By this mode canceling process, the performance data for purchase in the temporary storage unit is erased and the electronic organ 1 returns to the normal state.
[0068]
With the above processing, the presence / absence of a floppy disk, the format state, and the presence / absence of a free area can be automatically confirmed, and the distributed performance data can be reliably acquired. Further, when performance data is transmitted from the personal computer 2 to the electronic organ 1, it is not encrypted as performance data unless it is re-encrypted and transmitted by the personal computer 2 and re-decrypted using the key by the electronic organ 1. Data output from the computer 2 via the MIDI cable cannot be used as performance data as it is, and unauthorized use can be prevented.
[0069]
In the purchase operation of the embodiment (FIG. 15), the mode release is instructed when all the data has been sent in the MIDI conversion process (step B11) of the personal computer 2. After completion of the disk protection, the electronic organ 1 may issue a request to cancel the mode to the personal computer 2, and the personal computer 2 may instruct to cancel the mode in response to the request.
[0070]
In the embodiment, the performance data for audition is stored in the server 4, but when the request for audition is met without preparing the performance data for audition, specific information is deleted from the performance data for purchase. May be created as performance data for trial listening and distributed for trial listening.
[0071]
Also, the setting instruction for the trial listening mode may be issued from the server to the electronic organ via the personal computer instead of from the personal computer. In this way, the provider of the performance data for trial listening can reliably protect the performance data.
[0072]
Also, when the personal computer connects to the site, the electronic organ can be set to the audition mode so that the audition mode can be continued without exiting the site or turning off the electronic organ or the personal computer. .
[0073]
Further, it is preferable to confirm that the electronic organ is connected before checking the floppy disk, and to prompt the connection of the electronic organ if not connected. Then, the confirmation operation of the floppy disk may be performed after the connection of the electronic organ is confirmed.
[0074]
Further, in the embodiment, the determination result of the presence / absence of a floppy disk, the format state, and the presence / absence of a free space is sent to the personal computer one by one. Information may be sent to a personal computer at a time.
[0075]
In the embodiment, the case where a floppy disk is targeted as the storage unit has been described. However, when there are a plurality of types of storage units in the electronic organ, it is possible to select which storage unit to record the performance data for purchase. Good. The selection method may be any of a method that the user selects on the personal computer, a method that the user selects on the electronic organ, a method that the personal computer automatically selects, and a method that the electronic organ automatically selects. When the electronic organ is selected, the personal computer is informed of the selected storage unit, and the same confirmation operation and purchase operation are performed using the storage unit as a storage unit for storing performance data for purchase.
[0076]
In addition, the encryption applied when sending performance data from the server to the personal computer and the encryption applied when sending performance data from the personal computer to the electronic organ are data created as a result of encryption, Any encryption method may be used as long as the communication path can be transmitted between the server and the personal computer and between the personal computer and the electronic organ. Note that the method of the embodiment is one of the preferable methods in terms of ease of processing and reliability of protection.
[0077]
Encryption on a personal computer is not limited to encrypting all the data of one file, but is a format that can be output at a MIDI terminal, and the original performance data cannot be reproduced simply by reproducing the output data. Any form can be used. For example, only a part of performance data for one file may be encrypted using a key, embedded in exclusive data, and transmitted, and other data may be transmitted as it is.
[0078]
When the electronic organ is directly connected to the server, the operation of the personal computer may be performed by either the electronic organ or the server. In this case, re-encryption is unnecessary. The server may perform the encryption performed by the personal computer and send the performance data to the electronic organ, or the electronic organ may have an interface that can receive the data encrypted by the encryption performed by the server. The decryption performed by the personal computer may be performed on the electronic organ side. In this case, the server performs the part of the confirmation operation that was performed by the personal computer. That is, the server sends an instruction for confirming the state of the storage unit (for example, a floppy disk) to the electronic organ, and the electronic organ sends the same state information of the storage unit to the server. In addition, the server displays, for example, a prompt for the electronic organ to set the storage unit in a state where performance data can be stored.
[0079]
In the above example, a personal computer has been described as an example of the performance data transfer control device connected to the server. However, as the performance data transfer control device, the first electronic musical instrument is directly connected to the server, and the first electronic musical instrument is further connected. When another electronic musical instrument is connected to the musical instrument, the first electronic musical instrument may be operated by the personal computer 2 and the other electronic musical instrument may be operated by the electronic organ 1. Needless to say. In this case, the first electronic musical instrument may be provided with an interface capable of receiving data encrypted by the encryption performed by the server.
[0080]
In the above embodiment, the electronic organ has been described as an example, but any form of electronic musical instrument may be used. Moreover, although the case where performance data included the reproduction | regeneration aspect data (registration data) for electronic organs was demonstrated, performance data may be a form only of music data, for example. Furthermore, it goes without saying that any form of performance data may be used.
[0081]
【The invention's effect】
  Claim 1Electronic musical instrumentsOr claims2Performance dataGetAccording to the execution of the program, for example, electronic music can be transmitted from a personal computer.In a vesselEven if the data to be sent leaks outside, it cannot be used as performance data as it is.In a vesselThe performance data can be sent safely, and the performance data can be prevented from being handled illegally.
[0084]
  Claim3ofElectronic musical instrumentsOr claims4Performance dataGetAccording to the execution of the program, for example, electronic music can be transmitted from a personal computer.In a vesselPerformance data can be sent safely, and encrypted data can be easily sent from the MIDI terminal as MIDI standard data, so the system can be used to protect performance data while using the MIDI standard. Can be configured easily.
[Brief description of the drawings]
FIG. 1 is a schematic diagram of an overall system in an embodiment of the present invention.
FIG. 2 is a diagram showing an example of reproduction mode data and music data in the embodiment of the present invention.
FIG. 3 is a block diagram of an electronic organ and a personal computer according to an embodiment of the present invention.
FIG. 4 is a diagram showing an example of an initial screen and a trial listening screen in the embodiment of the present invention.
FIG. 5 is a diagram conceptually showing a schematic operation and a flow of data and instructions in the embodiment of the present invention.
FIG. 6 is a diagram showing a concept of second encryption in the embodiment of the present invention.
FIG. 7 is a diagram showing a processing procedure of a server, a personal computer, and an electronic organ when performing a trial listening operation in the embodiment of the present invention.
FIG. 8 is a flowchart of a mode fixing process in the embodiment of the present invention.
FIG. 9 is a flowchart of key generation processing according to the embodiment of the present invention.
FIG. 10 is a flowchart of re-encryption processing according to the embodiment of the present invention.
FIG. 11 is a flowchart of MIDI processing according to the embodiment of the present invention.
FIG. 12 is a flowchart of a decoding process in the embodiment of the present invention.
FIG. 13 is a flowchart of processing in a trial listening mode in the embodiment of the present invention.
FIG. 14 is a flowchart of mode release processing according to the embodiment of the present invention.
FIG. 15 is a diagram showing processing of a server, a personal computer, and an electronic organ when performing a purchase operation in the embodiment of the present invention.
FIG. 16 is a diagram showing processing of a confirmation operation in the embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Electronic organ (electronic musical instrument), 2 ... Personal computer (performance data transfer control apparatus), 3 ... Communication network, 4 ... Server.

Claims (4)

外部機器との間で各種データを送受信する通信手段と、
前記通信手段にて前記外部機器から指示があったとき、新たなキーを生成して、当該外部機器へ当該生成したキーを送るキー生成手段と、
前記外部機器が前記生成したキーを用いてビットシフトまたはビット入替えを行うことによって暗号化した演奏データを、前記通信手段にて前記外部機器から受け取って、当該演奏データを前記生成したキーを用いてビットシフトまたはビット入替えを行って復号化する復号手段と、
前記復号手段で復号された演奏データを再生する再生手段と、
を備えたことを特徴とする電子楽器。
A communication means for transmitting / receiving various data to / from an external device;
When there is an instruction from the external device in the communication unit, a key generation unit that generates a new key and sends the generated key to the external device;
The performance data encrypted by the external device by performing bit shift or bit replacement using the generated key is received from the external device by the communication means, and the performance data is received using the generated key. Decoding means for decoding by performing bit shift or bit substitution;
Reproducing means for reproducing the performance data decoded by the decoding means;
An electronic musical instrument characterized by comprising:
通信手段にて外部機器から指示があったとき、新たなキーを生成して、当該外部機器へ当該生成したキーを送る処理と、
前記外部機器が前記生成したキーを用いてビットシフトまたはビット入替えを行うことによって暗号化した演奏データを、前記通信手段にて前記外部機器から受け取って、当該演奏データを前記生成したキーを用いてビットシフトまたはビット入替えを行って復号化する処理と、
前記復号された演奏データを再生する処理と、
をコンピュータで実行するための演奏データ取得プログラム。
When there is an instruction from the external device in the communication means, processing to generate a new key and send the generated key to the external device;
The performance data encrypted by the external device by performing bit shift or bit replacement using the generated key is received from the external device by the communication means, and the performance data is received using the generated key. Decoding by performing bit shift or bit substitution,
Processing to reproduce the decoded performance data;
Performance data acquisition program for running on a computer.
MIDIケーブルを介して外部機器との間でMIDI規格のデータを送受信するMIDI通信手段と、
前記外部機器において、MIDI形式の演奏データをビットシフトまたはビット入替えを行うことにより暗号化して、当該暗号化された後のデータが埋め込まれたMIDI規格のエクスクルーシブデータを、前記MIDI通信手段にて前記外部機器から受け取って、当該エクスクルーシブデータに埋め込まれたデータをビットシフトまたはビット入替えを行うことによりMIDI形式の演奏データへ復号化する復号手段と、
前記復号手段で復号された演奏データを再生する再生手段と、
を備えたことを特徴とする電子楽器。
MIDI communication means for transmitting / receiving MIDI standard data to / from an external device via a MIDI cable;
In the external device, the performance data in the MIDI format is encrypted by performing bit shift or bit replacement, and the MIDI standard exclusive data in which the encrypted data is embedded is transmitted by the MIDI communication means. Decoding means that receives data from an external device and decodes the data embedded in the exclusive data into performance data in MIDI format by performing bit shift or bit substitution;
Reproducing means for reproducing the performance data decoded by the decoding means;
An electronic musical instrument characterized by comprising:
外部機器において、MIDI形式の演奏データをビットシフトまたはビット入替えを行うことにより暗号化して、当該暗号化された後のデータが埋め込まれたMIDI規格のエクスクルーシブデータを、MIDI通信手段にて前記外部機器から受け取って、当該エクスクルーシブデータに埋め込まれたデータをビットシフトまたはビット入替えを行うことによりMIDI形式の演奏データへ復号化する処理と、
前記復号された演奏データを再生する処理と、
をコンピュータで実行するための演奏データ取得プログラム。
In the external device, the MIDI format performance data is encrypted by performing bit shift or bit replacement, and the MIDI standard exclusive data in which the encrypted data is embedded is transmitted by the MIDI communication means to the external device. Receiving the data embedded in the exclusive data into the performance data in the MIDI format by performing bit shift or bit substitution,
Processing to reproduce the decoded performance data;
Performance data acquisition program for running on a computer.
JP2002005024A 2002-01-11 2002-01-11 Electronic musical instrument and performance data acquisition program Expired - Fee Related JP3893980B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2002005024A JP3893980B2 (en) 2002-01-11 2002-01-11 Electronic musical instrument and performance data acquisition program
US10/339,590 US7196259B2 (en) 2002-01-11 2003-01-09 Performance data transmission controlling apparatus and electronic musical instrument capable of acquiring performance data
CN2008101491293A CN101359468B (en) 2002-01-11 2003-01-10 Performance data transmission controlling apparatus, and electronic musical instrument capable of acquiring performance data
CNB031016383A CN100485778C (en) 2002-01-11 2003-01-10 Performance data transmitting control apparatus and electronic musical instrument able to obtain such performance data
US11/159,524 US7253351B2 (en) 2002-01-11 2005-06-22 Performance data transmission controlling apparatus, and electronic musical instrument capable of acquiring performance data
US11/159,551 US7301091B2 (en) 2002-01-11 2005-06-22 Performance data transmission controlling apparatus, and electronic musical instrument capable of acquiring performance data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002005024A JP3893980B2 (en) 2002-01-11 2002-01-11 Electronic musical instrument and performance data acquisition program

Publications (2)

Publication Number Publication Date
JP2003208163A JP2003208163A (en) 2003-07-25
JP3893980B2 true JP3893980B2 (en) 2007-03-14

Family

ID=27644186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002005024A Expired - Fee Related JP3893980B2 (en) 2002-01-11 2002-01-11 Electronic musical instrument and performance data acquisition program

Country Status (1)

Country Link
JP (1) JP3893980B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1580644A3 (en) 2004-03-15 2005-11-09 Yamaha Corporation Electronic musical apparatus for recording and reproducing music content
US7485794B2 (en) 2006-03-24 2009-02-03 Yamaha Corporation Electronic musical instrument system
JP5198029B2 (en) * 2007-10-18 2013-05-15 株式会社アイ・オー・データ機器 Peripheral device and peripheral device control method

Also Published As

Publication number Publication date
JP2003208163A (en) 2003-07-25

Similar Documents

Publication Publication Date Title
KR100632495B1 (en) Information processing apparatus and method and program storage medium
KR100746771B1 (en) Method for reproducing an audio file in portable audio device
JP4370800B2 (en) Music content utilization apparatus and program
JP5040736B2 (en) Content utilization apparatus and program
JP2006172703A (en) Method and apparatus for reproducing digital contents
JP2004220357A (en) Content providing method and device
US7253351B2 (en) Performance data transmission controlling apparatus, and electronic musical instrument capable of acquiring performance data
NO326278B1 (en) Content Supply System
JP3869761B2 (en) Content playback device
JP2004519808A (en) Method of recording and reproducing demonstration data on / from recording medium, and recording medium
KR100633588B1 (en) Semiconductor IC, information processing method, information processing device, and program storage medium
US7958054B2 (en) Apparatus for reproduction song data with limitation dependent on preview or purchase
US8437618B2 (en) Content data recording apparatus with encryption by media ID
JP2002123264A (en) Information processor, information processing method and program storing medium
JP4655470B2 (en) Content data processing apparatus, content data processing method, content data management system, and content data management method
JP3835292B2 (en) Electronic musical instrument and performance data acquisition program
JP3893980B2 (en) Electronic musical instrument and performance data acquisition program
JP2004046452A (en) Information recording device, information reproduction device and program therefor
JP2003208160A (en) Performance data transfer controller, electronic instrument, performance data transfer controlling program, and performance data acquisition program
JP4300442B2 (en) Information processing apparatus and method, and program storage medium
JP4779872B2 (en) Recording apparatus, information processing apparatus, and information processing method
JP4535054B2 (en) Electronic music apparatus and computer program thereof
JP2003308653A (en) Contents recorder
JP2004062353A (en) Content replay device, program and method
JP4063219B2 (en) Content data management device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060502

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060703

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060815

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061016

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: 20061121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061204

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3893980

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121222

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131222

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees