JPS6261279B2 - - Google Patents

Info

Publication number
JPS6261279B2
JPS6261279B2 JP56151594A JP15159481A JPS6261279B2 JP S6261279 B2 JPS6261279 B2 JP S6261279B2 JP 56151594 A JP56151594 A JP 56151594A JP 15159481 A JP15159481 A JP 15159481A JP S6261279 B2 JPS6261279 B2 JP S6261279B2
Authority
JP
Japan
Prior art keywords
signal
channel
key
circuit
key code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP56151594A
Other languages
Japanese (ja)
Other versions
JPS57205797A (en
Inventor
Toshio Tomizawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Gakki Co Ltd
Original Assignee
Nippon Gakki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Gakki Co Ltd filed Critical Nippon Gakki Co Ltd
Priority to JP56151594A priority Critical patent/JPS57205797A/en
Publication of JPS57205797A publication Critical patent/JPS57205797A/en
Publication of JPS6261279B2 publication Critical patent/JPS6261279B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

この発明は、複数音を同時に発音し得る電子楽
器において同時最大発音数のうち最も減衰の進ん
でいる音を検出し新たな音を発音し得るようにし
た電子楽器に関する。 同時最大発音数のすべての音が発音中であると
き更に新たに鍵が押された場合、発音中の音のう
ち最も減衰の進んでいる音の発音を停止させ、新
たな音を発音させるようにすることが好ましい。 この発明は上述の点に鑑みてなされたものであ
る。 この発明によれば押圧した鍵を識別するキーコ
ードをキーコードメモリの複数のチヤンネルのい
ずれかに記憶し、この各チヤンネルに記憶したキ
ーコードを連続したサイクル期間の各チヤンネル
に対応するタイムスロツトにおいて時分割で時分
割トーンジエネレータに加える電子楽器であつ
て、全てのチヤンネルが発音中にありかつ新たな
鍵が押圧されたとき動作し、前記新たに押圧され
た鍵に対応するキーコードを前記キーコードメモ
リの最も減衰の進んだ音が発生されているタイム
スロツトに対応するチヤンネルに割当てるトラン
ケート装置を有し、前記割当ては前半期間と後半
期間の2つの連続したサイクル期間において実行
される電子楽器において、 前記前半期間の連続した各タイムスロツトにお
いて前記トーンジエネレータから発生される各減
衰音の減衰の程度を順次比較し、前記前半期間の
全ての先行するタイムスロツトよりも減衰の程度
が進んでいるタイムスロツト毎にトランケート信
号を発生し、最後のトランケート信号が最も減衰
の進んだ音を含むタイムスロツトにおいて発生さ
れる第1の手段と、前記第1の手段と共動しかつ
前記トランケート信号を受入し、最も減衰の進ん
だ音が含まれるタイムスロツトにおいて単一のト
ランケート信号を前記後半期間において発生する
遅延手段と、前記遅延手段と共動しかつ前記単一
のトランケート信号を受入し、前記単一のトラン
ケート信号が含まれる前記単一のタイムスロツト
に対応する前記キーコードメモリのチヤンネルに
前記新たに押圧された鍵に対応するキーコードを
書込む書込み手段とを具えている。また前記第1
の手段は、最小値記憶手段と、前記最小値記憶手
段の内容と各減衰音の減衰の程度を示す信号とを
比較し該程度が前記最小値記憶手段の内容よりも
進んでいるときはトランケート信号を発生すると
ともに前記最小値記憶手段の記憶内容を該程度が
進んでいる信号に書き換える比較器を具え、前記
遅延手段は最後に生じる前記トランケート信号を
1サイクル期間に等しい時間だけ遅延させること
によつて前記単一のトランケート信号を形成する
ようにしている。 以下、この発明を添付図面の実施例に関して詳
細に説明しよう。 第1図はこの発明の電子楽器の概略を示す図
で、鍵盤1は各鍵によつて作動される多数のキー
スイツチを具えており、これらキースイツチの動
作をキーコーダ2で検出し、動作キースイツチ
(オンスイツチ)を表わすキーコードKCを発生す
る。検出した動作キースイツチのキーコードKC
は、例えば第2図cに示すようなクロツクφB
よつて確立される一定の時間幅Tpをもつて1つ
づつ順次キーコーダ2から送出される。キーコー
ダ2から出力されたキーコードKCはチヤンネル
プロセツサ3に供給される。 チヤンネルプロセツサ3は、同時最大発音数に
相当する数のチヤンネルのいずれか1つのチヤン
ネルに鍵盤1の押鍵によつて指定された音の発音
を割当てるための回路である。割当てがなされる
ための基本的条件は、 (A) 未だ発音割当てがなされていないチヤンネル
(空白チヤンネル)に割当てること、 (B) 同じ音が重複して複数のチヤンネルに割当て
られないようにすること、 である。 チヤンネルプロセツサ3は上記の基本的条件に
従つて割当て動作を行なうが、この発明のトラン
ケート回路を内部に含んでおり、前記条件(A)が満
足されないときでも後述するトランケートの条件
が満たされれば、割当て動作を行なうようになつ
ている。 チヤンネルプロセツサ3において、キーコード
記憶回路11は全チヤンネル数に対応する特定数
の記憶回路(記憶位置)を具えており、入力側に
ゲートを含んでいる。循環シフトレジスタで構成
すると好都合であり、チヤンネル数が12、キーコ
ードKCのビツト数が9であるとすると、1つの
記憶位置が9ビツトであり12個の記憶位置を有す
るシフトレジスタ(12語×9ビツト)を用いる。
各記憶位置に記憶されたキーコードは主クロツク
パルスφ(第2図a)に従つて順次シフトさ
れ、最終段から出力されると共に入力側に帰還さ
れ、記憶内容が循環して保持される。主クロツク
パルスφのパルス間隔は例えば1μsであり、
このパルス間隔をチヤンネル時間ということにす
る。全チヤンネル数が12であるとすると、主クロ
ツクパルスφによつて順次区切られる1μs幅
のタイムスロツトは第1チヤンネル〜第12チヤン
ネルに順次対応させられる。第2図bに示すよう
に、各タイムスロツトを順に第1チヤンネル〜第
12チヤンネル時間ということにする。この各チヤ
ンネル時間は循環して発生する。 このチヤンネルプロセツサ3における1回の割
当て動作時間Tpは、クロツクパルスφB(第2図
c)のパルス間隔に相当し、このパルスφBは各
チヤンネル時間が2循環する毎に第1チヤンネル
時間のとき発生される。1回の割当て動作時間T
pは各チヤンネル時間の前半の1循環期間Tp1
後半の1循環期間Tp2に分けられる。前半期間T
p1は第2図dのようにパルスY1〜12によつて指示
され、後半期間Tp2は第2図eのパルスY13〜24
によつて指示される。前半期間Tp1においては、
キーコード比較回路12における比較やトランケ
ート制御回路13における最減衰チヤンネルの検
出など、割当ての準備動作が実行される。後半期
間Tp2においては、キーコードKCをキーコード
記憶回路11に記憶させるなど、割当てに応じた
記憶動作が実行される。 この実施例では第1チヤンネルをペダル鍵盤の
発音に割当て、第2〜第12チヤンネルをマニユア
ル鍵盤(上鍵盤、下鍵盤)の発音に割当てるよう
にしている。従つて第1チヤンネル時間はペダル
鍵盤に関する割当て動作を実行し、第2〜第12チ
ヤンネル時間ではマニユアル鍵盤に関する割当て
動作を実行する。そこでマニユアル鍵盤割当て動
作用の前半期間に対応してパルスY2〜12が発生さ
れ、マニユアル用の後半期間に対応してパルス
Y14〜24が発生される(第2図f,g)。また、ペ
ダル鍵盤割当て動作のための後半期間用のパルス
Y13が発生される(第2図h)。第2図iのパルス
Y24は、割当て処理動作時間Tpの終わり、すなわ
ち後半期間Tp2の第12チヤンネル時間のときに発
生されるものである。 キーコード比較回路12はキーコーダ2から送
出されたキーコードKCとキーコード記憶回路1
1から出力された記憶キーコードKC*の内容を
比較し、一致または不一致に応じて比較結果
COMを出力する。キーコードKCは1割当て動作
時間Tp(第2図c)の間中発生しており、記憶
キーコードKC*はこの時間Tpの間第1〜第12チ
ヤンネルに割当てられた内容が2循環する。従つ
て、前半の1循環期間Tp1において一通りの比較
が終了する。この比較により、前記割当ての条件
(B)が満足されるか否かが確認される。比較結果
COMは一致のとき信号1であり、不一致のとき
信号0である。比較結果記憶回路14は比較結果
COMを記憶し、パルスY24によつてリセツトされ
るまで後半期間Tp2においてその記憶を保持す
る。記憶した比較結果REGはインバータ15で
反転され、アンド回路16,17,18に加えら
れる。従つて、前半期間Tp1において一致が検出
されない場合、後半期間Tp2の間記憶比較結果
REGは信号0であり、インバータ15を介して
信号1がアンド回路16〜18に加えられる。こ
れは前記割当ての条件(B)が満足されたことを意味
する。 コード検出回路19は、ペダル鍵盤の音とマニ
ユアル鍵盤の音をそれぞれ予じめ定めたチヤンネ
ルに割当てるようにするために、キーコーダ2か
ら送出されるキーコードKCがどの鍵盤のもので
あるかを検出する回路である。例えばキーコード
KCが、上位桁から順にK2(MSB)、K1、B3
B2、B1、N4、N3、N2、N1(LSB)の9ビツトの
データによつて構成されているとすると、上位2
ビツトK2、K1は鍵盤種類を表わし、その下の3
ビツトB3、B2、B1はオクターブ音域を表わし、
下位4ビツトN4、N3、N2、N1は1オクターブ内
の音名を表わしている。従つて、上位2ビツト
K2、K1の内容に応じて鍵盤種類を検出する。入
力キーコードKCがペダル鍵盤のものである場
合、ペダル鍵盤検出出力PKが信号1となり、マ
ニユアル鍵盤のものである場合はマニユアル鍵盤
検出出力MKが信号1となる。 割当て検出回路20は、キーコード記憶回路1
1から各チヤンネル時間毎に出力される記憶キー
コードKC*の内容を監視し、キーコードが記憶
されているか否かを検出する。記憶キーコード
KC*が存在するチヤンネル時間において、検出
出力Aは信号1となり、そのチヤンネルは発音割
当て済みであることを表わす。記憶キーコード
KC*が存在しないチヤンネル時間において、検
出出力Aは信号0であり、そのチヤンネルは空白
チヤンネルであることを表わす。従つて、検出出
力Aが信号0であれば前記割当ての条件(A)が満足
されることになる。また、検出出力Aは、発音中
となるべきチヤンネルを指定するキーオン信号A
として利用される。割当て検出回路20は、例え
ば、キーコード記憶回路11の出力のうち少くと
も1ビツトが信号1のとき出力1を生じるオア回
路によつて構成することができる。 入力キーコードKCがマニユアル鍵盤のもので
ある場合、コード検出回路19の出力MKが信号
1となる。このマニユアル鍵盤検出出力MKはア
ンド回路17,18に加わる。アンド回路17
は、前記割当ての条件(A)、(B)が共に満足されると
き信号1を出力する。条件(B)が満足されるとき、
後半期間Tp2においてインバータ15の出力
は信号1である。また、空白チヤンネルが
存在すれば、そのチヤンネル時間において割当て
検出回路20の出力Aは信号0となり、インバー
タ21を介してそのチヤンネル時間に信号1がア
ンド回路17に加わる。マニユアル鍵盤の割当て
は後半のマニユアル用期間(第2図g)において
行なわれるから、後半マニユアル用パルス
Y14〜24がアンド回路17に加えられる。 こうして、マニユアル鍵盤で新たに鍵が押圧さ
れてそのキーコードKCが記憶キーコードKC*
一致しない(REG=0)ことが確認されると、
後半期間Tp2のパルスY14〜24の時間において、
最も早い(第2〜第12チヤンネルの順)空白チヤ
ンネル(A=0)のチヤンネル時間に、アンド回
路17の条件が成立し、信号1が出力される。こ
の出力信号1はオア回路22,23を介してセツ
ト信号S(=1)及びリセツト信号C(=1)を
発生させる。セツト信号Sは、この信号Sが発生
したチヤンネル時間に対応するチヤンネルに入力
キーコードKCを割当てるべきであることを指示
するものである。 セツト信号Sの発生によつて、新たな割当てが
指示されると、キーコード記憶回路11における
当該チヤンネルの記憶内容は入力キーコードKC
に書替えられる。すなわち、記憶回路11の入力
ゲートにおいて、リセツト信号Cによつて最終段
出力から帰還されるデータ(KC*)を抑止し、
セツト信号Sによつて入力キーコードKCをキー
コード記憶回路(シフトレジスタ)11の最初の
記憶位置に読込ませる。なお、セツト信号Sが発
生されると、比較結果記憶回路14の記憶は
“1”にセツトされ、インバータ15の出力
は“0”となる。これにより、アンド回路16〜
18がインヒビツトされ、1つのチヤンネル時間
にだけセツト信号Sを発生するようにしている。 入力キーコードKCがペダル鍵盤のものである
場合、コード検出回路19のペダル鍵盤検出出力
PKが信号1となる。この出力PKはアンド回路1
6に加えられる。アンド回路16にはペダル鍵盤
用チヤンネルを指定するパルスY13が後半期間Tp
において加えられるようになつており、後半期
間Tp2の第1チヤンネル時間にアンド回路16の
出力が信号1となり、セツト信号S及びリセツト
信号Cが発生される。アンド回路16には信号A
は加わらず、インバータ15の出力によつ
て前記割当て条件(B)を確認するだけである。これ
は、この実施例ではペダル鍵盤の音は1音だけ発
音割当てされるようになつており、ペダル鍵盤用
の専用チヤンネルとして第1チヤンネルが割当て
られているからである。従つて、既に第1チヤン
ネルに割当てられているペダル鍵盤の記憶キーコ
ードKC*とペダル鍵盤の新たな入力キーコード
KCが一致しない場合(REG=0)、記憶キーコ
ードKC*の割当ては強制的に解消され(信号C
によつてリセツトされ)、新たな入力キーコード
KCが第1チヤンネルに割当てられる。このペダ
ル鍵盤のための割当て動作は、上記ペダル鍵盤の
記憶キーコードKC*に係る鍵が押圧中であるか
あるいは離鍵され減衰中であるかにかかわらず実
行される。従つて条件(A)のような「空白チヤンネ
ル」を考慮する必要がない。 なお、キーコーダ2からはキーコードKCの代
わりにキーオフ検出動作を指令するスタートコー
ドがほぼ定期的に供給されるようになつており、
コード検出回路19でスタートコードが加えられ
たことを検出し、後半期間Tp2の間、キーオフ検
査信号xを発生する。スタートコードが発生して
いる1割当て動作時間Tpの間、チヤンネルプロ
セツサ3では新たな割当てはなされず、既に割当
てられたキーコード*に関する鍵が離鍵(キーオ
フ)されたか否かが検出される。 キーオン1時記憶回路24は各チヤンネルに対
応する記憶位置を有しており、例えば12ビツトの
循環シフトレジスタ24aを用いるとよい。或る
チヤンネルにキーコードKCを割当てるために前
記セツト信号Sが発生されたとき、当該チヤンネ
ル時間に同期してオア回路24bを介してシフト
レジスタ24aに信号1を記憶させる。この記憶
は前記キーオフ検査信号xによりインバータ24
c、アンド回路24dを介して強制的にリセツト
されるが、その後再び同じキーコードKCが入力
されると比較回路12の一致検出信号(COM=
1)により当該チヤンネルに再び信号1を記憶さ
せる。キーオフ検査信号xはキーオン1時記憶回
路24の全チヤンネルの記憶が1循環する後半期
間Tp2(12チヤンネル時間)の間発生されるの
で、すべてのチヤンネルの記憶内容がリセツトさ
れる。鍵の押圧が継続していれば、キーコーダ2
でこれを検出し再び同じキーコードKCを発生す
るので、いずれかのチヤンネルの記憶キーコード
KC*と入力キーコードKCが一致し、キーオン1
時記憶回路24の当該チヤンネルに信号1が記憶
される。これとは逆に、離鍵されていれば、その
鍵のキーコードKCは供給されないので、キーコ
ード比較回路12の一致検出信号は生じず
(COM=0)、当該チヤンネルの記憶はオーオフ
検査信号xによつてリセツトされたままの状態
“0”を維持する。従つて次にキーオフ検査信号
xが発生されるとき離鍵されたチヤンネルの記憶
は信号0であるので、これをインバータ25で反
転し、キーオフ検出記憶回路26に加える。 キーオフ検出記憶回路26はキーオフ検出のた
めのアンド回路26aと各チヤンネルに対応する
記憶位置を有する循環シフトレジスタ26bのよ
うな記憶回路を具えている。 キーオフ検出記憶回路26はインバータ25の
出力及びキーオフ検査信号x及びキーオン信号A
のアンド条件がアンド回路26aにおいて成立し
たとき、キーオフと判定し、信号1をシフトレジ
スタ26bに記憶する。すなわち、キーオフ検査
信号x(スタートコード)が発生されたとき、キ
ーオン1時記憶回路24にキーオンが記憶されて
いずしかもそのチヤンネルにはキーコードKC*
が割当てられていることを条件に、新たに鍵が離
された(キースイツチの動作が終了した)ことを
検出する。 キーオフ検出記憶回路26からは各チヤンネル
の記憶内容がクロツクφに同期して各チヤンネ
ル時間毎に時分割的に出力されるようになつてお
り、この出力は信号1のときキーオフを表わすキ
ーオフ信号Dとして利用される。キーオフ信号D
が発生している場合、当該チヤンネルにおける発
音が離鍵後の減衰状態に入つていることを意味し
ている。発音が終了すると後述のようにデイケイ
終了信号DFがエンベロープ発生回路27からオ
ア回路23に加わり、リセツト信号Cを発生さ
せ、記憶回路26における当該チヤンネルのキー
オフ記憶をリセツトする。 以上のようにしてチヤンネルプロセツサ3にお
いて基本的な割当て動作が実行され、割当てられ
たキースイツチ(鍵)のキーコードKC*及び割
当て済みであることを表わすキーオン信号Aある
いは割当て済みの鍵が離鍵されたことを表わすキ
ーオフ信号Dが、各チヤンネル時間に同期して時
分割多重化されてそれぞれ出力され、後段の音発
生回路28やエンベロープ発生回路27などに供
給される。 トランケート制御動作 チヤンネルプロセツサ3においては上述の基本
的な割当て動作のほかに、この発明によるトラン
ケート制御動作にもとづく割当て動作も実行され
る。 この実施例では、トランケート制御動作はマニ
ユアル鍵盤に関して実行される。マニユアル鍵盤
に割当てられる第2〜第12チヤンネルで全11音が
すべて発音中であるとき、新たに12番目の鍵がマ
ニユアル鍵盤で押された際、発音中の11音の内最
も減衰の進んでいるものを検出してその音の発音
を停止させ、12番目の音をそのチヤンネルに割当
てて発音させるようにする制御動作が、トランケ
ート制御動作である。 上記制御動作が行なわれるためには、 (1) 11音すべて発音中であること、 (2) いづれかの音が減衰中であること、 (3) 12番目の鍵が押されていること、 の3条件が必要である。 第3図はトランケート制御回路13の一例を示
すもので、振幅比較回路33と最小振幅記憶回路
34によつて最も減衰が進んでいる音が割当てら
れているチヤンネルを検出する。トランケートチ
ヤンネル指定回路81は上記条件(1)、(2)を確認
し、トランケートすべきチヤンネル時間にトラン
ケートチヤンネル指定信号MTCHを発生する。
上記条件(3)は前記アンド回路18(第1図)で確
認される。 この実施例においては、最も減衰が進んでいる
音をエンベロープ波形の振幅値にもとづいて検出
するようにしている。すなわち、デジタル処理式
の電子楽器においては、第1図に示すようにエン
ベロープ発生回路27を具えており、チヤンネル
プロセツサ3から供給されるキーオン信号A及び
キーオフ信号Dにもとづいて読出し制御回路30
を駆動し、エンベロープメモリ31からエンベロ
ープ波形を順次読出すようにしている。エンベロ
ープメモリ31に記憶させるエンベロープ波形の
典型例を第4図に示す。第4図に示すようなエン
ベロープ波形を時間軸に沿つて複数のサンプル点
に分割し、各サンプル点の振幅値をエンベロープ
メモリ31の各番地に夫々順次記憶している。メ
モリ31はエンベロープ波形各サンプル点の振幅
値を2進のデジタル量で記憶したリードオンリイ
メモリ等を使用することがトランケート制御回路
13におけるエンベロープ振幅値の利用にとつて
好ましいが、アナログ量で振幅値を記憶したメモ
リを使用した場合は想像線で示すようにアナログ
−デジタル変換器32を設けてデジタル振幅値に
変換した後トランケート制御回路13に供給する
ようにすればよい。 読出し制御回路30は主クロツクφに従つて
12チヤンネル分時分割共用されるようになつてお
り、キーオン信号Aが加えられると当該チヤンネ
ル時間に動作して、アタツククロツクに従つてメ
モリ31からの順次振幅値の読出しを進める。こ
の読出しにより、第4図のアタツク部分に示すよ
うな部分エンベロープ波形が得られる。エンベロ
ープ振幅がサステインレベルに達すると、アタツ
ククロツクの送入は中止され、同一振幅値が持続
してメモリ31から読出され、第4図のサステイ
ン部分に示すような部分エンベロープ波形が得ら
れる。キーオフ信号Dが加えられるとデイケイク
ロツクに従つてメモリ31からの順次振幅値の読
出しを進め、第4図のデイケイ部分に示すような
部分エンベロープ波形を得る。こうしてエンベロ
ープ波形の発生が完成される。デイケイ部分にお
いては時間の経過にともなつて振幅値が徐々に減
衰する。このようなエンベロープ波形は各チヤン
ネル毎に時分割的メモリ31から読出される。従
つて、各チヤンネル時間の1循環期間(12チヤン
ネル時間)において、メモリ31から読出された
エンベロープ振幅値が最も小さいチヤンネルの音
が最も減衰が進んでいる、ということができる。 読出し制御回路30として、12チヤンネル分の
時分割共用動作が可能なカウンタ、あるいは適宜
のシフトレジスタ、などを使用することができ
る。メモリ31から各チヤンネル時間に時分割的
に読出されたエンベロープ振幅値は、トランケー
ト制御動作に利用するためにトランケート制御回
路13に供給されるが、本来、重みづけ回路29
に加えられて楽音の振幅エンベロープを制御す
る。前記チヤンネルプロセツサ3で割当てられた
キーコードKC*は音発生回路28に加えられ、
そのコードが指定する音高でありかつ任意所望の
音色が付与された楽音信号が同回路28から各チ
ヤンネル時間毎に時分割的に発生される。この楽
音信号が重みづけ回路29に加えられ、振幅エン
ベロープが制御された楽音信号が回路29から得
られる。 さて、エンベロープ発生回路27で発生された
エンベロープ振幅値Gはトランケート制御回路1
3(第3図)の振幅比較回路33に入力される。
振幅比較回路33は、各チヤンネルのエンベロー
プ振幅値Gを比較し、最も振幅値が小さいチヤン
ネルを検出する。エンベロープ振幅値Gは、前述
のように、2進のデジタル量である。この振幅値
Gの全ビツトのデータを比較回路33に入力して
比較を行なうようにしてもよいが、通常、それほ
ど細かく比較する必要はなく、振幅値データを構
成する複数ビツト(例えばnビツト)のうち上位
桁の数ビツトを比較すれば十分である。第3図に
示す振幅比較回路33では、nビツト(n=任意
の正の定数)のデジタルデータで構成されるエン
ベロープ波形振幅データGの上位桁3ビツト
Gn、Go-1、Go-2、(Gnは最上位桁MSB、Go-1
Gnの1桁下位、Go-2はGo-1の1桁下位)を入力
するようにしている。従つてエンベロープ波形振
幅の比較は、この場合、上位桁3ビツトに関して
行なわれる。 最小振幅記憶回路34は検出した最小振幅値を
記憶する回路で、この記憶最小振幅値MGと入力
振幅値Gとの比較が比較回路33で実行される。
この比較は各チヤンネル毎に順次実行される。或
るチヤンネル時間において、入力振幅値Gが記憶
振幅値MGよりも小さい場合(G<MG)、記憶回
路34は直ちに書替えられ、入力振幅値Gが新た
に記憶される。チヤンネル時間の経過にともなつ
て各チヤンネル毎の比較が順次行なわれることに
より、記憶最小振幅値MGが適宜書替えられる。
従つて、全チヤンネルの比較を終えたとき、すな
わち、第12チヤンネル目の振幅値Gと記憶振幅値
MGとの比較を終えたとき始めて正しい最小振幅
値のチヤンネルを知ることができる。従つて、第
1〜12チヤンネル時間の前半の1循環期間は上記
のような各チヤンネルの順次比較のためにだけ利
用される。 まず、比較動作の詳細を説明すると、入力振幅
値Gと記憶振幅値MGの比較は各ビツト毎に実行
されるようになつている。記憶回路34は、ビツ
トGo-2、Go-1、Gnに対応して遅延フリツプフロ
ツプ35,36,37、を夫々有しており、記憶
内容はアンド回路38,39,40、オア回路4
1,42,43を介して夫々自己保持される。比
較回路33は、入力振幅値Gと記憶振幅値MGを
比較し、G<MGのときCM=1の出力を生じ、
G≧MGのときCM=0の出力を生じる。各ビツ
ト毎に3つのアンド回路44〜46,47〜4
9,50〜52及びオア回路53,54,55が
設けられ、G<MGを検出するような論理が組ま
れている。 論理(1)…… 振幅値GとMGの各ビツト毎に、値の大小を比
較する。 すなわち、論理式は次の通りである。 ・MGn→アンド回路51 o-1・MGo-1→アンド回路48 o-2・MGo-2→アンド回路45 ここで、Goo-2はGn〜Go-2をインバータ5
6,57,58で夫々反転した信号である。従つ
てGn、Go-1、Go-2が夫々0、MGn、MGo-1
MGo-2が夫々1、のとき、各アンド回路51,4
8,45の出力は信号1となる。これは、夫々、 Gn<MGn Go-1<MGo-1o-2<MGo-2 を表わしている。 従つて、最上位桁がGn(0)<MGn(1)であれば
当然G<MGであるので、アンド回路51の出力
信号1はオア回路55、アンド回路59、オア回
路60を介して比較回路33の出力CM(=1)
となる。比較結果出力CMが“1”であればG<
MGを表わしている。 最上位桁がGn(1)>MGn(0)のときは、G>
MGであるが、Gn(1または0)=MGn(1また
は0)のときは、下位の桁の比較結果を調べる必
要がある。 論理(2)…… Gn=MGnのとき、下位桁がGo-1<MGo-1であ
れば、G<MGとなるので、次のような論理を組
む。 Gn=MGn=1のとき、 CM2・MGn→アンド回路50 Gn=MGn=0のとき、 CM2・→アンド回路52 ここでCM2は下位桁の比較結果で、オア回路5
4の出力である。すなわち、Go-1<MGo-1のと
きCM2=1である。しかし、下位桁がGo-1
MGo-1のときは更に下位桁を調べる必要がある。 これは上記と同様であり、 Go-1=MGo-1=1のとき、 CM1・MGo-1→アンド回路47 Go-1=MGo-1=0のとき、 CM1o-1→アンド回路49 ここでCM1は更に下位桁の比較結果であり、オ
ア回路53の出力である。つまりGo-2<MGo-2
のときCM1=1である。Go-2=MGo-2のとき
は、比較対象となる下位桁がもうないため、アン
ド回路44,46の常時信号0を入力しておき、
CM1=0となるようになつている。 上記のように組まれた論理(1)、(2)の条件が満足
されると、オア回路55から信号1が出力され
(CM3=1)、アンド回路59,61に入力され
る。この信号CM3が“1”であることは、入力振
幅値Gが記憶振幅値MGよりも小さいことを表わ
している。 1回の比較動作は1動作時間Tp毎に行なわれ
る。そのため、パルスY24がオア回路62を介し
て遅延フリツプフロツプ63に加わり、1ビツト
タイム遅延されて第1チヤンネル時間のときに信
号1がフリツプフロツプ63からアンド回路6
1,64に加えられる。アンド回路64の他方入
力側には常時信号1が加わつているため、同回路
64から信号1が出力され、オア回路60を介し
てアンド回路65に加えられる。しかし同アンド
回路65には前半期間マニユアル用パルスY2-12
が加えられるため、第1チヤンネル時間では同回
路65はインヒビツトされている。これは、マニ
ユアル鍵盤に関してのみトランケート動作を実行
するようにしたためである。アンド回路65の出
力は信号0であるため、インバータ66の出力は
信号1となり、アンド回路67を介してフリツプ
フロツプ63の信号1を保持させる。 次に第2チヤンネル時間になると、信号CMは
依然“1”であり、パルスY2〜12も信号1となる
が、アンド回路65のもう1つの入力であるキー
オフ信号Dの内容に応じて同回路65から出力が
生じる。すなわち、当該チヤンネルの音が減衰中
であればキーオフ信号Dは“1”であり、そうで
なければ“0”である。従つて、このアンド回路
65において前記トランケートの条件(2)が確認さ
れる。第2チヤンネルに割当てられた音が減衰中
であれば、アンド回路65から最小値検出信号Z
(=1)が出力される。この信号Zは最小振幅記
憶回路34のアンド回路68,69,70に加わ
り、入力振幅値Gの各ビツト信号Go-2、Go-1
Gnを選択してフリツプフロツプ35〜37に記
憶させる。アンド回路38〜40はインヒビツト
され、前の記憶値MGは解消されると同時に、フ
リツプフロツプ63の記憶も“0”となる。この
ように、各チヤンネル時間の1循環期間において
(第1チヤンネルを除く)、最初にキーオフ信号D
が発生するチヤンネル時間に比較結果に係わりな
く強制的に最小値検出信号Zが発生され、当該チ
ヤンネルのエンベロープ波形振幅値が最小振幅値
として記憶回路34に記憶される。以降、フリツ
プフロツプ63の出力信号0によつてアンド回路
61,64がインヒビツトされるから、真の比較
結果である信号CM3がアンド回路59、オア回路
60を介して比較結果出力CMとしてアンド回路
65に加えられるようになる。 パルスY2〜Y12が発生している間にマニユアル
鍵盤用のすべてのチヤンネルの比較が順次実行さ
れ、記憶振幅値MGよりも小さい入力振幅値Gが
検出される毎に信号CMが“1”となり、これが
減衰中のものであれば、検出信号Zが発生され
る。従つて、信号Zは何回も発生される可能性が
あるが、一番最後に信号Zが発生されたチヤンネ
ルのエンベロープ波形振幅値が真の最小振幅値で
ある。この真の最小振幅値、すなわち最も減衰が
進んでいるチヤンネルを検出するために、12ビツ
トのシフトレジスタ71が設けられている。検出
信号Zはシフトレジスタ71に入力され、クロツ
クφによつて順次シフトされ、12ビツトタイム
(12チヤンネル時間)遅延されて同レジスタ71
の最終段から出力される。レジスタ71の最終段
Z12の出力はアンド回路72に加えられ、また第
1段Z1から第11段Z11の出力はすべてオア回路7
3に接続されてインバータ74を介してアンド回
路72に入力される。レジスタ71で12ビツトタ
イム遅延されることにより、同レジスタ71の入
力と最終段出力のチヤンネルが一致する。レジス
タ71に信号1を保有しているということは、検
出信号Z=1であつたことを表わしており、最終
段Z12の信号よりも第1段Z1〜第11段Z11の信号の
ほうが後の比較結果である。従つて、最終段Z12
の信号が“1”のとき、後の段Z1〜Z11に信号1
が保有されていれば、この段Z12の信号1は一番
最後の検出信号Zではないことを意味し、後の段
Z1〜Z11に信号1が保有されていなければこの段
Z12の信号1は一番最後の検出信号Zであること
を意味する。後の段Z1〜Z11に信号1が保有され
ていない場合のみインバータ74の出力は信号1
となる。後の段Z1〜Z11の内容に残りの11チヤン
ネルに対応する。従つ、前半期間Tp1において最
初に検出された第2チヤンネルの検出結果(Z=
1、0にかかわらず)が、後半期間Tp2の第2チ
ヤンネル時間にレジスタ71の最終段Z12から出
力されるとき、残りの第3〜第12チヤンネルの検
出結果は段Z11〜Z2に夫々記憶されている。従つ
て、最終段Z12の信号とインバータ74の出力が
同時に“1”となるのは後半期間(マニユアル用
後半期間)の単一のチヤンネル時間だけである。
このチヤンネル時間が、最も減衰が進んでいる音
のチヤンネルに対応する。 さて、トランケート動作の前記条件(1)を確認す
るためにアンド回路75が設けられている。アン
ド回路75の一方入力には、前記キーオン信号A
がインバータ76で反転されて加えられており、
他方入力には、前半期間マニユアル用パルス
Y2〜12が加わる。キーオン信号Aは“1”のとき
割当て済み(発音中)を表わしており、“0”の
とき空白チヤンネルを表わしている。従つて、マ
ニユアル用のチヤンネルで11音すべてが発音中の
場合、パルスY2〜12が発生している間中信号Aは
“1”であり、アンド回路75の出力は信号0で
ある。しかし、1音でも発音していないチヤンネ
ルがあれば、反転キーオン信号は“1”とな
り、アンド回路75から信号1が出力される。ア
ンド回路75から信号1が出力された場、遅延フ
リツプフロツプ77に信号1が記憶され、アンド
回路78、オア回路79を介して自己保持され
る。この自己保持は、パルスY24によつてアンド
回路78がインヒビツトされるまで接続される。
従つて、前記条件(1)が満足される場合、フリツプ
フロツプ77は後半期間Tp2の間信号0を保持
し、満足されない場合(空白チヤンネルがある場
合)フリツプフロツプ77は後半期間Tp2の間信
号1を保持する。 フリツプフロツプ77の出力はインバータ80
を介して前記アンド回路72に加えられるので、
前記条件(1)が満足される場合は最も減衰が進んで
いる単一のチヤンネル時間に(後半期間Tp2にお
いて)信号1がアンド回路72から出力される。
これがトランケートチヤンネル指定信号MTCH
としてアンド回路18(第1図)に供給される。
しかし、前記条件(1)が満足されない場合は、アン
ド回路72がインヒビツトされるので、例え、最
も減衰が進んでいるチヤンネルが検出されたとし
てもトランケートチヤンネル指定信号MTCHは
発生されない。 トランケートチヤンネル指定信号MTCHは、
第1図のアンド回路18に加えられる。このアン
ド回路18には、前記比較結果記憶回路14の比
較結果記憶信号REGを反転した信号、及び
コード検出回路19からのマニユアル鍵盤信号
MK、及び後半マニユアル用パルスY14〜24が夫々
加えられている。全11音発音中のマニユアル鍵盤
において新たに12番目の鍵が押された場合、該鍵
のキーコードKCの入力により、一致検出信号
COMは“0”となるので比較結果記憶信号REG
の反転信号は“1”となる。これによつて
前記トランケート動作の条件(3)が満足される。こ
うしてトランケートの条件(1)〜(3)が共に満足され
ることが確認されると、後半マニユアル用期間
(第2図g)において、トランケートチヤンネル
指定信号MTCHが発生したチヤンネル時間にア
ンド回路18は信号1を出力する。これに応じて
セツト信号S及びリセツト信号Cが発生され、当
該チヤンネルに記憶されていたキーコードKC*
を解消し、キーコード記憶回路11の当該チヤン
ネルに新たな入力キーコードKCを記憶させる。
また、キーオン1時記憶回路24の当該チヤンネ
ルに信号1(キーオン)を記憶させ、キーオフ検
出記憶回路26の当該チヤンネルにおけるキーオ
フの記憶を解消する。こうして、最も減衰が進ん
でいる音の発音が停止され、その代わりに、同じ
チヤンネルに新たな音の発音が割当てられる。 なお、ペダル鍵盤は1音だけ発音させるように
しているため、ペダル鍵盤で新たに鍵が押される
と、前に割当てたペダル鍵盤音の発音を直ちに解
消し、新たな鍵を割当てるので、特別なトランケ
ート制御動作は行なわれない。 しかし、ペダル鍵盤とマニユアル鍵盤の区別な
く割当て動作を行なおうとする場合、上記のよう
なトランケート制御動作は全12チヤンネルに関し
て実行されることはいうまでもない。 なお、エンベロープ発生回路27(第1図)の
エンベロープメモリ31からデイケイエンベロー
プの読出しが終了すると、デイケイ終了信号DF
が読出し制御回路30から発生され、チヤンネル
プロセツサ3のオア回路23に加わつてリセツト
信号Cを発生させる。このとき、当該チヤンネル
における発音が終了し、割当てが解除される。 エンベロープ発生回路27としては、既に公知
となつている特願昭47−125516号(特開昭49−
84218号)・発明の名称「エンベロープ波形発生装
置」において開示されたような装置を使用するこ
とができる。 この発明の電子楽器は前記トランケート制御回
路13及びそれに関連する論理回路等を用いて構
成されるが、このトランケート回路が応用される
チヤンネルプロセツサ3は第1図に概略を示した
構成のものに限らず、特願昭47−125514号(特開
昭49−84216号)・発明の名称「キーアサイナ」の
明細書中に開示されたような方式の割当て回路を
使用することも可能である。また、キーコーダ2
としては、上記実施例で説明したもののほか、特
願昭47−125513号(特開昭49−84215号)・発明の
名称「キーデータ信号発生装置」の明細書中に開
示されたような方式の装置、あるいは特願昭49−
92173号・発明の名称「キーコード発生装置」の
明細書中に開示されたような方式の装置、を使用
することも可能である。ただし、トランケート制
御回路13を第3図のように構成した場合、全チ
ヤンネル時間の2循環期間の時間がトランケート
チヤンネル指定信号発生のために必要であるの
で、キーコーダ2あるいはチヤンネルプロセツサ
3の変更例においては、この点を考慮して時間的
に余裕をもたせてキーコードKCを発生するとよ
い。 以上説明したようにこの発明によれば、電子楽
器の発音割当てにおけるトランケート制御動作を
簡単な構成でかつ、確実に行い得る、という利点
を有する。
The present invention relates to an electronic musical instrument capable of producing multiple sounds simultaneously, which is capable of producing a new sound by detecting the most decayed sound among the maximum number of simultaneous sounds. If a new key is pressed while all the notes with the maximum number of simultaneous polyphony are being sounded, the sound that has decayed the most among the currently sounding notes will be stopped, and a new sound will be played. It is preferable to This invention has been made in view of the above points. According to the present invention, a key code identifying a pressed key is stored in one of a plurality of channels of a key code memory, and the key code stored in each channel is stored in a time slot corresponding to each channel in a continuous cycle period. An electronic musical instrument that is added to a time division tone generator in a time division manner, which operates when all channels are producing sound and a new key is pressed, and the key code corresponding to the newly pressed key is transmitted to the An electronic musical instrument comprising a truncation device for assigning to a channel corresponding to a time slot in which the most attenuated sound in the key code memory is generated, and said assignment is performed in two consecutive cycle periods, a first half period and a second half period. The degree of attenuation of each attenuated sound generated from the tone generator in each consecutive time slot of the first half period is compared in sequence, and the degree of attenuation is advanced compared to all the preceding time slots of the first half period. first means cooperating with said first means and generating a truncate signal for each time slot in which the last truncate signal is generated in the time slot containing the most attenuated sound; delay means for generating a single truncate signal in the second half period in a time slot containing the most attenuated sound; writing means for writing a key code corresponding to the newly pressed key into a channel of the key code memory corresponding to the single time slot in which a single truncate signal is included. Also, the first
The means compares the contents of the minimum value storage means and a signal indicating the degree of attenuation of each attenuated sound with the minimum value storage means, and truncates when the degree is ahead of the contents of the minimum value storage means. a comparator that generates a signal and rewrites the stored contents of the minimum value storage means to a signal indicating that the degree is advanced; and the delay means delays the last generated truncate signal by a time equal to one cycle period. Thus, the single truncated signal is formed. The invention will now be described in detail with reference to the embodiments of the accompanying drawings. FIG. 1 is a diagram schematically showing an electronic musical instrument according to the present invention. A keyboard 1 is equipped with a large number of key switches operated by each key. The operation of these key switches is detected by a key coder 2, and an operating key switch (on switch) is detected. ) is generated. Key code KC of detected operation key switch
are sequentially sent out from the key coder 2 one by one with a constant time width T p established by a clock φ B as shown in FIG. 2c, for example. The key code KC output from the key coder 2 is supplied to the channel processor 3. The channel processor 3 is a circuit for assigning the sound specified by the depression of the key on the keyboard 1 to any one of the channels whose number corresponds to the maximum number of simultaneous sounds. The basic conditions for assignment are: (A) It must be assigned to a channel that has not yet been assigned a pronunciation (blank channel); (B) The same note must not be assigned to multiple channels twice. , is. The channel processor 3 performs the allocation operation in accordance with the above basic conditions, but since it includes the truncation circuit of the present invention internally, even if the above condition (A) is not satisfied, if the truncation condition described later is satisfied, , is adapted to perform the allocation operation. In the channel processor 3, the key code storage circuit 11 includes a specific number of storage circuits (storage locations) corresponding to the total number of channels, and includes a gate on the input side. It is convenient to configure it as a circular shift register, and assuming that the number of channels is 12 and the number of bits of the key code KC is 9, one storage position is 9 bits and a shift register with 12 storage positions (12 words × 9 bit) is used.
The key code stored in each memory location is sequentially shifted in accordance with the main clock pulse φ 1 (FIG. 2a), outputted from the final stage and fed back to the input side, so that the stored contents are circulated and held. The pulse interval of the main clock pulse φ1 is, for example, 1 μs,
This pulse interval will be referred to as channel time. Assuming that the total number of channels is 12, time slots of 1 .mu.s width successively separated by the main clock pulse .phi.1 correspond to the first channel to the twelfth channel in sequence. As shown in Figure 2b, each time slot is sequentially connected to the first channel to the first channel.
Let's call it 12 channel hours. Each channel time occurs cyclically. One allocated operation time T p in the channel processor 3 corresponds to the pulse interval of the clock pulse φ B (FIG. 2c), and this pulse φ B is applied to the first channel time every two cycles of each channel time. Occurs when. One-time allocated operation time T
p is divided into one circulation period T p1 in the first half and one circulation period T p2 in the latter half of each channel time. First half period T
p1 is indicated by pulses Y 1-12 as in FIG. 2d, and the second half period T p2 is indicated by pulses Y 13-24 in FIG. 2e.
Directed by. In the first half period T p1 ,
Preparatory operations for assignment are performed, such as comparison in the key code comparison circuit 12 and detection of the lowest attenuation channel in the truncate control circuit 13. In the second half period T p2 , a storage operation is performed according to the assignment, such as storing the key code KC in the key code storage circuit 11. In this embodiment, the first channel is assigned to the pedal keyboard, and the second to twelfth channels are assigned to the manual keyboard (upper keyboard, lower keyboard). Therefore, during the first channel time, assignment operations related to the pedal keyboard are executed, and during the second to twelfth channel times, assignment operations related to the manual keyboard are executed. Therefore, pulses Y 2 to 12 are generated corresponding to the first half period for manual keyboard assignment operation, and pulses Y 2 to Y12 are generated corresponding to the second half period for manual keyboard assignment operation.
Y 14-24 are generated (Fig. 2 f, g). Also, the pulse for the second half period for pedal keyboard assignment operation.
Y 13 is generated (Figure 2h). Pulse of Figure 2 i
Y24 is generated at the end of the allocation processing operation time Tp , that is, at the 12th channel time of the second half period Tp2 . The key code comparison circuit 12 compares the key code KC sent from the key coder 2 with the key code storage circuit 1.
Compare the contents of the memory key code KC * output from 1 and display the comparison result depending on whether it matches or does not match.
Output COM. The key code KC is generated during one assigned operation time T p (Fig. 2 c), and the stored key code KC * is the content assigned to the 1st to 12th channels during this time T p , which is circulated twice. do. Therefore, one comparison is completed in one circulation period T p1 in the first half. This comparison shows that the conditions of said allocation
It is checked whether (B) is satisfied. Comparison result
COM is a signal 1 when there is a match, and a signal 0 when there is a mismatch. The comparison result storage circuit 14 stores the comparison results.
COM and retains its memory during the second half period T p2 until reset by pulse Y24 . The stored comparison result REG is inverted by an inverter 15 and applied to AND circuits 16, 17, and 18. Therefore, if no match is detected in the first half period T p1 , the memory comparison result will be stored during the second half period T p2 .
REG is signal 0, and signal 1 is applied to AND circuits 16-18 via inverter 15. This means that the assignment condition (B) is satisfied. The code detection circuit 19 detects which keyboard the key code KC sent from the key coder 2 belongs to in order to assign the sounds of the pedal keyboard and the sound of the manual keyboard to predetermined channels respectively. This is a circuit that does this. For example key code
KC is, in order from the most significant digit, K 2 (MSB), K 1 , B 3 ,
Assuming that it is composed of 9 bits of data: B 2 , B 1 , N 4 , N 3 , N 2 , N 1 (LSB), the upper 2
The bits K 2 and K 1 represent the keyboard type, and the 3 bits below them represent the keyboard type.
Bits B 3 , B 2 , B 1 represent the octave range,
The lower four bits N 4 , N 3 , N 2 , and N 1 represent pitch names within one octave. Therefore, the upper 2 bits
The keyboard type is detected according to the contents of K 2 and K 1 . When the input key code KC is for a pedal keyboard, the pedal keyboard detection output PK becomes signal 1, and when it is for a manual keyboard, the manual keyboard detection output MK becomes signal 1. The assignment detection circuit 20 includes the key code storage circuit 1
The contents of the memory key code KC * output from 1 to each channel time are monitored to detect whether or not the key code is stored. memory key code
During the channel time when KC * exists, the detection output A becomes signal 1, indicating that the channel has been assigned sound generation. memory key code
During the channel time when KC * does not exist, the detection output A is a signal 0, indicating that the channel is a blank channel. Therefore, if the detection output A is a signal 0, the above-mentioned assignment condition (A) is satisfied. In addition, the detection output A is a key-on signal A that specifies the channel that should be generating sound.
used as. The assignment detection circuit 20 can be configured, for example, by an OR circuit that produces an output of 1 when at least one bit of the output of the key code storage circuit 11 is a signal 1. When the input key code KC is for a manual keyboard, the output MK of the code detection circuit 19 becomes signal 1. This manual keyboard detection output MK is applied to AND circuits 17 and 18. AND circuit 17
outputs signal 1 when both of the assignment conditions (A) and (B) are satisfied. When condition (B) is satisfied,
In the second half period T p2 , the output of the inverter 15 is signal 1. Furthermore, if a blank channel exists, the output A of the assignment detection circuit 20 becomes a signal 0 during that channel time, and a signal 1 is applied to the AND circuit 17 via the inverter 21 during that channel time. Since the manual keyboard assignment is done in the second half of the manual period (Fig. 2g), the second half of the manual pulse
Y14-24 are added to AND circuit 17. In this way, when a new key is pressed on the manual keyboard and it is confirmed that the key code KC does not match the stored key code KC * (REG = 0),
At the time of pulse Y 14 to 24 in the second half period T p2 ,
At the channel time of the earliest blank channel (A=0) (in the order of the 2nd to 12th channels), the condition of the AND circuit 17 is satisfied and signal 1 is output. This output signal 1 generates a set signal S (=1) and a reset signal C (=1) via OR circuits 22 and 23. The set signal S instructs that the input key code KC should be assigned to the channel corresponding to the channel time when the signal S is generated. When a new assignment is instructed by the generation of the set signal S, the stored contents of the channel in the key code storage circuit 11 are changed to the input key code KC.
be rewritten as . That is, at the input gate of the memory circuit 11, data (KC * ) fed back from the final stage output is suppressed by the reset signal C,
The input key code KC is read into the first storage position of the key code storage circuit (shift register) 11 by the set signal S. Note that when the set signal S is generated, the storage in the comparison result storage circuit 14 is set to "1", and the output of the inverter 15 becomes "0". As a result, the AND circuit 16~
18 is inhibited so that it generates the set signal S only during one channel time. If the input key code KC is from a pedal keyboard, the pedal keyboard detection output of the code detection circuit 19
PK becomes signal 1. This output PK is AND circuit 1
Added to 6. The AND circuit 16 receives a pulse Y13 for specifying the pedal keyboard channel during the second half period Tp.
The output of the AND circuit 16 becomes signal 1 during the first channel time of the second half period T p2 , and the set signal S and reset signal C are generated. The AND circuit 16 has a signal A
is not added, and the above-mentioned assignment condition (B) is only confirmed by the output of the inverter 15. This is because in this embodiment, only one tone is assigned to the pedal keyboard, and the first channel is assigned as a dedicated channel for the pedal keyboard. Therefore, the memory key code KC * of the pedal keyboard already assigned to the first channel and the new input key code of the pedal keyboard
If KC does not match (REG = 0), the assignment of memory key code KC * is forcibly canceled (signal C
) and enter a new key code.
KC is assigned to the first channel. This assignment operation for the pedal keyboard is executed regardless of whether the key associated with the stored key code KC * of the pedal keyboard is being pressed or is being released and being attenuated. Therefore, there is no need to consider "blank channels" as in condition (A). Furthermore, instead of the key code KC, the key coder 2 almost regularly supplies a start code that commands the key-off detection operation.
The code detection circuit 19 detects the addition of the start code and generates a key-off test signal x during the second half period T p2 . During one assignment operation time T p during which the start code is generated, the channel processor 3 does not make any new assignments, and only detects whether or not the key associated with the already assigned key code * has been released (keyed off). Ru. The key-on 1 time memory circuit 24 has a memory location corresponding to each channel, and preferably uses a 12-bit circular shift register 24a, for example. When the set signal S is generated to allocate the key code KC to a certain channel, the signal 1 is stored in the shift register 24a via the OR circuit 24b in synchronization with the channel time. This memory is stored in the inverter 24 by the key-off test signal x.
c. It is forcibly reset via the AND circuit 24d, but when the same key code KC is input again after that, the coincidence detection signal (COM=
1) causes the channel to store signal 1 again. Since the key-off test signal x is generated during the latter half period T p2 (12 channel time) in which the memories of all channels in the key-on 1 memory circuit 24 go through one cycle, the contents of memories of all channels are reset. If the key continues to be pressed, key coder 2
detects this and generates the same key code KC again, so remember the key code of one of the channels.
KC * and input key code KC match, key on 1
Signal 1 is stored in the corresponding channel of the time storage circuit 24. On the other hand, if the key has been released, the key code KC of that key is not supplied, so the coincidence detection signal of the key code comparison circuit 12 is not generated (COM = 0), and the memory of the channel is an off check signal. It maintains the state "0" reset by x. Therefore, the next time the key-off test signal x is generated, the memory of the key-released channel is signal 0, so this is inverted by the inverter 25 and applied to the key-off detection storage circuit 26. The key-off detection storage circuit 26 includes a storage circuit such as an AND circuit 26a for key-off detection and a circular shift register 26b having a storage location corresponding to each channel. The key-off detection memory circuit 26 includes the output of the inverter 25, the key-off test signal x, and the key-on signal A.
When the AND condition is satisfied in the AND circuit 26a, it is determined that the key is off, and the signal 1 is stored in the shift register 26b. That is, when the key-off test signal x (start code) is generated, the key-on is not stored in the key-on 1 time memory circuit 24, and the key code KC * is not stored in the key-on 1 time memory circuit 24.
Detects that a new key has been released (key switch operation has ended) on the condition that the key has been assigned. The key-off detection memory circuit 26 outputs the stored contents of each channel in a time-division manner for each channel time in synchronization with the clock φ1 , and when the signal is 1, this output is a key-off signal indicating key-off. It is used as D. Key off signal D
If this occurs, it means that the sound in the channel has entered a state of attenuation after the key is released. When the sound generation is completed, the decay end signal DF is applied from the envelope generating circuit 27 to the OR circuit 23, as will be described later, to generate the reset signal C, and reset the key-off memory of the channel in the memory circuit 26. As described above, the basic assignment operation is executed in the channel processor 3, and the key code KC * of the assigned key switch (key) and the key-on signal A indicating that it has been assigned or the assigned key is released. A key-off signal D indicating that the key-off signal has been input is time-division multiplexed in synchronization with the time of each channel, and is outputted, respectively, and supplied to the subsequent sound generation circuit 28, envelope generation circuit 27, and the like. Truncate Control Operation In addition to the above-mentioned basic allocation operation, the channel processor 3 also executes an allocation operation based on the truncate control operation according to the present invention. In this example, the truncate control operation is performed on a manual keyboard. When all 11 notes are being sounded on the 2nd to 12th channels assigned to the manual keyboard, when a new 12th key is pressed on the manual keyboard, the note with the most attenuation among the 11 notes currently being sounded will be played. The truncate control operation is a control operation that detects a sound, stops the sound, and assigns the 12th sound to that channel so that it can be played. In order for the above control operation to occur, (1) all 11 tones must be being sounded, (2) any of the tones must be attenuating, and (3) the 12th key must be pressed. Three conditions are required. FIG. 3 shows an example of the truncate control circuit 13, in which an amplitude comparison circuit 33 and a minimum amplitude storage circuit 34 detect the channel to which the sound whose attenuation is most advanced is assigned. The truncate channel designation circuit 81 confirms the above conditions (1) and (2), and generates the truncate channel designation signal MTCH at the time of the channel to be truncated.
The above condition (3) is confirmed by the AND circuit 18 (FIG. 1). In this embodiment, the sound whose attenuation is the most advanced is detected based on the amplitude value of the envelope waveform. That is, the digital processing type electronic musical instrument is equipped with an envelope generation circuit 27 as shown in FIG.
The envelope waveforms are sequentially read out from the envelope memory 31. A typical example of an envelope waveform stored in the envelope memory 31 is shown in FIG. The envelope waveform shown in FIG. 4 is divided into a plurality of sample points along the time axis, and the amplitude value of each sample point is sequentially stored in each address of the envelope memory 31. It is preferable to use a read-only memory or the like that stores the amplitude value of each sample point of the envelope waveform in a binary digital quantity as the memory 31 for the use of the envelope amplitude value in the truncate control circuit 13. If a memory storing the amplitude is used, an analog-to-digital converter 32 may be provided as shown by the imaginary line to convert the amplitude into a digital amplitude value and then supply it to the truncate control circuit 13. The read control circuit 30 operates according to the main clock φ1 .
Twelve channels are time-divisionally shared, and when a key-on signal A is applied, the channel operates during the corresponding channel time and sequentially reads amplitude values from the memory 31 in accordance with the attack clock. By this reading, a partial envelope waveform as shown in the attack portion of FIG. 4 is obtained. When the envelope amplitude reaches the sustain level, the attack clock is stopped and the same amplitude value is continuously read from memory 31, resulting in a partial envelope waveform as shown in the sustain section of FIG. When the key-off signal D is applied, amplitude values are sequentially read out from the memory 31 in accordance with the decay clock to obtain a partial envelope waveform as shown in the decay portion of FIG. In this way, the generation of the envelope waveform is completed. In the decay portion, the amplitude value gradually attenuates as time passes. Such an envelope waveform is read out from the time-sharing memory 31 for each channel. Therefore, it can be said that in one circulation period (12 channel times) of each channel time, the sound of the channel whose envelope amplitude value read out from the memory 31 is the smallest is attenuated the most. As the read control circuit 30, a counter capable of time-division shared operation for 12 channels, a suitable shift register, or the like can be used. The envelope amplitude values read out in a time-division manner from the memory 31 at each channel time are supplied to the truncate control circuit 13 for use in the truncate control operation.
is added to control the amplitude envelope of the musical note. The key code KC * assigned by the channel processor 3 is applied to the sound generation circuit 28,
A musical tone signal having the pitch specified by the code and having any desired tone color is generated from the same circuit 28 in a time-division manner for each channel time. This musical tone signal is applied to a weighting circuit 29, and a musical tone signal whose amplitude envelope is controlled is obtained from the circuit 29. Now, the envelope amplitude value G generated by the envelope generation circuit 27 is transmitted to the truncate control circuit 1.
3 (FIG. 3).
The amplitude comparison circuit 33 compares the envelope amplitude values G of each channel and detects the channel with the smallest amplitude value. The envelope amplitude value G is a binary digital quantity, as described above. Although data for all bits of this amplitude value G may be input to the comparator circuit 33 for comparison, it is usually not necessary to compare so precisely, and multiple bits (for example, n bits) constituting the amplitude value data may be compared. It is sufficient to compare several bits of the upper digits. In the amplitude comparison circuit 33 shown in FIG.
Gn, G o-1 , G o-2 , (Gn is the most significant digit MSB, G o-1 is
The one lower digit of Gn is input, and the one lower digit of G o-1 for G o-2 is input. Therefore, the envelope waveform amplitudes are compared in this case with respect to the three most significant bits. The minimum amplitude storage circuit 34 is a circuit that stores the detected minimum amplitude value, and the comparison circuit 33 compares the stored minimum amplitude value MG with the input amplitude value G.
This comparison is performed sequentially for each channel. If the input amplitude value G is smaller than the stored amplitude value MG during a certain channel time (G<MG), the storage circuit 34 is immediately rewritten and the input amplitude value G is newly stored. As the channel time elapses, the stored minimum amplitude value MG is rewritten as appropriate by sequentially performing comparisons for each channel.
Therefore, when the comparison of all channels is completed, that is, the amplitude value G of the 12th channel and the stored amplitude value
Only when the comparison with the MG is completed can the channel with the correct minimum amplitude value be known. Therefore, one circulation period in the first half of the 1st to 12th channel times is used only for the above-described sequential comparison of each channel. First, to explain the details of the comparison operation, the input amplitude value G and the stored amplitude value MG are compared for each bit. The memory circuit 34 has delay flip-flops 35, 36, and 37 corresponding to bits G o-2 , G o-1 , and Gn, respectively, and the stored contents are AND circuits 38, 39, and 40, and an OR circuit 4.
1, 42, and 43, respectively. The comparison circuit 33 compares the input amplitude value G and the stored amplitude value MG, and produces an output of CM=1 when G<MG,
When G≧MG, an output of CM=0 is produced. Three AND circuits 44-46, 47-4 for each bit
9, 50 to 52 and OR circuits 53, 54, and 55 are provided, and a logic is set up to detect G<MG. Logic (1)... Compare the magnitude of each bit of the amplitude values G and MG. That is, the logical formula is as follows.・MGn → AND circuit 51 o-1・MG o-1 →AND circuit 48 o-2・MG o-2 →AND circuit 45 Here, Go ~ o-2 connects Gn ~ Go o-2 to inverter 5
These are signals inverted at 6, 57, and 58, respectively. Therefore, Gn, G o-1 and G o-2 are respectively 0, MGn, MG o-1 ,
When MG o-2 is 1, each AND circuit 51, 4
The outputs of 8 and 45 become signal 1. This represents Gn<MGn G o-1 <MG o-1 G o-2 <MG o-2 , respectively. Therefore, if the most significant digit is Gn (0) < MGn (1), then naturally G < MG, so the output signal 1 of the AND circuit 51 is compared via the OR circuit 55, the AND circuit 59, and the OR circuit 60. Output CM of circuit 33 (=1)
becomes. If the comparison result output CM is “1”, G<
It represents MG. When the most significant digit is Gn(1)>MGn(0), G>
However, when Gn (1 or 0) = MGn (1 or 0), it is necessary to check the comparison result of the lower digits. Logic (2)... When Gn=MGn, if the lower digit is G o-1 < MG o-1 , then G < MG, so the following logic is constructed. When Gn=MGn=1, CM 2・MGn→AND circuit 50 When Gn=MGn=0, CM 2・→AND circuit 52 Here, CM 2 is the comparison result of the lower digits, and OR circuit 5
This is the output of 4. That is, when G o-1 < MG o-1, CM 2 =1. However, the lower digit is G o-1 =
For MG o-1 , it is necessary to further check the lower digits. This is the same as above, when G o-1 = MG o-1 = 1, CM 1・MG o-1 → AND circuit 47 When G o-1 = MG o-1 = 0, CM 1o-1 →AND circuit 49 Here, CM 1 is the comparison result of the lower digits and is the output of the OR circuit 53. In other words, G o-2 < MG o-2
When CM 1 =1. When G o-2 = MG o-2 , there are no more lower digits to be compared, so input the signal 0 to the AND circuits 44 and 46 at all times.
CM 1 =0. When the conditions of the logics (1) and (2) set as described above are satisfied, a signal 1 is outputted from the OR circuit 55 (CM 3 =1) and inputted to the AND circuits 59 and 61. The fact that this signal CM 3 is "1" indicates that the input amplitude value G is smaller than the stored amplitude value MG. One comparison operation is performed every one operation time T p . Therefore, the pulse Y24 is applied to the delay flip-flop 63 via the OR circuit 62, and is delayed by one bit time, so that the signal 1 is transferred from the flip-flop 63 to the AND circuit 6 at the first channel time.
Added to 1,64. Since the signal 1 is always applied to the other input side of the AND circuit 64, the signal 1 is outputted from the AND circuit 64 and applied to the AND circuit 65 via the OR circuit 60. However, the same AND circuit 65 has a manual pulse Y 2-12 during the first half period.
is added, so the circuit 65 is inhibited during the first channel time. This is because the truncate operation is performed only on the manual keyboard. Since the output of the AND circuit 65 is a signal 0, the output of the inverter 66 becomes a signal 1, and the signal 1 of the flip-flop 63 is held via the AND circuit 67. Next, at the second channel time, the signal CM is still "1" and the pulses Y 2 to 12 are also the signal 1, but depending on the content of the key-off signal D, which is another input of the AND circuit 65, the signal CM is still "1". An output is produced from circuit 65. That is, the key-off signal D is "1" if the sound of the channel is attenuating, and is "0" otherwise. Therefore, the AND circuit 65 confirms the truncate condition (2). If the sound assigned to the second channel is attenuating, the minimum value detection signal Z is output from the AND circuit 65.
(=1) is output. This signal Z is applied to the AND circuits 68, 69, 70 of the minimum amplitude storage circuit 34, and each bit signal G o-2 , G o-1 ,
Gn is selected and stored in flip-flops 35-37. AND circuits 38-40 are inhibited, the previous stored value MG is canceled, and at the same time the storage in flip-flop 63 becomes "0". In this way, in one cycle period of each channel time (except for the first channel), the key-off signal D
Regardless of the comparison result, the minimum value detection signal Z is forcibly generated at the channel time when this occurs, and the envelope waveform amplitude value of the channel is stored in the storage circuit 34 as the minimum amplitude value. Thereafter, since the AND circuits 61 and 64 are inhibited by the output signal 0 of the flip-flop 63, the signal CM 3 which is the true comparison result is sent to the AND circuit 65 as the comparison result output CM via the AND circuit 59 and the OR circuit 60. can be added to. While pulses Y 2 to Y 12 are being generated, all channels for the manual keyboard are sequentially compared, and each time an input amplitude value G smaller than the stored amplitude value MG is detected, the signal CM is set to “1”. and if this is attenuating, a detection signal Z is generated. Therefore, although signal Z may be generated many times, the envelope waveform amplitude value of the channel in which signal Z is generated most recently is the true minimum amplitude value. A 12-bit shift register 71 is provided to detect this true minimum amplitude value, that is, the channel where the attenuation is the most advanced. The detection signal Z is input to the shift register 71, sequentially shifted by the clock φ1 , delayed by 12 bit times (12 channel times), and then sent to the shift register 71.
is output from the final stage. Last stage of register 71
The output of Z 12 is applied to the AND circuit 72, and the outputs of the first stage Z 1 to the 11th stage Z 11 are all applied to the OR circuit 7.
3 and is input to the AND circuit 72 via an inverter 74. By delaying the signal by 12 bits in the register 71, the input channel of the register 71 and the channel of the final stage output match. Holding signal 1 in the register 71 means that the detection signal Z=1, and the signals of the first stage Z 1 to the 11th stage Z 11 are higher than the signal of the final stage Z 12 . This is the later comparison result. Therefore, the final stage Z 12
When the signal is “1”, the signal 1 is sent to the subsequent stage Z 1 to Z 11 .
If it holds, it means that the signal 1 of this stage Z12 is not the last detection signal Z, and the next stage
If signal 1 is not held in Z 1 to Z 11 , this stage
Signal 1 of Z 12 means that it is the last detection signal Z. The output of inverter 74 is signal 1 only if signal 1 is not held in the subsequent stages Z1 to Z11 .
becomes. The contents of the latter stages Z 1 to Z 11 correspond to the remaining 11 channels. Therefore, the detection result of the second channel first detected in the first half period T p1 (Z=
(regardless of whether it is 1 or 0) is output from the final stage Z 12 of the register 71 during the second channel time of the second half period T p2 , the detection results of the remaining 3rd to 12th channels are output from stages Z 11 to Z 2 are remembered respectively. Therefore, the signal of the final stage Z12 and the output of the inverter 74 become "1" at the same time only during a single channel time in the second half period (manual second half period).
This channel time corresponds to the channel of sound that is most attenuated. Now, an AND circuit 75 is provided to confirm the condition (1) for the truncate operation. One input of the AND circuit 75 receives the key-on signal A.
is inverted and added by an inverter 76,
The other input is the manual pulse for the first half period.
Y 2 to 12 are added. When the key-on signal A is "1", it indicates that the channel has been allocated (currently sounding), and when it is "0", it indicates a blank channel. Therefore, when all 11 tones are being generated in the manual channel, the signal A is "1" while the pulses Y2 to Y12 are being generated, and the output of the AND circuit 75 is the signal 0. However, if there is a channel in which even one note is not being produced, the inverted key-on signal becomes "1", and the AND circuit 75 outputs a signal 1. When the signal 1 is output from the AND circuit 75, the signal 1 is stored in the delay flip-flop 77 and self-held via the AND circuit 78 and the OR circuit 79. This self-holding is maintained until AND circuit 78 is inhibited by pulse Y24 .
Therefore, if the condition (1) is satisfied, the flip-flop 77 holds the signal 0 during the second half period T p2 , and if it is not satisfied (if there is a blank channel), the flip-flop 77 holds the signal 1 during the second half period T p2 . hold. The output of flip-flop 77 is connected to inverter 80.
is added to the AND circuit 72 via
If the condition (1) is satisfied, signal 1 is output from the AND circuit 72 at the single channel time when attenuation is most advanced (in the second half period T p2 ).
This is the truncate channel designation signal MTCH
The signal is supplied to the AND circuit 18 (FIG. 1) as a signal.
However, if the condition (1) is not satisfied, the AND circuit 72 is inhibited, so even if the channel with the most advanced attenuation is detected, the truncate channel designation signal MTCH will not be generated. The truncate channel designation signal MTCH is
It is added to the AND circuit 18 in FIG. This AND circuit 18 receives a signal obtained by inverting the comparison result storage signal REG of the comparison result storage circuit 14 and a manual keyboard signal from the chord detection circuit 19.
MK and second half manual pulses Y 14-24 are added respectively. When a new 12th key is pressed on the manual keyboard while all 11 tones are being produced, a match detection signal is generated by inputting the key code KC for that key.
Since COM becomes “0”, the comparison result storage signal REG
The inverted signal of is "1". This satisfies the condition (3) for the truncate operation. When it is confirmed that both the truncate conditions (1) to (3) are satisfied, the AND circuit 18 is activated at the channel time when the truncate channel designation signal MTCH is generated in the second half manual use period (Fig. 2g). Outputs signal 1. In response, a set signal S and a reset signal C are generated, and the key code KC * stored in the corresponding channel is generated.
, and a new input key code KC is stored in the corresponding channel of the key code storage circuit 11.
Further, the signal 1 (key-on) is stored in the corresponding channel of the key-on 1 time storage circuit 24, and the storage of key-off in the corresponding channel of the key-off detection storage circuit 26 is canceled. In this way, the sound whose decay is the most progressed is stopped, and a new sound is assigned to the same channel in its place. Note that the pedal keyboard is designed to produce only one note, so when a new key is pressed on the pedal keyboard, the sound of the previously assigned pedal keyboard note is immediately canceled and a new key is assigned. No truncate control action is performed. However, if the assignment operation is to be performed without distinguishing between the pedal keyboard and the manual keyboard, it goes without saying that the above-mentioned truncate control operation will be executed for all 12 channels. Note that when the reading of the decay envelope from the envelope memory 31 of the envelope generation circuit 27 (FIG. 1) is completed, the decay end signal DF is output.
is generated from the read control circuit 30 and applied to the OR circuit 23 of the channel processor 3 to generate the reset signal C. At this time, the sound generation in the channel ends and the allocation is canceled. The envelope generating circuit 27 is disclosed in Japanese Patent Application No. 47-125516 (Japanese Unexamined Patent Publication No. 49-1989), which is already publicly known.
No. 84218)・A device such as that disclosed in the title of the invention “Envelope waveform generator” can be used. The electronic musical instrument of the present invention is constructed using the truncate control circuit 13 and related logic circuits, etc., and the channel processor 3 to which this truncate circuit is applied has the configuration shown schematically in FIG. However, it is also possible to use an assignment circuit of the type disclosed in the specification of Japanese Patent Application No. 47-125514 (Japanese Unexamined Patent Publication No. 49-84216) entitled "Key Assigner". Also, key coder 2
In addition to the methods described in the above embodiments, the method disclosed in the specification of Japanese Patent Application No. 47-125513 (Japanese Unexamined Patent Publication No. 49-84215) with the title of the invention "Key Data Signal Generator" may be used. equipment or patent application 1977-
It is also possible to use a device of the type disclosed in the specification of No. 92173 entitled "Key code generator". However, when the truncate control circuit 13 is configured as shown in FIG. 3, two circulation periods of the total channel time are required to generate the truncate channel designation signal. In this case, it is advisable to take this point into account and generate the key code KC with sufficient time. As described above, the present invention has the advantage that the truncate control operation in assigning sound tones for an electronic musical instrument can be performed reliably with a simple configuration.

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

第1図はこの発明の電子楽器の一実施例を概略
的に示すブロツク図、第2図は各種制御用クロツ
クパルスを示すタイミングチヤート、第3図は第
1図におけるトランケート制御回路の詳細ブロツ
ク図、第4図は典型的なエンベロープ波形を示す
グラフである。 3……チヤンネルプロセツサ、13……トラン
ケート制御回路、33……振幅比較回路、34…
…最小振幅記憶回路、81……トランケートチヤ
ンネル指定回路、24……キーオン1時記憶回
路、26……キーオフ検出記憶回路。
FIG. 1 is a block diagram schematically showing an embodiment of the electronic musical instrument of the present invention, FIG. 2 is a timing chart showing various control clock pulses, and FIG. 3 is a detailed block diagram of the truncate control circuit in FIG. 1. FIG. 4 is a graph showing a typical envelope waveform. 3...Channel processor, 13...Truncate control circuit, 33...Amplitude comparison circuit, 34...
...Minimum amplitude memory circuit, 81...Truncate channel designation circuit, 24...Key-on 1 time memory circuit, 26...Key-off detection memory circuit.

Claims (1)

【特許請求の範囲】 1 押圧した鍵を識別するキーコードをキーコー
ドメモリの複数のチヤンネルのいずれかに記憶
し、この各チヤンネルに記憶したキーコードを連
続したサイクル期間の各チヤンネルに対応するタ
イムスロツトにおいて時分割で時分割トーンジエ
ネレータに加える電子楽器であつて、全てのチヤ
ンネルが発音中にありかつ新たな鍵が押圧された
とき動作し、前記新たに押圧された鍵に対応する
キーコードを前記キーコードメモリの最も減衰の
進んだ音が発生されているタイムスロツトに対応
するチヤンネルに割当てるトランケート装置を有
し、前記割当ては前半期間と後半期間の2つの連
続したサイクル期間において実行される電子楽器
において、 前記前半期間の連続した各タイムスロツトにお
いて前記トーンジエネレータから発生される各減
衰音の減衰の程度を順次比較し、前記前半期間の
全ての先行するタイムスロツトよりも減衰の程度
が進んでいるタイムスロツト毎にトランケート信
号を発生し、最後のトランケート信号が最も減衰
の進んだ音を含むタイムスロツトにおいて発生さ
れる第1の手段と、前記第1の手段と共動しかつ
前記トランケート信号を受入し、最も減衰の進ん
だ音が含まれるタイムスロツトにおいて単一のト
ランケート信号を前記後半期間において発生する
遅延手段と、前記遅延手段と共動しかつ前記単一
のトランケート信号を受入し、前記単一のトラン
ケート信号が含まれる前記単一のタイムスロツト
に対応する前記キーコードメモリのチヤンネルに
前記新たに押圧された鍵に対応するキーコードを
書込む書込み手段とを具える電子楽器。 2 前記第1の手段は、最小値記憶手段と、前記
最小値記憶手段の内容と各減衰音の減衰の程度を
示す信号とを比較し該程度が前記最小値記憶手段
の内容よりも進んでいるときはトランケート信号
を発生するとともに前記最小値記憶手段の記憶内
容を該程度が進んでいる信号に書き換える比較器
を具え、前記遅延手段は最後に生じる前記トラン
ケート信号を1サイクル期間に等しい時間だけ遅
延させることによつて前記単一のトランケート信
号を形成する特許請求の範囲第1項記載の電子楽
器。
[Claims] 1. A key code for identifying a pressed key is stored in one of a plurality of channels of a key code memory, and the key code stored in each channel is stored at a time corresponding to each channel in a continuous cycle period. An electronic musical instrument that is added to a time-division tone generator in a time-division manner, which operates when all channels are generating sound and a new key is pressed, and the key code corresponding to the newly pressed key. a truncation device that assigns the key code memory to a channel corresponding to a time slot in which the most attenuated sound is generated, and the assignment is performed in two consecutive cycle periods, a first half period and a second half period. In the electronic musical instrument, the degree of attenuation of each attenuated tone generated from the tone generator in each successive time slot of the first half period is compared in sequence, and the degree of attenuation is greater than that of all preceding time slots of the first half period. first means cooperating with said first means and generating a truncate signal for each advancing time slot, the last truncate signal being generated in the time slot containing the most attenuated sound; delay means for receiving a signal and generating a single truncated signal in the second half period in a time slot containing the most attenuated sound; and a delay means cooperating with the delay means and receiving the single truncated signal. , writing means for writing a key code corresponding to the newly pressed key into a channel of the key code memory corresponding to the single time slot in which the single truncate signal is included. 2. The first means compares the contents of the minimum value storage means with a signal indicating the degree of attenuation of each attenuated sound, and determines whether the degree is more advanced than the contents of the minimum value storage means. a comparator that generates a truncate signal and rewrites the stored contents of the minimum value storage means to a signal indicating that the degree is advanced; 2. The electronic musical instrument of claim 1, wherein said single truncated signal is formed by delaying.
JP56151594A 1981-09-25 1981-09-25 Electronic musical instrument Granted JPS57205797A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56151594A JPS57205797A (en) 1981-09-25 1981-09-25 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56151594A JPS57205797A (en) 1981-09-25 1981-09-25 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPS57205797A JPS57205797A (en) 1982-12-16
JPS6261279B2 true JPS6261279B2 (en) 1987-12-21

Family

ID=15521928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56151594A Granted JPS57205797A (en) 1981-09-25 1981-09-25 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPS57205797A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0235781U (en) * 1988-08-30 1990-03-08
JPH0353277U (en) * 1989-09-27 1991-05-23

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0235781U (en) * 1988-08-30 1990-03-08
JPH0353277U (en) * 1989-09-27 1991-05-23

Also Published As

Publication number Publication date
JPS57205797A (en) 1982-12-16

Similar Documents

Publication Publication Date Title
US3610799A (en) Multiplexing system for selection of notes and voices in an electronic musical instrument
US4217804A (en) Electronic musical instrument with automatic arpeggio performance device
EP0274137A2 (en) Tone signal generation device having a tone sampling function
US4381689A (en) Chord generating apparatus of an electronic musical instrument
JPH0412476B2 (en)
JPS6246880B2 (en)
US5315059A (en) Channel assigning system for electronic musical instrument
JPH0420193B2 (en)
JPS5922238B2 (en) key assigner
JPH0656555B2 (en) Sound generator
JPS6261279B2 (en)
US4543869A (en) Electronic musical instrument producing chord tones utilizing channel assignment
US5239123A (en) Electronic musical instrument
JPH0213318B2 (en)
JPS6326398B2 (en)
JPH0428319B2 (en)
US4785703A (en) Polytonal automatic accompaniment apparatus
JP2599351B2 (en) Waveform reading device
JP2722665B2 (en) Tone generator
JPH04131899A (en) Musical sound generation device
JP2701177B2 (en) Tone generator
US4553465A (en) Electronic musical instrument producing bass and chord tones utilizing channel assignment
JPH0559438B2 (en)
JPH0210440B2 (en)
JPH021316B2 (en)