JPH03200287A - Automatic player - Google Patents

Automatic player

Info

Publication number
JPH03200287A
JPH03200287A JP1343201A JP34320189A JPH03200287A JP H03200287 A JPH03200287 A JP H03200287A JP 1343201 A JP1343201 A JP 1343201A JP 34320189 A JP34320189 A JP 34320189A JP H03200287 A JPH03200287 A JP H03200287A
Authority
JP
Japan
Prior art keywords
tone
performance
timbre
data
demo
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
JP1343201A
Other languages
Japanese (ja)
Other versions
JP2927848B2 (en
Inventor
Satoshi Suzuki
敏 鈴木
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 JP1343201A priority Critical patent/JP2927848B2/en
Publication of JPH03200287A publication Critical patent/JPH03200287A/en
Application granted granted Critical
Publication of JP2927848B2 publication Critical patent/JP2927848B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To listen to a play sound of selected timbre by enabling a player to generate the play sound with a play pattern assigned to the selected timbre by a musical sound generating means when the timbre is selected by a timbre selecting means. CONSTITUTION:This device is equipped with timbre selecting means SW1- SW2 which selects optional timbre among plural kinds of timbre and a storage means stored with play data on play patterns assigned to the respective kinds of timbre. Further, the device is equipped with a read means 8 which reads out play data on a play pattern corresponding to timbre selected by the timbre selecting means SW1 - SWn and musical sound generating means 4 and 5 which generate a musical sound according to the play data read out of the storage means 6. Namely, when timbre is selected by the timbre selecting means SW1 - SWn and play data is read out by the read means 8, the play sound with the play pattern assigned to the selected timbre is generated by the musical sound generating means 4 and 5. Consequently, the play sound of the selected timbre which has the play pattern matching the timbre is listed to immediately.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、予め記憶された演奏データを読み出して自
動演奏を行う自動演奏装置に係り、特に、選択された音
色に適した演奏パターンの自動演奏を行う自動演奏装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic performance device that reads pre-stored performance data and performs automatic performance, and in particular, relates to an automatic performance device that reads pre-stored performance data and automatically performs a performance pattern suitable for a selected tone. The present invention relates to an automatic performance device that performs a performance.

「従来の技術」 一般に、自動演奏装置には、デモンストレーンヨン演奏
(デモ演奏)機能が設けられており、デモ演奏が指示さ
れると、予めメモリに記憶されている1曲分の演奏デー
タを順次読み出し、読み出した演奏データに基づいて楽
音を発生するようになっている。この場合、演奏パター
ンは、特定の曲に固定されており、音色を選択すること
により、同じ演奏パターンを、異なる音色でデモ演奏す
るようになっている。
``Prior Art'' Generally, automatic performance devices are equipped with a demonstration performance function, and when a demonstration performance is instructed, performance data for one song stored in memory in advance is played. The performance data is sequentially read out and musical tones are generated based on the read performance data. In this case, the performance pattern is fixed to a specific song, and by selecting a tone color, the same performance pattern is demo-played with a different tone color.

「発明が解決しようとする課題」 ところで、上述した従来の自動演奏装置においては、演
奏音の音色については任意に選択可能であるものの、常
に同じ演奏パターンでデモ演奏が行なわれろため、演奏
が単調であり、面白味に欠けていた。
``Problems to be Solved by the Invention'' By the way, in the conventional automatic performance device described above, although the timbre of the performance sound can be arbitrarily selected, the performance is monotonous because the demonstration performance is always performed using the same performance pattern. And it lacked interest.

そこで、デモ演奏時に、曲の進行に伴って音色をランダ
ムに変化させ、デモ演奏の単調さを改善した自動演奏装
置(特開昭63−132296号)が知られている。し
かしながら、このような自動演奏装置おいても、同じ演
奏パターンに対して、種々の音色がランダムに選択され
るため、これら全ての音色が、同じ演奏パターンに適し
ているとは限らず、各音色の音楽特性を十分に表現する
ことができないという問題があり、さらに、ある特定の
音色の演奏音を聞きたい場合、その音色の演奏音が発せ
られるまで待たなければならないという問題もあった。
Therefore, an automatic performance device (Japanese Patent Application Laid-Open No. 132296/1983) is known that improves the monotony of the demonstration performance by randomly changing the tone color as the song progresses during the demonstration performance. However, even in such automatic performance devices, various tones are randomly selected for the same performance pattern, so not all of these tones are suitable for the same performance pattern, and each tone is There is a problem in that the musical characteristics of the music cannot be sufficiently expressed, and furthermore, if you want to hear the performance sound of a certain tone, there is also the problem that you have to wait until the performance sound of that tone is emitted.

この発明は上述した事情に鑑みてなされたもので、選択
した音色の演奏音であって、この音色に適した演奏パタ
ーンの演奏音を即座に聞くことかでさる自動演奏装置を
提供することを目的としている。
The present invention has been made in view of the above-mentioned circumstances, and it is an object of the present invention to provide an automatic performance device that allows you to immediately listen to the performance sound of a selected tone color and a performance pattern suitable for this tone color. The purpose is

「課題を解決するための手段」 この発明は、複数の音色の中から任意の音色を選択する
音色選択手段と、前記各音色に割り当てられた演奏パタ
ーンの演奏データが、各々記憶された記憶手段と、前記
記憶手段から、前記音色選択手段によって選択された音
色に対応した演奏パターンの演奏データを読み出す読出
手段と、前記記憶手段から読み出された演奏データに基
づいて楽音を発生する楽音発生手段とを具備することを
特徴としている。
"Means for Solving the Problems" The present invention provides a timbre selection means for selecting an arbitrary timbre from a plurality of timbres, and a storage means for storing performance data of performance patterns assigned to each of the timbres. a reading means for reading performance data of a performance pattern corresponding to the timbre selected by the timbre selection means from the storage means; and a musical tone generation means for generating musical tones based on the performance data read from the storage means. It is characterized by having the following.

1作用」 上記の構成によれば、音色選択手段によって音色が選択
され、読出手段により演奏データが読み出されると、選
択された音色に割り当てられた演奏パターンの演奏音か
楽音発生手段から発せられる。
1. According to the above structure, when a tone is selected by the tone color selection means and performance data is read by the readout means, a performance sound of a performance pattern assigned to the selected tone is emitted from the musical sound generation means.

「実施例」 以下、図面を参照し、この発明の実施例について説明す
る。
"Embodiments" Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第1図はこの発明の一実施例の構成を示すブロック図で
ある。この図において、1はキーボード、2は押鍵検出
回路である。この押鍵検出回路2は、キーボードlの各
キーに設けられたキースイッチを常時走査することによ
って、各キーのオン/オフ状態を検出し、新たにオン/
オフされたキーを検出した時点で、オン/オフの別を示
すキーオン/オフ信号およびそのキーのキーコードをパ
スラインBusへ出力する。S W 1. S W e
 、 −、S W nは、n種類の音色(ピアノ、エレ
キピアノ、・・・・・・、ハープシコード)の中から所
望の音色を選択するための音色選択スイッチ、SWdは
デモ演奏の開始および停止を指示するためのデモ演奏ス
イッチである。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In this figure, 1 is a keyboard, and 2 is a key press detection circuit. This key press detection circuit 2 detects the on/off state of each key by constantly scanning the key switches provided on each key of the keyboard l, and detects the on/off state of each key.
When a key that has been turned off is detected, a key on/off signal indicating whether the key is on or off and a key code of the key are output to the pass line Bus. SW 1. SW e
, -, SW n is a tone selection switch for selecting a desired tone from n types of tones (piano, electric piano,..., harpsichord), and SWd is for starting and stopping the demo performance. This is a demo performance switch for instructing.

これら各スイッチS W 、 −S Wn、S Wdの
オン/オフ状態は、操作スイッチ検出回路3によって検
出され、そのスイッチオン/オフデータがパスラインB
USへ出力される。4は楽音信号発生回路であり、パス
ラインBUSを介してキーオンを示すキーオン信号とキ
ーコードが供給された場合、そのキーコートに対応した
音高てあって、先に設定された音色パラメータに基づく
音色の楽音信号を発生し、増幅器、スピーカ等によって
構成されるサウンドシステム5へ出力する。また、キー
オフを示すキーオフ信号およびキーコードが供給された
場合は、そのキーコードに対応する楽音信号の発生をデ
イケイ状態に設定する。このように、キーホード1にお
いて押鍵されたキーに対応する楽音がサウンドシステム
5から発音される。
The on/off state of each of these switches SW, -S Wn, and S Wd is detected by the operation switch detection circuit 3, and the switch on/off data is sent to the path line B.
Output to US. 4 is a musical tone signal generation circuit, and when a key-on signal indicating key-on and a key code are supplied via the pass line BUS, the tone pitch corresponding to the key code is generated based on the previously set tone parameters. It generates a musical tone signal and outputs it to a sound system 5 composed of an amplifier, a speaker, etc. Further, when a key-off signal indicating key-off and a key code are supplied, generation of a musical tone signal corresponding to the key code is set to a decay state. In this way, musical tones corresponding to the keys pressed on the keyboard 1 are emitted from the sound system 5.

6はデモ演奏のための演奏データが記憶されたデモ演奏
データメモリであり、ROMによって構成されている。
Reference numeral 6 denotes a demonstration performance data memory in which performance data for demonstration performance is stored, and is constituted by a ROM.

このデモ演奏データメモリ6には、第2図に示すように
、音色選択スイッチSW、〜SWnによって選択される
 n種類の各音色に適したn種類のデモ曲の演奏データ
(キーオン/オフのイベントを示す押離鍵データと、そ
のキーを示すキーコードKCDと、キーオン/オフのイ
ベント間の長さを示す符長データとからなるデータ)が
、各デモ曲の進行に従って順次記憶されている。
As shown in FIG. 2, this demo performance data memory 6 stores performance data (key-on/off events) of n types of demo songs suitable for each of the n types of tones selected by the tone selection switches SW, ~SWn. (key code KCD indicating the key, and note length data indicating the length between key-on/off events) are sequentially stored as each demo song progresses.

すなわち、ピアノの音色に最適な第1番目のデモ曲の演
奏データが、スタートアドレス5TAn以降のメモリエ
リアに書き込まれ、エレキピアノの音色に最適な第2番
目のデモ曲の演奏データが、スタートアドレスS T 
A を以降のメモリエリアに書き込まれ、・・・・・・
、ハープシコードの音色に最適な第n番目のデモ曲の演
奏データが、スタートアドレス5TAn以降のメモリエ
リアに書き込まれている。また各メモリエリアのエンド
アドレスには、各デモ曲の終了を示すエンドデータEN
Dが各々書き込まれている。
That is, the performance data of the first demo song that is most suitable for the tone of the piano is written to the memory area after the start address 5TAn, and the performance data of the second demo song that is most suitable for the tone of the electric piano is written to the memory area starting from the start address 5TAn. S T
A is written to the subsequent memory area, and...
, the performance data of the nth demo piece that is most suitable for the tone of the harpsichord is written in the memory area starting from the start address 5TAn. Also, at the end address of each memory area, there is end data EN indicating the end of each demo song.
D is written respectively.

7はテンポクロック発振器であり、設定されたテンポに
従って、インタラブド信号としてのテンプクロック信号
をパスラインBUSを介してマイクロコンピュータ8に
出力する。マイクロコンピュータ8は、パスラインBU
Sに各々接続されたプログラムメモリ9と、CPUl0
と、ワーキングメモリ11とから構成されている。プロ
グラムメモリ9はROMによって構成され、メインプロ
グラム(第4図参照)、そのサブルーヂンプログラム(
第5図、第6図参照)、およびデモ演奏インクラブドプ
ログラム(第7図)の他、第3図に示すスタートアドレ
ス参照テーブルを記憶している。このスタートアドレス
参照テーブルは、各音色に対応してデモ演奏データメモ
リ6に記憶された第1番目〜第n番目のデモ曲の演奏デ
ータのスタートアドレスSTA、〜S T A nを示
ず′ものである。
A tempo clock oscillator 7 outputs a temp clock signal as an interwoven signal to the microcomputer 8 via the pass line BUS in accordance with a set tempo. The microcomputer 8 is a pass line BU
A program memory 9 and a CPU10 each connected to
and a working memory 11. The program memory 9 is composed of a ROM, and stores the main program (see Figure 4) and its subroutine programs (see Figure 4).
In addition to the demo performance included program (see FIGS. 5 and 6) and the demo performance included program (see FIG. 7), the start address reference table shown in FIG. 3 is stored. This start address reference table does not indicate the start addresses STA to STAn of the performance data of the first to nth demo songs stored in the demo performance data memory 6 corresponding to each tone. It is.

そして、CPUl0は電源スィッチ(図示路)がオンと
された時点で、メインプログラムの実行を開始すると共
に、同プログラムを電源スィッチがオフとされるまで繰
り返して実行し、テンポクロツタ発振器7からのテンポ
クロック信号の到来時には、前記メインプログラムの処
理を中断□して、デモ演奏インクラブドを割り込み処理
する。ワーキングメモリ11はRAMで構成され、前記
各プログラムの実行中に必要なデータおよびフラグを一
時的に記憶する。これらのデータおよびフラグの内、主
なものを列挙すると次の通りである。
When the power switch (path shown in the figure) is turned on, the CPU 10 starts executing the main program and repeatedly executes the same program until the power switch is turned off. When the signal arrives, the processing of the main program is interrupted, and the demo performance included is interrupted. The working memory 11 is composed of a RAM, and temporarily stores data and flags necessary during the execution of each program. Among these data and flags, the main ones are listed below.

ロテモフラグDMF・・・・・・デモ演奏中であるか否
かを示すフラグであり、デモ演奏中は、このフラグDM
FがrNとなる。
Rotemo Flag DMF......Flag indicating whether or not a demo is being played.
F becomes rN.

ロデモモードフラグDMMF・・・・・・選択された音
色で1曲分のデモ演奏を行う選択音色プレイモードの場
合、このフラグDMMFがrlJとなり、各音色に対応
する曲を順次デモ演奏するチエインプレイモードの場合
、「0」となる。
Rodemo mode flag DMMF...In the case of selected tone play mode in which a demo performance of one song is performed using the selected tone, this flag DMMF becomes rlJ, and a chain that sequentially performs a demonstration song corresponding to each tone. In the case of play mode, it is "0".

ロクロツクデータCLK・・・・・・テンポクロック発
振器7がテンポクロック信号を出力する毎にインクリメ
ント(歩進)されるデータである。
Rock clock data CLK...This is data that is incremented (stepped) each time the tempo clock oscillator 7 outputs a tempo clock signal.

口音色ナンバデータTONE・・・・・・音色選択スイ
ッチSW+−Swnによって選択された音色を示すデー
タであり、rlJ〜rnJのいずれかの値となる。
Mouth tone color number data TONE: Data indicating the tone selected by the tone color selection switch SW+-Swn, and has any value from rlJ to rnJ.

口現在音色ナンバデータPTC・・・・・・デモ演奏を
実行する直前に選択されていた音色を示すデータである
Current timbre number data PTC: Data indicating the timbre selected immediately before executing the demo performance.

次に、上述した構成による自動演奏装置の動作を、第4
図〜第7図に示すフローチャートを参照して説明する。
Next, the operation of the automatic performance device having the above-mentioned configuration will be explained in the fourth section.
This will be explained with reference to the flowcharts shown in FIGS.

まず、電源スィッチ(図示路)がオンにされると、CP
Ul0は第4図に示すメインプログラムを実行し、ステ
ップ100においてワーキングメモリ11内の各種レジ
スタやフラグ等をクリアし、もしくは初期値を設定して
イニシャライズを行う。
First, when the power switch (path shown) is turned on, the CP
Ul0 executes the main program shown in FIG. 4, and in step 100 clears various registers, flags, etc. in the working memory 11, or initializes them by setting initial values.

この場合、クロックデータCLKは「0」に設定され、
音色ナンバーデータTONEは「1」に設定される。
In this case, the clock data CLK is set to "0",
Tone color number data TONE is set to "1".

このイニシャライズの後、CPUfOはステップlot
において、押鍵検出回路2からパスラインl3USを介
して供給される各キーのオン/オフ信号およびキーコー
ドに基づいて楽音信号発生回路4を制御し、押鍵された
各キーに対応する楽音を発生する等の鍵盤処理を実行す
る。その後、ステップ102で音色選択処理ルーチンを
実行し、ステップ103でデモ演奏処理ルーチンを実行
し、ステップ104でその他の処理を実行した後、ステ
ップ101へ戻り、以降、これらステップ101〜10
4の各処理を繰り返し実行する。
After this initialization, the CPUfO steps a lot.
, the musical tone signal generation circuit 4 is controlled based on the on/off signal and key code of each key supplied from the pressed key detection circuit 2 via the pass line l3US, and the musical tone signal generation circuit 4 is generated to generate a musical tone corresponding to each pressed key. Execute keyboard processing such as generation. After that, a tone selection processing routine is executed in step 102, a demo performance processing routine is executed in step 103, and other processing is executed in step 104, and then the process returns to step 101.
Repeat each process in step 4.

上記音色選択処理ルーチン(ステップ102)において
は、まず、第5図に示すステップ200において、操作
スイッチ検出回路3から出力されたスイッチオン/オフ
データに基づいて、各音色選択スイッチS W + =
 S W nのいずれかがオンとされた(オンイベント
有り)か否かが判別され、オンイベント有りと判断され
た場合は、ステップ201へ進む。このステップ201
においては、音色選択スイッチsw、−9Wnによって
選択され音色に対応するデータ「l」〜rnJのいずれ
かを音色ナンバデータTONEとして取り込み、この音
色ナンバデータTONEに対応する音色パラメータを楽
音発生回路4に設定する。一方、上記ステップ200に
おいて、オンイベント無しと判断された場合は、第4図
に示したメインプログラムに戻る。
In the timbre selection processing routine (step 102), first, in step 200 shown in FIG. 5, each timbre selection switch S W + =
It is determined whether any of the S W n has been turned on (an on event has occurred), and if it is determined that an on event has occurred, the process advances to step 201. This step 201
, one of the data "l" to rnJ selected by the tone selection switches sw and -9Wn and corresponding to the tone is taken in as tone color number data TONE, and the tone parameter corresponding to this tone number data TONE is sent to the musical tone generation circuit 4. Set. On the other hand, if it is determined in step 200 that there is no on event, the process returns to the main program shown in FIG.

次に、上記デモ演奏処理ルーチン(ステップ103)に
おいては、まず、第6図に示すステップ210において
、デモフラグDMFがrNか否かが判別される。そして
、デモフラグDMF’が「0」の場合、すなわち現在デ
モ演奏中でない場合は、ステップ211へ進む。このス
テップ211においては、操作スイッチ検出回路3から
出力されたスイッチオン/オフデータに基づいて、デモ
演奏スイッチSWdが押された(オンイベント有り)か
否かが判別され、オンイベント有りと判断された場合は
、デモ演奏の開始が指示されたものと見なして、ステッ
プ212へ進む。このステップ2I2において、デモフ
ラグDMFがrlJとされた後、次のステップ213へ
進む。このステップ213においては、デモ演奏を実行
する直前に選択されていた音色を示すデータを現在音色
ナンバデータPTCとして、ワーキングメモリ11に格
納し、次のステップ214へ進む。このステップ214
においては、操作スイッチ検出回路3から出力されたス
イッチオン/オフデータに基づいて、各音色選択スイッ
チSW、〜SWnのいずれかがオンとされているか否か
が判別される。すなわち、所望の音色を選択するために
音色選択スイッチSW。
Next, in the demo performance processing routine (step 103), first, in step 210 shown in FIG. 6, it is determined whether the demo flag DMF is rN. If the demo flag DMF' is "0", that is, if the demo performance is not currently in progress, the process advances to step 211. In step 211, it is determined whether or not the demonstration performance switch SWd has been pressed (an on event has occurred) based on the switch on/off data output from the operation switch detection circuit 3, and it is determined that an on event has occurred. If so, it is assumed that an instruction has been given to start the demonstration performance, and the process proceeds to step 212. In this step 2I2, after the demo flag DMF is set to rlJ, the process proceeds to the next step 213. In this step 213, data indicating the timbre selected immediately before performing the demonstration performance is stored in the working memory 11 as the current timbre number data PTC, and the process proceeds to the next step 214. This step 214
Based on the switch on/off data output from the operation switch detection circuit 3, it is determined whether any of the tone color selection switches SW to SWn is turned on. That is, a tone color selection switch SW is used to select a desired tone color.

〜SWnの内のいずれかが押された状態で、これと同時
にデモ演奏スイッチSWdが押されると、ステップ21
4において音色選択スイッチオンと判断されて、ステッ
プ215へ進む。そして、ステップ215において、デ
モモードフラグDMMFがrlJとされ、つまり、選択
音色プレイモードとされた後、メインプログラムに戻る
。また、音色選択スイッチSW、〜SW、の内のいずれ
も押されていなかった場合は、ステップ214からステ
ップ216へ進み、このステップ216において、デモ
モードフラグDMMFか「0」とされ、つまりチエイン
プレイモードとされた後、メインプログラムに戻る。
If the demo performance switch SWd is pressed at the same time while any of the switches SWn is pressed, step 21 is executed.
In step 4, it is determined that the timbre selection switch is on, and the process proceeds to step 215. Then, in step 215, the demo mode flag DMMF is set to rlJ, that is, the selected tone play mode is set, and then the process returns to the main program. If none of the tone selection switches SW, ~SW, is pressed, the process advances from step 214 to step 216, and in step 216, the demo mode flag DMMF is set to "0", that is, the chain play After entering the mode, return to the main program.

一方、ステップ210において、デモフラグDMPがr
lJの場合、すなわち現在デモ演奏中の場合は、ステッ
プ217へ進み、このステップ217において、操作ス
イッチ検出回路3から出力されたスイッチオン/オフデ
ータに基づいて、デモ演奏スイッチSWdが押された(
オンイベント有り)か否かが判別され、オンイベント有
りと判断された場合は、デモ演奏の中止が指示されたも
のと見なして、ステップ218へ進む。そして、ステッ
プ218においては、デモフラグDMFを「0」とした
後、ステップ219において、デモ演奏を開始する直前
にワーキングメモリ11内に格納しておいた現在音色ナ
ンバデータPTCを、音色データTONEとした後、メ
インプログラムに戻る。
On the other hand, in step 210, the demo flag DMP is r
In the case of lJ, that is, when the demo performance is currently being performed, the process advances to step 217, and in this step 217, the demo performance switch SWd is pressed based on the switch on/off data output from the operation switch detection circuit 3 (
If it is determined that there is an on-event, it is assumed that an instruction has been given to stop the demonstration performance, and the process proceeds to step 218. In step 218, the demo flag DMF is set to "0", and in step 219, the current tone number data PTC stored in the working memory 11 immediately before starting the demo performance is set as tone data TONE. Then return to the main program.

また上記ステップ217において、オンイベント無しと
判断された場合は、直接メインプログラムに戻る。
If it is determined in step 217 that there is no on event, the process returns directly to the main program.

次に、CPtJ l Oが上述したメインプログラム(
第4図)のステップto1〜104を循環処理している
過程で、テンポクロック発振器7がテンポクロック信号
を発生すると、CPUl0は上述したメインプログラム
を中断して、第7図に示すデモ演奏インクラブドの処理
を開始する。以下、このデモ演奏インタラブドについて
説明する。
Next, CPtJ l O described the main program (
When the tempo clock oscillator 7 generates a tempo clock signal during the cyclic processing of steps to1 to 104 in FIG. Start processing. This demo performance interactive will be explained below.

まず、ステップ220において、デモフラグDMFが「
1」であるか否かが判別され、デモフラグDMFがrl
Jであった場合は、次のステップ221へ進み、デモフ
ラグDMPが「0」であった場合は、メインプログラム
に戻る。ステップ221においては、デモモードフラグ
DMMFがrNであるか否かが判別され、デモモードフ
ラグDMMFがrlJであった場合(音色選択プレイモ
ードの場合)はステップ222へ進み、デモモードフラ
グDMMFが10」であった場合(チエインプレイモー
ドの場合)はステップ227へ進む。
First, in step 220, the demo flag DMF is set to "
1”, and the demo flag DMF is rl.
If it is J, the process advances to the next step 221, and if the demo flag DMP is "0", the process returns to the main program. In step 221, it is determined whether or not the demo mode flag DMMF is rN. If the demo mode flag DMMF is rlJ (in the case of tone selection play mode), the process advances to step 222, and the demo mode flag DMMF is set to 10. ” (in the case of chain play mode), the process advances to step 227.

ステップ222においては、デモ演奏データメモリ6か
ら音色選択スイッチSW1〜SWnによって選択された
音色に割り当てられた演奏パターンの演奏データを、ク
ロックデータCLKの値に基づいて順次読み出す。ここ
で、例えば、ピアノの音色が選択されていた場合、その
スタートアドレスS T A lからクロックデータC
I、Kに応じてアドレスが進められ、このアドレスに基
づいてデモ演奏データメモリ6から演奏データが読み出
される。次いで、ステップ223において、デモ演奏デ
ータメモリ6から読み出した演奏データを、楽音信号発
生回路4へ供給し、演奏パターンを発生させた後、ステ
ップ224に進み、クロックデータCLKをインクリメ
ントして、ステップ225へ進む。このステップ225
においては、デモ演奏データメモリ6からエンドデータ
ENDが読み出されjコか否かが判別され、エンドデー
タ有りと判断された場合は、デモ曲の終わりと見なして
、ステップ226へ進み、クロックデータCLKを「0
」にリセットしてメインプログラムに戻る。また、ステ
ップ225において、エンドデータ無しと判断された場
合は、直接メインプログラムに戻る。そして、上述した
ステップ220〜226を、エンドデータENDが読み
出されるまで繰り返し実行することにより、音色選択ス
イッチSW、〜SWnによって選択された音色に割り当
てられたデモ曲が、サウンドシステム5から発せられる
In step 222, the performance data of the performance pattern assigned to the timbre selected by the timbre selection switches SW1 to SWn is sequentially read out from the demonstration performance data memory 6 based on the value of the clock data CLK. Here, for example, if a piano tone is selected, the clock data C is
The address is advanced in accordance with I and K, and performance data is read from the demonstration performance data memory 6 based on this address. Next, in step 223, the performance data read from the demonstration performance data memory 6 is supplied to the musical tone signal generation circuit 4 to generate a performance pattern, and then the process proceeds to step 224, where the clock data CLK is incremented, and the process proceeds to step 225. Proceed to. This step 225
In step 226, the end data END is read from the demo performance data memory 6, and it is determined whether or not there is end data.If it is determined that there is end data, it is assumed that the demo song is over, and the process proceeds to step 226, where the clock data is read out. CLK to “0”
” to return to the main program. If it is determined in step 225 that there is no end data, the process returns directly to the main program. Then, by repeatedly executing steps 220 to 226 described above until the end data END is read out, the demo song assigned to the tone selected by the tone color selection switches SW, -SWn is emitted from the sound system 5.

この場合、デモ演奏スイッチSWdが押され、演奏停止
の指示がステップ217で判断されるまで、繰り返し同
じデモ曲が同じ音色で繰り返し演奏される。
In this case, the same demo song is repeatedly played with the same tone until the demo performance switch SWd is pressed and an instruction to stop the performance is determined in step 217.

一方、ステップ221において、デモモードフラグDM
MFが「0」であると判断された場合は、ステップ22
7へ進む。このステップ227においては、音色ナンバ
ーデータTONEによって指定される音色に割り当てら
れた演奏パターンの演奏データを、クロックデータCL
Kの値に基づいて順次読み出す。ここで、音色ナンバデ
ータT。
Meanwhile, in step 221, the demo mode flag DM
If it is determined that MF is "0", step 22
Proceed to step 7. In this step 227, the performance data of the performance pattern assigned to the tone specified by the tone color number data TONE is transferred to the clock data CL.
Read out sequentially based on the value of K. Here, the tone number data T.

NEとしては、上記ステップ+00のイニシャライズ処
理によって、rNが設定され、もしくは、ステップ10
2の音色選択処理ルーチンによって、「1」〜rnJの
内のいずれかの値が設定されている。
For the NE, rN is set by the initialization process in step +00 above, or by the initialization process in step 10.
One of the values from "1" to rnJ is set by the tone color selection processing routine No. 2.

そして、例えば、音色ナンバーデータTONEとしてr
lJが設定され、ピアノの音色が選択されていた場合、
そのスタートアドレスS T A +からクロックデー
タCLKに応じてアドレスが進められ、このアドレスに
基づいてデモ演奏データメモリ6から演奏データが読み
出される。次いで、ステップ228において、デモ演奏
データメモリ6から読み出した演奏データを、楽音信号
発生回路4へ供給し、演奏パターンを発生させた後、ス
テップ229に進み、クロックデータCLKをインクリ
メントして、ステップ230へ進む。このステップ23
0においては、デモ演奏データメモリ6からエンドデー
タENDが読み出されたか否かが判別され、エンドデー
タ有りと判断された場合は、デモ曲の終わりと見なして
、ステップ231へ進み、音色ナンバーデータTONE
をインクリメントし、シシ<は音色ナンバーデータTO
NEの値がrnJであったら「1」にリセットし、さら
にクロックデータCLKを「0」にリセットしてメイン
プログラムに戻る。また、ステップ230において、エ
ンドデータ無しと判断された場合は、直接メインプログ
ラムに戻る。そして、上述したステップ22’0.22
1および227〜231を、エンドデータENDが読み
出されるまで繰り返し実行することにより、各音色に割
り当てられたデモ曲が、順番にサウンドシステム5から
発せられる。この場合、音色設定スイッチsw、−sw
nによって音色が指定されていた場合は、その指定され
た音色に割り当てられたデモ曲から演奏を開始し、音色
が指定されていない場合は、音色ナンバデータTONE
=rlJによって指定されるピアノに割り当てられたデ
モ曲から演奏を開始する。そして、音色ナンバデータT
ONE=rnJによって指定されるハープシコードに割
り当てられたデモ曲の演奏を終えると、再びピアノに割
り当てられたデモ曲の演奏を開始する。このように各音
色に適したデモ曲が、各音色によって順次演奏される。
For example, as tone number data TONE, r
If lJ is set and a piano tone is selected,
The address is advanced from the start address S T A + in accordance with the clock data CLK, and performance data is read from the demonstration performance data memory 6 based on this address. Next, in step 228, the performance data read from the demonstration performance data memory 6 is supplied to the musical tone signal generation circuit 4 to generate a performance pattern, and then the process proceeds to step 229, where the clock data CLK is incremented, and the process proceeds to step 230. Proceed to. This step 23
0, it is determined whether or not the end data END has been read out from the demo performance data memory 6. If it is determined that the end data is present, it is assumed that the demo song has ended, and the process proceeds to step 231, where the tone number data is read out. TONE
is incremented, and < is the tone number data TO
If the value of NE is rnJ, it is reset to "1", the clock data CLK is further reset to "0", and the process returns to the main program. If it is determined in step 230 that there is no end data, the process returns directly to the main program. Then, step 22'0.22 mentioned above
By repeatedly executing steps 1 and 227 to 231 until the end data END is read out, the demo songs assigned to each tone color are emitted from the sound system 5 in order. In this case, tone setting switches sw, -sw
If a tone is specified by n, the performance starts from the demo song assigned to the specified tone, and if no tone is specified, the tone number data TONE
The performance starts from the demo piece assigned to the piano specified by =rlJ. And the tone number data T
When the performance of the demo piece assigned to the harpsichord specified by ONE=rnJ is finished, the performance of the demo piece assigned to the piano is started again. In this way, demo songs suitable for each tone are sequentially played for each tone.

上述した実施例によれば、特定の音色のデモ演奏を聞き
たい場合、音色選択スイッチSW、〜SWnのいずれか
を押しつつ、デモ演奏スイッチSWdを押せば、音色選
択プレイモードとなり、指定された音色で、かつその音
色に適したデモ曲が演奏される。また、各音色のデモ演
奏を順番に聞きたい場合は、必要に応じて、音色選択ス
イッチSW1〜SWnによって最初にデモ演奏させる音
色を指定した後、デモ演奏スイッチSWdを押せば、チ
エインプレイモードとなり、各音色に割り当てられたデ
モ曲が、各音色で順番にデモ演奏される。
According to the above-described embodiment, if you want to listen to a demo performance of a specific tone, press the demo performance switch SWd while pressing any of the tone selection switches SW, ~SWn, and the tone selection play mode will be activated. A demo song is played that has a certain tone and is suitable for that tone. If you want to listen to demo performances of each tone in turn, use the tone selection switches SW1 to SWn to first specify the tone to be played as a demo, and then press the demo performance switch SWd to switch to chain play mode. , the demo songs assigned to each tone are played in order with each tone.

したがって、デモ演奏スイッチSWdを押すタイミング
を変えるだけで、音色選択プレイモードとチエインプレ
イモードを選択することができる。
Therefore, the tone color selection play mode and the chain play mode can be selected by simply changing the timing at which the demo performance switch SWd is pressed.

また、音色選択スイッチSW1〜SWnによって、1曲
分の演奏パターンが音色と同時に選択されるので、操作
パネル上に新たにスイッチを増設する必要がない。
Further, since the tone color selection switches SW1 to SWn select the performance pattern for one song at the same time as the tone color, there is no need to add a new switch on the operation panel.

なお、上述した一実施例においては、マイクロコンピュ
ータ8を用い、ソフトウェアによって上述した各機能を
実現するようにしたが、専用の7%−ドウエアによって
各機能を実現するようにしても勿論構わない。また、デ
モ演奏に限らず、通常の自動演奏に適用してもよく、こ
の場合、各音色毎に自動演奏データを記憶させてお−け
ばよい。さらに、演奏データとして、各音色に適したリ
ズムパターンを記憶させておき、各音色毎に異なるリズ
ムパターンで打楽器音等を表現するようにしても構わな
い。
In the above-described embodiment, the microcomputer 8 is used to realize each of the above-mentioned functions by software, but it is of course possible to realize each function by dedicated 7% software. Further, the present invention may be applied not only to demonstration performances but also to ordinary automatic performances, in which case automatic performance data may be stored for each tone. Furthermore, a rhythm pattern suitable for each tone color may be stored as performance data, and percussion instrument sounds etc. may be expressed using a different rhythm pattern for each tone color.

「発明の効果」 以上説明したように、この発明によれば、音色選択手段
によって音色が選択されると、選択された音色に割り当
てられた演奏パターンの演奏音が楽音発生手段から発せ
られるので、選択した音色の演奏音を即座に聞くことが
でき、また、選択した音色に応じて演奏パターンが種々
変化するため、各音色の音楽特性を十分に表現すること
ができ、多彩なデモ演奏を行うことができるという効果
が得られる。
"Effects of the Invention" As explained above, according to the present invention, when a tone is selected by the tone color selection means, the performance sound of the performance pattern assigned to the selected tone is emitted from the musical sound generation means. You can immediately hear the performance sound of the selected tone, and since the performance pattern changes in various ways depending on the selected tone, you can fully express the musical characteristics of each tone, allowing for a wide variety of demonstration performances. You can get the effect that you can.

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

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は同実施例のデモ演奏データメモリのメモリマツ
プを示す図、第3図は同実施例のスタートアドレス参照
テーブルを示す図、第4図〜第7図は同実施例の動作を
説明するためのフローチャートであり、第4図はメイン
プログラム、第5図は音色選択処理ルーチン、第6図は
デモ演奏処理ルーチン、第7図はデモ演奏インタラブド
を示している。 S W +〜SWn・・・・・・音色選択スイッチ(音
色選択手段)、 SWd・・・・・・デモ演奏スイッチ、3・・・・・・
操作スイッチ検出回路、4・・・・・・楽音信号発生回
路、 5・・・・・・サウンドシステム(4,5が楽音発生手
段)、6・・・・・・デモ演奏データメモリ(記憶手段
)、8・・・・・・マイクロコンピュータ(読出手段)
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a diagram showing a memory map of the demo performance data memory of the same embodiment, FIG. 3 is a diagram showing a start address reference table of the same embodiment, and FIGS. 4 to 7 explain the operation of the same embodiment. FIG. 4 shows the main program, FIG. 5 shows the timbre selection processing routine, FIG. 6 shows the demonstration performance processing routine, and FIG. 7 shows the demonstration performance interlude. S W +~SWn... Tone selection switch (tone selection means), SWd... Demo performance switch, 3...
Operation switch detection circuit, 4... Musical tone signal generation circuit, 5... Sound system (4 and 5 are musical tone generation means), 6... Demonstration performance data memory (storage means) ), 8...Microcomputer (reading means)
.

Claims (1)

【特許請求の範囲】 複数の音色の中から任意の音色を選択する音色選択手段
と、 前記各音色に割り当てられた演奏パターンの演奏データ
が各々記憶された記憶手段と、 前記記憶手段から、前記音色選択手段によって選択され
た音色に対応した演奏パターンの演奏データを読み出す
読出手段と、 前記記憶手段から読み出された演奏データに基づいて楽
音を発生する楽音発生手段と、 を具備することを特徴とする自動演奏装置。
[Scope of Claims] Tone selection means for selecting an arbitrary tone from a plurality of tones; storage means storing performance data of performance patterns assigned to each of the tones; It is characterized by comprising: reading means for reading performance data of a performance pattern corresponding to the timbre selected by the timbre selection means; and musical sound generation means for generating a musical sound based on the performance data read from the storage means. automatic performance device.
JP1343201A 1989-12-28 1989-12-28 Automatic performance device Expired - Lifetime JP2927848B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1343201A JP2927848B2 (en) 1989-12-28 1989-12-28 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1343201A JP2927848B2 (en) 1989-12-28 1989-12-28 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH03200287A true JPH03200287A (en) 1991-09-02
JP2927848B2 JP2927848B2 (en) 1999-07-28

Family

ID=18359699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1343201A Expired - Lifetime JP2927848B2 (en) 1989-12-28 1989-12-28 Automatic performance device

Country Status (1)

Country Link
JP (1) JP2927848B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6140565A (en) * 1998-06-08 2000-10-31 Yamaha Corporation Method of visualizing music system by combination of scenery picture and player icons

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59189391A (en) * 1983-04-13 1984-10-26 カシオ計算機株式会社 Automatic transformer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59189391A (en) * 1983-04-13 1984-10-26 カシオ計算機株式会社 Automatic transformer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6140565A (en) * 1998-06-08 2000-10-31 Yamaha Corporation Method of visualizing music system by combination of scenery picture and player icons

Also Published As

Publication number Publication date
JP2927848B2 (en) 1999-07-28

Similar Documents

Publication Publication Date Title
JP2602458B2 (en) Automatic performance device
JPH05188944A (en) Automatic playing device
JPS61188594A (en) Automatic rhythm performer
JPH0125078B2 (en)
JP4808868B2 (en) Automatic performance device
JP3625914B2 (en) Arpeggiator
JPH03200287A (en) Automatic player
JP2998527B2 (en) Automatic accompaniment device
JP2570562B2 (en) Automatic performance device and automatic accompaniment device
JP2530744Y2 (en) Electronic musical instrument
JP2640992B2 (en) Pronunciation instruction device and pronunciation instruction method for electronic musical instrument
JPH06259070A (en) Electronic musical instrument
JPH0375874B2 (en)
JP4214845B2 (en) Automatic arpeggio device and computer program applied to the device
JP3902207B2 (en) Arpeggiator
JPH0464073B2 (en)
JP3625913B2 (en) Arpeggiator
JPS6267593A (en) Electronic musical apparatus with automatic accompanying function
JP3097382B2 (en) Chord detector
JP2674454B2 (en) Automatic accompaniment device
JP3620321B2 (en) Automatic accompaniment device
JP3275341B2 (en) Tone generator
JPH09244660A (en) Automatic player
JP2641612B2 (en) Phrase playing device and phrase playing method
JP3557667B2 (en) Automatic performance 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 (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090514

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100514

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100514

Year of fee payment: 11