JPH04324895A - Automatic musical performance device - Google Patents

Automatic musical performance device

Info

Publication number
JPH04324895A
JPH04324895A JP3122540A JP12254091A JPH04324895A JP H04324895 A JPH04324895 A JP H04324895A JP 3122540 A JP3122540 A JP 3122540A JP 12254091 A JP12254091 A JP 12254091A JP H04324895 A JPH04324895 A JP H04324895A
Authority
JP
Japan
Prior art keywords
rhythm
data
automatic performance
sound
value
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
JP3122540A
Other languages
Japanese (ja)
Inventor
Kazuo Ogura
和夫 小倉
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP3122540A priority Critical patent/JPH04324895A/en
Publication of JPH04324895A publication Critical patent/JPH04324895A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To provide automatic musical performance consisting of various pronunciation with a small memory capacity. CONSTITUTION:In carrying out automatic rhythm performance over plural measures by memorizing one measure of a rhythm pattern consisting of normal sound (white circle) and random sound (black circle) and reading out the rhythm pattern, normal sound (white circle) is pronounced without fail. On the other hand, random sound (black circle) is pronounced with probability corresponding to probability data memorized separately. It is thus possible to constitute various pronunciation by making the random sound (black circle) pronounced and not pronounced even if one measure of the rhythm pattern is performed automatically repeatedly.

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 device for automatically playing rhythm parts, chord parts, and the like.

【0002】0002

【従来の技術】従来、例えばリズムパートを自動演奏す
る自動演奏装置においては、ジャズ、ロック、ワルツ等
のリズム種に対応する自動演奏パターンが、ROM等の
記憶媒体に1小節分記憶されており、前記自動演奏パタ
ーンはハイハット、タム、スネア、バスドラム等の当該
リズムを構成する楽器の音色であるリズム音種と、その
発音タイミングとで構成されている。そして、いずれか
のリズム種を選択して、自動演奏をスタートさせると、
前記自動演奏パターンが順次読み出され、前記発音タイ
ミングにて各リズム楽器音が放音される。また、1小節
分の自動演奏が終了すると、再度自動演奏パターンが読
み出され、これにより、前記リズム種に対応するリズム
パターンが1小節毎に繰り返し自動演奏される。したが
って、このリズムパターンの自動演奏を伴いつつ、メロ
ディや和音をマニュアル演奏することにより、リズム音
を含む楽曲を演奏することが可能となる。
2. Description of the Related Art Conventionally, in automatic performance devices that automatically play rhythm parts, automatic performance patterns corresponding to rhythm types such as jazz, rock, and waltz are stored for one measure in a storage medium such as a ROM. The automatic performance pattern is composed of rhythm tone types, which are the tones of musical instruments such as hi-hat, tom, snare, bass drum, etc. that make up the rhythm, and their sound generation timings. Then, when you select one of the rhythm types and start automatic performance,
The automatic performance patterns are sequentially read out, and each rhythm instrument sound is emitted at the sound generation timing. Further, when the automatic performance for one measure is completed, the automatic performance pattern is read out again, and thereby the rhythm pattern corresponding to the rhythm type is repeatedly automatically performed for each measure. Therefore, by manually playing melodies and chords while automatically playing this rhythm pattern, it becomes possible to play music containing rhythm sounds.

【0003】0003

【発明が解決しようとする課題】しかしながら、このよ
うな従来の自動演奏装置にあっては、予め記憶された1
小節分のリズムパターンが繰り返し自動演奏されること
から、自動演奏されたリズムの構成が単調となってしま
い、その結果自動演奏されたリズム音を伴って楽曲を演
奏した場合、楽曲全体のリズム構成も単調となってしま
う。無論、各小節毎にリズム音種の発音構成が異なる自
動演奏パターンを多数小節分をもって記憶しておき、こ
の自動演奏パターンを順次読み出して自動演奏を実行さ
せるようにすれば、バラエティに富んだリズム構成から
なる楽曲を演奏することが可能となる。しかし、このよ
うに多数小節に亙る自動演奏パターンを、ジャズ、ロッ
ク、ワルツ等のリズム種に対応して記憶するためには、
前記記憶媒体に膨大な記憶容量が必要となり、これによ
りコスト的な不利が生ずるものであった。
[Problem to be Solved by the Invention] However, in such a conventional automatic performance device, it is difficult to
Because the rhythm pattern for each measure is automatically played repeatedly, the structure of the automatically played rhythm becomes monotonous, and as a result, when a song is played with automatically played rhythm sounds, the rhythm structure of the entire song becomes It also becomes monotonous. Of course, if you memorize a large number of measures of automatic performance patterns in which the rhythmic tone pronunciation structure differs for each measure, and read out these automatic performance patterns one after another to execute automatic performance, you can create a wide variety of rhythms. It becomes possible to play a song consisting of a composition. However, in order to memorize automatic performance patterns that span multiple measures in accordance with rhythm types such as jazz, rock, and waltz, it is necessary to
The storage medium requires a huge storage capacity, resulting in a cost disadvantage.

【0004】本発明の課題は、少ない記憶容量にて、変
化のある発音構成からなる自動演奏を可能にした自動演
奏装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an automatic performance device that enables automatic performance with a variable sound structure with a small storage capacity.

【0005】[0005]

【課題を解決するための手段】前記課題を解決するため
に本発明にあっては、ノーマル音データとランダム音デ
ータとからなる自動演奏パターンを記憶した自動演奏パ
ターン記憶手段と、前記ランダム音データに基づく発音
の確率を決定する確率データを記憶した確率データ記憶
手段と、前記自動演奏パターン記憶手段から前記自動演
奏パターンを順次読み出す読み出し手段と、該読み出し
手段により読み出された前記自動演奏パターンを構成す
る前記ノーマル音データに基づいて発音を指示するとと
もに、前記ランダム音データに基づいて前記確率データ
に応じた確率にて発音を指示する発音指示手段と、該発
音指示手段からの発音指示に従って楽音を発生させる楽
音発生手段とを備えている。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention provides automatic performance pattern storage means that stores automatic performance patterns consisting of normal sound data and random sound data, and automatic performance pattern storage means that stores automatic performance patterns consisting of normal sound data and random sound data. probability data storage means storing probability data for determining pronunciation probabilities based on the automatic performance pattern storage means; reading means for sequentially reading out the automatic performance patterns from the automatic performance pattern storage means; a pronunciation instructing means for instructing pronunciation based on the normal sound data, and instructing pronunciation at a probability according to the probability data based on the random sound data; and a musical sound according to the pronunciation instruction from the pronunciation instructing means. and a musical tone generating means for generating a musical tone.

【0006】また、好ましくは、前記確率データの値を
可変設定する設定手段が設けられ、あるいは、該設定手
段は、自動演奏の小節毎に前記確率データの値を可変設
定できるように構成されている。
Preferably, a setting means for variably setting the value of the probability data is provided, or the setting means is configured to variably set the value of the probability data for each measure of automatic performance. There is.

【0007】[0007]

【作用】前記構成において、自動演奏パターン記憶手段
から自動演奏パターンが順次読み出されると、該自動演
奏パターンを構成するノーマル音データに基づいて発音
が指示され、また、ランダム音データに基づいて、前記
確率データに応じた確率にて、発音が指示される。よっ
て、前記ノーマル音データである場合には、必ず発音が
なされるのに対し、ランダム音データである場合には、
前記確率データに依存して、発音される場合と発音され
ない場合とが生ずる。したがって、例えば1小節のみか
らなる自動演奏パターンを自動演奏演奏パターン記憶手
段に記憶しておき、この自動演奏パターンにより複数小
節に亙って繰り返し自動演奏を行った場合であっても、
前記ランダム音データに基づく発音の有無により、自動
演奏の発音構成は前記確率データに依存して変化する。
[Operation] In the above structure, when the automatic performance patterns are sequentially read out from the automatic performance pattern storage means, the sound generation is instructed based on the normal sound data constituting the automatic performance pattern, and the sound generation is instructed based on the random sound data. Pronunciation is instructed with probability according to the probability data. Therefore, in the case of normal sound data, pronunciation is always made, whereas in the case of random sound data,
Depending on the probability data, there are cases in which the sound is produced and cases in which it is not produced. Therefore, even if, for example, an automatic performance pattern consisting of only one measure is stored in the automatic performance performance pattern storage means, and automatic performance is performed repeatedly over a plurality of measures using this automatic performance pattern,
Depending on whether or not a sound is generated based on the random sound data, the sound structure of the automatic performance changes depending on the probability data.

【0008】また、前記設定手段により、前記確率デー
タの値を可変設定すれば、ランダム音データに基づく発
音の有無が変化して発音パターンも変化するとともに、
前記確率データの値を自動演奏の小節毎に変化させるこ
とにより、自動演奏の発音パターンは小節毎に変化する
Further, if the value of the probability data is variably set by the setting means, the presence or absence of pronunciation based on the random sound data is changed, and the pronunciation pattern is also changed.
By changing the value of the probability data for each bar of automatic performance, the sound pattern of automatic performance changes for each bar.

【0009】[0009]

【実施例】以下、本発明の一実施例について図面に従っ
て説明する。すなわち、図1は、本発明の一実施例にか
かる電子鍵盤楽器の全体的な構成を示すものであり、C
PU1は、データROM2内に記憶されたデータ、プロ
グラム及びワーキングRAM3に一時記憶されたデータ
等に基づき、この電子鍵盤楽器において必要となる全て
の処理等を実行する。また、CPU1には、スイッチ部
4から操作情報が与えられており、該スイッチ部4には
、図2に示したように楽器本体5に配設されたリズムス
タートスイッチ6、リズムストップスイッチ7と共に、
ジャズ、ロック、ワルツ等のリズム種を選択するために
操作される図外のリズム選種択スイッチ、さらには鍵盤
その他この電子鍵盤楽器において必要となる各種スイッ
チが設けられている。また、楽音信号発生部8は、CP
U1が行う発音の指示に従って楽音信号を生成し、該楽
音信号はD/A変換器9を介してアンプとスピーカとか
らなるサウンドシステム10に与えられ、該サウンドシ
ステム10より外部に放音される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. That is, FIG. 1 shows the overall configuration of an electronic keyboard instrument according to an embodiment of the present invention.
The PU 1 executes all processes necessary for this electronic keyboard instrument based on the data and programs stored in the data ROM 2 and the data temporarily stored in the working RAM 3. Further, the CPU 1 is given operation information from a switch section 4, and the switch section 4 is provided with a rhythm start switch 6 and a rhythm stop switch 7 arranged on the instrument body 5 as shown in FIG. ,
A rhythm type selection switch (not shown) is operated to select a rhythm type such as jazz, rock, waltz, etc., as well as a keyboard and other various switches necessary for this electronic keyboard instrument. Further, the musical tone signal generating section 8
A musical tone signal is generated in accordance with the pronunciation instruction given by U1, and the musical tone signal is given to a sound system 10 consisting of an amplifier and a speaker via a D/A converter 9, and is emitted from the sound system 10 to the outside. .

【0010】前記データROM2には、前記リズム種選
択スイッチに対応するリズム種毎に、1小節分のリズム
パターンデータが記憶されており、該リズムパターンデ
ータは、図3に示したフォーマットにて記憶されている
。すなわち、図3に示したリズムパターンデータは、図
4に示した1小節分のリズムパターンに対応するデータ
であって、この図4において1〜16の数値は16分音
符長を1拍とした各拍を示し、また、各拍において○印
はノーマル音による発音を、●印はランダム音による発
音を示し、無印は発音無しを示している。したがって、
図示したリズムパターンは、ハイハットは1拍目から1
6拍目まで各拍ごとにノーマル音にて発音され、タムは
11拍目と15拍目とにおいてランダム音にて発音され
、スネアは5拍目と13拍目とにおいてノーマル音にて
発音され、バスドラムは1,7,9,15拍目がノーマ
ル音にて発音されかつ8,12拍目がランダム音にて発
音される発音構成である。
The data ROM 2 stores one measure of rhythm pattern data for each rhythm type corresponding to the rhythm type selection switch, and the rhythm pattern data is stored in the format shown in FIG. has been done. That is, the rhythm pattern data shown in FIG. 3 corresponds to the rhythm pattern for one measure shown in FIG. 4, and in this FIG. Each beat is shown, and in each beat, a circle indicates pronunciation using a normal sound, a ● mark indicates pronunciation using a random sound, and a blank mark indicates no pronunciation. therefore,
In the rhythm pattern shown, the hi-hat is 1 from the 1st beat.
The normal tone is played on every beat up to the 6th beat, the tom is played with a random sound on the 11th and 15th beats, and the snare is played with a normal sound on the 5th and 13th beats. The bass drum has a sound generation configuration in which the 1st, 7th, 9th, and 15th beats are sounded as normal sounds, and the 8th and 12th beats are produced as random sounds.

【0011】そして、図3に示したデータは、この図4
に示したリズムパターンを1拍毎に8ビットデータとし
て、1〜16拍に対応するアドレスPA(1)〜PA(
16)に記憶したものである。この8ビットデータにお
いて、LSB側からMSB側に各々2ビットずつをもっ
て、リズム音種である「バスドラム」「スネア」「タム
」「ハイハット」の発音データが順次記憶されている。 この2ビットの発音データにおいて、前記ノーマル音は
「ノ」列に“1”がセットされた“01”にて記憶され
、前記ランダム音は「ラ」の列に“1”がセットされた
“10”にて記憶されているとともに、前記発音しない
場合には“00”が記憶されている。
[0011]The data shown in FIG.
The rhythm pattern shown in is treated as 8-bit data for each beat, and the addresses PA(1) to PA( corresponding to beats 1 to 16 are
16). In this 8-bit data, sound generation data for rhythm tone types such as "bass drum,""snare,""tom," and "hi-hat" are sequentially stored with two bits each from the LSB side to the MSB side. In this 2-bit pronunciation data, the normal sound is stored as "01" with "1" set in the "No" column, and the random sound is stored as "01" with "1" set in the "A" column. "10" is stored, and "00" is stored when the sound is not generated.

【0012】したがって、前記リズムパターン(図4)
において、1拍目はハイハットとバスドラムがノーマル
音であって、他のリズム音種は発音無しであることから
、1拍目に対応するアドレスPA(1)のリズムパター
ンデータは「01000001」であり、また、15拍
目は、ハイハットとバスドラムがノーマル音であって、
タムがランダム音であり、スネアは発音無しであること
から、15拍目に対応するアドレスPA(15)のリズ
ムパターンデータは「01100001」となっている
[0012] Therefore, the rhythm pattern (FIG. 4)
In , the hi-hat and bass drum are normal sounds on the first beat, and other rhythm sounds are not sounded, so the rhythm pattern data of address PA (1) corresponding to the first beat is "01000001". Yes, and on the 15th beat, the hi-hat and bass drum are normal sounds,
Since the tom is a random sound and the snare is not sounded, the rhythm pattern data of the address PA (15) corresponding to the 15th beat is "01100001".

【0013】さらに、データROM2には、図5に示し
たように前記ランダム音の発音の確率を決定する確率デ
ータが記憶されており、該確率データはアドレスOA(
1)〜(8)までに、2〜9のいずれかの数値をもって
記憶されている。
Furthermore, as shown in FIG. 5, the data ROM 2 stores probability data for determining the probability of producing the random sound, and the probability data is stored at address OA(
1) to (8) are stored with any numerical value from 2 to 9.

【0014】一方、前記ワーキングRAM3の一部の領
域には、図6に模式的に示した下記のレジスタが用意さ
れている。
On the other hand, the following registers schematically shown in FIG. 6 are provided in a part of the working RAM 3.

【0015】TM:64分音符長毎に1ずつカウントア
ップされるタイマーレジスタ、GS:8小節を1サイク
ルとする自動リズム演奏において、当該サイクルにおけ
る現時点の小節数である現在小節数の値を記憶するレジ
スタ、MS:自動リズム演奏の1サイクルにおける最大
小節数であるMAX小節数を記憶するレジスタであり、
本実施例においては前述のように1サイクルは8小節か
ら構成されていることから、最大小節数として“8”が
記憶されている。
TM: Timer register that counts up by 1 for each 64th note length; GS: In automatic rhythm performance where one cycle is 8 bars, stores the value of the current bar number, which is the current number of bars in the cycle. MS: A register that stores the MAX number of measures, which is the maximum number of measures in one cycle of automatic rhythm performance,
In this embodiment, since one cycle consists of eight bars as described above, "8" is stored as the maximum number of bars.

【0016】GH:16分音符長を1拍として、1小節
内において現時点の拍数である現在拍数をカウントする
レジスタ、SH:16分音符長を1拍として1小節内の
拍数を格納するレジスタ(本実施例においては“8”が
記憶される。)、SO:前記ランダム音の1小節毎の発
音確率を示す値である確率データ(小節別重み)を格納
するレジスタ、GP:現時点の1拍分のリズムパターン
である現在リズムパターン、つまり図3の1アドレス分
の8ビットデータを格納するレジスタ、RK:バスドラ
ム=0、スネア=2、タム=4、ハイハット=6のいず
れかののリズム音種を示す値を格納するレジスタである
GH: A register that counts the current number of beats in one measure, with the length of a 16th note as one beat; SH: Stores the number of beats in one measure, with the length of a sixteenth note as one beat. register (in this embodiment, "8" is stored), SO: register that stores probability data (measure weight), which is a value indicating the pronunciation probability of the random sound for each measure, GP: current point A register that stores the current rhythm pattern, which is a rhythm pattern for one beat, that is, 8-bit data for one address in Figure 3, RK: Bass drum = 0, snare = 2, tom = 4, hi-hat = 6. This register stores a value indicating the rhythm tone type.

【0017】次に、以上の構成にかかる本実施例の動作
を図7以下に示したCPU1によって実行されるプログ
ラムの内容を概略したフローチャートに従って説明する
。なお、以下の説明において、アドレスを{}でくくっ
て表示した場合、そのアドレスに書き込まれているデー
タを意味している。図7は、本実施例のゼネラルフロー
を示すものであり、楽器本体5に設けられている電源を
投入することにより開始される。すなわち、先ずイニシ
ャライズ処理(ステップA1)が実行された後、前記リ
ズムスタートスイッチ6がオン操作さたか否かが判別さ
れる(ステップA2)。この判別のNOであれば、他の
処理、つまり前記楽器本体5に設けられている鍵盤に対
するマニュアル演奏に応じた発音処理、あるいは楽曲全
体を自動演奏させるデモ曲演奏に応じた発音処理等の、
自動リズム演奏以外の他の機能に対応する処理が実行さ
れる。そして、前記楽器本体5に設けられているジャズ
、ロック、ワルツ等のリズム種選択スイッチを操作して
、いずれかのリズム種を選択した後、リズムスタートス
イッチ6をオン操作すると、ステップA2の判別はYE
Sとなり、自動リズム演奏処理が実行された後(ステッ
プA4)、ステップA2〜A4の判別処理が繰り返され
る。
Next, the operation of the present embodiment having the above configuration will be explained with reference to a flowchart schematically showing the contents of the program executed by the CPU 1 shown in FIG. 7 and below. Note that in the following explanation, when an address is displayed enclosed in {}, it means the data written at that address. FIG. 7 shows the general flow of this embodiment, which is started by turning on the power provided in the main body 5 of the musical instrument. That is, first, after an initialization process (step A1) is executed, it is determined whether or not the rhythm start switch 6 has been turned on (step A2). If this determination is NO, other processing may be performed, such as sound generation processing in response to manual play on the keyboard provided on the instrument body 5, or sound generation processing in response to the performance of a demo song that automatically plays the entire song.
Processing corresponding to functions other than automatic rhythm performance is executed. Then, when the rhythm start switch 6 is turned on after operating the rhythm type selection switch such as jazz, rock, waltz, etc. provided on the instrument body 5 and selecting one of the rhythm types, the determination in step A2 is performed. Yes
After the automatic rhythm performance processing is executed (step A4), the determination processing of steps A2 to A4 is repeated.

【0018】このステップA4の自動リズム演奏処理は
、図8及び図9に示した一連のフローチャートに従って
実行され、先ず前述した各レジスタに初期値が設定され
る(ステップB1)。この初期値設定において、レジス
タTMにはカウント値“0”が設定され、レジスタGS
には現在小節数“1”が設定され、レジスタMSには8
小節で構成される当該リズムパターンのMAX小節数“
8”が設定されるとともに、レジスタGHには現在拍数
“0”が設定される。また、レジスタSHには、16分
音符長を1拍として1小節内の最大拍数である“16”
が設定され、レジスタSOには、図5に示したフォーマ
ットのアドレスOA(1)で示される記憶領域に記憶さ
れている確率データ{OA(1)}が格納され、レジス
タGPは0リセットされるとともに、レジスタRKには
初期値“0”が設定される。
The automatic rhythm performance process in step A4 is executed according to a series of flowcharts shown in FIGS. 8 and 9, and initial values are first set in each of the registers described above (step B1). In this initial value setting, the count value "0" is set in the register TM, and the register GS
The number of measures is currently set to “1”, and the register MS is set to 8.
The maximum number of measures for the rhythm pattern consisting of measures.
8" is set, and the current beat count "0" is set in the register GH. Also, the register SH is set with "16", which is the maximum number of beats in one measure, with the length of a sixteenth note being one beat.
is set, probability data {OA(1)} stored in the storage area indicated by address OA(1) in the format shown in FIG. 5 is stored in register SO, and register GP is reset to 0. At the same time, the initial value "0" is set in the register RK.

【0019】次に、リズムストップスイッチ7がオン操
作されたか否かが判別され(ステップB2)、該リズム
ストップスイッチ7がオン操作されこの判別がYESと
なった時点で、この自動リズム演奏処理は停止される。 また、ステップB2の判別がNOであってリズムストッ
プスイッチ7がオン操作されない限りは、ステップB2
からステップB3に進み、タイマーレジスタTMの値が
“4”となったか否かが判別される(ステップB3)。 そして、この判別がNOであって、タイマーレジスタT
Mの値が“4”となるまでは、ステップB2,B3のル
ープが繰り返される。
Next, it is determined whether or not the rhythm stop switch 7 has been turned on (step B2), and when the rhythm stop switch 7 is turned on and the determination becomes YES, the automatic rhythm performance process is started. will be stopped. Further, unless the determination in step B2 is NO and the rhythm stop switch 7 is not turned on, step B2
The process then proceeds to step B3, and it is determined whether the value of the timer register TM has become "4" (step B3). If this determination is NO, the timer register T
The loop of steps B2 and B3 is repeated until the value of M becomes "4".

【0020】すなわち、この図8,9に示した自動リズ
ム演奏処理フローに対しては、図10に示したタイマー
インターラプトルーチンが64分音符長毎に割り込んで
おり、該タイマーインターラプトルーチンにおいてタイ
マーレジスタTMの値は1ずつカウントアップされてい
る(ステップC1)。したがって、自動リズム演奏処理
において、タイマーレジスタTMの値が“4”となれば
、16分音符長時間が経過したこととなり、ステップB
3の判別はYESとなる。よって、16分音符長時間が
経過する毎に、ステップB3からステップB4に進み、
該ステップB4以下の判別処理は16分音符長時間毎に
実行されることとなる。
That is, the automatic rhythm performance processing flow shown in FIGS. 8 and 9 is interrupted by the timer interrupt routine shown in FIG. 10 every 64th note length, and the timer interrupt routine The value of the register TM is counted up by 1 (step C1). Therefore, in the automatic rhythm performance process, if the value of the timer register TM becomes "4", it means that a long 16th note period has elapsed, and step B
The determination in step 3 is YES. Therefore, each time the 16th note duration elapses, the process advances from step B3 to step B4,
The determination processing from step B4 onwards is executed every 16th note duration.

【0021】前記ステップB4では、タイマーレジスタ
TMの値が0リセットされた後、1拍分である16分音
符長が経過したことから、1小節内における現在拍数を
示すレジスタGHの値がカウントアップされ(ステップ
B5)、引き続き、このカウントアップされたレジスタ
GHの値が、小節内拍数を示すレジスタSHの値(16
)より大であるか否かが判別される(ステップB6)。 このステップB6の判別がNOであってGHの値が16
以下であれば、16拍からなる1小節分の自動リズム演
奏を終了していない状態にあり、また、前記判別がYE
SであってGHの値が16以上であれば、16拍からな
る1小節分の自動リズム演奏を終了している状態にある
。したがって、ステップB6の判別がYESであって、
1小節分のリズム演奏が終了した場合には、1小節内に
おける現在拍数を示すレジスタGHの値が初期値である
“1”に設定された後(ステップB7)、現在小節数を
示すレジスタGSの値がカウントアップされる(ステッ
プB8)。
In step B4, after the value of the timer register TM is reset to 0, the 16th note length corresponding to one beat has elapsed, so the value of the register GH indicating the current number of beats in one measure is counted. (step B5), and subsequently, the value of this incremented register GH becomes the value of the register SH indicating the number of beats in a measure (16
) is larger than (step B6). If the determination in step B6 is NO, the value of GH is 16.
If it is below, the automatic rhythm performance for one measure consisting of 16 beats has not been completed, and the above judgment is YES.
If it is S and the value of GH is 16 or more, the automatic rhythm performance for one measure consisting of 16 beats has been completed. Therefore, the determination in step B6 is YES,
When the rhythm performance for one measure is completed, the value of the register GH indicating the current number of beats in one measure is set to the initial value "1" (step B7), and then the value of the register GH indicating the current number of measures is set to "1" (step B7). The value of GS is counted up (step B8).

【0022】次に、この現在小節数を示すレジスタGS
の値が、MAX小節数が記憶されたレジスタMSの値(
8)より大であるか否かが判別される(ステップB9)
。このステップB9の判別がNOであって、GSの値が
“8”以下であれば前述のように8小節を1サイクルと
する本実施例において、1サイクル分の自動リズム演奏
が終了していない状態にあり、また、前記判別がYES
であって、GSの値が“8”より大であれば8小節から
なる1サイクル分のリズム演奏を終了している状態にあ
る。そして、ステップB9の判別がYESであって、1
サイクルのリズム演奏が終了した場合には、現在小節数
を示すレジスタGSの値が初期値である“1”に設定さ
れ(ステップB10)、ステップB9またはステップB
10に続くステップB11では、図5に示した記憶領域
からアドレスOA(GS)に対応する確率データが読み
出されて、レジスタSOに格納される。
Next, register GS indicating the current measure number
The value of is the value of register MS where the MAX number of measures is stored (
8) It is determined whether it is greater than (step B9)
. If the determination in step B9 is NO and the value of GS is "8" or less, one cycle of automatic rhythm performance has not been completed in this embodiment where one cycle is 8 bars as described above. state, and the above determination is YES.
If the value of GS is greater than "8", it means that one cycle of rhythm performance consisting of eight bars has been completed. Then, the determination in step B9 is YES, and 1
When the rhythm performance of the cycle is completed, the value of the register GS indicating the current bar number is set to the initial value "1" (step B10), and the process is performed in step B9 or step B.
In step B11 following 10, probability data corresponding to address OA (GS) is read from the storage area shown in FIG. 5 and stored in register SO.

【0023】さらに、ステップB6またはステップB1
1に続くステップB12では、図3に示した記憶領域か
らアドレスPA(GH)で示される8ビットのデータが
読み出されて、レジスタGPに格納される。つまり、例
えば今レジスタGHの値が“1”であったとすると、図
3の記憶領域からアドレスPA(1)のデータである「
01000001」が読み出されて、レジスタGPに格
納される。次に、レジスタRKの値が“8”となったか
否かが判別され、この判別がYESである場合には、レ
ジスタRKの値が0リセットされた後、ステップB2か
らの判別処理が繰り返される。
Furthermore, step B6 or step B1
In step B12 following 1, 8-bit data indicated by address PA (GH) is read from the storage area shown in FIG. 3 and stored in register GP. In other words, for example, if the value of the register GH is "1", the data at address PA(1) from the storage area in FIG. 3 is "1".
01000001'' is read out and stored in register GP. Next, it is determined whether the value of register RK has become "8" or not, and if this determination is YES, the value of register RK is reset to 0, and then the determination process from step B2 is repeated. .

【0024】これに対し、ステップB13の判別がNO
であって、レジスタRKの値が“8”に到達していない
状態にあれば、前記レジスタGPに格納された8ビット
データにおいて、RK+1ビット目とRKビット目とが
“0,1”“1,0”“0,0”のいずれであるかが判
別される(ステップB14)。すなわち、RKの値は初
期値が“0”であって、後述するステップB18にて2
ずつカウントアップされることから、レジスタGPに格
納された8ビットデータにおいてRK+1ビット目とR
Kビット目は、バスドラム、スネア、タム、ハイハット
の各リズム音種毎の2ビットのデータであって、かつ、
RK+1ビット目がランダム音に対応し、RKビット目
がノーマル音に対応している。したがって、この2ビッ
トのデータが、“0,1”であればノーマル音であり、
“1,0”であればランダム音であり、また、“0,0
”であれば発音しないスルーである。
On the other hand, the determination in step B13 is NO.
If the value of register RK has not reached "8", then in the 8-bit data stored in the register GP, the RK+1st bit and the RKth bit are "0, 1" and "1". , 0" and "0, 0" (step B14). That is, the initial value of RK is "0" and is set to 2 in step B18, which will be described later.
Since it is counted up in increments, in the 8-bit data stored in register GP, RK+1st bit and R
The K-th bit is 2-bit data for each rhythm sound type of bass drum, snare, tom, and hi-hat, and
The RK+1st bit corresponds to a random sound, and the RK bit corresponds to a normal sound. Therefore, if this 2-bit data is "0, 1", it is a normal sound,
If it is “1,0”, it is a random sound, and “0,0
”, it is a through without pronouncing it.

【0025】そして、ステップB14の判別結果が“0
,1”であって、ノーマル音であった場合には、RKの
示すリズム音の発音が指示され(ステップB17)、こ
こでRKの示すリズム音とは、前述のように“0”がバ
スドラム、“2”がスネア、“4”がタム、“6”がハ
イハットであり、これらいずれかのリズム音の楽音信号
が楽音信号発生部8により生成され、サウンドシステム
10から放音される。また、ステップB14の判別結果
が、“1,0”であってランダム音であった場合には、
ステップB14からステップB15に進み、乱数1〜1
0のいずれかが発生され、引き続き、前記レジスタSO
の値がこの発生させた乱数値以上であるか否かが判別さ
れる(ステップB16)。そして、この判別がYESで
あって、レジスタSOの値が乱数値以上であった場合に
は、前述と同様にRKの示すリズム音の発音が指示され
(ステップB17)、また、NOであった場合にはリズ
ム音の発音が指示されることなく、ステップB18に進
む。すなわち、1〜10までの任意の乱数値において、
前記確率データの値が2であったとすると、「2≧乱数
値」となる確率は20%であり、一方、確率データの値
が9であったとすると、「9≧乱数値」となる確率は9
0%である。よって、ランダム音は前記確率データの値
に依存したパーセンテージにて発音される。
[0025] Then, the determination result in step B14 is "0".
, 1" and is a normal sound, the rhythm sound indicated by RK is instructed to be produced (step B17). Here, the rhythm sound indicated by RK means "0" is the bass sound as described above. A drum, "2" is a snare, "4" is a tom, and "6" is a hi-hat. A musical sound signal of any of these rhythm sounds is generated by the musical sound signal generating section 8 and emitted from the sound system 10. Further, if the determination result in step B14 is "1, 0" and it is a random sound,
Proceeding from step B14 to step B15, random numbers 1 to 1
0 is generated and subsequently the register SO
It is determined whether the value of is greater than or equal to the generated random number (step B16). Then, if this determination is YES and the value of the register SO is greater than or equal to the random value, the generation of the rhythm sound indicated by RK is instructed in the same way as described above (step B17); In this case, the process proceeds to step B18 without being instructed to produce rhythm sounds. That is, at any random value from 1 to 10,
If the value of the probability data is 2, the probability that "2≧random number" will be 20%. On the other hand, if the value of the probability data is 9, the probability that "9≧random number" will be 20%. 9
It is 0%. Therefore, random sounds are emitted at a percentage that depends on the value of the probability data.

【0026】そして、ステップB18においては、レジ
スタRKの値が2ずつカウントアップされ、RK=8と
なるまでステップB13からステップB18までの処理
が繰り返される。すなわち、RKは前述のように初期値
“0”であって、かつ、2ずつ増加することから、RK
=8となってステップB13の判別がYESとなるまで
に、ステップB13〜B18の判別処理が4回繰り返さ
れることとなり、これにより、4リズム音種で構成され
る1拍分のリズム演奏が完了する。この1拍分のリズム
演奏が完了すると、RKの値が0リセットされた後(ス
テップB19)、リズムストップスイッチ7がオン操作
されない限り、ステップB2からステップB19までの
判別処理が、16分音符長時間が経過する毎に繰り返さ
れる。
Then, in step B18, the value of the register RK is counted up by 2, and the processes from step B13 to step B18 are repeated until RK=8. That is, since RK has an initial value of "0" as described above and increases by 2, RK
= 8 and the determination in step B13 becomes YES, the determination processing in steps B13 to B18 is repeated four times, thereby completing the rhythm performance for one beat consisting of four rhythm note types. do. When the rhythm performance for one beat is completed, the RK value is reset to 0 (step B19), and unless the rhythm stop switch 7 is turned on, the determination processing from step B2 to step B19 is It is repeated every time the time passes.

【0027】このとき、ステップB9の判別がYESと
なってMAX小節数である8小節1サイクルのリズム演
奏が終了するまでに、図5に示したフォーマットのアド
レスOA(1)〜OA(8)に各々記憶されている確率
データ2,4,・・・4,9が各小節毎に読み出されて
(ステップB11)自動リズム演奏がなされ、ランダム
音は前述のように確率データに依存したパーセンテージ
にて発音される。よって、8小節からなる1サイクルの
自動リズム演奏において、ランダム音は図11に示しよ
うに、20,40,・・・40,90%の確率にて発音
され、このランダム音の発音の有無により単調となるこ
となく、各小節毎に異なるリズムパターンの自動リズム
演奏を得ることができる。したがって、この自動リズム
演奏を伴ってマニュアル演奏を行うことにより、バラエ
ティに富んだリズム構成からなる楽曲を演奏することが
可能となり、しかも、ジャズ、ロック、ワルツ等のリズ
ム種に対応して1小節分のリズムパターンと各小節の確
率データをデータROM2に記憶するのみでよいことか
ら、該データROM2に膨大な記憶容量が必要となるこ
ともない。
At this time, by the time the determination in step B9 becomes YES and the rhythm performance of one cycle of 8 bars, which is the MAX number of bars, is completed, the addresses OA(1) to OA(8) in the format shown in FIG. The probability data 2, 4, . . . 4, 9 respectively stored in are read out for each bar (step B11) and automatic rhythm performance is performed, and the random notes are set as percentages depending on the probability data as described above. It is pronounced in Therefore, in one cycle of automatic rhythm performance consisting of 8 measures, random sounds are produced with a probability of 20, 40, ... 40, 90%, as shown in Figure 11, and depending on whether or not these random sounds are produced, Automatic rhythm performance with different rhythm patterns for each measure can be obtained without becoming monotonous. Therefore, by performing manual performance along with this automatic rhythm performance, it is possible to play songs with a wide variety of rhythm structures, and moreover, it is possible to play songs with a wide variety of rhythm structures. Since it is only necessary to store the rhythm pattern of the section and the probability data of each measure in the data ROM 2, the data ROM 2 does not require a huge storage capacity.

【0028】なお、前記実施例においては、小節毎の確
率データを予めデータROM2内に記憶させるようにし
たが、前記楽器本体5に例えばテンキーを設けておき、
楽器使用者がテンキーの操作により確率データの値を自
動演奏の各小節毎に設定変更し得る構造としてもよい。 かかる構造によれば、自動リズム演奏を実行させるに先
立ってテンキーを操作し、所望の確率データを設定する
ことにより、ランダム音の発音確率を任意に変化させて
異なるリズムパターンを発生させることができる。また
、このように小節毎に確率データを設定変更し得る構造
とすれば、自動演奏されたリズムを伴って楽曲のメロデ
ィ等をマニュアル演奏する場合において、当該楽曲の構
成に対応して、リズムパターンを変化させることも可能
となり、楽曲にあった自動リズム演奏を得ることもでき
る。
In the above embodiment, the probability data for each bar is stored in the data ROM 2 in advance, but if the instrument main body 5 is provided with, for example, a numeric keypad,
A structure may be adopted in which the musical instrument user can change the value of the probability data for each measure of automatic performance by operating the numeric keypad. According to this structure, by operating the numeric keypad and setting desired probability data prior to executing automatic rhythm performance, it is possible to arbitrarily change the pronunciation probability of random sounds and generate different rhythm patterns. . In addition, if the structure is such that the probability data can be set and changed for each measure, when manually playing the melody of a song accompanied by an automatically played rhythm, the rhythm pattern can be changed according to the structure of the song. It is also possible to change the rhythm, and it is also possible to obtain an automatic rhythm performance that matches the song.

【0029】また、前述した実施例においては、リズム
パターンを自動演奏させた場合のみを示したがこれに限
ることなく、コードパターン、バースパターン、アルペ
ジオパターン等他の自動演奏パターンに適用することが
可能であって、これら自動演奏のパターンを前記実施例
と同様にノーマル音とランダム音とで構成すれば、各パ
ターンの構成音が発音される場合と発音されない場合と
が生じ、これにより、各パートの自動演奏が単調となる
不都合を回避することが可能となる。
Further, in the above embodiment, only the case where the rhythm pattern is automatically played is shown, but the present invention is not limited to this, and can be applied to other automatic performance patterns such as chord patterns, verse patterns, arpeggio patterns, etc. If it is possible, and these automatic performance patterns are made up of normal sounds and random sounds as in the above embodiment, the constituent sounds of each pattern will sometimes be sounded and sometimes not. It is possible to avoid the inconvenience that automatic performance of parts becomes monotonous.

【0030】[0030]

【発明の効果】以上説明したように本発明は、自動演奏
パターンをノーマル音データとランダム音データとで構
成し、該ランダム音データに関しては予め記憶された確
率データに応じた確率をもって発音させるようにした。 よって、1小節のみからなる自動演奏パターンを記憶し
ておき、この自動演奏パターンを複数小節に亙って繰り
返して自動演奏した場合であっても、前記ランダム音デ
ータに基づく発音の有無により、自動演奏の発音構成を
変化のあるものにすることができ、これにより自動演奏
の単調さを解消して、変化に富んだ自動演奏を得ること
が可能となる。
Effects of the Invention As explained above, according to the present invention, an automatic performance pattern is composed of normal sound data and random sound data, and the random sound data is generated with a probability according to pre-stored probability data. I made it. Therefore, even if an automatic performance pattern consisting of only one measure is stored and this automatic performance pattern is repeated over multiple measures to be performed automatically, the automatic performance will be affected by the presence or absence of pronunciation based on the random sound data. The sound structure of the performance can be varied, thereby eliminating the monotony of automatic performance and making it possible to obtain automatic performance with a rich variety.

【0031】しかも、複数小節に亙る自動演奏パターン
を記憶する必要はなく、例えば1小節分の自動演奏パタ
ーンと確率データを記憶するのみでよいことから、自動
演奏パターンと確率データとを記憶する記憶媒体に膨大
な記憶容量が必要となることもなく、低コストにて変化
に富む自動リズム演奏を行うことが可能となる。
Moreover, it is not necessary to store an automatic performance pattern covering a plurality of measures, and it is only necessary to store, for example, an automatic performance pattern and probability data for one measure. It becomes possible to perform automatic rhythm performance with a wide variety at low cost without requiring a huge storage capacity of the medium.

【0032】また、前記確率データの値を可変設定し得
るようにしたことから、ランダム音の発音確率を任意に
変化させてバラエティに富んだ自動演奏が可能となると
ともに、小節毎に確率データを設定変更し得るようにし
たことから、自動演奏されたリズムを伴って楽曲をマニ
ュアル演奏する場合において、当該楽曲の構成に対応し
て、リズムパターンを変化させることも可能となり、こ
れにより楽曲に合った自動リズム演奏を得ることも可能
となる。
Furthermore, since the value of the probability data can be set variably, it is possible to arbitrarily change the pronunciation probability of random sounds to perform a wide variety of automatic performances. Since the settings can be changed, when playing a song manually with an automatically played rhythm, it is also possible to change the rhythm pattern according to the composition of the song, which allows you to change the rhythm pattern to match the song. It also becomes possible to obtain automatic rhythm performance.

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

【図1】本発明の一実施例の全体構造を示すブロック図
である。
FIG. 1 is a block diagram showing the overall structure of an embodiment of the present invention.

【図2】同実施例のスイッチ部の一部を示す平面図であ
る。
FIG. 2 is a plan view showing a part of the switch section of the same embodiment.

【図3】同実施例のデータROMに記憶された自動演奏
パターンのデータを示す模式図である。
FIG. 3 is a schematic diagram showing automatic performance pattern data stored in the data ROM of the same embodiment.

【図4】同実施例の自動演奏パターンを視覚的に示した
説明図である。
FIG. 4 is an explanatory diagram visually showing the automatic performance pattern of the same embodiment.

【図5】同実施例のデータROMに記憶された確率デー
タを示す説明図である。
FIG. 5 is an explanatory diagram showing probability data stored in the data ROM of the same embodiment.

【図6】同実施例において用いられるレジスタのを示す
説明図である。
FIG. 6 is an explanatory diagram showing registers used in the same embodiment.

【図7】同実施例のゼネラルフローの内容を示すフロー
チャートである。
FIG. 7 is a flowchart showing the contents of the general flow of the embodiment.

【図8】同実施例の自動リズム演奏処理の内容を示すフ
ローチャートである。
FIG. 8 is a flowchart showing the contents of automatic rhythm performance processing in the same embodiment.

【図9】図8に続くフローチャートである。FIG. 9 is a flowchart following FIG. 8;

【図10】同実施例のタイマーラプトルーチンの内容を
示すフローチャートである。
FIG. 10 is a flowchart showing the contents of a timer rap routine in the same embodiment.

【図11】同実施例においてランダム音が発音される確
率を示すグラフである。
FIG. 11 is a graph showing the probability that random sounds are produced in the same example.

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

1    CPU 2    データROM 3    ワーキングRAM 6    リズムスタートスッチ 7    リズムストップスイッチ 8    楽音信号発生部 10  サウンドシステム 1 CPU 2 Data ROM 3 Working RAM 6 Rhythm start switch 7 Rhythm stop switch 8 Musical tone signal generation section 10 Sound system

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  ノーマル音データとランダム音データ
とからなる自動演奏パターンを記憶した自動演奏パター
ン記憶手段と、前記ランダム音データに基づく発音の確
率を決定する確率データを記憶した確率データ記憶手段
と、前記自動演奏パターン記憶手段から前記自動演奏パ
ターンを順次読み出す読み出し手段と、該読み出し手段
により読み出された前記自動演奏パターンを構成する前
記ノーマル音データに基づいて発音を指示するとともに
、前記ランダム音データに基づいて前記確率データに応
じた確率にて発音を指示する発音指示手段と、該発音指
示手段からの発音指示に従って楽音を発生させる楽音発
生手段と、を備えたことを特徴とする自動演奏装置。
1. Automatic performance pattern storage means that stores automatic performance patterns consisting of normal sound data and random sound data; and probability data storage means that stores probability data that determines probabilities of pronunciation based on the random sound data. , reading means for sequentially reading out the automatic performance patterns from the automatic performance pattern storage means, and instructing to produce sounds based on the normal sound data constituting the automatic performance pattern read by the reading means; An automatic performance characterized by comprising: a sound generation instruction means for instructing pronunciation with a probability according to the probability data based on data; and a musical sound generation means for generating a musical tone according to the pronunciation instruction from the pronunciation instruction means. Device.
【請求項2】  前記確率データの値を可変設定する設
定手段が設けられたことを特徴とする請求項1記載の自
動演奏装置。
2. The automatic performance device according to claim 1, further comprising setting means for variably setting the value of the probability data.
【請求項3】  前記設定手段は、自動演奏の小節毎に
前記確率データの値を可変設定できるように構成されて
いることを特徴とする請求項2記載の自動演奏装置。
3. The automatic performance apparatus according to claim 2, wherein the setting means is configured to variably set the value of the probability data for each measure of automatic performance.
JP3122540A 1991-04-25 1991-04-25 Automatic musical performance device Pending JPH04324895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3122540A JPH04324895A (en) 1991-04-25 1991-04-25 Automatic musical performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3122540A JPH04324895A (en) 1991-04-25 1991-04-25 Automatic musical performance device

Publications (1)

Publication Number Publication Date
JPH04324895A true JPH04324895A (en) 1992-11-13

Family

ID=14838398

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3122540A Pending JPH04324895A (en) 1991-04-25 1991-04-25 Automatic musical performance device

Country Status (1)

Country Link
JP (1) JPH04324895A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022201945A1 (en) 2021-03-23 2022-09-29 カシオ計算機株式会社 Automatic performance device, electronic musical instrument, performance system, automatic performance method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022201945A1 (en) 2021-03-23 2022-09-29 カシオ計算機株式会社 Automatic performance device, electronic musical instrument, performance system, automatic performance method, and program

Similar Documents

Publication Publication Date Title
JPS6367193B2 (en)
US4887504A (en) Automatic accompaniment apparatus realizing automatic accompaniment and manual performance selectable automatically
JPS61188594A (en) Automatic rhythm performer
US4646610A (en) Electronic musical instrument with automatic ending accompaniment function
JPH02131292A (en) Automatic playing device
JPH04324895A (en) Automatic musical performance device
JP2660456B2 (en) Automatic performance device
JP2572318B2 (en) Automatic performance device
JP4318194B2 (en) Automatic accompaniment apparatus and automatic accompaniment method for electronic musical instrument
JPH0769698B2 (en) Automatic accompaniment device
JPH0555196U (en) Automatic playing device
JP2943560B2 (en) Automatic performance device
JP2570562B2 (en) Automatic performance device and automatic accompaniment device
JPS6261280B2 (en)
JP2636393B2 (en) Automatic performance device
JPH05224677A (en) Controller of additional sound to melody
JP2513308B2 (en) Electronic musical instrument
JP2513003B2 (en) Electronic musical instrument
JP3630266B2 (en) Automatic accompaniment device
JP3434403B2 (en) Automatic accompaniment device for electronic musical instruments
JP2963074B2 (en) Automatic performance device
JPH09330080A (en) Automatic musical performance device
JPH01319794A (en) Electronic musical instrument
JPH04274299A (en) Automatic musical performance device
JPH03200287A (en) Automatic player