JP5168962B2 - Music application device, electronic musical instrument, and program - Google Patents

Music application device, electronic musical instrument, and program Download PDF

Info

Publication number
JP5168962B2
JP5168962B2 JP2007070342A JP2007070342A JP5168962B2 JP 5168962 B2 JP5168962 B2 JP 5168962B2 JP 2007070342 A JP2007070342 A JP 2007070342A JP 2007070342 A JP2007070342 A JP 2007070342A JP 5168962 B2 JP5168962 B2 JP 5168962B2
Authority
JP
Japan
Prior art keywords
music application
electronic musical
musical instrument
resources
application device
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
JP2007070342A
Other languages
Japanese (ja)
Other versions
JP2008233335A (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 JP2007070342A priority Critical patent/JP5168962B2/en
Publication of JP2008233335A publication Critical patent/JP2008233335A/en
Application granted granted Critical
Publication of JP5168962B2 publication Critical patent/JP5168962B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、所定の音楽アプリケーションプログラムを動作することができる音楽アプリケーション装置、前記音楽アプリケーションプログラムが実現する機能と同等の機能を少なくとも有する電子楽器、及びそれらの装置に用いるプログラムに関する。特に、所定のライセンス情報に従って、音楽アプリケーションプログラム及び電子楽器のそれぞれで使用するリソースに制限をかけることができる音楽アプリケーション装置、電子楽器、及びそれらの装置に用いるプログラムに関する。   The present invention relates to a music application device capable of operating a predetermined music application program, an electronic musical instrument having at least a function equivalent to the function realized by the music application program, and a program used for these devices. In particular, the present invention relates to a music application device, an electronic musical instrument, and a program used for these devices that can limit resources used in the music application program and the electronic musical instrument according to predetermined license information.

一般的に、パーソナルコンピュータ(以下、単にパソコンと呼ぶ)上で動作され、シンセサイザー機能やシーケンサー機能などの所定の音楽機能を実現する音楽アプリケーションプログラム(ソフトウェア)は、当該音楽アプリケーションプログラムが記録されている例えばコンパクトディスクなどの記憶媒体と、ハードウェアキー(例えば、USBドングルなど)とが一緒に同梱されて頒布されるようになっており、このハードウェアキーに当該音楽アプリケーションプログラムのライセンス情報(音楽アプリケーションプログラムを利用するユーザが使用許諾を得たユーザであることを証明する情報)が保持されている。ユーザは、こうしたライセンス情報を保持しているUSBドングルを、所定のインタフェース(例えば、USBインタフェース)を介してパソコンに接続することにより、USBドングルが接続された該パソコン上でのみ、前記記憶媒体に記憶されている音楽アプリケーションプログラムをインストールなどして動作させることができるようになっている(この場合、パソコンが音楽アプリケーション装置に該当する)。こうしたものの一例を示すと、例えば下記に示す特許文献1に記載の装置がある。また、こうした装置では、パソコン(音楽アプリケーション装置)上で音楽アプリケーションプログラムを動作することに従い、該パソコンに所定のインタフェースを介して接続されている電子楽器に対して生成した楽曲データなどを送信することにより、生成した楽曲データに基づく楽音を電子楽器側で発生させることができるようになっている。
特開2004−212603号公報
Generally, a music application program (software) that operates on a personal computer (hereinafter simply referred to as a personal computer) and realizes predetermined music functions such as a synthesizer function and a sequencer function is recorded with the music application program. For example, a storage medium such as a compact disk and a hardware key (for example, a USB dongle) are bundled together and distributed. License information (music) of the music application program is included in the hardware key. Information that proves that the user who uses the application program is a user who has obtained a license for use). A user connects a USB dongle holding such license information to a personal computer via a predetermined interface (for example, a USB interface), so that only the personal computer to which the USB dongle is connected is stored in the storage medium. The stored music application program can be installed and operated (in this case, the personal computer corresponds to the music application device). For example, there is an apparatus described in Patent Document 1 shown below. Further, in such a device, in accordance with the operation of the music application program on a personal computer (music application device), music data generated for an electronic musical instrument connected to the personal computer via a predetermined interface is transmitted. Thus, a musical sound based on the generated music data can be generated on the electronic musical instrument side.
JP 2004-212603 A

ところで、上述したような従来知られた音楽アプリケーション装置では、USBドングルに記憶されているライセンス情報の内容等に応じて、音楽アプリケーションプログラムの動作に伴って実現される機能において利用可能とする機能単位(例えば、音源機能における同時発音数や同時使用可能なエフェクト種類やエフェクト数など:この明細書ではこれらを総称してリソースと呼ぶ)の制限範囲を変えている。そのため、ユーザは新たに異なる内容のライセンス情報を取得することによって、音楽アプリケーションプログラムに対する前記リソースの範囲制限を解除することや、リソースの制限範囲を狭めて利用可能なリソース範囲を大きくとることなどを、必要に応じて行うことができるようになっている。しかし、従来知られた装置におけるライセンス情報によるリソースの制限は、音楽アプリケーションプログラムの動作に伴い実現される機能に限っての制限であり、当然に電子楽器が有する同等の機能に対してはなんらの影響も及ぼさない(つまり、電子楽器側ではリソースが制限されない)。そうすると、音楽アプリケーション装置と電子楽器とで使用できるリソースの整合性がとれなくなることから、ユーザが音楽アプリケーション装置と電子楽器とを組み合わせて使いづらい。そこで、それぞれが同等の機能を有する音楽アプリケーション装置(具体的には音楽アプリケーションプログラム動作時のみ)と電子楽器とが組み合わされて利用されるような場合に、所定のライセンス情報に従って音楽アプリケーション装置だけでなく電子楽器のリソースをもあわせて制限することができる装置が望まれていたが、従来そうしたものは考えられていなかった。   By the way, in the conventionally known music application apparatus as described above, functional units that can be used in functions realized in accordance with the operation of the music application program in accordance with the contents of the license information stored in the USB dongle. The limit range of (for example, the number of simultaneous sounds in the sound source function, the types of effects that can be used simultaneously, the number of effects, etc .: these are collectively referred to as resources in this specification) is changed. Therefore, the user can release the resource range restriction for the music application program by newly acquiring license information with different contents, or increase the available resource range by narrowing the resource restriction range. Can be done as needed. However, the resource limitation by the license information in the conventionally known device is limited only to the function realized by the operation of the music application program, and of course, there is no limitation on the equivalent function of the electronic musical instrument. It has no effect (that is, resources are not limited on the electronic musical instrument side). Then, the consistency of resources that can be used between the music application device and the electronic musical instrument cannot be achieved, and it is difficult for the user to combine the music application device and the electronic musical instrument. Therefore, when a music application device (specifically, only when a music application program is operating) having an equivalent function and an electronic musical instrument are used in combination, only the music application device according to predetermined license information is used. There has been a demand for a device that can limit the resources of an electronic musical instrument, but such a device has not been considered.

本発明は上述の点に鑑みてなされたもので、所定のライセンス情報に従って、音楽アプリケーション装置と該音楽アプリケーション装置に接続された電子楽器双方のリソースを制限することが簡単にできるようにした、音楽アプリケーション装置、電子楽器、及びそれらの装置に用いるプログラムを提供することを目的とする。   The present invention has been made in view of the above points, and music that can easily limit the resources of both a music application device and an electronic musical instrument connected to the music application device according to predetermined license information. It is an object to provide an application device, an electronic musical instrument, and a program used for those devices.

本発明の請求項1に係る音楽アプリケーション装置は、電子楽器と組み合わせられて用いられ、前記電子楽器を制御する音楽アプリケーション装置であって、 1乃至複数の電子楽器を接続する接続手段と、前記接続された1乃至複数の電子楽器それぞれに記憶されている、所定の機能のライセンス情報を取得する取得手段と、前記取得したライセンス情報に基づき、前記接続された1乃至複数の電子楽器全体で利用できるリソースの範囲を決定する決定手段と、前記決定したリソースの範囲のうちから、前記接続された1乃至複数の電子楽器それぞれに対して使用許可するリソースを割り当てる割当手段と、前記接続された1乃至複数の電子楽器それぞれに対して、前記各電子楽器に割り当てた使用許可するリソースを通知する通知手段とを具える。
また、本発明の好ましい実施例として、前記電子楽器が実行する機能と少なくとも同様の一部機能を実現する所定の音楽アプリケーションプログラムを動作する動作手段をさらに具えてなり、前記動作手段は前記割当手段により前記決定したリソースの範囲のうち前記各電子楽器に割り当てられたリソースの残りに基づき、リソースを制限しながら前記音楽アプリケーションプログラムを動作することを特徴とする。
A music application apparatus according to claim 1 of the present invention is a music application apparatus that is used in combination with an electronic musical instrument and controls the electronic musical instrument, comprising: connection means for connecting one or more electronic musical instruments; and the connection And acquiring means for acquiring license information of a predetermined function stored in each of the one or more electronic musical instruments, and based on the acquired license information, it can be used by all of the connected electronic musical instruments. A determining unit that determines a resource range; an allocating unit that allocates a resource that is permitted to be used for each of the connected electronic musical instruments from the determined resource range; and the connected 1 to 1 Notifying means for notifying each of the plurality of electronic musical instruments of the resource to be used and assigned to each electronic musical instrument. Have.
Further, as a preferred embodiment of the present invention, it further comprises operating means for operating a predetermined music application program that realizes at least a partial function similar to the function executed by the electronic musical instrument, wherein the operating means is the assigning means. The music application program is operated while restricting resources based on the remaining resources allocated to each electronic musical instrument in the determined resource range.

本発明の請求項4に係る電子楽器は、音楽アプリケーション装置を接続する接続手段と、所定の機能のライセンス情報を記憶する記憶手段と、前記接続された音楽アプリケーション装置からの指示に応じて、前記記憶手段に記憶済みのライセンス情報を前記音楽アプリケーション装置に対して返送する返送手段と、前記接続された音楽アプリケーション装置からの使用許可するリソースの通知に応じて、前記記憶済みのライセンス情報に関わらずにリソースを制限して前記所定の機能を実行する制御手段とを具える。   According to a fourth aspect of the present invention, there is provided an electronic musical instrument according to an instruction from a connection unit that connects a music application device, a storage unit that stores license information of a predetermined function, and the connected music application device. Returning means for returning the license information stored in the storage means to the music application device, and depending on the notification of the resource permitted to be used from the connected music application device, regardless of the stored license information. Control means for restricting resources and executing the predetermined function.

本発明によると、音楽アプリケーション装置は、所定の機能のライセンス情報を接続手段に接続済みの1乃至複数の電子楽器から取得し、該取得したライセンス情報に基づき、前記接続された1乃至複数の電子楽器(及び音楽アプリケーション装置)全体で利用できるリソースの範囲を決定した上で、該決定したリソースの範囲のうち、前記1乃至複数の電子楽器(及び音楽アプリケーション装置)それぞれに対して使用許可するリソースを割り当てて、各電子楽器に対しては割り当てたリソースを通知する。電子楽器は、接続手段に接続された音楽アプリケーション装置からの通知される使用許可するリソースに応じて、前記記憶済みのライセンス情報に関わらずにリソースを制限して前記所定の機能を実行する。また、音楽アプリケーション装置は、前記電子楽器が実行する機能と少なくとも同様の一部機能を実現する所定の音楽アプリケーションプログラムを、前記決定したリソースの範囲のうち前記各電子楽器に割り当てられたリソースの残りに基づき、リソースを制限しながら動作する。このようにすると、ユーザは所定の機能をそれぞれ有する音楽アプリケーション装置と1乃至複数の電子楽器とが組み合わされて利用されるような場合に、1乃至複数の電子楽器それぞれに個別に使用許可されているリソースを集計して、システム全体として使用できるリソース範囲を決定し、その中で各電子楽器(及び音楽アプリケーション装置)に対してリソースの再割り当てを行うことから、個別に割り当て済みのライセンス情報に基づくリソースに関わらずに、使用できるリソースを拡張/制限して、電子楽器(及び音楽アプリケーション装置)の各機能を実行することが容易にできるようになる。   According to the present invention, the music application device acquires license information of a predetermined function from one or more electronic musical instruments connected to the connection means, and based on the acquired license information, the one or more connected electronic devices. After determining a range of resources that can be used by the entire musical instrument (and music application device), resources that are permitted to be used for each of the one or more electronic musical instruments (and music application devices) out of the determined resource range And the assigned resource is notified to each electronic musical instrument. The electronic musical instrument executes the predetermined function by limiting the resource regardless of the stored license information in accordance with the resource that is permitted to be used notified from the music application device connected to the connection unit. In addition, the music application device may transmit a predetermined music application program that realizes at least a partial function similar to a function executed by the electronic musical instrument to a remaining resource allocated to each electronic musical instrument in the determined resource range. Based on the above, operate with limited resources. In this way, when a music application device having a predetermined function and one or more electronic musical instruments are used in combination, the user is individually permitted to use one or more electronic musical instruments. The resource range that can be used by the entire system is determined and the resources are reassigned to each electronic musical instrument (and music application device). Regardless of the resource on which it is based, the available resources can be expanded / restricted to easily execute each function of the electronic musical instrument (and music application device).

本発明は、装置の発明として構成し実施することができるのみならず、方法の発明として構成し実施することができる。また、本発明は、コンピュータまたはDSP等のプロセッサのプログラムの形態で実施することができるし、そのようなプログラムを記憶した記憶媒体の形態で実施することもできる。   The present invention may be constructed and implemented not only as an apparatus invention but also as a method invention. Further, the present invention can be implemented in the form of a program of a processor such as a computer or a DSP, or can be implemented in the form of a storage medium storing such a program.

この発明によれば、音楽アプリケーション装置に接続された1乃至複数の電子楽器においてライセンス情報を共有し、音楽アプリケーション装置に接続された1乃至複数の電子楽器(及び音楽アプリケーション装置)において個別に割り当て済みのライセンス情報に基づくシステム全体で使用可能なリソースを集計し、該集計したリソース内において、各電子楽器(及び音楽アプリケーション装置)に対してそれぞれで使用可能とするリソースの再割り当てを行うようにしたことから、ユーザは予め割り当てられた個別のリソース制限に関わらずに、各電子楽器(及び音楽アプリケーション装置)で使用するリソースの拡張/制限を行って、電子楽器(及び音楽アプリケーション装置)の各機能を実行することが容易にできるようになる、という効果が得られる。   According to the present invention, the license information is shared by one or more electronic musical instruments connected to the music application device, and individually assigned to one or more electronic musical instruments (and music application devices) connected to the music application device. Resources that can be used in the entire system based on the license information of the system, and the resources that can be used individually for each electronic musical instrument (and music application device) are reassigned within the aggregated resources Therefore, the user expands / limits the resources used in each electronic musical instrument (and music application apparatus) regardless of individual resource restrictions assigned in advance, and each function of the electronic musical instrument (and music application apparatus) is performed. Can be easily performed, and Cormorants effect can be obtained.

以下、この発明の実施の形態を添付図面に従って詳細に説明する。   Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

まず、本発明に係る音楽アプリケーション装置又は電子楽器のハード構成の一実施例について、図1を用いて説明する。図1は、上記各装置いずれか1つの全体構成の一実施例を示すハード構成ブロック図である。ただし、上記各装置は同じようなハード構成を用いるものとして説明することができることから、ここでは代表として音楽アプリケーション装置の図を1つだけ用いて説明する。   First, an embodiment of a hardware configuration of a music application apparatus or an electronic musical instrument according to the present invention will be described with reference to FIG. FIG. 1 is a block diagram of a hardware configuration showing an embodiment of the overall configuration of any one of the above devices. However, since each of the above devices can be described as using a similar hardware configuration, here, only one diagram of the music application device will be described as a representative.

ここに示された音楽アプリケーション装置のハードウェア構成例はパーソナルコンピュータを用いて構成されており、そこにおいてさまざまな音楽アプリケーションを実行するための処理は、コンピュータがそれぞれの音楽アプリケーションに対応する所定の制御プログラム(図示しないソフトウェアプログラム)を実行することにより実施される。勿論、これらの処理はコンピュータソフトウェアの形態に限らず、DSP(ディジタル・シグナル・プロセッサ)によって処理されるマイクロプログラムの形態でも実施可能であり、また、この種のプログラムの形態に限らず、ディスクリート回路又は集積回路若しくは大規模集積回路等を含んで構成された専用のハードウェア装置の形態で実施してもよい。なお、本発明に係る音楽アプリケーション装置は、例えばシーケンサー機能やシンセサイザー機能等を実現する音楽アプリケーションプログラムを動作させることで、後述するUSBコントローラ11に接続される電子楽器(例えばハードウェアシンセサイザー)が有するのと同等の機能を実現することができ、前記電子楽器と組み合わせて利用することのできる装置であればよく、パーソナルコンピュータに限らず、ゲーム専用機、携帯電話やPDAなどの携帯端末、あるいはカラオケ装置、その他のマルチメディア機器等、任意の製品応用形態をとっているものであってよい。   The hardware configuration example of the music application device shown here is configured by using a personal computer, and processing for executing various music applications therein is performed by predetermined control corresponding to each music application. This is implemented by executing a program (a software program (not shown)). Of course, these processes are not limited to the form of computer software, but can be implemented in the form of a microprogram processed by a DSP (digital signal processor), and are not limited to the form of this type of program. Or you may implement in the form of the hardware device for exclusive use comprised including the integrated circuit or the large-scale integrated circuit. Note that the music application device according to the present invention is provided in an electronic musical instrument (for example, a hardware synthesizer) connected to the USB controller 11 to be described later by operating a music application program that realizes a sequencer function, a synthesizer function, or the like. Can be used as long as the device can be used in combination with the electronic musical instrument, and is not limited to a personal computer, and is not limited to a personal computer, a portable device such as a mobile phone or PDA, or a karaoke device Any other application form such as a multimedia device may be adopted.

図1に示す音楽アプリケーション装置(パソコン)は、マイクロプロセッサユニット(CPU)1、リードオンリメモリ(ROM)2、ランダムアクセスメモリ(RAM)3からなるマイクロコンピュータによって制御される。CPU1は、この音楽アプリケーション装置全体の動作を制御するものである。このCPU1に対して、データ及びアドレスバス1Dを介してROM2、RAM3、検出回路4、表示回路5、音源回路6、外部記憶装置8、MIDIインタフェース(I/F)9、通信インタフェース(I/F)10、USBコントローラ11がそれぞれ接続されている。更に、CPU1には、タイマ割込み処理(インタラプト処理)における割込み時間や各種時間を計時するタイマ1Aが接続されている。例えば、タイマ1Aはクロックパルスを発生し、発生したクロックパルスをCPU1に対して処理タイミング命令として与えたり、あるいはCPU1に対してインタラプト命令として与える。CPU1は、これらの命令に従って各種処理を実行する。   The music application apparatus (personal computer) shown in FIG. 1 is controlled by a microcomputer including a microprocessor unit (CPU) 1, a read only memory (ROM) 2, and a random access memory (RAM) 3. The CPU 1 controls the operation of the entire music application device. For this CPU 1, via a data and address bus 1D, ROM 2, RAM 3, detection circuit 4, display circuit 5, tone generator circuit 6, external storage device 8, MIDI interface (I / F) 9, communication interface (I / F) 10) The USB controller 11 is connected to each other. Further, the CPU 1 is connected to a timer 1A for measuring the interrupt time and various times in the timer interrupt process (interrupt process). For example, the timer 1A generates a clock pulse, and gives the generated clock pulse to the CPU 1 as a processing timing command or to the CPU 1 as an interrupt command. The CPU 1 executes various processes according to these instructions.

ROM2は、CPU1により実行される各種プログラムや各種データを格納するものである。RAM3は、CPU1が所定のプログラムを実行する際に発生する各種データを一時的に記憶するワーキングメモリとして、あるいは現在実行中のプログラムやそれに関連するデータを記憶するメモリ等として使用される。RAM3の所定のアドレス領域がそれぞれの機能に割り当てられ、レジスタやフラグ、テーブル、メモリなどとして利用される。操作子4Aは、例えば数値データ入力用のテンキーや文字データ入力用のキーボード、ディスプレイ5Aに表示される所定のポインティングデバイスを操作するためのマウス、あるいは特殊スイッチなどであり、操作子として利用できるものであればどのようなものでもよい。検出回路4は、操作子4Aの各操作子の操作状態を検出し、その操作状態に応じたスイッチ情報をバス1Dを介してCPU1に出力する。表示回路5は音楽アプリケーションプログラムの動作に応じた所定の画面(図示せず)等を、例えば液晶表示パネル(LCD)やCRT等から構成されるディスプレイ5Aに表示するのは勿論のこと、音楽アプリケーションプログラムに関する各種情報やCPU1の制御状態などを表示する。   The ROM 2 stores various programs executed by the CPU 1 and various data. The RAM 3 is used as a working memory that temporarily stores various data generated when the CPU 1 executes a predetermined program, or as a memory that stores a currently executed program and related data. A predetermined address area of the RAM 3 is assigned to each function and used as a register, flag, table, memory, or the like. The operation element 4A is, for example, a numeric keypad for inputting numeric data, a keyboard for inputting character data, a mouse for operating a predetermined pointing device displayed on the display 5A, or a special switch, and can be used as an operation element. Anything can be used. The detection circuit 4 detects the operation state of each operation element of the operation element 4A, and outputs switch information corresponding to the operation state to the CPU 1 via the bus 1D. The display circuit 5 displays a predetermined screen (not shown) according to the operation of the music application program on a display 5A composed of, for example, a liquid crystal display panel (LCD), a CRT, etc. Various information related to the program, the control state of the CPU 1, and the like are displayed.

音源回路6は複数のチャンネルで楽音信号(例えばオーディオデータ)の同時発生が可能であり、データ及びアドレスバス1Dを経由して与えられたMIDI規格の楽曲データ(例えば、ソフトウェアシーケンサーなどの音楽アプリケーションプログラムの動作に応じて、ユーザ入力に従って生成されたMIDIデータ)などの各種演奏情報を入力し、これらの演奏情報に基づいて楽音信号を発生する。音源回路6から発生された楽音信号は、図示しない効果回路などを介して効果付与されてアンプやスピーカなどを含むサウンドシステム7から発音される。この音源回路6とサウンドシステム7の構成には、従来のいかなる構成を用いてもよい。例えば、音源回路6はFM、PCM、物理モデル、フォルマント合成等の各種楽音合成方式のいずれを採用してもよく、CPU1によるソフトウェア処理で構成してもよいし、また専用のハードウェアで構成してもよい。   The tone generator circuit 6 can simultaneously generate musical tone signals (eg, audio data) on a plurality of channels, and music application program such as MIDI sequence data (eg, software sequencer) provided via the data and address bus 1D. In response to the operation, various performance information such as MIDI data generated in accordance with user input is input, and a musical sound signal is generated based on the performance information. The musical sound signal generated from the sound source circuit 6 is given an effect through an effect circuit (not shown) and is produced by a sound system 7 including an amplifier and a speaker. Any conventional configuration may be used for the sound source circuit 6 and the sound system 7. For example, the tone generator circuit 6 may employ any of various tone synthesis methods such as FM, PCM, physical model, formant synthesis, etc., and may be configured by software processing by the CPU 1 or by dedicated hardware. May be.

外部記憶装置8は、各種データやCPU1が実行する各種制御プログラム等を記憶する。例えば、音楽アプリケーション装置の場合には、音楽アプリケーションプログラムや、音楽アプリケーションプログラムの動作に伴って生成された楽曲データなどを記憶し、電子楽器の場合には波形データや個々の音楽アプリケーションプログラムのライセンス情報(音楽アプリケーションプログラムを利用するユーザが使用許諾を得たユーザであることを証明する情報であって、さらに使用を許可するリソースの種類や数等に応じて異なる内容が記述されたライセンス情報が用意されている)などを記憶する。また、この外部記憶装置8(例えばハードディスク)に制御プログラムを記憶させておいた場合には、それをRAM3に読み込むことにより、ROM2に制御プログラムを記憶している場合と同様の動作をCPU1にさせることができる。このようにすると、制御プログラムの追加やバージョンアップ等が容易に行える。なお、外部記憶装置8はハードディスク(HD)に限られず、フレキシブルディスク(FD)、コンパクトディスク(CD‐ROM・CD‐RAM)、光磁気ディスク(MO)あるいはDVD(Digital Versatile Disk)等の着脱自在な様々な形態の外部記憶媒体を利用する記憶装置であればどのようなものであってもよい。不揮発性の半導体メモリなどであってもよい。   The external storage device 8 stores various data, various control programs executed by the CPU 1, and the like. For example, in the case of a music application device, a music application program, music data generated along with the operation of the music application program, and the like are stored. In the case of an electronic musical instrument, waveform data and license information of each music application program are stored. (Information that proves that the user who uses the music application program is a licensed user, and license information that describes different contents depending on the type and number of resources that are permitted to use is prepared. Is stored). Further, when a control program is stored in the external storage device 8 (for example, a hard disk), the CPU 1 is caused to perform the same operation as when the control program is stored in the ROM 2 by reading it into the RAM 3. be able to. In this way, control programs can be easily added and upgraded. The external storage device 8 is not limited to a hard disk (HD), but is detachable such as a flexible disk (FD), a compact disk (CD-ROM / CD-RAM), a magneto-optical disk (MO) or a DVD (Digital Versatile Disk). Any storage device using various types of external storage media may be used. It may be a non-volatile semiconductor memory.

MIDIインタフェース(I/F)9は、外部接続された他のMIDI機器9A等からMIDI形式のデータ(MIDIデータ)を当該音楽アプリケーション装置へ入力したり、あるいは当該音楽アプリケーション装置から音楽アプリケーションプログラムの動作に伴って生成されたMIDI形式のデータを、他のMIDI機器9A等へ出力するためのインタフェースである。このMIDIインタフェース(I/F)9に電子楽器を接続すると、該接続された電子楽器と当該音楽アプリケーション装置との間でMIDIデータを送受信することができるようになり、該送受信されるMIDIデータに従って互いの装置において楽音を発生させることができるようになる。なお、MIDIデータの入出力は後述するUSBコントローラ11を介して行うようにしてもよい。通信インタフェース(I/F)10は、例えばLANやインターネット、電話回線等の有線あるいは無線の通信ネットワークXに接続されており、該通信ネットワークXを介してサーバコンピュータ10Aと接続され、当該サーバコンピュータ10Aから制御プログラムあるいは各種データなどを音楽アプリケーション装置側に取り込むためのインタフェースである。すなわち、ROM2や外部記憶装置8(例えば、ハードディスク)等に制御プログラムや各種データが記憶されていない場合に、サーバコンピュータ10Aから制御プログラムや各種データをダウンロードするために用いられる。こうした通信インタフェース10は、有線あるいは無線のものいずれかでなく双方を具えていてよい。   The MIDI interface (I / F) 9 inputs MIDI format data (MIDI data) from another externally connected MIDI device 9A or the like to the music application device, or operates a music application program from the music application device. This is an interface for outputting the data in the MIDI format generated along with this to another MIDI device 9A or the like. When an electronic musical instrument is connected to the MIDI interface (I / F) 9, MIDI data can be transmitted / received between the connected electronic musical instrument and the music application device, and according to the transmitted / received MIDI data. Musical sounds can be generated in each other's devices. Note that MIDI data input / output may be performed via the USB controller 11 described later. The communication interface (I / F) 10 is connected to a wired or wireless communication network X such as a LAN, the Internet, or a telephone line, and is connected to the server computer 10A via the communication network X, and the server computer 10A. Is an interface for taking in a control program or various data from the music application device side. That is, when no control program or various data is stored in the ROM 2 or the external storage device 8 (for example, hard disk), it is used for downloading the control program and various data from the server computer 10A. Such a communication interface 10 may be both wired and wireless and may include both.

USB(Universal Serial Bus)コントローラ11は1乃至複数のUSB端子を含み、当該音楽アプリケーション装置と、前記USB端子と直接的に接続された他のUSB機器13(ここでは、特にUSBコントローラ11を具備した電子楽器やUSBドングルなど)、あるいはUSBハブ(HUB)機器12を介して前記USB端子と間接的に接続された多数の他のUSB機器13との間で、各種情報を送受信する制御を行うUSBインタフェース制御機器である。USBハブ機器12は多数のUSB端子を具えており、該USB端子のうちの1つの端子に音楽アプリケーション装置を、該USB端子の残りの端子それぞれに他のUSB機器13を接続することによって、該接続された多数のUSB機器13(電子楽器など)と音楽アプリケーション装置との間における各種情報を送受信する際の通信経路を確保するためのものである。音楽アプリケーション装置と電子楽器とを両装置がそれぞれ有するUSBコントローラ11を介して接続することにより、この実施例では音楽アプリケーション装置で実行する音楽アプリケーションプログラムのライセンス情報を記憶した電子楽器に対して、ライセンス(使用許諾)されているリソースを問い合わせる、電子楽器に対して割り当てたリソースを送信する、あるいはMIDIデータ等を送受信する、などのことができるようになる(詳しくは後述する)。なお、音楽アプリケーション装置が具備するUSBコントローラ11は所謂USBホストコントローラと呼ばれる機器であり、従って音楽アプリケーション装置はUSBホスト機器となる。一方、電子楽器が具備するUSBコントローラ11は所謂USBターゲットコントローラと呼ばれる機器であり、従って電子楽器はUSBターゲット機器となる。   The USB (Universal Serial Bus) controller 11 includes one or more USB terminals, and includes the music application device and another USB device 13 (here, in particular, the USB controller 11) directly connected to the USB terminal. USB that performs control to transmit and receive various types of information to and from a large number of other USB devices 13 indirectly connected to the USB terminal via a USB hub (HUB) device 12. Interface control equipment. The USB hub device 12 includes a large number of USB terminals. By connecting the music application device to one of the USB terminals and the other USB device 13 to each of the remaining terminals of the USB terminal, This is to secure a communication path for transmitting and receiving various types of information between a large number of connected USB devices 13 (such as electronic musical instruments) and a music application device. In this embodiment, the music application device and the electronic musical instrument are connected via the USB controller 11 of each device, and in this embodiment, the license is granted to the electronic musical instrument that stores the license information of the music application program executed by the music application device It is possible to inquire about (licensed) resources, transmit resources allocated to the electronic musical instrument, or transmit / receive MIDI data or the like (details will be described later). Note that the USB controller 11 included in the music application device is a so-called USB host controller, and thus the music application device is a USB host device. On the other hand, the USB controller 11 included in the electronic musical instrument is a so-called USB target controller, and thus the electronic musical instrument is a USB target device.

音楽アプリケーション装置とMIDIインタフェース9及び/又はUSBコントローラ11を介して接続される電子楽器は、音楽アプリケーションプログラムのライセンス情報を外部記憶装置8などに記憶することができ、また音楽アプリケーションプログラムが実現する機能と同等の機能を少なくとも有する機器であればどのようなものであってもよい(つまり、この明細書で示す電子楽器は音楽アプリケーションプログラムが実現する機能に関連付けられている)。こうした電子楽器は、図1に示した音楽アプリケーション装置と同様の構成要素の他に、図示しない設定操作子や、鍵盤型、弦楽器型、管楽器型、打楽器型、身体装着型等の演奏操作子などを具えた(若しくは、操作形態からなる)機器であればよい。設定操作子は、例えば伴奏のために利用する楽曲データ(音楽アプリケーション装置から送信されるもの、または電子楽器に予め記憶済みのもの)を選択する曲選択スイッチ、音高、音色、効果等を選択・設定・制御するための各種操作子などを含んでいてよい。演奏操作子は楽音の音高を選択するための複数の鍵を備えた例えば鍵盤等のようなものであり、各鍵に対応してキースイッチを有しており、この演奏操作子(鍵盤等)は楽音演奏のために使用できるのは勿論のこと、演奏したい曲を選択するための入力手段などとして使用することができるようになっていてもよい。   The electronic musical instrument connected to the music application device via the MIDI interface 9 and / or the USB controller 11 can store license information of the music application program in the external storage device 8 or the like, and functions realized by the music application program Any device may be used as long as it has at least a function equivalent to the above (that is, the electronic musical instrument shown in this specification is associated with a function realized by the music application program). In addition to the same components as the music application apparatus shown in FIG. 1, these electronic musical instruments include setting operators not shown, performance operators such as keyboard type, stringed instrument type, wind instrument type, percussion instrument type, and body-mounted type. It may be a device provided with (or composed of an operation form). For example, the setting operator selects a song selection switch, pitch, tone, effect, etc. for selecting song data (transmitted from a music application device or stored in advance in an electronic musical instrument) to be used for accompaniment -Various operators for setting / control may be included. The performance operator is, for example, a keyboard provided with a plurality of keys for selecting the pitch of a musical tone, and has a key switch corresponding to each key. ) Can be used not only for musical performance, but also as input means for selecting a song to be played.

なお、上述した音楽アプリケーション装置(あるいは電子楽器)において、操作子4Aやディスプレイ5Aあるいは音源回路6などを1つの装置本体に内蔵したものに限らず、それぞれが別々に構成され、MIDIインタフェースや各種ネットワーク等の通信手段を用いて各装置を接続するように構成したものであってもよいことは言うまでもない。
なお、上述した音楽アプリケーション装置は音源回路6及びサウンドシステム7を具備したものを例に示したがこれに限らず、音源回路6及びサウンドシステム7を具備していなくてもよい。
Note that the above-described music application device (or electronic musical instrument) is not limited to one in which the operation element 4A, the display 5A, the sound source circuit 6 and the like are built in one device body, but each is configured separately, and has a MIDI interface and various networks. Needless to say, each of the devices may be connected using a communication means such as the above.
In addition, although the music application apparatus mentioned above showed as an example what provided the sound source circuit 6 and the sound system 7, it is not restricted to this, The sound source circuit 6 and the sound system 7 do not need to be provided.

本実施例に示す音楽アプリケーション装置では音楽アプリケーションプログラムを動作させる際に、音楽アプリケーション装置にUSB接続されているハードウェアキー(USBドングルなど)や電子楽器に記憶されている、当該音楽アプリケーションプログラムのライセンス情報に基づいて、音楽アプリケーションプログラムが実現する機能及び電子楽器の機能において使用を許可するリソースの範囲をそれぞれ制限するようにしている。その際に、正式なライセンス(使用許諾)を得ていないユーザである場合には、音楽アプリケーションプログラム及び電子楽器をまったく動作させないことにより、ユーザに音楽アプリケーションプログラム及び電子楽器を利用させないようにする。他方、正式なライセンス(使用許諾)を得ているユーザであっても、そのユーザが取得しているライセンス情報に応じて、使用が許可されているリソースの範囲についてのみ、音楽アプリケーションプログラム及び電子楽器を利用することができるようにしている。すなわち、使用が許可されるリソースの範囲はライセンス情報毎に応じて予め決められており、またユーザは取得したライセンス情報に対応して使用許可されるリソースの範囲内で、音楽アプリケーション装置と電子楽器のそれぞれに対して、任意に使用するリソースの範囲を割り振ることができるようにしている(詳しくは後述する)。このように、本実施例に示す音楽アプリケーション装置及び電子楽器からなるシステムは、音楽アプリケーション装置と該音楽アプリケーション装置にUSB接続されている1乃至複数の電子楽器それぞれのリソースを、共通の1乃至複数のライセンス情報に従って管理するライセンス管理機能を有する。勿論、これに限らず、音楽アプリケーション装置及び電子楽器のそれぞれが、例えばユーザ入力に応じて演奏情報(MIDIデータなど)を生成し(シーケンサー機能)、生成した演奏情報に従って電子的に楽音を発生する(シンセサイザー機能)などの、演奏情報やオーディオデータ等を入力して処理したり、あるいは処理した演奏情報やオーディオデータ等を出力するといった他の機能を有していてよいことは言うまでもない。こうしたライセンス管理機能以外の他の機能は公知のどのようなものであってもよいことから、ここでの説明を省略する。   In the music application apparatus shown in the present embodiment, when the music application program is operated, the license of the music application program stored in a hardware key (USB dongle or the like) connected to the music application apparatus via USB or an electronic musical instrument is stored. Based on the information, the range of resources permitted to be used in the function realized by the music application program and the function of the electronic musical instrument is respectively limited. At this time, if the user has not obtained a formal license (license), the music application program and the electronic musical instrument are not operated at all, thereby preventing the user from using the music application program and the electronic musical instrument. On the other hand, even for a user who has an official license (license), the music application program and the electronic musical instrument can be used only for the range of resources permitted to be used in accordance with the license information acquired by the user. Can be used. That is, the range of resources permitted to be used is determined in advance for each license information, and the user can use the music application device and the electronic musical instrument within the range of resources permitted for use according to the acquired license information. A range of resources to be arbitrarily used can be allocated to each of these (details will be described later). As described above, the system including the music application device and the electronic musical instrument shown in the present embodiment uses one or more common resources for the music application device and one or more electronic musical instruments connected to the music application device via USB. License management function to manage according to the license information. Of course, the present invention is not limited to this, and each of the music application device and the electronic musical instrument generates, for example, performance information (MIDI data, etc.) according to user input (sequencer function), and generates musical sounds electronically according to the generated performance information. Needless to say, it may have other functions such as (synthesizer function) for inputting and processing performance information and audio data, or outputting the processed performance information and audio data. Since any other function other than the license management function may be known, a description thereof is omitted here.

次に、上記したような、所定のライセンス情報に従って、音楽アプリケーション装置で動作させる音楽アプリケーションプログラムと、該音楽アプリケーション装置にUSB接続された電子楽器双方の機能におけるリソースを管理するライセンス管理機能を実現する処理の概要について、図2を用いて説明する。図2は、ライセンス管理機能を実現する処理の概要を説明するための制御ブロック図である。   Next, according to the predetermined license information as described above, a license management function for managing resources in both the functions of the music application program operated on the music application apparatus and the electronic musical instrument connected to the music application apparatus via USB is realized. An outline of the processing will be described with reference to FIG. FIG. 2 is a control block diagram for explaining an outline of processing for realizing the license management function.

音楽アプリケーション装置PCの音楽アプリケーション処理部MAは、例えばシンセサイザー機能やシーケンサー機能などを実現する音楽アプリケーションプログラムを、ユーザによるスイッチ操作などに応じて動作開始する。音楽アプリケーションプログラムのシーケンサー機能が動作開始されると、例えばユーザ入力に応じて所定の演奏情報(MIDIデータなど)を生成し、これを演奏進行順に順次に又は一括して出力する。MIDI/オーディオドライバ部ADは、音楽アプリケーション処理部MAから出力された演奏情報に従って楽音信号(オーディオデータ)を発生するよう、USB接続された電子楽器DMを制御する。すなわち、USBインタフェースを介して当該音楽アプリケーション装置PCに接続された電子楽器DMに対し、前記音楽アプリケーション処理部MAから出力された演奏情報を送信することで、前記電子楽器DMに楽音を発生させるようにしている。電子楽器DMでは、音楽アプリケーション装置PCからUSBインタフェースを介して送信されてきた演奏情報をオーディオファンクション部AFに送り、オーディオファンクション部AFは、音楽アプリケーション装置PCから送られてきた演奏情報に基づき、楽音を発生するよう音源回路6等(図1参照)を制御する。こうすることにより、音楽アプリケーション装置PCからUSB接続された電子楽器DMに対して随時にMIDIデータ等を出力して、電子楽器DMに楽音を発生させるよう制御することができる。   The music application processing unit MA of the music application apparatus PC starts to operate a music application program that realizes, for example, a synthesizer function or a sequencer function in response to a switch operation by the user. When the sequencer function of the music application program is started, for example, predetermined performance information (MIDI data or the like) is generated in response to user input, and this is sequentially or collectively output in the order of performance. The MIDI / audio driver unit AD controls the electronic musical instrument DM connected via USB so as to generate a musical tone signal (audio data) according to the performance information output from the music application processing unit MA. That is, the performance information output from the music application processing unit MA is transmitted to the electronic musical instrument DM connected to the music application apparatus PC via the USB interface so that the electronic musical instrument DM generates a musical sound. I have to. In the electronic musical instrument DM, performance information transmitted from the music application device PC via the USB interface is sent to the audio function unit AF, and the audio function unit AF performs music sound based on the performance information transmitted from the music application device PC. The sound source circuit 6 and the like (see FIG. 1) are controlled so as to generate. By doing so, it is possible to output MIDI data or the like from the music application apparatus PC to the USB-connected electronic musical instrument DM as needed, and to control the electronic musical instrument DM to generate musical sounds.

ライセンス管理部LSは、上記した音楽アプリケーション装置PCの音楽アプリケーション処理部MAによる音楽アプリケーションプログラムの動作開始の際に、動作開始しようとする音楽アプリケーションプログラムのライセンス情報に従って、使用許可されているリソースの種類や数などを取得する。このとき、ライセンス管理部LSは、音楽アプリケーションPCにUSB接続されている1乃至複数のハードウェアキーKに記憶済みのライセンス情報を参照するだけでなく、当該音楽アプリケーション装置PCにUSB接続されている1乃至複数の電子楽器DMに記憶済みのライセンス情報をも参照して、使用許可されているリソースの種類や数などを取得する。すなわち、ライセンス管理ドライバ部LDはライセンス管理部LSからの指示に従って、当該音楽アプリケーション装置PCにUSB接続されているハードウェアキーK及び電子楽器DMに対して、動作開始しようとする音楽アプリケーションプログラムのライセンス情報を記憶しているか否かを問い合わせる。ハードウェアキーK及び電子楽器DMのライセンス管理ファンクション部KF,LFは、USB接続されている音楽アプリケーション装置PCから、ライセンス情報の問い合わせを受信すると、記憶済みのライセンス情報の中から該当するライセンス情報を検索し、該当するライセンス情報がある場合にはライセンス情報に応じて使用許可されるリソースの種類や数などを、音楽アプリケーション装置PCに対して返信する。   When the music application program MA starts to operate the music application program, the license management unit LS determines the types of resources that are permitted to be used according to the license information of the music application program to be started. Get the number, etc. At this time, the license management unit LS not only refers to the license information stored in one or more hardware keys K that are USB-connected to the music application PC, but is also USB-connected to the music application device PC. Also referring to the license information stored in one or more electronic musical instruments DM, the type and number of resources permitted to be used are acquired. That is, the license management driver unit LD follows the instruction from the license management unit LS and licenses the music application program to start operation on the hardware key K and the electronic musical instrument DM connected to the music application device PC via USB. Queries whether information is stored. When the license management function units KF and LF of the hardware key K and the electronic musical instrument DM receive a license information inquiry from the music application apparatus PC connected via USB, the license information is stored in the stored license information. When the corresponding license information is found, the type and number of resources permitted to be used according to the license information are returned to the music application apparatus PC.

ライセンス管理部LSは、当該音楽アプリケーション装置PCにUSB接続されているハードウェアキーK及び電子楽器DMから返送されたリソースの種類や数などを集計することで、使用許可するリソースの種類や数の総数を決定する。この際に、同じ内容のライセンス情報に基づくリソースの種類については、重複して集計しない。また、使用許可するリソースの種類や数の総数の決定後には、ユーザ入力に従って、音楽アプリケーションプログラムで実現する機能に割り当てるリソースの種類や数の上限、及び電子楽器における同様の機能に割り当てるリソースの種類や数の上限をそれぞれ割り当てる。   The license management unit LS aggregates the types and number of resources returned from the hardware key K and the electronic musical instrument DM connected to the music application device PC by USB, thereby determining the types and number of resources permitted to be used. Determine the total number. At this time, the resource types based on the same license information are not counted twice. In addition, after determining the total number of types and number of resources permitted to be used, according to user input, the upper limit of the types and number of resources allocated to functions realized by the music application program, and the types of resources allocated to similar functions in electronic musical instruments And assign an upper limit for each.

音楽アプリケーション装置PCや電子楽器DMでは、上記割り当てられたリソースの種類や数の上限内で各機能を動作させる。音楽アプリケーション装置PCで音楽アプリケーションプログラムを動作する場合、音楽アプリケーション処理部MAは、前記ライセンス管理部LSからの割り当てに基づき、音楽アプリケーションプログラムを動作させる。電子楽器DMで該当する機能を動作する場合、オーディオファンクション部AFは、前記ライセンス管理部LSからの割り当てに基づき、該当する機能を動作させる。勿論、音楽アプリケーションプログラムを利用しようとするユーザ(つまり、音楽アプリケーション装置PCを利用しているユーザ)が本音楽アプリケーションプログラムに関してライセンス(使用許諾)を得ているユーザでない場合には、ハードウェアキーK及び電子楽器DMのいずれにも利用したい音楽アプリケーションプログラムのライセンス情報が記憶されていないことから、そうした場合にはライセンスを得ていないユーザであるとして、音楽アプリケーションプログラムを動作させないことは言うまでもない。このようにして、音楽アプリケーション装置PCにUSB接続されているハードウェアキーKや電子楽器DMに記憶済みのライセンス情報に基づいて、音楽アプリケーション装置PCで動作させる音楽アプリケーションプログラム及び電子楽器DMで実現される機能に関してのライセンス管理を行うようにしている。   In the music application apparatus PC and the electronic musical instrument DM, each function is operated within the upper limit of the type and number of the allocated resources. When operating the music application program on the music application device PC, the music application processing unit MA operates the music application program based on the assignment from the license management unit LS. When the corresponding function is operated in the electronic musical instrument DM, the audio function unit AF operates the corresponding function based on the assignment from the license management unit LS. Of course, if the user who intends to use the music application program (that is, the user who uses the music application apparatus PC) is not a user who has obtained a license (license) for the music application program, the hardware key K Since the license information of the music application program to be used in neither the electronic musical instrument DM nor the electronic musical instrument DM is stored, it goes without saying that the music application program is not operated as a user who has not obtained a license in such a case. In this way, it is realized by the music application program and the electronic musical instrument DM that are operated on the music application apparatus PC based on the license information stored in the hardware key K and the electronic musical instrument DM connected to the music application apparatus PC by USB. The license management for the function to be performed is performed.

なお、電子楽器DMのオーディオファンクション部AFは当該電子楽器の演奏操作子などの操作状況を監視しており、演奏操作子が操作されたことを検知すると、演奏操作子に応じて発生される所定の演奏情報(MIDIデータなど)を、USB接続された音楽アプリケーション装置PCに対して送信することができるようになっていてよい。そうした場合、音楽アプリケーション装置PCではUSBインタフェースを介して電子楽器DMから演奏情報を受信すると、該受信した演奏情報をMIDI/オーディオドライバ部AD経由で音楽アプリケーションプログラムのソフトウェアシンセサイザー機能に送り楽音を発生させたり、あるいは音楽アプリケーション処理部MAで動作中の音楽アプリケーションプログラムに従って該受信した演奏情報に基づく動作を行う(例えば、画面表示など)。このようにして、電子楽器DMからのMIDIデータ等の出力に応じて、対応する所定の動作を該音楽アプリケーション装置PC側で実行できるようにしてあってもよい。   Note that the audio function unit AF of the electronic musical instrument DM monitors the operation status of the performance operator of the electronic musical instrument DM, and when detecting that the performance operator has been operated, a predetermined generated according to the performance operator. Performance information (such as MIDI data) may be transmitted to the music application apparatus PC connected via USB. In such a case, when the music application device PC receives performance information from the electronic musical instrument DM via the USB interface, the received music performance information is sent to the software synthesizer function of the music application program via the MIDI / audio driver unit AD to generate musical sounds. Or according to the music application program being operated by the music application processing unit MA, an operation based on the received performance information is performed (for example, screen display). In this way, a corresponding predetermined operation may be executed on the music application apparatus PC side in accordance with the output of MIDI data or the like from the electronic musical instrument DM.

次に、本実施例に示す音楽アプリケーション装置PC及び電子楽器DMにおける、上記したような音楽アプリケーションプログラムのライセンス管理の機能を実現する具体的な処理について、図3又は図4を用いて説明する。図3は、「ライセンス管理処理」の一実施例を示すフローチャートである。この「ライセンス管理処理」は、音楽アプリケーション装置PCと電子楽器DMとが互いにUSB接続されることによって、音楽アプリケーション装置PC側でのみ開始される処理である。   Next, specific processing for realizing the music application program license management function as described above in the music application apparatus PC and the electronic musical instrument DM shown in the present embodiment will be described with reference to FIG. 3 or FIG. FIG. 3 is a flowchart showing an example of the “license management process”. This “license management process” is a process that is started only on the music application apparatus PC side when the music application apparatus PC and the electronic musical instrument DM are connected to each other via USB.

ステップS1は、USBホストコントローラドライバ部HDから、本音楽アプリケーション装置PCにUSB接続されている機器(ハードウェアキーKや電子楽器DM)の一覧を取得する。すなわち、音楽アプリケーション装置PCに対してハードウェアキーKや電子楽器DMがUSB接続されると、USBホストコントローラドライバ部HDはUSB接続されたハードウェアキーKや電子楽器DM(USBターゲット機器)を検出し、該検出したハードウェアキーKや電子楽器DMから送られてくるベンダー情報やファンクション情報などに基づいて、USB接続された全ての機器の一覧を作成するので、それを取得する。ステップS2は、ライセンス管理ファンクション部KF(LF)を持つ機器(USB接続された機器)のひとつひとつに対して、各機器毎に記憶されているライセンス情報に基づきライセンスされているリソースの種類及び種類毎のリソース数の上限(リソース情報)などを問合せて、各機器からライセンスされているリソースの種類やリソース数などを取得する。この際に、各機器毎のリソースの種類やリソース数などをライセンス情報毎に集計することで、使用許可するリソースの種類及びリソース数の総数(リソースの範囲)を決定する。すなわち、USB接続された各機器に記憶されている全てのライセンス情報に従って、システムとして使用許可される全体のリソースが決まる。ステップS3は、リソースの割り当て一覧を初期化する。このリソースの割り当て一覧は、使用許可されるリソースの種類毎に使用可能とするリソースの数の上限を定義した定義情報であって、音楽アプリケーション装置PCと、音楽アプリケーション装置PCにUSB接続されている各電子楽器DM毎に用意されている。   In step S1, a list of devices (hardware key K and electronic musical instrument DM) connected via USB to the music application apparatus PC is acquired from the USB host controller driver unit HD. That is, when the hardware key K and the electronic musical instrument DM are connected to the music application apparatus PC by USB, the USB host controller driver unit HD detects the hardware key K and the electronic musical instrument DM (USB target device) connected by USB. Then, a list of all the devices connected via USB is created based on the detected hardware key K and vendor information and function information sent from the electronic musical instrument DM. In step S2, for each of the devices having the license management function unit KF (LF) (devices connected via USB), for each type and type of resource licensed based on the license information stored for each device Inquires about the upper limit (resource information) of the number of resources, and acquires the licensed resource type and the number of resources from each device. At this time, the type of resources and the number of resources for each device are aggregated for each license information, thereby determining the types of resources permitted to be used and the total number of resources (range of resources). That is, the overall resources permitted to be used as a system are determined according to all license information stored in each USB-connected device. In step S3, a resource allocation list is initialized. This resource allocation list is definition information that defines the upper limit of the number of resources that can be used for each type of resource that is permitted to be used, and is connected to the music application device PC and the music application device PC via USB. It is prepared for each electronic musical instrument DM.

ステップS4は、USBホストコントローラドライバ部HDが機器構成(USBネットワーク構成)の変化を検出したか否かを判定する。USBホストコントローラドライバ部HDが機器構成の変化を検出していない場合、つまり新たな機器が当該音楽アプリケーション装置PCに追加的にUSB接続されておらず、また既にUSB接続されている機器のいずれかが当該音楽アプリケーション装置PCから取り外されてもいない場合には(ステップS4のno)、ホスト機器である音楽アプリケーション装置PC上あるいはターゲット機器であるUSB接続されている各電子楽器DM上で、ユーザがリソース数の割り当て処理をしたか否かを判定する(ステップS8)。ユーザがリソース数の割り当て処理を行っていないと判定した場合には(ステップS8のno)、ステップS4の処理に戻る。一方、ユーザにより上記いずれかの機器においてリソース数の割り当て処理が行われたと判定した場合には(ステップS8のyes)、ユーザによる各機器へのリソース数の割り当てに応じてリソース数の割り当て総数を集計し、この集計したリソース数の割り当て総数がライセンスされているリソース数の総数を超えているか否かを判定する(ステップS9)。リソース数の割り当て総数が、ライセンスされているリソースの総数を超えていると判定した場合には(ステップS9のyes)、ユーザによる各機器へのリソース数の割り当てをリソースの割り当て一覧に反映(更新)することなく、ステップS4の処理に戻る。リソース数の割り当て総数が、ライセンスされているリソースの総数を超えていないと判定した場合には(ステップS9のno)、ユーザによる各機器へのリソース数の割り当てに応じて、該当する機器のリソースの割り当て一覧を更新する(ステップS10)。   In step S4, it is determined whether or not the USB host controller driver unit HD has detected a change in the device configuration (USB network configuration). If the USB host controller driver unit HD does not detect a change in the device configuration, that is, the new device is not additionally connected to the music application apparatus PC by USB, and is any of the devices already connected by USB. Is not removed from the music application device PC (no in step S4), the user can use the music application device PC that is the host device or each electronic musical instrument DM that is connected to the USB that is the target device. It is determined whether or not resource number allocation processing has been performed (step S8). When it is determined that the user has not performed the resource number allocation process (no in step S8), the process returns to step S4. On the other hand, if it is determined by the user that the resource number allocation process has been performed in any of the above devices (Yes in step S8), the total number of resource numbers allocated is determined according to the resource number allocation to each device by the user. Then, it is determined whether the total number of allocated resources exceeds the total number of licensed resources (step S9). If it is determined that the total number of allocated resources exceeds the total number of licensed resources (Yes in step S9), the allocation of the number of resources to each device by the user is reflected in the resource allocation list (updated) Without returning to step S4. If it is determined that the total number of allocated resources does not exceed the total number of licensed resources (no in step S9), the resource of the corresponding device is determined according to the allocation of the number of resources to each device by the user. The allocation list is updated (step S10).

上記ステップS4において、USBホストコントローラドライバ部HDが機器構成の変化を検出した場合、つまり新たな機器が当該音楽アプリケーション装置PCにUSB接続された場合、又は既にUSB接続されている機器のいずれかが当該音楽アプリケーション装置PCから取り外された場合には(ステップS4のyes)、機器構成の変化をリソースの割り当て一覧に反映させる(ステップS5)。具体的に、新たな機器が当該音楽アプリケーション装置PCにUSB接続された場合には、追加接続された機器に対応するリソースの割り当て一覧を作成する。既にUSB接続されている機器のいずれかが当該音楽アプリケーション装置PCから取り外された場合には、取り外された機器に対応するリソースの割り当て一覧を削除する。   In step S4, when the USB host controller driver unit HD detects a change in device configuration, that is, when a new device is USB-connected to the music application device PC, or any of the devices already connected by USB If it is removed from the music application device PC (yes in step S4), the change in the device configuration is reflected in the resource allocation list (step S5). Specifically, when a new device is USB-connected to the music application device PC, a resource allocation list corresponding to the additionally connected device is created. When any of the devices already connected by USB is removed from the music application apparatus PC, the resource allocation list corresponding to the removed device is deleted.

ステップS6は、各機器毎に既に割り当てられているリソース数を集計したリソースの割り当て総数が、ライセンスされているリソースの総数を超えているか否かを判定する。例えば、ライセンス情報を記憶した電子楽器が音楽アプリケーション装置から取り外されると、前記ライセンス情報に応じて使用許可されているリソースの種類やリソース数などに関してはライセンスされないことになるので、リソースの割り当て総数が、ライセンスされているリソースの総数を超える場合があり都合が悪い。こうした不都合を避けるために、ここでも上記ステップS9と同様の処理である、リソースの割り当て総数がライセンスされているリソースの総数を超えているか否かを判定する処理を行うようにしている。リソースの割り当て総数が、ライセンスされているリソースの総数を超えていないと判定した場合には(ステップS6のno)、ステップS4の処理に戻る。一方、リソースの割り当て総数が、ライセンスされているリソースの総数を超えていると判定した場合には(ステップS6のyes)、リソース数の割り当て一覧上で、音楽アプリケーション処理部MA、あるいは各ターゲット機器(電子楽器)に割り当てられたリソースの上限を変更する(ステップS7)。   In step S6, it is determined whether or not the total number of resources allocated by counting the number of resources already allocated to each device exceeds the total number of licensed resources. For example, when an electronic musical instrument that stores license information is removed from a music application device, the type of resource and the number of resources that are permitted to be used according to the license information are not licensed. This is inconvenient because it may exceed the total number of licensed resources. In order to avoid such inconvenience, here, the same process as in step S9 is performed, and a process for determining whether or not the total number of allocated resources exceeds the total number of licensed resources is performed. If it is determined that the total number of allocated resources does not exceed the total number of licensed resources (no in step S6), the process returns to step S4. On the other hand, if it is determined that the total number of allocated resources exceeds the total number of licensed resources (step S6: yes), the music application processing unit MA or each target device is displayed on the allocated number of resources list. The upper limit of resources allocated to (electronic musical instrument) is changed (step S7).

ステップS11は、上記のようにして更新された各機器毎のリソースの割り当て一覧のうち、音楽アプリケーション装置PCに関するリソースの割り当て一覧に従って、音楽アプリケーション処理部MAに対してリソースの上限を指示する。すなわち、音楽アプリケーション装置PCでは、音楽アプリケーション処理部MAが音楽アプリケーションプログラムを実行する際に、前記リソースの上限の指示に従って各機能を動作する。ステップS12は、上記のようにして更新された各機器毎のリソースの割り当て一覧のうち、各ターゲット機器(電子楽器DM)に関するリソースの割り当て一覧に従って、USBホストコントローラドライバ部HD経由で、ターゲット機器(電子楽器DM)のオーディオファンクション部AFに対して、リソースの上限を指示する(ステップS12)。すなわち、ターゲット機器(電子楽器DM)では、音楽アプリケーション装置PCから送られてくるリソースの上限の指示に従って、使用可能なリソースの上限を設定して、各機能を動作する。   Step S11 instructs the music application processing unit MA to set the upper limit of the resource according to the resource allocation list related to the music application device PC among the resource allocation list for each device updated as described above. That is, in the music application apparatus PC, when the music application processing unit MA executes the music application program, each function operates according to the instruction for the upper limit of the resource. In step S12, according to the resource allocation list for each target device (electronic musical instrument DM) in the resource allocation list for each device updated as described above, the target device (via the USB host controller driver unit HD) is selected. The upper limit of the resource is instructed to the audio function part AF of the electronic musical instrument DM) (step S12). That is, the target device (electronic musical instrument DM) operates each function by setting the upper limit of the usable resource in accordance with the resource upper limit instruction sent from the music application apparatus PC.

次に、本実施例に示す音楽アプリケーション装置PC及び電子楽器DMにおける、「ライセンス管理処理」の別の実施例について、図4を用いて説明する。図4は、「ライセンス管理処理」の別の実施例を示すフローチャートである。当該処理は、電子楽器DMで使用中のリソースの数(例えば同時発音数)に応じて、リアルタイムに音楽アプリケーション装置PCと電子楽器DMで使用可能とするリソースを変動させるようにしたものである。ここに示す「ライセンス管理処理」は、音楽アプリケーション装置PC側と電子楽器DM側でそれぞれ開始される処理が組み合わさられることにより実現される。   Next, another example of the “license management process” in the music application apparatus PC and the electronic musical instrument DM shown in this example will be described with reference to FIG. FIG. 4 is a flowchart showing another example of the “license management process”. In this process, the resources that can be used in the music application device PC and the electronic musical instrument DM are changed in real time in accordance with the number of resources (for example, the number of simultaneous sounds) in use in the electronic musical instrument DM. The “license management process” shown here is realized by combining processes started on the music application apparatus PC side and the electronic musical instrument DM side.

音楽アプリケーション装置PC(具体的にはライセンス管理部LS)の処理として、まずUSBホストコントローラドライバ部HDから、本音楽アプリケーション装置PCにUSB接続されている機器(ハードウェアキーKや電子楽器DM)の一覧を取得する(ステップS21)。ステップS22は、ライセンス管理ファンクション部KF,LFを持つ機器、つまりUSB接続された機器のひとつひとつに対して、各機器毎に記憶されているライセンス情報に基づきライセンスされているリソースの種類及び種類毎のリソース数の上限などを問合せて、各機器からライセンスされているリソースの種類やリソース数などを取得する。ステップS23は、各機器毎のリソースの種類やリソース数などをライセンス情報毎に集計することで、使用許可するリソースの種類及び種類毎のリソース数の総和(リソースの範囲)を求め、求めたリソースの種類及び種類毎のリソース数の総和(リソースの範囲)をRAMに保持(記憶)させる。ステップS24は、現在使用中であるリソース種類毎のリソース使用数をクリアする。   As processing of the music application device PC (specifically, the license management unit LS), first, from the USB host controller driver unit HD to a device (hardware key K or electronic musical instrument DM) connected to the music application device PC via USB. A list is acquired (step S21). In step S22, for each of the devices having the license management function units KF and LF, that is, for each of the devices connected via USB, the type of the resource licensed for each type and type based on the license information stored for each device. Queries the upper limit of the number of resources, etc., and acquires the type and number of resources licensed from each device. In step S23, the type of resources and the number of resources for each device are aggregated for each license information, and the type of resources permitted to be used and the total number of resources for each type (resource range) are obtained. And the total number of resources for each type (range of resources) are held (stored) in the RAM. Step S24 clears the resource usage count for each resource type currently in use.

ステップS25は、音楽アプリケーション処理部MAから、あるいはUSBホストコントローラドライバ部HD経由でUSB接続された電子楽器DMから、ノートオン(楽音制御情報)の許可要求があったか否かを判定する。ノートオンの許可要求があったと判定した場合には(ステップS25のyes)、許可要求されたノートオン数に基づき、使用許可するリソース種類及びリソース数を求める(ステップS26)。そして、音楽アプリケーション処理部MAに対し、あるいはUSBホストコントローラドライバ部HD経由で電子楽器DMに対し、許可するノートオン数を返信する(ステップS27)。また、現在使用中のリソースの使用数を更新する(ステップS28)。ステップS29は、音楽アプリケーション処理部MAから、あるいはUSBホストコントローラドライバHD経由で電子楽器DMから、ノートオフ(楽音制御情報)の通知があったか否かを判定する。ノートオフ通知があったと判定した場合には(ステップS29のyes)、現在使用中のリソースの使用数を更新する(ステップS30)。ステップS31は、USBホストコントローラドライバ部HDが機器構成の変化を検出したか否かを判定する。機器構成の変化を検出した場合には(ステップS31のyes)、リソース数の総和を更新する(ステップS32)。   In step S25, it is determined whether or not there is a request for permission of note-on (musical sound control information) from the music application processing unit MA or from the electronic musical instrument DM connected via the USB host controller driver unit HD. If it is determined that there is a request for permission of note-on (yes in step S25), the resource type and the number of resources permitted to be used are obtained based on the number of note-ons requested for permission (step S26). Then, the number of allowed note-ons is returned to the music application processing unit MA or to the electronic musical instrument DM via the USB host controller driver unit HD (step S27). Further, the number of currently used resources is updated (step S28). In step S29, it is determined whether or not a note-off (musical sound control information) is notified from the music application processing unit MA or from the electronic musical instrument DM via the USB host controller driver HD. If it is determined that there is a note-off notification (yes in step S29), the number of resources currently in use is updated (step S30). In step S31, it is determined whether the USB host controller driver unit HD has detected a change in device configuration. When a change in the device configuration is detected (step S31: yes), the total number of resources is updated (step S32).

他方、電子楽器DMの処理(又は音楽アプリケーション装置PCにおける音楽アプリケーション処理部MAの処理)としては、ノートオンイベントを発生したか否かを判定する(ステップP1)。ステップP2は、USBターゲットコントローラドライバ部TD経由でホスト機器である音楽アプリケーション装置PCのライセンス管理部LSに対して、ノートオンの許可要求を発行する。ステップP3は、USBターゲットコントローラドライバ部TD経由でホスト機器である音楽アプリケーション装置PCのライセンス管理部LSから返信された、許可されたノートオン数を受け取る。ステップP4は、許可されたノートオン数が要求したノートオンの数より少ないか否かを判定する。許可されたノートオン数が要求したノートオンの数より少ないと判定した場合には(ステップP4のyes)、トランケート処理を実行し、要求したノートオンに基づく楽音の発音の一部を省略する(ステップP5)。ステップP6は、ノートオンに基づく楽音を発音する発音処理を実行する。ステップP7は、ノートオフイベントを発生したか否かを判定する。ノートオフイベントを発生したと判定した場合には(ステップP7のyes)、USBターゲットコントローラドライバ部TD経由でホスト機器である音楽アプリケーション装置PCのライセンス管理部LSに対して、トランケート処理も加味したノートオフの数を通知する(ステップP8)。   On the other hand, as processing of the electronic musical instrument DM (or processing of the music application processing unit MA in the music application device PC), it is determined whether or not a note-on event has occurred (step P1). Step P2 issues a note-on permission request to the license management unit LS of the music application apparatus PC which is the host device via the USB target controller driver unit TD. Step P3 receives the permitted note-on number returned from the license management unit LS of the music application device PC which is the host device via the USB target controller driver unit TD. Step P4 determines whether the number of allowed note-ons is less than the requested number of note-ons. If it is determined that the number of allowed note-ons is less than the requested number of note-ons (yes in step P4), the truncation process is executed, and a part of the tone generation based on the requested note-on is omitted ( Step P5). Step P6 executes a sound generation process for generating a musical sound based on note-on. Step P7 determines whether or not a note-off event has occurred. If it is determined that a note-off event has occurred (yes in step P7), a note that includes truncation processing is added to the license management unit LS of the music application device PC that is the host device via the USB target controller driver unit TD. The number of OFF is notified (step P8).

以上のようにして、音楽アプリケーション装置で動作する音楽アプリケーションプログラム及び該音楽アプリケーション装置にUSB接続された電子楽器のライセンス管理を、共通のライセンス情報に従って行うことができるようにしたので、ユーザはそれぞれが同等の機能を有する音楽アプリケーション装置と電子楽器とが組み合わされて利用されるような場合に、整合性を確保した上で音楽アプリケーション装置と電子楽器のリソースをあわせて制限することが容易にできるようになる。   As described above, the license management of the music application program operating on the music application device and the electronic musical instrument connected to the music application device via USB can be performed according to the common license information. When a music application device having an equivalent function and an electronic musical instrument are used in combination, it is possible to easily restrict resources of the music application device and the electronic musical instrument together with ensuring consistency. become.

また、ユーザが任意に使用可能とするリソースの割り当てを行うことができるようにしたので、ユーザは自身の使い方に従って、使用許可されたリソースの範囲内で、自由に音楽アプリケーション装置及び電子楽器それぞれで使用するリソースを設定して使用することができるようになる。例えば電子楽器に最大256音を同時に発音することができる「ライセンス情報A」が記憶され、一方音楽アプリケーション装置にUSB接続されたハードウェアキーに最大256音を同時に発音することができる「ライセンス情報B」が記憶されている場合などにおいては、ユーザは以下に示すような使い方が適宜にできるようになる。
(1)電子楽器と音楽アプリケーションプログラムとで親和性の高い操作を求めるユーザは、電子楽器に対して使用許可される256音分のリソースの「ライセンス情報A」を音楽アプリケーションプログラムに対して適用することで、音楽アプリケーションプログラムで最大512音を同時に発音させることができるように、擬似的な発音チャンネルを割り当てる(ただし、この場合には電子楽器側で発音できなくなる)。
(2)発音する音の品質や安定性を重視するユーザやライブ演奏で使用するユーザは、音楽アプリケーションプログラムに対して使用許可される256音分のリソースの「ライセンス情報B」を電子楽器に対して適用することで、電子楽器で最大512音を同時に発音させることができるように、発音チャンネルを割り当てる(ただし、この場合には音楽アプリケーションプログラム側で発音できなくなる)。
(3)各機器に記憶された「ライセンス情報A」、「ライセンス情報B」それぞれに基づき、頻繁に音をエディットしたい256音は音楽アプリケーションプログラムに割り当て、ベーシックな256音は電子楽器に割り当てる。
なお、ユーザは同時発音数などのリソースが足りないような場合に、追加的に新たなライセンス情報を購入することによって、使用許可されるリソースの範囲を拡げることができることは言うまでもない。
In addition, since the user can arbitrarily allocate resources that can be used, the user can freely use the music application device and the electronic musical instrument according to their usage within the range of the permitted resources. The resource to be used can be set and used. For example, “license information A” capable of simultaneously sounding up to 256 sounds on an electronic musical instrument is stored, while “license information B” capable of simultaneously sounding up to 256 sounds on a hardware key connected to a music application device via USB. ”Is stored, the user can appropriately use as described below.
(1) A user who seeks an operation with high compatibility between an electronic musical instrument and a music application program applies “license information A” of 256-sound resources permitted to be used for the electronic musical instrument to the music application program. Thus, a pseudo sound generation channel is allocated so that a maximum of 512 sounds can be simultaneously generated by the music application program (however, in this case, the electronic musical instrument cannot be sounded).
(2) A user who attaches importance to the quality and stability of the sound to be generated or a user who is used in live performance uses “license information B” of 256 sound resources permitted for the music application program to the electronic musical instrument. In this case, a sound channel is assigned so that a maximum of 512 sounds can be generated simultaneously by the electronic musical instrument (however, in this case, the music application program cannot perform sound generation).
(3) Based on the “license information A” and “license information B” stored in each device, 256 sounds to be frequently edited are assigned to the music application program, and basic 256 sounds are assigned to the electronic musical instrument.
Needless to say, the user can expand the range of resources permitted to be used by additionally purchasing new license information when resources such as the number of simultaneous pronunciations are insufficient.

なお、ライセンス情報に従って音楽アプリケーション装置及び/又は電子楽器において機能制限する機能単位(リソース)の種類としては、例えば音源機能における同時に発音することができる同時発音数やそれぞれ別々の楽器音を割り当てて複数の楽器音を鳴らす際のパートの数などがある。勿論、これに限らず、他の例としては、例えば音源、ミキサーなどのオーディオ信号処理機能における生成する楽音のクオリティに関わる、サンプリング周波数(例えば96khzなど)の選択肢の数や1サンプルデータのワード長(例えば32ビットデータなど)などがある。音源やミキサーなどにおいて複数のエフェクトを組み合わせる場合の、使用可能なエフェクトの種類や同時使用可能なエフェクト数などがある。使用できるMIDIのコントロールチェンジデータの数、種類などがある。読み込み可能なファイルフォーマットの種類(例えばMP3形式やWAV形式など)がある。波形編集機能におけるエディットの種類(例えばカット&ペーストやタイムストレッチなど)がある。内部ミキサーの規模(例えば入力チャンネル数、出力チャンネル数、AUXなどのバスの数など)がある。USBやLANなどのインタフェースを装着したときの、オーディオデータ/MIDIデータの入力ポート数や出力ポート数などがある。   Note that the types of functional units (resources) whose functions are restricted in the music application device and / or electronic musical instrument according to the license information are, for example, the number of simultaneous pronunciations that can be generated simultaneously in the sound source function, or different musical instrument sounds assigned to each The number of parts used when playing the instrument sound. Of course, the present invention is not limited to this, and other examples include, for example, the number of sampling frequency (for example, 96 kHz) and the word length of one sample data related to the quality of the musical sound generated by the audio signal processing function such as a sound source and a mixer. (For example, 32-bit data). There are types of effects that can be used and the number of effects that can be used simultaneously when combining multiple effects in a sound source or a mixer. There are the number and type of MIDI control change data that can be used. There are types of file formats that can be read (for example, MP3 format and WAV format). There are edit types (for example, cut and paste, time stretch, etc.) in the waveform editing function. There is a scale of the internal mixer (for example, the number of input channels, the number of output channels, the number of buses such as AUX). There are the number of audio data / MIDI data input ports and output ports when an interface such as USB or LAN is attached.

なお、上述した実施例では、音楽アプリケーションプログラムと電子楽器それぞれに対してどれだけのリソースを割り当てるかをユーザによる割り当て処理(図3のステップS8参照)によるものとしたがこれに限らず、予め決めてあってもよいし、それぞれの機器が必要に応じて自動的に決めることができるようになっていてもよい。
なお、本発明にかかる音楽アプリケーション装置を電子楽器に適用した場合には、当該電子楽器にUSB接続された電子楽器との間で、それぞれに記憶されているライセンス情報に従い、上記したようなライセンス管理を行うことができてよいことは言うまでもない。
In the above-described embodiment, how many resources are allocated to each of the music application program and the electronic musical instrument is determined by the user allocation process (see step S8 in FIG. 3). Each device may be automatically determined as necessary.
When the music application apparatus according to the present invention is applied to an electronic musical instrument, the license management as described above is performed between the electronic musical instrument and the electronic musical instrument connected to the electronic musical instrument by USB according to the license information stored therein. It goes without saying that you can do that.

本発明に係る音楽アプリケーション装置又は電子楽器のいずれか1つの全体構成の一実施例を示すハード構成ブロック図である。1 is a block diagram of a hardware configuration showing an embodiment of an overall configuration of any one of a music application apparatus and an electronic musical instrument according to the present invention. ライセンス管理機能を実現する処理の概要を説明するための制御ブロック図である。It is a control block diagram for demonstrating the outline | summary of the process which implement | achieves a license management function. ライセンス管理処理の一実施例を示すフローチャートである。It is a flowchart which shows one Example of a license management process. ライセンス管理処理の別の実施例を示すフローチャートである。It is a flowchart which shows another Example of a license management process.

符号の説明Explanation of symbols

1…CPU、2…ROM、3…RAM、4…検出回路、4A…操作子、5…表示回路、5A…ディスプレイ、6…音源回路、7…サウンドシステム、8…外部記憶装置、9…MIDIインタフェース、9A…MIDI機器、10…通信インタフェース、10A…サーバコンピュータ、11…USBコントローラ、12…USBハブ機器、13…USB機器、1D…通信バス、X…通信ネットワーク、PC…音楽アプリケーション装置(パソコン)、DM…電子楽器、LS…ライセンス取得部、MA…音楽アプリケーション処理部、ID…通信インタフェースドライバ部、LD…ライセンス管理ドライバ部、AD…MIDI/オーディオドライバ部、HD…USBホストコントローラドライバ部、AF…オーディオファンクション部、LF…ライセンス管理ファンクション部、TD…USBターゲットコントローラドライバ部 1 ... CPU, 2 ... ROM, 3 ... RAM, 4 ... detection circuit, 4A ... operator, 5 ... display circuit, 5A ... display, 6 ... sound source circuit, 7 ... sound system, 8 ... external storage device, 9 ... MIDI Interface, 9A ... MIDI device, 10 ... Communication interface, 10A ... Server computer, 11 ... USB controller, 12 ... USB hub device, 13 ... USB device, 1D ... Communication bus, X ... Communication network, PC ... Music application device (PC) ) DM ... electronic musical instrument LS ... license acquisition unit MA ... music application processing unit ID ... communication interface driver unit LD ... license management driver unit AD ... MIDI / audio driver unit HD ... USB host controller driver unit AF ... Audio function part, LF ... La Sense management function unit, TD ... USB target controller driver section

Claims (6)

電子楽器と組み合わせられて用いられ、前記電子楽器を制御する音楽アプリケーション装置であって、
1乃至複数の電子楽器を接続する接続手段と、
前記接続された1乃至複数の電子楽器それぞれに記憶されている、所定の機能のライセンス情報を取得する取得手段と、
前記取得したライセンス情報に基づき、前記接続された1乃至複数の電子楽器全体で利用できるリソースの範囲を決定する決定手段と、
前記決定したリソースの範囲のうちから、前記接続された1乃至複数の電子楽器それぞれに対して使用許可するリソースを割り当てる割当手段と、
前記接続された1乃至複数の電子楽器それぞれに対して、前記各電子楽器に割り当てた使用許可するリソースを通知する通知手段と
を具える音楽アプリケーション装置。
A music application device that is used in combination with an electronic musical instrument and controls the electronic musical instrument,
Connecting means for connecting one or more electronic musical instruments;
Obtaining means for obtaining license information of a predetermined function stored in each of the connected electronic musical instruments;
Determining means for determining a range of resources that can be used by the connected electronic musical instruments as a whole based on the acquired license information;
Allocating means for allocating resources to be permitted to use for each of the connected electronic musical instruments from the determined resource range;
A music application apparatus comprising notification means for notifying each of the connected electronic musical instruments of a resource that is permitted to be assigned to each of the electronic musical instruments.
前記電子楽器が実行する機能と少なくとも同様の一部機能を実現する所定の音楽アプリケーションプログラムを動作する動作手段をさらに具えてなり、前記動作手段は前記割当手段により前記決定したリソースの範囲のうち前記各電子楽器に割り当てられたリソースの残りに基づき、リソースを制限しながら前記音楽アプリケーションプログラムを動作することを特徴とする請求項1に記載の音楽アプリケーション装置。   The system further comprises operating means for operating a predetermined music application program that realizes at least a partial function similar to the function executed by the electronic musical instrument, wherein the operating means is the resource range determined by the assigning means in the resource range determined by the assigning means. 2. The music application apparatus according to claim 1, wherein the music application program is operated based on a remaining resource allocated to each electronic musical instrument while limiting resources. 前記割当手段は、前記接続された1乃至複数の電子楽器それぞれが発生する所定の制御情報に応じて、前記決定したリソースの範囲のうちから前記制御情報を発生した電子楽器が前記制御情報の発生に伴って使用許可を必要とするリソースを適宜に確保して割り当てることを特徴とする請求項1又は2に記載の音楽アプリケーション装置。 Said assigning means, in response to the predetermined control information, wherein each of the connected one or a plurality of electronic musical instruments are generated, generation of an electronic musical instrument generates the control information from among the range of resources that said determining said control information music application apparatus according to claim 1 or 2, characterized in that allocated appropriately to ensure resources that require authorization used with the. 音楽アプリケーション装置を接続する接続手段と、
所定の機能のライセンス情報を記憶する記憶手段と、
前記接続された音楽アプリケーション装置からの指示に応じて、前記記憶手段に記憶済みのライセンス情報を前記音楽アプリケーション装置に対して返送する返送手段と、
前記接続された音楽アプリケーション装置からの使用許可するリソースの通知に応じて、前記記憶済みのライセンス情報に関わらずにリソースを制限して前記所定の機能を実行する制御手段と
を具える電子楽器。
A connection means for connecting the music application device;
Storage means for storing license information of a predetermined function;
In response to an instruction from the connected music application device, return means for returning the license information stored in the storage means to the music application device;
An electronic musical instrument comprising control means for restricting resources and executing the predetermined function regardless of the stored license information in response to a notification of a resource permitted to be used from the connected music application device.
コンピュータに、
接続手段に接続された1乃至複数の電子楽器それぞれに記憶されている、所定の機能のライセンス情報を取得する手順と、
前記取得したライセンス情報に基づき、前記接続された1乃至複数の電子楽器全体で利用できるリソースの範囲を決定する手順と、
前記決定したリソースの範囲のうちから、前記接続された1乃至複数の電子楽器それぞれに対して使用許可するリソースを割り当てる手順と、
前記接続された1乃至複数の電子楽器それぞれに対して、前記各電子楽器に割り当てた使用許可するリソースを通知する手順と、
を実行させるためのプログラム。
On the computer,
A procedure for obtaining license information of a predetermined function stored in each of one or more electronic musical instruments connected to the connection means;
Determining a range of resources that can be used by the connected electronic musical instruments as a whole based on the acquired license information;
Allocating resources to be permitted to use for each of the connected electronic musical instruments from the determined resource range;
A procedure of notifying each of the connected electronic musical instruments of a resource that is permitted to use assigned to each electronic musical instrument;
A program for running
コンピュータに、
接続手段に接続されている音楽アプリケーション装置からの指示に応じて、記憶手段に記憶済みの所定の機能のライセンス情報を前記音楽アプリケーション装置に対して返送する手順と、
前記接続された音楽アプリケーション装置からの使用許可するリソースの通知に応じて、前記記憶済みのライセンス情報に関わらずにリソースを制限して前記所定の機能を実行する手順と
を実行させるためのプログラム。
On the computer,
In response to an instruction from the music application device connected to the connection means, a procedure for returning license information of a predetermined function stored in the storage means to the music application device;
A program for executing a procedure for restricting resources and executing the predetermined function regardless of the stored license information in response to a notification of a resource permitted to be used from the connected music application device.
JP2007070342A 2007-03-19 2007-03-19 Music application device, electronic musical instrument, and program Expired - Fee Related JP5168962B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007070342A JP5168962B2 (en) 2007-03-19 2007-03-19 Music application device, electronic musical instrument, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007070342A JP5168962B2 (en) 2007-03-19 2007-03-19 Music application device, electronic musical instrument, and program

Publications (2)

Publication Number Publication Date
JP2008233335A JP2008233335A (en) 2008-10-02
JP5168962B2 true JP5168962B2 (en) 2013-03-27

Family

ID=39906226

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007070342A Expired - Fee Related JP5168962B2 (en) 2007-03-19 2007-03-19 Music application device, electronic musical instrument, and program

Country Status (1)

Country Link
JP (1) JP5168962B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8239890B2 (en) * 2009-11-03 2012-08-07 Echostar Technologies Llc Systems and methods for authorizing access to content for a television receiver

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4177040B2 (en) * 2001-07-17 2008-11-05 松下電器産業株式会社 Content utilization apparatus, network system, and license information acquisition method
JP4362768B2 (en) * 2004-01-15 2009-11-11 ヤマハ株式会社 External device control method, external device control device, and program
JP4305218B2 (en) * 2004-02-27 2009-07-29 ヤマハ株式会社 Acoustic signal processing system
JP2006270715A (en) * 2005-03-25 2006-10-05 Yamaha Corp Electronic musical device used for music network system, and program

Also Published As

Publication number Publication date
JP2008233335A (en) 2008-10-02

Similar Documents

Publication Publication Date Title
JP3894062B2 (en) Music data distribution device, music data reception device, and program
JP3570309B2 (en) Remix device and storage medium
JP3235409B2 (en) Music system, sound source and tone synthesis method
US10373595B2 (en) Musical sound generation device
JP2005010461A (en) Arpeggio pattern setting apparatus and program
US10475425B2 (en) Musical sound generation device
JP2007140211A (en) Content distribution system, content reproducing device, content providing server, and program used for same
JP5168962B2 (en) Music application device, electronic musical instrument, and program
EP3550555B1 (en) Electronic musical instrument, method, and storage medium
JP2008233334A (en) Music application device, electronic musical instrument and program
JP4924129B2 (en) Electronic music apparatus and program
JP6720728B2 (en) Tone setting device, electronic musical instrument system, and tone setting method
JP4193738B2 (en) Electronic music apparatus and program
JP4096952B2 (en) Music generator
US20200112642A1 (en) Resonance sound signal generation device, resonance sound signal generation method, non-transitory computer readable medium storing resonance sound signal generation program and electronic musical apparatus
JP5293085B2 (en) Tone setting device and method
JP2003167578A (en) Device and program for setting communication
JP7331915B2 (en) Information processing device, electronic musical instrument, sound capturing system, method and program
JP6452234B2 (en) Musical sound generator and program
JP5609069B2 (en) Music signal control device
JP2005017676A (en) Automatic music player and program
JP6606839B2 (en) Waveform writing apparatus, method, program, and electronic musical instrument
JP3705203B2 (en) Music generation method
JP5699564B2 (en) Music application program and electronic music apparatus
JP6390190B2 (en) Server device and music system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120306

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120424

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121217

R150 Certificate of patent or registration of utility model

Ref document number: 5168962

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees