JP4270102B2 - Automatic performance device and program - Google Patents

Automatic performance device and program Download PDF

Info

Publication number
JP4270102B2
JP4270102B2 JP2004309704A JP2004309704A JP4270102B2 JP 4270102 B2 JP4270102 B2 JP 4270102B2 JP 2004309704 A JP2004309704 A JP 2004309704A JP 2004309704 A JP2004309704 A JP 2004309704A JP 4270102 B2 JP4270102 B2 JP 4270102B2
Authority
JP
Japan
Prior art keywords
automatic performance
data
play effect
event
performance data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004309704A
Other languages
Japanese (ja)
Other versions
JP2006091804A (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 JP2004309704A priority Critical patent/JP4270102B2/en
Publication of JP2006091804A publication Critical patent/JP2006091804A/en
Application granted granted Critical
Publication of JP4270102B2 publication Critical patent/JP4270102B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

この発明は、自動演奏中に自動演奏データに対し所望の変化を与え、元の自動演奏データとは雰囲気の異なる自動演奏を行うことが可能な自動演奏装置及びプログラムに関する。特に、自動演奏データを制作した制作者の意図しない変化が施されて演奏されることのないようにできるようにした自動演奏装置及びプログラムに関する。   The present invention relates to an automatic performance apparatus and program capable of giving desired changes to automatic performance data during automatic performance and performing an automatic performance having a different atmosphere from the original automatic performance data. In particular, the present invention relates to an automatic performance apparatus and a program that can prevent a performance that is not intended by the creator who created the automatic performance data from being changed.

従来から、所定の自動演奏データに基づき自動演奏を行うシーケンサ等の自動演奏装置が知られている。こうした自動演奏装置の1例としては、例えば下記に示す特許文献1に記載の装置がある。この特許文献1に開示されている従来の自動演奏装置は、所謂プレイエフェクト機能(あるいはスイング機能やグルーブ機能とも呼ぶ)と称する、記憶されている元の自動演奏データを破壊することなく、自動演奏時に該自動演奏データに含まれる各種パラメータ(例えばノートオンタイミング、ベロシティ、ゲートタイムなど)の値を所定のプレイエフェクトデータ(変更データ)に従い適宜に変更しながら自動演奏を行うことによって、元の自動演奏データをそのまま自動演奏した場合とは雰囲気の異なる自動演奏、例えば生演奏のような雰囲気ある感情表現豊かな自動演奏を行うことのできる機能を有している。
特許2630166号公報
2. Description of the Related Art Conventionally, an automatic performance device such as a sequencer that performs automatic performance based on predetermined automatic performance data is known. As an example of such an automatic performance device, for example, there is a device described in Patent Document 1 shown below. The conventional automatic performance device disclosed in Patent Document 1 is an automatic performance without destroying the original stored automatic performance data, which is called a so-called play effect function (also called a swing function or a groove function). Sometimes, the automatic performance is performed by appropriately changing various parameters (for example, note-on timing, velocity, gate time, etc.) included in the automatic performance data according to predetermined play effect data (change data). It has a function capable of performing an automatic performance with a different atmosphere from that when the performance data is automatically played as it is, for example, an automatic performance rich in emotional expression such as a live performance.
Japanese Patent No. 2630166

また、最近では、自動演奏データに基づく自動演奏を繰り返し、該繰り返される自動演奏にあわせて行われたユーザ操作に応じて発生される楽音を追加録音するようにして自動演奏データを生成することのできるようにした、所謂ループ録音方式やオーバーダブ録音方式などと呼ばれるデータ生成機能を有する自動演奏装置が公知である。ここで、上記ループ録音方式とは、数小節の伴奏パターンの演奏が繰り返される自動伴奏と同じように、録音(つまり自動演奏データの生成)についてもループ方式がとられるものである。例えば、2小節の自動演奏データの録音をスタートさせると、該2小節の録音が何回も繰り返される(ループ再生される)。一度録音した自動演奏データはその次の「ループ」からすぐに演奏されることになるので、ユーザは耳で録音した自動演奏データをすぐに確認することができる。他方、オーバーダブ録音方式とは、一度録音したパート(チャンネル)に、元のデータを消さずに重ねて録音する方式である。例えば、2小節のメインパートの録音をスタートさせると、この2小節の録音が何回も繰り返される(ループ再生される)。一度録音した自動演奏データは、その次の「ループ」から演奏される。そこで、ユーザはその録音した自動演奏データを耳で確認しながら、さらに重ねて新しいノートデータを録音していくことができる。   Recently, automatic performance data is generated by repeating automatic performance based on automatic performance data and additionally recording musical sounds generated in response to user operations performed in accordance with the repeated automatic performance. An automatic performance apparatus having a data generation function called a so-called loop recording system or overdub recording system, which can be performed, is known. Here, the loop recording system is a loop system for recording (that is, generation of automatic performance data) as in the case of automatic accompaniment in which the performance of an accompaniment pattern of several measures is repeated. For example, when recording of automatic performance data of two measures is started, the recording of the two measures is repeated many times (loop playback). Since the automatic performance data once recorded is played immediately from the next “loop”, the user can immediately confirm the automatic performance data recorded by the ear. On the other hand, the overdub recording method is a method in which the original data is recorded on the part (channel) once recorded without being erased. For example, when recording of the main part of two measures is started, the recording of the two measures is repeated many times (loop playback). Once recorded, the automatic performance data is played from the next “loop”. Therefore, the user can record new note data in layers while confirming the recorded automatic performance data with his / her ear.

ところで、自動演奏データを制作する際に、制作者は例えば拍どおりに正確に再生されることを意図して自動演奏データを制作する場合もあるし、予め各種パラメータを細かく設定して所謂ノリや雰囲気を持たせた自動演奏データを制作する場合もある。しかし、上記したような従来のプレイエフェクト機能を有する自動演奏装置においては、元の自動演奏データを制作した制作者の意図にかかわらず、自動演奏の際には必ず自動演奏データに対してプレイエフェクトをかけるようになっていた。したがって、制作者自身が既に所望の音楽的表現などを意図して各種パラメータを設定済みであるような自動演奏データを使用した場合であっても、該自動演奏データに対してプレイエフェクトがかけられ各種パラメータが変更される結果として、制作者が意図した音楽的表現とはかけ離れた演奏や、音楽として不自然な演奏が行われることが生じる、という問題点があった。また、従来において、例えばプレイエフェクト機能を用いて予め作成しておいた自動演奏データに対して更にプレイエフェクトをかけたような場合には、自動演奏データのプレイエフェクトをかける対象の箇所全てに対し多重にプレイエフェクトがかけられてしまうことから、制作者の意図からより大きくずれた演奏が行われたり、音楽としてより不自然である演奏が行われることが生じてしまうこととなって都合が悪い。   By the way, when producing automatic performance data, the producer may produce automatic performance data with the intention of reproducing it accurately according to the beat, for example. In some cases, automatic performance data with an atmosphere is created. However, in the automatic performance apparatus having the conventional play effect function as described above, the play effect is always applied to the automatic performance data during automatic performance, regardless of the intention of the creator who created the original automatic performance data. It was supposed to be applied. Therefore, even if the producer himself / herself uses automatic performance data in which various parameters have been set for the purpose of a desired musical expression, play effects can be applied to the automatic performance data. As a result of changing various parameters, there is a problem in that a performance far from the musical expression intended by the creator or an unnatural performance as music occurs. In addition, in the past, for example, when a play effect is further applied to automatic performance data created in advance using the play effect function, for all portions to which the play effect of the automatic performance data is applied. Since multiple play effects are applied, it may be inconvenient that performances that deviate significantly from the creator's intentions or performances that are more unnatural as music may occur. .

また、上記したループ録音方式又はオーバーダブ録音方式などのような、自動演奏を繰り返しながら自動演奏データを生成するデータ生成機能を有する場合において、単に自動演奏を行うのではなく所定のプレイエフェクトデータ(変更データ)に従いプレイエフェクトをかけながら自動演奏できるようにすると、より多様な自動演奏データを簡単に生成することができ便利である。しかし、自動演奏に対して単にプレイエフェクトをかけるようにしただけでは、自動演奏が繰り返される(ループ再生される)たびにプレイエフェクトがかけられる、つまり多重にプレイエフェクトがかけられてしまうことが生じることから非常に都合が悪い。そこで、こうしたプレイエフェクトが多重にかけられることなく、適宜にプレイエフェクトをかけながらリアルタイムに自動演奏データを生成することのできるようにした、データ生成機能を有する自動演奏装置が従来から望まれていた。   In addition, in the case of having a data generation function for generating automatic performance data while repeating automatic performance, such as the loop recording method or the overdub recording method described above, predetermined play effect data ( It is convenient that a variety of automatic performance data can be easily generated if automatic performance can be performed while applying a play effect according to (change data). However, if the play effect is simply applied to the automatic performance, the play effect is applied every time the automatic performance is repeated (loop playback), that is, the play effect may be applied multiple times. This is very inconvenient. Therefore, there has been a demand for an automatic performance device having a data generation function that can automatically generate real-time performance data in real time while appropriately applying play effects without applying such play effects.

本発明は上述の点に鑑みてなされたもので、既に所望の音楽的表現などを意図して制作されている自動演奏データの全て又は一部箇所に対してプレイエフェクトをかけられないようにすることによって、該自動演奏データの制作者が意図したとおりの音楽的表現を実現する演奏、音楽として自然な演奏を行うことのできるようにした自動演奏装置及びプログラムを提供することを目的とする。
また、ループ録音方式又はオーバーダブ録音方式などの、繰り返される自動演奏にあわせて行われたユーザ操作に応じて発生される楽音を追加録音するようにして自動演奏データを生成するデータ作成機能を有する場合に、所望のループ再生時においてはプレイエフェクトをかけ、それ以降のループ再生時にはプレイエフェクトをかけないようにすることによって、多重にプレイエフェクトがかけられることなくリアルタイムに自動演奏データを作成することのできるようにした自動演奏装置及びプログラムを提供することを目的とする。
The present invention has been made in view of the above points, and prevents any play effect from being applied to all or part of automatic performance data that has already been produced with the intention of producing a desired musical expression. Accordingly, it is an object of the present invention to provide an automatic performance apparatus and a program which can perform a performance that realizes a musical expression as intended by the producer of the automatic performance data and a natural performance as music.
It also has a data creation function for generating automatic performance data by additionally recording musical sounds generated in response to user operations performed in accordance with repeated automatic performance, such as a loop recording method or an overdub recording method. In this case, automatic play data can be created in real time without applying multiple play effects by applying play effects during desired loop playback and not applying play effects during subsequent loop playback. It is an object of the present invention to provide an automatic performance apparatus and a program which can be used.

本発明の請求項に係る自動演奏装置は、自動演奏を繰り返し、該繰り返される自動演奏を元にして自動演奏データを生成することが可能な自動演奏装置であって、変更内容を指定する変更データに基づき、自動演奏データの内容を変更しながら自動演奏を行うか否かを設定する設定手段と、前記変更データに基づき自動演奏データの内容を変更しながらの自動演奏が既に行われたか否かを判定する判定手段と、未だ自動演奏データの内容を変更しながらの自動演奏が行われていない場合には前記設定に応じて自動演奏データの内容を変更しながら自動演奏を行う一方で、既に自動演奏データの内容を変更しながらの自動演奏が行われていた場合には自動演奏データの内容を変更することなく自動演奏を行う演奏手段と、少なくとも前記内容が変更された自動演奏データを繰り返し自動演奏する対象として記憶する記憶手段とを具える。
また、本発明の請求項に係る自動演奏装置は、自動演奏を繰り返し、該繰り返される自動演奏を元にして自動演奏データを生成することが可能な自動演奏装置であって、変更内容を指定する変更データに基づき、自動演奏データの内容を変更しながら自動演奏を行うか否かを設定する設定手段と、自動演奏データの内容を変更する又はしない範囲を指定する所定の禁止情報に基づき、その内容を変更する又はしない範囲を判定する判定手段と、前記設定に応じて前記自動演奏データの内容を変更すると判定した範囲については前記変更データに基づいて自動演奏データの内容を変更しながら自動演奏を行う一方で、前記自動演奏データの内容を変更しないと判定した範囲については自動演奏データの内容を変更することなく自動演奏を行う演奏手段と、少なくとも前記内容が変更された自動演奏データを繰り返し自動演奏する対象として記憶する記憶手段とを具える。これらによると、自動演奏の繰り返しを伴いながら自動演奏データを生成する際に、プレイエフェクトがかけられた以降のループ再生時にはプレイエフェクトをかけないようにすることから、多重にプレイエフェクトがかけられることを防止し、またより多様な自動演奏データを簡単に生成することができるようになる。
Automatic playing apparatus according to claim 1 of the present invention, changes repeatedly automatic performance, an automatic performance device capable of generating automatic performance data based on the automatic performance repeated the specifies changes Setting means for setting whether or not to perform automatic performance while changing the contents of automatic performance data based on data, and whether or not automatic performance while changing the contents of automatic performance data based on the changed data has already been performed A determination means for determining whether or not automatic performance while changing the content of the automatic performance data has not been performed yet, while performing the automatic performance while changing the content of the automatic performance data according to the setting, Performance means for performing automatic performance without changing the content of the automatic performance data when automatic performance has already been performed while changing the content of the automatic performance data, and at least the content Comprising a storage means for storing as a target for auto-play repeatedly changed automatic performance data.
An automatic performance device according to claim 2 of the present invention is an automatic performance device capable of repeating automatic performance and generating automatic performance data based on the repeated automatic performance, and specifying the contents to be changed. Based on the change data, the setting means for setting whether to perform the automatic performance while changing the content of the automatic performance data, and based on the predetermined prohibition information for specifying the range in which the content of the automatic performance data is changed or not, A determination means for determining a range in which the content is changed or not, and a range determined to change the content of the automatic performance data according to the setting are automatically changed while changing the content of the automatic performance data based on the change data. While performing, the automatic performance is performed without changing the content of the automatic performance data for the range determined not to change the content of the automatic performance data. And Kanade means comprises a storage means for storing as a target for auto-play repeatedly auto-play data at least the contents are changed. According to these, when automatic performance data is generated while repeating automatic performance, the play effect is not applied during loop playback after the play effect is applied, so multiple play effects can be applied. And a variety of automatic performance data can be easily generated.

本発明は、装置の発明として構成し、実施することができるのみならず、方法の発明として構成し実施することができる。また、本発明は、コンピュータまたはDSP等のプロセッサのプログラムの形態で実施することができるし、そのようなプログラムを記憶した記憶媒体の形態で実施することもできる。   The present invention can be constructed and implemented not only as a device 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.

本発明によれば、自動演奏データに変更禁止情報を記憶しておき、該変更禁止情報に従って自動演奏データを再生する際にその内容に変更が加えられることを防止することのできるようにしたことから、制作者の意図したとおりの音楽表現で、且つ音楽として自然な演奏を行うことができるようになる、という効果が得られる。
また、ループ録音方式又はオーバーダブ録音方式などの自動演奏を伴いながら自動演奏データを生成する際に、所望のループ再生時にはプレイエフェクトをかけ、それ以降のループ再生時にはプレイエフェクトをかけないようにすることによって、多重にプレイエフェクトがかけられることを防止し、より多様な自動演奏データを簡単に生成することができるようになる、という効果が得られる。
According to the present invention, the change prohibition information is stored in the automatic performance data, and it is possible to prevent the contents from being changed when the automatic performance data is reproduced according to the change prohibition information. Therefore, it is possible to obtain an effect that it is possible to perform a natural performance as music with the musical expression as intended by the creator.
Also, when automatic performance data is generated with automatic performance such as loop recording method or overdub recording method, play effect is applied during desired loop playback, and play effect is not applied during subsequent loop playback As a result, it is possible to prevent multiple play effects from being applied, and to easily generate a wider variety of automatic performance data.

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

図1は、この発明に係る自動演奏装置を適用した電子楽器の全体構成を示したハード構成ブロック図である。本実施例に示す電子楽器は、マイクロプロセッサユニット(CPU)1、リードオンリメモリ(ROM)2、ランダムアクセスメモリ(RAM)3からなるマイクロコンピュータによって制御される。CPU1は、この電子楽器全体の動作を制御するものである。このCPU1に対して、データ及びアドレスバス1Dを介してROM2、RAM3、検出回路4,5、表示回路6、音源回路7、効果回路8、外部記憶装置10、MIDIインタフェース(I/F)11および通信インタフェース(I/F)12がそれぞれ接続されている。更に、CPU1には、タイマ割込み処理(インタラプト処理)における割込み時間や各種時間を計時するタイマ1Aが接続されている。例えば、タイマ1Aはクロックパルスを発生し、発生したクロックパルスをCPU1に対して処理タイミング命令として与えたり、あるいはCPU1に対してインタラプト命令として与える。CPU1は、これらの命令に従って各種処理を実行する。   FIG. 1 is a hardware configuration block diagram showing the overall configuration of an electronic musical instrument to which an automatic performance device according to the present invention is applied. The electronic musical instrument shown in this embodiment 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 electronic musical instrument. The CPU 1 is connected to the ROM 1, RAM 3, detection circuits 4 and 5, display circuit 6, tone generator circuit 7, effect circuit 8, external storage device 10, MIDI interface (I / F) 11 and the like via the data and address bus 1D. Communication interfaces (I / F) 12 are 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の所定のアドレス領域がそれぞれの機能に割り当てられ、レジスタやフラグ、テーブル、メモリなどとして利用される。この実施例においては、例えば自動演奏の再生タイミングにある各種イベントデータに対してプレイエフェクトをかけるか否かを判定するための、自動演奏データを構成する各トラック毎に1つずつ対応するようにして用意されるプレイエフェクト禁止フラグや、自動演奏データ(詳しくは、再生タイミングに達した自動演奏データに含まれる各種イベントデータ)を一時的に保持するための再生バッファなどがある。すなわち、この実施例に示す電子楽器においては、自動演奏データに含まれる元の各種イベントデータが直接再生されることにより自動演奏が行われるのではなく、一旦、RAM3上に設けられた再生バッファに再生タイミングに達した各種イベントデータを一時的に保存し、これを再生することにより自動演奏を行うようにしている。この再生バッファにイベントデータを一時保存する際には、前記プレイエフェクト禁止フラグに従い、元のイベントデータに対して各種パラメータ(例えばノートオンタイミング、ベロシティ、ゲートタイムなど)の値を適宜に変更するなどのプレイエフェクトの処理を施すか否かを判定し、該判定に従ってプレイエフェクト処理を実行するようにしている。こうした処理についての詳細な説明は、後述する(図5及び図6参照)。   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. In this embodiment, for example, one is assigned to each track constituting the automatic performance data for determining whether or not to apply a play effect to various event data at the playback timing of the automatic performance. A play effect prohibition flag prepared in advance, and a playback buffer for temporarily holding automatic performance data (specifically, various event data included in the automatic performance data that has reached the playback timing). That is, in the electronic musical instrument shown in this embodiment, the automatic performance is not performed by directly reproducing the original various event data included in the automatic performance data, but once in the reproduction buffer provided on the RAM 3. Various event data that has reached the playback timing are temporarily stored and played back to automatically perform the performance. When temporarily storing event data in this playback buffer, the values of various parameters (for example, note-on timing, velocity, gate time, etc.) are appropriately changed with respect to the original event data in accordance with the play effect prohibition flag. It is determined whether or not the play effect processing is to be performed, and the play effect processing is executed according to the determination. A detailed description of such processing will be described later (see FIGS. 5 and 6).

演奏操作子4Aは楽音の音高を選択するための複数の鍵を備えた例えば鍵盤等のようなものであり、各鍵に対応してキースイッチを有しており、この演奏操作子4A(鍵盤等)はユーザによるマニュアル(手弾き)演奏のために使用できるのは勿論のこと、当該電子楽器における自動演奏の演奏環境などを設定するための入力手段として使用することもできる。検出回路4は、演奏操作子4Aの各鍵の押圧及び離鍵を検出することによって検出出力を生じる。設定操作子(スイッチ等)5Aは、自動演奏に関する各種情報等を入力するためのスイッチなどである。例えば、自動演奏対象とする自動演奏データを選択する選択スイッチ、後述するデータ生成機能(図8参照)をオン又はオフする録音開始/終了スイッチ、プレイエフェクト機能をオン(プレイエフェクトをかける設定)又はオフ(プレイエフェクトをかけない設定)するプレイエフェクト設定スイッチ、演奏テンポや音色などの自動演奏に用いる各種情報(パラメータ)等を入力するスイッチ(操作子)などである。勿論、これら以外にも、音高、音色、効果等を選択・設定・制御するために用いる数値データ入力用のテンキーや文字データ入力用のキーボード、あるいはディスプレイ6Aに表示される所定のポインティングデバイスを操作するために用いるマウスなどの各種操作子を含んでいてよい。検出回路5は、上記各スイッチの操作状態を検出し、その操作状態に応じたスイッチ情報をデータ及びアドレスバス1Dを介してCPU1に出力する。表示回路6は例えば液晶表示パネル(LCD)やCRT等から構成されるディスプレイ6Aに、自動演奏可能な自動演奏データの一覧、自動演奏に用いる各種情報の種類や現在の設定状況、あるいはCPU1の制御状態などを表示する。ユーザは該ディスプレイ6Aに表示されるこれらの各種情報を参照しながら、自動演奏対象とする自動演奏データや自動演奏に用いる各種情報(パラメータ)の選択、入力、設定などを行うことができる。   The performance operator 4A 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. The keyboard etc. can be used not only for manual (hand-playing) performance by the user, but also as input means for setting the performance environment for automatic performance of the electronic musical instrument. The detection circuit 4 generates a detection output by detecting the pressing and release of each key of the performance operator 4A. The setting operation element (switch or the like) 5A is a switch or the like for inputting various information related to automatic performance. For example, a selection switch for selecting automatic performance data to be automatically played, a recording start / end switch for turning on or off a data generation function (see FIG. 8) described later, a play effect function on (setting for applying a play effect), or A play effect setting switch that is turned off (a setting that does not apply the play effect), a switch (operator) that inputs various information (parameters) used for automatic performance such as the performance tempo and tone. Of course, in addition to these, a numeric keypad for inputting numeric data, a keyboard for inputting character data, and a predetermined pointing device displayed on the display 6A, which are used for selecting, setting and controlling the pitch, tone color, effect, etc. Various operators such as a mouse used for operation may be included. The detection circuit 5 detects the operation state of each switch and outputs switch information corresponding to the operation state to the CPU 1 via the data and address bus 1D. The display circuit 6 is displayed on a display 6A composed of, for example, a liquid crystal display panel (LCD), a CRT, or the like. A list of automatic performance data that can be automatically played, various types of information used for automatic performance, current settings, or control of the CPU 1 Displays the status. The user can select, input, and set automatic performance data to be automatically performed and various information (parameters) used for automatic performance while referring to these various types of information displayed on the display 6A.

音源回路7は複数のチャンネルで楽音信号の同時発生が可能であり、データ及びアドレスバス1Dを経由して与えられた、ユーザによる演奏操作子4Aの操作に応じてあるいは自動演奏データに基づき発生される各種演奏情報を入力し、これらの演奏情報に基づいて楽音信号を発生する。音源回路7から発生された楽音信号は、効果回路8を介して効果付与されてアンプやスピーカなどを含むサウンドシステム9から発音される。効果回路8は複数のエフェクトユニットを含んでおり、各エフェクトユニットは設定された効果パラメータに従い、それぞれ異なった効果を音源回路7からの楽音信号に付与することができる。この音源回路7と効果回路8とサウンドシステム9の構成には、従来のいかなる構成を用いてもよい。例えば、音源回路8はFM、PCM、物理モデル、フォルマント合成等の各種楽音合成方式のいずれを採用してもよく、また専用のハードウェアで構成してもよいし、CPU1によるソフトウェア処理で構成してもよい。   The tone generator circuit 7 can simultaneously generate musical sound signals in a plurality of channels, and is generated in accordance with the operation of the performance operator 4A by the user and given through the data and address bus 1D or based on automatic performance data. Various performance information is input, and a musical sound signal is generated based on the performance information. The musical sound signal generated from the sound source circuit 7 is given an effect via the effect circuit 8 and is generated from the sound system 9 including an amplifier and a speaker. The effect circuit 8 includes a plurality of effect units, and each effect unit can impart different effects to the musical sound signal from the tone generator circuit 7 in accordance with the set effect parameters. Any conventional configuration may be used for the sound source circuit 7, the effect circuit 8, and the sound system 9. For example, the tone generator circuit 8 may employ any of various tone synthesis methods such as FM, PCM, physical model, formant synthesis, etc., or may be constituted by dedicated hardware or by software processing by the CPU 1. May be.

外部記憶装置10は、自動演奏データなどの各種データや、CPU1が実行する各種制御プログラム等の制御に関するデータなどを記憶するものである。なお、上述したROM2に制御プログラムが記憶されていない場合、この外部記憶装置10(例えばハードディスク)に制御プログラムを記憶させておき、それをRAM3に読み込むことにより、ROM2に制御プログラムを記憶している場合と同様の動作をCPU1にさせることができる。このようにすると、制御プログラムの追加やバージョンアップ等が容易に行える。なお、外部記憶装置10はハードディスク(HD)に限られず、フレキシブルディスク(FD)、コンパクトディスク(CD‐ROM・CD‐RAM)、光磁気ディスク(MO)、あるいはDVD(Digital Versatile Disk)等の着脱自在な様々な形態の外部記憶媒体を利用する記憶装置であればどのようなものであってもよい。あるいは、フラッシュメモリなどの半導体メモリであってもよい。   The external storage device 10 stores various data such as automatic performance data and data related to control such as various control programs executed by the CPU 1. When no control program is stored in the ROM 2, the control program is stored in the ROM 2 by storing the control program in the external storage device 10 (for example, a hard disk) and reading it into the RAM 3. The CPU 1 can be operated in the same manner as in the case. In this way, control programs can be easily added and upgraded. The external storage device 10 is not limited to a hard disk (HD), but a flexible disk (FD), a compact disk (CD-ROM / CD-RAM), a magneto-optical disk (MO), a DVD (Digital Versatile Disk), etc. Any storage device may be used as long as the storage device uses various external storage media. Alternatively, a semiconductor memory such as a flash memory may be used.

MIDIインタフェース(I/F)11は、外部接続された他のMIDI機器11A等からMIDI形式の自動演奏データ(MIDIデータ)を当該電子楽器へ入力したり、あるいは当該電子楽器からMIDI形式の自動演奏データ(MIDIデータ)を他のMIDI機器11A等へ出力するためのインタフェースである。他のMIDI機器11Aはユーザによる操作に応じてMIDIデータを発生する機器であればよく、鍵盤型、弦楽器型、管楽器型、打楽器型、身体装着型等どのようなタイプの操作子を具えた(若しくは、操作形態からなる)機器であってもよい。なお、MIDIインタフェース11は専用のMIDIインタフェースを用いるものに限らず、RS-232C、USB(ユニバーサル・シリアル・バス)、IEEE1394(アイトリプルイー1394)等の汎用のインタフェースを用いてMIDIインタフェース11を構成するようにしてもよい。この場合、MIDIイベントデータ以外のデータをも同時に送受信するようにしてもよい。MIDIインタフェース11として上記したような汎用のインタフェースを用いる場合には、他のMIDI機器11AはMIDIイベントデータ以外のデータも送受信できるようにしてよい。勿論、自動演奏データのデータフォーマットはMIDI形式のデータに限らず他の形式であってもよく、その場合はMIDIインタフェース11と他のMIDI機器11Aはそれにあった構成とする。   The MIDI interface (I / F) 11 inputs automatic performance data (MIDI data) in MIDI format from the externally connected MIDI device 11A or the like to the electronic musical instrument, or performs automatic performance in MIDI format from the electronic musical instrument. This is an interface for outputting data (MIDI data) to another MIDI device 11A or the like. The other MIDI device 11A may be any device that generates MIDI data in response to a user's operation, and includes any type of operator such as a keyboard type, a stringed instrument type, a wind instrument type, a percussion instrument type, and a body-mounted type ( Alternatively, it may be a device). The MIDI interface 11 is not limited to the one using a dedicated MIDI interface, and the MIDI interface 11 is configured using a general-purpose interface such as RS-232C, USB (Universal Serial Bus), IEEE1394 (Eye Triple E 1394). You may make it do. In this case, data other than MIDI event data may be transmitted and received simultaneously. When the general-purpose interface as described above is used as the MIDI interface 11, the other MIDI device 11A may be able to transmit and receive data other than the MIDI event data. Of course, the data format of the automatic performance data is not limited to the data in the MIDI format, and may be in another format. In this case, the MIDI interface 11 and the other MIDI device 11A are configured accordingly.

通信インタフェース(I/F)12は、例えばLANやインターネット、電話回線等の有線あるいは無線の通信ネットワークXに接続されており、該通信ネットワークXを介してサーバコンピュータ12Aと接続され、当該サーバコンピュータ12Aから制御プログラムあるいは各種データなどを電子楽器側に取り込むためのインタフェースである。すなわち、ROM2や外部記憶装置10(例えば、ハードディスク)等に制御プログラムや各種データが記憶されていない場合には、サーバコンピュータ12Aから制御プログラムや各種データをダウンロードするために用いられる。こうした通信インタフェース12は、有線あるいは無線のものいずれかでなく双方を具えていてよい。   The communication interface (I / F) 12 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 12A via the communication network X, and the server computer 12A. This is an interface for taking control programs or various data from the electronic musical instrument side. That is, when the control program and various data are not stored in the ROM 2 or the external storage device 10 (for example, hard disk), it is used to download the control program and various data from the server computer 12A. Such a communication interface 12 may include both of a wired interface and a wireless interface.

なお、上述した電子楽器において、演奏操作子4Aは鍵盤楽器の形態に限らず、弦楽器や管楽器、あるいは打楽器等どのようなタイプの形態でもよい。また、電子楽器は演奏操作子4Aやディスプレイ6Aあるいは音源回路7などを1つの装置本体に内蔵したものに限らず、それぞれが別々に構成され、MIDIインタフェースや各種ネットワーク等の通信手段を用いて各装置を接続するように構成されたものであってもよいことは言うまでもない。さらに、本発明に係る自動演奏装置を適用する装置としては電子楽器に限らず、パーソナルコンピュータや携帯電話等の携帯型通信端末、あるいはカラオケ装置やゲーム装置など、どのような形態の装置・機器に適用してもよい。携帯型通信端末に適用した場合、端末のみで所定の機能が完結している場合に限らず、機能の一部をサーバ側に持たせ、端末とサーバとからなるシステム全体として所定の機能を実現するようにしてもよい。   In the electronic musical instrument described above, the performance operator 4A is not limited to a keyboard instrument, and may be any type of instrument such as a stringed instrument, a wind instrument, or a percussion instrument. Further, the electronic musical instrument is not limited to one in which the performance operator 4A, the display 6A, the sound source circuit 7 and the like are built in one apparatus body, but each is configured separately, and each of the electronic musical instruments is configured using communication means such as a MIDI interface or various networks. Needless to say, the apparatus may be configured to be connected. Furthermore, the device to which the automatic performance device according to the present invention is applied is not limited to an electronic musical instrument, but can be applied to any type of device / equipment such as a portable communication terminal such as a personal computer or a mobile phone, a karaoke device or a game device. You may apply. When applied to a portable communication terminal, not only when a predetermined function is completed with only the terminal, but also a part of the function is provided on the server side, and the predetermined function is realized as a whole system composed of the terminal and the server. You may make it do.

ここで、外部記憶装置10などに予め複数記憶されており、当該電子楽器において自動演奏のために用いられる自動演奏データについて、図を用いて簡単に説明する。図2〜図4は、自動演奏データのデータ構造の一実施例を示す概念図である。一般的に自動演奏のために用いられる自動演奏データとしては、従来知られているように所謂ソングデータ、スタイルデータ、アルペジオデータなどの種類に大きく分けられる。そこで、ここではソングデータ、スタイルデータ、アルペジオデータ毎に図を分けて示し、これらの各図を参照しながら自動演奏データのデータ構造について説明する。なお、図2〜図4に示すソングデータ、スタイルデータ、アルペジオデータには各図で示したデータ以外のデータも含まれていてよいが、本発明を説明する上では必須のものではないため、その説明を省略する。   Here, a plurality of automatic performance data stored in advance in the external storage device 10 and used for automatic performance in the electronic musical instrument will be briefly described with reference to the drawings. 2 to 4 are conceptual diagrams showing an embodiment of the data structure of automatic performance data. In general, automatic performance data used for automatic performance is roughly classified into so-called song data, style data, arpeggio data, and the like as is conventionally known. Therefore, here, the figure is divided for each of the song data, style data, and arpeggio data, and the data structure of the automatic performance data will be described with reference to these figures. Note that the song data, style data, and arpeggio data shown in FIGS. 2 to 4 may include data other than the data shown in each figure, but are not essential for explaining the present invention. The description is omitted.

まず、ソングデータのデータ構造について、図2を用いて説明する。図2はソングデータのデータ構造を示す概念図であり、図2(a)は該ソングデータの全てのトラックについて一括してプレイエフェクトがかけられることを禁止するよう設定できるようにした場合のデータ構成であり、図2(b)は該ソングデータの所望のトラック毎に適宜にプレイエフェクトがかけられることを禁止するよう設定できるようにした場合のデータ構成である。   First, the data structure of song data will be described with reference to FIG. FIG. 2 is a conceptual diagram showing the data structure of the song data. FIG. 2A shows data when it is possible to set to prohibit the play effect from being applied collectively to all tracks of the song data. FIG. 2 (b) shows a data configuration in which it is possible to set so that play effects are appropriately applied to each desired track of the song data.

ソングデータは、1つのマスタートラックチャンクデータと、複数のノートシーケンストラックチャンクデータとにより主に構成される(図2の左端図参照)。マスタートラックチャンクデータは自動演奏を行うにあたって予め全てのトラックに対して共通に設定しておく必要のある各種パラメータに関するデータであり、例えば演奏テンポや拍子あるいは各演奏パート毎の音色及び効果の設定等に係るデータである。図2に示すソングデータにおいては、演奏テンポが演奏進行に応じて変化するよう、演奏テンポを表す複数のテンポ指定イベントを演奏進行順に記憶した例を示している。他方、ノートシーケンストラックチャンクデータは自動演奏される楽曲の再生内容を表わす情報であり、トラック1〜トラックN(例えば、Nは16など)までの複数のトラック毎に、実際の演奏の元になる各種イベントデータを演奏進行順に記憶したデータである。図2に示すソングデータにおいては、ここに記憶される各種イベントデータとして、楽音の発音を指示するノートオンイベントや楽音の消音を指示するノートオフイベント等の演奏イベントデータを例示している。この演奏イベントデータは、演奏タイミングデータと組み合わされて使用される。本実施例での演奏タイミングデータとは、演奏イベントデータから次の演奏イベントデータまでの時間間隔を示す時間データであるが、これに限らず相対時間あるいは絶対時間等どのようなフォーマットであってもよい。すなわち、イベントの発生時刻を曲や小節内における絶対時間で表した『イベント+絶対時間』形式のもの、イベントの発生時刻を1つ前のイベントからの時間で表した『イベント+相対時間』形式のもの、音符の音高と符長あるいは休符と休符長で演奏データを表した『音高(休符)+符長』形式のもの、演奏の最小分解能毎にメモリの領域を確保し、演奏イベントの発生する時刻に対応するメモリ領域にイベントを記憶した『ベタ方式』形式のものなど、どのような形式のものでもよい。   The song data is mainly composed of one master track chunk data and a plurality of note sequence track chunk data (see the left end diagram of FIG. 2). Master track chunk data is data related to various parameters that must be set in advance for all tracks in order to perform automatic performance. For example, performance tempo, time signature, tone color and effect settings for each performance part, etc. It is data concerning. The song data shown in FIG. 2 shows an example in which a plurality of tempo designation events representing the performance tempo are stored in the order of performance progress so that the performance tempo changes with the progress of performance. On the other hand, the note sequence track chunk data is information indicating the reproduction content of the music that is automatically played, and is the source of the actual performance for each of a plurality of tracks from track 1 to track N (for example, N is 16). It is data that stores various event data in the order of performance. In the song data shown in FIG. 2, performance event data such as a note-on event for instructing the pronunciation of a musical sound and a note-off event for instructing the muting of a musical sound are illustrated as various event data stored here. This performance event data is used in combination with performance timing data. The performance timing data in this embodiment is time data indicating a time interval from performance event data to the next performance event data, but is not limited to this, and any format such as relative time or absolute time may be used. Good. In other words, the "event + absolute time" format in which the event occurrence time is expressed in absolute time in a song or measure, and the "event + relative time" format in which the event occurrence time is expressed as the time from the previous event , "Pitch (rest) + note length" format that represents performance data in terms of note pitch and note length or rest and rest length, and secures a memory area for each performance resolution Any format may be used such as a “solid method” format in which events are stored in a memory area corresponding to the time at which a performance event occurs.

上記したようなソングデータは、自動演奏時においてプレイエフェクトがかけられて演奏されることを禁止する「プレイエフェクト禁止イベント」を記憶することができる。まず、該ソングデータに含まれる全てのトラックについて一括してプレイエフェクトがかけられることを禁止する場合には、図2(a)に示すように、マスタートラックチャンクデータ内にプレイエフェクト禁止イベントを記憶する。この際に、全トラックの全区間にわたって一括してプレイエフェクトがかけられることを禁止する場合、つまり当該ソングデータに対してプレイエフェクトが全くかけられないようにする場合には、マスタートラックチャンクデータの先頭に対して「プレイエフェクト禁止イベント」を1つだけ記憶する(図2(a)真中図参照)。一方、該ソングデータに含まれる全てのトラックにおける所望の特定区間についてのみ一括してプレイエフェクトがかけられることを禁止する場合、つまり当該ソングデータに対して一部区間においてプレイエフェクトがかけられないようにする場合には、マスタートラックチャンクデータに対して「プレイエフェクト禁止イベント」及び「プレイエフェクト許可イベント」を1組として、プレイエフェクトがかけられることを禁止したい範囲に該当する1乃至複数のテンポ指定イベントの前後に上記それぞれのイベントを記憶する(図2(a)右端図参照)。   The song data as described above can store a “play effect prohibition event” that prohibits performance by applying a play effect during automatic performance. First, when it is prohibited to apply play effects to all tracks included in the song data at once, a play effect prohibition event is stored in the master track chunk data as shown in FIG. To do. At this time, if it is prohibited to apply play effects to all sections of all tracks at once, that is, if no play effects are to be applied to the song data, the master track chunk data Only one “play effect prohibition event” is stored for the head (see the middle diagram in FIG. 2A). On the other hand, when it is prohibited to apply the play effect to only a desired specific section in all the tracks included in the song data, that is, to prevent the play effect from being applied to a part of the song data. When the master track chunk data is set, one set of “play effect prohibition event” and “play effect permission event” is set, and one or a plurality of tempos corresponding to the range where it is desired to prohibit the play effect from being applied. The respective events are stored before and after the event (see the rightmost diagram in FIG. 2A).

一方、ソングデータの所望のトラック毎に適宜にプレイエフェクトがかけられることを禁止する場合には、図2(b)に示すように、該当するノートシーケンストラックチャンクデータにプレイエフェクト禁止イベントを記憶する。この際に、各トラック毎の全区間にわたってプレイエフェクトがかけられることを禁止する場合には、該当するノートシーケンストラックチャンクデータの先頭に対して「プレイエフェクト禁止イベント」を1つだけ記憶する(図2(b)真中図参照)。一方、各トラックにおける所望の特定区間について個々にプレイエフェクトがかけられることを禁止する場合には、該当するノートシーケンストラックチャンクデータに対して「プレイエフェクト禁止イベント」及び「プレイエフェクト許可イベント」を1組として、プレイエフェクトがかけられることを禁止したい範囲に該当する1乃至複数のノートオンイベント(又はノートオフイベント)の前後に上記それぞれのイベントを記憶する(図2(b)右端図参照)。   On the other hand, when it is prohibited to appropriately apply the play effect to each desired track of the song data, as shown in FIG. 2B, a play effect prohibition event is stored in the corresponding note sequence track chunk data. . At this time, when it is prohibited to apply the play effect over the entire section of each track, only one “play effect prohibition event” is stored at the head of the corresponding note sequence track chunk data (see FIG. 2 (b) Refer to the middle figure). On the other hand, when it is prohibited to individually apply a play effect to a desired specific section in each track, “play effect prohibition event” and “play effect permission event” are set to 1 for the corresponding note sequence track chunk data. As a set, the respective events are stored before and after one or more note-on events (or note-off events) corresponding to a range where it is desired to prohibit the play effect from being applied (see the rightmost diagram in FIG. 2B).

次に、スタイルデータのデータ構造について、図3を用いて説明する。図3はスタイルデータのデータ構造を示す概念図であり、図3(a)は該スタイルデータの全てのトラックについて一括してプレイエフェクトがかけられることを禁止するよう設定できるようにした場合のデータ構成であり、図3(b)は該スタイルデータの所望のトラック毎に適宜にプレイエフェクトがかけられることを禁止するよう設定できるようにした場合のデータ構成である。   Next, the data structure of style data will be described with reference to FIG. FIG. 3 is a conceptual diagram showing the data structure of the style data. FIG. 3A shows data when it is possible to set to prohibit the play effect from being applied to all the tracks of the style data collectively. FIG. 3 (b) shows a data structure in a case where it is possible to set so that play effects are appropriately applied to each desired track of the style data.

図3から理解できるように、この実施例に示すスタイルデータは上記ソングデータと同様に、1つのマスタートラックチャンクデータと、複数のノートシーケンストラックチャンクデータとにより主に構成される。ただし、スタイルデータの所望のトラック毎に適宜にプレイエフェクトがかけられることを禁止する場合には(図3(b)参照)、ソングデータと異なりマスタートラックチャンクデータを有していなくてよい。すなわち、一般的な従来知られたスタイルデータはマスタートラックチャンクデータを有しないが、この実施例においては全トラックの全区間で一括してプレイエフェクトがかけられることを禁止するために、「プレイエフェクト禁止イベント」を記憶する領域としてマスタートラックチャンクデータを設けている。全トラックの全区間にわたって一括してプレイエフェクトがかけられることを禁止する場合には、1つの「プレイエフェクト禁止イベント」のみが前記新たに設けられたマスタートラックチャンクデータ内に記憶される(図3(a)真中図参照)。一方、該スタイルデータに含まれる全てのトラックにおける所望の特定区間についてのみ一括してプレイエフェクトがかけられることを禁止する場合には、特定区間毎に対応するように「プレイエフェクト禁止イベント」と「プレイエフェクト許可イベント」の組が1乃至複数記憶される(図3(a)右端図参照)。また、スタイルデータの所望のトラック毎に適宜にプレイエフェクトがかけられることを禁止する場合には、図3(b)に示すように、該当するノートシーケンストラックチャンクデータにプレイエフェクト禁止イベントを記憶する。各トラック毎の全区間にわたってプレイエフェクトがかけられることを禁止する場合(図3(b)真中図参照)、各トラックにおける所望の特定区間について個々にプレイエフェクトがかけられることを禁止する場合(図3(b)右端図参照)における各データ構成は上記ソングデータとほぼ同様であることから、ここでの説明を省略する。   As can be understood from FIG. 3, the style data shown in this embodiment is mainly composed of one master track chunk data and a plurality of note sequence track chunk data, like the song data. However, when it is prohibited to appropriately apply the play effect to each desired track of the style data (see FIG. 3B), the master track chunk data may not be included unlike the song data. In other words, in general, conventionally known style data does not have master track chunk data, but in this embodiment, in order to prohibit the play effect from being applied collectively in all sections of all tracks, Master track chunk data is provided as an area for storing “prohibited events”. In the case where it is prohibited to apply the play effect over all sections of all tracks, only one “play effect prohibition event” is stored in the newly provided master track chunk data (FIG. 3). (A) Refer to the middle figure). On the other hand, when it is prohibited to apply the play effect only for a desired specific section in all the tracks included in the style data, the “play effect prohibition event” and “ One or more sets of “play effect permission events” are stored (see the rightmost diagram in FIG. 3A). Also, when it is prohibited to apply a play effect appropriately for each desired track of style data, a play effect prohibition event is stored in the corresponding note sequence track chunk data as shown in FIG. . When it is prohibited to apply the play effect over the entire section of each track (see the middle diagram of FIG. 3B), when it is prohibited to apply the play effect individually for a desired specific section of each track (see FIG. 3). Since each data structure in 3 (b) (see the rightmost diagram) is almost the same as the above-mentioned song data, the description thereof is omitted here.

次に、アルペジオデータのデータ構造について、図4を用いて説明する。図4は、アルペジオデータのデータ構造を示す概念図である。このアルペジオデータは上記ソングデータやスタイルデータとは異なり、1つのトラック分についての演奏イベントデータ(ノートオンイベントやノートオフイベントなど)により主に構成されている。そこで、アルペジオデータの場合には、全トラック分について一括してプレイエフェクトがかけられることを禁止するように設定することはできず、各トラック毎にプレイエフェクトがかけられることを禁止するように設定することのみができるようになっている。この図4に示すように、当該トラックの全区間でプレイエフェクトがかけられることを禁止する場合には該アルペジオデータの先頭に「プレイエフェクト禁止イベント」を記憶する。他方、当該トラックの特定区間でプレイエフェクトがかけられることを禁止する場合には、特定区間毎に対応するように「プレイエフェクト禁止イベント」と「プレイエフェクト許可イベント」の組を記憶する。このようなデータ構成は、上記ソングデータ又はスタイルデータにおける各トラック毎にプレイエフェクトがかけられることを禁止する場合に示したデータ構成と同じである。   Next, the data structure of arpeggio data will be described with reference to FIG. FIG. 4 is a conceptual diagram showing the data structure of arpeggio data. Unlike the song data and style data, this arpeggio data is mainly composed of performance event data (note-on event, note-off event, etc.) for one track. Therefore, in the case of arpeggio data, it is not possible to set to prohibit play effects from being applied to all tracks at once, but to prohibit play effects from being applied to each track. You can only do it. As shown in FIG. 4, when it is prohibited to apply a play effect in the entire section of the track, a “play effect prohibition event” is stored at the head of the arpeggio data. On the other hand, when it is prohibited to apply a play effect in a specific section of the track, a set of “play effect prohibition event” and “play effect permission event” is stored so as to correspond to each specific section. Such a data structure is the same as that shown in the case where it is prohibited to apply a play effect to each track in the song data or style data.

なお、プレイエフェクト禁止情報は、上記指定方法を組み合わせて、トラック毎に時間的な区間を指定するものであってよい。
なお、上述した実施例において、一部区間のみについてプレイエフェクトがかけられることを禁止する場合に「プレイエフェクト禁止イベント」及び「プレイエフェクト許可イベント」を1組のみ記憶した例を示したが(図2(b)右端図又は図3(b)右端図参照)、こうした1組の「プレイエフェクト禁止イベント」及び「プレイエフェクト許可イベント」を複数組記憶することによって、同一のトラックにおいて異なる一部区間でそれぞれプレイエフェクトがかけられることを禁止するように設定できるようにしてよいことは言うまでもない。
なお、プレイエフェクト禁止情報は、自動演奏データに対して、時間的に、始めから終わりまで指定するものであってもよいし、部分的な区間を、1つあるいは複数、指定するものであってもよい。区間指定の例として、何小節目の何拍目から何小節目の何拍目までを禁止するといったような指定の方法が挙げられる。
Note that the play effect prohibition information may be a combination of the above designation methods for designating a time interval for each track.
In the above-described embodiment, an example is shown in which only one set of “play effect prohibition event” and “play effect permission event” is stored when it is prohibited to apply a play effect to only a certain section (FIG. 2 (b) right end view or FIG. 3 (b) right end view), by storing a plurality of such sets of “play effect prohibition event” and “play effect enable event”, different partial sections in the same track It goes without saying that it is possible to set so that it is prohibited to apply the play effect.
The play effect prohibition information may be specified for the automatic performance data from the beginning to the end in time, or may specify one or a plurality of partial sections. Also good. As an example of the section designation, there is a designation method that prohibits from what beat of what measure to what beat of what measure.

なお、この実施の形態では、ソングデータ及びスタイルデータは各種イベントデータ(演奏イベントデータなど)を各トラック毎に独立して記憶するようにデータ構成したものを例に説明したがこれに限らず、複数トラック分の各種イベントデータが混在して記憶されているもの、すなわち、各種イベントデータをその割り当てられたトラックにかかわらず、出力順に1列に並べて記憶するようにデータを構成したものであってもよい。そうした際に、所望のトラック毎に適宜にプレイエフェクトがかけられることを禁止する場合には、プレイエフェクト禁止イベント(又はプレイエフェクト許可イベント)と共に、プレイエフェクトがかけられることを禁止する対象となるトラックナンバ等を記憶するようにするとよい。
なお、メモリ上において、時系列の自動演奏データが連続する領域に記憶されていてもよいし、飛び飛びの領域に散在して記憶されている自動演奏データを、連続するデータとして別途管理するようにしてもよい。すなわち、時系列的に連続する自動演奏データとして管理することができればよく、メモリ上で連続して記憶されているか否かは問題ではない。
In this embodiment, the song data and style data are described as an example in which various event data (performance event data, etc.) are configured to be stored independently for each track. However, the present invention is not limited to this. Various event data for a plurality of tracks are stored together, that is, the data is configured to store various event data in a line in the order of output regardless of the assigned track. Also good. In such a case, if it is prohibited to apply a play effect appropriately for each desired track, a track that is prohibited from being applied with a play effect together with a play effect prohibition event (or a play effect permission event). It is better to memorize the number etc.
In the memory, time-series automatic performance data may be stored in a continuous area, or the automatic performance data scattered and stored in the skipped area may be separately managed as continuous data. May be. That is, it is only necessary to manage automatic performance data that is continuous in time series, and it does not matter whether the performance data is continuously stored in the memory.

本発明に係る自動演奏装置を適用した電子楽器は、ユーザ所望の自動演奏データに基づく自動演奏中に、所望の変化を与えながら当該自動演奏データの再生を行うことによって(つまり、プレイエフェクトをかけながらの演奏を行うことによって)、元の自動演奏データを単に再生した場合の演奏とは雰囲気の異なる演奏を行うことが可能である、所謂プレイエフェクト機能を有する。そこで、こうしたプレイエフェクト機能を実現する処理動作について説明する。   The electronic musical instrument to which the automatic performance device according to the present invention is applied can reproduce the automatic performance data while applying a desired change during the automatic performance based on the automatic performance data desired by the user (that is, apply a play effect). In other words, it has a so-called play effect function that can perform a performance having a different atmosphere from the performance when the original automatic performance data is simply reproduced. A processing operation for realizing such a play effect function will be described.

まず、マスタートラックチャンクデータに基づく「マスタートラックの再生処理」について、図5を用いて説明する。図5は、「マスタートラックの再生処理」の一実施例を示すフローチャートである。当該処理は、演奏テンポに応じた所定周期毎(例えば、四分音符あたり96回)に実行される。以下、図5に示したフローチャートに従って、当該処理の動作を説明する。   First, “master track playback processing” based on master track chunk data will be described with reference to FIG. FIG. 5 is a flowchart showing an example of “master track reproduction processing”. This process is executed at a predetermined cycle according to the performance tempo (for example, 96 times per quarter note). Hereinafter, the operation of the processing will be described according to the flowchart shown in FIG.

ステップS1では、元の自動演奏データのマスタートラックチャンクデータ内に、再生タイミングに達したイベントがあるか否かを判定する。再生タイミングに達したイベントがない場合には(ステップS1のNO)、当該処理を修了する。再生タイミングに達したイベントがある場合には(ステップS1のYES)、当該イベントがプレイエフェクト禁止イベントであるか否か(ステップS2)、当該イベントがプレイエフェクト許可イベントであるか否か(ステップS5)をそれぞれ判定し、これらの再生タイミングに達したイベントの種類に応じて以下に示すような処理を実行する。当該イベントがプレイエフェクト禁止イベントである場合(ステップS2のYES)には、全トラック分についてプレイエフェクト禁止フラグを立てると共に(ステップS3)、プレイエフェクトをかけることが禁止されている旨を表示するようにディスプレイ6Aの表示を更新する(ステップS4)。他方、当該イベントがプレイエフェクト許可イベントである場合には(ステップS5のYES)、全トラック分についてプレイエフェクト禁止フラグを下ろすと共に(ステップS6)、プレイエフェクトを許可する旨を表示するようにディスプレイ6Aの表示を更新する(ステップS7)。すなわち、ここでは予めRAM3上にトラック毎に用意されている全てのプレイエフェクト禁止フラグに対して、再生タイミングに達したイベントの種類がプレイエフェクト禁止イベントである場合には例えば「1」(又は「0」)を、再生タイミングに達したイベントの種類がプレイエフェクト許可イベントである場合には例えば「0」(又は「1」)を設定する。当該イベントが上記以外のイベント、例えばテンポ指定イベントなどである場合には(ステップS2及びステップS5が共にNO)、当該イベントに従い演奏テンポの設定など、通常のイベント処理を行う(ステップS8)。ただし、元の自動演奏データがスタイルデータである場合には、マスタートラックチャンクデータ内にプレイエフェクト禁止イベント又はプレイエフェクト許可イベント以外のイベントが記憶されていることがないので、こうした通常のイベント処理が実行されることはない。   In step S1, it is determined whether or not there is an event that has reached the reproduction timing in the master track chunk data of the original automatic performance data. If there is no event that has reached the reproduction timing (NO in step S1), the processing is completed. If there is an event that has reached the playback timing (YES in step S1), it is determined whether or not the event is a play effect prohibited event (step S2), and whether or not the event is a play effect permitted event (step S5). ), And the following processing is executed according to the type of the event that has reached the playback timing. If the event is a play effect prohibition event (YES in step S2), a play effect prohibition flag is set for all tracks (step S3), and a message indicating that the play effect is prohibited is displayed. The display on the display 6A is updated (step S4). On the other hand, if the event is a play effect permission event (YES in step S5), the play effect prohibition flag is lowered for all tracks (step S6), and the display 6A is displayed so as to display that the play effect is permitted. Is updated (step S7). That is, here, with respect to all the play effect prohibition flags prepared for each track in the RAM 3 in advance, for example, “1” (or “ For example, “0” (or “1”) is set when the type of the event that has reached the reproduction timing is a play effect permission event. If the event is an event other than the above, for example, a tempo designation event (NO in both step S2 and step S5), normal event processing such as setting the performance tempo is performed according to the event (step S8). However, if the original automatic performance data is style data, there is no event other than the play effect prohibition event or the play effect permission event stored in the master track chunk data. Never executed.

次に、ノートシーケンストラックチャンクデータに基づく「ノートシーケンストラックの再生処理」について、図6を用いて説明する。図6は、「ノートシーケンストラックの再生処理」の一実施例を示すフローチャートである。当該処理は上記した「マスタートラックの再生処理」とあわせて並行動作される処理であって、演奏テンポに応じた所定周期毎(例えば、四分音符あたり96回)に、各トラック毎に対応する処理がそれぞれ実行される。   Next, “note sequence track playback processing” based on note sequence track chunk data will be described with reference to FIG. FIG. 6 is a flowchart showing an example of “note sequence track playback process”. This process is a process that is performed in parallel with the above-described “master track reproduction process”, and corresponds to each track at a predetermined cycle according to the performance tempo (for example, 96 times per quarter note). Each process is executed.

ステップS11では、元の自動演奏データのノートシーケンストラックチャンクデータ内に、再生タイミングに達したイベントがあるか否かを判定する。再生タイミングに達したイベントがある場合には(ステップS11のYES)、当該イベントがプレイエフェクト禁止イベントであるか否か(ステップS14)、当該イベントがプレイエフェクト許可イベントであるか否か(ステップS17)をそれぞれ判定し、これらの再生タイミングに達したイベントの種類に応じて以下に示すような処理を実行する。当該イベントがプレイエフェクト禁止イベントである場合(ステップS14のYES)には、プレイエフェクト禁止フラグを立てると共に(ステップS15)、プレイエフェクトをかけることが禁止されている旨を表示するようにディスプレイ6Aの表示を更新する(ステップS16)。他方、当該イベントがプレイエフェクト許可イベントである場合には(ステップS17のYES)、プレイエフェクト禁止フラグを下ろすと共に(ステップS18)、プレイエフェクトを許可する旨を表示するようにディスプレイ6Aの表示を更新する(ステップS19)。   In step S11, it is determined whether or not there is an event that has reached the reproduction timing in the note sequence track chunk data of the original automatic performance data. If there is an event that has reached the playback timing (YES in step S11), it is determined whether or not the event is a play effect prohibited event (step S14), and whether or not the event is a play effect permission event (step S17). ), And the following processing is executed according to the type of the event that has reached the playback timing. If the event is a play effect prohibition event (YES in step S14), a play effect prohibition flag is set (step S15) and the display 6A is displayed to indicate that the play effect is prohibited. The display is updated (step S16). On the other hand, when the event is a play effect permission event (YES in step S17), the play effect prohibition flag is lowered (step S18), and the display on the display 6A is updated so as to indicate that the play effect is permitted. (Step S19).

当該イベントが上記以外のイベント、例えば演奏イベント(ノートオンイベントやノートオフイベント)などである場合には(ステップS14及びステップS17が共にNO)、パネル設定はプレイエフェクトONか否かを判定する(ステップS20)。すなわち、ユーザが設定操作子5A等を用いプレイエフェクトをかけるよう機器設定済み(プレイエフェクトON)であるか否かを判定する。パネル設定がプレイエフェクトONでなくプレイエフェクトをかけないよう機器設定されている場合には(ステップS20のNO)、ステップS24の処理へジャンプする。パネル設定がプレイエフェクトONでありプレイエフェクトをかけるよう機器設定されている場合には(ステップS20のYES)、プレイエフェクト禁止フラグが立っているか否かを判定する(ステップS21)。プレイエフェクト禁止フラグが立っていないと判定した場合には(ステップS21のNO)、ステップS23の処理へジャンプする。一方、プレイエフェクト禁止フラグが立っていると判定した場合には(ステップS21のYES)、プレイエフェクト禁止を無視する設定がなされているか否かを判定する(ステップS22)。プレイエフェクト禁止を無視する設定がなされていない場合には(ステップS22のNO)、ステップS24の処理へジャンプする。プレイエフェクト禁止を無視する設定がなされている場合には(ステップS22のYES)、当該イベントに対してプレイエフェクトをかける(ステップS23)。すなわち、当該電子楽器では単純にプレイエフェクト禁止情報に従うのではなく、従うか無視するかをユーザに設定させる機能を有していてよい。上記のように、例えばプレイエフェクト禁止情報を無視するようにユーザが設定していたような場合には、自動演奏データにプレイエフェクト禁止情報が含まれていても、これを無視してプレイエフェクトをかけることができる。イベントに対してプレイエフェクトをかける方法としては、予め用意された変更内容を指定する変更データに基づき元の自動演奏データの内容を変更することでプレイエフェクトをかける。こうした方法は公知であることから、ここでの説明を省略する。ステップS24では、プレイエフェクトがかけられたあるいはプレイエフェクトがかけられていない、プレイエフェクト禁止イベント及びプレイエフェクト許可イベント以外の全てのイベントを再生バッファに入れる。   When the event is an event other than the above, for example, a performance event (note-on event or note-off event) (both NO in steps S14 and S17), it is determined whether or not the panel setting is ON for the play effect ( Step S20). That is, it is determined whether or not the device has been set (play effect ON) so that the user can apply the play effect using the setting operator 5A or the like. If the panel setting is not set to play effect ON and the device is set not to apply the play effect (NO in step S20), the process jumps to step S24. If the panel setting is the play effect ON and the device is set to apply the play effect (YES in step S20), it is determined whether or not the play effect prohibition flag is set (step S21). If it is determined that the play effect prohibition flag is not set (NO in step S21), the process jumps to the process in step S23. On the other hand, when it is determined that the play effect prohibition flag is set (YES in step S21), it is determined whether or not the setting for ignoring the play effect prohibition is made (step S22). If the setting for ignoring the play effect prohibition is not made (NO in step S22), the process jumps to the process in step S24. When the setting for ignoring the prohibition of the play effect is made (YES in step S22), the play effect is applied to the event (step S23). In other words, the electronic musical instrument may have a function of allowing the user to set whether to follow or ignore, instead of simply following the play effect prohibition information. As described above, for example, when the user has set to ignore the play effect prohibition information, even if the automatic performance data includes the play effect prohibition information, the play effect is ignored and ignored. You can hang it. As a method for applying a play effect to an event, the play effect is applied by changing the content of the original automatic performance data based on the change data for designating the change content prepared in advance. Since such a method is well-known, description here is abbreviate | omitted. In step S24, all events other than the play effect prohibition event and the play effect permission event that have been applied with the play effect or not applied with the play effect are placed in the reproduction buffer.

上記ステップS11において、元の自動演奏データのノートシーケンストラックチャンクデータ内に、再生タイミングに達したイベントがない場合には(ステップS11のNO)、上記ステップS23で処理した再生バッファ内に再生タイミングに達したイベントがあるか否かを判定する(ステップS12)。再生バッファ内に再生タイミングに達したイベントがない場合には(ステップS12のNO)、当該処理を終了する。この場合、自動演奏は行われない。一方、再生バッファ内に再生タイミングに達したイベントがある場合には(ステップS12のYES)、音源回路7を用いて楽音を発音させるなど、イベントに応じた処理を実行する(ステップS13)。すなわち、再生バッファからイベントを読み出して発音を行う発音処理を行い、自動演奏を実行する。ここで実行される自動演奏は、元の自動演奏データにプレイエフェクト禁止イベントが全く記憶されていない場合にはプレイエフェクトがかけられた演奏となるし、元の自動演奏データにプレイエフェクト禁止イベントが記憶されている場合には対応する箇所(全て又は一部区間)についてはプレイエフェクトがかけられていない演奏となる。なお、元の自動演奏データがスタイルデータやアルペジオデータである場合には、音高を決定した上で発音させる。この音高の決定については演奏時に所定のルールに従って決定するのであるが、こうした技術は多数公知であることから、ここでの説明を省略する。   In step S11, if there is no event that has reached the playback timing in the note sequence track chunk data of the original automatic performance data (NO in step S11), the playback timing is set in the playback buffer processed in step S23. It is determined whether there is an event that has been reached (step S12). If there is no event that has reached the playback timing in the playback buffer (NO in step S12), the process ends. In this case, automatic performance is not performed. On the other hand, if there is an event that has reached the playback timing in the playback buffer (YES in step S12), processing corresponding to the event is performed (step S13), such as generating a tone using the tone generator circuit 7. That is, a sound generation process for reading out an event from the playback buffer and generating a sound is performed, and an automatic performance is executed. The automatic performance executed here is a performance with a play effect applied when no play effect prohibited event is stored in the original automatic performance data, and the play effect prohibited event is included in the original automatic performance data. If stored, the corresponding portion (all or a part of the section) is a performance with no play effect applied. If the original automatic performance data is style data or arpeggio data, the tone is determined after the pitch is determined. The pitch is determined according to a predetermined rule at the time of performance. However, since many such techniques are known, description thereof is omitted here.

次に、ユーザ所望の区間においてプレイエフェクトがかけられることを禁止するよう、元の自動演奏データ(詳しくは各ノートシーケンストラックデータ)に対してプレイエフェクト禁止情報(プレイエフェクト禁止イベント及びプレイエフェクト許可イベント)が記憶された自動演奏データを新たに生成する「プレイエフェクト禁止情報記録処理」について、図7を用いて説明する。図7は、「プレイエフェクト禁止情報記録処理」の一実施例を示すフローチャートである。当該処理は、上述した「マスタートラック再生処理」及び「ノートシーケンストラック再生処理」(図5及び図6参照)とあわせて並行動作される処理である。ユーザは上記各処理の動作に応じて発音される演奏を聞きながら、適宜のタイミングで所定のユーザインタフェース(各種操作子等)を操作することで、自動演奏中におけるユーザ操作のタイミングに応じた箇所に、プレイエフェクト禁止情報を自動演奏データ中に記録することができる。   Next, the play effect prohibition information (play effect prohibition event and play effect permission event) is performed on the original automatic performance data (specifically, each note sequence track data) so as to prohibit the play effect from being applied in a user desired section. The “play effect prohibition information recording process” for newly generating automatic performance data in which is stored) will be described with reference to FIG. FIG. 7 is a flowchart showing an example of “play effect prohibition information recording process”. This process is a process that is operated in parallel with the above-described “master track reproduction process” and “note sequence track reproduction process” (see FIGS. 5 and 6). The user operates a predetermined user interface (various controls, etc.) at an appropriate timing while listening to a performance that is pronounced according to the operation of each of the above processes, so that the location according to the timing of the user operation during the automatic performance In addition, the play effect prohibition information can be recorded in the automatic performance data.

ステップS31では、バッファに演奏イベントがあるか否かを判定する。前記バッファは、演奏テンポに応じた所定周期(例えば、四分音符あたり96回)の間に生じた演奏イベントやユーザによるユーザインタフェース操作に応じて発生された操作イベントを、読み出されるまで一時的に記憶する記憶領域である。バッファに演奏イベントがある場合には(ステップS31のYES)、当該演奏イベントを新しい自動演奏データに追加して(ステップS36)、ステップS31の処理へ戻る。一方、バッファに演奏イベントがない場合には(ステップS31のNO)、まずプレイエフェクトをかけることを止める操作イベントがバッファにあるか否かを判定する(ステップS32)。プレイエフェクトをかけることを止める操作イベントがバッファにある場合には(ステップS32のYES)、プレイエフェクト許可イベントを新しい自動演奏データに追加する(ステップS33)。次に、プレイエフェクトをかけることを許可する操作イベントがバッファにあるか否かを判定する(ステップS34)。プレイエフェクトをかけることを許可する操作イベントがバッファにある場合には(ステップS34のYES)、プレイエフェクト禁止イベントを新しい自動演奏データに追加する(ステップS35)。このようにして、プレイエフェクトをかけながら自動演奏データを記録処理する際に、自動演奏データ中のプレイエフェクトをかけた範囲の前後に、それぞれプレイエフェクト禁止イベント及びプレイエフェクト許可イベントを記録しておくことによって、該生成した自動演奏データを後ほど再生する際に前記範囲において更なるプレイエフェクトがかけられることを禁止するようにしている。   In step S31, it is determined whether there is a performance event in the buffer. The buffer temporarily stores performance events that occur during a predetermined period according to the performance tempo (for example, 96 times per quarter note) and operation events that are generated according to user interface operations by the user until they are read. This is a storage area for storing. If there is a performance event in the buffer (YES in step S31), the performance event is added to new automatic performance data (step S36), and the process returns to step S31. On the other hand, if there is no performance event in the buffer (NO in step S31), it is first determined whether or not there is an operation event in the buffer that stops applying the play effect (step S32). If there is an operation event in the buffer that stops applying the play effect (YES in step S32), a play effect permission event is added to the new automatic performance data (step S33). Next, it is determined whether or not there is an operation event in the buffer that allows the play effect to be applied (step S34). If there is an operation event in the buffer that permits the play effect to be applied (YES in step S34), a play effect prohibition event is added to the new automatic performance data (step S35). In this way, when the automatic performance data is recorded while applying the play effect, the play effect prohibition event and the play effect permission event are recorded before and after the range in which the play effect is applied in the automatic performance data, respectively. Thus, when the generated automatic performance data is reproduced later, it is prohibited to apply a further play effect in the range.

なお、上述した「プレイエフェクト禁止情報記録処理」では、各ノートシーケンストラックデータにプレイエフェクト禁止情報を記録するようにしたが、マスタートラックチャンクデータにプレイエフェクト禁止情報(この場合にはプレイエフェクト禁止イベントのみ)を記録するようにしてもよい。例えば、演奏中にユーザインタフェースの操作が1回のみであったような場合、あるいは専用のユーザインタフェースが操作された場合には、マスタートラックチャンクデータにプレイエフェクト禁止情報を記録するようにするとよい。また、プレイエフェクト禁止情報を記録する対象として、一律全トラックを指定するようにしてもよいし、トラック毎に個別に指定するものであってもよい。
なお、上述した「プレイエフェクト禁止情報記録処理」では、演奏中にユーザ操作に応じてすぐにプレイエフェクト禁止情報を記録するようにしたがこれに限らず、演奏中に行われたプレイエフェクトに係るユーザ操作を全て時間データと共に記憶しておき、これに基づき元の自動演奏データの該当する箇所にプレイエフェクト禁止情報を記録して新たな自動演奏データを生成するようにしてもよい。
なお、プレイエフェクト禁止情報を付加する自動演奏データとしては、上述したようなソングデータでもよいし、スタイルデータでもよいし、アルペジオデータでもよい。 なお、選択した自動演奏データに、プレイエフェクト禁止情報が含まれているかどうかを演奏せずともユーザに伝えるユーザインタフェースを具えていてもよい。また、演奏中にプレイエフェクト禁止情報をユーザに対してリアルタイムに伝えるユーザインタフェースを具えていてもよい。表示等の視覚により伝えるものであってもよいし、楽音等の聴覚により伝えるものであってもよい。
なお、プレイエフェクト禁止情報に基づいてプレイエフェクトを禁止する方法としては、ユーザが操作してもプレイエフェクトがかからないようにしてもよいし、ユーザが操作自体を行うことができないようにしてもよい。ユーザが操作自体を行うことができないようにする場合には、例えばユーザがパネル操作をしても設定のための画面表示を行わない、あるいはLEDを点灯させない、などのようにするとよい。
In the “play effect prohibition information recording process” described above, play effect prohibition information is recorded in each note sequence track data, but play effect prohibition information (in this case, a play effect prohibition event) is recorded in the master track chunk data. Only) may be recorded. For example, when the user interface is operated only once during performance or when a dedicated user interface is operated, the play effect prohibition information may be recorded in the master track chunk data. Further, all the tracks may be designated as targets for recording the play effect prohibition information, or may be designated individually for each track.
In the above-described “play effect prohibition information recording process”, the play effect prohibition information is recorded immediately in response to a user operation during the performance. However, the present invention is not limited to this, and the play effect prohibition information is related to the play effect performed during the performance. All user operations may be stored together with the time data, and based on this, the play effect prohibition information may be recorded in the corresponding portion of the original automatic performance data to generate new automatic performance data.
The automatic performance data to which the play effect prohibition information is added may be song data as described above, style data, or arpeggio data. Note that the selected automatic performance data may include a user interface that informs the user whether or not the play effect prohibition information is included. In addition, a user interface that conveys the play effect prohibition information to the user in real time during performance may be provided. It may be transmitted by visual perception such as display, or may be transmitted by hearing such as musical sound.
As a method for prohibiting a play effect based on the play effect prohibition information, a play effect may not be applied even if the user operates, or the user may not be able to perform the operation itself. In order to prevent the user from performing the operation itself, for example, a screen display for setting may not be performed even if the user performs a panel operation, or an LED may not be lit.

本発明に係る自動演奏装置を適用した電子楽器は、ループ録音方式又はオーバーダブ録音方式等の、繰り返される自動演奏にあわせて適宜に入力されたユーザ操作に基づく楽音をリアルタイムに追加録音することにより自動演奏データを生成するデータ生成機能を有していてよい。データ生成機能の実行時に、上記したようなプレイエフェクト機能による所望の変化を与えながら自動演奏データを再生する(つまり、プレイエフェクトをかけながらの演奏を行う)ことによって、元の自動演奏データを単に再生した場合の演奏とは雰囲気の異なる演奏を行うと共に、プレイエフェクトをかけた後の自動演奏データをユーザ操作に応じて入力された楽音などと共に記憶することができる。勿論、ユーザ操作がない場合には、プレイエフェクトをかけた後の自動演奏データのみを記憶することができるようにしてよい。そこで、こうした自動演奏の繰り返しを伴って自動演奏データを生成するデータ生成機能について、以下説明する。   The electronic musical instrument to which the automatic performance device according to the present invention is applied, by additionally recording in real time a musical sound based on a user operation appropriately input in accordance with a repeated automatic performance, such as a loop recording method or an overdub recording method. A data generation function for generating automatic performance data may be provided. When the data generation function is executed, the automatic performance data is reproduced while giving the desired change by the play effect function as described above (that is, the performance is performed while applying the play effect), so that the original automatic performance data is simply changed. A performance having a different atmosphere from the performance when played back can be performed, and automatic performance data after applying a play effect can be stored together with a musical sound input in accordance with a user operation. Of course, when there is no user operation, only the automatic performance data after applying the play effect may be stored. Therefore, a data generation function for generating automatic performance data with the repetition of such automatic performance will be described below.

まず、データ生成機能の処理概要について、図8を用いて簡単に説明する。図8は、当該電子楽器が有するデータ生成機能を説明するための機能ブロック図である。図8において、図中の矢印は自動演奏データ(詳しくは演奏イベントデータ)の流れを表すものである。自動演奏の元となる自動演奏データ、プレイエフェクトをかけられた後やユーザ操作に基づく楽音追加後の自動演奏データは、RAM3あるいは外部記憶装置10内の所定のバッファ内にそれぞれ記憶される。すなわち、自動演奏データを格納するバッファ3(又は10)は、再生に用いる自動演奏データを格納する再生バッファ3aと、生成した自動演奏データを記録する記録バッファ3bとからなるダブルバッファあるいはリングバッファの構造をもつものであって、前記再生バッファ3aと記録バッファ3bとが次々にループする毎に入れ替わることで、ループ録音方式及びオーバーダブ録音方式によるデータ生成機能を実現するようにしている。   First, the processing outline of the data generation function will be briefly described with reference to FIG. FIG. 8 is a functional block diagram for explaining the data generation function of the electronic musical instrument. In FIG. 8, the arrows in the figure represent the flow of automatic performance data (specifically, performance event data). The automatic performance data that is the basis of the automatic performance and the automatic performance data that has been subjected to the play effect or after the addition of the musical sound based on the user operation are respectively stored in the RAM 3 or a predetermined buffer in the external storage device 10. That is, the buffer 3 (or 10) for storing the automatic performance data is a double buffer or ring buffer comprising a reproduction buffer 3a for storing automatic performance data used for reproduction and a recording buffer 3b for recording the generated automatic performance data. It has a structure, and the reproduction buffer 3a and the recording buffer 3b are switched each time the loop loops one after another, thereby realizing a data generation function by a loop recording method and an overdub recording method.

制御モジュールAは、ここに示す各モジュールを制御する。この制御モジュールAで行われる具体的な処理(データ生成処理)については、後述する(後述の図9〜図11参照)。再生モジュールBは、タイマ1Aに同期して再生バッファ3aから該当する自動演奏データ(詳しくは演奏イベントデータ)を読み出し、該読み出した演奏イベントデータをプレイエフェクトモジュールEに送る。プレイエフェクトモジュールEでは、予め記憶されたプレイエフェクトデータ(変更データ)100に基づき前記読み出された演奏イベントデータに対してプレイエフェクトをかけて、これを音源ドライバモジュールFに送る。音源ドライバモジュールFでは、送られてきたプレイエフェクトがかけられた後の演奏イベントデータを音源回路7に送ることで楽音を発生するよう制御する。また、音源ドライバモジュールFは、前記プレイエフェクトモジュールEからプレイエフェクトがかけられた後の演奏イベントデータのみではなく、キースキャンモジュールDによりユーザ操作が検知された演奏操作子4Aに応じた演奏イベントデータも入力される。したがって、プレイエフェクトをかけられた自動演奏に加えて、ユーザ操作に応じた楽音を同時に発生させることができる。また、プレイエフェクトモジュールEからの演奏イベントデータ及びキースキャンモジュールDからの演奏操作子4Aのユーザ操作に応じた演奏イベントデータは共に記録モジュールCに送られ、記録モジュールCではこれらの演奏イベントデータを記録バッファ3bに記録する。したがって、記録バッファ3bに記録される自動演奏データは、再生バッファ3aに記録されていた元の自動演奏データと比較すると、プレイエフェクトがかけられており、さらにはユーザ操作された演奏操作子4Aに応じた演奏イベントデータが付加されたものとなる。勿論、プレイエフェクトがかけられなかったり、演奏操作子4Aの操作がなかったような場合には、再生バッファ3aに記録されていた元の自動演奏データがそのまま記録バッファ3bに記録されることは言うまでもない。   The control module A controls each module shown here. Specific processing (data generation processing) performed by the control module A will be described later (see FIGS. 9 to 11 described later). The reproduction module B reads the corresponding automatic performance data (specifically, performance event data) from the reproduction buffer 3a in synchronization with the timer 1A, and sends the read performance event data to the play effect module E. The play effect module E applies the play effect to the read performance event data based on the pre-stored play effect data (change data) 100 and sends it to the tone generator driver module F. The tone generator driver module F controls to generate a musical tone by sending performance event data after the sent play effect is applied to the tone generator circuit 7. The tone generator driver module F not only performs performance event data after the play effect is applied from the play effect module E, but also performs performance event data corresponding to the performance operator 4A whose user operation is detected by the key scan module D. Is also entered. Therefore, in addition to automatic performance with a play effect applied, it is possible to simultaneously generate musical sounds according to user operations. The performance event data from the play effect module E and the performance event data according to the user operation of the performance operator 4A from the key scan module D are both sent to the recording module C, and the recording module C stores these performance event data. Records in the recording buffer 3b. Therefore, when the automatic performance data recorded in the recording buffer 3b is compared with the original automatic performance data recorded in the reproduction buffer 3a, a play effect is applied, and further, the performance operator 4A operated by the user is applied. The corresponding performance event data is added. Of course, if the play effect is not applied or the performance operator 4A is not operated, it goes without saying that the original automatic performance data recorded in the reproduction buffer 3a is recorded in the recording buffer 3b as it is. Yes.

次に、上述したデータ生成機能を実現する「データ生成処理」について、図9を用いて説明する。図9は、「データ生成処理」の一実施例を示すフローチャートである。当該処理は、ユーザによる所定の録音操作に応じて開始される。以下、図9に示したフローチャートに従って、当該処理の動作を説明する。   Next, “data generation processing” for realizing the above-described data generation function will be described with reference to FIG. FIG. 9 is a flowchart illustrating an example of “data generation processing”. This process is started in response to a predetermined recording operation by the user. Hereinafter, the operation of the processing will be described according to the flowchart shown in FIG.

ステップS41では、初期設定を行う。再生バッファ3aに元となる自動演奏データを記憶させておかずに、再生バッファ3aがまっさらな状態から自動演奏データを全く新規に生成するような場合には、該初期設定として、生成対象とする自動演奏データの長さ(例えば小節数)を指定したり、再生バッファ3aをクリアする(空にする)などの処理を行う。一方、再生バッファ3aに記憶された既存の自動演奏データを利用して自動演奏データを生成する場合には、該初期設定として、再生バッファ3aに元となる既存の自動演奏データを予め読み込んでおくなどの処理を行う。この再生バッファ3aに既存の自動演奏データを読み込んでおく場合、ユーザは既存の自動演奏データの中から任意のデータを選択することができる。ステップS42は、RAM3のワークエリア内に確保されるプレイエフェクト制御フラグを「許可」に設定する。ステップS43は、録音「開始」のパネル操作を待つ。すなわち、ユーザによる録音開始/終了スイッチ操作に応じて録音「開始」が指示されるまで、当該処理を続行せずに待機させておく。録音「開始」が指示された場合には、再生モジュールB及び記録モジュールCそれぞれに対し録音開始を指示する一方、プレイエフェクトモジュールEに対してはスルーを指示する(ステップS44)。これらの指示以降、再生モジュールBではタイマ1Aに同期して再生バッファ3aから演奏イベントデータを読み出し、該読み出した演奏イベントデータをプレイエフェクトモジュールEを経由して音源ドライバモジュールF及び記録モジュールCに対してそれぞれ送る。記録モジュールCでは、送られてきた演奏イベントデータを順次に記録バッファ3bに記憶する。   In step S41, initial setting is performed. When the automatic performance data is not completely stored in the reproduction buffer 3a and the automatic performance data is completely generated from the state in which the reproduction buffer 3a is completely clean, the initial setting is the generation target. Processing such as specifying the length (for example, the number of bars) of the automatic performance data and clearing (empty) the reproduction buffer 3a is performed. On the other hand, when the automatic performance data is generated by using the existing automatic performance data stored in the reproduction buffer 3a, the original existing automatic performance data is previously read into the reproduction buffer 3a as the initial setting. Process such as. When existing automatic performance data is read into the reproduction buffer 3a, the user can select arbitrary data from the existing automatic performance data. A step S42 sets a play effect control flag secured in the work area of the RAM 3 to “permitted”. A step S43 waits for a panel operation for recording “start”. That is, the processing is kept on standby without continuing until recording “start” is instructed in accordance with the recording start / end switch operation by the user. When recording “start” is instructed, the recording module C is instructed to start recording for each of the playback module B and the recording module C, while the through effect is instructed to the play effect module E (step S44). After these instructions, the playback module B reads the performance event data from the playback buffer 3a in synchronization with the timer 1A, and the read performance event data is sent to the sound source driver module F and the recording module C via the play effect module E. Send each. In the recording module C, the performance event data sent is sequentially stored in the recording buffer 3b.

ステップS45では、録音「終了」のパネル操作が行われたか否かを判定する。ユーザによる録音開始/終了スイッチ操作に応じて録音「終了」操作が行われたと判定した場合には(ステップS45のYES)、当該処理を終了する。この処理終了に伴い、記録バッファ3b内に記録されている自動演奏データは所定の不揮発メモリや外部記憶装置10などに記憶される。ただし、プレイエフェクトがかけられていない、あるいはユーザによる演奏操作子4Aの操作が全く行われることがなかったような場合には、記録バッファ3b内に記録されている自動演奏データと再生バッファ3a内に記録されている元の自動演奏データとは何ら変わらないので、記録バッファ3b内に記録されている自動演奏データを所定の不揮発メモリや外部記憶装置10などに記憶しなくてよい。   In step S45, it is determined whether or not a panel operation for recording “end” has been performed. If it is determined that the recording “end” operation has been performed in response to the recording start / end switch operation by the user (YES in step S45), the processing ends. Upon completion of this process, the automatic performance data recorded in the recording buffer 3b is stored in a predetermined nonvolatile memory, the external storage device 10, or the like. However, if the play effect is not applied or the user does not perform any operation of the performance operator 4A, the automatic performance data recorded in the recording buffer 3b and the reproduction buffer 3a Therefore, the automatic performance data recorded in the recording buffer 3b need not be stored in a predetermined nonvolatile memory or the external storage device 10 or the like.

一方、録音「終了」の操作が行われていないと判定した場合には(ステップS45のNO)、プレイエフェクト制御フラグが「許可」に設定されているか否かを判定する(ステップS46)。プレイエフェクト制御フラグが「許可」に設定されている場合には(ステップS46のYES)、パネル操作子上でのプレイエフェクト設定のオン/オフ設定をプレイエフェクトモジュールEに反映させ、該プレイエフェクト設定が「オン」設定である場合には、プレイエフェクトをかけるようにプレイエフェクトモジュールEに指示する(ステップS47)。上述した図8から理解できるように、この場合には、プレイエフェクトモジュールEでは予め記憶されているプレイエフェクトデータ100に基づいて、再生モジュールBから送られた演奏イベントデータを加工する。そして、加工された演奏イベントデータは音源ドライバモジュールFに送られると共に、記録モジュールCに送られて記録バッファ3bに記録される。したがって、音源回路7を介して発音される楽音はプレイエフェクトがかけられた後の楽音が発生され、また記録バッファ3bにはプレイエフェクトがかけられた後の演奏イベントデータが記録されることになる。さらに、ユーザによる演奏操作子4Aの操作があるような場合には、キースキャンモジュールDから該操作に応じて発生された演奏イベントデータが音源ドライバモジュールF及び記録モジュールCに送られることから、プレイエフェクトがかけられた後の楽音と同時に、ユーザによる演奏操作子4Aの操作に応じて発生された演奏イベントデータに基づく楽音が発生される。そして、記録バッファ3bにはプレイエフェクトがかけられた後の演奏イベントデータと共に、ユーザによる演奏操作子4Aの操作に応じて発生された演奏イベントデータが記録されることになる。   On the other hand, if it is determined that the recording “end” operation has not been performed (NO in step S45), it is determined whether or not the play effect control flag is set to “permitted” (step S46). If the play effect control flag is set to “permitted” (YES in step S46), the on / off setting of the play effect setting on the panel operator is reflected in the play effect module E, and the play effect setting is set. Is set to “ON”, the play effect module E is instructed to apply the play effect (step S47). As can be understood from FIG. 8 described above, in this case, the play effect module E processes the performance event data sent from the reproduction module B based on the pre-stored play effect data 100. The processed performance event data is sent to the sound source driver module F, sent to the recording module C, and recorded in the recording buffer 3b. Therefore, the musical sound generated through the tone generator circuit 7 is generated after the play effect is applied, and the performance event data after the play effect is applied is recorded in the recording buffer 3b. . Further, when there is an operation of the performance operator 4A by the user, the performance event data generated in response to the operation from the key scan module D is sent to the sound source driver module F and the recording module C. At the same time as the musical sound after the effect is applied, the musical sound based on the performance event data generated in response to the operation of the performance operator 4A by the user is generated. Then, the performance event data generated in response to the operation of the performance operator 4A by the user is recorded in the recording buffer 3b together with the performance event data after the play effect is applied.

他方、プレイエフェクト制御フラグが「許可」に設定されていない場合には(ステップS46のNO)、パネル操作子上でのプレイエフェクト「オン」設定又は「オフ」設定に関わらず、プレイエフェクトをかけないようにプレイエフェクトモジュールEに指示する(ステップS48)。この場合には、音源回路7を介して発音される楽音はプレイエフェクトがかけられていない楽音が発生され、また記録バッファ3bにはプレイエフェクトがかけられていない元の演奏イベントデータがそのまま記録されることになる(ただし、ユーザによる演奏操作子4Aの操作がある場合には、該操作に応じて発生された演奏イベントデータが同時に記録バッファ3bに記録される)。   On the other hand, if the play effect control flag is not set to “permitted” (NO in step S46), the play effect is applied regardless of the play effect “on” setting or “off” setting on the panel operator. The play effect module E is instructed not to exist (step S48). In this case, the musical sound generated via the tone generator circuit 7 is generated with no play effect applied, and the original performance event data with no play effect applied is recorded in the recording buffer 3b as it is. (However, if there is an operation of the performance operator 4A by the user, performance event data generated in response to the operation is simultaneously recorded in the recording buffer 3b).

ステップS49では、再生バッファ3aに対する読み出しポインタが繰り返し読み出しされる範囲であるループの終端まで到達したか否かを判定する。ループの終端まで到達したと判定した場合には(ステップS49のYES)、再生バッファ3aと記録バッファ3bの更新を行い、さらには再生モジュールBの再生バッファ3aに対する読み出しポインタ及び記録モジュールCの記録バッファ3bに対する書き込みポインタのそれぞれを該当するループの先頭に設定する(ステップS50)。ステップS51では、最新のループの1周つまり直近のループ処理で記録バッファ3bに記録された自動演奏データがプレイエフェクトがかけられた後のデータであるか否かを判定する。プレイエフェクトがかけられた後のデータであると判定した場合には(ステップS51のYES)、プレイエフェクト制御フラグを「許可」から「禁止」に設定変更する(ステップS52)。こうすると、プレイエフェクトをかけるプレイエフェクト「オン」設定である場合であっても、1回のループ処理の際にのみプレイエフェクトがかけられることになることから、ループ再生つまり自動演奏が繰り返されても多重にプレイエフェクトがかけられてしまうことがない。また、プレイエフェクト設定スイッチによる「オン」設定又は「オフ」設定によりプレイエフェクトをかけるかけないかを指示するようにしたことから、ユーザは演奏操作子4Aを操作して楽音を追加録音した後に、プレイエフェクト「オン」設定して、追加録音した楽音を含む自動演奏データに対してプレイエフェクトをかけることができるようになる。すなわち、録音の最初からプレイエフェクトをかけなくてもよく、プレイエフェクトをかけることなくユーザ操作に応じて発生された楽音を追加録音してから、該生成した自動演奏データに対してプレイエフェクトをかけることができる。   In step S49, it is determined whether or not the end of the loop, which is the range in which the read pointer for the reproduction buffer 3a is repeatedly read, has been reached. If it is determined that the end of the loop has been reached (YES in step S49), the reproduction buffer 3a and the recording buffer 3b are updated, and the read pointer for the reproduction buffer 3a of the reproduction module B and the recording buffer of the recording module C are updated. Each of the write pointers for 3b is set to the head of the corresponding loop (step S50). In step S51, it is determined whether or not the automatic performance data recorded in the recording buffer 3b by one round of the latest loop, that is, the latest loop processing is data after the play effect is applied. If it is determined that the data is after the play effect has been applied (YES in step S51), the play effect control flag is changed from “permitted” to “prohibited” (step S52). In this way, even if the play effect is set to “on”, the play effect is applied only during one loop process, so loop playback, that is, automatic performance is repeated. There are no multiple play effects. In addition, since the play effect setting switch is used to instruct whether or not to apply the play effect by the “on” setting or “off” setting, the user operates the performance operator 4A to record additional music, When the play effect is set to “ON”, the play effect can be applied to the automatic performance data including the additionally recorded musical sound. In other words, it is not necessary to apply the play effect from the beginning of the recording, and after the musical sound generated according to the user operation is additionally recorded without applying the play effect, the play effect is applied to the generated automatic performance data. be able to.

次に、上述したデータ生成機能を実現する「データ生成処理」の別の実施例について、図10及び図11を用いて説明する。図10は、「データ生成処理」の別の実施例を示すフローチャートである。図11は、「データ生成処理」と並行動作される「プレイエフェクト処理」の一実施例を示すフローチャートである。この「プレイエフェクト処理」は、自動演奏データに含まれるイベント毎に実行される処理である。   Next, another example of the “data generation process” for realizing the above-described data generation function will be described with reference to FIGS. 10 and 11. FIG. 10 is a flowchart showing another example of the “data generation process”. FIG. 11 is a flowchart illustrating an example of a “play effect process” operated in parallel with the “data generation process”. This “play effect process” is a process executed for each event included in the automatic performance data.

ステップS61では、初期設定を行う。ステップS62では、RAM3のワークエリア内に確保されるプレイエフェクト制御フラグを「許可」にする。ステップS63は、ユーザによる録音「開始」のパネル操作を待つ。録音「開始」が指示されると、再生モジュールB及び記録モジュールCそれぞれに対し開始を指示する一方、プレイエフェクトモジュールEに対してはスルーを指示する(ステップS64)。ステップS65では、ユーザによる録音「終了」のパネル操作が行われたか否かを判定する。録音「終了」の操作が行われた場合には(ステップS65のYES)、当該処理を終了する。この場合、記録バッファ3b内に記録された自動演奏データは不揮発メモリ又は外部記憶装置10などに記憶される。録音「終了」の操作が行われていない場合には(ステップS65のNO)、再生バッファ3aに対する読み出しポインタが繰り返し読み出しされる範囲であるループの終端まで到達したか否かを判定する(ステップS66)。ループの終端まで到達したと判定した場合には(ステップS66のYES)、再生バッファ3aと記録バッファ3bの更新を行い、さらには再生モジュールBの再生バッファ3aに対する読み出しポインタ及び記録モジュールCの記録バッファ3bに対する書き込みポインタのそれぞれをループの先頭に設定する(ステップS67)。ステップS68では、最新のループの1周つまり直近のループ処理で記録バッファ3bに記録された自動演奏データがプレイエフェクトがかけられた後のデータであるか否かを判定する。プレイエフェクトがかけられた後のデータであると判定した場合には(ステップS68のYES)、自動演奏データに対してプレイエフェクトを禁止にするイベントを書き込む(ステップS69)。例えば、自動演奏データ全体に対してプレイエフェクトをかけることを禁止するイベント(既に説明済みのプレイエフェクト禁止イベント)を、自動演奏データの最初に書き込む。勿論、プレイエフェクトがかけられた区間の前後にプレイエフェクト禁止イベント及びプレイエフェクト許可イベントを書き込み、この区間のみプレイエフェクトをかけることを禁止するようにしてもよい。   In step S61, initialization is performed. In step S62, the play effect control flag secured in the work area of the RAM 3 is set to “permitted”. In step S63, the user waits for a panel operation for recording “start” by the user. When recording "start" is instructed, the playback module B and recording module C are instructed to start, while the play effect module E is instructed to through (step S64). In step S <b> 65, it is determined whether or not the user has performed a recording “end” panel operation. If the operation of “end” recording has been performed (YES in step S65), the process ends. In this case, the automatic performance data recorded in the recording buffer 3b is stored in the nonvolatile memory or the external storage device 10 or the like. If the recording “end” operation has not been performed (NO in step S65), it is determined whether or not the end of the loop, which is the range in which the read pointer for the reproduction buffer 3a is repeatedly read, has been reached (step S66). ). If it is determined that the end of the loop has been reached (YES in step S66), the reproduction buffer 3a and the recording buffer 3b are updated, and the read pointer for the reproduction buffer 3a of the reproduction module B and the recording buffer of the recording module C are updated. Each of the write pointers for 3b is set to the head of the loop (step S67). In step S68, it is determined whether or not the automatic performance data recorded in the recording buffer 3b by one round of the latest loop, that is, the latest loop processing is data after the play effect is applied. If it is determined that the data is after the play effect has been applied (YES in step S68), an event for prohibiting the play effect is written in the automatic performance data (step S69). For example, an event that prohibits the application of play effects to the entire automatic performance data (the already described play effect prohibition event) is written at the beginning of the automatic performance data. Of course, the play effect prohibition event and the play effect permission event may be written before and after the section where the play effect is applied, and it may be prohibited to apply the play effect only in this section.

図11に示すように、ステップS71では、演奏イベントデータが「プレイエフェクト許可イベント」であるか否かを判定する。「プレイエフェクト許可イベント」である場合には(ステップS71のYES)、プレイエフェクト制御フラグを「許可」にする(ステップS72)。ステップS73では、「プレイエフェクト禁止イベント」であるか否かを判定する。「プレイエフェクト禁止イベント」である場合には(ステップS73のYES)、プレイエフェクト制御フラグを「禁止」にする(ステップS74)。ステップS75は、演奏イベントデータが通常の演奏イベント(例えばノートオン、ノートオフなど)であるか否かを判定する。通常の演奏イベントである場合には(ステップS75のYES)、プレイエフェクト制御フラグが「許可」であり、かつパネル設定がプレイエフェクト「オン」設定であるか否かを判定する(ステップS76)。プレイエフェクト制御フラグが「許可」であり、かつパネル設定がプレイエフェクト「オン」設定である場合には(ステップS76のYES)、当該演奏イベントにプレイエフェクトをかけて、これを音源ドライバモジュールFと記録モジュールCとに送る(ステップS77)。この場合には、プレイエフェクトがかけられた後の自動演奏データが記録バッファ3bに記憶される。一方、プレイエフェクト制御フラグが「許可」でない、あるいは「許可」であってもパネル設定がプレイエフェクト「オン」設定でない場合には(ステップS76のNO)、演奏イベントをそのまま音源ドライバモジュールFと記録モジュールCとに送る(ステップS78)。この場合には、プレイエフェクトがかけられることなく、元の自動演奏データがそのまま記録バッファ3bに記憶される。   As shown in FIG. 11, in step S71, it is determined whether or not the performance event data is a “play effect permission event”. If it is a “play effect permission event” (YES in step S71), the play effect control flag is set to “permitted” (step S72). In step S73, it is determined whether or not the event is a “play effect prohibited event”. If it is a “play effect prohibited event” (YES in step S73), the play effect control flag is set to “prohibited” (step S74). In step S75, it is determined whether or not the performance event data is a normal performance event (for example, note-on, note-off, etc.). If it is a normal performance event (YES in step S75), it is determined whether the play effect control flag is “permitted” and the panel setting is a play effect “ON” setting (step S76). When the play effect control flag is “permitted” and the panel setting is the play effect “ON” setting (YES in step S76), the play effect is applied to the performance event, and this is referred to as the sound source driver module F. The data is sent to the recording module C (step S77). In this case, the automatic performance data after the play effect is applied is stored in the recording buffer 3b. On the other hand, if the play effect control flag is not “permitted” or if the panel setting is not “on”, even if it is “permitted” (NO in step S76), the performance event is recorded as it is with the sound source driver module F. The data is sent to module C (step S78). In this case, the original automatic performance data is stored as it is in the recording buffer 3b without applying the play effect.

なお、上述したような「データ生成処理」及び「プレイエフェクト処理」は複数の各パート毎に実行され、各パート毎にプレイエフェクトに関する各種処理を実行することは言うまでもない。
なお、ユーザが任意のループ回数だけプレイエフェクトをかけるよう設定できるようにしてあってもよい。
なお、上述したような自動演奏データを作成する機能が自動演奏装置あるいはプログラムに備わっている場合に、自動演奏データにプレイエフェクト禁止情報を付加する機能として、ユーザの介在なしで自動的に付加することに限らず、ユーザ操作に応じて付加することができるようにしてもよい。
なお、演奏操作子4Aのユーザ操作に応じて発生される演奏イベントデータを自動的にアルペジオを実現する演奏イベントデータに変換し、変換後のアルペジオを実現する演奏イベントデータに対してプレイエフェクトをかけたものを自動演奏データとして記録するようにしてあってもよい。
Needless to say, the “data generation process” and the “play effect process” as described above are executed for each of a plurality of parts, and various processes relating to the play effect are executed for each part.
Note that the user may be allowed to set the play effect to be applied an arbitrary number of loops.
If the automatic performance device or program has a function for creating automatic performance data as described above, it is automatically added without user intervention as a function for adding play effect prohibition information to automatic performance data. Not limited to this, it may be added in accordance with a user operation.
Note that performance event data generated in response to a user operation of the performance operator 4A is automatically converted into performance event data for realizing an arpeggio, and a play effect is applied to the performance event data for realizing the converted arpeggio. May be recorded as automatic performance data.

なお、対象となる自動演奏データは、プリセットのものだけでなく、ユーザが作成したものでもよい。
なお、自動演奏データを再生するための処理方法としては、設定されたテンポに応じて処理周期を変更する方法、処理周期は一定で自動演奏中のタイミングデータの値を設定されたテンポに応じて変更する方法、処理周期は一定で1回の処理において自動演奏データ中の演奏タイミングデータの計数の仕方をテンポに応じて変更する方法等、どのようなものであってもよい。
Note that the target automatic performance data is not limited to preset data, but may be data created by the user.
The processing method for reproducing the automatic performance data includes a method of changing the processing cycle according to the set tempo, and the processing cycle is constant and the value of timing data during automatic performance is set according to the set tempo. Any method may be used, such as a method of changing, a processing cycle is constant, and a method of changing the timing of performance timing data in automatic performance data in a single process according to the tempo.

この発明に係る自動演奏装置を適用した電子楽器の全体構成を示したハード構成ブロック図である。1 is a hardware configuration block diagram showing an overall configuration of an electronic musical instrument to which an automatic performance device according to the present invention is applied. ソングデータのデータ構造を示す概念図であり、図2(a)は全てのトラックについて一括してプレイエフェクトがかけられることを禁止するよう設定できるようにした場合、図2(b)は所望のトラック毎にプレイエフェクトがかけられることを禁止するよう設定できるようにした場合である。FIG. 2A is a conceptual diagram showing the data structure of the song data. FIG. 2A shows a case where it is possible to prohibit the play effect from being applied to all tracks at once, and FIG. This is a case where it can be set to prohibit the application of a play effect for each track. スタイルデータのデータ構造を示す概念図であり、図3(a)は全てのトラックについて一括してプレイエフェクトがかけられることを禁止するよう設定できるようにした場合、図3(b)は所望のトラック毎にプレイエフェクトがかけられることを禁止するよう設定できるようにした場合である。FIG. 3A is a conceptual diagram showing the data structure of style data. FIG. 3A shows a case where it is possible to set to prohibit play effects from being applied to all tracks at once. FIG. This is a case where it can be set to prohibit the application of a play effect for each track. アルペジオデータのデータ構造を示す概念図である。It is a conceptual diagram which shows the data structure of arpeggio data. マスタートラックの再生処理の一実施例を示すフローチャートである。10 is a flowchart illustrating an example of reproduction processing of a master track. ノートシーケンストラックの再生処理の一実施例を示すフローチャートである。It is a flowchart which shows one Example of the reproduction | regeneration processing of a note sequence track. プレイエフェクト禁止情報記録処理の一実施例を示すフローチャートである。It is a flowchart which shows one Example of a play effect prohibition information recording process. データ生成機能を説明するための機能ブロック図である。It is a functional block diagram for demonstrating a data generation function. データ生成処理の一実施例を示すフローチャートである。It is a flowchart which shows one Example of a data generation process. データ生成処理の別の実施例を示すフローチャートである。It is a flowchart which shows another Example of a data generation process. プレイエフェクト処理の一実施例を示すフローチャートである。It is a flowchart which shows one Example of a play effect process.

符号の説明Explanation of symbols

1…CPU、2…ROM、3…RAM、3a…再生バッファ、3b…記録バッファ、4、5…検出回路、4A…演奏操作子、5A…設定操作子、6…表示回路、6A…ディスプレイ、7…音源回路、8…効果回路、9…サウンドシステム、10…外部記憶装置、11…MIDIインタフェース、11A…MIDI機器、12…通信インタフェース、12A…サーバコンピュータ、X…通信ネットワーク、1D…通信バス(データ及びアドレスバス)、A…制御モジュール、B…再生モジュール、C…記録モジュール、D…キースキャンモジュール、E…プレイエフェクトモジュール、F…音源ドライバモジュール、100…プレイエフェクトデータ 1 ... CPU, 2 ... ROM, 3 ... RAM, 3a ... playback buffer, 3b ... recording buffer, 4,5 ... detection circuit, 4A ... performance operator, 5A ... setting operator, 6 ... display circuit, 6A ... display, DESCRIPTION OF SYMBOLS 7 ... Sound source circuit, 8 ... Effect circuit, 9 ... Sound system, 10 ... External storage device, 11 ... MIDI interface, 11A ... MIDI apparatus, 12 ... Communication interface, 12A ... Server computer, X ... Communication network, 1D ... Communication bus (Data and address bus), A ... control module, B ... playback module, C ... recording module, D ... key scan module, E ... play effect module, F ... sound source driver module, 100 ... play effect data

Claims (5)

自動演奏を繰り返し、該繰り返される自動演奏を元にして自動演奏データを生成することが可能な自動演奏装置であって、
変更内容を指定する変更データに基づき、自動演奏データの内容を変更しながら自動演奏を行うか否かを設定する設定手段と、
前記変更データに基づき自動演奏データの内容を変更しながらの自動演奏が既に行われたか否かを判定する判定手段と、
未だ自動演奏データの内容を変更しながらの自動演奏が行われていない場合には前記設定に応じて自動演奏データの内容を変更しながら自動演奏を行う一方で、既に自動演奏データの内容を変更しながらの自動演奏が行われていた場合には自動演奏データの内容を変更することなく自動演奏を行う演奏手段と、
少なくとも前記内容が変更された自動演奏データを繰り返し自動演奏する対象として記憶する記憶手段と
を具えた自動演奏装置。
An automatic performance device capable of repeating automatic performance and generating automatic performance data based on the repeated automatic performance,
Setting means for setting whether or not to perform automatic performance while changing the content of the automatic performance data based on the change data specifying the change content;
Determining means for determining whether or not automatic performance has already been performed while changing the content of the automatic performance data based on the change data;
If the automatic performance is not yet performed while changing the content of the automatic performance data, the automatic performance is performed while changing the content of the automatic performance data according to the setting, while the content of the automatic performance data has already been changed. Performance means for performing automatic performance without changing the content of the automatic performance data,
An automatic performance apparatus comprising storage means for storing at least the automatic performance data whose contents have been changed as a target for repeated automatic performance.
自動演奏を繰り返し、該繰り返される自動演奏を元にして自動演奏データを生成することが可能な自動演奏装置であって、
変更内容を指定する変更データに基づき、自動演奏データの内容を変更しながら自動演奏を行うか否かを設定する設定手段と、
自動演奏データの内容を変更する又はしない範囲を指定する所定の禁止情報に基づき、その内容を変更する又はしない範囲を判定する判定手段と、
前記設定に応じて前記自動演奏データの内容を変更すると判定した範囲については前記変更データに基づいて自動演奏データの内容を変更しながら自動演奏を行う一方で、前記自動演奏データの内容を変更しないと判定した範囲については自動演奏データの内容を変更することなく自動演奏を行う演奏手段と、
少なくとも前記内容が変更された自動演奏データを繰り返し自動演奏する対象として記憶する記憶手段と
を具えた自動演奏装置。
An automatic performance device capable of repeating automatic performance and generating automatic performance data based on the repeated automatic performance,
Setting means for setting whether or not to perform automatic performance while changing the content of the automatic performance data based on the change data specifying the change content;
A determination means for determining a range in which the content is not changed based on predetermined prohibition information for designating a range in which the content of the automatic performance data is changed or not;
For the range determined to change the contents of the automatic performance data according to the setting, the automatic performance is performed while changing the contents of the automatic performance data based on the change data, while the contents of the automatic performance data are not changed. A performance means for performing automatic performance without changing the content of the automatic performance data for the range determined as
An automatic performance apparatus comprising storage means for storing at least the automatic performance data whose contents have been changed as a target for repeated automatic performance.
演奏操作子を具えてなり、
前記記憶手段は、ユーザ操作された前記演奏操作子に応じて発生される楽音に関するデータを前記自動演奏データと共に記憶することを特徴とする請求項又はに記載の自動演奏装置。
With performance controls,
It said storage means, the automatic performance apparatus according to data relating to a musical tone to be generated in response to user operated the performance operator to claim 1 or 2, characterized in that stored with the automatic performance data.
コンピュータに、
変更内容を指定する変更データに基づき、自動演奏データの内容を変更しながら自動演奏を行うか否かを設定する手順と、
前記変更データに基づき自動演奏データの内容を変更しながらの自動演奏が既に行われたか否かを判定する手順と、
未だ自動演奏データの内容を変更しながらの自動演奏が行われていない場合には前記設定に応じて自動演奏データの内容を変更しながら自動演奏を行う一方で、既に自動演奏データの内容を変更しながらの自動演奏が行われていた場合には自動演奏データの内容を変更することなく自動演奏を行う手順と、
少なくとも前記内容が変更された自動演奏データを繰り返し自動演奏する対象として記憶する手順と
を実行させるためのプログラム。
On the computer,
A procedure for setting whether or not to perform automatic performance while changing the content of the automatic performance data based on the change data specifying the change content,
A procedure for determining whether or not an automatic performance has already been performed while changing the contents of the automatic performance data based on the change data;
If the automatic performance is not yet performed while changing the content of the automatic performance data, the automatic performance is performed while changing the content of the automatic performance data according to the setting, while the content of the automatic performance data has already been changed. If the automatic performance was performed, the procedure for performing the automatic performance without changing the content of the automatic performance data,
A program for executing at least a procedure for storing automatic performance data whose contents have been changed as a target for repeated automatic performance.
コンピュータに、
変更内容を指定する変更データに基づき、自動演奏データの内容を変更しながら自動演奏を行うか否かを設定する手順と、
自動演奏データの内容を変更する又はしない範囲を指定する所定の禁止情報に基づき、その内容を変更する又はしない範囲を判定する手順と、
前記設定に応じて前記自動演奏データの内容を変更すると判定した範囲については前記変更データに基づいて自動演奏データの内容を変更しながら自動演奏を行う一方で、前記自動演奏データの内容を変更しないと判定した範囲については自動演奏データの内容を変更することなく自動演奏を行う手順と、
少なくとも前記内容が変更された自動演奏データを繰り返し自動演奏する対象として記憶する手順と
を実行させるためのプログラム。
On the computer,
A procedure for setting whether or not to perform automatic performance while changing the content of the automatic performance data based on the change data specifying the change content,
A procedure for determining a range in which the content is to be changed or not based on predetermined prohibition information specifying a range in which the content of the automatic performance data is to be changed or not;
For the range determined to change the contents of the automatic performance data according to the setting, the automatic performance is performed while changing the contents of the automatic performance data based on the change data, while the contents of the automatic performance data are not changed. For the range determined to be automatic performance without changing the content of automatic performance data,
A program for executing at least a procedure for storing automatic performance data whose contents have been changed as a target for repeated automatic performance.
JP2004309704A 2004-08-26 2004-10-25 Automatic performance device and program Expired - Fee Related JP4270102B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004309704A JP4270102B2 (en) 2004-08-26 2004-10-25 Automatic performance device and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004246594 2004-08-26
JP2004309704A JP4270102B2 (en) 2004-08-26 2004-10-25 Automatic performance device and program

Publications (2)

Publication Number Publication Date
JP2006091804A JP2006091804A (en) 2006-04-06
JP4270102B2 true JP4270102B2 (en) 2009-05-27

Family

ID=36232818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004309704A Expired - Fee Related JP4270102B2 (en) 2004-08-26 2004-10-25 Automatic performance device and program

Country Status (1)

Country Link
JP (1) JP4270102B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010113176A (en) * 2008-11-07 2010-05-20 Korg Inc Music data recording/reproducing device
JP5701011B2 (en) * 2010-10-26 2015-04-15 ローランド株式会社 Electronic musical instruments
JP2013195772A (en) * 2012-03-21 2013-09-30 Casio Comput Co Ltd Recording and reproducing apparatus and program
WO2022049732A1 (en) * 2020-09-04 2022-03-10 ローランド株式会社 Information processing device and information processing method

Also Published As

Publication number Publication date
JP2006091804A (en) 2006-04-06

Similar Documents

Publication Publication Date Title
US20050257667A1 (en) Apparatus and computer program for practicing musical instrument
JP2019066649A (en) Method for assisting in editing singing voice and device for assisting in editing singing voice
JP4270102B2 (en) Automatic performance device and program
JP4407473B2 (en) Performance method determining device and program
JP4740583B2 (en) Music data processing apparatus and program
JPH11305772A (en) Electronic instrument
JP3214623B2 (en) Electronic music playback device
JP3709821B2 (en) Music information editing apparatus and music information editing program
JP4853054B2 (en) Performance data editing apparatus and program
JP3843688B2 (en) Music data editing device
JP3709820B2 (en) Music information editing apparatus and music information editing program
JP4315116B2 (en) Electronic music equipment
JP3797180B2 (en) Music score display device and music score display program
JP2011197664A (en) Music file reproduction device and system
JP4835434B2 (en) Performance pattern playback device and computer program therefor
JP3267226B2 (en) Automatic accompaniment device and medium recording automatic accompaniment control program
JP4172509B2 (en) Apparatus and method for automatic performance determination
JP3797181B2 (en) Music score display device and music score display program
JP3956961B2 (en) Performance data processing apparatus and method
JP3752956B2 (en) PERFORMANCE GUIDE DEVICE, PERFORMANCE GUIDE METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PERFORMANCE GUIDE PROGRAM
JP4685226B2 (en) Automatic performance device for waveform playback
JP3637782B2 (en) Data generating apparatus and recording medium
JP2005010462A (en) Device and program for automatic musical performance, and computer-readable recording medium where automatic musical performance pattern data are recorded
JP3794299B2 (en) Performance information editing apparatus and performance information editing program
JP2007163815A (en) Recorder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070821

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081226

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090216

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

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4270102

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130306

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140306

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees