JPS593485A - Automatic rhythm performer - Google Patents
Automatic rhythm performerInfo
- Publication number
- JPS593485A JPS593485A JP57111886A JP11188682A JPS593485A JP S593485 A JPS593485 A JP S593485A JP 57111886 A JP57111886 A JP 57111886A JP 11188682 A JP11188682 A JP 11188682A JP S593485 A JPS593485 A JP S593485A
- Authority
- JP
- Japan
- Prior art keywords
- rhythm
- data
- memory
- signal
- timing
- 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
Links
- 230000033764 rhythmic process Effects 0.000 title claims description 285
- 230000015654 memory Effects 0.000 claims description 69
- 238000000034 method Methods 0.000 description 29
- 230000008569 process Effects 0.000 description 29
- 238000006243 chemical reaction Methods 0.000 description 27
- 239000011295 pitch Substances 0.000 description 21
- 230000004044 response Effects 0.000 description 15
- 230000008859 change Effects 0.000 description 14
- 238000009826 distribution Methods 0.000 description 11
- 230000005236 sound signal Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 7
- 230000002238 attenuated effect Effects 0.000 description 5
- 230000000750 progressive effect Effects 0.000 description 3
- XZDHXPDYLPEFQI-GIQUADRUSA-N Bufol Chemical compound C([C@@H]1C[C@H]2O)[C@H](O)CC[C@]1(C)[C@@H]1[C@@H]2[C@@H]2CC[C@H]([C@@H](CCCC(C)(O)CO)C)[C@@]2(C)[C@@H](O)C1 XZDHXPDYLPEFQI-GIQUADRUSA-N 0.000 description 2
- 241001077262 Conga Species 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- JMWGZSWSTCGVLX-UHFFFAOYSA-N 2-ethyl-2-(hydroxymethyl)propane-1,3-diol;2-methylprop-2-enoic acid Chemical compound CC(=C)C(O)=O.CC(=C)C(O)=O.CC(=C)C(O)=O.CCC(CO)(CO)CO JMWGZSWSTCGVLX-UHFFFAOYSA-N 0.000 description 1
- RZVAJINKPMORJF-UHFFFAOYSA-N Acetaminophen Chemical compound CC(=O)NC1=CC=C(O)C=C1 RZVAJINKPMORJF-UHFFFAOYSA-N 0.000 description 1
- 101100029855 Arabidopsis thaliana PIP1.4 gene Proteins 0.000 description 1
- 240000005343 Azadirachta indica Species 0.000 description 1
- 101150015099 CHIA1 gene Proteins 0.000 description 1
- 101001065747 Homo sapiens E3 ubiquitin-protein ligase LRSAM1 Proteins 0.000 description 1
- 235000013500 Melia azadirachta Nutrition 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 101150014959 chi1 gene Proteins 0.000 description 1
- 238000013016 damping Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 102000047011 human LRSAM1 Human genes 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- FWYSBEAFFPBAQU-GFCCVEGCSA-N nodakenetin Chemical compound C1=CC(=O)OC2=C1C=C1C[C@H](C(C)(O)C)OC1=C2 FWYSBEAFFPBAQU-GFCCVEGCSA-N 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
- 230000001020 rhythmical effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
この発明は、波形読、出型自動リズム演奏装置に関し、
リズム音波形の記憶・再生の際にレベル調整を行なうと
とによりS/N比を向上させるようにしたものである。
従来、機数のリズム音波形をそれぞれパルスコード変換
1ツて波形メモリに記憶しておき、リズムパルスに応じ
て波形メモリから波形データを読出すことにより自動的
にリズム音を発生させるようにした自動リズム演奏装置
が提案されている。しかしながら、このような自動リズ
ム演奏装置にあっては、リズム楽器から得られたリズム
音波形をその捷まパルスコード変換し、記憶・再生して
いるため、特に低音量のリズム音についてS/N比が低
下する欠点があった。
この発明の目的は、S / N比が高い自動リズム演奏
装置を提供することにある。
との発明による自動リズム演奏装置は、リズム音波形に
関する音量制御データを記憶したメモリと、このメモリ
から音量制穐1データを読出す読出手段と、読出された
音量制御データに応じてリズム音の音量を制御する音量
制御回路とを設けたことを特徴とするもので、このよう
な特徴によれば、例えば低音量のリズム音についてはそ
の音量レベルを増大させた状態で波形をパルスコード変
換して波形メモリに記憶させておき、波形メモリから波
形データを読出してリズム音を再生する際にメモリから
読出された音量制御データに応じてリズム音の音量を低
下制御することによってS/N比を改善することができ
る。
以下、添付図面に示す実施例についてこの発明を詳述す
る。
第1図は、この発明の一実施例による自動リズム演奏装
置をそなえた電子楽器を示すものであり、この電子楽器
はマイクロコンピュータの助けによってマニアル演奏音
信吟及び自[til+ IIズム音信号の発生が制御さ
れるようになっている。
鍵盤10は多数の鍵と、各々の鍵に連動する多数の鍵ス
ィッチとを含むもので、各鍵スィッチは鍵スィッチ(K
SW)インターフェース12ヲ介して走査される。そし
て、鍵走査によって得られた押鍵テークはバス14を介
して鍵楽音インターフェース16に供給される。
パネル18には、多数の楽音選択用操作子18A及び多
数のリズム用操作子18Bが設けられており、リズム用
操作子18Eとしては、第2図に示すような多数のリズ
ムのうちから特定のリズムを選択するための一群のリズ
ム選択スイッチ2oと、リズムスタート/ストップスイ
ッチ22と、ノイズ系(シンバル系)リズム音及びドラ
ム系リズム音のバランス調整用ボリューム冴と、リズム
音のトータル音量調整用ボリューム26と、リズムテン
ポ調整用ボリューム側とが設けられている。操作子18
A及び18Bはパネルインターフェース(9)を介して
走査され、この走査によって得られる操作データのうち
楽音選択操作データはバス14を介して鍵楽音インター
フェースI6に供mlLる。
鍵楽音インターフェース16は押鍵データ及び楽音選択
操作データをシリアル信号に変換して鍵盤音形成回路3
2に供給する。鍵盤音形成回路32はインターフェース
16からのシリアル信号に応じて時分割多重形式のディ
ジタル楽音信号(マニアル演奏音信号)KT8を形成し
、シリアル(S)/パラレル(P)変換・分配回路34
に供給する。S/P変換・分配回路あはディジタル楽音
信号KTSをパラレル(i号に変換してディジタル(D
)/アナログ(A)変換回路3Gに供給する。そして、
D / A変換回路36からのアナログ楽音信号は出力
アンプ関を介して中央スピーカ40Cに供給され、音響
に変換される。
中央処理装置(C!PU)42は、ワーキングエリア4
4のRAM(ランダムアクセスメモリ)と、ROM(リ
ードオンリイメモリ)からなるプログラムメモリ46と
を用いて上記のような楽音信号発生を制御すると共に以
下に述べるようなリズム音信号発生を制御するもので、
汎用のA、X、Yレジスタ等を含んでいる。
リズム音信号発生動作に関I7て、ワーキングエリア4
4には、次の第1表に示すような多数の記憶域が設けら
れている。
第1表
リズム用操作子+8Bの走査によって得られるリズム用
操作データはパネルインターフェース30からバス14
を介してワーキングエリア44に供給され、記憶される
。すなわち、リズム選択スイッチ加の操作データはリズ
ム指定データとしてレジスタRHYPTHに記憶され、
ノイズ系/ドラム系バランス調整用ボリューム24の操
作データはノイズ系音量データ及びドラム系音量データ
に分割されてそれぞれレジス4 RHOL Fi V及
びRHDLEV に記憶され、トータル音量調整用ボ1
1ニーム26の操作データはトータル音量データとして
レジスタTOTLEVに記憶され、リズムテンポ調整用
ボリュームあの操作データはリズムテンポデータとして
レジスタTgMPOに記憶される。
ROMからなるリズムパターンメモリ48は、第2図に
示すような各種のリズムについて第3図に示すようなフ
ォーマットでリズムパターンデータを記憶したものであ
る。各リズムパターンデータは、最初に先頭アドレスに
対応して1バイトの楽器グループナンバデータが配置さ
れ、その下位3ビットが第2図のリズム分類に従ってθ
〜7のいずれかの楽器グループナンバエGNを示すよう
になっている。そして、楽器グループナンバデータの後
最初の拍エンドデータBEまでの間には最初の拍内で発
音すべきリズム音に関するいくつかのイベントデータK
VTが発音タイミング順に配置される。
各イベントデータKVTは2バイトのデータからなり、
1バイト目の最上位ビットは使用せず、その下3ビット
が第2図に示すよりな0〜7のいずれかのチャンネルナ
ンバCHNを、下位4ビツトが0〜11のいずれかの拍
内タイミングTMGをそれぞれ示すようになっている。
ここで、0〜7のチャンネルナンバOHNは第2図に示
すように楽器グループ毎、すなわちリズム種類毎に[T
C!YJ、「HHJ等の符号で示すリズム楽器に対応し
たものであり、各符号と各リズム楽器との対応関係は次
の第2表に示すようになっている。
第2表
各イベントデータEVTの2バイト目は、上位2ビット
は使用せず、その下2ビットがピッチP工Tを、下位3
ビツトが音量レベルLKVをそれぞれ示すようになって
いる。ここで、ビッヂP工Tは例えばトムトムを高音又
は低音のいずれのものにするか指定したり、コンガを高
音、低音又はクラッシュ音のいずれのものにするか指定
するためのものである。また、音量レベルTJ E V
はピアニシモからフォルテシモ寸での範囲で1音毎の強
弱を指定するためのものである。
従って、各イベントデータEVTには、どのリズム楽器
をどの拍内タイミングでどのようなピッチで且つどのよ
うな音量で発音させるかについての情報が含まれている
ことになる。
拍エンドデータBEは1バイトのデータからなり、その
−上位4ビットは使用せず、残り4ビツトがrllol
Jであって、この内容を便宜−ヒ16進法表示で「OD
」と表現する。
最初の拍エンドデータBEの後には2拍目のイベントデ
ータFVTが順次に配置され、その後には2拍目の拍エ
ンドデータBITiが配置され、以下同様にして必要数
のイベントデータEVT及び拍エンドデータBEが配置
される。そして、最後のイベントデータEVTの徒には
リターンデータRTNが配置される。リターンデータR
TNは1バイトのデータからなり、その上位4ビツトは
使用せず、残り4ビツトがr ] 11 ]、 Jであ
って、この内容を便宜上16進法表示で「OF」と表現
する。
ROMからなるパターン先頭アドレスメモリ50はリズ
ムパターンメモリ48の各リズム毎の先頭アドレスデー
タを記憶したもので、ワーキングエリア44内のレジス
タRHYPTNからのリズム指定データをアドレス信号
として記憶内容が読出されるようになっている。
対数(LOG)音量テーブル52は、レジスタTOTL
EVからのトータル音量データを対数変換するための第
1のROMと、レジスタRHDLEVからのドラム系音
量データ及びレジスタRHOLF!Vからのノイズ系音
量データをそれぞれ対数変換するための第2のROMと
をそなえている。
ROMからなる楽器毎レベルメモリ54は第2図及び第
2表の合計四種類のリズム楽器のそれぞれに対応した音
量レベル制御データを記憶したもので、各音量レベル制
御データの内容は対応するリズム楽器のリズム音波形を
記録又は記憶する際の音量レベル調整度を考慮して決定
されている。
ROMからなるリズム音波形メモリ56は前述の別種類
を含む多種類のリズム楽器のそれぞhのリズム音波形に
対応L7た波形データを記憶したものである。この場合
、名称回−の楽器でも前述のトムトム又はコンガのよう
にピッチが異なると別種の楽器として扱っているので、
前述の28種類よりも多くの種類のリズム音波形が記憶
されることになる。ここで、各リズム音波形に対応した
波形データは例えば第4図(a)、(b)又は(C)に
例示するようなリズム音波形を立上りから減衰までの区
間においてサンプリングし、各サンプル毎に撮幅をパル
スコード変換して得られたものである。
リズムインターフェース58は所定タイミング毎に割込
命令信号I’NTを発生すると共に、特定のタイミング
で発音すべきイベントデータがあれば第5図に示すよう
なシリアルデータopaを8楽器分順次にリズム音発生
回路6oに供給するものである。第5図のシリアルデー
タOPCにおいて、NKON(先頭ビット)は発音命令
信号、NKOFは消音命令信号、LEV(3ピツト)は
音量レベル指定信号、P工T(2ビツト)はピッチ指定
信号をそれぞれ示す。なお、リズムインターフェース5
8にはリズムテンポ設定時にレジスタTKMPOからリ
ズムテンポデータが供給されるので、この11ズムテン
ボデータに基づいてリズムテンポが決定される。
パネルデータインターフェース62は第5図に示すよう
な音量制御信号LV及びリズム制御信号PANをリズム
音発生口路60に供給するものである。音量制御信号L
Vはノイズ系リズム楽器の音量レベルを指定するための
8ビツトの信号NLKVとドラム系リズム楽器の音量レ
ベルを指定するための8ビツトの信号DLEVとを直列
配置したもので、ノイズ系音量レベル指定信号NLKV
の値はtOf(TXB、)で且つドラム系音用レベル指
定信号DLEVの値はtof(T x BD)でそれぞ
れ表わされる。ここで、Tはボリューム26によるトー
タル音量レベルを示し、BN及びB。はボリュームとに
よるそれぞれノイズ系音量レベル及びドラム系音量レベ
ルを示す。従って、ノイズ系音量レベル指定信号NLB
Vは対数音量テーブル52の第1 ROMからのトータ
ル音量データと同テーブル52の第2ROMからのノイ
ズ基音9データとを加算することによって得られ、ドラ
ム系音量レベル指定信号DLKVは対数音量テーブル5
2の第1 ROMからのトータル音量データと同テーブ
ル52の第2ROMからのドラム系音量データとを加算
することによって得られる。
リズム制御信号PANは第5図(A)、(B)に示すよ
うに2種類あり、信号(A)は楽器毎レベルメモリ54
の内容(音量レベル制御データ)を順次に読出し、各音
量レベル制御信号vLa(5ビツト)毎に楽器名に対応
したアドレス(5ビツト)を与えることにより形成され
る。この場合、信号(A)は別楽器分順次に送出さり、
IIズム音発生回路60内の]”lAMに一旦記憶
される。また、信号(B)はリズムパターンメモリ48
から読出される3ビツトの楽器グループナンバ信号工G
Nに対して信号(A)とは異なるアドレス(5ビツト)
を与えることにより形成される。
リズム音発生回路(イ)に供給された信号(B)は楽器
グループナンバ信号工G、 Nの示す特定の楽器グルー
プに属する8つのリズム楽器について時分割的な波形デ
ータ読出しを可能にする。この場合、リズム音発生回路
60は特定の楽器グループ中の89のリズム楽器のうち
発音すべき1又は複数のリズム楽器について波形データ
を読出すべく波形メモ1J56に時分割的にアドレス信
号ADを供給する。
発音すべき1又は複数のリズム楽器はシリアルデータO
PO中の発音命令信号NKON及びピッチ指定信号P工
Tによって指定される。波形メモリ56から時分割的に
読出されたパラレル波形データVDTはリズム音発生回
路6oに(it給され、パラレル(P)/シリアル(S
)変換の後音用制御処理を受ける。
M針制御処理は音量制御信号LVと、シリアルデータo
pc中の音列レベル指定信号LFiVと、信号(A)中
の音量レベル制御信号VLCとに基づいて行なわれ、こ
の結果として、発音すべ01ズム音の音量が、ボリュー
ムU及び26の設定と、1音毎の強弱設定と、波形記録
時のレベル調整度との関連において制御されることにな
る。
前月制御されたシリアル波形データは中央スピーカ40
C及び左スピーカ40Lのいずれによって発音されるべ
きか指定される。各リズム楽器音をいずれのスピーカで
発音させるかは楽器グループ毎に第2図「C」又は「L
」に示すように予め定められており、その指定内容はリ
ズム音発生回路60内のROMに予め記憶されている。
なお、第2図において、「C」及びrLJはそれぞれ中
央スピーカ及び左スピーカから発音すべきことを示す。
上記の結果、リズム音発生回路60からは時分割多重形
式のシリアルなディジタルリズム音信号RTSが送出さ
れ、S/P変換・分配回路34に供給される。S /
P変換・分配回路34はリズム音信号RTSをS /
P変換すると共に、前述のスピーカ指定処理に対応して
いずれかのD / A変換回路36又は64に分配する
。このた″め、D/A変換回路36からのアナログリズ
ム音信号は出力アンプ38を介して中央スピーカ400
に供給され、音響変換される一方、D/A変換回路64
からのアナログリズム音信号は出力アンプ66を介して
左スピーカ4oLに供給され、音響変換される。
次に、第6図を参照して上記重子楽器の動作を更に詳し
く説明する。
まず、電源スィッチをオンすると、イニシャライズのた
めのイニシャルクリア信号が発生され、これに応じて各
レジスタがクリアされる。そして、楽器毎レベルメモ+
154から楽器毎の音量レベル制御データが読出され、
各読出データはパネルデータインターフェース62を介
して第5図P A N (A)に示すような信号とし−
(IJズム音発生回路6)に供給される。この結果、回
路6o内のRAMには器楽器分の音量レベル制御信号V
LOが書込まれ、これによって楽器毎音量レベルが初期
セットされたことになる。
次に、鍵盤10及びパネル操作子18 A及び18Bの
走査が開始され、鍵情報及び操作情報が検知される。そ
して、イベントの有無(イエスY又はノーN)が判定さ
れ、イベントがなければ(Nならば)、走査がくりかえ
される。
ここで、リズム選択スイッヂA)の1つを押して特定の
リズムを選択したものとすると、選択されたリズムを指
定するリズム指定データがワーキングエリア44のレジ
スタRHYPTNに配憶される。
寸だ、リズム選択に関するイベントが検知されるノテ、
イヘント有り(Y)となり、リズムセットのサブルーチ
ンが実行される。このリズムセットのサブルーチンは選
択されたリズム種類に応じてリズムパターンメモリ48
の先頭アドレスセット等の処理を行なうもので、第9図
について後述される。
次ニ、リズム音量設定のためにノイズ系/ドラム某バラ
ンス調整用ボリューム24及ヒト−タル音M′調整用ボ
リューム26を適宜位置に設定すると、ノイズ系音量デ
ータはレジスタRHOLEVに、ドラム系音量データは
レジスタRHDLFiVに、トータル−¥fiデータは
レジスタT OT L F Vにそれぞれ記憶される。
この場合に記憶される各音量データは対応するボリュー
ムの操作量に応じて0〜15のいずれかの値を示すもの
である。また、リズム音量設定に関するイベントが検知
されるので、イベント有り(Y)となり、前述したよう
にレジスタRHOLEV、RHDLEV及びTOTLE
Vと対数音量テーブル52とを用いて音量制御信号L
Vを発生するための処理が行なわれる。
次に、リズムテンポ設定のためにリズムテンポ調整用ボ
リュームあを適宜位置に設定すると、設定値に対応した
リズムテンポデータがレジスタTF3MPOに記憶され
る。1だ、リズムテンポ設定に関するイベントが検知さ
れるので、イベント有す(Y)となり、レジスタTKM
POのリズムテンポデータがリズムインターフェース5
8に出力される。すなわち、第8図のリズムインターフ
ェース58において、アドレスバス70からの信号をデ
コードするデコーダ72がタイミング信号RHYDBO
1を発生すると、この信号はテンポレジスタ74にロー
ド信号りとして供給されるので、レジスタ74にはデー
タバス76からデータビット0=5(6ビツト)のリズ
ムテンポデータがロードされる。レジスタ74からのリ
ズムテンポデータはテンポROM78によってカウンタ
80のためのプリセットデータPSDに変換される。
次に、リズムスタート/ストップスイッチηをスタート
位置にセットすると、リズムスタートに関するイベント
が検知され、イベント有り(Y)となってリズムランフ
ラグがセットされる。すなわち、レジスタRHYRUN
に16進法表示で「80」(2進法表示でrloooo
ooo J)がセットされる。そして、第8図のリズム
インターフェースでは11ズムテンポ同期動作が行なわ
れる。詳しくいうと、デコーダ72からのタイミング信
号RHYDIQO4に応じてファンクションレジスタ8
2に16進法表示で「01」がロードされ、これに応じ
てレジスタ82はスタート信号5TRTを発生し、しか
る後自動的にクリアされる。スタート信号S TRTは
ORゲート84を介して分周カウンタ86をリセットさ
せるので、カウンタ86はリセットの後、同期信号SY
Nを受信するクロック源88からのクロック信号φの計
数を開始する。カウンタ86はクロック信号φを計数し
て一定値に達するとキャリイアウド信号CO,を発生し
、この信号CO。
はORゲート84を介してカウンタ86をリセットさせ
る。このため、カウンタ濁からは一定周期で反復的にキ
ャリイアウド信号CO,が送出され、カウンタ80に被
計数入力OKとして供給される。
カウンタ閏はORゲート90からのスタート信号5TR
Tに応じてプリセットデータPSDがロードされるもの
で、プリセットデータPSDに応じた分周比でカウンタ
あのキャリイアウド信号CO1を分周する。カウンタ8
0からのキャリイアウド信号CO3はORゲート90を
介してカウンタ80にロード信号LDとして供給される
ようになっているので、カウンタ80にはキャリイアウ
ド信号C02の発生のたびにプリセットデータPSDが
プリセットされ、カウンタ80からは設定テンポに対応
した周期で反復的にキャリイアウド信号CO,が送出さ
れる。
ORゲート90は最初にスタート信号BTRTに応じて
割込命令信号INTを発生した後、キャリイアウド信号
CO,の発生のたびに割込命令信号工NTを発生するよ
うになっている。割込命令信号工NTは拍内タイミング
0〜11に対応して1拍内で12回発生されるようにな
つ−Cおり、割込命令信号工NTが発生されるたびに第
7図に示すようなリズム音発生のためのサブルーチンが
割込処理として実行される。従って、分周カウンタ86
がスタート信号5TRTによってリセットされた直後か
ら設定テンポにしたがったリズム音発生が可能になる。
1拍内の12回の割込タイミングのうちどのタイミング
からリズム音を発生させるかはリズム種類によって異な
り、具体的にはリズムパターンメモリ48から読出され
るリズムパターンデータに応じて決する。
上記のようにしてリズム音発生が開始された後は、自動
リズム音に合わせて鍵盤演奏を開始することができる。
通常、鍵盤演奏に先立って、リズムスタートより前に楽
音選択用操作子18Aにより音色設定、音量設定等を含
む楽音選択操作がなされる。このような楽音選択操作は
その都度パネル走査により検知され、イベント有り(Y
)となる。
このため、楽音選択操作データの処理が行なわれ、処理
されたデータは鍵楽音インターフェース16に供給され
る。そして、鍵盤演奏が開始されると、押鍵がなされる
たびにイベント有り(Y)となる。
このため、押鍵データの処理が行なわれ、処理された押
鍵データはインターフェース16に供給される。従って
、前述したようにしてマニアル演奏音(i号KTsが形
成され、スピーカ400からはマニアル演奏音が突出さ
れる。
鍵盤演奏中において、第6図の鍵盤・パネルの走査以降
の処理はイベントがあるたびになされるものであるが、
割込命令信号INTが発生されるたびに(1拍内で12
回)割込処理のために中断され、割込処理完了のたびに
再開されるものである。
鍵盤演奏中又は鍵盤演奏終了後にリズムスタート/スト
ップスイッチ22をストップ位置にセットすると、リズ
ムストップに関するイベントが検知される。このため、
イベント有り(Y)となり、バッファクリア等のリズム
ストップ処理が行なわれる。スナワチ、第8図において
、ファンクションレジスタ82には、タイミング信号R
HYDFi04に応じて16′a法表示で「04」がロ
ードされ、これに応じてレジスタ82はバッファクリア
信号BUFOLを発生する。この信号BUFOLはOR
ゲート92を介してシフトレジスタ(S/R)94に供
給される一方、ORゲート96を介してシフトレジスタ
98に供給される。シフトレジスタ94及び98はいず
れも8ステージ/1ビツトのもので、クロック信号φを
同期信号SYNに応じて分周するチャンネル分周回路3
00からのチャンネルタイミング信号OhTによって調
時されている。バッファクリア信号BUFCLはシフト
レジスタ94及び98の内容を8チヤンネル(8楽器)
分すべて鳩1#にし、この後レジスタ82が自動的にク
リアされる。
次に、レジスタ82には、タイミング信号RHYDEC
4に応じて16進法表示で「2o」がロードされ、こ矛
1に応じてレジスタ82はデータ転送命令信号TRAN
を発生する。この信号TRANは、p / s変換回路
102に供給される。このため、P / S変換回路1
02はシフトレジスタ94からの発音命令信号NKON
、シフトレジスタ招からの消音命令信f=vNKOF、
後述するシフトレジスタ118からのピッチ及び音量レ
ベル信号P工T及びLFiVをそれぞれチャンネルタイ
ミング信号OhTに応じて1チャンネル分づつロードし
、クロック信号φに応じて送出し、それを8回くり返す
ことにより全8チャンネル分の各信号を順次シリアルデ
ータOPOとして送出する。この場合、信号NKON及
びN K、 OFが各チャンネル毎にともに%l#であ
るので、後述するように、この結果、リズム音が強制的
に減衰される。なお、レジスタ82は信号TRANによ
るデータOPCの送出の後自動的にクリアされる。
また、シフトレジスタ94及び98は、インバータ12
2及び124を介してANDゲート126及び128に
供給されるデータ転送命令信号TRAMにより8チャン
ネル分すべて鷺Olになる。
この後は、リズム関係のレジスタをクリアすることによ
りイニシャライズがなされる。
次に、第9図を参照してリズムセットのサブルーチンを
説明する。
マス、リズムランフラグRHYRUNの内容がらりズム
ランか判定される。フラグRHYRUNが0であればリ
ズムラン(リズム演奏中)でなく、0でなければリズム
ランである。リズムスタート前はりズムランでない(N
である)ので、進行拍数セットの処理に移る。進行拍数
は3拍子ならば0〜2のいずれかであり、4拍子ならば
0〜3のいずれかである。3拍子の場合の拍数0.1.
2は小節内タイミング(カウンタT工M工NGのカウン
ト値)のO〜11.12〜23.24〜35にそれぞれ
対応しており、4拍子の場合の拍数0.1.2.3は小
節内タイミングの0〜11.12〜23.24〜35.
36〜47にそれぞれ対応している。リズムスタート前
はいずれにしても拍数0であり、レジスタHKPFiに
0が書込まれる。
次に、再びリズムランか判定される。リズムスタート前
はりズムランでないので、リズムパターンメモリ48の
ための先頭アドレスセットの処理に移る。この処理は、
レジスタRHYPTNからのリズム指定データに基づい
てパターン先頭アドレスメモリカの内容を読出し、先頭
アドレスメそすRHYROMにセットするもので、メモ
リ(3)からはリズム指定データの指示する特定のリズ
ムに対応した先頭アドレスデータが読出され、メモリR
)!YROMに書込まれる。
次に、メモリRHYROMからの先頭アドレスデータに
基づいてリズムパターンデータ読出し及びアドレスポイ
ンタセットの処理が行なわれる。すなわち、この処理で
は、リズムパターンメモリ48から特定のリズムに対応
したリズムパターンデータが読出され、レジスタHKP
K及びカウンタT工MINGの内容に応じて次の割込処
理時に最初に読出されるべきチャンネル・タイミングデ
ータ(イベントデータの1バイト目のデータ)がサーチ
され、そのチャンネル・タイミングデータのアドレスが
アドレスポインタRHPNTにセットされる。リズムス
タート前はレジスタHKPK及びカウンタT工M工NG
の内容がいずれも0であるのでアドレスポインタRHP
NTには先頭アドレスの次のアドレスを示すべくlが書
込まれる。
次に、リズムパターンメモリ48から読出された特定の
リズムに対応する楽器グループプーンバデータがパネル
データインターフェース62に送出され、これに応じて
インターフェース62は第5図P A N(均に示すよ
うなリズム制御信号を11ズム音発生回路印に供給する
。
この後、リズム指定データの示す特定のリズムが3拍子
であるか判定され、3拍子であればレジスタTMPMA
Xに最大タイミング値35がセットされ、3拍子でない
(4拍子である)ならばレジスタTMPMAYに最大タ
イミング値47がセットされる。
上記したのは、リズムスタート前のリズムセット処理の
流れであるが、リズムスタート後にリズム変更があった
場合のリズムセット処理の流れは次のようになる。この
場合、リズムがスタートしているので、リズムランであ
る(Y)と判定され、パターンチェンジフラグPC!H
NGFがセットされる。すなわち、フラグPOHNGF
には16進法表示で「01」が書込まれ、これによって
次の割込タイミングで前のリズム音を強制的に減衰させ
ることが可能になる。
次に、進行拍数セットの処理に移り、レジスタHKPI
!iにはリズム変更時の進行拍数、例えば2(3拍目に
対応)が書込まれる。このとき、小節内タイミングカウ
ンタT工M工NGの内容はレジスタHK P J!iの
内容が2であれば24〜3!5のいずれかの値であり、
例えば29である。
この後、再びリズムランであるか判定され、リズノ、ラ
ンであるので、拍エンド/リターンフラグFj HHK
N Dクリアの処理に移る。この処理はフラグRHH
F、ND(HOを書込むもので、この後アドレスポイン
タRHPNTを新たにセットするので、後述の割込処理
を進行させるために必要なものである。
次に、リズムパターンメモリ48のための先頭アドレス
セットの処理がなされる。この場合、レジスタRHYP
THには新たに選択されたリズムに対応するリズム指定
データが入っているので、パターン先頭アドレスポイン
タからは新たに選択されたリズムに対応する先頭アドレ
スデータが読出され、先頭アドレスメモリRHYROM
に書込まれる。
次に、メモリRHYROMからの先頭アドレスデータに
基づいてリズムパター ンメモリ48から新たに選択さ
れたリズムに対応するリズムパターンデータが順次読出
され、アドレスポインタセット処理がなされる。この処
理において、レジスタHKPKの内容が0であれば(1
拍目であれば)カウンタT工MINGのデータと拍内タ
イミングデータTMGとを直接比較するが、レジスタH
KPEの内容が1以−ヒ(2拍目以降)であれば、リズ
ムパターンデータを順次読出し、拍変化フラグRD工S
PF力いl〃になるたびに(拍エンドになるたびに)カ
ウンタT工M工NGのデータから12を差引いて拍内タ
イミングデータTMGと比較する。
そして、この比較において両者が一致したときのチャン
ネル・タイミングデータのアドレスがアドレスポインタ
RHP’N Tにセットされる。
例えば、前述したようにレジスタHKPE!に2が、カ
ウンタT工MINGに四がそれぞれ入っているものとす
ると、拍変化フラグRDISPFが1拍目の終りと2拍
目の終りとでそれぞれ月〃になるので、タイミング値四
から12が2回差引かれる。
そして、この結果得られた値5と3拍目の拍内タイミン
グデータTMGの値とが比較され、3拍目のタイミング
値5のチャンネル・タイミングデータの読出時に一致が
得られる。従って、アドレスポインタRHPNTにはか
かる一致が得られたときのアドレスがセットされ、次の
割込タイミングでは新たに選択されたリズムに対応する
リズムパターンデータが3拍目のタイミング値5のもの
から読出開始されることになる。
上記のようなアドレスポインタセットの後は、新たに選
択されたリズムに関して楽器グループナンバデータの送
出、3拍子か4拍子かの判定、最大タイミングセットの
各処理が前述のリズムスタート前の場合と同様にして行
なわれる。
次に、第1O図を参照して割込処理のサブルーチンを説
明する。
割込命令信号工NTが発生されると、各レジスタの内容
をメモリに転送し、セーブする。そして、前述したと同
様にしてリズムランフラグRHYRUNの内容からりズ
ムランか判定される。リズムスタート/ストップスイッ
チ22をスタート位置にセットした後はフラグRHYR
UNの内容が0でないので、リズムラン(Y)と判定さ
れる。
次に、パターンチェンジフラグPOHNGFの内容から
リズム変更か判定される。フラグPCHNGFがOであ
ればリズム変更でなく、0でなければリズム変更である
。通常、リズムスタート直後はリズム変更しないので、
この場合は第11図のリズムパターン処理のサブルーチ
ンに移る。
第11図においては、まず拍エンド/リターンフラグR
HHENDの内容から拍エンドか判定される。
リズムスタート直後は拍エンドでない(フラグRHHK
NDは1でない)ので、アドレスポインタRHPNTの
内容なYレジスタに移す。そして、先頭アドレスメモリ
RHYROMとYレジスタとを加算した値をアドレスと
して用いて、選択されたリズムに対応する最初のイベン
トデータEVTからJバイト目のデータすなわちチャン
ネルナンバCHN及び拍内タイミングTMGからなるチ
ャンネルやタイミングデータをリズムパターンメモリ4
8から読出し、Aレジスタに入れる。
次に、Aレジスタのチャンネル・タイミングデータをX
レジスタに転送した後、Xレジスタのチャンネル・タイ
ミングデータからその下位4ビツトの拍内タイミングデ
ータTMGを抽出してAレジスタに入れる。すなわち、
この状態では、Aレジスタに拍内タイミングデータTM
Gが、XレジスタにはチャンネルナンバデータOHNと
拍内タイミングデータTMGとが入っていることになる
。
次に、Aレジスタの内容すなわち拍内タイミングデータ
TMGと拍内タイミングカウンタTMPONTの内容と
を比較することによってタイミング一致か判定される。
このとき、タイミング一致が得られないものとすると、
このことは最初の拍内タイミング(カウンタTMPC!
NTのカウント値0)では発音すべきイベントデータが
ないことを意味する。この場合には、Aレジスタの拍内
タイミングデータTMGの値が16進の「OD」以−ヒ
か、すなわち拍エンド/リターンか判定される。今は拍
エンド/リターンでないので、Yレジスタの内容をアド
レスポインタRHPNTに転送してリズムパターン処理
を終る。
次に、第10図のデータ転送命令出力の処理に移る。こ
の処理は、先にリズムストップに関して述べたと同様に
行なわれ、第8図のP / S変換回路102は全ピッ
l(1#のシリアルデータOPOを8楽器分+11i’
i次に送出する。従って、この場合は、選択されたリズ
ムについていずれの楽器音も発生されない。
との後、カウンタTMPONTを1力ウント歩進してか
ら、カウンタTMPONTのカウント値が11に等しい
か、すなわち拍オーバーが判定される。
今は拍オーバーでないので、小節内タイミングカウンタ
T工M工NGを1力ウント歩進してから、先にセーブさ
れているレジスタ内容を復帰させる。
これで最初の割込処理を終り、第6図の鍵盤・パネルの
走査等の通常処理に戻る。
2回目以降の割込処理もタイミング一致が得られない限
り上記と同様に行なわれる。
ところで、最初の拍内タイミングデータTMGがタイミ
ング値5を示しているものとすると、6回目の割込処理
の際にfflll図の処理でタイミング一致が得られる
。この場合には、Xレジスタの内容に1が加算され、読
出アトI/スが1つ進む。そして、先頭アドレスメモリ
RHYROMとXレジスタとを用いて、最初のイベント
データEVTから2バイト目のデータすなわちピッチP
工T及び音量レベルLEVからなるピッチのレベルデー
タがリズムパターンメモリ48から読出され、Aレジス
タに書込まれる。
次に、データ出力の処理が行なわれる。すなわち、Aレ
ジスタのピッチ−レベルデータのうち、レベルデータT
J E Vはデータビット0〜2の3ビツトの信号とし
て第8図のデータノくスフ6に送出されると共にピッチ
データP工Tはデータビット4〜7の4ピツトの信号と
してデータバス76に送出される。そして、これら合計
7ピツトのピッチ・レベルデータはタイミング信ケRH
Y D E O2m応じてデータレジスタ104にロー
ドされる。
また、XレジスタのチャンネルナンバデータOHNはデ
ータビット4〜6の3ビ・ソトQ)信号とし−Cデーク
バス76に送出され、タイミング信号RHY D E
C3に応じてチャンネルレジスタ101’iにロードさ
れる。このとき、タイミング信号RHYD K O:(
はR−Sフリップフロップ“108をセ・ノドさせるの
で、)1)ツブフロップJ08σ)出力Q−%1#によ
ゆへNDゲート110が導通状態となる。比較回路11
2はチャンネルタイミング信号ChTを言1数するチャ
ンネルカウンタ114の割数出力とチャンネルレジスタ
106からのチャンネルナンバデータCHNとを比較し
て両者が一致すると、一致信号gQ=J4を発生する。
この一致信号E Q、はANDゲート110を介してフ
リップフロップ108をリセットさせる一方、ANDゲ
ート110からセレクタ116に入力Bを選択するため
の選択信号SBとして供給される。このため、データレ
ジスタ104からのピッチ−レベルデータはセレクタ1
16を介して8ステージ15ビツトのシフトレジスタ1
18に供給され、ストアさね、る。
ANDゲート110からの一致信号IQはまた、ORゲ
ート92を介してシフトレジスタ94に供給され、スト
アされると共に、インバータ120及びANDゲート1
28を介して信号気0〃としてシフトレジスタ98に供
給され、ストアされる。シフトレジスタ94.98及び
118はチャンネルタイミング信号ChTで互いに同期
して動作しており、各々の対応するステージにストアさ
れた特定のリズム楽器(例えば)・イノ・ット7ンバル
)に関するデータはチャンネルタイミング信号OhTに
応じて循環的に記憶される。この場合に記憶される信号
NKON及びNKOFはそれぞれ−】#及び0′である
。
上記のようなデータ出力処理の後は、Xレジスタ内容に
さらに1を加えて読出アドレスが歩進される。そしC1
先頭アドレスメモリRHYROM及びXレジスタを用い
て、2番目のイベントデータEVTのチャンネル・タイ
ミングデータがリズムパターンメモリ48から読出され
、Aレジスタに書込まれる。
次に、前述したと同様に、Aレジスタの内容をXレジス
タに転送してから拍内タイミングデータTMGを抽出し
、Aレジスタに入れる。そして、前述したと同様にAレ
ジスタの内容とカウンタTMPONTの内容とを比較す
ることによりタイミング一致か判定され、もしタイミン
グ一致であれば前回同様にピッチ・レベルデータの読出
しが行なわれ、以下同様の動作がくりかえさね、る。こ
の結果、拍内タイミング「5」で発音すべきすべての楽
器(最大で8つの楽器)に関するデータが第8図のシフ
トレジスタ94.98及び118にストアされる。なお
、シフトレジスタ94.98及び118において、発音
しない楽器に対応するチャンネルは全ビット%ONであ
る。
拍内タイミング5のイベントデータがずべて読出された
後は、5より大きい拍内タイミング値を示すタイミング
データTMGが読出され、Aレジスタに書込まれるので
、タイミング一致が得られなくなり、拍エンド/11タ
ーンかの判定に移る。
今は拍エンド/リターンでないので、Yレジスタの内容
をアドレスポインタRT(PNTに移してリズムパター
ン処理を終る。なお、このときアドレスポインタRHP
NTには、先にAレジスタに書込まれたタイミングデー
タTMGのアドレスが書込まれ、このアドレスから次回
のイベントデータ読出しが開始される。
次に、第10図のデータ転送命令出力の処理に移り、前
述したと同様に第8図のシフトレジスタ94.98.1
18の内容が1楽器分毎にP / S変換回路102に
ロードされ、この変換回路102からシリアルデータo
paが1楽器分毎に8楽器分順次に送出され、この送出
データのうち発音命令信号NKONカイ1#になってい
るデータに基づいて対応するリズム音が奏出される。な
お、シリアルデータopcの送出動作中、転送命令信号
TRAM=11#はそれぞれインバータ122及び12
4を介してANDゲート126及び128を非導通制御
するので、シフトレジスタ94及び98はクリアされる
。また、インバータ120の出力信号%]〃はセレクタ
116に入力Aを選択するための信号SAとして供給さ
れるので、シフトレジスタ118のデータはセレクタ1
16を介して循環的に配憶される。
この後は、第10図において、前述したと同様にカウン
タT M P ON T及びT工MINGをそれぞれ1
力ウント歩進させてから各レジスタ内容を復帰させて6
回目の割込処理を終る。
1拍目において、上記のような発音を伴う又は伴わない
割込処理が何回かくりかえされると、Aレジスタに最初
の拍エンドデータBfflの下位4ピツトが書込まれる
。このため、第11図の拍エンド/リターンかの判定結
果が肯定的(Y)となり、リターンかの判定が行なわれ
る。今はリターンではないので、拍エンド/リターンフ
ラグRHHENDセットの処理に移り、フラグRHHK
NDにはAレジスタの内容(拍エンドデータBEの下位
4ビツト)が書込まれる。そして、Yレジスタ内容が変
更される。この場合、拍エンドであるので、Yレジスタ
の内容は最初の拍エンドデータBFJの次のデータ(2
拍目の最初のチャンネル・タイミングデータ)のアドレ
スに変更される。
この優は、Yレジスタの内容をアドレスポインタRHP
NTに移してリズムノくターン処理を終る。
次に、第10図のデータ転送命令出力以降の処理に移り
、前述したと同様にしてリズム音が奏出され、この回の
割込処理が終る。
次の割込処理では、上記のように拍エンド/リターンフ
ラグRHI(ENDが拍エンドにセ・ソトされているの
で、第11図の拍エンドかの判定結果が肯定的(Y)と
なり、第11図のルーチンは直ちにエンドとなる。そし
て、第10図のデータ転送命令出力以降の処理がなされ
るが、NKON及びNKOFがともに101であるので
リズム音は発生されない。
このようにリズム音が発生されない割込処理が何回かく
りかえされると、カウンタTMPONTのカウント値が
11になる。すると、第10図の拍オーバーかの判定結
果が肯定的(Y)となり、小節内タイミングカウンタT
工M工NGが1力ウント歩進されて、カウント値12に
なる。
次に小節オーバーか判定されるが、今は小節オーバーで
ないので、拍エンド/リターンフラグRHHK N ]
)リセットの処理に移る。tなわち、フラグRHT(E
NDには0が書込まれる。そして、カウンタTMPCN
Tをリセットさせてから各レジスタ内容を復帰させて1
拍目の最後の割込処理を終る。
2拍目の最初の割込処理では、先にフラグRHHT’L
NDがリセットされているので、71511図の拍エン
ドかの判定結果が否定的(N)となり、Yレジスタには
、アドレスポインタRHPNTから、tit初の拍エン
ドデータBEの次のデータのアトlメスがセットされる
。このため、イベントデータ読出し、は2拍目の最初の
チャンネルΦタイミングデータから開始される。
2拍目の最初の割込処理が終った後は、前述したと同様
にして発音を伴う又は伴わない割込処理が第3図のフォ
ーマットの最終拍までくりかえされる。そして、最終拍
において、割込処理が何回かくりかえされると、Aレジ
スタにはリターンデ−タRTHの下@i4ビットが書込
まれる。このため、第11図の拍エンド/リターンかの
判定結果が肯定的(Y)となり、リターンかの判定がな
される。
今はリターンであるので、Yレジスタがリセットされる
。すなわち、Yレジスタに16進法表示で100」が書
込まれる。
次に、拍エンド/リターンフラグRHHK N I)セ
ットの処理がなされ、フラグRHHENDにはAレジス
タの内容(リターンデータRTNの下位4ビツト)が書
込まれる。そして、Yレジスタ内容が変更される。この
場合、リターンであるので、Yレジスタの内容は先頭ア
ドレスの次のアドレスC最初のチャンネル・タイミング
データに対応)に変更される。
この後は、Yレジスタの内容をアドレスポインタRHP
NTに転送してリズムパターン処理を終る。
次に、第10図のデータ転送命令出力以降の処理に移り
、前述したと同様にしてリズム音が奏出され、この回の
割込処理が終る。
次の割込処理では、上記のように拍エンド/リターンフ
ラグRHHKNDがリターンにセットされているので、
第11図の拍エンドかの判定結果が肯定的(Y)となり
、第11図のルーチンはエンドとなる。そして、第10
図のデータ転送命令出力以降の処理がなされるが、リズ
ム音は発生されない。
このようにリズム音が発生されない割込処理が何回かく
りかえされると、カウンタT工MINGのカウント値が
3拍子ならば35.4拍子ならば47になる。そして、
第10図で小節オーバーかの判定がなされる。この判定
はカラン41T工M工NGの内容と最大タイミングレジ
スタTMPMAXの内容とを比較して一致しているか調
べるもので、今は一致(Y)と判定される。
次に、拍エンド/リターンフラグRHI(FiNDがリ
セットされる。そして、カウンタT工M工NG及びTM
P(!NTをリセットさせてから各レジスタ内容を復帰
させて最終拍の最後の割込処理を終る。
この後は、アドレスポインタRHPNTに先頭アドレス
の次のアドレスがセットされているので、第3図のフォ
ーマットの最初の拍から一上記したと同様の割込処理が
くりかえされ、記憶したリズムパターンに従って反復的
にリズム音が奏出される。
−上記したのは、リズムスタート/ストップスイッチρ
をスタート位置にセットした直後からのリズム音発生動
作であるが、リズムスタート後にリズム変更した場合の
動作は次のようになる。すなわち、この場合は、前述し
たように第9図の処理においてパターンチェンジフラグ
POHNGFがセットされているので、第10図のリズ
ム変更かの判定結果が肯定的(Y)となり、バッファク
リアの処理に移る。この処理は前述したリズムストップ
の場合と同様に行なわれ、第8図のシフトレジスタ94
及び98は8チャンネル分すべて気1〆となる。
次に、パターンチェンジフラグPOHNGFをリセット
してから第11図のリズムパターン処理に移る。この場
合のリズムパターン処理は、新たに選択されたリズムに
関して実行される。すなわち、第9図について前述した
ようにアドレスポインタR,HP N Tには新たに選
択されたリズムに対応シたリズムパターンデータの読出
開始子ドレスが前のリズムの進行状態との関連において
セットされているので、リズム変更後最初のチャンネル
・タイミングデータはアドレスポインタRHPNTの示
すアドレスから読出される。この後は、前述したと同様
にして第11図及び第10図の処理が行なわれ、新たに
選択されたリズムのパターンに従ってリズム音が奏出さ
れる。この場合、先のバッファクリア処理でNKON及
びNKOFがともに気IIとされたままのチャンネルの
リズム音は強制的に減衰される。
次に、第12図を参照してリズム音発生回路60の詳細
動作を述べる。この回路60はリズム制御回路130、
減衰制御回路132、アドレス発生回路134及び音量
制御・データ出力回路136を含んでおり、図示しない
タイミング信号発生器から第13図に示すようなタイミ
ング信号φ、Y1〜7.、φAB等を受信して動作する
ようになっている。ただし、第12図でタイミング信号
φの記入は省略しである。
リズム制御回路J3Qには、電源スィッチのオン操作に
基づくイニシャライズの後、パネルデータインターフェ
ース62(第1図)から田楽器分のリズム制御信号P
A N (A)が供給される。この信号P A N (
A)はS/P変換回路138によってパラレル信号に変
換され、このパラレル信号のうち下位5ビツトのアドレ
ス信号はデコーダ140でデコードされる。
デコーダ140の:(1本の出力ライン1117)ウチ
、]〜路番目のラインの信号は楽器毎レベルメモリとし
てのRA M 142に書込アドレス信qWADとして
供給さA1、RA M 142のデータ入力としてはE
l/p変換回路138から音量レベル制御信号VLO(
パラレル信号の上位5ビツト)が供給される。このため
、RAM142には、四楽器分の音量レベル制御信号V
LOが順次に書込寸れ、これによって楽器毎の音量レベ
ルが初期セットされたことになる。
なお、このようにRA M 142に楽器毎の音量レベ
ルを初期セットする代りに、予め楽器毎音量レベルがセ
ットされているROMを設けてもよい。
この後、前述したようにリズムセットの処理がなされる
と、パネルデータインターフェース62がらリズム制御
回路130には、リズムfli制御信号PAN(B)が
供給される。この信号P A N (B)は、S/p変
換回路138によってパラレル信号に変換され、このパ
ラレル信号のうちの下位5ビツトのアドレス信号はデコ
ーダ140でデコードされる。
デコーダ140の出力ラインのうち、29番目のライン
の信号はラッチ回路144にロード信号LDとして供給
され、ラッチ回路144のデータ入力とし7てはS /
P変換回路138から楽器グループナンバ信号工GN
(パラレル信号の上位5ビツトのうち下位3ビツト)が
供給される。このため、ラッチ回路144はロード信号
LDに応じて楽器グループナンバ信号工GNをラッチし
、ROM146に供給する。
ROM 146は、各楽器グループ毎に8つの楽器に対
応した楽器名データを記憶すると共に、各楽器グループ
の各楽器毎にノイズ系/ドラム系指定データと中央スピ
ーカ/左スピーカ指定データとを記憶したもので、これ
らのデータは、ラッチ回路144からの楽器グループナ
ンバ信号工GNと、タイミング信号φABを計数するカ
ウンタ148の3ビツトの計数出力とをアドレス信号と
してROM146から読、出されるようになっている。
例えば楽器グループナンバ信号工GNの値が1で第2図
のワルツ、バラードのリズム種類を指定したとすると、
ROM146からはカウンタ148のカウント値(チャ
ンネルナンバ0HN)がOのとき楽器名TOYを示す5
ビツトのデータと、この楽器TOYがノイズ系であるこ
とを示す1ピツトのデータと、楽器TCYを左スピーカ
から発音させるべきことを示す1ビツトのデータとの組
合せからなるパラレル7ビツトのデータが読出され、こ
のようなデータ読出しはカウンタ148のカウント値が
1.2.3・・・・・・7と変化するにつれて他の7つ
の楽器名についても同様に行なわれる。そして、カウン
タ148が8チヤンネル(8楽器)分の計数動作をくり
かえすのに伴ってROM 146からのデータ読出しも
くりかえされる。
リズムインターフェース58(ffi8図)から、発音
命令を含む最初の8楽器分のシリアルデータopcが1
1ズム制御回路130に供給されると、このデータOP
CはS/P変換・ラッチ回路150においてS / P
変換され、一時記憶される。
ここで、簡単のため、最初の8楽器分のシリアルデータ
OPCが第2図の楽器グループナンバIのトップシンバ
ルTOY(チャンネルナンバo)についてのみ発音命令
を含んでいるものとすると、S / P 変換・ラッチ
回路150からはチャンネルナンバOのタイミングで発
音命令信号N K ON −%l#と消音命令信号NK
OF−%Q#とが送出され、チャンネルナンバ1〜7の
タイミングでは信号NKON及びNKOF”としていず
れも%0〃が送出される。これらの信号NKON及びN
KOFは減衰制御回路132に供給さ牙t1信号NKO
NはANDゲート152の第1の入力端に、信号NKO
Fはインバータ154を介してANDゲート152の第
2の入力端にそれぞれ加えられる。このとき、ANDゲ
ート152の第3の入力端にはインバータ156がら信
号%11が供給されている。従って、ANDゲ−ト35
2はチャンネルナンバ0のタイミングで信号NKON及
びNKOFに応じて出力信号s1tを発生する。
この出力信号気】lはORゲート158を介して8ステ
ージ/1ビツトのシフトレジスタ160に供給される一
方、ORゲート162を介してNANI)ゲ−ト164
に供給される。このとき、インバータ166及び168
はNANDゲート164に信号−1#を供給しているの
で、NANDゲート164はORゲ−ト162の出力信
号11#に応じて出力信号和〃を発生する。
この出力信号和lはANDゲート170を介して8ステ
ージ/1ビツトのシフトレジスタ172に供給される。
このため、シフトレジスタ172のチャンネルナンバO
に対応したステージには、タイミング信号φAFIに応
じて信号%ONが書込まれる。これと同時に、シフトレ
ジスタ160のチャンネルナンバ0に対応This invention relates to a waveform reading, automatic rhythm playing device,
The S/N ratio is improved by adjusting the level when storing and reproducing the rhythm sound waveform. Conventionally, each rhythm sound waveform of a number of machines was converted into a pulse code and stored in a waveform memory, and the rhythm sound was automatically generated by reading the waveform data from the waveform memory in accordance with the rhythm pulse. An automatic rhythm playing device has been proposed. However, in such an automatic rhythm performance device, the rhythm sound waveform obtained from a rhythm instrument is twisted and converted into a pulse code for storage and playback, so the S/N ratio is low, especially for low-volume rhythm sounds. There was a drawback that the ratio decreased. An object of the present invention is to provide an automatic rhythm performance device with a high S/N ratio. The automatic rhythm playing device according to the invention includes a memory storing volume control data regarding rhythm sound waveforms, a reading means for reading volume control data from the memory, and a reading means for reading out volume control data from the memory, and a system for controlling rhythm sounds according to the read volume control data. According to this feature, for example, for a low-volume rhythm sound, the waveform is converted into a pulse code while the volume level is increased. When the waveform data is read out from the waveform memory and the rhythm sound is played back, the S/N ratio is adjusted by lowering the volume of the rhythm sound in accordance with the volume control data read out from the memory. It can be improved. The invention will now be described in detail with reference to embodiments shown in the accompanying drawings. FIG. 1 shows an electronic musical instrument equipped with an automatic rhythm playing device according to an embodiment of the present invention, and this electronic musical instrument can generate manual playing sound signals and automatic rhythm sound signals with the help of a microcomputer. is now under control. The keyboard 10 includes a large number of keys and a large number of key switches that are linked to each key, and each key switch is a key switch (K
SW) interface 12. The key press results obtained by key scanning are then supplied to the key tone interface 16 via the bus 14. The panel 18 is provided with a number of musical tone selection operators 18A and a number of rhythm operators 18B.The rhythm operator 18E selects a specific rhythm from among the many rhythms as shown in FIG. A group of rhythm selection switches 2o for selecting rhythms, a rhythm start/stop switch 22, a volume control for adjusting the balance of noise-based (cymbal-based) rhythm sounds and drum-based rhythm sounds, and a total volume adjustment of rhythm sounds. A volume 26 and a rhythm tempo adjustment volume are provided. Operator 18
A and 18B are scanned via the panel interface (9), and among the operation data obtained by this scanning, tone selection operation data is provided to the key tone interface I6 via the bus 14. The key musical tone interface 16 converts the key press data and musical tone selection operation data into serial signals and sends them to the keyboard tone forming circuit 3.
Supply to 2. The keyboard sound forming circuit 32 forms a time-division multiplexed digital musical sound signal (manual performance sound signal) KT8 in response to the serial signal from the interface 16, and outputs a serial (S)/parallel (P) conversion/distribution circuit 34.
supply to. The S/P conversion/distribution circuit converts the digital musical tone signal KTS into parallel (i) and digital (D
)/Analog (A) conversion circuit 3G. and,
The analog musical tone signal from the D/A conversion circuit 36 is supplied to the central speaker 40C via an output amplifier and converted into sound. The central processing unit (C!PU) 42 is located in the working area 4.
This system uses a RAM (Random Access Memory) 4 and a program memory 46 consisting of a ROM (Read Only Memory) to control the generation of musical tone signals as described above, as well as the generation of rhythm tone signals as described below. ,
Contains general-purpose A, X, Y registers, etc. Regarding rhythm sound signal generation operation, working area 4
4 is provided with a large number of storage areas as shown in Table 1 below. The rhythm operation data obtained by scanning the rhythm operator +8B in Table 1 is transferred from the panel interface 30 to the bus 14.
The data is supplied to the working area 44 via the PCB and stored therein. That is, the operation data for adding the rhythm selection switch is stored in the register RHYPTH as rhythm designation data.
Operation data for the noise system/drum system balance adjustment volume 24 is divided into noise system volume data and drum system volume data and stored in the registers 4 RHOL Fi V and RHDLEV, respectively, and the total volume adjustment button 1
The operation data for the 1 neem 26 is stored as total volume data in the register TOTLEV, and the operation data for the rhythm tempo adjustment volume is stored as rhythm tempo data in the register TgMPO. The rhythm pattern memory 48 consisting of a ROM stores rhythm pattern data in a format as shown in FIG. 3 for various rhythms as shown in FIG. In each rhythm pattern data, 1-byte instrument group number data is first arranged corresponding to the start address, and the lower 3 bits are θ according to the rhythm classification shown in Figure 2.
It is designed to indicate one of the musical instrument group numbers GN to 7. After the instrument group number data and before the first beat end data BE, there are several event data K related to the rhythm sound to be generated within the first beat.
VTs are arranged in order of sound generation timing. Each event data KVT consists of 2 bytes of data,
The most significant bit of the first byte is not used, the lower 3 bits are the channel number CHN from 0 to 7 shown in Figure 2, and the lower 4 bits are the intra-beat timing from 0 to 11. Each TMG is shown. Here, the channel numbers OHN from 0 to 7 are assigned to [T
C! It corresponds to rhythm instruments indicated by codes such as YJ, ``HHJ, etc., and the correspondence between each code and each rhythm instrument is shown in Table 2 below.Table 2 Each event data EVT In the second byte, the upper 2 bits are not used, the lower 2 bits are the pitch P, the lower 3
The bits each indicate the volume level LKV. Here, the bit pitch T is for specifying, for example, whether a tom-tom should be a high-pitched or low-pitched tone, or whether a conga should be a high-pitched, low-pitched tone, or a crashing tone. Also, the volume level TJ E V
is used to specify the strength of each note in the range from pianissimo to fortissimo. Therefore, each event data EVT includes information regarding which rhythm instrument is to be sounded at which timing within a beat, at what pitch, and at what volume. The beat end data BE consists of 1 byte of data, the upper 4 bits of which are not used, and the remaining 4 bits are rllol.
J, and this content is conveniently expressed in hexadecimal notation as “OD
” After the first beat end data BE, the second beat event data FVT is placed sequentially, after which the second beat end data BITi is placed, and in the same manner, the required number of event data EVT and beat end data are placed. Data BE is placed. Then, return data RTN is placed in the place of the last event data EVT. Return data R
TN consists of 1 byte of data, the upper 4 bits of which are not used, and the remaining 4 bits are r ] 11 ], J, and for convenience, this content is expressed in hexadecimal notation as "OF". The pattern start address memory 50 consisting of a ROM stores the start address data for each rhythm of the rhythm pattern memory 48, and the stored contents are read out using the rhythm designation data from the register RHYPTN in the working area 44 as an address signal. It has become. The logarithm (LOG) volume table 52 is a register TOTL.
A first ROM for logarithmically converting the total volume data from EV, drum system volume data from register RHDLEV, and register RHOLF! A second ROM for logarithmically converting noise volume data from V is provided. The instrument level memory 54 consisting of a ROM stores volume level control data corresponding to each of the four types of rhythm instruments shown in FIG. 2 and Table 2, and the content of each volume level control data corresponds to the corresponding rhythm instrument. This is determined by taking into account the degree of volume level adjustment when recording or storing the rhythm sound waveform. The rhythm sound waveform memory 56, which is a ROM, stores waveform data L7 corresponding to each rhythm sound waveform of various types of rhythm instruments including the aforementioned different types. In this case, even instruments with the same name as the above-mentioned tom-tom or conga are treated as different instruments if they have different pitches.
More types of rhythm sound waveforms than the 28 types described above will be stored. Here, the waveform data corresponding to each rhythm sound waveform is obtained by sampling the rhythm sound waveform as shown in FIG. This was obtained by converting the imaging width into a pulse code. The rhythm interface 58 generates an interrupt command signal I'NT at each predetermined timing, and if there is event data to be generated at a specific timing, serial data opa as shown in FIG. This is supplied to the generation circuit 6o. In the serial data OPC shown in Fig. 5, NKON (first bit) indicates a sound production command signal, NKOF indicates a mute command signal, LEV (3 pits) indicates a volume level specification signal, and P/T (2 bits) indicates a pitch specification signal. . In addition, rhythm interface 5
Since rhythm tempo data is supplied to rhythm tempo 8 from register TKMPO when rhythm tempo is set, the rhythm tempo is determined based on this 11 rhythm tempo data. The panel data interface 62 supplies a volume control signal LV and a rhythm control signal PAN as shown in FIG. 5 to the rhythm sound generation port 60. Volume control signal L
V is a series arrangement of an 8-bit signal NLKV for specifying the volume level of noise-based rhythm instruments and an 8-bit signal DLEV for specifying the volume level of drum-based rhythm instruments, and is used to specify the noise-related volume level. Signal NLKV
The value of is expressed as tOf(TXB,), and the value of the drum sound level designation signal DLEV is expressed as tof(T x BD). Here, T indicates the total volume level due to the volume 26, BN and B. indicates the noise volume level and the drum volume level, respectively, depending on the volume. Therefore, the noise system volume level designation signal NLB
V is obtained by adding the total volume data from the first ROM of the logarithmic volume table 52 and the noise fundamental tone 9 data from the second ROM of the same table 52, and the drum system volume level designation signal DLKV is obtained from the logarithmic volume table 5.
It is obtained by adding the total volume data from the first ROM of Table 52 and the drum system volume data from the second ROM of the same table 52. There are two types of rhythm control signals PAN as shown in FIGS. 5(A) and (B), and the signal (A) is stored in the level memory 54 for each instrument.
It is formed by sequentially reading out the contents (volume level control data) of the volume level control signal vLa (5 bits) and giving an address (5 bits) corresponding to the instrument name for each volume level control signal vLa (5 bits). In this case, the signal (A) is sent out sequentially for different instruments,
The signal (B) is temporarily stored in the "lAM" in the II rhythm sound generation circuit 60.
3-bit instrument group number signal G
Address different from signal (A) for N (5 bits)
is formed by giving The signal (B) supplied to the rhythm sound generation circuit (A) enables time-divisional waveform data reading for eight rhythm instruments belonging to a specific musical instrument group indicated by musical instrument group numbers G and N. In this case, the rhythm sound generation circuit 60 supplies the address signal AD to the waveform memo 1J56 in a time-sharing manner in order to read the waveform data for one or more rhythm instruments to be sounded among the 89 rhythm instruments in the specific instrument group. do. One or more rhythm instruments to be sounded are serial data O
It is designated by the sound generation command signal NKON and pitch designation signal P and T in PO. The parallel waveform data VDT read out from the waveform memory 56 in a time-division manner is fed to the rhythm sound generation circuit 6o (IT), and the parallel (P)/serial (S)
) undergoes control processing for the after-sound of the conversion. M hand control processing uses volume control signal LV and serial data o
This is performed based on the sound string level designation signal LFiV in the PC and the volume level control signal VLC in the signal (A), and as a result, the volume of the sound of the 01 rhythm sound is adjusted according to the settings of the volumes U and 26. It is controlled in relation to the strength setting for each sound and the degree of level adjustment during waveform recording. The serial waveform data controlled last month is sent to the central speaker 40.
It is specified which of the C and left speaker 40L should produce the sound. To determine which speaker each rhythm instrument sound is produced by, please refer to Figure 2 "C" or "L" for each instrument group.
”, and the specified contents are stored in the ROM in the rhythm sound generation circuit 60 in advance. In FIG. 2, "C" and rLJ indicate that the sound should be produced from the center speaker and the left speaker, respectively. As a result of the above, the rhythm sound generation circuit 60 outputs a serial digital rhythm sound signal RTS in a time division multiplex format, and is supplied to the S/P conversion/distribution circuit 34. S/
The P conversion/distribution circuit 34 converts the rhythm sound signal RTS into S/
The signal is P-converted and distributed to either the D/A conversion circuit 36 or 64 in accordance with the above-mentioned speaker designation process. Therefore, the analog rhythm sound signal from the D/A conversion circuit 36 is sent to the central speaker 400 via the output amplifier 38.
while being supplied to the D/A conversion circuit 64 and being acoustically converted.
The analog rhythm sound signal from is supplied to the left speaker 4oL via the output amplifier 66 and is acoustically converted. Next, with reference to FIG. 6, the operation of the above-mentioned multiplex musical instrument will be explained in more detail. First, when the power switch is turned on, an initial clear signal for initialization is generated, and each register is cleared accordingly. And level memo for each instrument +
Volume level control data for each instrument is read from 154,
Each read data is transmitted via the panel data interface 62 as a signal as shown in FIG.
(IJ rhythm sound generation circuit 6). As a result, the volume level control signal V for the instrumental instrument is stored in the RAM in the circuit 6o.
LO is written, which means that the volume level for each instrument is initially set. Next, scanning of the keyboard 10 and panel operators 18A and 18B is started, and key information and operation information are detected. Then, the presence or absence of an event is determined (yes Y or no N), and if there is no event (if N), scanning is repeated. Here, if one of the rhythm selection switches A) is pressed to select a specific rhythm, rhythm designation data designating the selected rhythm is stored in the register RHYPTN of the working area 44. This is a note where events related to rhythm selection are detected.
There is an event (Y), and the rhythm set subroutine is executed. This rhythm set subroutine is executed in the rhythm pattern memory 48 according to the selected rhythm type.
This process performs processing such as setting the start address of , and will be described later with reference to FIG. Next, when setting the noise system/drum certain balance adjustment volume 24 and human-tal sound M' adjustment volume 26 to appropriate positions for rhythm volume setting, the noise system volume data is stored in the register RHOLEV, and the drum system volume data is stored in the register RHDLFiV, and the total -\fi data is stored in the register TOTLFV. Each volume data stored in this case indicates a value from 0 to 15 depending on the amount of operation of the corresponding volume. Also, since an event related to the rhythm volume setting is detected, the event is detected (Y), and the registers RHOLEV, RHDLEV and TOTLE are set as described above.
Volume control signal L using V and logarithmic volume table 52
Processing for generating V is performed. Next, when the rhythm tempo adjustment volume A is set to an appropriate position to set the rhythm tempo, rhythm tempo data corresponding to the set value is stored in the register TF3MPO. 1, an event related to the rhythm tempo setting is detected, so there is an event (Y), and the register TKM
PO rhythm tempo data is used in Rhythm Interface 5
8 is output. That is, in the rhythm interface 58 of FIG. 8, the decoder 72 that decodes the signal from the address bus 70 outputs the timing signal
When 1 is generated, this signal is supplied to the tempo register 74 as a load signal, so that the register 74 is loaded with rhythm tempo data of data bit 0=5 (6 bits) from the data bus 76. Rhythm tempo data from register 74 is converted by tempo ROM 78 into preset data PSD for counter 80. Next, when the rhythm start/stop switch η is set to the start position, an event related to the rhythm start is detected, an event is detected (Y), and the rhythm run flag is set. That is, register RHYRUN
"80" in hexadecimal format (rloooo in binary format)
ooo J) is set. In the rhythm interface shown in FIG. 8, an 11-rhythm tempo synchronization operation is performed. Specifically, the function register 8
2 is loaded with "01" in hexadecimal notation, and in response, register 82 generates a start signal 5TRT, which is then automatically cleared. Since the start signal STRT resets the frequency division counter 86 via the OR gate 84, the counter 86 receives the synchronization signal SY after being reset.
Start counting the clock signal φ from clock source 88 receiving N. The counter 86 counts the clock signal φ, and when it reaches a certain value, generates a carry signal CO. causes counter 86 to be reset via OR gate 84. Therefore, the carry signal CO, is repeatedly sent out from the counter at a constant period, and is supplied to the counter 80 as an OK input to be counted. The counter jump is the start signal 5TR from the OR gate 90.
The preset data PSD is loaded in accordance with the preset data PSD, and the carry signal CO1 of the counter is divided by a frequency division ratio corresponding to the preset data PSD. counter 8
Since the carry-out signal CO3 from 0 is supplied to the counter 80 as the load signal LD via the OR gate 90, the preset data PSD is preset to the counter 80 every time the carry-out signal C02 is generated. From 80, a carry signal CO is repeatedly sent out at a cycle corresponding to the set tempo. The OR gate 90 first generates the interrupt command signal INT in response to the start signal BTRT, and then generates the interrupt command signal NT every time the carry signal CO is generated. The interrupt command signal NT is generated 12 times within one beat, corresponding to the intra-beat timings 0 to 11, and each time the interrupt command signal NT is generated, as shown in FIG. A subroutine for generating rhythm sounds is executed as an interrupt process. Therefore, the frequency division counter 86
Rhythm sounds can be generated according to the set tempo immediately after being reset by the start signal 5TRT. The timing from which the rhythm sound is generated among the 12 interrupt timings within one beat varies depending on the type of rhythm, and is specifically determined according to the rhythm pattern data read from the rhythm pattern memory 48. After rhythm sound generation is started as described above, keyboard performance can be started in time with the automatic rhythm sound. Normally, prior to playing the keyboard, musical tone selection operations including tone color setting, volume setting, etc. are performed using the musical tone selection operator 18A before the rhythm starts. Each time such a musical tone selection operation is detected by panel scanning, an event is detected (Y
). Therefore, the musical tone selection operation data is processed, and the processed data is supplied to the key musical tone interface 16. Then, when the keyboard performance starts, an event occurs (Y) every time a key is pressed. Therefore, the key press data is processed, and the processed key press data is supplied to the interface 16. Therefore, as described above, the manual performance sound (No. It is done every now and then,
Every time the interrupt command signal INT is generated (12 times within one beat)
(times)) is interrupted for interrupt processing and restarted each time the interrupt processing is completed. When the rhythm start/stop switch 22 is set to the stop position during or after the keyboard performance, an event related to a rhythm stop is detected. For this reason,
An event has occurred (Y), and rhythm stop processing such as buffer clearing is performed. In FIG. 8, the function register 82 has a timing signal R.
In response to HYDFi04, "04" is loaded in the 16'a format, and in response, the register 82 generates a buffer clear signal BUFOL. This signal BUFOL is OR
The signal is supplied to a shift register (S/R) 94 via a gate 92 and to a shift register 98 via an OR gate 96. The shift registers 94 and 98 are both 8 stages/1 bit, and include a channel frequency divider circuit 3 that divides the frequency of the clock signal φ according to the synchronization signal SYN.
It is timed by the channel timing signal OhT from 00. The buffer clear signal BUFCL transfers the contents of shift registers 94 and 98 to 8 channels (8 instruments).
After that, the register 82 is automatically cleared. Next, the timing signal RHYDEC is stored in the register 82.
4, "2o" is loaded in hexadecimal notation, and in response to 1, the register 82 receives the data transfer command signal TRAN.
occurs. This signal TRAN is supplied to the p/s conversion circuit 102. Therefore, P/S conversion circuit 1
02 is the sound generation command signal NKON from the shift register 94
, mute command signal f=vNKOF from shift register invitation,
By loading the pitch and volume level signals P and LFiV from the shift register 118, which will be described later, one channel at a time in accordance with the channel timing signal OhT, sending them out in accordance with the clock signal φ, and repeating this eight times. Each signal for all eight channels is sequentially sent out as serial data OPO. In this case, since the signals NKON and NK,OF are both %l# for each channel, as will be described later, as a result, the rhythm sound is forcibly attenuated. Note that the register 82 is automatically cleared after the data OPC is sent by the signal TRAN. Furthermore, the shift registers 94 and 98 are connected to the inverter 12.
The data transfer command signal TRAM supplied to AND gates 126 and 128 via 2 and 124 causes all 8 channels to become O1. After this, initialization is performed by clearing the rhythm-related registers. Next, the rhythm set subroutine will be explained with reference to FIG. It is determined whether the contents of the square and rhythm run flag RHYRUN are rhythm runs. If the flag RHYRUN is 0, it is not a rhythm run (during rhythm performance), and if it is not 0, it is a rhythm run. There is no rhythm run before the rhythm starts (N
), so we move on to processing the progressive beat number set. The number of progressive beats is either 0 to 2 if the beat is 3 beats, or 0 to 3 if the beat is 4 beats. The number of beats in triple time is 0.1.
2 corresponds to the in-measure timing (count value of counter T, M, NG) from 0 to 11.12 to 23.24 to 35, respectively, and the number of beats in the case of 4 beats is 0.1.2.3. Intra-measure timing 0-11.12-23.24-35.
36 to 47, respectively. Before the rhythm starts, the beat count is 0 in any case, and 0 is written in the register HKPFi. Next, it is determined whether it is a rhythm run again. Since it is not a rhythm run before the rhythm starts, processing moves to the start address set for the rhythm pattern memory 48. This process is
The contents of the pattern start address memory card are read out based on the rhythm specification data from the register RHYPTN and set in the start address RHYROM. The first address data is read and stored in memory R.
)! Written to YROM. Next, rhythm pattern data reading and address pointer setting processing are performed based on the head address data from the memory RHYROM. That is, in this process, rhythm pattern data corresponding to a specific rhythm is read from the rhythm pattern memory 48, and is stored in the register HKP.
According to the contents of K and counter T, the channel timing data (first byte of event data) to be read first during the next interrupt processing is searched, and the address of the channel timing data is set as the address. Set in pointer RHPNT. Before the rhythm start, register HKPK and counter T and M are NG.
Since the contents of both are 0, the address pointer RHP
1 is written to NT to indicate the address following the first address. Next, the instrument group poumba data corresponding to the particular rhythm read from the rhythm pattern memory 48 is sent to the panel data interface 62, and in response, the interface 62 performs a A rhythm control signal is supplied to the 11th rhythm sound generation circuit mark. After this, it is determined whether the specific rhythm indicated by the rhythm designation data is a triple beat, and if it is a triple beat, the register TMPMA is
A maximum timing value of 35 is set in X, and if it is not a triple beat (it is a quadruple beat), a maximum timing value of 47 is set in the register TMPMAY. The above is the flow of the rhythm set process before the rhythm start, but the flow of the rhythm set process when there is a rhythm change after the rhythm start is as follows. In this case, since the rhythm has started, it is determined that it is a rhythm run (Y), and the pattern change flag PC! H
NGF is set. That is, the flag POHNGF
``01'' is written in hexadecimal notation, and this makes it possible to forcibly attenuate the previous rhythm sound at the next interrupt timing. Next, we move on to processing the progressive beat number set, register HKPI
! The number of progressing beats at the time of rhythm change, for example 2 (corresponding to the third beat), is written in i. At this time, the contents of the in-measure timing counter T, M, and NG are stored in the register HK P J! If the content of i is 2, it is any value from 24 to 3!5,
For example, it is 29. After this, it is determined whether it is a rhythm run again, and since it is a rhythm run, the beat end/return flag Fj HHK
Proceed to ND clear processing. This process is flagged as RHH.
F, ND (HO) is written, and since the address pointer RHPNT is newly set after this, it is necessary for proceeding with the interrupt processing described later. Address set processing is performed.In this case, register RHYP
Since the rhythm specification data corresponding to the newly selected rhythm is stored in TH, the start address data corresponding to the newly selected rhythm is read from the pattern start address pointer, and the start address data corresponding to the newly selected rhythm is read out from the start address memory RHYROM.
written to. Next, rhythm pattern data corresponding to the newly selected rhythm is sequentially read out from the rhythm pattern memory 48 based on the leading address data from the memory RHYROM, and address pointer setting processing is performed. In this process, if the contents of register HKPK are 0 (1
If it is a beat), the data of the counter T MING and the intra-beat timing data TMG are directly compared, but the register H
If the content of KPE is 1 or more (second beat or later), the rhythm pattern data is read out sequentially and the beat change flag RD engineer S is read out.
Every time the PF force reaches l〃 (every time the beat ends), 12 is subtracted from the data of the counter T, M, NG and compared with the intra-beat timing data TMG. Then, the address of the channel timing data when the two match in this comparison is set in the address pointer RHP'NT. For example, as mentioned above, register HKPE! Assuming that 2 and 4 are contained in the counter T and MING, respectively, the beat change flag RDISPF becomes a month at the end of the first beat and the end of the second beat, so the timing value 4 to 12 is Deducted twice. Then, the value 5 obtained as a result is compared with the value of the intra-beat timing data TMG of the third beat, and a match is obtained when reading the channel timing data of the timing value 5 of the third beat. Therefore, the address when such a match is obtained is set in the address pointer RHPNT, and at the next interrupt timing, the rhythm pattern data corresponding to the newly selected rhythm is read from the timing value 5 of the third beat. It will be started. After setting the address pointer as described above, the processing of sending the instrument group number data, determining whether it is a 3-beat or 4-beat, and setting the maximum timing regarding the newly selected rhythm is the same as before the rhythm starts. It is carried out as follows. Next, the interrupt processing subroutine will be explained with reference to FIG. 1O. When an interrupt command signal NT is generated, the contents of each register are transferred to memory and saved. Then, in the same manner as described above, it is determined whether the rhythm run is a rhythm run based on the contents of the rhythm run flag RHYRUN. After setting the rhythm start/stop switch 22 to the start position, the flag RHYR
Since the content of UN is not 0, it is determined that it is a rhythm run (Y). Next, it is determined whether the rhythm has changed based on the contents of the pattern change flag POHNGF. If the flag PCHNGF is 0, it is not a rhythm change, and if it is not 0, it is a rhythm change. Normally, the rhythm is not changed immediately after the rhythm starts, so
In this case, the routine moves to the rhythm pattern processing subroutine shown in FIG. In FIG. 11, first, the beat end/return flag R
It is determined from the contents of HHEND whether it is the end of the beat. There is no beat end immediately after the rhythm starts (flag RHHK)
(ND is not 1), the contents of the address pointer RHPNT are moved to the Y register. Then, using the value obtained by adding the start address memory RHYROM and the Y register as an address, a channel consisting of the J-th byte data from the first event data EVT corresponding to the selected rhythm, that is, the channel number CHN and the intra-beat timing TMG. and timing data to rhythm pattern memory 4
Read from 8 and put it in A register. Next, set the channel timing data of the A register to
After transferring to the register, the lower 4 bits of intra-beat timing data TMG are extracted from the channel timing data of the X register and placed in the A register. That is,
In this state, intra-beat timing data TM is stored in the A register.
G, the X register contains channel number data OHN and intra-beat timing data TMG. Next, it is determined whether the timings match by comparing the contents of the A register, that is, the intra-beat timing data TMG, and the contents of the intra-beat timing counter TMPONT. At this time, assuming that timing matching cannot be obtained,
This means that the timing within the first beat (counter TMPC!
A count value of NT (0) means that there is no event data to be generated. In this case, it is determined whether the value of the intra-beat timing data TMG of the A register is greater than "OD" in hexadecimal, that is, whether it is a beat end/return. Since it is not the beat end/return now, the contents of the Y register are transferred to the address pointer RHPNT and the rhythm pattern processing ends. Next, the process moves to data transfer command output processing shown in FIG. This process is performed in the same way as described above regarding the rhythm stop, and the P/S conversion circuit 102 in FIG.
Send to i next time. Therefore, in this case, no instrument sound is generated for the selected rhythm. After that, the counter TMPONT is incremented by one force, and then it is determined whether the count value of the counter TMPONT is equal to 11, that is, a beat has exceeded. Since the beat is not over at the moment, the in-measure timing counter T, M, NG is incremented by one, and then the previously saved register contents are restored. This completes the first interrupt processing and returns to the normal processing such as keyboard/panel scanning as shown in FIG. The second and subsequent interrupt processing is performed in the same manner as above unless timing coincidence is obtained. By the way, assuming that the first intra-beat timing data TMG indicates a timing value of 5, timing coincidence is obtained in the process of the ffllll diagram during the sixth interrupt process. In this case, 1 is added to the contents of the X register and the read at I/S is advanced by 1. Then, using the start address memory RHYROM and the X register, the second byte data from the first event data EVT, that is, the pitch P
Pitch level data consisting of the pitch T and the volume level LEV is read from the rhythm pattern memory 48 and written to the A register. Next, data output processing is performed. That is, among the pitch-level data of the A register, level data T
JEV is sent to the data bus 6 in FIG. 8 as a 3-bit signal of data bits 0 to 2, and pitch data P is sent to the data bus 76 as a 4-bit signal of data bits 4 to 7. be done. The pitch and level data of these 7 pits in total are then sent to the timing signal RH.
Y D E O2m is loaded into the data register 104 accordingly. In addition, the channel number data OHN of the X register is sent to the -C data bus 76 as a 3-bit soto Q) signal of data bits 4 to 6, and the timing signal RHYDE
C3 is loaded into the channel register 101'i. At this time, the timing signal RHYDKO: (
Since RS flip-flop "108" is turned on, the ND gate 110 becomes conductive to the output Q-%1#.Comparator circuit 11
2 compares the division output of the channel counter 114, which counts the channel timing signal ChT, with the channel number data CHN from the channel register 106, and when the two match, generates a match signal gQ=J4. This match signal EQ resets the flip-flop 108 via an AND gate 110, and is supplied from the AND gate 110 to a selector 116 as a selection signal SB for selecting input B. Therefore, the pitch-level data from the data register 104 is transferred to the selector 1.
8 stage 15 bit shift register 1 through 16
18 and stored. The match signal IQ from AND gate 110 is also provided to shift register 94 via OR gate 92 and stored, as well as inverter 120 and AND gate 1.
It is supplied as a signal 0 to the shift register 98 via 28 and stored therein. Shift registers 94, 98 and 118 operate in synchronization with each other by a channel timing signal ChT, so that data relating to a particular rhythm instrument (for example) stored in each corresponding stage is transferred to the channel. It is stored cyclically in accordance with the timing signal OhT. The signals NKON and NKOF stored in this case are -]# and 0', respectively. After the data output processing as described above, 1 is further added to the contents of the X register and the read address is incremented. Soshi C1
Using the head address memory RHYROM and the X register, the channel timing data of the second event data EVT is read from the rhythm pattern memory 48 and written to the A register. Next, in the same manner as described above, the contents of the A register are transferred to the X register, and the intra-beat timing data TMG is extracted and placed in the A register. Then, as described above, it is determined whether the timing matches by comparing the contents of the A register and the contents of the counter TMPONT, and if the timing matches, the pitch level data is read out in the same manner as before. The movements are repeated. As a result, data regarding all instruments (up to eight instruments) to be sounded at intra-beat timing "5" are stored in shift registers 94, 98 and 118 in FIG. In the shift registers 94, 98 and 118, all bits of channels corresponding to musical instruments that do not produce sound are %ON. After all the event data for intra-beat timing 5 has been read out, timing data TMG indicating an intra-beat timing value greater than 5 is read out and written to the A register, so timing coincidence is no longer obtained and the beat end/beat timing value is greater than 5. Move on to determining whether it is 11 turns. Since it is not the beat end/return now, the contents of the Y register are transferred to the address pointer RT (PNT) and the rhythm pattern processing ends. At this time, the address pointer RHP
The address of the timing data TMG previously written to the A register is written into NT, and the next event data reading is started from this address. Next, the process moves to the data transfer command output shown in FIG. 10, and the shift register 94.98.1 shown in FIG.
The contents of 18 are loaded into the P/S conversion circuit 102 for each musical instrument, and the serial data o is output from this conversion circuit 102.
pa is sequentially transmitted for each instrument for eight instruments, and a corresponding rhythm sound is produced based on the data that is the sound generation command signal NKON chi 1# among the transmitted data. Note that during the sending operation of the serial data opc, the transfer command signal TRAM=11# is input to the inverters 122 and 12, respectively.
Shift registers 94 and 98 are cleared because AND gates 126 and 128 are controlled non-conducting through V4. In addition, the output signal %] of the inverter 120 is supplied to the selector 116 as a signal SA for selecting input A, so the data in the shift register 118 is transferred to the selector 116.
16. After this, in FIG. 10, the counters T M P ON T and T MING are each set to 1 in the same way as described above.
After incrementing the power count and restoring the contents of each register, 6
Finishes the first interrupt processing. At the first beat, when the above-described interrupt processing with or without sound generation is repeated several times, the lower four pits of the first beat end data Bffl are written into the A register. Therefore, the determination result of beat end/return in FIG. 11 is affirmative (Y), and a determination of return is made. Since this is not a return, we move on to processing the beat end/return flag RHHEND and set the flag RHHK.
The contents of the A register (lower 4 bits of beat end data BE) are written to ND. Then, the contents of the Y register are changed. In this case, since it is the beat end, the contents of the Y register are the data (2) following the first beat end data BFJ.
The address is changed to the address of the first channel timing data of the beat. This example converts the contents of the Y register to the address pointer RHP.
Move to NT and finish the rhythmic turn process. Next, the process moves on to the process after outputting the data transfer command shown in FIG. 10, a rhythm sound is produced in the same manner as described above, and this round of interrupt processing ends. In the next interrupt processing, the beat end/return flag RHI (END) is set to the beat end as described above, so the determination result of the beat end in FIG. The routine in Figure 11 immediately ends.Then, the processing after the data transfer command output in Figure 10 is performed, but since both NKON and NKOF are 101, no rhythm sound is generated.Rhythm sounds are generated in this way. When the interrupt processing that is not performed is repeated several times, the count value of the counter TMPONT becomes 11.Then, the determination result of whether the beat is over in FIG. 10 becomes affirmative (Y), and the in-measure timing counter T
Engineering M Engineering NG is incremented by one force, and the count value becomes 12. Next, it is determined whether the measure is over, but since it is not over the measure now, the beat end/return flag RHHKN]
) Proceed to the reset process. t, that is, the flag RHT(E
0 is written to ND. And counter TMPCN
After resetting T and restoring the contents of each register, 1
Finishes the interrupt processing at the end of the beat. In the first interrupt processing of the second beat, the flag RHHT'L is first set.
Since ND has been reset, the determination result of the beat end in Figure 71511 is negative (N), and the Y register contains the next data of the first beat end data BE from the address pointer RHPNT to the Y register. is set. Therefore, event data reading is started from the first channel Φ timing data of the second beat. After the first interrupt process for the second beat is completed, the interrupt process with or without sound production is repeated in the same manner as described above until the final beat in the format shown in FIG. 3. Then, at the final beat, when the interrupt processing is repeated several times, the lower @i4 bit of the return data RTH is written into the A register. Therefore, the determination result of beat end/return in FIG. 11 is positive (Y), and it is determined whether it is a return. Since this is a return, the Y register is reset. That is, 100'' is written in the Y register in hexadecimal notation. Next, processing is performed to set the beat end/return flag RHHKN I), and the contents of the A register (lower 4 bits of return data RTN) are written to the flag RHHEND. Then, the contents of the Y register are changed. In this case, since it is a return, the contents of the Y register are changed to the address C next to the first address (corresponding to the first channel timing data). After this, the contents of the Y register are transferred to the address pointer RHP.
Transfer to NT and finish rhythm pattern processing. Next, the process moves on to the process after outputting the data transfer command shown in FIG. 10, a rhythm sound is produced in the same manner as described above, and this round of interrupt processing ends. In the next interrupt process, the beat end/return flag RHHKND is set to return as described above, so
The determination result as to whether the beat is at the end in FIG. 11 becomes affirmative (Y), and the routine in FIG. 11 ends. And the 10th
Processing after the output of the data transfer command shown in the figure is performed, but no rhythm sound is generated. When the interrupt processing in which no rhythm sound is generated is repeated several times, the count value of the counter MING becomes 35 for 3 beats, and 47 for 4 beats. and,
In FIG. 10, it is determined whether the bar is over. This determination is made by comparing the contents of the callan 41T and the contents of the maximum timing register TMPMAX to see if they match, and it is currently determined that they match (Y). Next, the beat end/return flag RHI (FiND) is reset. Then, the counters T and M are reset.
After resetting P(!NT, the contents of each register are restored to finish the last interrupt processing of the final beat. After this, the address pointer RHPNT is set to the address next to the first address, so the third From the first beat of the format shown in the figure, the same interrupt process as described above is repeated, and the rhythm sound is repeatedly played according to the memorized rhythm pattern. - The above is the rhythm start/stop switch ρ.
The rhythm sound generation operation starts immediately after setting the to the start position, but when the rhythm is changed after the rhythm start, the operation is as follows. That is, in this case, since the pattern change flag POHNGF is set in the process of FIG. 9 as described above, the determination result of rhythm change in FIG. 10 is affirmative (Y), and the buffer clear process is performed. Move. This process is performed in the same manner as in the case of the rhythm stop described above, and is performed by the shift register 94 in FIG.
and 98 are all 8 channels worth 1. Next, the pattern change flag POHNGF is reset, and then the rhythm pattern processing shown in FIG. 11 is started. Rhythm pattern processing in this case is executed regarding the newly selected rhythm. That is, as described above with reference to FIG. 9, the read start child address of the rhythm pattern data corresponding to the newly selected rhythm is set in the address pointer R, HPNT in relation to the progress state of the previous rhythm. Therefore, the first channel timing data after the rhythm change is read from the address indicated by the address pointer RHPNT. Thereafter, the processes shown in FIGS. 11 and 10 are performed in the same manner as described above, and rhythm sounds are produced in accordance with the newly selected rhythm pattern. In this case, the rhythm sound of the channel whose NKON and NKOF are both set to Ki II in the previous buffer clearing process is forcibly attenuated. Next, the detailed operation of the rhythm sound generation circuit 60 will be described with reference to FIG. This circuit 60 includes the rhythm control circuit 130,
It includes an attenuation control circuit 132, an address generation circuit 134, and a volume control/data output circuit 136, and generates timing signals φ, Y1 to 7. as shown in FIG. 13 from a timing signal generator (not shown). , φAB, etc., to operate. However, in FIG. 12, the timing signal φ is omitted. After initialization based on the ON operation of the power switch, the rhythm control circuit J3Q receives the rhythm control signal P for the Japanese musical instrument from the panel data interface 62 (Fig. 1).
A N (A) is supplied. This signal P A N (
A) is converted into a parallel signal by the S/P conversion circuit 138, and the address signal of the lower 5 bits of this parallel signal is decoded by the decoder 140. The signal of the (one output line 1117) line of the decoder 140 is supplied as a write address signal qWAD to the RAM 142 as a level memory for each instrument. is E
Volume level control signal VLO (
(upper 5 bits of the parallel signal) are supplied. Therefore, the RAM 142 stores volume level control signals V for four musical instruments.
The LO is written in sequence, and the volume level for each musical instrument is thereby initialized. Note that instead of initially setting the volume level for each musical instrument in the RAM 142 as described above, a ROM may be provided in which the volume level for each musical instrument is set in advance. Thereafter, when the rhythm set is processed as described above, the rhythm fli control signal PAN(B) is supplied to the rhythm control circuit 130 from the panel data interface 62. This signal P A N (B) is converted into a parallel signal by an S/p conversion circuit 138, and the lower 5 bit address signal of this parallel signal is decoded by a decoder 140. Among the output lines of the decoder 140, the signal on the 29th line is supplied to the latch circuit 144 as a load signal LD, and as the data input of the latch circuit 144, the signal on the 29th line is S/7.
P conversion circuit 138 to instrument group number signal engineering GN
(lower 3 bits of the upper 5 bits of the parallel signal) are supplied. Therefore, the latch circuit 144 latches the musical instrument group number signal GN in response to the load signal LD and supplies it to the ROM 146. The ROM 146 stores instrument name data corresponding to eight instruments for each musical instrument group, and also stores noise system/drum system designation data and center speaker/left speaker designation data for each instrument in each musical instrument group. These data are read and output from the ROM 146 using the instrument group number signal GN from the latch circuit 144 and the 3-bit count output of the counter 148 that counts the timing signal φAB as address signals. There is. For example, if the value of the instrument group number signal engineer GN is 1 and the rhythm type of waltz and ballad in Figure 2 is specified,
From the ROM 146, when the count value of the counter 148 (channel number 0HN) is O, 5 indicates the instrument name TOY.
Parallel 7-bit data consisting of a combination of 1-bit data, 1-bit data indicating that this instrument TOY is a noise type, and 1-bit data indicating that the instrument TCY should be sounded from the left speaker is read out. As the count value of the counter 148 changes from 1, 2, 3, . As the counter 148 repeats the counting operation for eight channels (eight musical instruments), data reading from the ROM 146 is also repeated. From the rhythm interface 58 (ffi8 figure), serial data opc for the first eight instruments including sound generation commands is 1
When supplied to the 1 rhythm control circuit 130, this data OP
C is S/P in the S/P conversion/latch circuit 150
converted and temporarily stored. Here, for the sake of simplicity, it is assumed that the serial data OPC for the first eight instruments includes a sound generation instruction only for the top cymbal TOY (channel number o) of instrument group number I in FIG. 2. - The latch circuit 150 outputs the sound generation command signal NKON-%l# and the mute command signal NK at the timing of channel number O.
OF-%Q# is sent out, and at the timing of channel numbers 1 to 7, %0〃 is sent out as signals NKON and NKOF''.These signals NKON and NKOF'' are sent out.
KOF is the t1 signal NKO supplied to the attenuation control circuit 132.
N is connected to the first input of AND gate 152 with signal NKO.
F is applied via an inverter 154 to a second input of an AND gate 152, respectively. At this time, the signal %11 is supplied from the inverter 156 to the third input terminal of the AND gate 152. Therefore, AND gate 35
2 generates an output signal s1t in response to signals NKON and NKOF at the timing of channel number 0. This output signal Q) is supplied to an 8-stage/1-bit shift register 160 via an OR gate 158, while it is supplied to a NANI) gate 164 via an OR gate 162.
supplied to At this time, inverters 166 and 168
supplies the signal -1# to the NAND gate 164, so the NAND gate 164 generates the output signal sum in response to the output signal 11# of the OR gate 162. This output signal sum l is supplied to an 8-stage/1-bit shift register 172 via an AND gate 170. Therefore, the channel number O of the shift register 172
The signal %ON is written to the stage corresponding to the timing signal φAFI in accordance with the timing signal φAFI. At the same time, it corresponds to channel number 0 of shift register 160.
【7たステー
ジには、タイミング信号φA8に応じて信号−1#が書
込まれる。そして、シフトレジスタ160及び172は
タイミング信号φA0に応じて同期的にシフト動作を行
ない、この結果として、シフトレジスタ160のチャン
ネルナンバ1〜7に対応したステージにはいず」1.も
%O#が、シフトレジスタ172のチャンネルナンバ1
〜7に対応したステージにはいずLL、も11〃が淋込
オれる。
シフトレジスタ172の出力端に信号% OIが現われ
ると、この信ケ気0〃はゲーI・回路】74を導通状態
にする。このため、8ステージ/7ビツトのシフトレジ
スタ176のチャンネルナンバ0に対応したステージに
は、同シフトレジスタ176の出力(全ビット%O”)
の最下位ピット(LSB)に%】#を加える加算回路1
78の出力データがタイミング信号φABに応じて書込
まれる。
シフトレジスタ160の出力はANDゲート18()及
びO’Rゲート158を介して入力側に帰還され、信号
NKON=gIvが循環的に記憶されるようになってい
る。このため、シフトレジ2夕160の出力カイ1〃に
なるたびにシフトレジスタ172にはORゲート182
及びANDゲート170を介して10′が書込まれ、シ
フトレジスタ172の出力力イO〃になるたびにシフト
レジスタ176のチャンネルナンバ0に対INF、、し
たステージのデータの値は1ずつ増加する。
シフトレジスタ176から送出されるデータのf直が所
定値に達すると、終了検知回路184が減衰終了信号D
PFi=%]#を発生する。この信号DPEはインバー
タ156を介してANDゲート180を非導通にするの
で、シフトレジスタ160を含む循環路の記憶データは
クリアされる。また、信号DPBはORゲート182を
介してANDゲート170に供給されるため、ANDゲ
ー)170の出力信号は気1#となり、この信号\1〃
はシフトレジスタ172のチャンネルナンバOに対応し
たステージの内容ヲ’l*にする。このため、シフトレ
ジスタ172の出力側にチャンネルナンバOに対応した
データIA1〃が現われると、ゲート回路174が導通
しないので、シフトレジスタ176の計数データはクリ
アされることになる。
ところで、信号DPFjはリズム制御回路130のセレ
クタ186及び188にいずれも入力Bを選択するだめ
の信号SBとして供給される。このため、8ステージ/
7ピツトのシフトレジスター90にはROM 146か
ら7ピツトの楽器名・ノイズ系/ドラム系・中央スピー
カ/左スピーカ指定データが、8ステージ15ビツトの
シフトレジスター92にはS/Pq換・ラッチ回路15
0から5ビツトのピッチ・レベル指定データがそれぞれ
供給される。シフトレジスター90及び192はそれぞ
れ4−イフラグ信号φABに応じてチャンネルナンバ0
に対応したテ
ス嬌−ジに供給データを取込み、順次シフトする。
セレクタ186及び188はそれぞれシフトレジメタ1
90及び】92へのデータ供給の後信号DPE=%Ol
により入力Aを選択する状態になり、シフトレジスター
9Q及び192の内容はそれぞれセレクタ186及び1
88を介して循環的に記憶、される。
シフトレジスター90から時分割的に送出されるチャン
ネルナンバ0に対応した5ビツトのトップシンバルTO
Yを表わす楽器名指定信号GSはRA M 142に読
出アドレス信号RADとして供給されるので、RAMI
42からは、トップシンバルTOYのチャンネルナンバ
0に対応した5ビツトの音量レベル制御信号VLOが時
分割的に読出される。
また、シフトレジスタ190からの5ビツトの楽器名指
重信%GEtはシフトレジスタ192からの2ピツトの
ピッチ指定信号P工Tと共に、アドレス発生回路134
内のスタート/エンドアドレスデータROM 194に
アドレス信号として供給される。
このため、ROM194からは、第1図の波形メモリ5
6においてピッチ指定信号P■Tの示す音高を有するト
ップシンバルの波形を読出すに必要なスタートアドレス
データSAD及びエンドアドレスデータEADがそれぞ
れ時分割的に読出される。
8ステージ/1ビツトのシフトレジスタ196は電源ス
イツチオン時に発生されるイニシャルクリア信号IC=
%IIをORゲート198を介して受信し、タイミング
信号φ^Bに応じて全ステージに11#が書込まれてい
るものであシ、シフトレジスタ196の内容はORゲー
ト200、ANDゲート202及びORゲート198を
介して循環的に記憶されるようになっている。
減衰制御回路132において、前述したように信号DP
Eが発生されると、ANDゲー) 2(34Q) 3人
力がいずれも111になり、ANDゲート204は読出
命令信号RI =%Q Iをアドレス発生回路134の
ANDゲート202に供給する。このため、ANDゲー
ト202は非導通になり、シフトレジスタ19f’iの
チャンネルナンバ0に対応したステージにはタイミング
信号φA+1に応じて一〇#が書込まれる。そして、こ
の信号箋O#がシフトレジスタ196の出力側に現われ
ると、この信号10#はORゲート206を介してゲー
ト回路208を導通状態にする。
ゲート回路208が導通すると、8ステージ/15ビツ
トのシフトレジスタ210のチャンネルナンバ0に対応
したステージには、同シフトレジスタ210の出力(全
ビット%ON)の最下位ピッ)(LSB)に−1#を加
える加算回路212の出力データがタイミング信号φA
Bに応じて訃込まれる。そして、ゲート回路208はシ
フトレジスタ196の出力力イOIになるたびに導通す
るので、シフトレジメタ2】0のチャンネルナンバ0に
対応したステージのデータの値はゲート回路208の導
通のたびに1ずつ増加する。
ROM 194からの7ビツトのスタートアドレスデー
タSADは上位ビットの信号として、シフトレジスタ2
30からの15ビツトのデータは下位ビットの信号とし
てそれぞれ加算回路214に供給され、互いに加算され
る。この結果、加算回路214からはチャンネルナンバ
0に対応した18ビツトのアドレス信号ADが時分割的
に送出され、第1図の波形メモリ56に供給される。
このため、メモリ56からは、ピッチ指定信号P■Tの
指定する音高を有するトップシンバルの波形データがア
ドレス信号ADに応じて時分割的に読出される。このと
き読出される波形データWDTは各サンプル毎に8ビツ
トのもので、音量制御・データ出力回路136に順次に
供給される。
加算回路212からの5ビツトの出力データは比較回路
216においてROM 194からの5ビツトのエンド
アドレスデータEADと比較されるようになって卦り、
比較回路216は両比較入力が一致すると一致信吟W
Q −’ ] ’を発生する。この一致信号EQはOR
ゲート21R及び2()6を介してゲート回路208を
非導通にすると共に、ORゲー、ト218及び200を
介してANDゲート202を導通にする。
このため、シフトレジスタ210のチャンネルナンバ0
に対応したステージの内容はクリアされ、シフトレジス
タ196のチャンネルナンバ0に対応したステージには
月〃が1込まれる。どの結果、波形メモリ56からの波
形データ読出しはエンドデータEADの示すアドレスよ
り1アドレス前に終了することになる。
波形メモリ56から音量制御・データ出力回路136に
供給される各サンプル毎に8ビツトの波形データWDT
は、指数部ビット及び仮数部ビットからなるもので、R
OM220によってログ/リニア変換される。ROM
220からの各サンプル毎に18ビツトの波形データは
P / S変換回路222によってP / S変換さ、
lt、、乗算回路224に供給される。
8 / P変換・ラッチ回路226はパネルデータイン
ターフェース62(第1図)からの音量制御信号TJ
VをS / P変換し、一時記憶するもので、8ビツト
のノイズ系音量レベル指定信号NLEliV及び8ビツ
トのドラム系音用レベル指定信号DLEVをセレクタ2
28に供給するようになっている。
セレクタ228はシフトレジスタ190からのノイズ系
/ドラム系指定信号BALに応じて信号NLIUV又は
DLKVを選択するもので、選択された信号は加算回路
230に供給され、RAM142からの音量レベル制御
信号■LCと加算される。
すなわち、上述のようにトップシンバルの波形デー タ
カ読出された場合、加算回路230では、セレクタ22
8からのノイズ系音量レベル指定信号NLEVとRA
M 142からのトップシンバルに関する音量ニレベル
制御信号VLOとが加算され、これによってボリューム
Uによるノイズ系/ドラム系音量バランスと、ボリュー
ム26によるトータル音量と、録音時の音量レベル調整
度とを考慮した音量制御が可能になる。
加算回路230からの加算出力信号は加算回路232に
一方の加算入力として加えられ、加算回路232の他方
の加算入力としてはシフトレジスタ192からの音量レ
ベル指定信号LEVをROM234で対数変換した信号
が加えられる。このため、加算回路232からは、1音
毎の強弱を加味した音量制御データが送出される。
加算回路236は、加算回路232からの音量制御デー
タと、シフトレジスタ176からの減衰制御データDU
Mとを加算するためのもので、シフトレジスタ176の
カウント値増大中はそれに伴つ−Cリズム音量を強制的
に低下させるように音量制御データを送出するが、シフ
トレジスタ】76のクリア中には減衰制御データDUM
が全ピット司〃であるため加算回路232からの音量制
御データをそのまま送出するようになっている。
加算回路236からの音量制御データは上位4ビツトが
指数部ビット、下位5ピツトが仮数部ビットになってお
り、仮数部ビットの信号は変換回路238でログ/リニ
ア変換されて8ビツトの信号として乗算回路224に供
給される。
乗算回路224はP / S変換回路222からの各サ
ンプル毎のシリアル波形データと変換回路238からの
音量制御データとを乗算するもので、各サンプル毎の乗
算出力データはレベルシフト回路240に供給すれる。
レベルシフト回路240は加算回路236の出力データ
のうち上位4ビツトの指数部データに応じて乗算回路2
24からの波形データのトータル音量レベルを変更制御
するもので、この回路240からの各サンプル毎にUビ
ットのシリアル波形データは分配回路242に供給され
る。
上記したのは、最初の発音タイミングにおける1音の波
形データ読出・音量制御動作であるが、同様にして複数
音(最大で8音)の波形データ読。
出・音量制御動作がなされる。この場合、レベルシフト
回路240から分配回路242には複数のリズム音に対
応したシリアル波形データが時分割的に供給される。ま
た、次の発音タイミングでは、前に発音されている1又
は複数の楽器音を減衰制御データDUMにより強制的に
減衰させてから上記と同様な波形データ読出・音量制御
動作が行なわれ、以下発音タイミング毎に同様な動作が
くりかえされる。
分配回路242は、中央スピーカ用レジスタ2460゜
左スピーカ用レジスタ2716L 及びセレクタ248
と共にデータ出力回路を構成するものであり、次に第1
4図を参照I7てデータ出力動作を述べる。
第14図には、タイミング信号φABと、タイミング信
号Y、〜24(セレクタ27$8の制御人力G)との関
連において、中央スピーカ用データが連続する場合(1
)と、中央スピーカ用データ及び左スピーカ用データが
交互に来る場合(2)とが示されている。
最初に(1)の場合について説明すると、分配回路24
2のデータ入力Aとしては中央スピーカで発音すべき4
つのシリアル波形データ■〜■が順次に供給される。こ
れらのデータ■〜■はそれぞれ異なる楽器に対応するも
ので、いずれも特定のサンプル(例えば1番目のサンプ
ル)に関する冴ビットのデータである。
分配回路242は制御人力Bとしてシフトレジスタ19
0からの中央スピーカ/左スピーカ指定信号OHAを受
信[7、これに応じて分配動作するもので、この場合、
信秤OHAはいずれのチャンネルについても一1#とじ
て供給される。このため、データ■〜■はいずれも出力
Cとしてレジスタ246゜に分配供給される。
レジスタ246o は内部でデータをサーキュレイト
するようになっているので、セレクタ248の入力Eと
しては第14図(1)Eに示すように同一データが2回
連続して供給される。セレクタ248は制御人力Gとし
てのタイミング信号Y1〜,4が%Jl又は亀0#にな
るのに応じてそれぞれ人力E又はFを選択するので、選
択出力H(I]ズム音信号RT8)としては、信号Y、
−□カイ1#なる期間(1/2チャンネル時間)に対応
してレジスタ246o のデータ■、■、■、■が順
次に送出される。
次に、中央スピーカ用データと左スピーカ用データとが
交互に来る(2)の場合について述べる。この場合、分
配回路242の入力Aとしてのデータ■〜■は、■及び
■が中央スピーカ用、■及び■が左スピーカ用であると
すると、制御人力B (OHA )は中央スピーカに対
応するチャンネルについて気1#、左スピーカに対応す
るチャンネルについて10#とじて供給される。このた
め、データ■及び■は出力Cとしてレジスタ246c
に、データ■及び■は出力りとしてレジスタ246L
にそれぞれ分配供給される。
レジスタ246c及び246Lは前述したと同様にして
第14図(2)E及びFに示すように同一データを2回
ずつセレクタ248に供給し、セレクタ248はタイミ
ング信号Y、〜、4に応じて入力E又はFを交互に選択
する。このため、セレクタ248の出力H(RTS)と
しては、中央スピーカ用データのが送出された後信号Y
、〜、4の1周期(1チャンネル時間に対応)経てから
左スピーカ用データ■及び中央スピーカ用データ■が順
次に送出され、し ・かる後信号Y、〜24 の1周
期経て左スピーカ用データ■が送出される。
なお、実際のデータ出力動作としては、上記(1)及び
(2)の場合を組合わせた形のものもありうること勿論
である。
上記のようにしてセレクタ248から時分割的に送出さ
れるシリアルリズム・音信号RTSに基づいてリズム音
が要用されているときに、前述したようにリズムストッ
プ又はリズム変更の操作がなされると、第12図におい
てE / P変換・ラッチ回路150は信号NKON=
%l#及び信号N K OF =%l#を8チヤンネル
分順次に送出し、ANDゲート250に供給する。この
とき、ANDゲート250はインバータ156の出力信
号%1#を受信している。
このため、ANDゲー) 250は出力信号−1〃を発
生し、この信号%11はORゲート162を介してNA
NDゲート164に供給される一方、ORゲート252
を介して8ステージ/1ビツトのシフトレジスタ254
に供給される。そして、シフトレジスタ254の8つの
ステージにはタイミング信号φABに応じていずれも信
号も1〃が書込まれる。また、この信号!11〃の1°
込中NANDゲート164の出力信号は嘱0#であり、
この信号型0〃はANDゲート170を介してシフトレ
ジスタ]、72に供給される。
このため、シフトレジスタ172の8つのステージには
タイミング信号φA8に応じていずれも信号IO#が書
込まれる。
シフトレジスタ172から送出される信号気0〃はケー
ト回路174を導通させるので、シフトレジスタ】76
の8つのステージには順次に加算回路178ノ出力テー
タが書込1れる。そして、シフトレジスタ254の内容
はANDゲート256及びORゲート252を介して循
環的に記憶されると共にシフトレジスタ172の内容も
ORゲート182及びANDゲート170を介して循環
的に記憶されるので、シフトレジスタ176の各ステー
ジのデータの値は前述したように1ずつ増大する。
シフトレジスタ176の各ステージのデータの値が所定
値に達すると、終了検知回路1間が減衰終了信号])
p E = % 1 #を8チヤンネル分順次に送出す
る。信号DPEの発生までのシフトレジスタ176の出
力データは減衰制御データDUMとして加算回路236
に供給され、発音中のすべてのリズム音を強制的に減衰
させるように作用する。
減衰終了信号DPEはインバータ156を介してAND
ゲート256を非導通にするので、シフトレジスタ25
4を含む循環路の記憶データはクリアされる。また、信
号DPEはORゲート182及びANDゲート】70を
介してシフトレジスタ172の各ステージの内容を−I
〆にし、シフトレジスタ172からの出力信号気1〃は
ゲート回路174を非導通にする。この結果、シフトレ
ジスタの計数データは各ステージ毎にクリアされる。
なお、リズム変更の場合には、この後、発音命令を含む
シリアルデータopcが供給されるので、前述したと同
様にして新たに選択されたリズムパターンに従ってリズ
ム音が奏出される。すなわち、この場合には、前のリズ
ムパターンに従うスヘての楽器音を強制的に減衰させた
後、新たなリズムパターンに従う楽器音が奏出されるこ
とになる。
以上のように、この発明によれば、記憶データに基づい
て自動的に再生音量レベルを制御するようにしたので、
低音量のリズム楽器についてはその波形を記録する際に
音量レベルを高めて記録することによりS / N比を
改善することができる。
オだ、上記した自動リズム演奏装置は、時分割的に波形
データ読出・音量制御動作を行なうようになっているの
で、各リズム種類毎に多数の楽器音を比較的簡単な回路
構成によって発生させることができる利点を有するもの
である。The signal -1# is written to the stage [7] in response to the timing signal φA8. The shift registers 160 and 172 perform a synchronous shift operation in response to the timing signal φA0, and as a result, the stages corresponding to channel numbers 1 to 7 of the shift register 160 are not reached. Also, %O# is channel number 1 of shift register 172.
Izu LL and Mo 11 are included in the stages corresponding to ~7. When the signal %OI appears at the output of the shift register 172, this signal 0 makes the gate I circuit 74 conductive. Therefore, the stage corresponding to channel number 0 of the 8-stage/7-bit shift register 176 has the output of the shift register 176 (all bits %O").
Addition circuit 1 that adds %】# to the least significant pit (LSB) of
78 output data is written in response to timing signal φAB. The output of the shift register 160 is fed back to the input side via the AND gate 18() and the O'R gate 158, so that the signal NKON=gIv is stored cyclically. Therefore, every time the output of the shift register 2 and 160 reaches 1, the shift register 172 has an OR gate 182.
and 10' is written through the AND gate 170, and each time the output output of the shift register 172 becomes 0, the value of the data at the stage corresponding to channel number 0 of the shift register 176 increases by 1. . When the frequency of data sent from the shift register 176 reaches a predetermined value, the end detection circuit 184 outputs an attenuation end signal D.
PFi=%]# is generated. This signal DPE causes AND gate 180 to become non-conductive through inverter 156, so that the stored data in the circuit including shift register 160 is cleared. Further, since the signal DPB is supplied to the AND gate 170 via the OR gate 182, the output signal of the AND gate) 170 is 1#, and this signal \1
sets the contents of the stage corresponding to channel number O of the shift register 172 to 'l*. Therefore, when data IA1 corresponding to channel number O appears on the output side of the shift register 172, the gate circuit 174 is not conductive, so that the count data of the shift register 176 is cleared. Incidentally, the signal DPFj is supplied to the selectors 186 and 188 of the rhythm control circuit 130 as a signal SB for selecting input B. For this reason, 8 stages/
The 7-pit shift register 90 contains 7-pit instrument name, noise system/drum system, center speaker/left speaker designation data from the ROM 146, and the 8-stage 15-bit shift register 92 stores S/Pq conversion/latch circuit 15.
Pitch level designation data of 0 to 5 bits is supplied respectively. Shift registers 90 and 192 each shift channel number 0 according to the 4-if flag signal φAB.
The supplied data is imported into the corresponding test module and shifted sequentially. Selectors 186 and 188 are shift register 1, respectively.
After supplying data to 90 and ]92, signal DPE=%Ol
The state is set to select input A, and the contents of shift registers 9Q and 192 are changed to selectors 186 and 1, respectively.
88, it is stored and stored cyclically. 5-bit top cymbal TO corresponding to channel number 0 sent out in a time-division manner from shift register 90
Since the instrument name designation signal GS representing Y is supplied to the RAM 142 as the read address signal RAD, the RAM
42, a 5-bit volume level control signal VLO corresponding to channel number 0 of the top cymbal TOY is read out in a time-division manner. Further, the 5-bit instrument name designation signal %GEt from the shift register 190 is sent to the address generation circuit 134 along with the 2-bit pitch designation signal Pt from the shift register 192.
The start/end address data ROM 194 is supplied as an address signal. Therefore, from the ROM 194, the waveform memory 5 in FIG.
At step 6, the start address data SAD and end address data EAD necessary for reading out the waveform of the top cymbal having the pitch indicated by the pitch designation signal PT are read out in a time-divisional manner. The 8-stage/1-bit shift register 196 receives an initial clear signal IC= generated when the power is switched on.
%II is received via the OR gate 198, and 11# is written in all stages according to the timing signal φ^B, and the contents of the shift register 196 are the OR gate 200, the AND gate 202, and The data is stored cyclically via the OR gate 198. In the attenuation control circuit 132, as described above, the signal DP
When E is generated, the AND gate 2(34Q) 3 becomes 111, and the AND gate 204 supplies the read command signal RI=%QI to the AND gate 202 of the address generation circuit 134. Therefore, AND gate 202 becomes non-conductive, and 10# is written in the stage corresponding to channel number 0 of shift register 19f'i in response to timing signal φA+1. When this signal O# appears on the output side of the shift register 196, this signal 10# makes the gate circuit 208 conductive via the OR gate 206. When the gate circuit 208 becomes conductive, the stage corresponding to channel number 0 of the 8-stage/15-bit shift register 210 receives -1 at the lowest pitch (LSB) of the output (all bits % ON) of the shift register 210. The output data of the adder circuit 212 that adds # is the timing signal φA
He died according to B. Since the gate circuit 208 becomes conductive every time the output of the shift register 196 becomes OI, the value of the data in the stage corresponding to channel number 0 of the shift register 2]0 increases by 1 each time the gate circuit 208 becomes conductive. do. The 7-bit start address data SAD from the ROM 194 is sent to the shift register 2 as an upper bit signal.
The 15-bit data from No. 30 are respectively supplied to an adder circuit 214 as lower bit signals and added together. As a result, an 18-bit address signal AD corresponding to channel number 0 is sent out in a time-division manner from the adder circuit 214, and is supplied to the waveform memory 56 in FIG. Therefore, the waveform data of the top cymbal having the pitch specified by the pitch designation signal PT is read out from the memory 56 in a time-division manner in accordance with the address signal AD. The waveform data WDT read at this time has 8 bits for each sample, and is sequentially supplied to the volume control/data output circuit 136. The 5-bit output data from the adder circuit 212 is compared with the 5-bit end address data EAD from the ROM 194 in the comparator circuit 216.
The comparison circuit 216 outputs a match signal W when both comparison inputs match.
Q −' ] ' is generated. This match signal EQ is OR
The gate circuit 208 is made non-conductive via the gates 21R and 2()6, and the AND gate 202 is made conductive via the OR gates 218 and 200. Therefore, channel number 0 of the shift register 210
The contents of the stage corresponding to channel number 0 of the shift register 196 are cleared, and the month is set to 1 in the stage corresponding to channel number 0 of the shift register 196. As a result, reading of waveform data from the waveform memory 56 ends one address before the address indicated by the end data EAD. 8-bit waveform data WDT for each sample is supplied from the waveform memory 56 to the volume control/data output circuit 136.
consists of exponent bits and mantissa bits, and R
Log/linear conversion is performed by OM220. ROM
The 18-bit waveform data for each sample from 220 is P/S converted by a P/S conversion circuit 222,
lt, is supplied to the multiplication circuit 224. 8/P conversion/latch circuit 226 receives volume control signal TJ from panel data interface 62 (FIG. 1).
The 8-bit noise volume level designation signal NLEliV and the 8-bit drum sound level designation signal DLEV are sent to selector 2.
28. The selector 228 selects the signal NLIUV or DLKV according to the noise system/drum system designation signal BAL from the shift register 190, and the selected signal is supplied to the adder circuit 230, which outputs the volume level control signal LC from the RAM 142. is added. That is, when the top cymbal waveform data is read out as described above, the adder circuit 230 selects the selector 22.
Noise volume level designation signals NLEV and RA from 8
The volume two-level control signal VLO for the top cymbal from M142 is added, and this creates a volume that takes into account the noise/drum volume balance by volume U, the total volume by volume 26, and the degree of volume level adjustment during recording. Control becomes possible. The addition output signal from the addition circuit 230 is applied as one addition input to the addition circuit 232, and the signal obtained by logarithmically converting the volume level designation signal LEV from the shift register 192 in the ROM 234 is added as the other addition input of the addition circuit 232. It will be done. For this reason, the adder circuit 232 sends out volume control data that takes into account the strength and weakness of each note. The adder circuit 236 receives the volume control data from the adder circuit 232 and the attenuation control data DU from the shift register 176.
While the count value of the shift register 176 is increasing, volume control data is sent to forcibly lower the -C rhythm volume, but while the shift register 76 is being cleared. is the damping control data DUM
Since this is the all-pit controller, the volume control data from the adder circuit 232 is sent out as is. The volume control data from the adder circuit 236 has the upper 4 bits as exponent bits and the lower 5 bits as mantissa bits, and the signal of the mantissa bits is log/linear converted in the conversion circuit 238 and converted into an 8-bit signal. The signal is supplied to a multiplication circuit 224. The multiplication circuit 224 multiplies the serial waveform data for each sample from the P/S conversion circuit 222 by the volume control data from the conversion circuit 238, and the multiplication output data for each sample is supplied to the level shift circuit 240. Ru. The level shift circuit 240 outputs data from the multiplier circuit 2 according to the exponent part data of the upper 4 bits of the output data of the adder circuit 236.
The U-bit serial waveform data from this circuit 240 is supplied to a distribution circuit 242 for each sample. What has been described above is the waveform data reading and volume control operation for one note at the first sound generation timing, but in the same way, the waveform data reading for multiple notes (up to 8 notes) can be performed. Output/volume control operations are performed. In this case, serial waveform data corresponding to a plurality of rhythm sounds is supplied from the level shift circuit 240 to the distribution circuit 242 in a time-division manner. In addition, at the next sound generation timing, the previously sounded one or more musical instrument sounds are forcibly attenuated by the attenuation control data DUM, and then the same waveform data readout and volume control operations as above are performed. Similar operations are repeated at each timing. The distribution circuit 242 includes a center speaker register 2460, a left speaker register 2716L, and a selector 248.
together with the data output circuit, and then the first
Referring to FIG. 4, the data output operation will be described with reference to I7. FIG. 14 shows a case where central speaker data is continuous (1
) and a case (2) in which data for the center speaker and data for the left speaker alternate. First, to explain case (1), the distribution circuit 24
As data input A of 2, 4 should be output from the central speaker.
Serial waveform data ■ to ■ are sequentially supplied. These data (1) to (2) each correspond to a different musical instrument, and all of them are data of bits related to a specific sample (for example, the first sample). The distribution circuit 242 is connected to the shift register 19 as a control human power B.
The center speaker/left speaker designation signal OHA is received from 0 [7, and the distribution operation is performed accordingly; in this case,
The confidence scale OHA is supplied as 1# for each channel. Therefore, all of the data 1 to 2 are distributed and supplied to the register 246 as output C. Since the register 246o circulates data internally, the same data is supplied twice in succession to the input E of the selector 248 as shown in FIG. 14(1)E. The selector 248 selects the human power E or F in response to the timing signals Y1 to 4 as the control human power G becoming %Jl or Kame 0#, respectively, so the selected output H(I) rhythm sound signal RT8) is , signal Y,
-□ Data ■, ■, ■, ■ of the register 246o are sequentially sent out corresponding to the period (1/2 channel time) of chi1#. Next, the case (2) in which data for the center speaker and data for the left speaker alternate will be described. In this case, data ■ to ■ as input A of the distribution circuit 242 are for the center speaker, and if ■ and ■ are for the left speaker, the control human power B (OHA) is the channel corresponding to the center speaker. 1# for the channel corresponding to the left speaker and 10# for the channel corresponding to the left speaker. Therefore, the data ■ and ■ are outputted to the register 246c as output C.
Then, data ■ and ■ are output to register 246L.
will be distributed and supplied to each. Similarly to the above, the registers 246c and 246L supply the same data to the selector 248 twice as shown in FIG. Select E or F alternately. Therefore, the output H (RTS) of the selector 248 is the signal Y after the central speaker data is sent out.
After one period of , ~, 4 (corresponding to one channel time), data for the left speaker ■ and data for the center speaker ■ are sent out sequentially, and then signal Y, and data for the left speaker after one period of ~24. ■ is sent. It goes without saying that the actual data output operation may be a combination of cases (1) and (2) above. If a rhythm stop or rhythm change operation is performed as described above while a rhythm sound is required based on the serial rhythm/sound signal RTS sent out in a time-divisional manner from the selector 248 as described above, , in FIG. 12, the E/P conversion/latch circuit 150 receives the signal NKON=
%l# and the signal N K OF =%l# are sequentially sent out for eight channels and supplied to the AND gate 250. At this time, AND gate 250 is receiving output signal %1# of inverter 156. Therefore, the AND gate 250 generates an output signal -1, and this signal %11 is passed through the OR gate 162 to the NA
ND gate 164 is supplied while OR gate 252
8 stage/1 bit shift register 254
supplied to A signal 1 is written into each of the eight stages of the shift register 254 in accordance with the timing signal φAB. Also, this signal! 1° of 11
The output signal of the NAND gate 164 is 0#,
This signal type 0 is supplied to the shift register 72 via an AND gate 170. Therefore, signal IO# is written into all eight stages of shift register 172 in accordance with timing signal φA8. Since the signal 0 sent out from the shift register 172 makes the gate circuit 174 conductive, the shift register 76
The output data of the adder circuit 178 is sequentially written to the eight stages. The contents of the shift register 254 are stored cyclically through the AND gate 256 and the OR gate 252, and the contents of the shift register 172 are also stored cyclically through the OR gate 182 and the AND gate 170, so that the shift The data value of each stage of register 176 increases by 1 as described above. When the data value of each stage of the shift register 176 reaches a predetermined value, the end detection circuit 1 outputs an attenuated end signal])
Sequentially transmit p E = % 1 # for 8 channels. The output data of the shift register 176 up to the generation of the signal DPE is sent to the adder circuit 236 as attenuation control data DUM.
, and acts to forcibly attenuate all rhythm sounds being produced. The attenuation end signal DPE is ANDed via the inverter 156.
Since the gate 256 is made non-conductive, the shift register 25
The stored data of the circulation path including 4 is cleared. Further, the signal DPE inputs the contents of each stage of the shift register 172 through an OR gate 182 and an AND gate 70.
At the end, the output signal Q1 from the shift register 172 makes the gate circuit 174 non-conductive. As a result, the count data of the shift register is cleared at each stage. In the case of a rhythm change, serial data opc including a sound generation command is then supplied, so that rhythm sounds are produced in accordance with the newly selected rhythm pattern in the same manner as described above. That is, in this case, after the previous musical instrument sound according to the previous rhythm pattern is forcibly attenuated, the musical instrument sound according to the new rhythm pattern is played. As described above, according to the present invention, since the playback volume level is automatically controlled based on the stored data,
For low-volume rhythm instruments, the S/N ratio can be improved by raising the volume level when recording the waveform. E. The automatic rhythm performance device described above performs waveform data readout and volume control operations in a time-division manner, so it can generate a large number of instrument sounds for each rhythm type using a relatively simple circuit configuration. It has the advantage of being able to
第1図は、この発明の一実栴例による自動リズム演奏装
置をそなえた電子楽器のブロック図、第2図は、上記自
動リズム演奏装置で奏出可能なリズム楽器音を楽器グル
ープ(リズム種類)毎に分類して示す図表、
第3図は、リズムパターンデータのフォーマットを示す
図、
第4図(a)〜(c)は、記憶されるべきリズム音波形
を例示する波形図、
第5図は、自動リズム演奏に用いられるデータのフォー
マットを示す図、
第6図は、第1図の電子楽器の動作を説明するためのフ
ローチャート、
第7図は、割込処理のフローチャート、第8図は、リズ
ムインターフェースの回路図、第9図は、リズムセット
のサブルーチンを示すフローチャート、
第10図は、割込処理の詳細を示すフローチャート、
第11図は、リズムパターン処理のサブルーチンを示す
フローチャート、
第12図は、リズム音発生回路の回路図、第13図及び
第14図は、第12図の回路の動作を説明するだめのタ
イムチャートである。
18B・・・リズム用操作子、42・・・中央処理装置
、48・・・リズムパターンメモリ、54 、142・
・・楽器毎レベルメモリ、56・・・リズム音波形メモ
リ、58・・・リズムインターフェース、60・・・リ
ズム音発生回路、62・・・パネルデータインターフェ
ース、130・・・リズム利潤回路、132・・・減衰
制御回路、】34・・アドレス廃生回路、136・・・
音量制御・データ出力回路。FIG. 1 is a block diagram of an electronic musical instrument equipped with an automatic rhythm playing device according to an embodiment of the present invention, and FIG. ), Figure 3 is a diagram showing the format of rhythm pattern data, Figures 4 (a) to (c) are waveform diagrams illustrating rhythm waveforms to be stored, and Figure 5 is a diagram showing the format of rhythm pattern data. 6 is a flowchart for explaining the operation of the electronic musical instrument shown in FIG. 1. FIG. 7 is a flowchart for interrupt processing. is a circuit diagram of the rhythm interface, FIG. 9 is a flowchart showing the rhythm set subroutine, FIG. 10 is a flowchart showing details of interrupt processing, FIG. 11 is a flowchart showing the rhythm pattern processing subroutine, FIG. 12 is a circuit diagram of the rhythm sound generation circuit, and FIGS. 13 and 14 are time charts for explaining the operation of the circuit of FIG. 12. 18B...Rhythm operator, 42...Central processing unit, 48...Rhythm pattern memory, 54, 142.
... Level memory for each musical instrument, 56... Rhythm sound waveform memory, 58... Rhythm interface, 60... Rhythm sound generation circuit, 62... Panel data interface, 130... Rhythm profit circuit, 132... ...Attenuation control circuit, ]34...Address waste generation circuit, 136...
Volume control/data output circuit.
Claims (1)
のメモリと、前記リズム音波形の発音タイミングを示す
タイミングデータを記憶した第2のメモリと、この第2
のメモリから前記タイミングデータな読出す第1の読出
手段と、前記第2のメモリから読出されたタイミングデ
ータの指示する発音タイミング毎に前記波形データを読
出すべく前記第1のメモリにアドレス信号を供給するア
ドレス発生器と、前記リズム音波形に関する音量制御デ
ータを記憶した第3のメモリと、この第3のメモリから
前記音量制御データを読出す第2の読出手段と、前記第
3のメモリから読出された音量制御データに応じて前記
第1のメモリからの波形データに基づくリズム音の音量
を制御する音量制御回路とをそなえた自動リズム演奏装
置。 2、複数のリズム音波形に対応する波形データを記憶し
た第1のメモリと、前記複数のリズム音波形の発音タイ
ミングを示すタイミングデータを記憶した第2のメモリ
と、前記複数のリズム音波形に関する音量制御データを
記憶した第3のメモリと、前記音量制御データを時分割
的に読出すべく前記第3のメモリにアドレス信号を供給
する@lのアドレス発生器と、前記第2のメモリから前
記タイミングデータを読出す読出手段と、前記第2のメ
モリから読出さり、たタイミングデータの指示する発音
タイミング毎に前記第1のアドレス発生器による読出タ
イミングに同期して前記波形データを時分割的に読出す
べく前記第1のメモリにアドレス信号を供給する第2の
アドレス発生器と、前記各リズム音波形毎に前記第3の
メモリからの音量制御データに応じて前記第1のメモリ
からの波形データに基づくリズム音の音量を制御する音
量制御回路とをそなえた自動リズム演奏装置。 3、多数のリズム音波形に対応する波形データを記憶し
た第1のメモリと、リズム種類毎に複数のリズム音波形
の発音タイミングを示すタイミングデータを記憶した第
2のメモリと、リズム種類毎に前記複数のリズム音波形
に関する音量制御データを記憶した第3のメモリと、前
記音量制御データを時分割的に読出すべく前記第3のメ
モリにアドレス信号を供給する第1のアドレス発生器と
、前記第2のメモリから前記タイミングデータを読出す
読出手段と、前記第2のメモリから読出されたタイミン
グデータの指示する発音タイミング毎に前記第1のアド
レス発生器による読出タイミングに同期して前記波形デ
ータを時分割的に読出すべく前記第1のメモリにアドレ
ス信号を供給する第2のアドレス発生器と、前記各リズ
ム音波形毎に前記第3のメモリからの音量制御データに
応じて前記第1のメモリからの波形データに基づくリズ
ム音の音量を制御する音量制御回路と、リズム選択手段
と、このリズム選択手段によって選択されるリズム種類
に応じて前記第2及び第3のメモリの続出アドレスを変
更する手段とをそなえ、前記第1のメモリから、選択さ
れたリズム種類に適合した波形データを時分割的に読出
すようにしたことを特徴とする自動リズム演奏装置。[Claims] 1. A first device that stores waveform data corresponding to a rhythm sound waveform.
a second memory storing timing data indicating the sounding timing of the rhythm sound waveform;
a first reading means for reading out the timing data from the memory; and an address signal to the first memory for reading out the waveform data at each sound generation timing indicated by the timing data read out from the second memory. an address generator for supplying; a third memory storing volume control data regarding the rhythm waveform; a second reading means for reading the volume control data from the third memory; An automatic rhythm performance device comprising: a volume control circuit that controls the volume of rhythm tones based on waveform data from the first memory in accordance with read volume control data. 2. A first memory storing waveform data corresponding to a plurality of rhythm sound waveforms, a second memory storing timing data indicating sound generation timings of the plurality of rhythm sound waveforms, and a second memory storing waveform data corresponding to the plurality of rhythm waveforms; a third memory storing volume control data; an @l address generator supplying an address signal to the third memory for time-divisionally reading out the volume control data; reading means for reading timing data; reading the waveform data from the second memory and time-divisionally reading the waveform data in synchronization with the read timing by the first address generator for each sound generation timing indicated by the timing data; a second address generator providing an address signal to the first memory for reading; and a waveform from the first memory responsive to volume control data from the third memory for each of the rhythm waveforms. An automatic rhythm performance device equipped with a volume control circuit that controls the volume of rhythm sounds based on data. 3. A first memory that stores waveform data corresponding to a large number of rhythm sound waveforms; a second memory that stores timing data that indicates the sounding timing of a plurality of rhythm sound waveforms for each rhythm type; a third memory that stores volume control data regarding the plurality of rhythm waveforms; a first address generator that supplies an address signal to the third memory to read out the volume control data in a time-sharing manner; reading means for reading out the timing data from the second memory; and reading means for reading out the timing data from the second memory, and reading out the waveform in synchronization with the readout timing by the first address generator for each sound generation timing indicated by the timing data read out from the second memory. a second address generator for supplying an address signal to the first memory to read data in a time-divisional manner; a volume control circuit for controlling the volume of the rhythm sound based on the waveform data from the first memory, a rhythm selection means, and successive addresses of the second and third memories according to the rhythm type selected by the rhythm selection means. 1. An automatic rhythm performance device, comprising: means for changing a rhythm, and reading waveform data suitable for a selected rhythm type from the first memory in a time-divisional manner.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57111886A JPH0631981B2 (en) | 1982-06-29 | 1982-06-29 | Automatic rhythm playing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57111886A JPH0631981B2 (en) | 1982-06-29 | 1982-06-29 | Automatic rhythm playing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS593485A true JPS593485A (en) | 1984-01-10 |
| JPH0631981B2 JPH0631981B2 (en) | 1994-04-27 |
Family
ID=14572605
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57111886A Expired - Lifetime JPH0631981B2 (en) | 1982-06-29 | 1982-06-29 | Automatic rhythm playing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0631981B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61201299A (en) * | 1985-03-04 | 1986-09-05 | 京王技研工業株式会社 | Rhythm sound generator |
| JPH01179093A (en) * | 1987-12-30 | 1989-07-17 | Yamaha Corp | Rhythm playing device |
| USRE37459E1 (en) | 1987-12-30 | 2001-12-04 | Yamaha Corporation | Electronic musical instrument having a ryhthm performance function |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5299807A (en) * | 1976-02-16 | 1977-08-22 | Nippon Gakki Seizo Kk | Automatic rhythm player |
| JPS55140895A (en) * | 1979-04-18 | 1980-11-04 | Matsushita Electric Industrial Co Ltd | Musical tone generator |
| JPS5624398A (en) * | 1979-08-04 | 1981-03-07 | Kawai Musical Instr Mfg Co | Electronic instrument |
-
1982
- 1982-06-29 JP JP57111886A patent/JPH0631981B2/en not_active Expired - Lifetime
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5299807A (en) * | 1976-02-16 | 1977-08-22 | Nippon Gakki Seizo Kk | Automatic rhythm player |
| JPS55140895A (en) * | 1979-04-18 | 1980-11-04 | Matsushita Electric Industrial Co Ltd | Musical tone generator |
| JPS5624398A (en) * | 1979-08-04 | 1981-03-07 | Kawai Musical Instr Mfg Co | Electronic instrument |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61201299A (en) * | 1985-03-04 | 1986-09-05 | 京王技研工業株式会社 | Rhythm sound generator |
| JPH01179093A (en) * | 1987-12-30 | 1989-07-17 | Yamaha Corp | Rhythm playing device |
| USRE37459E1 (en) | 1987-12-30 | 2001-12-04 | Yamaha Corporation | Electronic musical instrument having a ryhthm performance function |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0631981B2 (en) | 1994-04-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4184403A (en) | Method and apparatus for introducing dynamic transient voices in an electronic musical instrument | |
| US5009147A (en) | Sound generating unit system for electronic instruments | |
| GB1564914A (en) | Automatically playing a tonal accompaniment in an electronic musical instrument | |
| JPS6246880B2 (en) | ||
| JPS634195B2 (en) | ||
| JPS6337400B2 (en) | ||
| JPH0656555B2 (en) | Sound generator | |
| JPS6222157B2 (en) | ||
| JPH0213318B2 (en) | ||
| US5239123A (en) | Electronic musical instrument | |
| JPH0631981B2 (en) | Automatic rhythm playing device | |
| JPH0559438B2 (en) | ||
| JPH021316B2 (en) | ||
| JPS6326398B2 (en) | ||
| US4240317A (en) | Electronic musical instrument | |
| JP2698942B2 (en) | Tone generator | |
| JP2722665B2 (en) | Tone generator | |
| JP2701177B2 (en) | Tone generator | |
| JP3230265B2 (en) | Sound channel assignment device for electronic musical instruments | |
| US4704932A (en) | Electronic musical instrument producing level-controlled rhythmic tones | |
| JPH0833734B2 (en) | Extreme value channel designation method for electronic musical instruments | |
| JPH07325578A (en) | Automatic accompaniment device | |
| JPH0799473B2 (en) | Automatic playing device | |
| JP2697731B2 (en) | Automatic performance device | |
| JP3097382B2 (en) | Chord detector |