JP3298384B2 - Automatic performance device - Google Patents

Automatic performance device

Info

Publication number
JP3298384B2
JP3298384B2 JP29480895A JP29480895A JP3298384B2 JP 3298384 B2 JP3298384 B2 JP 3298384B2 JP 29480895 A JP29480895 A JP 29480895A JP 29480895 A JP29480895 A JP 29480895A JP 3298384 B2 JP3298384 B2 JP 3298384B2
Authority
JP
Japan
Prior art keywords
data
song
automatic performance
reading
switch
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
JP29480895A
Other languages
Japanese (ja)
Other versions
JPH09114456A (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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=17812530&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP3298384(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP29480895A priority Critical patent/JP3298384B2/en
Publication of JPH09114456A publication Critical patent/JPH09114456A/en
Application granted granted Critical
Publication of JP3298384B2 publication Critical patent/JP3298384B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、記憶された自動
演奏データを読み出すことにより自動演奏を実行可能な
自動演奏装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic performance apparatus capable of executing an automatic performance by reading stored automatic performance data.

【0002】[0002]

【従来の技術】自動演奏装置は、記憶された自動演奏デ
ータを、演奏の進行に従って順次読み出すことにより自
動演奏を行っている。このとき、自動演奏データの先頭
から読み出すだけでなく、小節番号を指定し、指定され
た小節位置から演奏データの読み出しを開始させること
も可能である。
2. Description of the Related Art An automatic performance apparatus performs an automatic performance by sequentially reading stored automatic performance data as the performance progresses. At this time, in addition to reading from the beginning of the automatic performance data, it is also possible to specify a measure number and start reading the performance data from the specified measure position.

【0003】[0003]

【発明が解決しようとする課題】異なる小節位置の演奏
を聴きたい場合、小節番号を指定し直さなければなら
ず、次々と聴きたい位置を変更する場合、操作が非常に
面倒であった。また、スイッチ操作によって小節番号を
インクリメント/デクリメントすることによって聴きた
い位置を変更することもできたが、現在演奏している位
置と、次に聴きたい位置の小節番号が離れている場合、
聴きたい小節番号を指定するまでに何度もスイッチを操
作しなければならないとともに、操作ミスにより、聴き
たい小節番号を通り過ぎてしまうこともしばしばあっ
た。
If the user wants to listen to a performance at a different bar position, he must re-specify the bar number, and the operation is very troublesome when changing the desired bar position one after another. In addition, the position to be listened to could be changed by incrementing / decrementing the bar number by operating the switch. However, if the bar number of the position currently being played and the next position to be listened are separated,
The switch must be operated many times before the measure number to be listened to is designated, and the wrong measure number is often passed by an operation error.

【0004】[0004]

【課題を解決するための手段】上述した課題を解決する
ために、本発明の自動演奏装置は、自動演奏データを記
憶した第1の記憶手段と、複数の操作子と、前記複数の
操作子のそれぞれに対応して設けられ、前記第1の記憶
手段に記憶された自動演奏データの読み出しを開始する
位置を指定する開始位置データを記憶する第2の記憶手
段と、操作子の操作に応じて、該操作された操作子に対
応して記憶されている開始位置データに基づいて、開始
位置データが示す位置から自動演奏データの読み出しを
開始させる読み出し手段と、を備えたことを特徴とす
る。
In order to solve the above-mentioned problems, an automatic performance device according to the present invention comprises a first storage means for storing automatic performance data, a plurality of operators, and the plurality of operators. And second storage means for storing start position data for specifying a position at which reading of the automatic performance data stored in the first storage means is to be started. Reading means for starting reading of automatic performance data from the position indicated by the start position data based on the start position data stored corresponding to the operated operator. .

【0005】また、第2の発明の自動演奏装置は、複数
の自動演奏データを記憶した第1の記憶手段と、複数の
操作子と、前記複数の操作子のそれぞれに対応して設け
られ、前記第1の記憶手段に記憶された自動演奏データ
の内のいずれかを選択するための選択データ及び該選択
された自動演奏データの読み出しを開始する位置を指定
する開始位置データを記憶する第2の記憶手段と、操作
子の操作に応じて、該操作された操作子に対応して記憶
されている選択データ及び開始位置データに基づいて、
選択データが示す自動演奏データを選択し、開始位置デ
ータが示す位置から自動演奏データの読み出しを開始さ
せる読み出し手段と、を備えたことを特徴とする。
An automatic performance device according to a second aspect of the present invention is provided in correspondence with first storage means storing a plurality of automatic performance data, a plurality of operators, and each of the plurality of operators. A second memory for storing selection data for selecting any of the automatic performance data stored in the first storage means and start position data for specifying a position at which reading of the selected automatic performance data is started. Based on the selection data and the start position data stored corresponding to the operated operator in response to the operation of the operator,
Reading means for selecting the automatic performance data indicated by the selected data and starting reading the automatic performance data from the position indicated by the start position data.

【0006】第1及び第2発明において、さらに、前記
操作子の操作終了に応じて、自動演奏データの読み出し
を停止させる読み出し制御手段を備えてもよい。
In the first and second aspects of the present invention, there may be further provided a reading control means for stopping reading of the automatic performance data in response to the end of the operation of the operation element.

【0007】このような手段を備えることにより、第1
の発明においては、複数の操作子のいずれかを操作する
ことにより、該操作子に対応して記憶された読み出し開
始位置データを参照して、該開始位置から自動演奏デー
タの読み出しが開始される。異なる操作子を操作すれ
ば、異なる位置の自動演奏データが読み出される。
[0007] By providing such means, the first
In the present invention, by operating any of the plurality of operators, the reading of the automatic performance data is started from the start position with reference to the read start position data stored corresponding to the operator. . By operating different operators, automatic performance data at different positions are read.

【0008】また、第2の発明においては、複数の操作
子のいずれかを操作することにより、該操作子に対応し
て記憶された自動演奏データの選択データ及び読み出し
開始位置データを参照して、該選択された自動演奏デー
タの読み出しが、該開始位置から開始される。異なる操
作子を操作すれば、異なる自動演奏データの、異なる位
置から読み出しが開始される。複数の操作子に同一自動
演奏データ、異なる開始位置を対応させておけば、同一
自動演奏データの、異なる位置から読み出しを開始させ
ることもできる。
In the second invention, by operating any of the plurality of operators, the selection data and the readout start position data of the automatic performance data stored corresponding to the operators are referred to. The reading of the selected automatic performance data is started from the start position. By operating different operators, reading of different automatic performance data is started from different positions. If the same automatic performance data and different start positions are associated with a plurality of operators, it is possible to start reading the same automatic performance data from different positions.

【0009】[0009]

【発明の実施の形態】図1はこの発明の自動演奏装置の
概略構成を示すブロック図である。CPU(中央処理装
置)1は装置全体の動作を制御するものであり、ROM
(リード・オンリィ・メモリ)3に記憶された制御プロ
グラムにしたがって処理を実行する。また、CPU1と
各部とはバス2を介して接続されており、各種データの
送受が行われる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing a schematic configuration of an automatic performance device according to the present invention. A CPU (Central Processing Unit) 1 controls the operation of the entire apparatus, and a ROM
(Read only memory) 3 executes processing in accordance with the control program stored in the memory. Further, the CPU 1 and each section are connected via a bus 2, and various data are transmitted and received.

【0010】RAM(ランダム・アクセス・メモリ)4
はCPU1による処理時において発生する各種データを
一時的に記憶するレジスタ、フラグ等の領域が設けられ
ているとともに、複数の自動演奏データを記憶する領域
や、後述するソング・メジャーメモリの領域も設けられ
ている。タイマ5はCPU1に対して割り込み信号を供
給するもので、所定周期の割り込み信号を発生する。R
AM4に記憶された演奏データは、CPU1が実行する
所定周期毎の割込処理によって読み出され、後述する音
源回路12へと供給される。
RAM (random access memory) 4
Is provided with an area such as a register and a flag for temporarily storing various data generated at the time of processing by the CPU 1, an area for storing a plurality of automatic performance data, and an area for a song major memory described later. Have been. The timer 5 supplies an interrupt signal to the CPU 1, and generates an interrupt signal of a predetermined cycle. R
The performance data stored in the AM 4 is read out by an interruption process at a predetermined cycle executed by the CPU 1 and supplied to a tone generator circuit 12 described later.

【0011】6はMIDI(ミュージカル・インストゥ
ルメント・ディジタル・インターフェース)インターフ
ェース(I/F)であり、外部装置とデータの送受を行
う。例えば、外部から供給された演奏データを取り込ん
でRAM4等に記憶する。
Reference numeral 6 denotes a MIDI (musical instrument digital interface) interface (I / F) for transmitting and receiving data to and from an external device. For example, performance data supplied from the outside is fetched and stored in the RAM 4 or the like.

【0012】7は鍵盤検出回路であり、鍵盤8の操作を
検出し、操作のオン/オフ、操作のあった鍵のノートナ
ンバーやベロシティ等をバス2を介してCPU1へと供
給する。CPU1はこれら演奏に関するデータを後述す
る音源回路12へと供給する。9はスイッチ検出回路で
あって、パネルスイッチ10の操作を検出する。検出さ
れたスイッチの操作はバス2を介してCPU1へと供給
される。
Reference numeral 7 denotes a keyboard detection circuit which detects operation of the keyboard 8 and supplies ON / OFF of the operation, note numbers and velocities of operated keys to the CPU 1 via the bus 2. The CPU 1 supplies data relating to these performances to a tone generator circuit 12 described later. A switch detection circuit 9 detects an operation of the panel switch 10. The detected operation of the switch is supplied to the CPU 1 via the bus 2.

【0013】11は表示回路(例えば液晶表示器やCR
Tなど)であり、図2で後述するように、自動演奏され
るソング番号や小節番号等の情報を表示する。
Reference numeral 11 denotes a display circuit (for example, a liquid crystal display or a CR
T, etc.), as will be described later with reference to FIG.

【0014】音源回路12は供給された演奏データにも
とづいて楽音波形信号を形成する。音源回路の方式とし
ては、周知の波形メモリ読み出し方式、FM(周波数変
調)方式や物理モデルシミュレーション方式、高調波合
成方式、フォルマント合成方式、発振器とフィルタを組
み合わせたアナログシンセサイザ方式等が用いられる。
音源回路12において形成された楽音波形信号は、サウ
ンドシステム13において音響として放音される。な
お、専用のハードを用いて音源回路を構成するものに限
らず、DSP(デジタルシグナルプロセッサ)+マイク
ロプログラムを用いて音源回路を構成するようにしても
よいし、CPU+ソフトウェアのプログラムで音源回路
を構成するようにしてもよい。また、1つの回路を時分
割で使用することによって複数の発音チャンネルを形成
するようなものでもよいし、1つの発音チャンネルが1
つの回路で構成されるような形式のものであってもよ
い。このほか、各種ネットワーク等の通信手段を用いて
外部装置と接続できるようにしてもよい。
The tone generator circuit 12 forms a musical tone waveform signal based on the supplied performance data. As a method of the sound source circuit, a well-known waveform memory reading method, an FM (frequency modulation) method, a physical model simulation method, a harmonic synthesis method, a formant synthesis method, an analog synthesizer method combining an oscillator and a filter, and the like are used.
The tone waveform signal formed in the sound source circuit 12 is emitted as sound in the sound system 13. The tone generator circuit is not limited to the one that uses a dedicated hardware, and may be configured using a DSP (digital signal processor) + microprogram, or the tone generator circuit may be configured with a CPU + software program. It may be configured. Further, a plurality of tone generation channels may be formed by using one circuit in a time-division manner.
It may be of a type configured with one circuit. In addition, a connection to an external device may be made using communication means such as various networks.

【0015】図2はパネルスイッチ10の主要部及び表
示回路11における表示の例を示す図である。10Aは
1から8の番号が付された8個のソング・メジャースイ
ッチであり、各スイッチにはそれぞれ1つの「ソング番
号及び小節番号」が割り当てられている。各スイッチに
割り当てられている「ソング番号及び小節番号」は、表
示回路11上で、11Aのように表示される。この例に
おいては、スイッチ1にはソング1の第1小節が割り当
てられており、スイッチ2にはソング1の第9小節が割
り当てられている。同様に、スイッチ3にはソング1の
第1小節が、スイッチ3にはソング1の第1小節が、ス
イッチ3にはソング1の第33小節が、スイッチ4には
ソング1の第21小節が、スイッチ5にはソング4の第
17小節が、スイッチ6にはソング4の第61小節が、
スイッチ7にはソング5の第10小節が、スイッチ8に
はソング5の第21小節がそれぞれ割り当てられてい
る。この割り当て状態は、後述するソング・メジャーメ
モリに記憶された内容よって決定される。
FIG. 2 is a diagram showing an example of the display of the main part of the panel switch 10 and the display circuit 11. As shown in FIG. Reference numeral 10A denotes eight song major switches numbered from 1 to 8, and each switch is assigned one "song number and bar number". The “song number and bar number” assigned to each switch are displayed on the display circuit 11 as 11A. In this example, switch 1 is assigned the first bar of song 1 and switch 2 is assigned the ninth bar of song 1. Similarly, switch 3 contains the first measure of song 1, switch 3 contains the first measure of song 1, switch 3 contains the 33rd measure of song 1, and switch 4 contains the 21st measure of song 1. , Switch 5 has the 17th bar of song 4, switch 6 has the 61st bar of song 4,
The switch 7 is assigned the tenth bar of the song 5, and the switch 8 is assigned the twenty-first bar of the song 5. This assignment state is determined by the contents stored in the song major memory described later.

【0016】10Bはモードスイッチであり、モードA
とモードBとが、スイッチ操作毎に交互に切り替わる。
モードAはソング・メジャースイッチによって選択され
たソングを、該ソングが終了するまで、或いは、停止ス
イッチ10Cが操作されるまで継続して演奏するモード
であり、モードBはソング・メジャースイッチによって
選択されたソングを、該スイッチが離されるまで演奏す
るモードである。このモードスイッチ10Bにより設定
されたモードの状態は、11Bのように表示される。
Reference numeral 10B denotes a mode switch.
And mode B are alternately switched for each switch operation.
Mode A is a mode in which the song selected by the song measure switch is continuously played until the song ends or the stop switch 10C is operated, and mode B is selected by the song measure switch. In this mode, the user plays the played song until the switch is released. The state of the mode set by the mode switch 10B is displayed as 11B.

【0017】また、演奏中のソング番号及び小節番号が
11Cのように表示される。小節番号は、演奏の進行に
従って順次更新される。
The number of the song being played and the number of the bar being played are displayed as in 11C. The bar numbers are sequentially updated as the performance progresses.

【0018】図3はRAM4に設けられたソングデータ
メモリの記憶内容を示す図である。4Aは設定データで
あり、ソング名、テンポ、音色など、各種設定データが
記憶されている。4Bはタイミングデータ、4Cはイベ
ントデータである。イベントデータ4Cは、キーオンイ
ベントデータ、キーオフイベントデータ、ピッチベンド
イベントデータなどの演奏に関するイベントを表すデー
タであり、例えばMIDIのフォーマットに基づいて、
演奏の進行に従って発生順に記憶されている。タイミン
グデータ4Bは各イベントデータの発生時間間隔を示す
データである。音符長を基準とした所定の最小分解能
(例えば4分音符長の24分の1)に従い、該音符の数
でタイミングデータが記述される。タイミングデータと
イベントデータが交互に記憶され、ソングデータが形成
される。自動演奏データの最後にはエンドデータ4Dが
記憶されている。このようなソングデータが、RAM4
に複数曲分記憶されている。なお、各イベントデータに
は1から16のチャンネル番号が付されており、このチ
ャンネル番号で演奏パートが異なるようになっている。
すなわち、複数の演奏パートが混在した形式を取ってい
る。なお、複数のパートのデータを異なるトラックに記
憶するような形式であってもよい。
FIG. 3 is a diagram showing the contents stored in the song data memory provided in the RAM 4. 4A is setting data in which various setting data such as a song name, a tempo, and a tone color are stored. 4B is timing data, and 4C is event data. The event data 4C is data representing an event related to performance such as key-on event data, key-off event data, pitch bend event data, and the like.
They are stored in the order of occurrence as the performance progresses. The timing data 4B is data indicating an occurrence time interval of each event data. According to a predetermined minimum resolution based on the note length (for example, 1/24 of a quarter note length), timing data is described by the number of the notes. Timing data and event data are stored alternately to form song data. End data 4D is stored at the end of the automatic performance data. Such song data is stored in the RAM 4
Are stored for a plurality of songs. Each event data is assigned a channel number from 1 to 16, and the performance part differs depending on the channel number.
That is, it takes a form in which a plurality of performance parts are mixed. Note that the format may be such that data of a plurality of parts is stored in different tracks.

【0019】図4はRAM4に設けられたソング・メジ
ャーメモリの記憶内容を示す図である。前述したよう
に、8個のソング・メジャースイッチ10Aには、それ
ぞれ「ソング番号及び小節番号」が割り当てられている
が、このソング・メジャーメモリは、その割り当て状態
を記憶したメモリである。各ソング・メジャースイッチ
に対応した8つの記憶ブロックを有し、それぞれの記憶
ブロックにはソング番号と小節番号が記憶されている。
なお、このソング・メジャーメモリはユーザが書き替え
可能であってもよいし、ソング・メジャーメモリを複数
セット有し、その内のいずれかのセットをソング・メジ
ャースイッチに割り当てられるようにしてもよい。
FIG. 4 is a diagram showing the stored contents of the song major memory provided in the RAM 4. As described above, the "song number and bar number" are assigned to the eight song major switches 10A, respectively. This song major memory is a memory in which the assignment state is stored. There are eight storage blocks corresponding to each song major switch, and each storage block stores a song number and a bar number.
The song major memory may be rewritable by the user, or may have a plurality of sets of song major memories, and any one of the sets may be assigned to the song major switch. .

【0020】図5から図8は、CPU1によって実行さ
れる制御プログラムのフローチャートを示す図である。
図5はモードスイッチ10Bが操作されたときに実行さ
れる処理である。モードスイッチ10Bが操作される
と、ステップs1において現在設定されているモードが
Aであるか否かが判断され、Aであればステップs2で
モードをBにセットし、Aでなければステップs3でモ
ードをAにセットする。そして、ステップs4で設定さ
れたモードに応じてモード表示11Bを変更し、この処
理を終える。
FIGS. 5 to 8 are flowcharts of control programs executed by the CPU 1. FIG.
FIG. 5 shows a process executed when the mode switch 10B is operated. When the mode switch 10B is operated, it is determined in step s1 whether the currently set mode is A. If A, the mode is set to B in step s2. Set the mode to A. Then, the mode display 11B is changed according to the mode set in step s4, and this processing ends.

【0021】図6はソング・メジャースイッチ10Aの
いずれかが操作されたときに実行される処理である。ス
イッチがオンされたときは、ステップs11でYESと
判断され、ステップs12へと進む。ステップs12で
は現在ソングデータの読み出し中であるか否かが判断さ
れ、読み出し中であれば、次のソングデータに移行する
ため、ステップs13でソングデータの読み出し処理を
停止させる。そして、ステップs14で、オンされたス
イッチに割り当てられた「ソング番号及び小節番号」を
ソング・メジャーメモリから読み出し、ステップs15
で、読み出されたソング番号がレジスタSONGに記憶
された内容(それまで読み出されていたソング番号)と
同じソング番号か否かを判断する。YESならば直接ス
テップs18へ進み、NOならばステップs16へ進ん
でいぜん、読み出されたソング番号が示すソングデータ
の設定データを読み出して、各部へとセットする。例え
ば、音色データが読み出されたら音源回路12へとセッ
トする。そして、ステップs17で該ソング番号を、レ
ジスタSONGに記憶させ、ステップs18へと進む。
すなわち、今回選択したソング番号が、それまで読み出
されていたソング番号と異なれば、選択されたソングの
設定データを各部へと設定するが、同じならば、あえて
同じ設定データを各部にセットする必要はない。
FIG. 6 shows a process executed when any one of the song / major switches 10A is operated. When the switch is turned on, YES is determined in the step s11, and the process proceeds to a step s12. In step s12, it is determined whether or not the song data is currently being read. If so, the process of reading the song data is stopped in step s13 to shift to the next song data. Then, in step s14, the "song number and bar number" assigned to the switch that has been turned on are read from the song major memory.
Then, it is determined whether or not the read song number is the same as the content stored in the register SONG (the previously read song number). If YES, the process directly proceeds to step s18, and if NO, the process proceeds to step s16, where the setting data of the song data indicated by the read song number is read and set to each unit. For example, when the timbre data is read out, it is set in the tone generator circuit 12. Then, in step s17, the song number is stored in the register SONG, and the process proceeds to step s18.
That is, if the currently selected song number is different from the previously read song number, the setting data of the selected song is set in each section, but if the same, the same setting data is intentionally set in each section. No need.

【0022】ステップs18では小節番号が示すソング
データ上の位置をサーチする。サーチの仕方としては、
タイミングデータを該小節分だけカウントする、ソング
データ中に小節線データが含まれていればその数を数え
る、などのやり方があるが、どの様な方法でサーチして
もかまわない。ステップs19では、サーチされた小節
位置から、ソングデータの読み出しを開始する。
At step s18, a position on the song data indicated by the bar number is searched. As a search method,
There are methods such as counting the timing data for the measure, and counting the number of the measure line data if the song data includes the measure line data. However, any method may be used for searching. In step s19, reading of song data is started from the searched bar position.

【0023】一方、ステップs11でNO(すなわちソ
ング・メジャースイッチ10Aがオフされた)と判断し
た場合、ステップs20で現在のモードがBであるか否
かが判断され、Bであればステップs21で現在ソング
データの読み出し中であるか否かを判断し、読み出し中
であれば、ステップs22でSONG内容(=現在読み
出されているソング番号)と今回オフされたスイッチに
割り当てられているソング番号とが同じか否かを判断
し、同じならば、ステップs23でソングデータの読み
出し処理を停止させる。ステップs20、s21、s2
2でNOと判断されたときは、ステップs23を通らな
い。すなわち、モードがBの時はソング・メジャースイ
ッチ10Aがオフされた時点でソングデータの読み出し
を停止させるが、既にソングデータの読み出しが停止さ
れている(=ソングデータの読み出しが最後まで達し
た、或いは、停止スイッチが押された)場合や、ソング
データの読み出し中に他のソング・メジャースイッチが
押されて異なるソング番号のソングデータが読み出され
ている時は、今回オフされたスイッチに割り当てられて
いるソングデータの読み出しは既に終了しているので、
ステップs23でのソングデータの読み出し停止処理は
行う必要がないからである。
On the other hand, if NO is determined in step s11 (that is, the song major switch 10A is turned off), it is determined whether or not the current mode is B in step s20. It is determined whether or not the song data is currently being read, and if so, in step s22, the SONG content (= the currently read song number) and the song number assigned to the currently turned off switch Is determined to be the same, and if they are the same, the song data reading process is stopped in step s23. Steps s20, s21, s2
If NO is determined in step 2, step s23 is not performed. That is, when the mode is B, the reading of the song data is stopped when the song major switch 10A is turned off, but the reading of the song data has already been stopped (= the reading of the song data has reached the end, Alternatively, if the stop switch is pressed), or if another song major switch is pressed while reading the song data and song data with a different song number is being read, assign it to the switch that was turned off this time. Since the reading of the song data already completed has already been completed,
This is because there is no need to perform the reading stop processing of the song data in step s23.

【0024】図7は、ソングデータの読み出しが行われ
ているときに所定周期毎に実行されるソングデータ読み
出し処理を示す図である。所定周期とは、例えば10m
s程度である。ステップs31では、レジスタTIME
のから所定値Kを引いた値をレジスタTIMEへと格納
する。ここで、レジスタTIMEは、読み出されたソン
グデータのタイミングデータが入力されるレジスタであ
り、ソングデータの読み出しの進行管理に用いられる。
なお、タイミングデータの入力は後述するステップs3
7で行われるが、初期値として、前述のステップs18
において、サーチされた小節位置から、次に最初に現れ
るイベントデータまでのタイミングがセットされること
とする。
FIG. 7 is a diagram showing a song data reading process executed at predetermined intervals when the song data is being read. The predetermined period is, for example, 10 m
s. At step s31, the register TIME
And a value obtained by subtracting the predetermined value K from the above is stored in the register TIME. Here, the register TIME is a register to which the timing data of the read song data is input, and is used for managing the progress of reading the song data.
The timing data is input in step s3 described later.
7 is performed, but as an initial value, the above-described step s18 is performed.
In, the timing from the searched bar position to the next event data that appears first is set.

【0025】所定値Kは再生処理の周期(例えば10m
s)の間に進めるべき単位音符の長さに対応しており、
K=(テンポ×分解能×割込周期)/(60×100
0)で表される。ここで、「テンポ」は1分間に演奏さ
れる4分音符数であり、「分解能」は演奏データのタイ
ミングデータが、4分音符をいくつに分けたものによっ
て記述されているかをかを表す。例えば、前述のように
タイミングデータが4分音符を24に分けたものである
から、「分解能」は24となる。「割込周期」は再生処
理が実行されるときの割込信号の発生周期であり、前述
のようにこの実施形態においては10msである。従っ
て、「テンポ」が120、「分解能」が24、「割込周
期」が10ならば、Kの値は0.48となり、1回の再
生処理によってタイムデータが0.48だけ進むことに
なる。例えば、タイムデータの値が「48(=2分音符
の長さに相当)」であったとすると、100回の処理
(=1秒)によって2分音符分の演奏が進むことにな
る。
The predetermined value K is equal to the period of the reproduction process (for example, 10 m
s) corresponds to the length of the unit note to be advanced during
K = (tempo × resolution × interruption cycle) / (60 × 100
0). Here, “tempo” is the number of quarter notes played in one minute, and “resolution” indicates how many quarter notes are described in the timing data of the performance data. For example, since the timing data is obtained by dividing quarter notes into 24 as described above, the “resolution” is 24. The “interruption cycle” is a generation cycle of an interrupt signal when the reproduction process is executed, and is 10 ms in this embodiment as described above. Therefore, if the “tempo” is 120, the “resolution” is 24, and the “interruption cycle” is 10, the value of K becomes 0.48, and the time data advances by 0.48 by one reproduction process. . For example, assuming that the value of the time data is "48 (= corresponding to the length of a half note)", the performance of the half note progresses through 100 processes (= 1 second).

【0026】ステップs32では、ステップs31での
引き算の結果、レジスタTIMEの内容が0以下の値に
なったか否かが判断され、0以下の値ならばステップs
33以降へ進む。0以下の値になっていなければ、まだ
次のイベントデータを読み出すタイミングに達してない
ことになり、直ちにこの処理を終了する。
In step s32, it is determined whether or not the content of the register TIME has become a value of 0 or less as a result of the subtraction in step s31.
Go to 33 or later. If the value is not equal to or less than 0, it means that the timing for reading out the next event data has not yet been reached, and this processing is immediately terminated.

【0027】ステップs33では、ソングデータのアド
レスを進めて次のデータを読み出す。ステップs34で
は読み出されたデータがタイミングデータであるか否か
が判断される。この処理に入った時点ではアドレスはタ
イミングデータを示しており、s33でアドレスを進め
た結果、イベントデータが読み出されるので、s34の
判断はNOとなる。ステップs35では読み出されたイ
ベントデータがエンドデータであるか否かを判断する。
最初はエンドデータではないのでNOと判断され、ステ
ップs36へ進んで、イベントデータに応じた処理を実
行する。すなわち、読み出されたイベントデータがキー
オンイベントであれば、音源回路にキーオンイベントを
出力して楽音の発生を開始させ、キーオフイベントであ
れば、音源回路にキーオフイベントを出力して楽音の消
音を開始させる。
In step s33, the address of the song data is advanced to read the next data. In step s34, it is determined whether the read data is timing data. At the time of entering this process, the address indicates the timing data, and as a result of advancing the address in s33, the event data is read out, so the determination in s34 is NO. In step s35, it is determined whether or not the read event data is end data.
Initially, it is not end data, so the determination is NO, and the process proceeds to step s36 to execute processing according to the event data. That is, if the read event data is a key-on event, a key-on event is output to the tone generator circuit to start generation of a musical tone, and if it is a key-off event, a key-off event is output to the tone generator circuit to mute the musical tone. Let it start.

【0028】この後、再びステップs33へ進み、ソン
グデータのアドレスを進めると、タイミングデータが記
憶されているので、ステップs34でYESと判断され
る。ステップs37では読み出されたタイミングデータ
の値をレジスタTIMEの内容に加算し、ステップs3
8でTIMEの値が正の値になったか否かを判断する。
正の値になっていればこの処理を終了する。正の値にな
っていなければ、上記ステップs33からs38の処理
を繰り返す。例えば、和音を発音する場合、複数のイベ
ントデータがほぼ同時に発生するので、イベントとイベ
ントの間のタイミングデータは0或いは0に近い値とな
る。そのような場合、s38でNOと判断されることが
ある。なお、s35でYESと判断されたときは、エン
ドデータが読み出されたので、ソングデータの読み出し
処理を停止する。
Thereafter, the operation proceeds to step s33 again, and when the address of the song data is advanced, since the timing data is stored, YES is determined in step s34. In step s37, the value of the read timing data is added to the contents of the register TIME, and the value in step s3
At 8, it is determined whether the value of TIME has become a positive value.
If the value is a positive value, this process ends. If the value is not a positive value, the processes of steps s33 to s38 are repeated. For example, when a chord is to be pronounced, a plurality of event data occur almost simultaneously, so that the timing data between events has a value of 0 or a value close to 0. In such a case, NO may be determined in s38. When YES is determined in s35, since the end data has been read, the reading process of the song data is stopped.

【0029】図8は停止スイッチ10Cが操作されたと
きに実行される処理である。停止スイッチ10Cが操作
されると、ステップs41において現在ソングデータの
読み出し中であるか否かが判断され、読み出し中であれ
ばステップs42でソングデータの読み出し処理を停止
させる。これによりソングの自動演奏が停止する。
FIG. 8 shows a process executed when the stop switch 10C is operated. When the stop switch 10C is operated, it is determined in step s41 whether or not the song data is currently being read, and if so, the read process of the song data is stopped in step s42. This stops the automatic performance of the song.

【0030】次に本発明の自動演奏装置の動作例を説明
する。モードがAの場合、ソング・メジャースイッチ1
0Aのいずれかがオンされると、ソング・メジャーメモ
リの内容を参照することによって該スイッチに割り当て
られているソングデータ及び、読み出し開始小節が決定
され、ソングの自動演奏がスタートする。この状態で該
スイッチをオフしても、自動演奏は継続する。その後、
他のソング・メジャースイッチが操作されれば、操作さ
れたスイッチに割り当てられたソングデータが指定され
ている小節番号の位置から読み出されるようになる。そ
して、停止スイッチ10Cが操作されるか、読み出し中
のソングデータが最後まで達したときは、ソングデータ
の自動演奏が終了する。このような動作は、メドレー演
奏をさせる場合に好適である。例えば、ソング・メジャ
ーメモリにメドレー演奏させたいソング番号及び、該ソ
ングを開始させたい小節番号を登録しておき、あるソン
グを演奏させている途中の任意の時点で次のスイッチを
オンすると、新たなソングが、設定されている任意の小
節位置からスタートするようになる。従来のメドレー演
奏(予め決められた順番で、各ソングをそれぞれ先頭か
ら演奏させる)に比べて、大変自由度が高いメドレー演
奏をさせることが可能となる。
Next, an operation example of the automatic performance device of the present invention will be described. When the mode is A, song measure switch 1
When any of 0A is turned on, the song data assigned to the switch and the reading start measure are determined by referring to the contents of the song major memory, and the automatic performance of the song starts. Even if the switch is turned off in this state, the automatic performance continues. afterwards,
When another song major switch is operated, the song data assigned to the operated switch is read from the position of the specified bar number. Then, when the stop switch 10C is operated or when the song data being read has reached the end, the automatic performance of the song data ends. Such an operation is suitable for performing a medley performance. For example, if a song number to be played by the medley and a bar number to be started at the beginning of the song are registered in the song major memory, and the next switch is turned on at any time during the execution of a certain song, a new song is created. The new song starts from the set bar position. Compared to a conventional medley performance (each song is played from the beginning in a predetermined order), a medley performance with a very high degree of freedom can be performed.

【0031】一方、モードがBの場合、ソング・メジャ
ースイッチ10Aのいずれかがオンされると、ソング・
メジャーメモリの内容を参照することによって該スイッ
チに割り当てられているソングデータ及び、読み出し開
始小節が決定され、ソングの自動演奏がスタートする。
そして、該スイッチをオフすると、ソングデータの読み
出しが停止する。該スイッチをオフする前にソングデー
タの最後まで達した場合は、その時点でソングデータの
読み出しが停止する。また、該スイッチをオフする前に
他のソング・メジャースイッチをオンした場合は、その
時点で新たにオンされたスイッチに割り当てられている
ソングの読み出しに移行する。このような動作は、複数
記憶されているソングデータの試聴に好適である。例え
ば、複数記憶されているソングデータのそれぞれの一番
特徴的な部分(サビの部分など)の小節番号をソング・
メジャーメモリに登録してけば、ソング・メジャースイ
ッチ10Aのいずれかをオンするだけで、記憶されてい
るソングの特徴的な部分だけを次々に聴くことができ
る。また、演奏を停止させるときに別途設けた停止スイ
ッチを押さなくてもよいので、店頭で製品のデモンスト
レーションをする場合など、製品の操作方法をよく知ら
ない人でも簡単にその製品を操作して、ソングデータを
聴くことができる。
On the other hand, when the mode is B, when one of the song major switches 10A is turned on, the song
By referring to the contents of the major memory, the song data assigned to the switch and the reading start bar are determined, and the automatic performance of the song starts.
When the switch is turned off, the reading of the song data is stopped. If the song data reaches the end before the switch is turned off, the reading of the song data stops at that point. If another song major switch is turned on before the switch is turned off, the process shifts to reading the song assigned to the newly turned on switch at that time. Such an operation is suitable for previewing a plurality of stored song data. For example, the bar number of the most characteristic part (such as rust part) of each of a plurality of stored song data
If the song is registered in the major memory, only the characteristic portion of the stored song can be listened to one after another simply by turning on one of the song major switches 10A. In addition, since it is not necessary to press the stop switch provided separately when stopping the performance, even those who are not familiar with how to operate the product, such as when demonstrating the product at the store, can easily operate the product, You can listen to the song data.

【0032】なお、本発明の自動演奏装置は、電子楽器
に内蔵してもよいし、パソコン+アプリケーションソフ
トウェアの形態で実現してもよい。また、カラオケ装置
において新曲の紹介機能などに適用してもよい。
The automatic performance device of the present invention may be incorporated in an electronic musical instrument, or may be realized in the form of a personal computer and application software. Further, the present invention may be applied to a function of introducing a new song in a karaoke apparatus.

【0033】また、ソング・メジャースイッチの数は8
個に限らない。そして、このスイッチは専用のスイッチ
であってもよいし、他の機能と兼用してもよい。また、
表示装置上に仮想的にスイッチを設け、表示上でマウス
等のポインティングデバイスでスイッチを指定すること
によりスイッチの代わりとしてもよい。
The number of song / major switches is eight.
Not limited to individual. This switch may be a dedicated switch, or may be shared with another function. Also,
A switch may be virtually provided on the display device, and the switch may be designated by using a pointing device such as a mouse on the display to replace the switch.

【0034】また、上述した実施の形態においては、各
ソングデータの最後まで達したら、ソングデータの読み
出しを停止するようにしたが、各ソング毎に次にどの曲
を演奏するかが設定されており、最後まで達したら、自
動的に設定されているソングデータの読み出しに移行す
るようにしてもよい。このとき、直ちに次のソングデー
タの読み出しを開始するか、所定のスタート指示を与え
てから読み出しを開始するかなどを設定可能としてもよ
い。
In the above embodiment, the reading of the song data is stopped when the song data reaches the end. However, it is set for each song which song is to be played next. Then, when the processing reaches the end, the processing may be shifted to the reading of the automatically set song data. At this time, it may be possible to set whether to immediately start reading the next song data or to start reading after giving a predetermined start instruction.

【0035】また、ソング・メジャースイッチに対して
ソング番号と小節番号を割り当てるとき、あるソングデ
ータを読み出している最中に登録操作を行うと、その時
点で読み出されているソングのソング番号及び小節位置
が割り当てられるようにしてもよい。
When assigning a song number and a bar number to the song major switch, if a registration operation is performed while certain song data is being read, the song number and the song number of the song being read at that time will be changed. Measure positions may be assigned.

【0036】また、スイッチに対して割り当てるソング
の開始位置は小節位置に限らず、小節+拍位置、ソング
の先頭からの絶対時間、ソングを所定のフレーズ区間に
区切ったときのフレーズ位置など、どの様な形式で開始
位置を設定してもよい。
The start position of the song to be assigned to the switch is not limited to the bar position, but may be any measure such as a bar + beat position, an absolute time from the beginning of the song, or a phrase position when the song is divided into predetermined phrase sections. The start position may be set in a different format.

【0037】また、あるソングの読み出し中に他のソン
グ・メジャースイッチを操作したとき、直ちに次のスイ
ッチに対応したソングを読み出すようにしたが、小節の
切れ目やフレーズの切れ目などまで前のソングの読み出
しを継続し、その後次のソングに移行するようにしても
よい。また、モードBにおいて、スイッチをオフしたら
直ちにソングの読み出しを終了するものに限らず、小節
の切れ目やフレーズの切れ目などまでソングの読み出し
を継続し、その後、読み出しを終了させるようにしても
よい。
Further, when another song major switch is operated while a certain song is being read, the song corresponding to the next switch is read immediately. The reading may be continued, and then the process may proceed to the next song. Further, in the mode B, the reading of the song is not limited to the one immediately after the switch is turned off, but the reading of the song may be continued until the end of a measure or the end of a phrase, and thereafter the reading may be ended.

【0038】また、この実施の形態においてはスイッチ
に対してソング番号と小節番号の両方を割り当てるよう
にしたが、小節番号のみを割り当てて、あるソングの演
奏小節位置を次々と切り換えることができるようにして
もよい。このとき、ソング毎に、スイッチに割り当てる
複数の小節位置を記憶するようにしてもよい。
In this embodiment, both the song number and the bar number are assigned to the switches. However, only the bar numbers are assigned so that the performance bar positions of a certain song can be switched one after another. It may be. At this time, a plurality of bar positions assigned to the switches may be stored for each song.

【0039】また、ソングデータの記憶フォーマット
は、「イベントデータ+イベント間の相対時間」で記述
するようにしたが、「イベントデータ+各イベントデー
タの絶対時間」、「音高データ+符長データ」等、どの
ような形式でもよい。
The storage format of the song data is described as "event data + relative time between events", but "event data + absolute time of each event data", "pitch data + note length data". And any other format.

【0040】また、ソングデータ読み出し処理を一定の
周期で行い、1回の処理においてタイミングデータをカ
ウントする値をテンポに応じて変更するような方式の例
を示したが、1回の処理においてタイミングデータをカ
ウントする値は一定で、設定したテンポに応じてソング
データ読み出し処理の周期を変更する方式や、ソングデ
ータ読み出し処理の周期は一定で、読み出したタイミン
グデータの値を設定したテンポに応じて修正するもので
あってもよい。
Also, an example of a system in which the song data reading process is performed at a fixed cycle and the value for counting the timing data in one process is changed according to the tempo has been described. The data count value is constant, the method of changing the song data read processing cycle according to the set tempo, or the song data read processing cycle is constant, and the read timing data value is set according to the set tempo. It may be modified.

【0041】[0041]

【発明の効果】以上説明したように、本発明によれば、
簡単な操作により、異なる位置の自動演奏データを次々
と聴くことができる。
As described above, according to the present invention,
With simple operations, automatic performance data at different positions can be heard one after another.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の一実施形態における概略ブロック図
を示す図である。
FIG. 1 is a schematic block diagram according to an embodiment of the present invention.

【図2】 本発明の一実施形態におけるパネルスイッチ
及び表示装置の表示例を示す図である。
FIG. 2 is a diagram illustrating a display example of a panel switch and a display device according to an embodiment of the present invention.

【図3】 本発明の一実施形態におけるソングデータの
記憶形式を示す図である。
FIG. 3 is a diagram showing a storage format of song data according to an embodiment of the present invention.

【図4】 本発明の一実施形態におけるソング・メジャ
ーメモリの記憶内容を示す図である。
FIG. 4 is a diagram showing stored contents of a song major memory in one embodiment of the present invention.

【図5】 本発明の一実施形態におけるモードスイッチ
処理のフローチャートを示す図である。
FIG. 5 is a diagram showing a flowchart of a mode switch process in one embodiment of the present invention.

【図6】 本発明の一実施形態におけるソング・メジャ
ースイッチのフローチャートを示す図である。
FIG. 6 is a diagram showing a flowchart of a song / major switch in one embodiment of the present invention.

【図7】 本発明の一実施形態におけるソングデータ読
み出し処理のフローチャートを示す図である。
FIG. 7 is a diagram showing a flowchart of a song data reading process according to an embodiment of the present invention.

【図8】 本発明の一実施形態における停止スイッチ処
理のフローチャートを示す図である。
FIG. 8 is a diagram showing a flowchart of a stop switch process in one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…CPU、3…ROM、4…RAM、10…パネルス
イッチ、11…表示回路、12…音源回路
DESCRIPTION OF SYMBOLS 1 ... CPU, 3 ... ROM, 4 ... RAM, 10 ... Panel switch, 11 ... Display circuit, 12 ... Sound source circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 自動演奏データを記憶した第1の記憶手
段と、 複数の操作子と、 前記複数の操作子のそれぞれに対応して設けられ、前記
第1の記憶手段に記憶された自動演奏データの読み出し
を開始する位置を指定する開始位置データを記憶する第
2の記憶手段と、 操作子の操作に応じて、該操作された操作子に対応して
記憶されている開始位置データに基づいて、開始位置デ
ータが示す位置から自動演奏データの読み出しを開始さ
せる読み出し手段と、 を備えたことを特徴とする自動演奏装置。
1. A first storage means for storing automatic performance data, a plurality of operators, and an automatic performance stored in the first storage means, provided in correspondence with each of the plurality of operators. Second storage means for storing start position data for designating a position at which data reading is to be started; and, in response to an operation of the operating element, based on the starting position data stored corresponding to the operated operating element. Reading means for starting reading of automatic performance data from the position indicated by the start position data.
【請求項2】 複数の自動演奏データを記憶した第1の
記憶手段と、 複数の操作子と、 前記複数の操作子のそれぞれに対応して設けられ、前記
第1の記憶手段に記憶された自動演奏データの内のいず
れかを選択するための選択データ及び該選択された自動
演奏データの読み出しを開始する位置を指定する開始位
置データを記憶する第2の記憶手段と、 操作子の操作に応じて、該操作された操作子に対応して
記憶されている選択データ及び開始位置データに基づい
て、選択データが示す自動演奏データを選択し、開始位
置データが示す位置から自動演奏データの読み出しを開
始させる読み出し手段と、 を備えたことを特徴とする自動演奏装置。
2. A first storage means for storing a plurality of automatic performance data, a plurality of operators, and a plurality of operators provided corresponding to each of the plurality of operators, and stored in the first storage means. Second storage means for storing selection data for selecting any one of the automatic performance data and start position data for specifying a position at which reading of the selected automatic performance data is to be started; Accordingly, the automatic performance data indicated by the selected data is selected based on the selected data and the start position data stored corresponding to the operated operator, and the automatic performance data is read from the position indicated by the start position data. An automatic performance device, comprising: a reading unit that starts the operation.
【請求項3】 さらに、前記操作子の操作終了に応じ
て、自動演奏データの読み出しを停止させる読み出し制
御手段を備えたことを特徴とする請求項1或いは2に記
載の自動演奏装置。
3. The automatic performance device according to claim 1, further comprising a read control unit that stops reading of automatic performance data in response to the end of the operation of the operation element.
JP29480895A 1995-10-17 1995-10-17 Automatic performance device Expired - Fee Related JP3298384B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29480895A JP3298384B2 (en) 1995-10-17 1995-10-17 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29480895A JP3298384B2 (en) 1995-10-17 1995-10-17 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH09114456A JPH09114456A (en) 1997-05-02
JP3298384B2 true JP3298384B2 (en) 2002-07-02

Family

ID=17812530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29480895A Expired - Fee Related JP3298384B2 (en) 1995-10-17 1995-10-17 Automatic performance device

Country Status (1)

Country Link
JP (1) JP3298384B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6768046B2 (en) * 2002-04-09 2004-07-27 International Business Machines Corporation Method of generating a link between a note of a digital score and a realization of the score

Also Published As

Publication number Publication date
JPH09114456A (en) 1997-05-02

Similar Documents

Publication Publication Date Title
US5920025A (en) Automatic accompanying device and method capable of easily modifying accompaniment style
JPH04274498A (en) Automatic player
US6166316A (en) Automatic performance apparatus with variable arpeggio pattern
JP3464290B2 (en) Automatic performance device
JP3298384B2 (en) Automatic performance device
JP2956505B2 (en) Automatic accompaniment device
JPH05188956A (en) Electronic musical instrument with automatic playing function
JP2551265B2 (en) Automatic performance data creation device
US5942711A (en) Roll-sound performance device and method
JP3912390B2 (en) Tempo setting device and method
JP2756799B2 (en) Automatic rhythm playing device
JP3141448B2 (en) Automatic accompaniment device
JP2564811B2 (en) Performance recorder
JP3267226B2 (en) Automatic accompaniment device and medium recording automatic accompaniment control program
JP2972364B2 (en) Musical information processing apparatus and musical information processing method
JP2904020B2 (en) Automatic accompaniment device
JP2713107B2 (en) Automatic performance device
JP3394688B2 (en) Automatic performance device and electronic musical instrument provided with the automatic performance device
JPH08106285A (en) Automatic playing device
JP2627130B2 (en) Performance information recording device
JP2629564B2 (en) Chord detector
JPH10198371A (en) Electronic instrument
JPH02181794A (en) Performance device
JP2000148147A (en) Automatic accompanying device
JPH08106286A (en) Automatic playing device

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090419

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090419

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100419

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110419

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120419

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130419

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20140419

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees