JPS6223873B2 - - Google Patents

Info

Publication number
JPS6223873B2
JPS6223873B2 JP56066220A JP6622081A JPS6223873B2 JP S6223873 B2 JPS6223873 B2 JP S6223873B2 JP 56066220 A JP56066220 A JP 56066220A JP 6622081 A JP6622081 A JP 6622081A JP S6223873 B2 JPS6223873 B2 JP S6223873B2
Authority
JP
Japan
Prior art keywords
musical tone
digital
lsi
output
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP56066220A
Other languages
Japanese (ja)
Other versions
JPS57181596A (en
Inventor
Takeshi Mitarai
Kunio Sato
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP56066220A priority Critical patent/JPS57181596A/en
Priority to US06/370,088 priority patent/US4437377A/en
Priority to GB08211356A priority patent/GB2106694B/en
Priority to DE3216021A priority patent/DE3216021C2/en
Publication of JPS57181596A publication Critical patent/JPS57181596A/en
Publication of JPS6223873B2 publication Critical patent/JPS6223873B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J19/00Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators
    • B25J19/0025Means for supplying energy to the end effector
    • B25J19/0029Means for supplying energy to the end effector arranged within the different robot elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Electrophonic Musical Instruments (AREA)

Description

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

本発明は、複数の楽音生成回路を有するデイジ
タル電子楽器の圧縮伸張装置に関する。 本出願人は、デイジタル制御の楽音生成回路か
ら出力される楽音情報を、エンベロープ情報に基
づき圧縮伸張制御するようにして、低ビツトのD
―A変換器を1個備えるだけで高音質の楽音を得
ることが出来るようにした内容の特許出願を先に
行なつた(特願昭55―188787「デイジタル電子楽
器の圧縮伸張方式」)。 この発明によれば、単音の出力の場合も複音の
出力の場合も、D―A変換器には有効なデータが
供給されることになり、デイジタル電子楽器のダ
イナミツクレンジを飛躍的に向上させることが可
能となつた。更に、この先願発明によれば、圧縮
伸張処理の切換回数を減少させてノイズの発生や
ひとつの楽音信号により他の楽音信号が変調され
るといつた問題が解消できるようになつた。 本発明は、上記技術思想を複数の楽音生成回路
を有するデイジタル的な電子楽器に適用すること
により成されたもので、夫々が時分割処理により
複数音分のデイジタル楽音情報を発生可能な複数
の楽音生成回路から得られるデイジタル楽音情報
を合成すると共に、上記複数の楽音生成回路から
得られるデイジタルエンベロープ情報を合成し、
この合成されたエンベロープ情報に基づき、上記
合成された楽音情報を圧縮(あるいは伸張)し、
その情報をD―A変換器によりアナログ信号に変
換した後、上記エンベロープ情報に応じて、上記
アナログ信号を増幅(伸張あるいは圧縮)するよ
うにして本来の楽音信号を得るようにしたもの
で、特に上記複数の楽音生成回路のうちの特定の
楽音生成回路は、自身が生成した上記デイジタル
楽音情報と他の楽音生成回路からデータ転送され
てくるデイジタル楽音情報とを内部の合成手段に
て合成すると共に、自身が生成した上記デイジタ
ルエンベロープ情報と他の楽音生成回路からデー
タ転送されてくるデイジタルエンベロープ情報と
を内部の他の合成手段にて合成するようにして、
上記圧縮伸張処理を実行するようにして、回路の
コンパクト化、演奏効果の向上を図るようにした
デイジタル電子楽器の圧縮伸張装置を提供するこ
とを目的とする。 以下、本発明の一実施例につき詳細に説明す
る。 第1図は、本実施例の回路ブロツクを示すもの
で、図中1はマイクロプロセツサなどより成る
CPUである。このCPUには図示しないが、外部
スイツチあるいは鍵スイツチなどの外部操作信号
が供給され、如何なる楽音を生成すべきかという
情報(音階、音色などを指定する。)をコントロ
ールバスC1を介して、LSI(大規模集積回路)
L1,L2に供給する。このLSI L1,L2は
夫々1チツプ構成である。更に、CPU1から
は、LSI L1,L2のチツプセレクト信号C
1/C2を夫々の端子CSを介して供給する。な
お、LSI L2には、上記チツプセレクト信号C
1/C2がインバータ2を介して反転されて供給
される。従つて、このチツプセレクト信号C1/
C2が“1”であればLSI L1が選択され、
“0”であれば、LSI L2が選択される。 LSI L1,L2は、全く同一の回路構成で、
例えば、各LSI L1,L2では4和音までの楽
音を時分割処理により生成可能となつている。な
お、その楽音生成の方式としては、従来より種々
開発されており、如何なるデイジタル方式のもの
でも適用出来ることは勿論であるが、例えば、本
実施例のLSI L1,L2は正弦波合成方式の回
路構成をとつており、1楽音が5つの倍音より成
るものとする。従つて、各LSI L1,L2は
夫々同時に20(=5倍音×4和音)の正弦波を合
成出力する機能をもつている。 そして、LSI L1に、LSI L2からのデータ
即ち楽音の振幅情報と、エンベロープ情報とが
夫々ラインl1,l2を介してシリアルにデータ転送
されるようになつている。即ち、このラインl1
l2は双方向性のラインであるが、各LSI L1,L
2のマスター/スレーブ端子M/Sに“1”信号
を与えておけば、そのLSIはマスターとして機能
し、“0”信号を与えておけばそのLSIはスレー
ブとして機能するもので、今の場合マスターに設
定されたLSI L1に、スレーブに設定されたLSI
L2のデータが転送され、LSI L1にて生成さ
れたデータと合成される。 従つて、LSI L1からは、例えば16ビツトの
振幅データ(ただし、最大8和音まで、換言すれ
ば最大40個の正弦波が合成されて得られるデー
タ)が、後述するようにエンベロープデータに基
づき所定ビツトシフトされて端子D0〜D15から出
力される。 更に、LSI L1からは端子S0,S1を介して増
幅率を決定する2ビツトのデータが出力する。 そして、上記端子D0〜D15から出力するデイジ
タル情報はD―A変換器3にて電圧信号に変換さ
れ、その信号は増幅器4に供給されて、設定され
た増幅率にて、増幅出力されることになる。 次に、LSI L1(LSI L2も全く同様)の要
部の詳細な構成について第2図を参照して説明す
る。なお、この第2図の各端子と第1図の各端子
の位置は対応していない部分がある。 しかして、LSI L1では、4和音までの楽音
の振幅情報(エンベロープ制御された振幅情報の
最大4和音までの加算値)d0〜d14が時分割処理
により生成され、トランスフアゲートG1〜G15
与えられる。なお、トランスフアゲートG16には
“0”信号が常に印加されている。そして、この
トランスフアゲートG1〜G16は後述するタイミン
グ信号t15により開成され、その出力信号はラツ
チ11〜26に印加される。従つて、楽音の各振
幅値はタイミングt15毎に変更すべく処理が行わ
れて得られる。 このラツチ11〜26はクロツクφ(後述)
にて読込動作を行ない、上記タイミング信号t15
が“1”信号となる時点では、上述したようにト
ランスフアゲートG1〜G16の出力信号を読込む
が、それ以外のタイミング即ちt0〜t14のタイミン
グでは、上位ビツト側のラツチ12〜26の出力
及びフルアダー27の加算出力を夫々トランスフ
アゲートG17〜G32を介して読込む。即ち、このト
ランスフアゲートG17〜G32にはゲート信号として
タイミング信号t15がインバータ28を介して反
転されて供給されており、従つてタイミングt0
t14では、トランスフアゲートG17〜G32が開成す
ることになる。 上記フルアダー27には、ラツチ11の出力
DOがB入力端子に与えられ、そのA入力端子に
は、データ入力端子DATA(ラインl1と接続され
ている)から入力するLSI L2から供給された
シリアルデータがアンドゲート29を介して印加
されている。 このアンドゲート29は、マスターに設定され
ておけば“1”信号が一端に印加され開成される
が、スレーブに設定されれば“0”信号が一端に
印加され閉成される。その為、このLSI L1で
は、アンドゲート29を介してLSI L2の出力
がフルアダー27に供給される。 一方、LSI L2では、対応するアンドゲート
29が閉成される。しかし、インバータ30にて
反転されたマスター/スレーブ信号がトランスフ
アゲートG33に供給される為、トランスフアゲー
トG33が開成し、ラツチ11の出力DOが端子
DATAを介して出力することになる。 なお、このアンドゲート29の一方の入力端子
とトランスフアゲートG33の入力端子とは抵抗R1
を介してグランドレベル(“0”レベル)に設定
されている。 しかして、ラインl1と接続されている端子
DATAは、LSI L1では入力端子として、LSI
L2では出力端子として機能設定される。 従つて、LSI L1内のフルアダー27では、
LSI L1内で生成された楽音情報と、LSI L2
内で生成された楽音情報とを1ビツト毎にシリア
ルに加算し、トランスフアゲートG32を介してラ
ツチ26に印加する。 また、フルアダー27のキヤリー出力端子
COUTからはキヤリー信号が出力して、アンド
ゲート31を介してラツチ32に印加される。な
お、このアンドゲート31には、インバータ28
の出力信号が供給されており、タイミングt0〜t14
にて、アンドゲート31は開成する。そして、上
記ラツチ32はクロツクφにて読込動作を行な
い、その出力は、フルアダー27のキヤリー入力
端子CINに印加されることになる。 このようにして、LSI L1にて生成された楽
音情報と、LSI L2にて生成された楽音情報と
がフルアダー27にて加算され、その結果データ
がラツチ11〜26にラツチされると、その情報
が、ラツチ33〜48にクロツクφ16(後述)の
タイミングでパラレルに転送されラツチされる。 そして、このラツチ33〜48の出力は、トラ
ンスフアゲートG34〜G49を介して、クロツクφL
(後述)にて読込動作を行なうラツチ49〜64
に印加される。なお、上記トランスフアゲート
G34〜G49のゲートには、タイミング信号t15が供
給されており、タイミングt15のときに限り、ラ
ツチ33〜48の内容がラツチ49〜64に転送
される。そして、それ以外のタイミングでは、ラ
ツチ49〜64の出力端子と接続されるトランス
フアゲートG50〜G64が開成し、夫々上位ビツト側
のラツチ50〜64の入力端子に印加されること
になる。なお、上記トランスフアゲートG50〜G64
の各ゲートには、タイミン信号t15がインバータ
65により反転されて供給されている。 従つて、クロツクφLによつてラツチ33〜4
8から供給された楽音情報を、必要に応じて上位
ビツト側へシフトして、換言すれば圧縮して、ラ
ツチ66〜81へ出力することになる。 上記ラツチ66〜81はクロツクφ16にて読込
動作を行ない、その出力を上述した端子D0〜D15
へ供給する。なお、最上位ビツト即ち符号ビツト
に対応するラツチ81の出力はインバータ82に
より反転されて、出力端子D15に印加される。即
ち、波形の演算処理は、本実施例の場合2の補数
演算で行われており、このラツチ66〜81は、
最大レベル(正)が「01…1」で、零レベルが
「0…0」で最少レベル(負)は「10…01」とな
るが、このインバータ82によつて、リニアな出
力特性が得られることになる。即ち、最大レベル
が「11…1」で、零レベル(グランドレベル)が
「10…0」で、最小レベルが「00…01」となる。 次に、エンベロープデータの合成回路について
説明する。LSI L1では、上述した楽音の振幅
情報と同時に最大4和音までのエンベロープ情報
が合成されて、トランスフアゲートG65〜G71に印
加される。なお、このエンベロープデータは、本
来のエンベロープデータをそのまま加算しても良
いが、上位ビツトだけを加算するようにしても良
く、本実施例の場合4和音までのエンベロープデ
ータの加算データは、7ビツト(E0〜E6)にて表
現されるとする。また、このエンベロープデータ
は、図示しないが、上述した楽音の振幅情報d0
d14を生成する場合にも用いられており、各楽音
は、本来の波形の振幅データと、その際のエンベ
ロープデータとを乗算して得られている。 しかして、上記トランスフアゲートG65〜G71
びトランスフアゲートG72には、タイミング信号
t15がゲート信号として供給されており、タイミ
ングt15の際に限り、ゲートが開成してエンベロ
プデータがラツチ83〜90に供給される。な
お、トランスフアゲートG72には“0”信号が印
加されている。 このラツチ83〜90はクロツクφ(後述)
にて読込動作を行ない、上記タイミング信号t15
が“1”信号となる時点では、上述したようにト
ランスフアゲートG65〜G72の出力信号を読込む
が、それ以外のタイミング即ちt0〜t14のタイミン
グでは、上位ビツト側のラツチ84〜90の出力
及びフルアダー91の加算出力を夫々トランスフ
アゲートG73〜G80を介して読込む。即ち、このト
ランスフアゲートG73〜G80にはゲート信号として
タイミング信号t15がインバータ92を介して反
転されて供給されており、従つてタイミングt0
t14では、トランスフアゲートG73〜G80が開成す
ることになる。 上記フルアダー91には、ラツチ83の出力
EOがB入力端子に与えられ、そのA入力端子に
は、エンベロープデータ入力端子ENV(ラインl2
と接続されている)から入力するシリアルデータ
がアンドゲート93を介して印加されている。 このアンドゲート93は、マスターに設定され
ておれば“1”信号が一端に印加され開成される
が、スレーブに設定されれば“0”信号が一端に
印加され閉成される。その為、このLSI L1で
は、アンドゲート93を介してLSI L2の出力
がフルアダー91に供給される。 一方LSI L2では、対応するアンドゲート9
3が閉成される。しかし、インバータ94にて反
転されたマスター/スレーブ信号がトランスフア
ゲートG81に供給される為、トランスフアゲート
G81が開成し、ラツチ83の出力EOが端子ENV
を介して出力することになる。 なお、このアンドゲート93の一方の入力端子
とトランスフアゲートG81の入力端子とは抵抗R2
を介してグランドレベル(“0”レベル)に設定
されている。 しかして、ラインl2と接続されている端子ENV
は、LSI L1では入力端子として、LSI L2で
は出力端子として機能設定される。従つてLSI
L1内のフルアダー91では、LSI L1内で生
成されたエンベロープ情報とLSI L2で生成さ
れたエンベロープ情報とを1ビツト毎にシリアル
に加算し、トランスフアゲートG80を介してラツ
チ90に印加する。 また、フルアダー91のキヤリー出力端子
COUTからは、キヤリー信号が出力して、アン
ドゲート95を介してラツチ96に印加される。
なお、このアンドゲート95には、インバータ9
2の出力信号が供給されており、タイミングt0
t14にて、アンドゲート95は開成する。そし
て、上記ラツチ96はクロツクφにて読込動作
を行ないその出力は、フルアダー91のキヤリー
入力端子CINに印加されることになる。 このようにして、LSI L1にて生成されたエ
ンベロープデータと、LSI L2にて生成された
エンベロープデータとがフルアダー91にて加算
され、その結果データがラツチ83〜90にラツ
チされると、その上位3ビツトの情報が、ラツチ
97〜99にクロツクφ16のタイミングでパラレ
ルにラツチされる。 そして、このラツチ97〜99の出力は、直接
及びインバータ100〜102を介して、デコー
ダ103に入力する。なお、このデコーダ103
はノアマトリクス回路より成り、このデコーダ1
03の出力ラインm1〜m4,m5,m6の出力と、ラ
ツチ97〜99との関係は第1表の如くなる。
The present invention relates to a compression/expansion device for a digital electronic musical instrument having a plurality of musical tone generation circuits. The present applicant compresses and expands musical tone information output from a digitally controlled musical tone generation circuit based on envelope information, thereby producing a low-bit D.
- We first filed a patent application for the content that enabled high-quality musical tones to be obtained with just one A converter (Japanese Patent Application 188787, 1987, ``Compression/expansion method for digital electronic musical instruments''). According to this invention, valid data is supplied to the D-A converter regardless of whether the output is a single note or a compound note, dramatically improving the dynamic range of digital electronic musical instruments. It became possible. Furthermore, according to the invention of the prior application, the number of times compression/expansion processing is switched can be reduced, thereby solving problems such as generation of noise and modulation of other musical tone signals by one musical tone signal. The present invention has been achieved by applying the above technical idea to a digital electronic musical instrument having a plurality of musical tone generation circuits, each of which can generate digital musical tone information for a plurality of tones through time-sharing processing. Synthesizing digital musical tone information obtained from the musical tone generating circuit, and synthesizing digital envelope information obtained from the plurality of musical tone generating circuits,
Based on this synthesized envelope information, the synthesized musical tone information is compressed (or expanded),
After that information is converted into an analog signal by a DA converter, the analog signal is amplified (expanded or compressed) according to the envelope information to obtain the original musical tone signal. A specific musical tone generating circuit among the plurality of musical tone generating circuits synthesizes the digital musical tone information generated by itself and the digital musical tone information transferred from other musical tone generating circuits using an internal synthesis means. , so that the digital envelope information generated by itself and the digital envelope information data transferred from other musical sound generation circuits are synthesized by other internal synthesis means,
It is an object of the present invention to provide a compression/expansion device for a digital electronic musical instrument that executes the compression/expansion processing described above, thereby making the circuit more compact and improving performance effects. Hereinafter, one embodiment of the present invention will be described in detail. Figure 1 shows the circuit block of this embodiment, where 1 consists of a microprocessor, etc.
It is the CPU. Although not shown in the figure, external operation signals such as an external switch or key switch are supplied to this CPU, and information on what kind of musical tone should be generated (specifying scale, timbre, etc.) is sent to the LSI ( large-scale integrated circuit)
Supplied to L1 and L2. The LSIs L1 and L2 each have a one-chip configuration. Furthermore, the chip select signal C of LSI L1 and L2 is sent from CPU1.
1/C2 is supplied via the respective terminal CS. Note that LSI L2 has the above chip select signal C.
1/C2 is inverted and supplied via the inverter 2. Therefore, this chip select signal C1/
If C2 is “1”, LSI L1 is selected,
If it is “0”, LSI L2 is selected. LSI L1 and L2 have exactly the same circuit configuration,
For example, each LSI L1 and L2 can generate musical tones of up to four chords by time-sharing processing. Various methods for generating musical tones have been developed in the past, and it goes without saying that any digital method can be applied. It is assumed that one musical tone consists of five overtones. Therefore, each LSI L1 and L2 has a function of simultaneously outputting 20 (=5 overtones x 4 chords) sine waves. Data from LSI L2, that is, amplitude information of musical tones and envelope information, are serially transferred to LSI L1 via lines l1 and l2 , respectively. That is, this line l 1 ,
l 2 is a bidirectional line, but each LSI L1, L
If a "1" signal is given to the master/slave terminal M/S of 2, that LSI will function as a master, and if a "0" signal is given, that LSI will function as a slave. LSI set as master LSI set as slave
The data in L2 is transferred and combined with the data generated in LSI L1. Therefore, from LSI L1, for example, 16-bit amplitude data (up to a maximum of 8 chords, in other words, data obtained by synthesizing up to 40 sine waves) is generated based on the envelope data as described later. The bits are shifted and output from terminals D0 to D15 . Furthermore, 2-bit data for determining the amplification factor is output from the LSI L1 via terminals S 0 and S 1 . The digital information output from the terminals D 0 to D 15 is converted into a voltage signal by the DA converter 3, and the signal is supplied to the amplifier 4, where it is amplified and output at a set amplification factor. That will happen. Next, the detailed configuration of the main parts of LSI L1 (LSI L2 is also the same) will be explained with reference to FIG. Note that the positions of the terminals in FIG. 2 and the terminals in FIG. 1 do not correspond in some parts. Therefore, in LSI L1, amplitude information of musical tones up to four chords (addition value of envelope-controlled amplitude information up to a maximum of four chords) d 0 to d 14 is generated by time-sharing processing, and transfer gates G 1 to G given to 15 . Note that a "0" signal is always applied to the transfer gate G16 . The transfer gates G1 - G16 are opened by a timing signal t15 , which will be described later, and their output signals are applied to the latches 11-26. Therefore, each amplitude value of a musical tone is obtained by performing processing to change it at every timing t15 . These latches 11 to 26 are connected to the clock φ1 (described later).
The reading operation is performed at the above timing signal t15 .
When the signal becomes "1", the output signals of the transfer gates G1 to G16 are read as described above, but at other timings, that is, from t0 to t14 , the latches 12 to 12 on the upper bit side are read. The output of the full adder 26 and the addition output of the full adder 27 are read through transfer gates G17 to G32 , respectively. That is, the timing signal t 15 is inverted and supplied as a gate signal to the transfer gates G 17 to G 32 via the inverter 28, so that the timing signal t 0 to G 32 is inverted and supplied to the transfer gates G 17 to G 32 .
At t 14 , transfer gates G 17 to G 32 will be opened. The full adder 27 has the output of the latch 11.
DO is applied to the B input terminal, and serial data supplied from LSI L2 input from the data input terminal DATA (connected to line l1 ) is applied to the A input terminal via the AND gate 29. ing. If this AND gate 29 is set as a master, a "1" signal is applied to one end and the gate is opened, but if it is set as a slave, a "0" signal is applied to one end and the AND gate 29 is closed. Therefore, in this LSI L1, the output of LSI L2 is supplied to the full adder 27 via the AND gate 29. On the other hand, in LSI L2, the corresponding AND gate 29 is closed. However, since the master/slave signal inverted by the inverter 30 is supplied to the transfer gate G33 , the transfer gate G33 is opened and the output DO of the latch 11 is connected to the terminal.
It will be output via DATA. Note that one input terminal of the AND gate 29 and the input terminal of the transfer gate G33 are connected to a resistor R1 .
It is set to the ground level (“0” level) via. So, the terminal connected to line l 1
DATA is used as an input terminal in LSI L1.
In L2, the function is set as an output terminal. Therefore, in the full adder 27 in LSI L1,
Musical tone information generated in LSI L1 and LSI L2
and the musical tone information generated within the circuit are serially added bit by bit and applied to the latch 26 via the transfer gate G32. In addition, the carry output terminal of Full Adder 27
A carry signal is output from COUT and applied to latch 32 via AND gate 31. Note that this AND gate 31 includes an inverter 28
The output signal is supplied, and the timing t 0 to t 14
At , the AND gate 31 is opened. The latch 32 performs a read operation at the clock φ1 , and its output is applied to the carry input terminal CIN of the full adder 27. In this way, the musical tone information generated by LSI L1 and the musical tone information generated by LSI L2 are added by the full adder 27, and when the resulting data is latched in the latches 11 to 26, the information is is transferred and latched in parallel to the latches 33-48 at the timing of clock φ16 (described later). The outputs of the latches 33-48 are sent to the clock φL via transfer gates G34 - G49 .
The latches 49 to 64 perform the reading operation (described later).
is applied to In addition, the above transfer gate
A timing signal t15 is supplied to the gates of G34 - G49 , and the contents of latches 33-48 are transferred to latches 49-64 only at timing t15 . At other timings, transfer gates G 50 -G 64 connected to the output terminals of latches 49 - 64 are opened, and the voltage is applied to the input terminals of latches 50 - 64 on the upper bit side, respectively. In addition, the above transfer gate G 50 ~ G 64
A timing signal t15 is inverted by an inverter 65 and supplied to each gate. Therefore, the latches 33 to 4 are set by the clock φL.
The musical tone information supplied from 8 is shifted to the upper bit side as necessary, in other words, it is compressed and output to latches 66-81. The above-mentioned latches 66 to 81 perform a reading operation using the clock φ16 , and their outputs are sent to the above-mentioned terminals D0 to D15.
supply to Note that the output of latch 81 corresponding to the most significant bit, ie, the sign bit, is inverted by inverter 82 and applied to output terminal D15 . That is, the waveform calculation process is performed by two's complement calculation in this embodiment, and the latches 66 to 81 are
The maximum level (positive) is "01...1", the zero level is "0...0", and the minimum level (negative) is "10...01", but this inverter 82 provides linear output characteristics. It will be done. That is, the maximum level is "11...1", the zero level (ground level) is "10...0", and the minimum level is "00...01". Next, the envelope data synthesis circuit will be explained. In LSI L1, envelope information for up to four chords is synthesized together with the above-mentioned musical tone amplitude information and applied to transfer gates G 65 to G 71 . For this envelope data, the original envelope data may be added as is, but only the upper bits may be added. In this example, the addition data of envelope data up to 4 chords is 7 bits. Suppose that it is expressed as (E 0 to E 6 ). Although not shown, this envelope data also includes the above-mentioned musical tone amplitude information d 0 ~
It is also used to generate d14 , and each tone is obtained by multiplying the amplitude data of the original waveform and the envelope data at that time. Therefore, the transfer gates G 65 to G 71 and transfer gate G 72 are provided with a timing signal.
t 15 is supplied as a gate signal, and only at timing t 15 the gate is opened and envelope data is supplied to latches 83-90. Note that a "0" signal is applied to the transfer gate G72 . These latches 83 to 90 are connected to the clock φ2 (described later).
The reading operation is performed at the above timing signal t15 .
When the signal becomes "1", the output signals of the transfer gates G65 to G72 are read as described above, but at other timings, that is, from t0 to t14 , the latches 84 to 84 on the upper bit side are read. The output of full adder 90 and the addition output of full adder 91 are read through transfer gates G73 to G80 , respectively. That is, the timing signal t 15 is inverted and supplied as a gate signal to the transfer gates G 73 to G 80 via the inverter 92, and therefore the timing signal t 0 to G 80 is
At t 14 , transfer gates G 73 to G 80 will be opened. The full adder 91 has the output of the latch 83.
EO is applied to the B input terminal, and the envelope data input terminal ENV (line l 2
Serial data input from the terminal (connected to the terminal) is applied via an AND gate 93. If this AND gate 93 is set as a master, a "1" signal is applied to one end and the gate is opened, but if it is set as a slave, a "0" signal is applied to one end and the AND gate 93 is closed. Therefore, in this LSI L1, the output of LSI L2 is supplied to the full adder 91 via the AND gate 93. On the other hand, in LSI L2, the corresponding AND gate 9
3 is closed. However, since the master/slave signal inverted by the inverter 94 is supplied to the transfer gate G81 , the transfer gate
G 81 is opened, and the output EO of latch 83 is connected to terminal ENV.
It will be output via . Note that one input terminal of the AND gate 93 and the input terminal of the transfer gate G81 are connected to each other by a resistor R2.
It is set to the ground level (“0” level) via. Therefore, the terminal ENV connected with line l 2
is set to function as an input terminal in LSI L1 and as an output terminal in LSI L2. Therefore LSI
The full adder 91 in L1 serially adds the envelope information generated in LSI L1 and the envelope information generated in LSI L2 bit by bit, and applies the result to latch 90 via transfer gate G80. In addition, the carry output terminal of Full Adder 91
A carry signal is output from COUT and applied to latch 96 via AND gate 95.
Note that this AND gate 95 includes an inverter 9
2 output signals are supplied, and the timing t 0 ~
At t 14 , AND gate 95 is opened. The latch 96 performs a read operation at the clock φ2 , and its output is applied to the carry input terminal CIN of the full adder 91. In this way, the envelope data generated in LSI L1 and the envelope data generated in LSI L2 are added in the full adder 91, and when the resulting data is latched in the latches 83 to 90, the upper Three bits of information are latched in parallel in latches 97-99 at the timing of clock φ16 . The outputs of latches 97-99 are input to decoder 103 directly and via inverters 100-102. Note that this decoder 103
consists of a Noah matrix circuit, and this decoder 1
Table 1 shows the relationship between the outputs of the output lines m 1 -m 4 , m 5 , m 6 of 03 and the latches 97 - 99.

【表】 なお、第1表において、×は「0」または
「1」のいずれかであつても良いことを示すもの
である。そして、上記ラインm1〜m4の出力はア
ンドゲート104〜107の一方の入力端子に印
加される。そして、このアンドゲート104〜1
07には、オアゲート108,109,110の
出力及びタイミング信号t15が供給される。な
お、このオアゲート108にはタイミング信号
t0,t1,t2,t15が供給され、オアゲート109に
はタイミング信号t0,t1,t15が供給され、オアゲ
ート110にはタイミング信号t0,t15が供給され
る。そして、このアンドゲート104〜107の
出力はオアゲート111に供給され、アンドゲー
ト112を介してクロツクφLとして出力するこ
とになる。なお、このアンドゲート112の一端
にはクロツクφが供給される。 このようにして、アンドゲート112を介して
出力するクロツクφLは、第2表に示す如く出力
されることになる。
[Table] In Table 1, × indicates that it may be either “0” or “1”. The outputs of the lines m1 to m4 are applied to one input terminal of AND gates 104 to 107. And this AND gate 104-1
07 is supplied with the outputs of the OR gates 108, 109, 110 and the timing signal t15 . Note that this OR gate 108 has a timing signal.
The OR gate 109 is supplied with timing signals t 0 , t 1 , t 15 , and the OR gate 110 is supplied with timing signals t 0 , t 15 . The outputs of the AND gates 104 to 107 are supplied to the OR gate 111 and outputted as the clock φL via the AND gate 112. Note that a clock φ1 is supplied to one end of this AND gate 112. In this way, the clock φL output through the AND gate 112 is output as shown in Table 2.

【表】 また、上記デコーダ103からラインm5,m6
を介して出力するデータはラツチ113,114
にクロツクφ16により読込まれる。そして、この
ラツチ113,114の出力は、端子S0,S1を介
して増幅器4に与えられ増幅率が決定される。例
えば、本実施例の場合、その増幅率は、第3表の
如くなる。
[Table] Also, lines m 5 and m 6 from the decoder 103
The data output through the latches 113 and 114
is read by clock φ16 . The outputs of the latches 113 and 114 are applied to the amplifier 4 via terminals S 0 and S 1 to determine the amplification factor. For example, in the case of this embodiment, the amplification factors are as shown in Table 3.

【表】 次に、本実施例の動作を説明する。第3図は本
実施例の電子楽器に供給されるクロツク及びタイ
ミング信号などを示すもので、上述したラツチ1
1〜26,32の書込みは、第3図aに示すクロ
ツクφにて行なわれ、また、上述したラツチ8
3〜90,96の書込みは、第3図bに示すクロ
ツクφにて行なわれる。そして、これらのラツ
チのほか、上述したラツチは全て第3図cに示す
クロツクφRと同期して読出しが行なわれる。 そして、第2図に示した各回路はt0〜t15(第3
図e参照)を基本サイクルとして動作するもの
で、各楽音の振幅データの合成データとエンベロ
ープデータの合成データとは、タイミングt15
でに決定されている。 従つて、タイミングt15(第3図f参照)にお
いて、LSI L1,L2ともにトランスフアゲー
トG1〜G16,G65〜G72が開成し、夫々データがラ
ツチ11〜26,83〜90に印加される。従つ
て、ラツチ11〜26にはクロツクφで、ラツ
チ83〜90にはクロツクφで当該データがラ
ツチされる。 そして、次のタイミングt0〜t14においては、ラ
ツチ11〜26の内容はクロツクφと同期し
て、下位ビツトから順次フルアダー27及びトラ
ンスフアゲートG33に供給されるようになり、ま
たラツチ83〜90の内容はクロツクφと同期
して、下位ビツトから順次フルアダー91及びト
ランスフアゲートG81に供給されるようになる。 しかして、LSI L1においては、トランスフ
アゲートG33,G81が閉成し、且つアンドゲート2
9,93が開成する一方、LSI L2において
は、トランスフアゲートG33,G81が開成し、且つ
アンドゲート29,93が閉成する。 従つて、LSI L1のフルアダー27,91
は、LSI L2からシリアルに転送されてくる振
幅データ及びエンベロープデータと、LSI L1
で生成された振幅データ及びエンベロープデータ
とを加算することになる。 逆に、LSI L2のフルアダー27,91で
は、各B入力端子から供給されるデータを単に出
力するだけである。 第3図g,hは、ラツチ11から出力されるデ
ータDOの変化及びラツチ83から出力されるデ
ータEOの変化を夫々示すものである。このよう
にして、LSI L1においては、LSI L1のデー
タとLSI L2のデータとが加算されて得られた
結果データが、第3図dに示すクロツクφ16によ
り、ラツチ33〜48,97〜99に読込まれ
る。 そして、このラツチ33〜48,97〜99に
読込まれた振幅値データと、エンベロープデータ
(上位3ビツトデータ)とは、次のt0〜t15のサイ
クルの間保持され、その間に、楽音データの圧縮
処理が行なわれる。 即ち、上記第2表に示したように、ラツチ97
〜99に記憶された3ビツトのデータに基づき、
クロツクφLがアンドゲート112から出力する
ことになる。また、そのクロツクは第3図iにも
示してある。即ち、ラツチ97〜99の内容が如
何なる値としても、第3図i―1〜i―4に示し
てあるようにタイミングt15の時点ではクロツク
φLが出力し、ラツチ33〜48の出力をラツチ
49〜64が記憶する。 そして、その後、クロツクφLの出力が“1”
となる毎に、このラツチ49〜64の内容は上位
ビツト側へシフトしてゆく。つまり、第2表及び
第3図iからも理解されるように、エンベロープ
値が大であれば、即ちラツチ99〜97の内容が
「1××」であれば、シフトは行なわないが、そ
の内容が「01×」であれば1ビツトシフトし、ま
た「001」であれば2ビツトシフトし、更に
「000」であれば3ビツトシフトした後、ラツチ4
9〜64はその内容を保持する。 そして、クロツクφ16にて、エンベロープ値の
大きさに応じてシフトされて得られた結果データ
をラツチ66〜81はラツチする。同時に、ラツ
チ113,114は、デコーダ103から供給さ
れるラインm5,m6から出力される2ビツトのデ
ータをラツチするようになる。 このようにして、LSI L1では、LSI L2か
らの振幅データ、エンベロープデータが、LSI
L1にて生成される振幅データ、エンベロープデ
ータと合成されて出力する。即ちエンベロープデ
ータから得られる増幅率を表わす2ビツトのデー
タは増幅器4に供給され、圧縮された振幅データ
はD―A変換器3に供給され、アナログ信号に変
換された後、上記増幅器4に与えられる。 その結果、増幅器4では、端子S0,S1からのデ
ータによつて、第3表に示す如き増幅率が決定さ
れ、入力信号を増幅することになる。即ち、例え
ば第4図に示すように、増幅率を決定する2ビツ
トのデータが「0,0」であれば、換言するとク
ロツクφLがt0〜t15において4発出力する場合
は、増幅率は1倍として出力することになる。従
つて、第4図aに示す如くD―A変換器3から出
力する信号のレベルが変動する場合、第4図bで
示す「0,0」の区間は、第4図cに示す如きレ
ベルの信号が増幅器4から出力することになる。 そして、次第に出力レベルが大となり、上記2
ビツトデータが「0,1」となると、換言すれば
クロツクφLがt0〜t15において3発出力する場合
は、増幅率は2倍として出力することになる。従
つて、第4図bに示す「0,1」の区間は、D―
A変換器3の出力が2倍のレベルで増幅出力され
ることになる。 以下同様にして、増幅率が変化する毎に、D―
A変換器3のレンジが変化するようになり、その
補正、即ち伸張が行なわれるようになる。 逆に、音量が除々に小となる場合も全く同様に
制御が行なわれることは勿論である。 従つて、本実施例の場合、2つのLSI L1,
L2の合成楽音出力が、エンベロープデータの総
和によつて圧縮、伸張されて、楽音信号として放
音出力されることになる。 次に、第5図を参照して本発明の他の実施例に
つき説明する。 この実施例においては、CPU201の制御の
もとに動作するLSIはLSI L3,L4,L5の3
チツプであり、各LSI L3〜L5の構成は全く
同一で、しかも上記第1の実施例におけるLSI
L1,L2と同一である。 そして、このLSI L3は4和音までのメロデ
イ音を生成する機能を果たし、LSI L4は制御
信号AUTO/MNの切換によつて4和音までのメ
ロデイ音か伴奏音を生成する機能を果たし、LSI
L5は1つのベース音を生成する機能を果たす。
なお、LSI L5は4和音まで生成出来る機能を
もつが、ベース音としては1音しか出力しないよ
うになつている。 そして、CPU201からこれらのLSI L3〜
L5にコントロールバスC2を介して、コントロ
ール信号が共通に供給される。そして、チツプセ
レクト信号C1〜C3が“1”となれば、当該チ
ツプが選択されることになる。 上記制御信号AUTO/MNは、LSI L4のマス
ター/スレーブ端子M/Sに供給されると共に、
インバータ202を介してアンドゲート203,
204に印加される。そして、LSI L4からは
楽音情報が端子DATAを介してアンドゲート2
03に印加され、エンベローブデータが端子
ENVを介してアンドゲート204に印加され
る。そして、アンドゲート203の出力はLSI
L3の端子DATAに接続され、アンドゲート2
04の出力はLSI L3の端子ENVに接続され
る。 また、LSI L4,L5の端子DATA,ENVが
接続されている。そして、LSI L5のマスタ
ー/スレーブ端子M/Sには“0”信号が供給さ
れる。その為、このLSI L5は常にデータをLSI
L4へ転送するように設定される。 また、LSI L3のマスター/スレーブ端子
M/Sには常に“1”信号が供給される。その
為、このLSI L3は常にアンドゲート203,
204を介して与えられる信号(“0”信号であ
る場合もある。)を合成し、振幅情報を圧縮処理
してD―A変換器205へ出力すると共に、この
D―A変換器205の出力が供給される増幅器2
06に対し増幅率を決定する2ビツトのデータを
端子S0,S1から出力する。 同様に、LSI L4からはD―A変換器207
に対し、振幅データが供給され、その出力が増幅
器208にてLSI L4から供給される2ビツト
のデータにより決定される増幅率にて増幅されて
出力されることになる。 更に、LSI L3からはサンプル/ホールド回
路209に直接、サンプル/ホールド回路210
にアンドゲート211を介してサンプリングクロ
ツクが端子S/H CLKから供給されることに
なる。このサンプル/ホールド回路209,21
0はD―A変換出力のグリツチ防止の為に設けら
れているもので、サンプル/ホールド回路209
は増幅器206の出力をサンプルホールドしてメ
ロデイ音として出力し、サンプル/ホールド回路
210は増幅器208の出力をサンプルホールド
して伴奏音(ベース音も含む)として出力する。
なお、このサンプル/ホールド回路210にはサ
ンプリングクロツクが、アンドゲート211に与
えられる制御信号AUTO/MNが“1”である場
合に限り供給されることになる。 次に、この実施例の動作につき説明する。第4
表には制御信号AUTO/MNが“0”であるか
“1”であるかによつて、LSI L3〜L5の機能
が如何に設定されるかを示すものである。
[Table] Next, the operation of this embodiment will be explained. FIG. 3 shows the clock and timing signals supplied to the electronic musical instrument of this embodiment.
Writing of numbers 1 to 26 and 32 is performed using the clock φ1 shown in FIG. 3a, and the above-mentioned latch 8
Writing of numbers 3 to 90 and 96 is performed by clock φ2 shown in FIG. 3b. In addition to these latches, all the latches mentioned above are read out in synchronization with the clock φR shown in FIG. 3c. Each circuit shown in FIG .
The synthesized data of the amplitude data and the synthesized data of the envelope data of each tone are determined by timing t15 . Therefore, at timing t 15 (see FIG. 3 f), transfer gates G 1 to G 16 and G 65 to G 72 of both LSIs L1 and L2 are opened, and data is applied to latches 11 to 26 and 83 to 90, respectively. be done. Therefore, the data is latched in latches 11-26 at clock φ1 , and in latches 83-90 at clock φ2 . Then, at the next timing t0 to t14 , the contents of the latches 11 to 26 are sequentially supplied to the full adder 27 and the transfer gate G33 from the lower bit in synchronization with the clock φ1. The contents of bits 90 to 90 are sequentially supplied to full adder 91 and transfer gate G81 from the least significant bit in synchronization with clock φ2 . Therefore, in LSI L1, transfer gates G 33 and G 81 are closed, and AND gate 2 is closed.
On the other hand, in LSI L2, transfer gates G 33 and G 81 are opened, and AND gates 29 and 93 are closed. Therefore, LSI L1 full adder 27,91
is the amplitude data and envelope data serially transferred from LSI L2, and the LSI L1
The amplitude data and envelope data generated in . On the contrary, the full adders 27 and 91 of LSI L2 simply output the data supplied from each B input terminal. FIGS. 3g and 3h show changes in the data DO output from the latch 11 and changes in the data EO output from the latch 83, respectively. In this way, in LSI L1, the data obtained by adding the data of LSI L1 and the data of LSI L2 are applied to the latches 33-48, 97-99 by the clock φ16 shown in FIG. 3d. is read into. The amplitude value data and envelope data (upper 3 bit data) read into the latches 33-48, 97-99 are held for the next cycle from t0 to t15 , and during that time, the musical tone data compression processing is performed. That is, as shown in Table 2 above, latch 97
Based on the 3-bit data stored in ~99,
Clock φL is output from AND gate 112. The clock is also shown in FIG. 3i. That is, no matter what the contents of the latches 97 to 99 are, the clock φL outputs at timing t15 and latches the outputs of the latches 33 to 48, as shown in FIG. 49 to 64 are stored. After that, the output of clock φL becomes “1”
Each time, the contents of the latches 49-64 shift toward the higher bits. In other words, as can be understood from Table 2 and Figure 3 i, if the envelope value is large, that is, if the contents of latches 99 to 97 are "1xx", no shift is performed; If the content is “01×”, it is shifted by 1 bit, if it is “001”, it is shifted by 2 bits, and if it is “000”, it is shifted by 3 bits, and then the latch 4 is shifted.
9 to 64 retain their contents. Then, at clock φ16 , latches 66 to 81 latch the resultant data shifted in accordance with the magnitude of the envelope value. At the same time, latches 113 and 114 begin to latch the 2-bit data output from lines m 5 and m 6 supplied from decoder 103. In this way, LSI L1 transfers the amplitude data and envelope data from LSI L2 to LSI L1.
It is combined with the amplitude data and envelope data generated in L1 and output. That is, 2-bit data representing the amplification factor obtained from the envelope data is supplied to the amplifier 4, and compressed amplitude data is supplied to the DA converter 3, where it is converted into an analog signal and then supplied to the amplifier 4. It will be done. As a result, in the amplifier 4, the amplification factors shown in Table 3 are determined based on the data from the terminals S 0 and S 1 and the input signal is amplified. That is, for example, as shown in FIG. 4, if the 2-bit data that determines the amplification factor is "0, 0", in other words, if the clock φL outputs four times from t0 to t15 , the amplification factor is will be output as 1x. Therefore, when the level of the signal output from the DA converter 3 fluctuates as shown in FIG. 4a, the "0, 0" section shown in FIG. 4b changes to the level as shown in FIG. 4c. The signal will be output from the amplifier 4. Then, the output level gradually increases, and the above
When the bit data becomes "0, 1", in other words, when the clock φL outputs three times from t0 to t15 , the amplification factor is doubled. Therefore, the section "0, 1" shown in FIG. 4b is D-
The output of the A converter 3 will be amplified and output at twice the level. Similarly, each time the amplification factor changes, D-
The range of the A converter 3 begins to change, and its correction, ie, expansion, begins to occur. Conversely, it goes without saying that control is performed in exactly the same way when the volume gradually decreases. Therefore, in the case of this embodiment, two LSI L1,
The synthesized musical tone output of L2 is compressed and expanded by the sum of the envelope data, and is output as a musical tone signal. Next, another embodiment of the present invention will be described with reference to FIG. In this embodiment, the LSIs operating under the control of the CPU 201 are LSIs L3, L4, and L5.
The configuration of each LSI L3 to L5 is exactly the same, and the LSI in the first embodiment is
It is the same as L1 and L2. This LSI L3 functions to generate melody tones of up to 4 chords, and LSI L4 functions to generate melody tones or accompaniment tones of up to 4 chords by switching the control signal AUTO/MN.
L5 functions to generate one bass tone.
Although LSI L5 has the ability to generate up to four chords, it is designed to output only one bass note. Then, from CPU201 to these LSI L3~
A control signal is commonly supplied to L5 via control bus C2. Then, when the chip select signals C1 to C3 become "1", the chip in question is selected. The control signal AUTO/MN is supplied to the master/slave terminal M/S of LSI L4, and
AND gate 203 via inverter 202,
204. Then, musical tone information is sent from LSI L4 to AND gate 2 via terminal DATA.
03 and the envelope data is applied to the terminal
Applied to AND gate 204 via ENV. And the output of AND gate 203 is LSI
Connected to terminal DATA of L3, and gate 2
The output of LSI L3 is connected to the terminal ENV of LSI L3. Also, terminals DATA and ENV of LSI L4 and L5 are connected. Then, a "0" signal is supplied to the master/slave terminal M/S of LSI L5. Therefore, this LSI L5 always sends data to the LSI
It is set to forward to L4. Further, a "1" signal is always supplied to the master/slave terminal M/S of LSI L3. Therefore, this LSI L3 always uses AND gate 203,
204 , the amplitude information is compressed and output to the DA converter 205 , and the output of this DA converter 205 is Amplifier 2 is supplied with
06, 2-bit data that determines the amplification factor is output from terminals S 0 and S 1 . Similarly, from LSI L4, DA converter 207
Amplitude data is supplied to the LSI L4, and the output thereof is amplified by an amplification factor determined by the 2-bit data supplied from the LSI L4 in the amplifier 208 and then output. Furthermore, the LSI L3 directly connects the sample/hold circuit 209 to the sample/hold circuit 210.
A sampling clock is supplied from the terminal S/H CLK via the AND gate 211. This sample/hold circuit 209, 21
0 is provided to prevent glitches in the DA conversion output, and the sample/hold circuit 209
The sample/hold circuit 210 samples and holds the output of the amplifier 206 and outputs it as a melody sound, and the sample/hold circuit 210 samples and holds the output of the amplifier 208 and outputs it as an accompaniment sound (including bass sound).
Note that the sampling clock is supplied to the sample/hold circuit 210 only when the control signal AUTO/MN applied to the AND gate 211 is "1". Next, the operation of this embodiment will be explained. Fourth
The table shows how the functions of LSIs L3 to L5 are set depending on whether the control signal AUTO/MN is "0" or "1".

【表】 この第4表からも理解されるように、制御信号
AUTO/MNが“0”であれば、LSI L4のデー
タがLSI L3に転送され、このLSI L3から8
和音のメロデイ音として出力することになる。な
お、その場合LSI L5には、CPU201により
何ら楽音を発生しないように設定してある。従つ
て、CPU201からは、例えば押鍵中の8個の
鍵に対応する楽音をLSI L3,L4のいずれか
一方に割当てて、発生させるようにしている。な
お、アンドゲート211には、ゲートを開成する
信号が供給されていない為、サンプル/ホールド
回路210は動作しないようになり、伴奏音の出
力は得られないようになつている。 一方、制御信号AUTO/MNが“1”であれ
ば、LSI L5のベース音を示すデータがLSI L
4に転送され、LSI L4では、LSI L4にて生
成されるデータとLSI L5から転送されてくる
データとを合成して出力することになる。また、
この場合、アンドゲート203,204は閉成さ
れるため、LSI L3からは、4和音までのメロ
デイ音が出力するのみである。従つて、4楽音ま
でのメロデイ鍵に対応する楽音はLSI L3に割
当てられて生成出力し、4楽音までの伴奏鍵に対
応する楽音はLSI L4に割当てられて生成出力
し、またベース鍵に対応する楽音あるいは伴奏鍵
の操作によつて自動的に選択指定された楽音(オ
ートベース音)はLSI L5に割当てられて生成
出力することになる。 なお、このLSI L3〜L5には、如何なる音
色にて楽音を生成するかという情報がCPU20
1から供給され、各LSI L3〜L5はその情報
に応じて楽音を生成可能となつている為、メロデ
イ音、伴奏音、ベース音の音色を夫々異ならせる
ことが出来ることになる。 そして、第5図には示されていないが、メロデ
イ音とベース音も含む伴奏音とが2系列の楽音と
して出力されると、サンプル/ホールド回路20
9,210の出力に対して独立的に音量制御が出
来るほか、外部の音色フイルタにて独立的に異な
る特性のフイルタをかけることも出来るようにな
る。 このように、本実施例の場合、3チツプのLSI
L3〜L5を備えるだけで、最大8和音までの同
一音色のメロデイ音が生成出来るほか、4和音の
メロデイ音、4和音の伴奏音、1音のベース音を
生成出来るようになる。 なお、上記実施例では、1つのLSIにて4和音
までの楽音が時分割処理により生成可能であつた
が、この和音の数は適宜変更し得ることは勿論で
ある。また、LSI間のデータ転送の方法はシリア
ルに行う上記実施例のほか、パラレルに行うこと
も可能である。 更に、上記実施例では、各LSIに入出力可能な
データ端子及び合成回路を設けるようにしたが、
専用の入力回路あるいは出力回路のみを有する
LSIを別個に構成するようにしても良いことは勿
論である。 また、上記実施例では2チツプ間のデータ転送
を行なうと共に、そのデータの合成処理を可能と
したが、更に多くのチツプ間のデータ転送を可能
とするようにすることも出来る。その場合は、ハ
ードウエアを増加してパラレル合成する方法のほ
か、処理時間を高速にしてシリアルに合成する方
法などがとり得るものである。 また、上記実施例では、楽音生成回路を1チツ
プのLSIで構成し複数チツプを組合せて使用する
ようにしたので、LSIは量産可能であるため、特
にコストダウンが図れる。 その他、データ転送のための回路、圧縮伸張の
ための回路などは本発明の要旨を逸脱しない範囲
で種々変形応用可能である。 この発明は、以上詳述した如く、時分割処理に
て複数音分のデイジタル楽音情報を生成可能な楽
音生成手段を複数設け、このうちの少くともひと
つの特定の楽音生成手段に、自身が生成したデイ
ジタルエンベロープ情報と、他の少なくともひと
つの楽音生成手段により生成されデータ転送され
てきたデイジタルエンベロープ情報とを合成する
第1の合成手段と、同様にして自身が生成したデ
イジタル楽音情報と上記他の少なくともひとつの
楽音生成手段により生成されデータ転送されてき
たデイジタル楽音情報とを合成する第2の合成手
段と、この第1の合成手段により合成されて得ら
れる合成エンベロープ情報により、第2の合成手
段から得られる合成楽音情報のシフトレベルを設
定する設定手段と、この設定手段により設定され
た上記シフトレベルに従い合成楽音情報をビツト
シフトして、この特定の楽音生成手段に連結され
ているデイジタルアナログ変換器に供給する制御
手段とを設け、更にこの特定の楽音生成手段に連
結されている上記デイジタルアナログ変換器に接
続された増幅手段に対し、上記設定手段にて設定
した上記シフトレベルに基づく増幅レベルで、上
記デイジタルアナログ変換器の出力楽音信号を増
幅させるようにしたデイジタル電子楽器の圧縮伸
張装置を提供したから、上記デイジタルアナログ
変換器には、必ず有効なデータが与えられ、しか
も少ないビツト数のデイジタルアナログ変換器に
て広いダイナミツクレンジをもち、高音質の楽音
信号を得ることができる。 また、合成エンベロープ情報に従つて合成楽音
情報の圧縮伸張処理を上述の如く行うので、圧縮
伸張処理の切換回数を減少させてノイズの発生が
防止でき、またひとつの楽音信号により他の楽音
信号が変調されるといつた問題が解消できる。 更に、複数の楽音生成手段の夫々に対し、別個
にデイジタルアナログ変換器を設けなくてもよく
なり、回路の簡素化が図れ、また演奏形態によつ
て特定のデイジタルアナログ変換器から複数の楽
音生成手段からの楽音信号を合成して出力するこ
とができ演奏効果上も良好なものとなる。
[Table] As can be understood from this Table 4, the control signal
If AUTO/MN is “0”, the data of LSI L4 is transferred to LSI L3, and from this LSI L3
It will be output as a chord melody sound. In this case, LSI L5 is set so that the CPU 201 does not generate any musical tones. Therefore, the CPU 201 allocates musical tones corresponding to, for example, the eight keys being pressed to either LSI L3 or L4 and generates them. Note that since the signal for opening the gate is not supplied to the AND gate 211, the sample/hold circuit 210 does not operate, and no accompaniment sound is output. On the other hand, if the control signal AUTO/MN is "1", the data indicating the bass sound of LSI L5 is
LSI L4 combines the data generated in LSI L4 with the data transferred from LSI L5 and outputs the result. Also,
In this case, since AND gates 203 and 204 are closed, only melody tones of up to four chords are output from LSI L3. Therefore, the musical tones corresponding to the melody keys up to 4 tones are assigned to LSI L3 for generation and output, and the musical tones corresponding to the accompaniment keys up to 4 tones are assigned to LSI L4 for generation and output, and also correspond to the bass key. The musical tone to be played or the musical tone (auto bass tone) automatically selected and specified by the operation of the accompaniment key is assigned to LSI L5 and generated and output. Note that information regarding the tone to be used to generate musical tones is stored in the LSIs L3 to L5 by the CPU 20.
Since each LSI L3 to L5 can generate musical tones according to the information, it is possible to make the tones of the melody tone, accompaniment tone, and bass tone different. Although not shown in FIG. 5, when the melody tone and the accompaniment tone including the bass tone are output as two series of musical tones, the sample/hold circuit 20
In addition to being able to independently control the volume of the 9,210 output, it is also possible to independently apply filters with different characteristics using an external tone filter. In this way, in the case of this embodiment, a 3-chip LSI
By simply providing L3 to L5, it is possible to generate up to 8 chords of melody tones of the same tone, as well as 4-chord melody tones, 4-chord accompaniment tones, and 1-tone bass tone. In the above embodiment, up to four chords can be generated by one LSI through time-sharing processing, but it goes without saying that the number of chords can be changed as appropriate. Further, the data transfer method between LSIs can be performed in parallel, in addition to the serial method described above. Furthermore, in the above embodiment, each LSI is provided with a data terminal that can be input/output and a synthesis circuit.
Has only a dedicated input or output circuit
Of course, the LSI may be configured separately. Further, in the above embodiment, data can be transferred between two chips and the data can be synthesized, but data can be transferred between even more chips. In that case, in addition to a method of increasing hardware and performing parallel synthesis, a method of increasing the processing time and performing serial synthesis may be available. Furthermore, in the embodiment described above, the musical tone generation circuit is constructed from one chip of LSI, and a plurality of chips are used in combination, so that LSIs can be mass-produced, and therefore costs can be particularly reduced. In addition, the circuit for data transfer, the circuit for compression/expansion, etc. can be modified and applied in various ways without departing from the gist of the present invention. As described in detail above, the present invention provides a plurality of musical tone generating means capable of generating digital musical tone information for a plurality of tones by time-sharing processing, and at least one specific musical tone generating means among them is configured to generate digital musical tone information for a plurality of tones by time-sharing processing. a first synthesizing means for synthesizing the digital envelope information generated by the digital envelope information generated by at least one other musical tone generating means and transferred as data; A second synthesizing means synthesizes the digital musical tone information generated by at least one musical tone generating means and transferred data, and a second synthesizing means using the synthesis envelope information obtained by the synthesis by the first synthesizing means. a digital-to-analog converter that bit-shifts the synthesized musical tone information according to the shift level set by the setting means and is connected to the specific musical tone generating means; and a control means for supplying a signal to the digital-to-analog converter connected to the specific musical tone generating means, at an amplification level based on the shift level set by the setting means. Since we have provided a compression/decompression device for a digital electronic musical instrument that amplifies the output musical tone signal of the digital-to-analog converter, the digital-to-analog converter is always given valid data, and moreover, the digital to analog converter has a small number of bits. The analog converter has a wide dynamic range and can provide high quality musical tone signals. Furthermore, since the compression/expansion processing of the synthesized musical tone information is performed as described above according to the synthesis envelope information, the number of times the compression/expansion processing is switched can be reduced and the generation of noise can be prevented. Problems caused by modulation can be solved. Furthermore, it is no longer necessary to provide a separate digital-to-analog converter for each of the plurality of musical tone generation means, which simplifies the circuit. Musical tone signals from the means can be synthesized and output, resulting in good performance effects.

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

第1図乃至第4図は本発明の第1の実施例を示
し、第1図は同実施例の回路ブロツク図、第2図
は同実施例の要部詳細図、第3図は同実施例のタ
イムチヤート、第4図は同実施例の出力音量の変
化を示す図であり、第5図は本発明の第2の実施
例を示す回路ブロツク図である。 1,201……CPU、3,205,207…
…D―A変換器、27,91……フルアダー、9
7〜99……ラツチ、103……デコーダ、49
〜64……ラツチ、L1〜L5……LSI、4,2
06,208……増幅器。
1 to 4 show a first embodiment of the present invention, FIG. 1 is a circuit block diagram of the embodiment, FIG. 2 is a detailed view of the main part of the embodiment, and FIG. 3 is an implementation of the same embodiment. The time chart of the example, FIG. 4, is a diagram showing changes in the output volume of the same embodiment, and FIG. 5 is a circuit block diagram showing the second embodiment of the present invention. 1,201...CPU, 3,205,207...
...D-A converter, 27,91...Full adder, 9
7-99...Latch, 103...Decoder, 49
~64...Latch, L1~L5...LSI, 4,2
06,208...Amplifier.

Claims (1)

【特許請求の範囲】 1 複数の楽音生成手段を有し、これらの楽音生
成手段は、複数チヤンネルの時分割処理により
夫々デイジタルエンベロープ情報に基づきエンベ
ロープ制御された複数音分のデイジタル楽音情報
を生成し、この生成出力される上記複数のデイジ
タル楽音情報を合成して得られる合成楽音情報が
デイジタルアナログ変換器にてアナログ変換され
て楽音信号として出力されるデイジタル電子楽器
に於て、 上記複数の楽音生成手段の少なくともひとつの
特定の楽音生成手段は、 該特定の楽音生成手段にて生成されたデイジタ
ルエンベロープ情報と、他の少なくともひとつの
楽音生成手段にて生成され上記特定の楽音生成手
段にデータ転送されてきたデイジタルエンベロー
プ情報とを合成する第1の合成手段と、 該特定の楽音生成手段にて生成されたデイジタ
ル楽音情報と、上記他の少なくともひとつの楽音
生成手段にて生成され上記特定の楽音生成手段に
データ転送されてきたデイジタル楽音情報とを合
成する第2の合成手段と、 上記第1の合成手段により合成して得られた合
成エンベロープ情報により、上記第2の合成手段
により合成して得られた合成楽音情報のシフトレ
ベルを設定する設定手段と、 この設定手段により設定された上記シフトレベ
ルに従い上記合成楽音情報をビツトシフトし、上
記特定の楽音生成手段に連結されているデイジタ
ルアナログ変換器に供給する制御手段とを含んで
なり、 更に、上記デイジタルアナログ変換器に連結さ
れている増幅手段に対し、上記設定手段は上記シ
フトレベルに応じて設定される増幅レベルで上記
デイジタルアナログ変換器の出力楽音信号を増幅
させるようにしたことを特徴とするデイジタル電
子楽器の圧縮伸張装置。
[Claims] 1. A plurality of musical tone generation means, each of which generates digital musical tone information for a plurality of tones subjected to envelope control based on digital envelope information through time-sharing processing of a plurality of channels. In a digital electronic musical instrument, the synthesized musical tone information obtained by synthesizing the generated and outputted plurality of digital musical tone information is converted into analog by a digital-to-analog converter and outputted as a musical tone signal, and the plurality of musical tones are generated. At least one specific musical tone generating means of the means is configured to transmit digital envelope information generated by the specific musical tone generating means and data generated by at least one other musical tone generating means to the specific musical tone generating means. a first synthesizing means for synthesizing the digital envelope information generated by the digital envelope information; a first synthesizing means for synthesizing the digital musical tone information generated by the specific musical tone generating means; and a first synthesizing means for synthesizing the digital musical tone information generated by the particular musical tone generating means; a second synthesis means for synthesizing the digital musical tone information data transferred to the means; and synthesis envelope information obtained by synthesis by the first synthesis means; a setting means for setting a shift level of the synthesized musical tone information; and a setting means for bit-shifting the synthesized musical tone information according to the shift level set by the setting means, and a digital-to-analog converter connected to the specific musical tone generating means. and a control means for supplying an amplification means connected to the digital-to-analog converter, the setting means controlling the output of the digital-to-analog converter at an amplification level set in accordance with the shift level. A compression/expansion device for a digital electronic musical instrument, characterized in that it amplifies a musical tone signal.
JP56066220A 1981-04-30 1981-04-30 Reduction/expansion system for digital electronic music instrument Granted JPS57181596A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP56066220A JPS57181596A (en) 1981-04-30 1981-04-30 Reduction/expansion system for digital electronic music instrument
US06/370,088 US4437377A (en) 1981-04-30 1982-04-20 Digital electronic musical instrument
GB08211356A GB2106694B (en) 1981-04-30 1982-04-20 Digital electronic musical instrument
DE3216021A DE3216021C2 (en) 1981-04-30 1982-04-29 Digital electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56066220A JPS57181596A (en) 1981-04-30 1981-04-30 Reduction/expansion system for digital electronic music instrument

Publications (2)

Publication Number Publication Date
JPS57181596A JPS57181596A (en) 1982-11-09
JPS6223873B2 true JPS6223873B2 (en) 1987-05-26

Family

ID=13309526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56066220A Granted JPS57181596A (en) 1981-04-30 1981-04-30 Reduction/expansion system for digital electronic music instrument

Country Status (1)

Country Link
JP (1) JPS57181596A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63185596A (en) * 1987-01-26 1988-08-01 フアナツク株式会社 Cable treater for industrial robot
JP4957658B2 (en) * 2008-06-18 2012-06-20 日本電気株式会社 Stopper mechanism

Also Published As

Publication number Publication date
JPS57181596A (en) 1982-11-09

Similar Documents

Publication Publication Date Title
US4437377A (en) Digital electronic musical instrument
US4562763A (en) Waveform information generating system
JPS6223873B2 (en)
JPS5840199B2 (en) Denshigatsuki
JPH028319B2 (en)
JPS6161680B2 (en)
JP2780220B2 (en) Electronic musical instrument system
JPH0468632B2 (en)
JP3180351B2 (en) Effect device
JP2560276B2 (en) Digital effect device
JPH05289660A (en) Sound source integrated circuit with built-in effect adding device and sound source device using the same
JPH0263235B2 (en)
JP2642092B2 (en) Digital effect device
JP2678970B2 (en) Tone generator
JP2877012B2 (en) Music synthesizer
KR940007382Y1 (en) Synthesis apparatus of musical instrument sound
JPS6042797A (en) Electronic musical instrument
JP3003530B2 (en) Integrated circuit device for generating tone signals
JPS6042795A (en) Electronic musical instrument
JPS61162095A (en) Musical sound generator
JPH05289661A (en) Sound source integrated circuit with built-in effect adding device
JPH0142000B2 (en)
JPS62269998A (en) Digital electronic musical instrument
JPH0754430B2 (en) Effect device
JPS59174892A (en) Electronic musical instrument