JP2005114927A - Automatic music player, automatic music playing program, automatic music playing data and recording medium having the data recorded thereon - Google Patents

Automatic music player, automatic music playing program, automatic music playing data and recording medium having the data recorded thereon Download PDF

Info

Publication number
JP2005114927A
JP2005114927A JP2003347353A JP2003347353A JP2005114927A JP 2005114927 A JP2005114927 A JP 2005114927A JP 2003347353 A JP2003347353 A JP 2003347353A JP 2003347353 A JP2003347353 A JP 2003347353A JP 2005114927 A JP2005114927 A JP 2005114927A
Authority
JP
Japan
Prior art keywords
time
management information
time management
event data
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.)
Granted
Application number
JP2003347353A
Other languages
Japanese (ja)
Other versions
JP4172366B2 (en
Inventor
Kiyoshi Hagino
潔 萩野
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 JP2003347353A priority Critical patent/JP4172366B2/en
Publication of JP2005114927A publication Critical patent/JP2005114927A/en
Application granted granted Critical
Publication of JP4172366B2 publication Critical patent/JP4172366B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To properly reproduce a musical performance which requires delicate time management such as trill rendition regardless of a set playing tempo. <P>SOLUTION: Playing data supplied from a playing data supplying means includes event data which instructs a playing event and time management information which manages time when the playing event is to be performed. The time management information corresponding to part of the event data consists of time management information of a first kind which is described in an absolute time unit which does not follow the playing tempo, and the time management information corresponding to other event data than the above event data consists of time management information of a second kind which is described in a relative time management information which follows the playing tempo. In a reproduction time deciding means, the reproduction time of the event data which corresponds to the time management information of the second kind is decided on the basis of the corresponding time management information and the playing tempo. On the other hand, the reproduction time of the event data corresponding to the time management information of the first kind is decided according to the corresponding time management information without following the playing tempo. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

この発明は、自動演奏データに基づく自動演奏を操作者が設定した任意の演奏テンポに従って実行する機能を有する自動演奏装置、並びに、その制御を行うコンピュータプログラム、並びに、自動演奏データ、並びに、該データを記録した記録媒体に関する。   The present invention relates to an automatic performance apparatus having a function of executing automatic performance based on automatic performance data according to an arbitrary performance tempo set by an operator, a computer program for controlling the automatic performance apparatus, automatic performance data, and the data The present invention relates to a recording medium that records

従来から知られる自動演奏(自動伴奏、オートプレイ)を行う機能を有する電子楽器やシーケンサ等のような自動演奏装置において、自動演奏を行わせるための自動演奏データは、実行すべき演奏内容を表す演奏情報(演奏イベント)と当該情報の発生タイミングを表す時間情報とを含む。自動演奏データの時間情報は、一般的には、演奏テンポに追従する相対時間方式によって、具体的には「クロック」と呼ばれる所定音符長を所定の数で分割した時間単位によって表現される。「クロック」は、例えば1クロックを四分音符の480分の1や、96分の1等の長さに設定されることで、例えば四分音符の1拍の長さを所定のクロック数に対応づけるものであって、「クロック」が演奏テンポに従って発信されることで、当該曲(自動演奏データ)がクロックのタイミングに合わせて再生される。電子楽器やシーケンサ等の自動演奏機能における演奏テンポとクロックの関係については、例えば下記特許文献1に記載がある。
特開平05−080765
In an automatic performance apparatus such as an electronic musical instrument or a sequencer having a function of performing automatic performance (automatic accompaniment, auto play), which is conventionally known, automatic performance data for performing automatic performance represents the performance content to be executed. It includes performance information (performance event) and time information indicating the generation timing of the information. The time information of the automatic performance data is generally expressed by a relative time system that follows the performance tempo, specifically, a time unit obtained by dividing a predetermined note length called “clock” by a predetermined number. “Clock” is set, for example, to 1 / 480th of a quarter note or 1 / 96th of a quarter note, so that, for example, the length of one beat of a quarter note is set to a predetermined number of clocks. In this case, the “clock” is transmitted according to the performance tempo, so that the music (automatic performance data) is reproduced in accordance with the timing of the clock. The relationship between the performance tempo and the clock in an automatic performance function such as an electronic musical instrument or a sequencer is described, for example, in Patent Document 1 below.
JP 05-080765 A

上記相対時間方式の時間管理では、各自動演奏データは、設定された演奏テンポに応じて、データ読み出しタイミングの実時間軸上の時間位置が伸縮されるので、その実質的な演奏時間(データの再生時間)も、演奏テンポに追従して可変(伸縮)される。例えば、或るテンポtでの再生を意図して作成された自動演奏データを、テンポtの2倍の速さのテンポ2tで再生すると、当該データは2倍の速さで読み出されることとなり、その再生持続時間はテンポtで再生する場合に比較して2分の1に短縮される。   In the time management based on the relative time method, each automatic performance data is expanded or contracted in accordance with the set performance tempo so that the time position on the real time axis of the data read timing is reduced. Playback time) is also variable (expanded) following the performance tempo. For example, when automatic performance data created with the intention of reproducing at a certain tempo t is reproduced at a tempo 2t that is twice as fast as the tempo t, the data is read out at twice the speed. The playback duration is shortened by a factor of two compared to playback at tempo t.

ところが、次に例示するような演奏は、前述のように実質的な再生時間が伸縮すると、再生される演奏音が不自然になってしまう恐れがある。すなわち、それらは、例えば、(1)打楽器や減衰音楽器のロール奏法。(2)トレモロ奏法における音量変化や、音の長さ、間隔等。(3)トリル奏法のピッチ変化もしくはノートオンの周期。(4)ギター等のストローク奏法の各弦の時間ずれ。(5)スタカート音やノイズ音など、ある長さ以上の絶対時間が確保されないとしっかり聞こえなくなってしまう音の長さ、等々である。これらの演奏は、再生時間が伸縮されてしまうと、例えば不自然に高速な或は逆に不自然に遅速なトリル奏法であったり、短すぎて聞き取り難いスタッカート音等が再生されうるので、微妙な時間管理が必要とされる。すなわち、これら微妙な時間管理が必要とされる自動演奏データを相対時間方式で管理すると、上記のような不都合が生じる恐れがあった。   However, in the performance illustrated below, when the substantial playback time is expanded and contracted as described above, the played performance sound may become unnatural. That is, they are, for example, (1) percussion instruments and attenuation music instrument roll performance. (2) Volume change, sound length, interval, etc. in tremolo performance. (3) The pitch change or note-on cycle of the trill playing style. (4) The time lag of each string in strokes such as guitar. (5) The length of a sound such as a stuttering sound or a noise sound that cannot be heard well unless an absolute time longer than a certain length is secured. These performances may be subtle because, for example, if the playback time expands or contracts, a staggered sound that is unnaturally fast or conversely slow, or a staccato sound that is too short to be heard can be reproduced. Time management is required. That is, if the automatic performance data that requires such delicate time management is managed by the relative time method, there is a possibility that the above-described inconvenience may occur.

この発明は、上述の点に鑑みてなされたもので、例えばトリル奏法や打楽器のロール演奏など、微妙な時間管理が必要な演奏に関する自動演奏データが、演奏テンポの設定速度如何に関らず、適切に再生されるようにすることを目的とする。   The present invention has been made in view of the above points.For example, automatic performance data related to performances that require delicate time management, such as trill performance and roll performance of percussion instruments, is set regardless of the performance tempo setting speed. The purpose is to ensure proper playback.

この発明に係る自動演奏装置は、演奏イベントを指示するイベントデータと該イベントデータを実行すべき時刻を管理するための時間管理情報とを含むデータのシーケンスからなる演奏データであって、前記イベントデータのうちの一部に対応する前記時間管理情報は演奏テンポに追従しない絶対時間単位で記述された第1種の時間管理情報からなり、それ以外の前記イベントデータに対応する前記時間管理情報は演奏テンポに追従する相対時間単位で記述された第2種の時間管理情報からなるものを供給する演奏データ供給手段と、前記時間管理情報に基づき対応するイベントデータを実行すべき再生時刻を決定するものであって、前記第2種の時間管理情報に対応する前記イベントデータの再生時刻は、対応する時間管理情報と演奏テンポとに基づき決定し、一方、前記第1種の時間管理情報に対応する前記イベントデータの再生時刻は、演奏テンポに追従せずに、対応する時間管理情報に従って決定する再生時刻決定手段とを備えるものである。   The automatic performance device according to the present invention is performance data comprising a sequence of data including event data for instructing a performance event and time management information for managing a time at which the event data is to be executed. The time management information corresponding to a part of the time information includes first type time management information described in absolute time units that do not follow the performance tempo, and the other time management information corresponding to the event data is the performance information. Performance data supply means for supplying the second type of time management information described in relative time units following the tempo, and for determining the playback time for executing the corresponding event data based on the time management information The reproduction time of the event data corresponding to the second type of time management information includes the corresponding time management information and the performance template. On the other hand, the reproduction time of the event data corresponding to the first type of time management information includes reproduction time determination means for determining according to the corresponding time management information without following the performance tempo. Is.

これによれば、自動演奏データは、演奏イベントを指示するイベントデータと、該イベントデータを実行すべき時刻を管理するための時間管理情報とを含むデータのシーケンスからなり、前記イベントデータのうちの一部に対応する前記時間管理情報は演奏テンポに追従しない絶対時間単位で記述された第1種の時間管理情報からなり、それ以外の前記イベントデータに対応する前記時間管理情報は演奏テンポに追従する相対時間単位で記述された第2種の時間管理情報からなる。時間管理情報に基づき対応するイベントデータを実行すべき再生時刻を決定する再生時刻決定手段は、前記第2種の時間管理情報に対応する前記イベントデータの再生時刻は、対応する時間管理情報と演奏テンポとに基づき決定し、一方、前記第1種の時間管理情報に対応する前記イベントデータの再生時刻は、演奏テンポに追従せずに、対応する時間管理情報に従って決定する。よって、前記第1種の時間管理情報に対応するイベントデータは、当該装置において設定されている演奏テンポに関りなく、絶対時間に従って読み出される(再生される)。例えばトリル奏法や打楽器のロール演奏など、微妙な時間管理が必要な演奏に関する演奏イベントを絶対時間の時間単位で管理することで、どのような演奏テンポであっても、これらの演奏イベントを適切に再生できるようになる。   According to this, the automatic performance data is composed of a sequence of data including event data instructing a performance event and time management information for managing the time at which the event data is to be executed. The time management information corresponding to a part includes the first type time management information described in absolute time units that do not follow the performance tempo, and the time management information corresponding to the other event data follows the performance tempo. It consists of the second type time management information described in relative time units. The reproduction time determining means for determining the reproduction time for executing the corresponding event data based on the time management information includes the reproduction time of the event data corresponding to the second type time management information, On the other hand, the reproduction time of the event data corresponding to the first type time management information is determined according to the corresponding time management information without following the performance tempo. Therefore, the event data corresponding to the first type time management information is read (reproduced) according to the absolute time regardless of the performance tempo set in the apparatus. For example, by managing performance events related to performances that require delicate time management, such as trill performance and roll performance of percussion instruments, in time units of absolute time, these performance events can be appropriately managed at any performance tempo. It can be played.

以下添付図面を参照して、この発明の一実施例に係る自動演奏装置について説明する。この自動演奏装置は、自動演奏機能を有する電子楽器やシーケンサ、あるいは、パーソナルコンピュータ等のような適宜の形態の電子音楽装置として実装されうる。   An automatic performance device according to an embodiment of the present invention will be described below with reference to the accompanying drawings. This automatic performance apparatus can be implemented as an electronic musical apparatus of an appropriate form such as an electronic musical instrument having an automatic performance function, a sequencer, or a personal computer.

図1は、この実施例に係る自動演奏装置のハードウェア構成例を示すブロック図である。図1において、CPU1に対して、ROM2、RAM3、外部記憶装置4、MIDIインターフェース(MIDI I/F)5、通信インターフェース(通信 I/F)6、演奏操作子検出回路7、設定操作子検出回路8、表示制御回路9、音源回路10並びに効果回路11が、データ及びアドレスバス1Bを介して、接続されている。CPU1は、ROM2或はRAM3等メモリ内の各種プログラムを実行し、この自動演奏装置の全体的な動作制御を行い、また、再生すべき自動演奏データに基づく自動演奏処理を行う。CPU1には、タイマ割り込み処理における割り込み時間や各種時間を計時するタイマ12が接続されている。この実施例において、タイマ12は、後述する絶対時間(実時間単位)の計測や、演奏テンポを設定するためのテンポクロックパルスの発生に利用される。このテンポクロックは、当該実施例においては、前述した相対時間(拍単位の時間)の計測単位となる「クロック」として利用される。   FIG. 1 is a block diagram showing a hardware configuration example of the automatic performance device according to this embodiment. In FIG. 1, a ROM 2, a RAM 3, an external storage device 4, a MIDI interface (MIDI I / F) 5, a communication interface (communication I / F) 6, a performance operator detection circuit 7, a setting operator detection circuit. 8, a display control circuit 9, a sound source circuit 10, and an effect circuit 11 are connected via a data and address bus 1B. The CPU 1 executes various programs in the memory such as the ROM 2 or the RAM 3 to control the overall operation of the automatic performance apparatus and to perform automatic performance processing based on automatic performance data to be reproduced. The CPU 1 is connected to a timer 12 that measures the interrupt time and various times in the timer interrupt process. In this embodiment, the timer 12 is used for measuring an absolute time (real time unit), which will be described later, and generating a tempo clock pulse for setting a performance tempo. In this embodiment, this tempo clock is used as a “clock” that is a unit of measurement of the relative time (time in beat units) described above.

当該自動演奏装置において、ROM2、RAM3或は外部記憶装置4等のメモリ内には、1乃至複数の楽曲データ(自動演奏データ)が記憶される。以下の説明において自動演奏データは、或る楽曲に関する通常のソングデータとするが、これに限らず、例えば、伴奏スタイルデータ(自動伴奏データ)や、アルペジオパターンデータ等、どのような種類の演奏データであっても差し支えない。この発明に従えば、自動演奏データ中に含まれる、例えばトレモロ演奏や打楽器ロール演奏等の微妙な時間管理が要求される演奏イベントを、どのような演奏テンポにおいても自然に再生できるようになることが後述から明らかになるだろう。
外部記憶装置4としては、ハードディスク、フレキシブルディスク又はフロッピー(登録商標)ディスク、コンパクトディスク(CD‐ROM、CD‐RAM)、光磁気ディスク(MO)、ZIPディスク、DVD(Digital Versatile Disk)、半導体メモリ等、適宜の形態の着脱可能な外部記憶媒体を利用してよい。
In the automatic performance device, one or more pieces of music data (automatic performance data) are stored in a memory such as the ROM 2, the RAM 3, or the external storage device 4. In the following description, the automatic performance data is normal song data related to a certain piece of music, but is not limited to this. For example, any type of performance data such as accompaniment style data (automatic accompaniment data), arpeggio pattern data, etc. It doesn't matter. According to the present invention, performance events that require delicate time management, such as tremolo performance and percussion instrument roll performance, included in automatic performance data, can be naturally reproduced at any performance tempo. Will become clear from the following.
As the external storage device 4, a hard disk, flexible disk or floppy (registered trademark) disk, compact disk (CD-ROM, CD-RAM), magneto-optical disk (MO), ZIP disk, DVD (Digital Versatile Disk), semiconductor memory For example, an appropriate removable external storage medium may be used.

CPU1によって、自動演奏データに基づく自動演奏処理が行われると、再生すべき楽音を指示する演奏データがバス1Bを介して音源回路10に与えられる。音源回路10は与えられた演奏データに基づいて楽音信号を発生可能であり、発生された楽音信号は効果回路11にて適宜効果付与され、アナログ/ディジタル変換後、アンプやスピーカなどを含むサウンドシステム13から発音される。なお、音源回路10は、専用のハードウェアを用いて構成されてもよいし、CPU1によるソフトウェア処理で構成してもよいし、あるいはDSPによるマイクロプログラム処理で構成してもよい。更には、これらの組み合わせで構成してもよい。また、その音源方式は、波形メモリ読み出し方式やFM方式等、従来から知られるいかなる方式を用いてもよい。   When the automatic performance processing based on the automatic performance data is performed by the CPU 1, performance data instructing a musical sound to be reproduced is given to the tone generator circuit 10 via the bus 1B. The tone generator circuit 10 can generate a musical tone signal based on the given performance data. The generated musical tone signal is appropriately given an effect by the effect circuit 11, and after analog / digital conversion, a sound system including an amplifier and a speaker. 13 is pronounced. The tone generator circuit 10 may be configured using dedicated hardware, may be configured by software processing by the CPU 1, or may be configured by microprogram processing by a DSP. Furthermore, you may comprise by these combinations. As the sound source method, any conventionally known method such as a waveform memory reading method or an FM method may be used.

演奏操作子検出回路7は、例えば鍵盤等の操作者が演奏入力を行うための演奏用操作子14が接続され、各演奏用操作子14の押鍵・離鍵操作に応じたスイッチオン・オフを検出する。検出された演奏用操作子14の操作状態はバス1Bを介してCPU1に供給される。操作子検出回路8には、各種設定用の操作子15が接続され、操作者は設定用操作子15を適宜操作して、例えば、自動演奏の演奏テンポ設定等の各種パラメータ設定や、自動演奏の再生指示等を行うことができる。また、表示制御回路9にはディスプレイ16が接続され、ディスプレイ16には、例えば演奏テンポや音色の設定状態や、演奏曲名等を表示できる。   The performance operator detection circuit 7 is connected to a performance operator 14 for an operator such as a keyboard to input a performance, and is switched on / off according to the key pressing / release operation of each performance operator 14. Is detected. The detected operation state of the performance operator 14 is supplied to the CPU 1 via the bus 1B. Various setting operators 15 are connected to the operator detection circuit 8, and the operator appropriately operates the setting operators 15 to set various parameters such as a performance tempo setting for automatic performance, and automatic performance. Playback instructions and the like. Further, a display 16 is connected to the display control circuit 9, and the display 16 can display, for example, the performance tempo and tone color setting status, the performance song name, and the like.

MIDIインターフェース(MIDI I/F)5は、外部に対するMIDI規格データの入出力を行うもので、これを介して外部のMIDI機器17と接続する。自動演奏装置は、再生すべき自動演奏データを、MIDIインターフェース5を介して外部のMIDI機器17から取り込むことも可能である。なお、MIDI I/F5は専用のMIDIインターフェースに限らず、RS−232C、USB(ユニバーサル・シリアル・バス)或はIEEE1394(アイトリプルイー1394)等の汎用のインターフェースを用いてMIDIインターフェースを構成してもよい。その場合、当該インターフェースを介してMIDIメッセージ以外のデータも同時に送受信しうる。   The MIDI interface (MIDI I / F) 5 inputs / outputs MIDI standard data to / from the outside, and is connected to an external MIDI device 17 through the MIDI interface data. The automatic performance apparatus can also take in automatic performance data to be reproduced from an external MIDI device 17 via the MIDI interface 5. The MIDI I / F 5 is not limited to a dedicated MIDI interface, and a MIDI interface is configured by using a general-purpose interface such as RS-232C, USB (Universal Serial Bus) or IEEE 1394 (Eye Triple E 1394). Also good. In that case, data other than the MIDI message can be simultaneously transmitted and received through the interface.

通信インターフェース(通信I/F)6を介してインターネット、LAN或いは電話回線等の通信ネットワーク18に接続され、該通信ネットワーク18上の適宜のサーバコンピュータ19との間で、各種プログラムや各種コンテンツの送受信が行える。当該自動演奏装置において再生する自動演奏データや、或は、CPU1が実行する各種コンピュータグラムは、通信I/F6を介してサーバコンピュータ19からダウンロードすることも可能である。なお、通信I/F6及び通信ネットワーク18は、有線のものに限らず無線でもよく、また双方を備えていてもよい。   Via a communication interface (communication I / F) 6, it is connected to a communication network 18 such as the Internet, a LAN, or a telephone line, and various programs and various contents are transmitted / received to / from an appropriate server computer 19 on the communication network 18. Can be done. The automatic performance data reproduced by the automatic performance device or various computer programs executed by the CPU 1 can be downloaded from the server computer 19 via the communication I / F 6. Note that the communication I / F 6 and the communication network 18 are not limited to wired ones but may be wireless, or may include both.

当該自動演奏装置では、1乃至複数の自動演奏データが記憶されたROM2,RAM3或は外部記憶装置4等のメモリ内から、操作者の選択に従って任意の自動演奏データをRAM3に読み込み、読み出した自動演奏データに基づく自動演奏処理が行われる。自動演奏機能では、操作者によって任意に設定されたテンポに従って曲(自動演奏データ)再生が行われる。なお、こうしたテンポ設定/制御の詳細例については例えば上記の特許文献1に詳しい。   In the automatic performance device, any automatic performance data is read into the RAM 3 according to the operator's selection from the ROM 2, RAM 3 or the external storage device 4 in which one or a plurality of automatic performance data is stored. Automatic performance processing based on performance data is performed. In the automatic performance function, music (automatic performance data) is reproduced according to a tempo arbitrarily set by the operator. A detailed example of such tempo setting / control is detailed in, for example, the above-mentioned Patent Document 1.

図2はこの実施例に係る自動演奏データのデータフォーマットの一例を概念的に示す図である。この自動演奏データは、或る1曲の楽曲全体を再生(自動演奏)するためのデータである。図2(a)において、自動演奏データは、ノートオン、ノートオフやピッチベンド等の各種演奏イベントを表す複数のイベントデータ20のシーケンスによって構成され、エンドデータ21で終了する。なお、自動演奏データは、ROM2,RAM3或は外部記憶装置4等のメモリ上において、時系列のイベントデータが連続した領域に記憶されてもよいし、或は、飛び飛びの記憶領域に散在しているイベントデータを、時系列的に連続するイベントデータとして管理してもよい。つまり、各イベントデータは時系列的に連続するもとして管理されてさえいればよく、メモリ上で連続して記憶されているか否かは問題でない。   FIG. 2 is a diagram conceptually showing an example of the data format of the automatic performance data according to this embodiment. The automatic performance data is data for reproducing (automatic performance) the entire music of a certain music piece. In FIG. 2A, the automatic performance data is composed of a sequence of a plurality of event data 20 representing various performance events such as note-on, note-off, and pitch bend, and ends with end data 21. It should be noted that the automatic performance data may be stored in a continuous area of time series event data on a memory such as the ROM 2, RAM 3 or external storage device 4, or may be scattered in a discrete storage area. The event data may be managed as event data continuous in time series. That is, each event data only needs to be managed as being continuous in time series, and it does not matter whether the event data is continuously stored in the memory.

図2(b)においてイベントデータ20の構成例を示す。イベントデータ20は、大別して、当該イベントの内容を表すイベント情報30と時間情報(時間管理情報)40とから構成される。イベント情報30は、当該イベントの内容(例えば、ノートオン/オフやピッチベンド等)をあらわす「イベント種類」情報31や、例えば当該イベントで発音されるべき音高等の各種パラメータを表す「イベント値」情報32を含む。この発明に係る自動演奏データにおいて、各イベントデータ20は、その「イベント種類」に応じて、その時間管理の方式が異なる。具体的には、イベントデータ20のうち、微妙な時間管理が必要な演奏イベント(例えば、トリル奏法や打楽器のロール演奏、ピッチベンドなど)等の一部のデータについては絶対時間で管理され、その他のデータについては相対時間で管理される。当該イベントデータが相対時間単位/絶対時間のいずれの時間管理方式で管理されるかは、次に述べる時間情報40によって規定される。   FIG. 2B shows a configuration example of the event data 20. The event data 20 is roughly divided into event information 30 representing the contents of the event and time information (time management information) 40. The event information 30 includes “event type” information 31 representing the contents of the event (for example, note on / off, pitch bend, etc.) and “event value” information representing various parameters such as pitches to be pronounced in the event. 32. In the automatic performance data according to the present invention, each event data 20 has a different time management method depending on the “event type”. Specifically, of the event data 20, some data such as performance events that require delicate time management (for example, trill performance, percussion instrument roll performance, pitch bend, etc.) are managed in absolute time. Data is managed in relative time. Whether the event data is managed in the relative time unit / absolute time is defined by time information 40 described below.

時間情報40は、演奏テンポに追従する相対時間単位での時間管理(特許請求の範囲に記載の「第2種の時間管理情報」)に関る「楽譜タイミング」情報41と、演奏テンポに追従しない絶対時間単位での時間管理(特許請求の範囲に記載の「第1種の時間管理情報」)に関る「基準タイミング」情報42、「絶対時間」情報43、「制限タイミング」情報44及び「反復」情報45とからなる。   The time information 40 includes “music score timing” information 41 related to time management (“second type time management information” described in the claims) in relative time units following the performance tempo, and follows the performance tempo. "Reference timing" information 42, "absolute time" information 43, "limit timing" information 44 related to time management in absolute time units ("first type time management information" described in claims), and “Repetition” information 45 is included.

楽譜タイミング情報41は、相対時間で管理されるイベントデータ20について、当該演奏曲の楽譜(自動演奏データ全体)中における当該イベントを発生すべきタイミングの時間的位置を、クロック(テンポクロック)を計測単位とする相対時間情報で表現したデータである。このクロックは、例えば四分音符の480分の1が1クロックに対応されるもので、そのクロック数によって、例えば4分音符の拍数や、或は、小節数等のような、当該イベントの曲中における時間位置を表現できる。相対時間情報によって管理されるイベントデータ20は、設定されている演奏テンポに追従して、当該データを読み出す実時間軸上の時間位置が可変(伸縮)する。なお、この実施例において、絶対時間で管理すべきイベントデータ20については、この楽譜タイミング情報41は「無効」とされる。   The score timing information 41 measures the time position of the timing at which the event should occur in the score of the performance piece (the entire automatic performance data) for the event data 20 managed in relative time, and measures the clock (tempo clock). Data expressed in relative time information as a unit. In this clock, for example, one quarter of a quarter note corresponds to one clock, and depending on the number of clocks, for example, the number of beats of a quarter note or the number of measures, etc. The time position in the song can be expressed. The event data 20 managed by the relative time information follows the set performance tempo, and the time position on the real time axis from which the data is read is variable (stretched). In this embodiment, for the event data 20 to be managed in absolute time, the score timing information 41 is “invalid”.

基準タイミング情報42は、絶対時間で管理されるイベントデータ20について、次に述べる絶対時間情報43の計時基準位置となる時間位置を、前記楽譜タイミング情報41と同様な相対時間時間情報で(つまり拍単位で)表現したデータである。なお、この実施例において相対時間で管理すべきイベントデータ20については、この基準タイミング情報42は「無効」とされる。   The reference timing information 42 is the relative time / time information similar to the score timing information 41 (that is, the beat time) that is the time reference position of the absolute time information 43 described below for the event data 20 managed in absolute time. Data expressed in units. In this embodiment, the reference timing information 42 is “invalid” for the event data 20 to be managed in relative time.

絶対時間情報43は、絶対時間で管理されるイベントデータ20において、当該イベントデータの発生タイミングを、上述の基準タイミング情報42が表す位置を基準にして計時した実時間によって表しており、例えばミリ秒(ms)単位で記述される。従って絶対時間情報43によって示されるイベント発生タイミングは、前記基準位置からみた時間軸上の位置が演奏テンポによって伸縮変化しない。従って、絶対時間情報で管理されるイベントデータ20では、演奏テンポに関らず前記基準位置から計時した絶対時間に従ってデータが読み出されることで、当該イベントの再生にかかる実質的な時間が演奏テンポに関らず伸縮されない。よって、トリルなど微妙な時間管理が必要な情報を、演奏テンポに関らず、望ましい状態で再生できる。なお、この実施例において相対時間で管理すべきイベントデータ20については、この絶対時間情報43は「無効」とされる。   The absolute time information 43 represents the generation timing of the event data in the event data 20 managed by the absolute time by the actual time measured with reference to the position represented by the above-described reference timing information 42, for example, milliseconds. It is described in units of (ms). Therefore, in the event occurrence timing indicated by the absolute time information 43, the position on the time axis as viewed from the reference position does not expand or contract depending on the performance tempo. Therefore, in the event data 20 managed by the absolute time information, the data is read according to the absolute time measured from the reference position regardless of the performance tempo, so that the substantial time required to reproduce the event becomes the performance tempo. Regardless, it is not stretched. Therefore, information that requires delicate time management such as trill can be reproduced in a desired state regardless of the performance tempo. In this embodiment, the absolute time information 43 is “invalid” for the event data 20 to be managed in relative time.

制限タイミング情報44は、絶対時間で管理されるイベントデータ20において設定される情報であって、当該イベントを最低限再生し終えなければならないタイミングを、時間的に後ろに位置する相対時間管理されるイベントデータとの関係によって、規定するデータであって、相対時間情報で記述される。演奏テンポの設定速度が速められた場合には、本来ならば当該絶対時間で管理されるイベントデータよりも時間的に後で再生されるべき相対時間で管理されるイベントデータが、先に(当該絶対時間で管理されるイベントデータを再生し終える前に)来て、再生順序が逆転してしまう恐れがある。制限タイミング情報44は、そのような不都合を回避するために設定されるものである。   The limit timing information 44 is information set in the event data 20 managed in absolute time, and is managed in relative time that is located behind the timing at which the event must be reproduced at a minimum. This data is defined by the relationship with the event data, and is described by relative time information. When the performance tempo setting speed is increased, the event data managed by the relative time to be reproduced later in time than the event data originally managed by the absolute time is first (the relevant Before the event data managed in absolute time is played back), the playback order may be reversed. The limit timing information 44 is set to avoid such inconvenience.

反復情報45は、絶対時間で管理されるイベントデータ20において設定される情報であって、当該反復情報45が設定されたイベントデータ20を、上記制限タイミング情報44によって規定された制限位置に到るまで反復再生させるデータである。反復情報45は、対応するイベントデータ20に対して、反復先頭部、反復途中部、反復末尾部、乃至、反復先頭/末尾部といった反復演奏中の順序を定めるステータスを設定することで、1乃至複数の反復すべきイベントデータを所定の順序で反復再生させることを可能とする。この反復情報45は、例えばトレモロ演奏やトリル演奏等のように或る演奏パターンを繰り返す演奏の記述に適用される。反復情報45によって反復再生時間をフレキシブルにすることで、演奏テンポに応じた反復再生時間枠の伸縮にも自在に対応でき、且つ、反復すべき演奏パターンの1順分に必要なイベントデータのみ用意すればよいので、データ量の削減にもなるという利点がある。   The repetition information 45 is information set in the event data 20 managed in absolute time, and the event data 20 in which the repetition information 45 is set reaches the restriction position defined by the restriction timing information 44. The data is repeatedly reproduced until The repetitive information 45 sets a status for determining the order during repetitive performance, such as a repetitive head portion, a repetitive middle portion, a repetitive end portion, or a repetitive head / end portion, with respect to the corresponding event data 20. A plurality of event data to be repeated can be repeatedly reproduced in a predetermined order. The repetition information 45 is applied to a description of a performance that repeats a certain performance pattern, such as a tremolo performance or a trill performance. By making the repetitive playback time flexible by the repetitive information 45, it is possible to freely adapt to the expansion and contraction of the repetitive playback time frame according to the performance tempo, and only prepare event data necessary for one order of the performance pattern to be repeated. This has the advantage of reducing the amount of data.

図2に示すデータフォーマットからなるイベントデータの具体的な再生例を図3及び図4を参照して説明する。図3は、トリル効果が付与された楽音の再生イメージを表す概念図である。(a)に示す帯状の枠50は当該楽音の再生を表し、図において、枠50の左端がノートオン(発音開始)、右端がノートオフ(発音終了)を示す。枠50内の折れ線51は、ピッチベンドイベントによる音高の連続的な上下変化(トリル効果)を表す。枠50の左右方向の長さは、楽音再生の時間(絶対時間)を表し、(a)では或るテンポXで再生した場合の再生時間に相当するものとする。これを演奏テンポを2倍に速めて再生した場合、従来の相対時間管理方式では、(b)に示すように再生時間が2分の1に短縮されると、折れ線51で示すトリルによって音高が上下する周期も2分の1に縮んで不自然に高速なトリル音が発音されてしまっていが、この発明に従えば(c)に示すように再生時間が2分の1に短縮されても、折れ線51で示すトリルの音高上下の周期はテンポXと同じであり、自然なトリル音が発音される。これを実現するための自動演奏データの具体的な設定例を図4に示す。   A specific reproduction example of event data having the data format shown in FIG. 2 will be described with reference to FIGS. FIG. 3 is a conceptual diagram showing a reproduction image of a musical sound to which a toll effect is given. A band-shaped frame 50 shown in (a) represents the reproduction of the musical sound. In the figure, the left end of the frame 50 indicates note-on (sounding start) and the right end indicates note-off (sounding end). A polygonal line 51 in the frame 50 represents a continuous vertical change (Trill effect) due to a pitch bend event. The length of the frame 50 in the left-right direction represents a musical sound reproduction time (absolute time), and (a) corresponds to the reproduction time when reproduction is performed at a certain tempo X. When this is played back at twice the performance tempo, in the conventional relative time management method, if the playback time is reduced by half as shown in (b), the pitch is increased by the trill shown by the broken line 51. The period in which the signal rises and falls is also reduced by a factor of 2 and an unnaturally fast trill sound is produced. However, according to the present invention, as shown in FIG. However, the pitch of the pitch of the trill indicated by the broken line 51 is the same as that of the tempo X, and a natural trill tone is generated. A specific setting example of automatic performance data for realizing this is shown in FIG.

図4(b)は、図3に示すようなトリル演奏を再生させるためのイベントデータのシーケンスと各データの設定例を示し、(a)に、これらイベントデータの時間軸t上における読み出しイメージを示す。図4に示すように、イベント種類情報31として「ノートオン」が設定されたイベントデータ60には、その他パラメータ(イベント値情報32)として、音高データ(ここでは音名「C4」)や、ベロシティデータ等が設定されている。このイベントは相対時間で管理されるデータなので、楽譜タイミング情報41として、ノートオンイベントの発生タイミングが相対時間情報(図において「M小節、N拍、Oクロック(clk)」で示す)が設定され、絶対時間単位の時間管理情報(符号42〜45)はすべて無効である。イベントデータ61〜64(図において、時間的に先行するイベントから順次「1〜4」の番号を付与する)は、イベント種類として「ピッチベンド」を指示するデータで、これらによってトリル奏法を実現する。トリル奏法は、上述した通り微妙な時間管理を要する(再生時間が伸縮すると既述の不都合が生じる)ため、これらピッチベンドイベントデータ61〜64は絶対時間で管理される。従って、各データ61〜64では、楽譜タイミング情報41は無効とされ、且つ、当該イベントの基準タイミング情報42として、先の「ノートオン」イベント60の相対時間位置(「M小節、N拍、Oclk」)が設定されるとともに、各々のイベントの発生タイミングを示す絶対時間情報43が、該基準タイミング情報42(「M小節、N拍、Oclk」)から計時した実時間(図においては便宜上、「a」〜「d」msで夫々示す)で表現されている。   FIG. 4B shows a sequence of event data and a setting example of each data for reproducing the trill performance as shown in FIG. 3, and FIG. 4A shows a read image of the event data on the time axis t. Show. As shown in FIG. 4, the event data 60 in which “note on” is set as the event type information 31 includes pitch data (pitch name “C4” in this case), other parameters (event value information 32), Velocity data etc. are set. Since this event is data managed in relative time, the occurrence timing of the note-on event (indicated by “M measure, N beat, O clock (clk)” in the figure) is set as the score timing information 41. The time management information (reference numerals 42 to 45) in absolute time units is all invalid. The event data 61 to 64 (in the figure, the numbers “1 to 4” are sequentially given from the event that precedes in time) are data indicating “pitch bend” as the event type. As described above, the trill playing method requires delicate time management (the above-mentioned inconvenience occurs when the reproduction time expands and contracts), and thus the pitch bend event data 61 to 64 are managed in absolute time. Accordingly, in each of the data 61 to 64, the score timing information 41 is invalid, and the relative time position (“M measure, N beat, Oclk” of the previous “note-on” event 60 is used as the reference timing information 42 of the event. )) Is set, and the absolute time information 43 indicating the occurrence timing of each event is the actual time (for convenience in the drawing, “M measure, N beat, Oclk”) measured from the reference timing information 42 (“M measure, N beat, Oclk”). a ”to“ d ”ms, respectively).

また、各ピッチベンドイベント61〜64において、相対時間で記述された制限タイミング情報44が設定される。ピッチベンドイベント61〜64は、図4(a)において符号Rで示す区間において反復再生される。ピッチベンドイベント61〜64には、反復情報45によって、各々、反復先頭部、反復途中部、反復末尾部という反復演奏中の再生順序が定められ、また、イベント値情報32として、各イベント毎の音高変化の度合いが、セント(cent)単位で記述されている。なお、ピッチベンドの反復再生区間の末尾(制限タイミングに達した位置)にはピッチベンド=0centを示すデータが自動挿入される。「ノートオフ」を指示するイベントデータ65は、相対時間で管理されるデータであり、楽譜タイミング情報41として、ノートオフイベントの発生タイミングが相対時間情報(図では「M小節、N拍、Pclk」として示す)が設定され、絶対時間に関する情報(符号42〜45)はすべて無効である。   In each of the pitch bend events 61 to 64, the limit timing information 44 described in relative time is set. The pitch bend events 61 to 64 are repeatedly reproduced in the section indicated by the symbol R in FIG. In the pitch bend events 61 to 64, the repetitive information 45 determines the reproduction order during the repetitive performance, ie, the repetitive head portion, the repetitive middle portion, and the repetitive end portion. The degree of high change is described in cents. It should be noted that data indicating pitch bend = 0 cent is automatically inserted at the end of the pitch bend repeated playback section (position where the limit timing is reached). The event data 65 instructing “note off” is data managed in relative time. As the score timing information 41, the occurrence timing of the note off event is relative time information (“M measure, N beat, Pclk” in the figure). Is set), and information on absolute time (reference numerals 42 to 45) is all invalid.

次に図5のフローチャートを参照して、図2及び図4に示すイベントデータの読み出し処理の一例について説明する。当該フローは、自動演奏データのスタート(曲頭)から始まり、エンド(曲終わり)に到るまで、図に示す「A」部間をループする処理を表すもので、図6に示す時間管理処理による自動演奏データの再生(自動演奏処理)に並行して実行される。ステップS1において、自動演奏データ(図2参照)のイベントデータを時系列系な順序に従って順次読み出す。すなわち、1順目の処理では、曲頭のイベントが読み出され、次回処理以降は、順次後続のイベントを読み出す。ステップS2では、読み出されたイベントが絶対時間で管理されるイベントか否かを、例えば楽譜タイミング情報41が有効か無効かによって、判別する。相対時間で管理されるイベントであれば(ステップS2のno)、ステップS3において、当該イベントの楽譜タイミング情報43と、自動演奏装置において現在設定されている演奏テンポに基づき、当該イベントを発生すべきタイミング(再生時刻)を、曲頭から何msかという実時間(絶対時間)の時間情報によって決定することで、相対時間で管理されるイベントの再生タイミングを実時間での表現に変換する。これにより、相対時間で管理されるイベントと絶対時間で管理されたイベントとが混在する自動演奏データの再生を、絶対時間ベースで行えるようにする。そして、ステップS4において、ステップS2で決定した再生時刻と当該イベントデータとを、適宜のメモリ(例えばRAM3)内の所定のバッファ領域「キュー」に格納して、ステップS6において前記キューの空き領域を確認して、空きがあれば(ステップS6のyes)、処理はステップS1に戻る。なお、読み出されたイベントがエンドデータ(図2参照)であれば、これは相対時間で管理されるイベントであるから、上記ステップS3,S4の処理の後、当該イベント読み出し処理が終了される(ステップS5のyes)。   Next, an example of the event data reading process shown in FIGS. 2 and 4 will be described with reference to the flowchart of FIG. This flow represents a process of looping between the “A” portions shown in the figure from the start (start of song) to the end (end of song) of the automatic performance data, and the time management process shown in FIG. This is executed in parallel with the reproduction of automatic performance data (automatic performance processing). In step S1, event data of automatic performance data (see FIG. 2) is sequentially read out in a time-series order. That is, in the first process, the event at the beginning of the song is read out, and subsequent events are read out sequentially after the next process. In step S2, it is determined whether or not the read event is an event managed in absolute time, for example, depending on whether the score timing information 41 is valid or invalid. If the event is managed in relative time (no in step S2), the event should be generated in step S3 based on the score timing information 43 of the event and the performance tempo currently set in the automatic performance device. By determining the timing (reproduction time) based on the time information of the actual time (absolute time) of how many ms from the beginning of the song, the reproduction timing of the event managed in the relative time is converted into a representation in real time. As a result, it is possible to reproduce automatic performance data in which events managed in relative time and events managed in absolute time coexist on an absolute time basis. In step S4, the reproduction time determined in step S2 and the event data are stored in a predetermined buffer area “queue” in an appropriate memory (for example, RAM 3). In step S6, the free area of the queue is set. If there is a vacancy (Yes in step S6), the process returns to step S1. If the read event is end data (see FIG. 2), this is an event managed by relative time, and thus the event read processing is terminated after the processing of steps S3 and S4. (Yes in step S5).

ステップS2において読み出されたイベントデータが絶対時間で管理されるイベントであれば(ステップS2のyes)、ステップS7において、当該イベントの基準タイミング情報42と現在設定されている演奏テンポに基づき、当該イベントの基準タイミング情報が表す時間位置を実時間に変換し、前記実時間で表された基準タイミングの位置から、当該イベントの絶対時間情報43に設定された絶対時間分を計時した時刻を、当該イベントデータが再生されるべきタイミング(再生時刻)として決定する。この再生時刻もまた、実時間で表された時間情報である。ステップS8では、当該イベントの制限タイミング情報44と現在設定されている演奏テンポに基づき、当該イベントの制限タイミング情報が表す制限位置を実時間に変換することで、当該イベントの再生を終了すべきタイミング(制限時刻)を決定する。   If the event data read in step S2 is an event managed in absolute time (yes in step S2), in step S7, based on the reference timing information 42 of the event and the currently set performance tempo, The time position represented by the reference timing information of the event is converted into real time, and the time obtained by measuring the absolute time set in the absolute time information 43 of the event from the position of the reference timing represented by the real time, It is determined as the timing (reproduction time) at which the event data should be reproduced. This reproduction time is also time information expressed in real time. In step S8, based on the restriction timing information 44 of the event and the currently set performance tempo, the restriction position represented by the restriction timing information of the event is converted to real time, thereby reproducing the event. (Time limit) is determined.

ステップS9において前記ステップS7とステップS8にて決定した再生時刻と制限時刻とを比較して、制限時刻のほうが再生時刻よりも時間的に早い場合(再生時刻>制限時刻)、ステップS10において制限時刻を、当該イベントの再生時刻として設定する。ステップS7で決定された再生時刻の時間位置(基準タイミングからみた位置)は演奏テンポによって変化しないが、ステップS8で決定された制限時刻の時間位置(基準タイミングからみた位置)は演奏テンポに応じて可変である。制限時刻は、絶対時間で管理されるイベントが再生し終える前に後続の相対時間で管理されるイベントの再生タミングが先に来てしまわないよう、イベントの再生終了時間を規定する情報であるから、制限時刻が再生時刻に先行しているならば、イベント再生順序逆転を防ぐべく、制限時刻を当該イベントの再生時刻として設定しなければならない。制限時刻が再生時刻よりも後にあれば、そのまま、ステップS7で決定した再生時刻を当該イベントの再生時刻として設定してよい。   In step S9, the reproduction time determined in steps S7 and S8 is compared with the limited time. If the limited time is earlier than the reproduction time (reproduction time> limited time), the limited time is determined in step S10. Is set as the playback time of the event. The time position of the reproduction time determined in step S7 (position viewed from the reference timing) does not change depending on the performance tempo, but the time position of the time limit determined in step S8 (position viewed from the reference timing) depends on the performance tempo. It is variable. The time limit is information that defines the playback end time of the event so that the playback timing of the event managed in the subsequent relative time does not come before the event managed in absolute time finishes playing. If the time limit precedes the playback time, the time limit must be set as the playback time of the event in order to prevent reversal of the event playback order. If the time limit is after the playback time, the playback time determined in step S7 may be set as the playback time of the event.

そしてステップS11において、決定された再生時刻と当該イベントデータを前記バッファ領域「キュー」に格納する。更に、当該イベントデータに反復情報45のステータス「反復先頭」が設定されていれば(ステップS121)、図7を参照して後述するような反復処理を行う(ステップS13)。この反復処理は、反復すべきイベントについて反復末尾のイベントまでをまとめて、再生時刻の決定を行うために実行する。
再生時刻とイベントデータをバッファ領域「キュー」に格納した後、ステップS6にてキューの空き領域を確認する。キューに空きがあるうちは、上記処理を繰り返して、キュー内に、イベントデータとその再生時刻を格納してゆく。バッファ領域「キュー」に格納されたイベントデータは、図6の時間管理処理の実行によって再生機会が訪れるのを待機する。
In step S11, the determined reproduction time and the event data are stored in the buffer area “queue”. Furthermore, if the status “repetition head” of the repetition information 45 is set in the event data (step S121), an iterative process as described later with reference to FIG. 7 is performed (step S13). This iterative process is executed in order to determine the playback time by collecting up to the event at the end of the iteration for the event to be repeated.
After the reproduction time and event data are stored in the buffer area “queue”, an empty area of the queue is confirmed in step S6. While the queue is empty, the above process is repeated, and the event data and its reproduction time are stored in the queue. The event data stored in the buffer area “queue” waits for a playback opportunity to come by executing the time management process of FIG.

バッファ領域「キュー」に空き領域がなくなった場合は、ステップS6をnoに分岐して、当該イベント読み出し処理の継続を一時的に留めて、キューに空き領域ができるのを待つ(つまり、キュー内のイベントが再生されるのを待つ)。   If there is no more free space in the buffer area “queue”, step S6 is branched to “no”, and the continuation of the event reading process is temporarily stopped to wait for the free space to be created in the queue (that is, in the queue). Wait for the event to play).

図6に示す時間管理処理は、所定の一定時間(例えば1ms)毎に起動されるものであって、当該処理が起動する毎に、キューに格納されたイベントの再生機会を計るためのデータ再生用のタイマ(再生時刻)を更新して、自動演奏開始時からの時間経過を実時間(絶対時間)で計時する。そして、前記所定バッファ領域「キュー」内に格納されているイベントデータのうち前記タイマが計時する再生時刻に達したものから順にそのイベントの再生処理を行ってゆく。これにより、前記キューに格納されたイベントデータ群を、時系列的な順序に従って、絶対時間ベースで(つまりミリ秒単位で)再生処理することができる。   The time management process shown in FIG. 6 is started every predetermined time (for example, 1 ms), and every time the process starts, data playback for measuring the playback opportunity of events stored in the queue is performed. The timer (reproduction time) is updated, and the elapsed time from the start of automatic performance is measured in real time (absolute time). Then, event data stored in the predetermined buffer area “queue” are sequentially reproduced from the event data that has reached the reproduction time counted by the timer. As a result, the event data group stored in the queue can be played back on an absolute time basis (that is, in milliseconds) according to a time-series order.

図5のステップS13の反復処理の一例を図7のフローを参照して説明する。ステップS20において、反復すべきイベントデータのすべて、つまり「反復末尾」までの必要なイベントデータを全て読み出して、図5のステップS6と同様な処理により、当該反復すべきイベントデータの各々の再生時刻を決定し、各イベントデータと、それらの再生時刻をキューに格納する。そして、ステップS21において、「反復末尾」のイベントデータの再生時刻が、制限タイミングに基づく制限時刻よりも先行している(再生時刻<制限時刻)ならば、処理をステップS22に進める。なお、図4(b)に例示したように、反復すべき各イベントデータには、同じ制限タイミング情報44が設定されているので、これら各イベントデータについての制限時刻は同時刻である。ステップS22において、「反復末尾」のイベントデータの再生時刻を、次の反復再生のための基準タイミングとして設定し、この基準タイミングに基づいて、再び、各反復すべきイベントデータの再生時刻を決定して、キューに格納する。以降、ステップS21とステップS22の処理を繰り返して、反復可能な限りイベントデータの反復再生が行えるよう、イベントデータと再生時刻をキューに格納する。なお、反復すべき各イベントデータとそれらの再生時刻をキューに格納する都度、キューに空き領域が残っているかどうか確認し、空き領域がなければ、処理をステップS21に戻さずに、キューに空きができるまで待機するものとする。こうして、反復再生の最後部の反復末尾のイベントデータの再生時刻が、制限時刻を超えた時点で、当該反復処理を抜ける。これにより、演奏テンポに応じて伸縮する反復再生可能な時間枠に自在に対応できる。   An example of the iterative process in step S13 in FIG. 5 will be described with reference to the flow in FIG. In step S20, all event data to be repeated, that is, all necessary event data up to the “repetition end” are read out, and the reproduction time of each event data to be repeated is processed in the same manner as in step S6 in FIG. Each event data and their reproduction time are stored in a queue. In step S21, if the reproduction time of the “repetition end” event data precedes the restriction time based on the restriction timing (reproduction time <restriction time), the process proceeds to step S22. Note that, as illustrated in FIG. 4B, the same time limit information 44 is set for each event data to be repeated, and therefore the time limit for these event data is the same time. In step S22, the reproduction time of the event data at the “repetition end” is set as a reference timing for the next repetition reproduction, and the reproduction time of each event data to be repeated is determined again based on this reference timing. And store it in the queue. Thereafter, the processing of step S21 and step S22 is repeated, and the event data and the reproduction time are stored in the queue so that the event data can be repeatedly reproduced as much as possible. Each time the event data to be repeated and their reproduction times are stored in the queue, it is checked whether or not there is a free area remaining in the queue. If there is no free area, the process does not return to step S21, but is free in the queue. We will wait until we can. In this way, when the reproduction time of the event data at the end of the repetition at the end of the repetition reproduction exceeds the time limit, the repetition processing is exited. Thereby, it is possible to freely cope with a time frame that can be repeatedly played back and forth according to the performance tempo.

なお、上述の例では、反復再生されるイベントの反復終了タイミングは、制限タイミングによって規定されるものとしたが、これに限らず、制限タイミングとは別に、反復終了タイミングを設定するデータを更に備えることで、それに基づき反復終了のタイミングを規定できるようにしてもよい。また、反復情報45は、反復先頭、反復途中、反復末尾のように複数種類のステータスを有することで、反復再生の順序を識別できるものを例示したが、これに限らず、格別の識別情報を含まずに、時系列的に連続して管理される反復イベントのうちの、どの時間位置にあるイベントであるかに応じて、反復先頭、途中、末尾を識別できるようにしても良い。   In the above example, the repeated end timing of an event that is repeatedly played is defined by the limit timing. However, the present invention is not limited to this, and further includes data for setting the repeat end timing separately from the limited timing. Thus, it may be possible to define the end timing of the iteration based on this. In addition, the repetition information 45 exemplifies information that can identify the order of repeated reproduction by having a plurality of types of statuses such as the beginning of the repetition, the middle of the repetition, and the end of the repetition, but is not limited thereto. It is also possible to identify the beginning, middle, and end of the iteration depending on which time position among the repeated events managed continuously in time series without being included.

なお、図5に例示した自動演奏データの読み出し処理例では、自動演奏データの再生中(所定時間毎に時間管理処理が起動されつつ)に、イベントデータを順次読み出し、読み出したイベントデータについて再生タイミング(再生時刻)を決定してゆく(ステップS3、ステップS7)例を示したが、これに限らず、自動演奏データの再生処理を実行する前に、1曲全体のイベントデータの再生タイミングを全て予め決定してストアしておき、データ再生時に、それを読み出すだけとしても差し支えない。   In the example of the automatic performance data reading process illustrated in FIG. 5, the event data is sequentially read during the reproduction of the automatic performance data (while the time management process is activated every predetermined time), and the reproduction timing of the read event data is reproduced. The example of determining (playback time) is shown (steps S3 and S7). However, the present invention is not limited to this, and all playback timings of the event data of one song are not limited to this before executing the playback processing of automatic performance data. It may be determined and stored in advance and only read out at the time of data reproduction.

また、上述の実施例では、自動演奏データの再生に関して、相対時間管理のイベントも絶対時間に変換することで、全体として絶対時間で(ミリ秒単位で)再生タイミングを管理する例を示したが、これとは逆に、絶対時間管理のイベントを相対時間に変換して、全体として相対時間で再生タイミングを管理するようにしても差し支えない。   Further, in the above-described embodiment, an example has been shown in which the reproduction timing is managed in absolute time (in milliseconds) as a whole by converting the relative time management event into absolute time for the reproduction of the automatic performance data. On the contrary, the absolute time management event may be converted into the relative time, and the reproduction timing may be managed in the relative time as a whole.

なお、上述の図2又は図4に例示した自動演奏データのデータフォーマットでは、全てのイベントデータが相対時間での時間管理に関する情報と、絶対時間での時間管理に関する情報との双方を有し、それらが有効か無効かによって、時間管理方式が区別されるものを示したが、データフォーマットは上記に限定されない。例えば、イベントデータ毎に、絶対時間管理か相対時間管理かを識別するための情報を与えて、絶対時間管理のイベントについては絶対時間の時間管理に関する情報のみを持たせ、相対時間管理のイベントについては相対時間の時間管理に関する情報のみを持たせるようにしても良い。   In the data format of the automatic performance data illustrated in FIG. 2 or FIG. 4 described above, all event data has both information related to time management in relative time and information related to time management in absolute time. Although the time management method is distinguished depending on whether they are valid or invalid, the data format is not limited to the above. For example, for each event data, information for identifying whether absolute time management or relative time management is given. For absolute time management events, only information related to absolute time management is provided. May have only information related to time management of relative time.

なお、上述したような相対時間管理と絶対時間管理が混在した自動演奏データを、全て相対時間管理の自動演奏データ(例えばSMF等)に変換して、単純に相対時間方式で管理される自動演奏データとして利用できるようにしてもよい。この場合は、データを変換する際に任意のテンポを設定し、当該設定されたテンポを、変換後の相対時間管理の自動演奏データ中に推奨テンポとして埋め込んでおくのが、適切なデータ再生のために望ましい。   It should be noted that automatic performance data in which relative time management and absolute time management are mixed as described above are all converted into automatic performance data (for example, SMF) of relative time management, and automatic performance managed simply by the relative time method. It may be made available as data. In this case, an arbitrary tempo is set when data is converted, and the set tempo is embedded as a recommended tempo in the converted automatic performance data for relative time management. Desirable for.

なお、上述の実施例では、この発明を装置の発明として実施して、自動演奏装置に適用する例を示したが、この発明は、これに限らず、自動演奏装置、その他自動演奏機能を有する電子音楽装置(電子楽器やパーソナルコンピュータを含む)を制御するためのコンピュータプログラムとして構成し、実施することも可能である。   In the above-described embodiments, the present invention is implemented as an apparatus invention and applied to an automatic performance apparatus. However, the present invention is not limited thereto, and has an automatic performance apparatus and other automatic performance functions. The present invention can be configured and implemented as a computer program for controlling an electronic music apparatus (including an electronic musical instrument and a personal computer).

この発明の一実施例に係る自動演奏装置のハードウェア構成ブロック図。1 is a hardware configuration block diagram of an automatic performance device according to an embodiment of the present invention. 同実施例に係る自動演奏データのデータフォーマットの構成例を示す図。The figure which shows the structural example of the data format of the automatic performance data based on the Example. 同実施例に係る自動演奏データの再生イメージ例を示す図であって、(a)は或るテンポXでの再生、(b)はそのテンポを2倍に速めた再生イメージであって、従来の相対時間管理方式による場合、(c)はテンポを2倍に速めた、本発明に従う時間管理方式による再生イメージ。2A and 2B are diagrams illustrating an example of a reproduction image of automatic performance data according to the embodiment, in which FIG. 1A is a reproduction at a certain tempo X, and FIG. 2B is a reproduction image in which the tempo is doubled. (C) is a reproduction image by the time management method according to the present invention in which the tempo is doubled. 図3のデータ再生を実現する演奏データの具体的な設定例。FIG. 4 is a specific setting example of performance data for realizing data reproduction in FIG. 3. FIG. 同実施例に係る自動演奏装置のイベント読み出し処理の一例を示すフロー。The flow which shows an example of the event read-out process of the automatic performance apparatus which concerns on the same Example. 同実施例に係る時間管理処理の一例を示すフロー。The flow which shows an example of the time management process which concerns on the Example. 同実施例に係るイベント反復処理の一例を示すフロー。The flow which shows an example of the event repetition process which concerns on the Example.

符号の説明Explanation of symbols

1 CPU、2 ROM、3 RAM、4 外部記憶装置、5 MIDIインターフェース(MIDI I/F)、6 通信インターフェース(通信I/F)、7 演奏操作子用検出回路、8 設定操作子用検出回路、9 表示回路、10 音源回路、11 効果回路、12 タイマ、13 サウンドシステム、20 イベントデータ、エンドデータ、30 イベント情報、40 時間情報(時間管理情報)、41 楽譜タイミング情報(相対時間情報)、42 基準タイミング情報、43 絶対時間情報、44 制限タイミング情報、45 反復情報



1

1 CPU, 2 ROM, 3 RAM, 4 external storage device, 5 MIDI interface (MIDI I / F), 6 communication interface (communication I / F), 7 detection operator detection circuit, 8 setting operation detector detection circuit, 9 Display Circuit, 10 Sound Source Circuit, 11 Effect Circuit, 12 Timer, 13 Sound System, 20 Event Data, End Data, 30 Event Information, 40 Time Information (Time Management Information), 41 Score Timing Information (Relative Time Information), 42 Reference timing information, 43 Absolute time information, 44 Limit timing information, 45 Repetition information



1

Claims (6)

演奏イベントを指示するイベントデータと該イベントデータを実行すべき時刻を管理するための時間管理情報とを含むデータのシーケンスからなる演奏データであって、前記イベントデータのうちの一部に対応する前記時間管理情報は演奏テンポに追従しない絶対時間単位で記述された第1種の時間管理情報からなり、それ以外の前記イベントデータに対応する前記時間管理情報は演奏テンポに追従する相対時間単位で記述された第2種の時間管理情報からなるものを供給する演奏データ供給手段と、
前記時間管理情報に基づき対応するイベントデータを実行すべき再生時刻を決定するものであって、前記第2種の時間管理情報に対応する前記イベントデータの再生時刻は、対応する時間管理情報と演奏テンポとに基づき決定し、一方、前記第1種の時間管理情報に対応する前記イベントデータの再生時刻は、演奏テンポに追従せずに、対応する時間管理情報に従って決定する再生時刻決定手段と
を備える自動演奏装置。
Performance data comprising a sequence of data including event data indicating a performance event and time management information for managing a time at which the event data is to be executed, the data corresponding to a part of the event data The time management information includes the first type of time management information described in absolute time units that do not follow the performance tempo, and the other time management information corresponding to the event data is described in relative time units that follow the performance tempo. Performance data supply means for supplying the second type of time management information,
The reproduction time for executing the corresponding event data is determined based on the time management information, and the reproduction time of the event data corresponding to the second type of time management information includes the corresponding time management information and the performance. On the other hand, reproduction time determination means for determining the reproduction time of the event data corresponding to the first type time management information according to the corresponding time management information without following the performance tempo. Automatic performance device provided.
前記第1種の時間管理情報には、対応するイベントデータの再生制限時刻を前記相対時間単位で記述する制限タイミング情報が付属されており、
前記再生時刻決定手段は、前記第1種の時間管理情報に対応するイベントデータの前記再生制限時刻を前記制限タイミング情報と演奏テンポとに基づき決定する手段を含み、当該第1種の時間管理情報に対応するイベントデータの再生時刻を該決定された再生制限時刻を越えないように決定すること特徴とする請求項1に記載の自動演奏装置。
The time management information of the first type is attached with restriction timing information describing the reproduction restriction time of the corresponding event data in the relative time unit,
The reproduction time determining means includes means for determining the reproduction restriction time of event data corresponding to the first type time management information based on the restriction timing information and a performance tempo, and the first type time management information 2. The automatic performance apparatus according to claim 1, wherein the reproduction time of the event data corresponding to is determined so as not to exceed the determined reproduction time limit.
前記第1種の時間管理情報に対応するイベントデータには反復再生を指示する反復情報が付属されており、
前記演奏データ供給手段から供給されるイベントデータが前記反復情報を含む場合、該イベントデータが反復再生されることを特徴とする請求項1又は2に記載の自動演奏装置。
The event data corresponding to the first type of time management information is accompanied by repetition information instructing repeated reproduction,
3. The automatic performance apparatus according to claim 1, wherein when the event data supplied from the performance data supply means includes the repetitive information, the event data is repeatedly reproduced.
コンピュータにおいて、
演奏イベントを指示するイベントデータと該イベントデータを実行すべき時刻を管理するための時間管理情報とを含むデータのシーケンスからなる演奏データであって、前記イベントデータのうちの一部に対応する前記時間管理情報は演奏テンポに追従しない絶対時間単位で記述された第1種の時間管理情報からなり、それ以外の前記イベントデータに対応する前記時間管理情報は演奏テンポに追従する相対時間単位で記述された第2種の時間管理情報からなるものを供給する手順と、
前記時間管理情報に基づき対応するイベントデータを実行すべき再生時刻を決定するものであって、前記第2種の時間管理情報に対応する前記イベントデータの再生時刻は、対応する時間管理情報と演奏テンポとに基づき決定し、一方、前記第1種の時間管理情報に対応する前記イベントデータの再生時刻は、演奏テンポに追従せずに、対応する時間管理情報に従って決定する手順と
を実行させるプログラム。
In the computer,
Performance data comprising a sequence of data including event data indicating a performance event and time management information for managing a time at which the event data is to be executed, the data corresponding to a part of the event data The time management information includes the first type of time management information described in absolute time units that do not follow the performance tempo, and the other time management information corresponding to the event data is described in relative time units that follow the performance tempo. A procedure for supplying the second type of time management information,
The reproduction time for executing the corresponding event data is determined based on the time management information, and the reproduction time of the event data corresponding to the second type of time management information includes the corresponding time management information and the performance. On the other hand, a program for determining a reproduction time of the event data corresponding to the first type time management information without following the performance tempo and executing a procedure for determining according to the corresponding time management information .
演奏イベントを指示するイベントデータと、該イベントデータに付与され、対応するイベントデータを実行すべき時刻を管理するための時間管理情報とを含むデータのシーケンスからなり、前記イベントデータのうちの一部に対応する前記時間管理情報は演奏テンポに追従しない絶対時間単位で記述された第1種の時間管理情報からなり、それ以外の前記イベントデータに対応する前記時間管理情報は演奏テンポに追従する相対時間単位で記述された第2種の時間管理情報からなることを特徴とする演奏データ。   A part of the event data, comprising a sequence of data including event data for instructing a performance event and time management information that is assigned to the event data and for managing the time at which the corresponding event data is to be executed The time management information corresponding to is composed of first type time management information described in absolute time units that do not follow the performance tempo, and the other time management information corresponding to the event data is relative to follow the performance tempo. Performance data comprising time management information of the second type described in time units. 演奏イベントを指示するイベントデータと、該イベントデータに付与され、対応するイベントデータを実行すべき時刻を管理するための時間管理情報とを含むデータのシーケンスからなり、前記イベントデータのうちの一部に対応する前記時間管理情報は演奏テンポに追従しない絶対時間単位で記述された第1種の時間管理情報からなり、それ以外の前記イベントデータに対応する前記時間管理情報は演奏テンポに追従する相対時間単位で記述された第2種の時間管理情報からなることを特徴とする演奏データを記憶した記憶媒体。




A part of the event data, comprising a sequence of data including event data for instructing a performance event and time management information that is assigned to the event data and for managing the time at which the corresponding event data is to be executed The time management information corresponding to is composed of first type time management information described in absolute time units that do not follow the performance tempo, and the other time management information corresponding to the event data is relative to follow the performance tempo. A storage medium storing performance data, characterized by comprising time management information of the second type described in time units.




JP2003347353A 2003-10-06 2003-10-06 Automatic performance device, automatic performance program, automatic performance data and recording medium recording the data Expired - Fee Related JP4172366B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003347353A JP4172366B2 (en) 2003-10-06 2003-10-06 Automatic performance device, automatic performance program, automatic performance data and recording medium recording the data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003347353A JP4172366B2 (en) 2003-10-06 2003-10-06 Automatic performance device, automatic performance program, automatic performance data and recording medium recording the data

Publications (2)

Publication Number Publication Date
JP2005114927A true JP2005114927A (en) 2005-04-28
JP4172366B2 JP4172366B2 (en) 2008-10-29

Family

ID=34539958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003347353A Expired - Fee Related JP4172366B2 (en) 2003-10-06 2003-10-06 Automatic performance device, automatic performance program, automatic performance data and recording medium recording the data

Country Status (1)

Country Link
JP (1) JP4172366B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009216873A (en) * 2008-03-10 2009-09-24 Yamaha Corp Performance data creation apparatus, and program for implementing performance data creation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009216873A (en) * 2008-03-10 2009-09-24 Yamaha Corp Performance data creation apparatus, and program for implementing performance data creation method

Also Published As

Publication number Publication date
JP4172366B2 (en) 2008-10-29

Similar Documents

Publication Publication Date Title
JP4107107B2 (en) Keyboard instrument
JP3915807B2 (en) Automatic performance determination device and program
JP4170524B2 (en) Waveform playback device
JP4172366B2 (en) Automatic performance device, automatic performance program, automatic performance data and recording medium recording the data
JP2970396B2 (en) Waveform processing device
JP3705144B2 (en) Performance data change processing device
JP2522337B2 (en) Automatic playing device
JP3879524B2 (en) Waveform generation method, performance data processing method, and waveform selection device
JP4270102B2 (en) Automatic performance device and program
JP6531432B2 (en) Program, sound source device and acoustic signal generation device
JP3587133B2 (en) Method and apparatus for determining pronunciation length and recording medium
JP3654227B2 (en) Music data editing apparatus and program
JP3656584B2 (en) Performance data processing apparatus and program
JP4389709B2 (en) Music score display device and music score display program
JP4315116B2 (en) Electronic music equipment
JP2002268637A (en) Meter deciding apparatus and program
JP3407563B2 (en) Automatic performance device and automatic performance method
JP3757664B2 (en) Performance information reproducing apparatus and computer-readable recording medium recording performance information reproducing program
JP4214845B2 (en) Automatic arpeggio device and computer program applied to the device
JP3637782B2 (en) Data generating apparatus and recording medium
JP4186802B2 (en) Automatic accompaniment generator and program
JP2008058796A (en) Playing style deciding device and program
JP5548975B2 (en) Performance data generating apparatus and program
JP3213081B2 (en) Automatic performance device
JP3407625B2 (en) Automatic performance apparatus, automatic performance method, and medium recording program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060623

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080422

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080623

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110822

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120822

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130822

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees