JPH0452692A - automatic performance device - Google Patents

automatic performance device

Info

Publication number
JPH0452692A
JPH0452692A JP2161288A JP16128890A JPH0452692A JP H0452692 A JPH0452692 A JP H0452692A JP 2161288 A JP2161288 A JP 2161288A JP 16128890 A JP16128890 A JP 16128890A JP H0452692 A JPH0452692 A JP H0452692A
Authority
JP
Japan
Prior art keywords
data
performance
automatic
volume
performance data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2161288A
Other languages
Japanese (ja)
Inventor
Kiichi Takemoto
貴一 竹本
Yasushi Sato
康史 佐藤
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.)
Kawai Musical Instruments Manufacturing Co Ltd
Original Assignee
Kawai Musical Instruments Manufacturing Co Ltd
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 Kawai Musical Instruments Manufacturing Co Ltd filed Critical Kawai Musical Instruments Manufacturing Co Ltd
Priority to JP2161288A priority Critical patent/JPH0452692A/en
Publication of JPH0452692A publication Critical patent/JPH0452692A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To enable automatic performance which is rich in musicality even with performance data of an inexperienced person by correcting sound volume data in performance data in a storage means according to variation of interval data and generating data when automatic sound volume control is specified in automatic performance mode. CONSTITUTION:Whether the automatic sound volume control is performed or not in the automatic performance mode is specified and when the automatic sound volume control is specified, the performance data which are stored in the performance data memory 4 by player's performance are read out, the sound volume data in the performance data are corrected according to the variation of the interval data in the performance data, and a musical sound signal generating circuit 8 for automatic performance generates a musical sound whose sound volume is controlled according to the corrected sound volume data, so even the automatic performance device which has ON/OFF states of keys as the performance data can generate variation in sound volume to perform the automatic performance which is rich in musicality.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は自動演奏装置に関し、特にメモリに記憶された
演奏データを読出しつつ自動演奏を行う自動演奏装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Field of Application) The present invention relates to an automatic performance device, and more particularly to an automatic performance device that performs automatic performance while reading performance data stored in a memory.

(従来の技術) 従来、演奏データをメモリに記憶しておき、操作パネル
からの指示に応じてメモリから演奏データを順次読出し
て自動的に演奏を行う自動演奏装置が知られている。
(Prior Art) Conventionally, automatic performance devices have been known that store performance data in a memory and sequentially read the performance data from the memory in response to instructions from an operation panel to automatically perform a performance.

このような自動演奏装置として、演奏者が弾いた演奏デ
ータをメモリに記憶する際に、鍵のオン/オフのみを演
奏データとしてメモリに記憶し、これを再生して自動演
奏を行うものがある。
Some automatic performance devices of this kind store only the on/off of keys as performance data when storing performance data played by a performer in memory, and then play back this data for automatic performance. .

しかしながら、このような自動演奏装置で再生された楽
音は、音量の変化がなく音楽性が著しく損なわれていた
However, musical tones reproduced by such automatic performance devices have no change in volume and are significantly impaired in musicality.

そこで、演奏データをメモリに記憶する際に、鍵のオン
/オフの演奏データ以外に、鍵のタッチに応じた音量変
化をもデータとして記憶しておき、自動演奏時に該デー
タを参照して演奏者の演奏を忠実に再現するものが開発
されている。このような自動演奏装置は、鍵のタッチを
検出するためのハードウェアや処理が必要であり、構成
が複雑になって装置自体が高価になってしまうという欠
点があった。
Therefore, when storing performance data in memory, in addition to key on/off performance data, volume changes in response to key touches are also stored as data, and this data is referenced during automatic performance. A device has been developed that faithfully reproduces the performance of a person. Such an automatic performance device requires hardware and processing to detect the touch of a key, resulting in a complicated configuration and an expensive device itself.

また、未熟な、演奏者が弾いた演奏データは音量の起伏
が貧弱で、鍵タッチのデータを記憶できる高機能な自動
演奏装置であるにも拘わらず音楽性豊かな自動演奏がで
きないという欠点があった。
In addition, performance data played by an unskilled performer has poor volume fluctuations, and although it is a highly functional automatic performance device that can store key touch data, it has the disadvantage of not being able to perform automatically with rich musicality. there were.

(発明が解決しようとする課題) 本発明は、上記したように演奏者が弾いた演奏データを
メモリに記憶する際に、鍵のオン/オフのみを演奏デー
タとしてメモリに記憶し、これに基づき自動演奏を行う
ものは音量の変化がなく音楽性が著しく損なわれるとい
う欠点を解消し、また、鍵のオン/オフの演奏データ以
外に鍵タッチに応じた音量変化をもデータとして記憶し
ておき、これに基づき自動演奏を行うものは鍵タッチを
検出するハードウェアや処理が必要であり、構成が複雑
になって装置自体が高価になってしまうという欠点を解
消し、さらに、鍵タッチに関するデータを有する高機能
の自動演奏装置であっても未熟な演奏者が弾いた演奏デ
ータは音量の起伏が貧弱で、音楽性豊かな自動演奏がで
きないという欠点を解消するなめになされたもので、鍵
タッチに間するデータを用いなくても音楽性豊かな自動
演奏ができる安価な自動演奏装置を提供するとともに、
鍵タッチに関するデータの有無に拘わらず未熟な演奏者
が弾いた演奏データであっても音楽性豊かな自動演奏が
できる自動演奏装置を提供することを目的とする。
(Problems to be Solved by the Invention) As described above, when the performance data played by a performer is stored in the memory, only the on/off of the key is stored in the memory as the performance data, and based on this, This eliminates the drawback that automatic performance does not change the volume, which significantly impairs musicality, and also stores volume changes in response to key touches as data in addition to key on/off performance data. , devices that perform automatically based on this require hardware and processing to detect key touches, which eliminates the disadvantages of complicated configurations and expensive devices. This was developed to solve the problem that even with highly functional automatic performance devices, the performance data played by an inexperienced player has poor volume undulations, making it impossible to perform automatic performances with rich musicality. In addition to providing an inexpensive automatic performance device that can perform automatically with rich musicality without using data between touches,
To provide an automatic performance device capable of automatic performance with rich musicality even with performance data played by an inexperienced player, regardless of the presence or absence of data related to key touches.

[発明の構成] (課題を解決するための手段) 本発明の自動演奏装置は、上記課題を解決するために、
記録モード又は自動演奏モードを選択する選択手段と、
この選択手段で記録モードが選択された際、演奏者が弾
いた演奏データを記憶する記憶手段と、前記選択手段で
自動演奏モードが選択された際、前記記憶手段に記憶さ
れた演奏データを読出して楽音を発生する楽音発生手段
とを具備する自動演奏装置において、前記選択手段で自
動演奏モードが選択された際に自動音量制御を行うか否
かを指定する指定手段と、この指定手段で自動音量制御
を行うことが指定された際、前記記憶手段内の演奏デー
タに含まれる音量データを音程データの変化に応じて補
正し、放音すべき音量を制御する音量制御手段とを具備
したことを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, the automatic performance device of the present invention has the following features:
Selection means for selecting recording mode or automatic performance mode;
When the recording mode is selected by the selection means, there is a storage means for storing the performance data played by the performer, and when the automatic performance mode is selected by the selection means, the performance data stored in the storage means is read out. and a musical sound generating means for generating a musical tone by the selection means, a designation means for specifying whether or not automatic volume control is to be performed when the automatic performance mode is selected by the selection means; and a volume control means for correcting the volume data included in the performance data in the storage means according to a change in pitch data and controlling the volume to be emitted when volume control is specified. It is characterized by

(作用) 本発明は、自動演奏モードにおいて、さらに自動音量制
御を行うか否かを指定可能にし、自動音量制御を行うこ
とが指定された際に、予め演奏者が演奏して記憶手段に
記憶している演奏データを読出し、該演奏データ中の音
量データを、同じく演奏データに含まれる音程データの
変化に応じて補正し、この補正された音量データに基づ
いて音量が制御された楽音を発生するようにしている。
(Function) The present invention makes it possible to specify whether or not to perform automatic volume control in the automatic performance mode, and when automatic volume control is specified, the performer performs the performance in advance and stores it in the storage means. reads the performance data that is being played, corrects the volume data in the performance data according to changes in pitch data also included in the performance data, and generates a musical tone whose volume is controlled based on the corrected volume data. I try to do that.

これにより、鍵のオン/オフのみを演奏データとして有
する自動演奏装置であっても好ましい音量の変化が発生
し、音楽性豊かな自動演奏を行うことができるものとな
っている。また、鍵のオン/オフの演奏データ以外に鍵
タッチに応じた音量変化をもデータとして有する自動演
奏装置のように鍵タッチを検出するハードウェアや処理
が不要であるので、簡単な構成で廉価な自動演奏装置を
実現できる。
As a result, even in an automatic performance device that has only key on/off data as performance data, desirable changes in volume occur and automatic performance with rich musicality can be performed. In addition, it has a simple configuration and low cost because it does not require any hardware or processing to detect key touches, unlike automatic performance devices that have volume changes in response to key touches as data in addition to key on/off performance data. It is possible to realize an automatic performance device.

さらに、鍵タッチに関するデータを有する高機能の自動
演奏装置を未熟な演奏者が弾いた演奏データであっても
音量変化の起伏が増長され、音楽性豊かな自動演奏がで
きるものとなっている。
Furthermore, even if the performance data is played by an inexperienced player using a highly functional automatic performance device that has data related to key touches, the undulations of volume changes are enhanced, and automatic performance with rich musicality is possible.

(実施例) 第1図は、本発明に係る自動演奏装置の要部のブロック
図である。
(Embodiment) FIG. 1 is a block diagram of main parts of an automatic performance device according to the present invention.

図において、1は鍵スィッチ回路であり、キーボードの
各錘の押鍵又は離鍵に応じて開閉するキースイッチを含
み、このキースイッチはマトリックス構成となっている
In the figure, reference numeral 1 denotes a key switch circuit, which includes a key switch that opens and closes in response to the depression or release of each weight of the keyboard, and the key switch has a matrix configuration.

2は操作子スイッチ回路てあり、操作パネルに設けられ
た電源スィッチ、メロディ選択スイッチ、リズム選択ス
イッチ等の各種スイッチの他、本発明の特徴に関係する
動作モードを指定するモードスイッチ、このモードスイ
ッチがオンにされた時に有効になる記録モードを指定す
るスイッチ及び自動音量制御モードを指定するスイッチ
くいずれも図示しない)が含まれている。
Reference numeral 2 denotes an operator switch circuit, which includes various switches provided on the operation panel such as a power switch, a melody selection switch, and a rhythm selection switch, as well as a mode switch for specifying an operation mode related to the features of the present invention, and this mode switch. The switch includes a switch for specifying a recording mode that becomes effective when the switch is turned on, and a switch for specifying an automatic volume control mode (none of which are shown).

3はマイクロコンピュータであり、CPU (中央処理
装置)31、プログラムメモリ32、及びワーキングメ
モリ33により構成されている。
3 is a microcomputer, which is composed of a CPU (central processing unit) 31, a program memory 32, and a working memory 33.

CPU31はプログラムメモリ32に記憶された制御プ
ログラムに従って動作し、装置内各部を制御するもので
ある。
The CPU 31 operates according to a control program stored in the program memory 32 and controls each part within the apparatus.

プログラムメモリ32は、例えばROM (読出専用記
憶装置)により構成されるものである。このプログラム
メモリ32には、上述した制御プログラムの他、CPU
31の動作に必要な各種の固定データが含まれる。
The program memory 32 is composed of, for example, a ROM (read-only storage device). This program memory 32 includes, in addition to the above-mentioned control program, a CPU
It includes various types of fixed data necessary for the operation of 31.

ワーキングメモリ33は、例えばRAM (書換え可能
記憶装置)により構成されるものである。
The working memory 33 is composed of, for example, a RAM (rewritable storage device).

このワーキングメモリ33には、CPU31の処理に必
要なレジスタやフラグ類が定義されるとともに、データ
を一時記憶するバッファ領域等が設けられている。CP
U31は、このRAM33に定義されたレジスタやフラ
グの状態に応じて処理を進めるものである。
The working memory 33 defines registers and flags necessary for processing by the CPU 31, and is also provided with a buffer area for temporarily storing data. C.P.
U31 advances processing according to the states of registers and flags defined in this RAM33.

演奏データメモリ4は、例えばRAMにより構成される
もので、演奏者が弾いた演奏データあるいは作成された
演奏データを記憶するものである。
The performance data memory 4 is composed of, for example, a RAM, and stores performance data played by a player or created performance data.

自動演奏を行うときは、この演奏データメモリ4に記憶
された演奏データに基づいて放音されることになる。
When performing an automatic performance, sound is emitted based on the performance data stored in the performance data memory 4.

関数テーブル5は、後述する音量データに補正を加える
際の補正値を算出する関数テーブルを記憶するものであ
る。この関数テーブルについても後に詳述する。
The function table 5 stores a function table for calculating a correction value when correcting sound volume data, which will be described later. This function table will also be explained in detail later.

テンポ発振器6は、操作パネルの操作子に応じた所定の
テンポで自動演奏を行うべく、動作タイミングを生成す
るものである。
The tempo oscillator 6 generates operation timing to perform automatic performance at a predetermined tempo depending on the operators on the operation panel.

鍵盤用楽音信号発生回路7は、キーボードが操作される
ことにより鍵スィッチ回路1が動作し、これにより生成
された信号に応じて楽音を発生するものである。即ち、
通常の演奏形態で楽音を発生する際に動作する回路であ
る。この鍵盤用楽音信号発生回路7の出力は増幅器9に
供給されるようになっている。
The musical tone signal generation circuit 7 for the keyboard operates the key switch circuit 1 when the keyboard is operated, and generates a musical tone in response to a signal generated thereby. That is,
This is a circuit that operates when generating musical tones in a normal performance format. The output of this keyboard musical tone signal generation circuit 7 is supplied to an amplifier 9.

自動演奏用楽音信号発生回路8は、演奏データメモリ4
から読出された演奏データに応じて楽音を発生するもの
である。即ち、自動演奏の演奏形態で楽音を発生する際
に動作する回路である。この自動演奏用楽音信号発生回
路8の出力も増幅器9に供給されるようになっている。
The automatic performance musical tone signal generation circuit 8 is connected to the performance data memory 4.
Musical tones are generated in accordance with the performance data read from the . That is, it is a circuit that operates when generating musical tones in an automatic performance mode. The output of this automatic performance musical tone signal generation circuit 8 is also supplied to an amplifier 9.

増幅器9は、鍵盤用楽音信号発生回路7又は自動演奏用
楽音信号発生回路8から出力される楽音信号を増幅する
ものである。この増幅器9の出力はサウンドシステム1
0に供給されるようになっている。
The amplifier 9 amplifies the musical tone signal output from the musical tone signal generating circuit 7 for the keyboard or the musical tone signal generating circuit 8 for automatic performance. The output of this amplifier 9 is the sound system 1
0.

サウンドシステム10は、例えばスピーカ又はヘッドホ
ンで構成されるもので、このサウンドシステム10によ
り楽音が放音出力されるようになっている。
The sound system 10 is composed of, for example, speakers or headphones, and is configured to output musical sounds.

なお、上コ己鍵スイッチ回路]、操作子スイッチ回路2
、CPU31、プログラムメモリ32、ワーキングメモ
リ33、演奏データメモリ4、関数テーブル5、テンポ
発振器6、鍵盤用楽音信号発生回路7及び自動演奏用楽
音信号発生回路8はバス11により相互に接続されてい
る。
In addition, the upper key switch circuit], the operator switch circuit 2
, CPU 31, program memory 32, working memory 33, performance data memory 4, function table 5, tempo oscillator 6, keyboard musical tone signal generation circuit 7, and automatic performance musical tone signal generation circuit 8 are interconnected by a bus 11. .

第2図は演奏データメモリ4に記憶される演奏データの
形式を示すものである0図において、「N」は音程(ノ
ート)データを示し5キーボードの鍵番号に対応するも
のである。この音程データは0〜127の128段階が
指定できるようになっている、「V」は音量(ベロシテ
ィ)データを示し、鍵タッチの強弱や速度に応じてO〜
127段階の音量が指定できるようになっている。なお
、この音量データがゼロのときはノートオフ、つまり音
が出力されない状態を意味する。「TJは時間(ゲート
)データを示し、発音時間又は消音時間を指定する。な
お、添字は時系列番号を表す。
FIG. 2 shows the format of the performance data stored in the performance data memory 4. In FIG. 0, "N" indicates pitch (note) data and corresponds to the key number of the keyboard. This pitch data can be specified in 128 steps from 0 to 127. "V" indicates volume (velocity) data, and depending on the strength and speed of the key touch, it can be specified from O to 127.
The volume can be set in 127 levels. Note that when this volume data is zero, it means note-off, that is, a state in which no sound is output. "TJ indicates time (gate) data and specifies the sounding time or muting time. Note that the subscript represents the time series number.

上記形式の演奏データを用いて楽譜の一部を表現した例
を第3図に示す。即ち、小節の先頭(時刻i)で出現す
る付点二分音符を、音程データNiとして音高に応じた
「4」、音量データViとして所定値r127J、時間
データTiとして発音時間に応じたro、75Jで表し
、次の時刻i+1で出現する四分休符を、音程データN
iとして元の音高と同じ「4」、音量データViとして
ノートオフを表す「0」、時間データTiとして休止時
間に応じたro、25Jで表わす。以下、同様にして上
記演奏データで種々の楽音を表現するようになっている
FIG. 3 shows an example in which a part of a musical score is expressed using performance data in the above format. That is, the dotted half note that appears at the beginning of the measure (time i) is set to "4" as pitch data Ni depending on the pitch, a predetermined value r127J as volume data Vi, ro depending on the sounding time as time data Ti, 75J, and the quarter rest that appears at the next time i+1 is expressed as pitch data N.
The i is represented by "4" which is the same as the original pitch, the volume data Vi is represented by "0" representing note-off, and the time data Ti is represented by ro, 25J, which corresponds to the pause time. Thereafter, various musical tones are expressed using the performance data in the same manner.

第4図は、関数テーブル5に記憶される間数データを示
すもので、差分値DIFに対応して変化分■′iが記憶
されている。ここで、差分値DIFとは、現在の音程デ
ータと1つ前の音程データとの差をいう、また、変化分
V′iとは、音量データの補正量をいう。この間数テー
ブル5の詳細については後述する。
FIG. 4 shows the interval number data stored in the function table 5, in which the variation ■'i is stored corresponding to the difference value DIF. Here, the difference value DIF refers to the difference between the current pitch data and the previous pitch data, and the change amount V'i refers to the amount of correction of the volume data. The details of the interval number table 5 will be described later.

次に、上記構成において動作を説明する。Next, the operation in the above configuration will be explained.

第5図は、この発明の自動演奏装置のメインフローチャ
ートを示すものである。
FIG. 5 shows a main flowchart of the automatic performance device of the present invention.

電源投入又はリセット操作が行われると処理が開始され
、まず、初期設定処理が行われる(ステップSL)。即
ち、CPU31の内部レジスタを初期化するとともに、
ワーキングメモリ33に定義されているレジスタやフラ
グ類を初期値に設定するとともに、所定のハードエラエ
アを初期化する0次いで、操作パネルのモードスイッチ
がオンになっているか否かを調べる(ステップS2)。
Processing starts when the power is turned on or a reset operation is performed, and first, initial setting processing is performed (step SL). That is, while initializing the internal registers of the CPU 31,
The registers and flags defined in the working memory 33 are set to initial values, and the predetermined hardware errors are initialized.Next, it is checked whether the mode switch on the operation panel is turned on (step S2). ).

ここで、モードスイッチがオンになっていないことが判
断されると、キーイベントがあるか否か、つまりキーボ
ードが操作されることにより鍵スィッチ回路1からオン
又はオフ信号が供給されているか否かが調べられる(ス
テップS3)、そして、キーイベントがないことが判断
されるとステップS2に戻り、以下ステップS2及びS
3を繰り返し実行しながら、モードスイッチが押される
か又はキーイベントがあるまで待ち状態に入る。
Here, if it is determined that the mode switch is not turned on, it is determined whether there is a key event or not, that is, whether an on or off signal is supplied from the key switch circuit 1 by operating the keyboard. is checked (step S3), and if it is determined that there is no key event, the process returns to step S2, and the following steps S2 and S
3 is repeated until the mode switch is pressed or a key event occurs.

上記待ち状態において、キーイベントがあったことが判
断されると、発音/消音処理を行う(ステップS4)、
即ち、鍵スィッチ回路1から送られてきた信号が押鍵の
イベントがあったことを示しているときは発音処理が行
われ、離鍵のイベントがあったことを示しているときは
消音処理が行われる。この発音又は消音処理は、押鍵又
は離鍵に応じた演奏データを鍵盤用楽音信号発生回路7
に送り出し、この鍵盤用楽音信号発生回路7で演奏デー
タに応じた楽音信号を発生し、さらに増幅器9で増幅し
てサウンドシステム10で放音叉は消音することにより
行われる。
In the waiting state, when it is determined that a key event has occurred, a sound generation/mute process is performed (step S4);
That is, when the signal sent from the key switch circuit 1 indicates that a key press event has occurred, sound generation processing is performed, and when the signal indicates that a key release event has occurred, mute processing is performed. It will be done. This sound generation or muting process is performed by transmitting performance data corresponding to key depression or key release to the keyboard musical tone signal generation circuit 7.
The musical tone signal generating circuit 7 for the keyboard generates a musical tone signal corresponding to the performance data, which is further amplified by the amplifier 9, and the sound system 10 mutes the sound from the sound emitting fork.

上記発音/消音処理が完了するとステップS2に戻り、
再度、待ち状態に入る。以下、モードスイッチがオンに
されない限り、キーイベントが発生する都度、発音又は
消音処理が実行されることになる。
When the above sound generation/mute processing is completed, the process returns to step S2,
Enters wait state again. Thereafter, unless the mode switch is turned on, the sound production or mute processing will be executed every time a key event occurs.

一方、上記ステップS2及びS3の繰り返し実行による
待ち状態において、モードスイッチがオンになったこと
が判断されると、記録モードであるか否かが調べられる
(ステップS5)。そして、記録モードであることが判
断されると演奏記憶処理が実行される(ステップS6)
。この演奏記憶処理は、演奏者がキーボードを用いて弾
いた演奏を、第2図に示した形式の演奏データとして順
次演奏データメモリ4に記憶する処理である。この際、
上記記憶動作と並行して鍵盤用楽音信号発生回路7によ
り楽音信号を発生し、サウンドシステム10により放音
するようになっている。この演奏記憶処理が完了すると
ステップS2に戻り、待ち状態に入る。以下、モードス
イッチがオフにされるか、又は自動音量制御モードに変
更されない限り、演奏記憶処理が継続されることになる
On the other hand, when it is determined that the mode switch is turned on in the waiting state resulting from the repeated execution of steps S2 and S3, it is checked whether or not the mode is the recording mode (step S5). Then, when it is determined that the mode is recording mode, performance storage processing is executed (step S6).
. This performance storage process is a process in which performances played by the player using the keyboard are sequentially stored in the performance data memory 4 as performance data in the format shown in FIG. On this occasion,
In parallel with the above storage operation, a musical tone signal for the keyboard is generated by the musical tone signal generating circuit 7, and the sound signal is emitted by the sound system 10. When this performance storage process is completed, the process returns to step S2 and enters a waiting state. Thereafter, the performance storage process will continue unless the mode switch is turned off or the mode is changed to automatic volume control mode.

上記ステップS5で記録モードでないことが判断される
と自動演奏モードであると判断し、自動音量制御モード
であるか否かが調べられる(ステップS7)。そして、
自動音量制御モードてないことが判断されると1通常の
自動演奏処理を実行しくステップS8)、自動音量M御
モードであることが判断されると、この発明の特徴であ
る自動音量制御演奏処理を実行する(ステップS9>。
If it is determined in step S5 that the mode is not the recording mode, it is determined that the mode is automatic performance mode, and it is checked whether or not the mode is automatic volume control mode (step S7). and,
If it is determined that the automatic volume control mode is not set, normal automatic performance processing is executed (step S8), and if it is determined that the automatic volume control mode is set, the automatic volume control performance processing that is a feature of the present invention is executed. (Step S9>).

上記自動演奏処理(ステップS8)では、先に実行され
た演奏記憶処理(ステップS6)により演奏データメモ
リ4に記憶された演奏データを、操作パネルで指定され
た領域から読出して自動演奏用楽音信号発生回路8に送
り出し、この自動演奏用楽音信号発生回路8で演奏デー
タに応じた楽音信号を発生し、さらに増幅器9で増幅し
てサウンドシステム10で放音する。
In the automatic performance process (step S8), the performance data stored in the performance data memory 4 in the previously executed performance storage process (step S6) is read out from the area specified on the operation panel to generate musical tone signals for automatic performance. The automatic performance musical tone signal generating circuit 8 generates a musical tone signal according to the performance data, which is further amplified by an amplifier 9 and is emitted by a sound system 10.

この自動演奏処理が完了するとステップS2に戻り、待
ち状態に入る。以下、上記各モードが変更されない限り
、自動演奏が継続されることになる。
When this automatic performance processing is completed, the process returns to step S2 and enters a waiting state. Thereafter, automatic performance will continue unless the above modes are changed.

また、上記自動音量i!1IJ1s演奏処理(ステップ
S9)では、先に実行された演奏記憶処理(ステップS
6)により演奏データメモリ4に記憶された演奏データ
を、操作パネルにより指定された領域から読出し、所定
の補正処理(詳細は後述する)を施して自動演奏用楽音
信号発生回路8に送り出し、この自動演奏用楽音信号発
生回路8で演奏データに応じた楽音信号を発生し、さら
に増幅器って増幅してサウンドシステム10で放音する
In addition, the automatic volume i! 1IJ1s performance processing (step S9), the previously executed performance storage processing (step S9)
The performance data stored in the performance data memory 4 in step 6) is read from the area specified by the operation panel, subjected to predetermined correction processing (details will be described later), and sent to the automatic performance musical tone signal generation circuit 8. A musical tone signal generation circuit 8 for automatic performance generates a musical tone signal according to the performance data, which is further amplified by an amplifier and then emitted by a sound system 10.

この自動音量制御演奏処理が完了するとステップS2に
戻り、待ち状態に入る。以下、上記各モードが変更され
ない限り、音量を自動的に制御した演奏が継続されるこ
とになる。
When this automatic volume control performance processing is completed, the process returns to step S2 and enters a waiting state. Thereafter, unless the above modes are changed, the performance with the volume automatically controlled will continue.

上記補正処理の動作を第6図のフローチャートを参照し
つつ説明する。まず、1つ前の音程データを記憶する領
域LASTをゼロに初期化する(ステップ5IO)、次
いで、演奏データに含まれる音量データviがゼロであ
るか否かを調べる(ステップ5ll)、ここで、音量デ
ータがゼロであることが判断されると、ノートオフの状
態であるので何等の処理をも施さずに補正処理を終了す
る。
The operation of the above correction process will be explained with reference to the flowchart of FIG. First, the area LAST that stores the previous pitch data is initialized to zero (step 5IO), and then it is checked whether the volume data vi included in the performance data is zero (step 5ll). If it is determined that the volume data is zero, the correction process is terminated without performing any processing because it is in a note-off state.

一方、音量データViがゼロでないことが判断されると
、演奏データに含まれる音程データNiを所定の音量に
補正した楽音を放音する。即ち、現在の音程データNi
と1つ前の音程データLASTとの差分値DIFを算出
する(ステップ512)。次いて、次の演奏データの処
理に備えて、現在の音程データNiを1つ前の音程デー
タを記憶する領域LASTに記憶する(ステップS13
〉。
On the other hand, if it is determined that the volume data Vi is not zero, a musical tone with the pitch data Ni included in the performance data corrected to a predetermined volume is emitted. That is, the current pitch data Ni
and the previous pitch data LAST is calculated (step 512). Next, in preparation for processing the next performance data, the current pitch data Ni is stored in the area LAST that stores the previous pitch data (step S13).
〉.

そして、上記差分値DIFを用いて関数テーブル5を参
照し、変化分v′iを求める(ステップ514)、関数
テーブル5は、例えば第4図に示すように、差分値DI
Fと変化分V′iとが一対になったデータが所定個数だ
け記憶されてなるものである1次に、上記関数テーブル
5により求めた差分値V′iを現在の音量データViに
加え、新しい音量データViとしくステップ515)、
一連の補正処理を終了する。
Then, the function table 5 is referred to using the above-mentioned difference value DIF, and the variation v'i is determined (step 514).
A predetermined number of pairs of data of F and variation V'i are stored. Next, the difference value V'i obtained from the function table 5 is added to the current volume data Vi, and Set the new volume data Vi step 515),
The series of correction processing ends.

このようにして補正された音量データViと、音程デー
タNi及び時間データTとを演奏データとして自動演奏
用楽音信号発生回路8に送出することにより、音量が自
動的に制御された自動演奏が可能となっている。
By sending the thus corrected volume data Vi, pitch data Ni, and time data T to the automatic performance musical tone signal generation circuit 8 as performance data, automatic performance with the volume automatically controlled is possible. It becomes.

次に、上記音量データの補正処理の具体的な例について
説明する。
Next, a specific example of the above-mentioned volume data correction process will be described.

第7図に示すようなメロディの音楽が演奏記憶処理によ
り演奏データメモリ4に記憶されているものとする。な
お、この自動演奏装置には鍵タッチを検出する機能は備
えられておらず、したがって、音量データの初期値はr
loOJであるものとする。
It is assumed that music with a melody as shown in FIG. 7 is stored in the performance data memory 4 through performance storage processing. Note that this automatic performance device is not equipped with a function to detect key touches, so the initial value of the volume data is r.
It is assumed that loOJ.

まず、演奏データメモリ4がら■の演奏データを読出す
、この場合、LASTの初期値はゼロであるので、差分
値DIFは「64Jとなり、第4図に示す関数テーブル
を参照すると変化分v′iは「0」であるので、補正後
の音量データ、つまり補正値Viは「100」となる、
この■の演奏データによりLASTには「64」が格納
される。
First, the performance data ① is read from the performance data memory 4. In this case, since the initial value of LAST is zero, the difference value DIF is ``64J'', and when referring to the function table shown in FIG. Since i is "0", the volume data after correction, that is, the correction value Vi, is "100".
Due to this performance data of ■, "64" is stored in LAST.

次に、演奏データメモリ4がら■の演奏データを読出す
、この処理では差分値DIFは「6264=−2Jとな
り、関数テーブルから変化分「■’1=−54を得る。
Next, the performance data ``■'' is read from the performance data memory 4. In this process, the difference value DIF becomes ``6264=-2J,'' and the change ``■'1=-54 is obtained from the function table.

したがって、補正値Viは。Therefore, the correction value Vi is.

r 100−5=95Jとなる。r 100-5=95J.

同様にして、■の演奏データに対しては、差分値DIF
はr60−62=−2Jとなり、関数テーブルから変化
分子V’1=−5」を得、補正値Viは、rloo−5
=95Jとなる。
Similarly, for the performance data of ■, the difference value DIF
is r60-62=-2J, the change numerator V'1=-5'' is obtained from the function table, and the correction value Vi is rlooo-5
=95J.

以下、同様にして、各演奏データに対して第8図の補正
値Vi11に示すような音量データが得られる。つまり
、音量の変化のない演奏データから音量変化を有する演
奏データが得られるものとなっている。
Thereafter, volume data as shown in the correction value Vi11 in FIG. 8 is obtained for each performance data in the same manner. In other words, performance data with a change in volume can be obtained from performance data with no change in volume.

以上のように、自動演奏モードにおいて、自動音量制御
を行うか否かを指定可能にし、自動音量制御を行うこと
が指定された際に、予め演奏者が演奏して演奏データメ
モリ4に記憶している演奏データを読出し、この演奏デ
ータ中の音量データVを、同じく演奏データに含まれる
音程データNの変化に応じて補正し、この補正された音
量データ■に基づいて音量が制御された楽音を発生する
ようにしたので、鍵のオン/オフのみを演奏データとし
て有する自動演奏装置であっても音量の変化を生ぜしめ
ることがてき、音楽性豊かな自動演奏をできるものとな
っている。
As described above, in the automatic performance mode, it is possible to specify whether or not to perform automatic volume control, and when automatic volume control is specified, the performer performs in advance and stores it in the performance data memory 4. A musical tone whose volume is controlled based on the corrected volume data (1) is created by reading out the performance data contained in the performance data, correcting the volume data V in this performance data according to changes in the pitch data N also included in the performance data. As a result, even an automatic performance device having only key on/off data as performance data can cause a change in volume, making it possible to perform an automatic performance with rich musicality.

また、鍵タッチに応じた音量変化をもデータとして有す
る自動演奏装置のように鍵タッチを検出するハードウェ
アや処理がない簡単な構成で廉価であるにも拘わらず音
量変化を伴う音楽性豊かな自動演奏装置を実現できる。
In addition, unlike automatic performance devices, which have volume changes in response to key touches as data, they do not have hardware or processing to detect key touches, and are simple and inexpensive. An automatic performance device can be realized.

さらに、鍵タッチを検出するハードウェア及び処理手段
を備え、この鍵タッチに関するデータをも含めて自動演
奏を行う高機能の自動演奏装置に本発明を適用すると、
未熟な演奏者が弾いた単調な演奏データであっても音量
変化の起伏が増長され、音楽性豊かな自動演奏ができる
ものとなっている。
Furthermore, if the present invention is applied to a high-performance automatic performance device that is equipped with hardware and processing means for detecting key touches and performs automatic performances including data related to key touches,
Even with monotonous performance data played by an inexperienced performer, the undulations of volume changes are enhanced, allowing automatic performance with rich musicality.

なお、上記実施例では関数テーブルの一例として、第4
図に示す関数特性を有するものを示したが、これに限定
されるものではない、差分値DIFに対する変化分■′
iの各値(絶対値)をさらに大きくとり、音量変化の程
度を大きくさせることもできる。また、差分値DIFの
増加又は減少に応じて変化する変化分V′iの増加又は
減少の割合は図示例よりも大きくしても良く、才な小さ
くしても良いにのように間数テーブルに記憶する関数を
変えることにより、種々の音楽的効果を有する自動演奏
が可能となる。
In addition, in the above embodiment, the fourth function table is used as an example of the function table.
Although the function characteristics shown in the figure are shown, the variation with respect to the difference value DIF is not limited to this.
It is also possible to increase each value (absolute value) of i to increase the degree of change in volume. Furthermore, the rate of increase or decrease in the change amount V'i that changes according to the increase or decrease in the difference value DIF may be made larger or smaller than in the illustrated example. By changing the functions stored in the memory, automatic performances with various musical effects are possible.

[発明の効果] 以上詳述したように、本発明によれば鍵タッチに関する
データを用いなくても音楽性豊かな自動演奏を行うこと
ができる安価な自動演奏装置を提供できるとともに、鍵
タッチに関するデータの有無に拘わらず未熟な演奏者が
弾いた演奏データであっても音楽性豊かな自動演奏がで
きる自動演奏装置を提供できる。
[Effects of the Invention] As described in detail above, according to the present invention, it is possible to provide an inexpensive automatic performance device that can perform automatic performances with rich musicality without using data related to key touches, and also to provide data related to key touches. To provide an automatic performance device capable of automatic performance with rich musicality even with performance data played by an inexperienced player, regardless of the presence or absence of the data.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の自動演奏装置の構成を示すブロック図
、 第2図は本発明の演奏データの形式を説明するための図
、 第3図は本発明の音符と演奏データとの関係を説明する
ための図、 第4図は本発明の関数テーブルの一例を示す図、第5図
は本発明の全体的な動作を説明するためのフローチャー
ト、 第6図は本発明の音量データ補正処理動作を説明するた
めのフローチャート、 第7図及び第8図は本発明の具体的な動作を説明するた
めの図である。 1・・・鍵スィッチ回路、2・・・操作子スイッチ回路
(選択手段、指定手段)、3・・・マイクロコンピュー
タ(音量制御手段)、4・・・演奏データメモリ(記憶
手段)、5・・・関数テーブル(音量制御手段)、7・
・・鍵盤用楽音信号発生回路、8・・・自動演奏用楽音
信号発生回路(楽音発生手段)6 N。 V。 T。 Nm4Vrn−I  Tm−+ Nm  Vm  Tm T:a−1を覇テータ )1トデータの形式′ 第2図 第3図
FIG. 1 is a block diagram showing the configuration of an automatic performance device of the present invention, FIG. 2 is a diagram for explaining the format of performance data of the present invention, and FIG. 3 is a diagram showing the relationship between musical notes and performance data of the present invention. Figure 4 is a diagram showing an example of a function table of the present invention; Figure 5 is a flowchart for explaining the overall operation of the present invention; Figure 6 is a volume data correction process of the present invention. Flow chart for explaining the operation. FIGS. 7 and 8 are diagrams for explaining the specific operation of the present invention. DESCRIPTION OF SYMBOLS 1... Key switch circuit, 2... Operator switch circuit (selection means, designation means), 3... Microcomputer (volume control means), 4... Performance data memory (storage means), 5. ...Function table (volume control means), 7.
. . . Musical tone signal generation circuit for keyboard, 8 . . . Musical tone signal generation circuit for automatic performance (musical tone generation means) 6 N. V. T. Nm4Vrn-I Tm-+ Nm Vm Tm T: a-1 = 1 data format' Fig. 2 Fig. 3

Claims (1)

【特許請求の範囲】 記録モード又は自動演奏モードを選択する選択手段と、 この選択手段で記録モードが選択された際、演奏者が弾
いた演奏データを記憶する記憶手段と、前記選択手段で
自動演奏モードが選択された際、前記記憶手段に記憶さ
れた演奏データを読出して楽音を発生する楽音発生手段
とを具備する自動演奏装置において、 前記選択手段で自動演奏モードが選択された際に自動音
量制御を行うか否かを指定する指定手段と、 この指定手段で自動音量制御を行うことが指定された際
、前記記憶手段内の演奏データに含まれる音量データを
音程データの変化に応じて補正し、放音すべき音量を制
御する音量制御手段と を具備したことを特徴とする自動演奏装置。
[Claims] Selection means for selecting a recording mode or automatic performance mode; storage means for storing performance data played by a performer when the recording mode is selected by the selection means; an automatic performance device comprising musical sound generation means for reading performance data stored in the storage means and generating a musical sound when a performance mode is selected; a specification means for specifying whether or not to perform volume control; and when automatic volume control is specified by this specification means, the volume data included in the performance data in the storage means is changed according to changes in pitch data; An automatic performance device comprising a volume control means for correcting and controlling the volume to be emitted.
JP2161288A 1990-06-21 1990-06-21 automatic performance device Pending JPH0452692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2161288A JPH0452692A (en) 1990-06-21 1990-06-21 automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2161288A JPH0452692A (en) 1990-06-21 1990-06-21 automatic performance device

Publications (1)

Publication Number Publication Date
JPH0452692A true JPH0452692A (en) 1992-02-20

Family

ID=15732262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2161288A Pending JPH0452692A (en) 1990-06-21 1990-06-21 automatic performance device

Country Status (1)

Country Link
JP (1) JPH0452692A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7060886B2 (en) * 2002-11-06 2006-06-13 Oki Electric Industry Co., Ltd. Music playback unit and method for correcting musical score data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7060886B2 (en) * 2002-11-06 2006-06-13 Oki Electric Industry Co., Ltd. Music playback unit and method for correcting musical score data

Similar Documents

Publication Publication Date Title
JP2896716B2 (en) Automatic performance device
JP2756877B2 (en) Phrase playing device
JP3296518B2 (en) Electronic musical instrument
JPH05158468A (en) Touch response setting device for keyboard
JPH02131292A (en) Automatic playing device
JPH0452692A (en) automatic performance device
JP3609045B2 (en) Automatic performance device
JP4214845B2 (en) Automatic arpeggio device and computer program applied to the device
JPH08106285A (en) Automatic playing device
JPH10288987A (en) Electronic musical instrument and musical sound control data generating device
JP3430894B2 (en) Chord detection method, chord detection device, and recording medium recording chord detection program
JP3105132B2 (en) Tone generator for electronic musical instruments
JP4835434B2 (en) Performance pattern playback device and computer program therefor
JP3424989B2 (en) Automatic accompaniment device for electronic musical instruments
JPH0926787A (en) Tone control device
JP2665854B2 (en) Automatic performance device
JPH05289662A (en) Automatic effect selecting device
JP4835433B2 (en) Performance pattern playback device and computer program therefor
JP3324881B2 (en) Automatic performance device
JP2760398B2 (en) Automatic performance device
JP2953937B2 (en) Electronic musical instrument volume control device
JP3231895B2 (en) Electronic musical instrument
JPH08221072A (en) Automatic accompaniment device
JPH0863159A (en) Automatic playing device
JPH06250650A (en) Electronic musical instrument