JPH0693195B2 - Music signal generator - Google Patents

Music signal generator

Info

Publication number
JPH0693195B2
JPH0693195B2 JP59153723A JP15372384A JPH0693195B2 JP H0693195 B2 JPH0693195 B2 JP H0693195B2 JP 59153723 A JP59153723 A JP 59153723A JP 15372384 A JP15372384 A JP 15372384A JP H0693195 B2 JPH0693195 B2 JP H0693195B2
Authority
JP
Japan
Prior art keywords
frame
coefficient
data
difference
coefficient 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 - Lifetime
Application number
JP59153723A
Other languages
Japanese (ja)
Other versions
JPS6132094A (en
Inventor
秀雄 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP59153723A priority Critical patent/JPH0693195B2/en
Priority to US06/758,207 priority patent/US4646612A/en
Publication of JPS6132094A publication Critical patent/JPS6132094A/en
Publication of JPH0693195B2 publication Critical patent/JPH0693195B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は楽音信号発生装置に関し、特に楽音を構成す
る基本波(基音)及びその高調波(倍音)に対応する各
次数成分を発生させ、これらの各成分をそれぞれ対応す
る振幅係数によつて重み付けした後それらを合成するこ
とにより楽音信号を発生するようにした高調波合成方式
の楽音信号発生装置に関する。
Description: TECHNICAL FIELD The present invention relates to a musical tone signal generator, and in particular, generates each order component corresponding to a fundamental wave (fundamental tone) and its harmonics (harmonics) that compose a musical tone, The present invention relates to a harmonic synthesis type musical tone signal generator which generates a musical tone signal by weighting each of these components with a corresponding amplitude coefficient and then synthesizing them.

〔背景技術とその問題点〕[Background technology and its problems]

この種の高調波合成方式の楽音信号発生装置は、基本波
及びその高調波の各次数成分(以下、高調波成分とい
う)の振幅をそれぞれ制御する振幅係数(以下、高調波
係数という)を適宜設定するだけで種々の音色の楽音信
号を発生できる点で非常に優れている。
This type of harmonic synthesis type musical tone signal generator appropriately sets an amplitude coefficient (hereinafter, referred to as a harmonic coefficient) for controlling the amplitude of each fundamental component and each order component of the harmonic (hereinafter referred to as a harmonic component). It is extremely excellent in that it can generate tone signals of various tones simply by setting it.

ところで、上記各高調波成分に対する高調波係数をそれ
ぞれ時間の経過に従つて変化させることにより、自然楽
器音のように音色が時間的に変化する楽音信号を発生す
るようにすることが従来から提案されている。例えば、
特公昭58−20039号公報に開示されている。
By the way, it has been conventionally proposed to generate a tone signal whose tone color changes with time like a natural musical instrument sound by changing the harmonic coefficient for each of the above harmonic components over time. Has been done. For example,
It is disclosed in Japanese Patent Publication No. 58-20039.

しかしながら、この従来技術においては、各高調波係数
を時間の経過に従つて変化させるために、各高調波成分
に対応してそれぞれエンベロープメモリ(アタツク/デ
イケイメモリ)を設けているので、高調波成分の数と同
数のエンベロープメモリが必要となり、しかもこの複数
のエンベロープメモリの組を音色の時間変化の態様ごと
にそれぞれ用意しておく必要があり、従つて全体として
非常に大容量のメモリを用意しなければならず、構成が
大規模になるとともにコストが非常に高くなつてしまう
不都合がある。
However, in this conventional technique, in order to change each harmonic coefficient with the passage of time, an envelope memory (attack / date memory) is provided for each harmonic component. The same number of envelope memories as the number of components is required, and it is necessary to prepare a group of a plurality of envelope memories for each mode of timbre change over time. Therefore, a very large capacity memory is prepared as a whole. However, there is an inconvenience that the cost becomes very high as the configuration becomes large.

〔発明の目的〕[Object of the Invention]

この発明は以上の点を考慮してなされたもので、従来技
術に比較して格段的にメモリ容量を小容量化して簡単な
構成で、かつ低コストで音色が時間変化する楽音信号を
発生し得るようにした高調波合成方式の楽音信号発生装
置を提案しようとするものである。
The present invention has been made in consideration of the above points, and generates a tone signal whose tone color changes with time at a low cost with a simple configuration by significantly reducing the memory capacity as compared with the prior art. An attempt is made to propose a musical tone signal generator of the harmonic synthesis system which is designed to be obtained.

〔発明の概要〕[Outline of Invention]

高調波合成方式の楽音信号発生装置において、音色が時
間的に変化する楽音信号を発生するためには、上述した
ように各高調波係数をそれぞれ時間の経過に従つて変化
させる必要があるが、この発明は次のようにそれぞれ時
間的に変化する高調波係数を形成するようにしている。
In the harmonic synthesis type musical tone signal generator, in order to generate a musical tone signal whose tone color changes with time, it is necessary to change each harmonic coefficient as time passes, as described above. According to the present invention, harmonic coefficients that change with time are formed as follows.

すなわちまず、発生すべき楽音信号について第2図にそ
の振幅値を規格化(振幅エンベロープを取り除いて振幅
値を一定としたもの)して示すように、楽音信号の発生
から終了までを複数のフレームに分ける。すなわち、こ
の楽音信号は、時間と共に楽音波形MWが変化するもので
あるため、この楽音波形MWに含まれている各次数の高調
波成分の振幅の比率も、時間の経過と共に変化するが、
この場合比較的短い時間の間は音色の極端な変化はない
ので、楽音信号の発生から終了までの全期間のうち所定
の期間t0〜tNの間を時点t1、t2……tN-1で区切つてN個
のフレームF1、F2……FNを形成する。なお、時点tN以後
は音色変化がほとんどないので、これに対応する最終フ
レームF(N+1)を設ける。
That is, first, as shown in FIG. 2 in which the amplitude value of a tone signal to be generated is standardized (the amplitude envelope is removed to make the amplitude value constant), a plurality of frames from the tone signal generation to the end are generated. Divide into That is, since the musical tone waveform MW of this musical tone signal changes with time, the amplitude ratio of the harmonic components of each order contained in this musical tone waveform MW also changes with the passage of time.
In this case, since there is no extreme change in the tone color for a relatively short time, the time points t 1 , t 2 ... t between the predetermined period t 0 to t N of the entire period from the generation to the end of the tone signal. Divide by N-1 to form N frames F1, F2 ... FN. Since there is almost no change in timbre after time t N, the final frame F (N + 1) corresponding to this is provided.

ここで、第2図の時点t0、t1、t2……tNにおける楽音波
形を構成する各高調波成分の相対的振幅レベルがそれぞ
れ第3図(A)〜(D)に示すような値をとるものとす
る。第2図の第1フレームF1の開始時点t0において、第
3図(A)に示すようなスペクトル分布曲線をもつ1次
〜W次(Wは例えば64である)の1組の高調波係数デー
タQ1を発生する。また、第2フレームF2の開始時点t1
おいて、第3図(B)に示すようなスペクトル分布曲線
をもつ1次〜W次の1組の高調波係数データQ2を発生す
る。以下、同様にして時点t2〜tNにおいて高調波係数デ
ータQ3(第3図(C))〜Q(N+1)(第3図
(D))を発生する。
Here, the relative amplitude levels of the respective harmonic components constituting the tone waveform at the times t 0 , t 1 , t 2, ... T N in FIG. 2 are as shown in FIGS. 3 (A) to (D), respectively. It should take any value. At the start time t 0 of the first frame F1 in FIG. 2, a set of first- to W-th order (W is, for example, 64) harmonic coefficients having a spectrum distribution curve as shown in FIG. 3 (A). Generate data Q1. Further, at the starting time t 1 of the second frame F2, generating a primary ~W following set of harmonic coefficient data Q2 having a spectral distribution curve as shown in FIG. 3 (B). Hereinafter, generating harmonics coefficient data Q3 at time t 2 ~t N in the same manner (FIG. 3 (C)) ~Q (N + 1) ( FIG. 3 (D)).

そして、時点t0〜t1、t1〜t2……tN-1〜tNの間において
発生する各高調波係数データは、それぞれデータQ1から
Q2に、Q2からQ3に……QNからQ(N+1)に順次変化す
るように補間演算を行うことにより求める。
Then, each harmonic coefficient data generated during the time t 0 ~t 1, t 1 ~t 2 ...... t N-1 ~t N from each of the data Q1
From Q2, Q2 to Q3 ... QN to Q (N + 1).

第1の発明の場合時点t0の高調波係数データQ1はそのま
ま発生するが、時点t0以後の高調波係数データは、補間
係数メモリに記憶されている差の係数データを読出し、
この差の係数データを用いて時点t0〜t1、t1〜t2……t
N-1〜tNの間を補間演算をすることによつて発生する。
Although harmonic coefficient data Q1 when point t 0 of the first invention produced as harmonic coefficient data time t 0 after reads the coefficient data of the difference stored in the interpolation coefficient memory,
Using the coefficient data of this difference, time points t 0 to t 1 , t 1 to t 2 ...... t
Between the N-1 ~t N to the interpolation operation connexion occur.

すなわち、補間係数メモリは、例えば第4図に示すよう
に、順次隣合うフレームの最初の高調波係数データの差
Q2−Q1(第4図(A))、Q3−Q2(第4図(B))……
Q(N+1)−QN(第4図(C))に基づいて決められ
た差の係数データを記憶し、この差の係数データを時点
t0、t1、t2……tNにおいてそれぞれ読出す。そして第
1、第2……第NフレームF1、F2……FNにおいて演算回
路を用いて所定回数(すなわちK1、K2……KN)だけ繰返
し補間演算することによつて各フレームにおいて徐々に
変化する補間データを得、この補間データを時点t0の高
調波係数データQ1と加算して高調波係数データを形成す
る。
That is, as shown in FIG. 4, for example, the interpolation coefficient memory stores the difference between the first harmonic coefficient data of adjacent frames.
Q2-Q1 (Fig. 4 (A)), Q3-Q2 (Fig. 4 (B)) ...
The coefficient data of the difference determined based on Q (N + 1) -QN (Fig. 4 (C)) is stored, and the coefficient data of this difference is stored at the time
Read at t 0 , t 1 , t 2 ... t N respectively. The first, gradually in due connexion each frame to interpolation calculation repeatedly a predetermined number of times (i.e. K 1, K 2 ...... K N) by using an arithmetic circuit in the second ...... N-th frame F1, F2 ...... FN Is obtained, and this interpolation data is added to the harmonic coefficient data Q1 at time t 0 to form harmonic coefficient data.

このようにすることにより、高調波係数データは各フレ
ームにおいて補間演算をするごとに、当該フレームの開
始時の係数値から次のフレームの開始時の係数値に向つ
て細かいステツプで滑らかに変化して行くことになる。
By doing so, the harmonic coefficient data smoothly changes from the coefficient value at the start of the frame to the coefficient value at the start of the next frame in fine steps every time interpolation calculation is performed in each frame. I will go.

補間係数メモリに記憶する差の係数データは、具体的に
は一例として次のようなものが用いられる。第1は、第
5図に示すように、第1〜第NフレームF1〜FNの各フレ
ームの開始時点t0〜tN-1において発生すべき高調波係数
データQ1〜QNと、隣りの第2〜第(N+1)フレームの
開始時点t1〜tNにおいて発生すべき高調波係数データQ2
〜Q(N+1)との差を、各フレームにおける補間演算
回数K1〜KNで割つた値を差の係数データとして補間係数
メモリに記憶する。
As the difference coefficient data stored in the interpolation coefficient memory, the following is specifically used as an example. The first is, as shown in FIG. 5, the harmonic coefficient data Q1 to QN to be generated at the start times t 0 to t N−1 of the first to Nth frames F1 to FN and the adjacent harmonic coefficient data Q1 to QN. 2 (N + 1) th harmonic coefficient data Q2 to be generated at the beginning t 1 ~t N frame
To Q (N + 1) are stored in the interpolation coefficient memory as difference coefficient data, which is a value obtained by dividing the number of interpolation calculations K 1 to K N in each frame.

この場合の補間演算は例えば次のようにして実行され
る。すなわち、例えばM次の高調波係数データについて
説明すると、第1フレームF1の開始時点t0における値L1
(第3図(A))から時点t1の値L2(第3図(B))に
変化するとすれば、補間係数メモリに記憶される差の係
数データはその差L2−L1(第4図(A))を第1フレー
ムF1における補間回数K1で割つた値(L2−L1)/K1にな
り、時点t0〜t1の間(第1フレームF1の間)において補
間演算が繰返されるごとに高調波係数データは値L1から
L2に(L2−L1)/K1づつ変化して行き、時点t1で値L2
なる。
The interpolation calculation in this case is executed as follows, for example. That is, for example, the Mth-order harmonic coefficient data will be described. The value L 1 at the start time t 0 of the first frame F 1
If the value L 2 at time t 1 (FIG. 3 (A)) changes to the value L 2 (FIG. 3 (B)), the difference coefficient data stored in the interpolation coefficient memory is the difference L 2 −L 1 ( The value obtained by dividing (A) in FIG. 4 by the number of interpolations K 1 in the first frame F1 is (L 2 −L 1 ) / K 1 and is from time t 0 to t 1 (during the first frame F1). from the harmonic coefficient data value L 1 each time the interpolation operation is repeated in
It changes to L 2 by (L 2 −L 1 ) / K 1 and reaches the value L 2 at time t 1 .

同様にして、補間係数メモリには時点t1〜t2の第2フレ
ームF2について値L3及びL2(第3図(C)及び(B))
の差(L3−L2)(第4図(B))を第2フレームF2にお
ける補間回数K2で割つた値(L3−L2)/K2が差の係数デ
ータとして記憶され、………時点tN-1〜tNの第Nフレー
ムFNについては値LN+1及びLNの差(LN+1−LN)を第Nフ
レームNFにおける補間回数KNで割つた値(LN+1−LN)/
KNが差の係数データとして記憶される。
Similarly, in the interpolation coefficient memory, the values L 3 and L 2 (FIGS. 3 (C) and (B)) for the second frame F2 at the times t 1 to t 2 are stored.
The difference (L 3 -L 2) stored as (FIG. 4 (B)) the split ivy value interpolation number K 2 in the second frame F2 (L 3 -L 2) / K 2 is the coefficient of the difference data, ......... WariTsuta at t N-1 ~t value for the N-th frame FN of N L N + 1 and L N of the difference (L N + 1 -L N) times the interpolation in the N-th frame NF K N Value (L N + 1 −L N ) /
K N is stored as difference coefficient data.

かくして、高調波係数データは、第2フレームF2におい
て、時点t1における値L2の値から差分(L3−L2)/K2
つ変化して時点t2において値L3になり、………第Nフレ
ームFNにおいて、時点tN-1の値LNから差分(LN+1−LN
/KNづつ変化して時点tNにおいて値LN+1になるように連
続的に順次変化することになる。
Thus, the harmonic coefficient data, in the second frame F2, consists values of L 2 at the time t 1 to the difference (L 3 -L 2) / K 2 increments the changed value L 3 at time t 2, the ... ... Difference (L N + 1 −L N ) from the value L N at time t N−1 in the Nth frame FN
/ K N, and it changes continuously and sequentially so that the value becomes L N + 1 at time t N.

また、第2の発明の場合、上述した順次隣合うフレーム
の最初の高調波係数データQ1〜Q(N+1)の差Q2−Q
1、Q3−Q2、……Q(N+1)−QNを差の係数データと
して直接補間係数メモリに記憶する。この場合、演算回
路は、読出されたこの差の係数データに対して各フレー
ムにおいて補間演算を繰返すごとに順次変化して行く重
み係数を乗算して各フレームにおいて時間の経過と共に
変化する補間データを得る。そして各フレームの終了時
における上記乗算結果を表すデータを各次数ごとに一時
記憶し、かつこの一時記憶したデータと、上記乗算結果
と、上記基本係数データとを各次数ごとに加算して上記
各次数ごとの振幅係数を得るようにする。
In the case of the second aspect of the invention, the difference Q2-Q between the first harmonic coefficient data Q1 to Q (N + 1) of the above-described sequentially adjacent frames is provided.
1, Q3−Q2, ... Q (N + 1) −QN are directly stored in the interpolation coefficient memory as difference coefficient data. In this case, the arithmetic circuit multiplies the read coefficient data of the difference by the weighting coefficient that changes sequentially each time the interpolation calculation is repeated in each frame, and obtains the interpolation data that changes with time in each frame. obtain. Then, the data representing the multiplication result at the end of each frame is temporarily stored for each degree, and the temporarily stored data, the multiplication result, and the basic coefficient data are added for each degree, and Obtain the amplitude coefficient for each order.

補間係数メモリに記憶する差の係数データとしては、上
述のものに代えてさらに次のようなものを用いることが
できる。
As the difference coefficient data stored in the interpolation coefficient memory, the following data can be used instead of the above-mentioned data.

すなわち、所定の高調波係数データ(例えば、上述の高
調波係数データQ1)を基本係数データとし、この基本係
数データと各フレームの最初において発生すべき高調波
係数データQ1、Q2、……Q(N+1)との差に関するデ
ータを差の係数データとして補間係数メモリに記憶す
る。この場合、補間係数メモリに記憶する差の係数デー
タとしては、上記の各フレームにおける最初の高調波係
数データQ1〜Q(N+1)と基本係数データとの差の値
であつてもよいし、誤差を各フレームにおける補間回数
(K1,K2……KN)で割つた値であつてもよい。前者のよ
うにした場合の演算回路は、読出された差の係数データ
に対して各フレームにおいて補間演算を繰返すごとに順
次変化して行く重み係数を乗算して各フレームにおいて
時間の経過と共に変化する補間データを得、この補間デ
ータを基本係数データと加算することにより高調波係数
データを形成する。また、後者のようにした場合の演算
回路は、読出された差の係数データを各フレームごとに
補間回数に対応して繰返し累算することにより各フレー
ムにおいて時間の経過と共に変化する補間データを得、
これを基本係数データと加算して高調波係数データを形
成する。
That is, predetermined harmonic coefficient data (for example, the above-mentioned harmonic coefficient data Q1) is used as basic coefficient data, and this basic coefficient data and the harmonic coefficient data Q1, Q2, ... Q (which should be generated at the beginning of each frame). N + 1) and the data relating to the difference are stored in the interpolation coefficient memory as difference coefficient data. In this case, the difference coefficient data stored in the interpolation coefficient memory may be the difference value between the first harmonic coefficient data Q1 to Q (N + 1) in each frame and the basic coefficient data, or the error May be divided by the number of interpolations in each frame (K 1 , K 2 ... K N ). In the former case, the arithmetic circuit multiplies the coefficient data of the read difference by the weighting coefficient which changes sequentially each time the interpolation calculation is repeated in each frame, and changes with the passage of time in each frame. Harmonic coefficient data is formed by obtaining interpolation data and adding this interpolation data to the basic coefficient data. Further, in the latter case, the arithmetic circuit obtains the interpolation data which changes with the passage of time in each frame by repeatedly accumulating the read difference coefficient data for each frame according to the number of interpolations. ,
This is added to the basic coefficient data to form harmonic coefficient data.

このようにすれば、それぞれ時間と共に変化する各次数
の高調波係数を発生するために必要なデータとしては、
楽音信号発生開始時の1組(1次〜W次)の高調波係数
データまたは所定の1組の基本係数データと、各フレー
ムにおいて補間演算に用いられる1組の差のデータだけ
で済み、しかもこの差のデータを構成する各値は十分小
さい値になるので、結局全体としてのメモリ容量を十分
に小容量化し得ることになる。
In this way, the data required to generate the harmonic coefficients of each order that change with time are:
Only one set (1st to Wth) of harmonic coefficient data or a predetermined set of basic coefficient data at the start of the tone signal generation and one set of difference data used for interpolation calculation in each frame are sufficient. Since the respective values forming the difference data have sufficiently small values, the memory capacity as a whole can be sufficiently reduced.

なお、フレームの分け方は、各次数について同じにして
も良く(上述の説明ではこのようにした)、又は各次数
についてそれぞれ異ならせるようにしても良い。
The method of dividing the frame may be the same for each order (this is the case in the above description), or may be different for each order.

〔実施例〕〔Example〕

第1実施例 第1図はこの発明による楽音信号発生装置を単音電子楽
器に適用した場合の実施例を示す。この実施例において
は、鍵盤で押鍵されたキーに対応する楽音信号(楽音波
形)の順次サンプル点qRの振幅値X0(qR)が規則的時間
間隔(サンプリング時間)txごとに次の(1)式に従つ
て算出される。
First Embodiment FIG. 1 shows an embodiment in which the musical tone signal generator according to the present invention is applied to a single-tone electronic musical instrument. In this embodiment, the amplitude value X 0 (qR) of the sequential sampling points qR of the musical tone signal (tone waveform) corresponding to the key pressed on the keyboard is changed to the following at regular time intervals (sampling time) t x : It is calculated according to the equation (1).

ここで、qは各時間間隔txごとに1、2、……と増大す
る変数であり、nは基本波を含む各高調波成分の次数を
表わし、n=1は基本波(基音)、n=2は第2高調波
(第2倍音)、……n=Wは第W高調波(第W倍音)を
表わす。なお、この実施例ではW=64としている。ま
た、Rは楽音の基本周波数(音高)に対応した数値(以
下、周波数ナンバと呼ぶ)を表わし、A(t)は楽音の
振幅エンベロープを設定するエンベロープ関数を表わ
し、Cnはn次高調波成分に対する高調波係数を表わす。
Here, q is a variable that increases by 1, 2, ... For each time interval t x , n represents the order of each harmonic component including the fundamental wave, and n = 1 represents the fundamental wave (fundamental tone), n = 2 represents the second harmonic (second overtone), ... N = W represents the Wth harmonic (Wth overtone). In this embodiment, W = 64. Further, R represents a numerical value (hereinafter referred to as a frequency number) corresponding to the fundamental frequency (pitch) of the musical sound, A (t) represents an envelope function for setting the amplitude envelope of the musical sound, and C n represents the nth harmonic. Represents the harmonic coefficient for the wave component.

第1図において、1はキースイツチ回路で、押鍵された
キーに対応するキーデータKDが周波数ナンバメモリ2に
与えられ、押鍵されたキーの音高に対応する数値を有す
る周波数ナンバRが読出されてアキユムレータ3に送出
される。アキユムレータ3はそのクロツク端子CKに計算
区間タイミング信号txが与えられるごとに周波数ナンバ
Rを累算し、この累算データqR(q=1、2、……)を
楽音波形のサンプル点位相を指定する位相データとして
高調波成分発生回路4に送出する。
In FIG. 1, reference numeral 1 is a key switch circuit, in which key data KD corresponding to a depressed key is given to a frequency number memory 2, and a frequency number R having a numerical value corresponding to a pitch of the depressed key is read out. It is then transmitted to the accumulator 3. The accumulator 3 accumulates the frequency number R every time the calculation section timing signal t x is given to its clock terminal CK, and the accumulated data qR (q = 1, 2, ...) It is sent to the harmonic component generating circuit 4 as designated phase data.

また、5はクロツク発振器で、そのクロツク信号tcが64
モジユロ構成の次数カウンタ6に与えられ、そのキヤリ
ー出力端から計算区間タイミング信号txを送出する。か
くして、第6図(A)に示すように、64個のクロツクパ
ルス信号tcが発生するごとに計算区間タイミング信号tx
(第6図(B))が得られ、これにより計算区間タイミ
ング信号txの1周期Ttxをクロツク信号tcによつて1次
〜64次の各高調波成分に対応して64個のタイムスロツト
を形成するようになされている。
5 is a clock oscillator whose clock signal t c is 64
It is given to the order counter 6 having a modular structure, and the calculation section timing signal t x is transmitted from the carrier output terminal thereof. Thus, as shown in FIG. 6A, the calculation interval timing signal t x is generated every time 64 clock pulse signals t c are generated.
(FIG. 6 (B)) is obtained, whereby one cycle T tx of the calculation section timing signal t x is divided into 64 by the clock signal t c in correspondence with each harmonic component of the 1st to 64th order. It is designed to form a time slot.

高調波成分発生回路4は、クロツク信号tcによつて設定
される各タイムスロツトにおいて1次〜64次の各高調波
信号成分について上述の(1)式のうち で表わされる正弦波形データS1を発生し、これを高調波
振幅乗算回路11に与える。なお、高調波成分発生回路4
としては、例えば前述の特公昭58−20039号公報や特開
昭55−43552号公報に開示のものを適用し得る。
The harmonic component generation circuit 4 calculates the harmonic signal components of the 1st to 64th harmonics in each of the time slots set by the clock signal t c from among the above equations (1). The sinusoidal waveform data S1 represented by is generated and given to the harmonic amplitude multiplication circuit 11. The harmonic component generation circuit 4
For example, those disclosed in the above-mentioned Japanese Patent Publication No. 58-20039 and Japanese Patent Laid-Open No. 55-43552 can be applied.

高調波振幅乗算回路11には、上述の(1)式の高調波係
数Cnに相当する高調波係数データS2が高調波係数発生回
路7から与えられ、正弦波形データS1と高調波係数デー
タS2とを乗算した乗算出力データS3が楽音信号出力回路
8に与えられる。
The harmonic amplitude multiplication circuit 11 is supplied with the harmonic coefficient data S2 corresponding to the harmonic coefficient C n of the above equation (1) from the harmonic coefficient generation circuit 7, and the sine waveform data S1 and the harmonic coefficient data S2 are given. The multiplication output data S3 obtained by multiplying by and is given to the tone signal output circuit 8.

この楽音信号出力回路8は、クロツク信号tc、計算区間
タイミング信号txに基づいてデータS3を加算合成して楽
音信号を形成すると共に、キースイツチ回路1から得ら
れるキーオン信号KONに基づいて所定の振幅エンベロー
プを付与して前述の(1)式で表わされる楽音信号S4を
出力し、これがサウンドシステム9において楽音に変換
される。楽音信号出力回路8としては例えば特開昭54−
140523号公報、又は特開昭55−45056号公報に開示のも
のを適用し得る。
The tone signal output circuit 8 forms a tone signal by adding and synthesizing the data S3 based on the clock signal t c and the calculation section timing signal t x, and at the same time based on the key-on signal KON obtained from the key switch circuit 1. A musical tone signal S4 represented by the above-mentioned equation (1) is output with an amplitude envelope added, and this is converted into a musical tone in the sound system 9. As the tone signal output circuit 8, for example, Japanese Patent Laid-Open No. 54-
The one disclosed in 140523 or JP-A-55-45056 can be applied.

この実施例の場合、キースイツチ回路1は各キースイツ
チが押鍵操作されると、第7図(A)に示すように離鍵
されるまでの間論理「1」になるキーオン信号KONを発
生し、このキーオン信号KONの立上りに基づいて計算区
間タイミング信号txをトリガ信号として受ける微分回路
10において計算区間タイミング信号txの周期Ttxを有す
るキーオンパルス信号KONP(第7図(B))を送出する
ようになされている。
In the case of this embodiment, when the respective key switches are depressed, the key switch circuit 1 generates a key-on signal KON which becomes logic "1" until the key is released, as shown in FIG. 7 (A). A differentiation circuit that receives the calculation interval timing signal t x as a trigger signal based on the rise of this key-on signal KON
In 10, the key-on pulse signal KONP (FIG. 7 (B)) having the period T tx of the calculation section timing signal t x is transmitted.

高調波係数発生回路7は、第3図(A)について上述し
た基本係数データを記憶する基本係数メモリ21と第4図
(A)〜(C)及び第5図について上述した補間差分デ
ータ(Q2−Q1)/K1、(Q3−Q2)/K2……〔Q(N−
1)−QN〕/KNを記憶する補間差分係数メモリ22を有す
る。各メモリ21及び22は、発生し得る各音色に対応して
上述のデータを格納しており、音色選択回路23の音色選
択信号TCによつて選択された音色に対応する基本係数デ
ータRD及び補間差分係数データDDを読出し得るようにな
されている。
The harmonic coefficient generating circuit 7 includes a basic coefficient memory 21 for storing the basic coefficient data described above with reference to FIG. 3 (A) and the interpolation difference data (Q2 described above with reference to FIGS. 4 (A) to (C) and FIG. -Q1) / K 1, (Q3 -Q2) / K 2 ...... [Q (N-
1) -QN] / K N is included in the interpolation difference coefficient memory 22. Each of the memories 21 and 22 stores the above-mentioned data corresponding to each timbre that can be generated, and basic coefficient data RD and interpolation corresponding to the timbre selected by the timbre selection signal TC of the timbre selection circuit 23. The difference coefficient data DD can be read out.

基本係数メモリ21は次数カウンタ6のカウント内容を表
す次数データnをアドレス信号として受け、次数データ
nに従つて1次〜64次の各基本係数データRDを順次読み
出して演算回路24の加算回路25に第1の加算入力信号と
して与える。
The basic coefficient memory 21 receives the order data n representing the count content of the order counter 6 as an address signal, sequentially reads the basic coefficient data RD of the 1st to 64th order according to the order data n, and adds the adder circuit 25 of the arithmetic circuit 24. As a first addition input signal.

補間差分係数メモリ22は、次数カウンタ6の次数データ
n及びフレームデータ発生回路31において発生されるフ
レーム指定データFNOをアドレス信号として受け、フレ
ーム指定データFNOによつて指定されたフレームについ
て、次数データnに従つて1次〜64次の各補間差分係数
データDDを順次読出す。
The interpolation difference coefficient memory 22 receives the order data n of the order counter 6 and the frame designation data FNO generated in the frame data generation circuit 31 as an address signal, and the order data n of the frame designated by the frame designation data FNO. Accordingly, the 1st to 64th interpolation difference coefficient data DD are sequentially read.

フレームデータ発生回路31は、補間演算回数をカウント
する繰返し回数カウンタ32を有し、アキユムレータ3に
おいて発生されるキヤリー信号CAによつてカウント動作
するカウンタでなる。ここで、アキユムレータ3はその
累算出力が最大値を越えたとき(すなわちオール「0」
又はオール「1」になつたとき)、キヤリー信号CAを発
生する。アキユムレータ3は周波数ナンバデータRを累
算して行くことにより、楽音波形の1周期分の時間が経
過するごとに最大値に到達するようになされており、か
くして繰返し回数カウンタ32は楽音波形1周期分の時間
が経過するごとに1づつカウント動作をして行く。その
結果、繰返し回数カウンタ32のカウント内容は各フレー
ムにおける楽音波形の数すなわち演算回路24における繰
返し演算回数を表し、これが繰返し回数カウントデータ
CVとして送出される。
The frame data generation circuit 31 has a repetition number counter 32 that counts the number of interpolation calculations, and is a counter that counts according to a carry signal CA generated in the accumulator 3. Here, when the cumulative calculation force of the accumulator 3 exceeds the maximum value (that is, all "0").
Or when all "1" is reached), the carrier signal CA is generated. The accumulator 3 accumulates the frequency number data R so that the maximum value is reached every time one cycle of the musical tone waveform elapses. Thus, the repetition number counter 32 has one cycle of the musical tone waveform. The counting operation is performed one by one every time a minute has elapsed. As a result, the count content of the repeat count counter 32 represents the number of tone waveforms in each frame, that is, the repeat count in the calculation circuit 24.
Sent as CV.

この繰返し回数カウンタ32の繰返し回数データCVは比較
回路33に与えられ、繰返し回数指定回路34の出力端に得
られる繰返し回数データKと比較される。その結果、一
致が得られると、比較回路33から送出される一致検出信
号EQがゲート回路36を通じてフレームカウンタ37のカウ
ント入力端に与えられると共に、遅延回路38を通じ、さ
らにオア回路39を通じて繰返し回数カウンタ32のリセツ
ト入力端Rに与えられるようになされている。なお、繰
返し回数カウンタ32にはオア回路39を通じてキーオンパ
ルス信号KONPが入力され、これにより繰返し回数カウン
タ32がリセツトされる。
The repeat count data CV of the repeat count counter 32 is supplied to the comparison circuit 33 and compared with the repeat count data K obtained at the output terminal of the repeat count specifying circuit 34. As a result, when a match is obtained, the match detection signal EQ sent from the comparison circuit 33 is given to the count input terminal of the frame counter 37 through the gate circuit 36, and the repetition number counter is passed through the delay circuit 38 and the OR circuit 39. It is adapted to be applied to 32 reset input terminals R. The key-on pulse signal KONP is input to the repetition number counter 32 through the OR circuit 39, whereby the repetition number counter 32 is reset.

繰返し回数指定回路34は、第2図及び第5図について上
述したように、第1、第2……第NフレームF1、F2……
FNについて予め決められている繰返し回数K1、K2……KN
を各音色ごとに記憶するメモリを有し、この記憶データ
を音色選択信号TC及びフレームカウンタ37から到来する
フレーム番号データFNOとによつて読出して、繰返し回
数指定データKとして送出する。従つて比較回路33は各
フレームごとに繰返し回数指定回路34からの繰返し回数
指定データKによつて指定された繰返し回数と、繰返し
回数カウンタ32の繰返し回数カウントデータCVの内容と
が一致したとき(すなわち各フレームが終了するごと
に)、一致検出出力EQを発生して繰返し回数カウンタ32
をリセツトすると共に、フレームカウンタ37をゲート回
路36を介してカウント動作させる。
The repeat number designating circuit 34 is, as described above with reference to FIGS. 2 and 5, the first, second ... Nth frame F1, F2.
Predetermined number of iterations for FN K 1 , K 2 …… K N
Is stored for each timbre, and the stored data is read out by the timbre selection signal TC and the frame number data FNO coming from the frame counter 37, and sent out as the repeat count designation data K. Therefore, when the number of repetitions designated by the number-of-repetitions designation data K from the number-of-repetitions designation circuit 34 and the number of repetitions count data CV of the number-of-repetitions counter 32 match for each frame, the comparison circuit 33 ( That is, at the end of each frame), the coincidence detection output EQ is generated and the repetition number counter 32
Is reset, and the frame counter 37 is caused to count through the gate circuit 36.

なお、フレームカウンタ37にはキーオンパルス信号KONP
がリセツト信号として与えられ、かくしてリセツトされ
た後のカウント内容がフレーム指定データFNOとして送
出される。
The frame counter 37 displays the key-on pulse signal KONP.
Is supplied as a reset signal, and the contents of the count after resetting are transmitted as frame designation data FNO.

フレームカウンタ37のフレーム指定データFNOは最終フ
レーム検出回路40に与えられる。最終フレーム検出回路
40はフレーム指定データFNOが(N+1)になつたとき
論理「1」に立上る最終フレーム検出出力FDを送出し、
これをインバータ41を介して反転出力▲▼としてゲ
ート回路36のイネーブル端子に与える。これにより最終
フレームFNが終了したときゲート回路36を閉じることに
より、以後フレームカウンタ37のカウント動作を停止さ
せてフレーム指定データFNOが変化しないようにする。
The frame designation data FNO of the frame counter 37 is given to the final frame detection circuit 40. Final frame detection circuit
40 outputs the final frame detection output FD which rises to logic “1” when the frame designation data FNO reaches (N + 1),
This is given to the enable terminal of the gate circuit 36 via the inverter 41 as an inverted output ▲ ▼. As a result, when the final frame FN ends, the gate circuit 36 is closed to stop the counting operation of the frame counter 37 and prevent the frame designation data FNO from changing.

補間差分係数メモリ22はフレーム指定データFNOによつ
て指定されたフレームに対応する1組の(1次〜64次
の)補間差分係数データDDを次数データnをアドレス信
号として順次読出して行き、ゲート回路42を通じてアキ
ユムレータ43の加算回路44に与える。ここで、補間差分
係数メモリ22から送出される補間差分係数データDDは正
又は負の符号を取り得、加算回路43はこの符号を含んで
加算動作をする。
The interpolation difference coefficient memory 22 sequentially reads a set of (1st to 64th) interpolation difference coefficient data DD corresponding to the frame designated by the frame designation data FNO using the order data n as an address signal, It is given to the adding circuit 44 of the accumulator 43 through the circuit 42. Here, the interpolation difference coefficient data DD sent from the interpolation difference coefficient memory 22 can take a positive or negative sign, and the adder circuit 43 performs an adding operation including this sign.

加算回路44の加算出力S11はゲート回路45を通じて64ス
テージ構成のシフトレジスタ46に与えられる。このシフ
トレジスタ46はクロツク信号tcによつてシフト動作をす
ることによつて、1次〜64次の各高調波についての補間
差分係数データDDが順次到来してくるとこれを順次取込
んで行き、64個のデータが取込まれたとき出力端から加
算回路44に他方の加算入力としてフイードバツクする。
The addition output S11 of the adding circuit 44 is given to the shift register 46 having a 64-stage configuration through the gate circuit 45. The shift register 46 shifts in response to the clock signal t c to sequentially capture interpolated difference coefficient data DD for each of the 1 st to 64 th harmonics, and sequentially fetch the interpolated difference coefficient data DD. When 64 pieces of data are fetched, the feedback signal is fed back from the output terminal to the addition circuit 44 as the other addition input.

ゲート回路42のイネーブル端子にはアンド回路47から制
御信号S12が与えられる。アンド回路47はインバータ41
の反転出力▲▼が論理「1」であること(換言すれ
ば最終フレームになつていないこと)を条件として、ア
キユムレータ3のキヤリー信号CAが立上つたタイミング
で微分回路48(タイミング信号txによつて動作して)か
ら計算区間Ttxの間論理「1」になる微分出力S13によつ
て立上る制御信号S12によつて開制御され、かくして楽
音波形の1周期が経過するごとにゲート回路42を通じて
アキユムレータ43に1次〜64次の各補間差分係数データ
DDを与える。
A control signal S12 is applied from the AND circuit 47 to the enable terminal of the gate circuit 42. AND circuit 47 is an inverter 41
Under the condition that the inverted output ▲ of is a logic "1" (in other words, it is not in the final frame), at the timing when the carrier signal CA of the accumulator 3 rises, the differentiation circuit 48 (timing signal t x becomes The gate circuit is controlled by a control signal S12 which rises by a differential output S13 which becomes a logic "1" during a calculation section T tx from the time when one period of the musical tone waveform elapses. 1st to 64th order interpolation difference coefficient data to the accumulator 43 through 42
Give DD.

その結果、加算回路44は1次〜64次の各次数について、
シフトレジスタ46に記憶されている1周期前の加算出力
S11に対してゲート回路42を通じて到来する補間差分係
数データDDを順次加算して行く。このようにして、アキ
ユムレータ43は補間差分係数メモリ22から送出される各
次数の補間差分係数データDDをそれぞれ計算区間タイミ
ング信号txの1周期Ttxごとに順次累算して行くことに
なる。
As a result, the adder circuit 44, for each of the 1st to 64th orders,
Output added one cycle before stored in shift register 46
The interpolation difference coefficient data DD coming through the gate circuit 42 is sequentially added to S11. In this way, the accumulator 43 sequentially accumulates the interpolation difference coefficient data DD of each order sent from the interpolation difference coefficient memory 22 for each cycle T tx of the calculation section timing signal t x .

この累算データはゲート回路45の出力端から取出され、
加算回路25に差分累算係数データDSとして与えられる。
加算回路25はこの差分累算係数データDSを基本係数デー
タRDと加算し、その加算結果を高調波係数発生回路7の
高調波係数データS2として高調波振幅乗算回路11に送出
する。
This accumulated data is taken out from the output terminal of the gate circuit 45,
The difference accumulation coefficient data DS is given to the adder circuit 25.
The adding circuit 25 adds the accumulated difference coefficient data DS to the basic coefficient data RD, and sends the addition result to the harmonic amplitude multiplying circuit 11 as the harmonic coefficient data S2 of the harmonic coefficient generating circuit 7.

ここで、ゲート回路45はゲート制御回路49の制御信号S1
4をインバータ50を介して受ける。ゲート回路45は、繰
返し回数カウンタ32の繰返し回数カウントデータCV及び
フレームカウンタ37のフレーム指定データFNOを受け
て、フレーム指定データFNOが「1」(第1フレームF1
が指定されている)、かつ繰返し回数カウントデータCV
が「0」(新たなフレームが開始したことを意味する)
のとき、閉制御される。かくして、第1フレームF1の最
初の楽音波形1周期の間ゲート回路45を閉動作させるこ
とによつて、加算回路25に差分累算係数データDSを与え
ないようにすると共に、シフトレジスタ46の各ステージ
の記憶データをクリアする。
Here, the gate circuit 45 controls the control signal S1 of the gate control circuit 49.
4 is received via the inverter 50. The gate circuit 45 receives the repeat count data CV of the repeat counter 32 and the frame specifying data FNO of the frame counter 37, and the frame specifying data FNO is "1" (first frame F1.
Is specified), and the repeat count data CV
Is "0" (meaning that a new frame has started)
When, the closing control is performed. Thus, by closing the gate circuit 45 for one cycle of the first tone waveform of the first frame F1, the addition accumulation circuit 25 is prevented from being supplied with the difference accumulation coefficient data DS, and each shift register 46 Clear the data stored in the stage.

以上の構成において、キーが操作されると、微分回路10
を通じて得られるキーオンパルス信号KONPによつて繰返
し回数カウンタ32及びフレームカウンタ37がリセツトさ
れる。これにより、フレーム指定データFNOが第1フレ
ームF1を指定する状態になると共に、繰返し回数カウン
トデータCVが0になる。
In the above configuration, when the key is operated, the differentiating circuit 10
The repetition number counter 32 and the frame counter 37 are reset by the key-on pulse signal KONP obtained through. As a result, the frame designation data FNO becomes the state of designating the first frame F1, and the repeat count data CV becomes zero.

一方、押鍵されたキーに対応する周波数ナンバRがアキ
ユムレータ3に与えられることにより、この周波数ナン
バRに対応する音高で1次〜64次の各高調波成分の正弦
波形データS1が高調波成分発生回路4から順次発生され
て高調波振幅乗算回路11に送出される。
On the other hand, when the frequency number R corresponding to the depressed key is given to the accumulator 3, the sine waveform data S1 of each harmonic component of the 1st to 64th harmonics at the pitch corresponding to this frequency number R The components are sequentially generated from the component generation circuit 4 and sent to the harmonic amplitude multiplication circuit 11.

また、クロツク発振回路5から送出されるクロツク信号
tcに基づいて次数カウンタ6がカウント動作することに
よつて送出される次数データnが基本係数メモリ21及び
補間差分係数メモリ22に対するアドレス信号として与え
られ、1次〜64次の各高調波に対する発音開始時の高調
波係数データQ1(第3図(A))でなる基本係数データ
RDが基本係数メモリ21から順次読出されて加算回路25に
与えられると共に、第1フレームF1についての1次〜64
次の各高調波に関する補間差分データ(第4図(A))
でなる補間差分係数データDDが順次アキユムレータ43に
与えられる。
In addition, the clock signal sent from the clock oscillation circuit 5
The order data n transmitted by the counting operation of the order counter 6 based on t c is given as an address signal to the basic coefficient memory 21 and the interpolation difference coefficient memory 22, and is applied to each of the 1st to 64th harmonics. Basic coefficient data consisting of harmonic coefficient data Q1 (Fig. 3 (A)) at the start of sound generation
RD is sequentially read from the basic coefficient memory 21 and given to the adder circuit 25, and at the same time, the first-order to 64th bits for the first frame F1
Interpolation difference data for each of the following harmonics (Fig. 4 (A))
The interpolated difference coefficient data DD of is sequentially given to the accumulator 43.

このとき、高調波係数発生回路7のアキユムレータ43に
おいてゲート制御回路49が繰返し回数カウントデータCV
が0かつフレーム指定データFN0が1であることに応動
してインバータ50を介してゲート回路45を閉状態に制御
する。従つて、アキユムレータ43は差分累算係数データ
DSを送出しない状態に制御される。
At this time, in the accumulator 43 of the harmonic coefficient generating circuit 7, the gate control circuit 49 causes the repeat count data CV
Is 0 and the frame designation data FN0 is 1, and the gate circuit 45 is controlled to the closed state via the inverter 50. Therefore, the accumulator 43 is the difference accumulation coefficient data.
Controlled so that DS is not sent.

このようにして押鍵操作時においては、演算回路24の加
算回路25に対して基本係数メモリ21の基本係数データRD
だけが与えられ、これが高調波係数データS2として高調
波振幅乗算回路6に送出される。
In this way, when the key is pressed, the basic coefficient data RD of the basic coefficient memory 21 is sent to the adding circuit 25 of the arithmetic circuit 24.
Is supplied to the harmonic amplitude multiplication circuit 6 as the harmonic coefficient data S2.

この状態において、次数カウンタ6はクロツク発振回路
5のクロツク信号tcを64個カウントするごとに計算区間
タイミング信号txを発生し、このタイミング信号txに基
づいてアキユムレータ3が楽音波形のサンプリング位置
を順次指定する累算データqRを高調波成分発生回路4に
与える。高調波成分発生回路4はクロツク信号tcによつ
て形成された1次〜64次の各タイムスロツトにおいて第
1高調波成分〜第64高調波成分の正弦波形データS1を順
次時分割的に発生して高調波振幅乗算回路11に与える。
In this state, the order counter 6 generates a calculation interval timing signal t x each time it counts 64 clock signals t c of the clock oscillation circuit 5, and the accumulator 3 is based on this timing signal t x and the accumulator 3 outputs the sampling position of the tone waveform. Is sequentially supplied to the harmonic component generating circuit 4. The harmonic component generating circuit 4 sequentially generates the sine waveform data S1 of the first harmonic component to the 64th harmonic component in a time division manner in each of the 1st to 64th time slots formed by the clock signal t c . And supplies it to the harmonic amplitude multiplication circuit 11.

一方、基本係数メモリ21からはクロツク信号tcに従つて
1次〜64次の各高調波係数データQ1(第3図(A))が
順次読出され、これが加算回路25を通じて高調波係数デ
ータS2として高調波振幅乗算回路11に与えられ、かくし
て高調波振幅乗算回路11から、楽音波形の第1周期目の
1次〜64次の各高調波成分の各サンプル点振幅値に対し
て、それぞれ1次〜64次の高調波係数データをそれぞれ
乗算してなる乗算データ出力S3が得られることになる。
On the other hand, from the basic coefficient memory 21, the 1st to 64th order harmonic coefficient data Q1 (FIG. 3 (A)) are sequentially read according to the clock signal t c, and the harmonic coefficient data S2 is added through the adder circuit 25. Is supplied to the harmonic amplitude multiplication circuit 11 as described above, and from the harmonic amplitude multiplication circuit 11 to the sampling point amplitude values of the 1st to 64th harmonic components of the first period of the tone waveform, A multiplication data output S3 obtained by multiplying each of the second to 64th harmonic coefficient data is obtained.

やがて、アキユムレータ3が楽音波形1周期分の累算を
終えキヤリー信号CAを送出すると、繰返し回数カウンタ
32がカウント動作して繰返し回数カウントデータCVを0
から1に変化させる。このときゲート制御回路49が応動
して出力を論理「0」に立下げることによつてゲート回
路45を開状態に制御する。そこで、補間差分係数メモリ
22の補間差分係数データDDがゲート回路42、加算回路4
4、ゲート回路45を通じて差分累算係数データDSとして
送出される。このとき補間差分係数メモリ22に対するフ
レーム指定データFNOの内容は1であるので、補間差分
係数メモリ22から第1フレームF1に対応する1次〜64次
の補間差分データ(Q2−Q1)/K1が順次読出されて行
く。
Eventually, when the accumulator 3 completes the accumulation of one cycle of the tone waveform and sends out the carrier signal CA, the repetition number counter
32 counts and repeat count data CV becomes 0
Change from 1 to 1. At this time, the gate control circuit 49 responds to drop the output to the logic "0", thereby controlling the gate circuit 45 to the open state. Therefore, the interpolation difference coefficient memory
The interpolation difference coefficient data DD of 22 is the gate circuit 42 and the addition circuit 4
4. The difference accumulation coefficient data DS is transmitted through the gate circuit 45. At this time, since the content of the frame designation data FNO for the interpolation difference coefficient memory 22 is 1, the 1st to 64th order interpolation difference data (Q2-Q1) / K 1 corresponding to the first frame F1 from the interpolation difference coefficient memory 22. Are sequentially read.

従つて、演算回路24の加算回路25には基本係数メモリ21
の基本係数データRDと差分累算係数データDSとが与えら
れることにより、その加算結果が高調波係数データS2と
して高調波振幅乗算回路11に送出される。これと同時に
高調波成分発生回路4は第2周期目の1次〜64次の各高
調波成分についての正弦波形データS1を出力するので、
高調波振幅乗算回路11はこの第2周期目の各高調波成分
に対して高調波係数データQ1(第3図(A))から1ス
テツプ(Q2−Q1)/K1分だけ高調波係数データQ2(第3
図(B))に近づくように変化したスペクトル分布曲線
をもつ高調波係数データS2が乗算されることになる。
Therefore, the adder circuit 25 of the arithmetic circuit 24 has the basic coefficient memory 21
Since the basic coefficient data RD and the cumulative difference coefficient data DS are given, the addition result is sent to the harmonic amplitude multiplication circuit 11 as the harmonic coefficient data S2. At the same time, the harmonic component generating circuit 4 outputs the sine waveform data S1 for each of the first to 64th harmonic components in the second cycle,
The harmonic amplitude multiplication circuit 11 calculates the harmonic coefficient data Q1 (Q2-Q1) / K 1 minute from the harmonic coefficient data Q1 (FIG. 3 (A)) for each harmonic component in the second cycle. Q2 (3rd
The harmonic coefficient data S2 having the spectrum distribution curve changed so as to approach FIG.

例えば、M次の高調波係数について、第8図に示すよう
に、第1周期目の楽音波形が終了した時点t01において
高調波係数データS2の内容がL1から(L2−L1)/K1分だ
け増大する。
For example, as for the Mth-order harmonic coefficient, as shown in FIG. 8, the content of the harmonic coefficient data S2 changes from L 1 to (L 2 −L 1 ) at the time t 01 when the tone waveform of the first cycle ends. / K Increase by 1 minute.

以下同様にして、楽音波形の1周期が終了するごとに、
キヤリー信号CAがアキユムレータ3から繰返し回数カウ
ンタ32に与えられることにより、繰返し回数カウントデ
ータCVの値が1づつ上昇して行くが、フレームカウンタ
37のフレーム指定データFNOは変化しないので、補間差
分係数メモリ22は引続き第1フレームの補間差分係数デ
ータを送出し続ける。
Similarly, every time one cycle of the tone waveform is completed,
When the carrier signal CA is given from the accumulator 3 to the repetition number counter 32, the value of the repetition number count data CV increases by one, but the frame counter
Since the frame designation data FNO of 37 does not change, the interpolation difference coefficient memory 22 continues to send the interpolation difference coefficient data of the first frame.

ところが、ゲート回路42はキヤリー信号CAが発生する
と、その都度計算区間タイミング信号txの1周期Ttx
間だけアンド回路47の出力によつて開制御されるので、
補間差分係数メモリ22からアキユムレータ43に1次〜64
次の各次数についての補間差分データDDが1回だけ入力
されることになる。このとき、アキユムレータ43はデー
タDDが入力されるごとに、これをシフトレジスタ45から
順次送出されてくるデータと各タイムスロツトごとに加
算して差分累算係数データDSとして送出すると同時に、
シフトレジスタ46−加算回路44−ゲート回路45−シフト
レジスタ46のループを通じて循環記憶する。
However, when the carrier signal CA is generated, the gate circuit 42 is controlled to be opened by the output of the AND circuit 47 only for one period T tx of the calculation section timing signal t x each time.
From interpolation difference coefficient memory 22 to accumulator 43 primary to 64
The interpolation difference data DD for each of the following orders will be input only once. At this time, the accumulator 43, every time the data DD is input, adds the data sequentially sent from the shift register 45 to each time slot and sends it as the difference accumulation coefficient data DS, at the same time,
The shift register 46, the adder circuit 44, the gate circuit 45, and the shift register 46 are cyclically stored.

かくして、アキユムレータ43は、楽音波形1周期が終了
するごとに、補間差分係数メモリ22から読出される補間
差分係数データDDを累算することになる。
Thus, the accumulator 43 accumulates the interpolation difference coefficient data DD read from the interpolation difference coefficient memory 22 each time one cycle of the tone waveform is completed.

その結果、第1フレームF1において、例えばM次の高調
波係数について第8図に示すように、アキユムレータ43
の累算動作によつて差分累算係数データDSの内容は、楽
音波形の1周期が終了する時点t02、t03……ごとに補間
差分データ(L2−L1)/K1だけ1ステツプづつ上昇して
行くことになる。
As a result, in the first frame F1, for example, as shown in FIG.
According to the accumulation operation of, the content of the difference accumulation coefficient data DS is the interpolation difference data (L 2 −L 1 ) / K 1 of 1 at each time point t 02 , t 03, ... When one cycle of the tone waveform ends. It will go up step by step.

このようにして上昇して行く差分累算係数データDSは加
算回路25において基本係数データRDと加算して高調波係
数データS2として送出される。その結果、サウンドシス
テム9において発生される楽音の音色が実用上連続的に
変化して行く。
The differential accumulation coefficient data DS rising in this way is added to the basic coefficient data RD in the adder circuit 25 and transmitted as harmonic coefficient data S2. As a result, the timbre of the musical tones generated in the sound system 9 changes continuously in practical use.

やがて、繰返し回数カウンタ32のカウント内容が繰返し
回数指定回路34において指定された繰返し回数K(K1
と一致すると、比較回路33から一致検出出力EQが送出さ
れる。このときこの一致検出出力EQはゲート回路36を通
じてフレームカウンタ37をカウント動作させることによ
りフレーム指定データFNOの内容を1から2に変化させ
る。かくして高調波係数発生回路7は第1フレームの係
数発生動作を終了して次の第2フレームに入る。
Eventually, the count content of the repeat count counter 32 is specified by the repeat count designating circuit 34 as the repeat count K (K 1 ).
If it matches with, the comparison circuit 33 outputs a match detection output EQ. At this time, the coincidence detection output EQ changes the content of the frame designation data FNO from 1 to 2 by counting the frame counter 37 through the gate circuit 36. Thus, the harmonic coefficient generating circuit 7 finishes the coefficient generating operation of the first frame and enters the next second frame.

これと共に一致検出出力EQは遅延回路38において1計算
区間Ttxだけ遅延された後、オア回路39を通じて繰返し
回数カウンタ32をリセツト動作させて繰返し回数カウン
トデータCVの内容を0に戻す。
At the same time, the coincidence detection output EQ is delayed by one calculation section T tx in the delay circuit 38, and then the OR circuit 39 resets the repetition number counter 32 to reset the content of the repetition number count data CV to zero.

ここで、補間差分係数メモリ22はフレーム指定データFN
Oが2に変化したことにより、補間差分係数データDDと
して第2フレームF2に対応して設定された補間差分係数 を読出す状態に制御される。このときも、アキユムレー
タ3からキヤリー信号CAが与えられたことにより、計算
区間タイミング信号txの1周期Ttxだけゲート回路42を
開いて新たな補間差分係数データDDがアキユムレータ43
に入力される。従つて、アキユムレータ43は第2フレー
ムF2に入ると、補間差分係数データDD2を第1フレーム
における累算結果にさらに累算して行く状態になる。
Here, the interpolation difference coefficient memory 22 stores the frame designation data FN
Since O has changed to 2, the interpolation difference coefficient set as the interpolation difference coefficient data DD corresponding to the second frame F2. Is controlled to read. Also at this time, since the carry signal CA is given from the accumulator 3, the gate circuit 42 is opened for one cycle T tx of the calculation interval timing signal t x , and the new interpolation difference coefficient data DD is stored in the accumulator 43.
Entered in. Therefore, when the accumulator 43 enters the second frame F2, the accumulator 43 is in a state of further accumulating the interpolation difference coefficient data DD2 to the accumulation result in the first frame.

そこで、高調波係数データS2は、例えばM次の高調波係
数について第8図に示すように、第2フレームに入つた
時点t1から楽音波形の1周期が終了する時点ごとに、補
間差分係数データ(L3−L2)/K2だけ変化して行くこと
になる。なお、第4図(B)の場合、差分データL3−L2
は負極性であるので差分累算係数データDSは第1フレー
ムの累算結果から補間差分係数データDDだけ1ステツプ
づつ低下して行くことになる。
Therefore, the harmonic coefficient data S2, for example the M-order harmonic coefficient, as shown in FIG. 8, each time the one period of the sound waveform from NyuTsuta time t 1 to the second frame ends, the interpolation differential coefficient data (L 3 -L 2) / K 2 will be only going to change. In the case of FIG. 4 (B), the difference data L 3 −L 2
Has a negative polarity, the difference accumulation coefficient data DS is decreased by one step from the accumulation result of the first frame by the interpolation difference coefficient data DD.

このような動作は、繰返し回数指定回路34の繰返し回数
指定データKの内容が第2フレームについての値K2に切
換られていることにより、繰返し回数カウンタ32の繰返
し回数カウントデータCVがこの値K2と一致するまで続け
られる。従つて、高調波係数発生回路7から出力される
第2フレームF2についての各次数の高調波係数データS2
の値は、それぞれ第1フレームF1の変化とは異なるステ
ツプ値で変化して行くことになり、それによりサウンド
システム9から発生される楽音の音色を第1フレームの
変化の仕方とは異なる変化の仕方で変化させることがで
きる。
In such an operation, since the content of the repeat number designating data K of the repeat number designating circuit 34 is switched to the value K 2 for the second frame, the repeat number count data CV of the repeat number counter 32 is set to this value K 2. Continue until 2 is matched. Therefore, the harmonic coefficient data S2 of each order for the second frame F2 output from the harmonic coefficient generating circuit 7
Values of the musical tones generated from the sound system 9 are different from those of the first frame F1 by the step values different from those of the first frame F1. Can be changed in any way.

以下、第3フレームF3……第NフレームFNについても同
様の動作が繰返され、やがて第2図の時点tNにおいて第
NフレームNFが終了すると、フレームカウンタ37のフレ
ーム指定データFNOの内容が(N+1)になり、これを
最終フレーム検出回路40が検出する。この検出出力FDは
ゲート回路36を閉じることにより、その後フレームカウ
ンタ37はカウント動作をできなくなり、フレーム指定デ
ータFNOの内容が固定される。
Hereinafter, the same operation is repeated for the third frame F3 ... Nth frame FN, and when the Nth frame NF ends at time t N in FIG. 2, the contents of the frame designation data FNO of the frame counter 37 ( N + 1), and the final frame detection circuit 40 detects this. This detection output FD closes the gate circuit 36, so that the frame counter 37 can no longer perform the count operation and the content of the frame designation data FNO is fixed.

このとき、補間差分係数メモリ22は補間差分係数データ
DDとして数値データ0を出力する。そこで、アキユムレ
ータ43は実質上新たな累算動作を行なわないことにな
り、結局第(N+1)フレームにおいては第Nフレーム
の最終周期における累算結果がそのまま記憶保持され
る。
At this time, the interpolation difference coefficient memory 22 stores the interpolation difference coefficient data.
Numerical data 0 is output as DD. Therefore, the accumulator 43 does not substantially perform a new accumulation operation, and consequently, in the (N + 1) th frame, the accumulation result in the final cycle of the Nth frame is stored and held as it is.

そこで、例えばM次の高調波係数については第8図に示
すように、第NフレームFNにおいて最後に補間差分デー
タ(LN−LN-1)/KNをアキユムレータ43において累算し
た結果得られる値LNを、時点tN以後の第(N+1)フレ
ームF(N+1)においても維持する状態になる。
Therefore, for example, for the M-th order harmonic coefficient, as shown in FIG. 8, the result of accumulating the interpolated difference data (L N −L N−1 ) / K N at the end in the Nth frame FN is obtained by the accumulator 43 The value L N to be maintained is maintained even in the (N + 1) th frame F (N + 1) after the time t N.

この結果、サウンドシステム9から発生される楽音の音
色はキーが離鍵操作されるまで同一音色の状態に維持さ
れる。
As a result, the tone color of the tone generated from the sound system 9 is maintained in the same tone color until the key is released.

以上のように第1図の構成によれば、楽音信号に含まれ
る各高調波成分の振幅を各フレームごとに変化させると
同時に、同一フレーム内においても連続的に変化させる
ことができるので、自然楽器における楽音に近似した楽
音をサウンドシステム9から発生させることができる。
かくするにつき、基本係数メモリ21には1次〜64次の基
本高調波係数データQ1(第4図(A))を1組だけ記憶
しておけば良く、その他の記憶データとしては各フレー
ムごとに変化幅の小さい1組の補間差分データを補間差
分係数メモリ22に記憶するだけで済むので、高調波係数
発生回路7全体としてのメモリ容量を容易に小容量化し
得る。
As described above, according to the configuration of FIG. 1, since the amplitude of each harmonic component included in the musical tone signal can be changed for each frame, the amplitude can be continuously changed within the same frame. It is possible to generate from the sound system 9 a musical tone that is similar to the musical tone of a musical instrument.
Therefore, the basic coefficient memory 21 needs to store only one set of the fundamental harmonic coefficient data Q1 (1st to 64th) of the 1st to 64th order, and the other stored data is each frame. Since it is only necessary to store a set of interpolation difference data having a small change width in the interpolation difference coefficient memory 22, it is possible to easily reduce the memory capacity of the harmonic coefficient generating circuit 7 as a whole.

第2実施例 第9図はこの発明の他の実施例を示すもので、フレーム
数及び各フレームにおける繰返し回数を各次数ごとに設
定できるようにしたものである。かくして、高調波係数
の変化が複雑な次数については、楽音信号の発生から終
了までを多数のフレームに分けると共に、各フレームの
長さを短かくする。これに対して高調波係数の変化が比
較的単調に変化する次数については少ないフレームに分
けて各フレームの長さを長くする。
Second Embodiment FIG. 9 shows another embodiment of the present invention, in which the number of frames and the number of repetitions in each frame can be set for each order. Thus, regarding the order in which the change of the harmonic coefficient is complicated, the period from the generation of the tone signal to the end thereof is divided into a number of frames, and the length of each frame is shortened. On the other hand, regarding the order in which the change of the harmonic coefficient changes relatively monotonically, the length of each frame is increased by dividing it into a small number of frames.

この実施例の場合この高調波係数の変化は、第5図につ
いて上述した繰返し回数K1〜KNをそれぞれ次数ごとに必
要に応じて異なる値に選定し、かくして各フレームにお
ける補間差分データを互いに異ならしめるように設定す
る。
In the case of this embodiment, the change in the harmonic coefficient is made by selecting the number of repetitions K 1 to K N described above with reference to FIG. 5 to different values as needed for each order, and thus interpolating difference data in each frame are mutually different. Set so that they are different.

第1図との対応部分に同一符号を付して示す第9図にお
いて、繰返し回数カウンタ32は64ステージのシフトレジ
スタ55を有する。シフトレジスタ55はクロツク信号tc
よつてシフト動作し、これにより入力されたデータを計
算区間タイミング信号txの1周期分の時間Ttxだけ遅延
して出力する。シフトレジスタ55の出力は加算回路56に
おいて「+1」加算入力S15と加算され、その加算結果
がゲート回路57を通じてシフトレジスタ55の入力端に戻
される。これによりシフトレジスタ55の入力端にはシフ
トレジスタ55から1次〜64次の繰返し回数データが出力
されるごとにそのデータに「+1」したデータが得られ
る。このシフトレジスタ55への入力データは繰返し回数
カウントデータCVとして比較回路33に与えられる。「+
1」加算入力S15はキヤリー信号CAを微分回路60におい
て微分してタイミング信号txの1周期Ttxの間立上る信
号として得られる。
In FIG. 9 in which parts corresponding to those in FIG. 1 are designated by the same reference numerals, the repetition number counter 32 has a shift register 55 of 64 stages. The shift register 55 shifts according to the clock signal t c, and delays the input data by the time T tx corresponding to one cycle of the calculation interval timing signal t x and outputs it. The output of the shift register 55 is added to the “+1” addition input S15 in the adder circuit 56, and the addition result is returned to the input terminal of the shift register 55 through the gate circuit 57. As a result, every time the shift register 55 outputs the 1st to 64th repeat count data to the input end of the shift register 55, data obtained by adding "+1" to the data is obtained. The input data to the shift register 55 is given to the comparison circuit 33 as the repeat count data CV. "+
The 1 ”addition input S15 is obtained as a signal which is generated by differentiating the carrier signal CA in the differentiating circuit 60 during one period T tx of the timing signal t x .

一方、繰返し回数指定回路34は第1〜第64次の各高調波
に対応する繰返し回数指定データを予め格納しており、
このデータを次数カウンタ6の次数データnによつて指
定して読出すことができるようになされている。
On the other hand, the repeat count designating circuit 34 stores repeat count designating data corresponding to the first to 64th harmonics in advance,
This data can be designated and read by the order data n of the order counter 6.

そこで、比較回路33は1次〜64次の各高調波に対応する
各タイムスロツトにおいてそれぞれ繰返し回数カウント
データCVと繰返し回数指定データKとを比較することに
なる。
Therefore, the comparison circuit 33 compares the repeat count data CV with the repeat count designation data K at each time slot corresponding to each of the first to 64th harmonics.

従つて、各次数に対応するタイムスロツトごとに比較回
路33から一致検出出力EQが得られ、これが遅延回路37に
おいて計算区間タイミング信号txの1周期分の時間Ttx
だけ遅延された後オア回路58を介してインバータ59に与
えられ、その出力がゲート回路57のイネーブル端子に与
えられる。これにより、一致検出出力EQが得られたタイ
ムスロツトにおいて、ゲート回路57を閉動作させてシフ
トレジスタ55の当該タイムスロツトに対応する次数のデ
ータを0にリセツトさせる。
Therefore, the coincidence detection output EQ is obtained from the comparison circuit 33 for each time slot corresponding to each order, and this is the time T tx for one cycle of the calculation section timing signal t x in the delay circuit 37.
After being delayed by only, it is given to the inverter 59 via the OR circuit 58, and its output is given to the enable terminal of the gate circuit 57. As a result, at the time slot where the coincidence detection output EQ is obtained, the gate circuit 57 is closed to reset the data of the order corresponding to the time slot of the shift register 55 to 0.

これに加えて、ゲート回路57のイネーブル端子にはオア
回路58、インバータ59を通じて反転したキーオンパルス
信号KONPが与えられ、これによりいずれかのキーが操作
されたとき計算区間タイミング信号txの1周期区間Ttx
の間ゲート回路57を閉動作してシフトレジスタ55の全て
のステージを0にリセツトする。
In addition to this, the enable terminal of the gate circuit 57 is supplied with the inverted key-on pulse signal KONP through the OR circuit 58 and the inverter 59, and when any key is operated by this, one cycle of the calculation interval timing signal t x . Interval T tx
During this period, the gate circuit 57 is closed to reset all stages of the shift register 55 to 0.

これに対して、フレームカウンタ37は繰返し回数カウン
タ32と同様にシフトレジスタ61、「+1」加算回路62、
ゲート回路63を有し、加算回路62の「+1」加算入力と
して比較回路33の一致検出出力EQがゲート回路36を通じ
て与えられる。ゲート回路63のイネーブル端子にはキー
オンパルス信号KONPがインバータ64によつて反転されて
与えられ、いずれかのキーが操作されたとき計算区間タ
イミング信号txの1周期Ttxの間ゲート回路63が閉動作
することにより、シフトレジスタ61の1次〜64次のフレ
ーム指定データFNOが全て0にリセツトされる。その後
比較回路33に一致検出出力EQが得られるごとに加算回路
62がシフトレジスタ61の出力端に得られるデータに数値
データ「+1」が加算される。
On the other hand, the frame counter 37 has a shift register 61, a “+1” addition circuit 62,
It has a gate circuit 63, and the coincidence detection output EQ of the comparison circuit 33 is given through the gate circuit 36 as the “+1” addition input of the addition circuit 62. The key-on pulse signal KONP is inverted and given to the enable terminal of the gate circuit 63 by the inverter 64, and when any key is operated, the gate circuit 63 is supplied for one cycle T tx of the calculation interval timing signal t x. By performing the closing operation, all the 1st to 64th order frame designation data FNO of the shift register 61 are reset to 0. After that, every time the coincidence detection output EQ is obtained in the comparison circuit 33, an addition circuit
Numerical data "+1" is added to the data obtained at the output terminal of the shift register 61.

ここで、比較回路33は1次〜64次に対応する各タイムス
ロツトごとにそれぞれ一致検出出力EQを送出するので、
シフトレジスタ61の1次〜64次のフレーム指定データFN
Oの内容は各次数ごとに独立して変更されて行く。従つ
て、補間差分係数メモリ22から読出される補間差分係数
データDDも各次数ごとにそれぞれ異なるフレームに関す
るものとなる。
Here, since the comparison circuit 33 sends out the coincidence detection output EQ for each time slot corresponding to the 1st to 64th order,
Frame designation data FN from the 1st to the 64th of the shift register 61
The contents of O are changed independently for each order. Therefore, the interpolation difference coefficient data DD read from the interpolation difference coefficient memory 22 also relates to different frames for each order.

さらに、最終フレーム検出回路40は次数カウンタ6の次
数データnを受けて各次数ごとに予め記憶されている最
終フレームを表すデータと、フレーム指定データFNOと
を各次数に対応するタイムスロツトにおいてそれぞれ検
出する。この結果、フレーム指定データFNOのうち最終
フレームに到達した次数のタイムスロツトにおいて最終
フレーム検出信号FDが得られると、当該タイムスロツト
の間だけゲート回路36を閉動作させることによつて当該
タイムスロツトに対応する次数のフレーム指定データFN
Oに対する「+1」加算動作を実行できないように制御
する。
Further, the final frame detection circuit 40 receives the order data n of the order counter 6 and detects the data representing the final frame stored in advance for each order and the frame designation data FNO at the time slot corresponding to each order. To do. As a result, when the final frame detection signal FD is obtained in the time slot of the order that reaches the final frame of the frame designation data FNO, the gate circuit 36 is closed only during the time slot to close the time slot. Corresponding degree frame designation data FN
Control so that the "+1" addition operation for O cannot be executed.

以上の構成において、いずれかのキーが操作されると、
このとき発生されるキーオンパルス信号KONPによつて繰
返し回数カウンタ32のゲート回路57が閉制御されると共
に、フレームカウンタ37のゲート回路63が閉制御され
る。従つて、繰返し回数カウンタ32はアキユムレータ3
からキヤリー信号CAが発生されるごとに微分回路60から
計算区間タイミング信号txの1周期Ttxの間与えられる
「+1」入力S15によつてシフトレジスタ55の各次数に
対応するタイムスロツトのデータに対して加算動作が繰
返され、かくして各次数の繰返し回数カウントデータCV
の内容が楽音波形の1周期ごとに1づつ大きくなつて行
く。
In the above configuration, when any key is operated,
The gate circuit 57 of the repeat counter 32 is closed and the gate circuit 63 of the frame counter 37 is closed by the key-on pulse signal KONP generated at this time. Therefore, the repeat counter 32 is the accumulator 3
Each time the carrier signal CA is generated from the differential circuit 60, the data of the time slot corresponding to each order of the shift register 55 is given by the "+1" input S15 given for one period T tx of the calculation interval timing signal t x. The addition operation is repeated with respect to the
The content of becomes larger by one for each period of the musical tone waveform.

これに対して、フレームカウンタ37のゲート回路63がキ
ーオンパルス信号KONPによつて閉動作することによつ
て、シフトレジスタ61の各ステージの内容が0にクリア
される。従つてフレームカウンタ37は第1フレームF1を
内容とする各次数ごとのフレーム指定データFNOを繰返
し回数指定回路34に送出する。
On the other hand, when the gate circuit 63 of the frame counter 37 is closed by the key-on pulse signal KONP, the contents of each stage of the shift register 61 are cleared to zero. Therefore, the frame counter 37 sends the frame designation data FNO for each order having the first frame F1 as the content to the repetition number designation circuit 34.

このとき、繰返し回数指定回路34は各タイムスロツトご
とに指定される次数データnによつて読出された繰返し
回数指定データKを比較回路33に送出する。かくして比
較回路33において各タイムスロツトにおいて各次数ごと
にそれぞれ第1フレームF1について設定された繰返し回
数と、繰返し回数カウンタ32の内容が一致したかどうか
を検出して行く。やがて、いずれかのタイムスロツトに
おいて一致検出出力EQが得られると、これが「+1」加
算データとしてフレームカウンタ37の加算回路62に与え
られ、シフトレジスタ61の当該タイムスロツトの次数に
対応する内容に数値1を加算する。
At this time, the repeat count designating circuit 34 sends the repeat count designating data K read according to the order data n designated for each time slot to the comparing circuit 33. Thus, the comparison circuit 33 detects whether or not the number of repetitions set for the first frame F1 for each order in each time slot and the content of the number-of-repetitions counter 32 match. Eventually, when the coincidence detection output EQ is obtained at any of the time slots, this is given to the adder circuit 62 of the frame counter 37 as "+1" addition data, and the content of the shift register 61 corresponding to the order of the time slot is set to a numerical value. Add 1

これと同時に当該タイムスロツトの一致検出出力EQが遅
延回路38、オア回路58、インバータ59を通じてゲート回
路57に与えられ、これにより当該タイムスロツトの次数
に対応するレジスタ55の内容を0にクリアさせる。従つ
て、繰返し回数カウンタ32は当該次数について新なカウ
ント動作を開始する。
At the same time, the coincidence detection output EQ of the time slot is given to the gate circuit 57 through the delay circuit 38, the OR circuit 58, and the inverter 59, thereby clearing the contents of the register 55 corresponding to the order of the time slot to zero. Therefore, the repeat counter 32 starts a new counting operation for the order.

以下同様にして、各次数に対応するタイムスロツトごと
に一致検出信号EQが得られると、当該タイムスロツトの
次数についてフレームカウンタ37のレジスタ61の内容を
1だけ増大させると共に、繰返し回数カウンタ32の繰返
し回数データを0にクリアして新なカウントを開始させ
て行く。これにより、フレーム指定データFNOの内容が
各次数ごとに1だけ増大して繰返し回数指定回路34に対
して第2フレームF2を指定すると共に、当該第2フレー
ムF2における各次数の繰返し回数を繰返し回数カウンタ
32においてカウント開始させる。
Similarly, when the coincidence detection signal EQ is obtained for each time slot corresponding to each order, the content of the register 61 of the frame counter 37 is incremented by 1 and the repetition number counter 32 repeats for the order of the time slot. Clear the count data to 0 and start a new count. As a result, the content of the frame designation data FNO is incremented by 1 for each order, the second frame F2 is designated to the repeat count designating circuit 34, and the repeat count of each order in the second frame F2 is repeated. counter
Start counting at 32.

かかる動作は以後繰返され、やがて各次数のフレーム指
定データFNOのうちの1つが最終フレームになると、こ
れを最終フレーム検出回路40が検出して最終フレーム検
出信号FDによつてゲート回路36を閉動作させると共に、
演算回路24のゲート回路42を閉動作させる。これによ
り、フレームカウンタ37は当該次数については以後1加
算を行わないように制御する。これと同時に、アキユム
レータ43においても同様に新たな累算を行わないように
制御することによつて以後同じ値の差分累算係数データ
DSを送出させる。
This operation is repeated thereafter, and when one of the frame designating data FNO of each order finally becomes the final frame, the final frame detection circuit 40 detects this and closes the gate circuit 36 by the final frame detection signal FD. And let
The gate circuit 42 of the arithmetic circuit 24 is closed. As a result, the frame counter 37 controls so that the order is not incremented by 1 thereafter. At the same time, the accumulator 43 is controlled not to perform new accumulation in the same manner, so that the difference accumulation coefficient data of the same value can be obtained thereafter.
Send DS.

かかる動作は各次数に対応するフレーム指定データFNO
の内容が最終フレームに到達するごとに当該次数につい
て行なわれ、かくして1次〜64次の全部についての高調
波係数データS2の発生を終了する。
This operation is performed by the frame designation data FNO corresponding to each order.
Is performed for each relevant order each time the content reaches the final frame, thus ending the generation of the harmonic coefficient data S2 for all the 1st to 64th orders.

以上のように第9図の構成によれば、1次〜64次の各次
数それぞれについて、各フレームの繰返し回数を必要に
応じて任意に設定できると共に、フレームの数も各次数
ごとに互いに独立に設定できるので、サウンドシステム
9において発生される楽音の発生時から終了に至るまで
の音色の変化を自然楽器の音にさらに一段と近づけるこ
とができる。
As described above, according to the configuration of FIG. 9, it is possible to arbitrarily set the number of repetitions of each frame for each of the 1st to 64th orders, and the number of frames is also independent of each other. Since it can be set to, the change of the tone color from the time of the generation of the musical sound generated in the sound system 9 to the end thereof can be brought closer to the sound of the natural musical instrument.

因に、自然楽器においては高次の高調波成分ほど速い変
化をする傾向があると共に、楽音の立上り時には高次の
高調波成分の振幅が大きい傾向があるが、第9図の構成
によれば、各フレームにおいて次数ごとに高調波成分の
変化が異なることに基づいて音色が変化する現象を容易
に実現し得る。
Incidentally, in natural musical instruments, higher-order harmonic components tend to change more rapidly, and the amplitude of higher-order harmonic components tends to be larger when a musical sound rises. However, according to the configuration of FIG. It is possible to easily realize the phenomenon in which the timbre changes based on the change in the harmonic component for each order in each frame.

第3実施例 第10図は第3の実施例を示す。第1図及び第9図の実施
例においては、隣合うフレームについての高調波係数の
差分を当該フレームにおける繰返し回数で割つた補間差
分係数を各次数ごとに補間差分係数メモリ22に記憶した
が、第10図の場合はこれに代え、隣合うフレームにおけ
る高調波係数の差分を各次数ごとに直接記憶する差分係
数メモリ67を設ける。
Third Embodiment FIG. 10 shows a third embodiment. In the embodiment shown in FIGS. 1 and 9, the interpolation difference coefficient obtained by dividing the difference between the harmonic coefficients of adjacent frames by the number of repetitions in the frame is stored in the interpolation difference coefficient memory 22 for each order. In the case of FIG. 10, instead of this, a difference coefficient memory 67 for directly storing the difference between the harmonic coefficients in adjacent frames for each order is provided.

差分係数メモリ67から読出された差分係数データDF1は
最終フレーム検出信号FDをインバータ68を通じてイネー
ブル端子に受けるゲート回路69を通じて乗算回路70に与
えられる。この乗算回路70は乗算係数発生回路71から与
えられる乗算係数データMCをデータDF1に乗算し、その
乗算結果を加算回路72に第1の加算入力として与える。
The difference coefficient data DF1 read from the difference coefficient memory 67 is given to the multiplication circuit 70 through the gate circuit 69 which receives the final frame detection signal FD at the enable terminal through the inverter 68. The multiplication circuit 70 multiplies the data DF1 by the multiplication coefficient data MC given from the multiplication coefficient generation circuit 71, and gives the multiplication result to the addition circuit 72 as a first addition input.

繰返し回数カウントデータCVは各フレームにおいて楽音
波形の1周期が終了するごとに0からKに向つてCV/
(K−1)づつ増大して行くので、乗算係数データMC
(MC=CV/(K−1)はこれに応じて0から1に向つて
増大して行くことになる。そこで乗算回路70の出力端に
得られる差分係数データMSXは各フレームごとに0から
差分係数データDF1に変化して行くことになる。
The repeat count data CV changes from 0 to K CV / K at each end of one cycle of the tone waveform in each frame.
(K-1) Since it increases in increments, the multiplication coefficient data MC
(MC = CV / (K-1) accordingly increases from 0 to 1. The difference coefficient data MSX obtained at the output end of the multiplication circuit 70 is changed from 0 to 0 for each frame. It will change to the difference coefficient data DF1.

これに対して、基本係数メモリ21の基本係数データRDは
ゲート回路73を通じて第2の加算入力として加算回路72
に与えられる。ゲート回路73のイネーブル端子にはキー
オンパルス信号KONPが与えられ、これによりいずれかの
キーが操作された後の最初のタイミング信号txの1周期
の時間Ttxだけゲート回路73が開動作して基本係数デー
タRDが加算回路72に第2の加算入力として与えられる。
On the other hand, the basic coefficient data RD of the basic coefficient memory 21 is added as the second addition input through the gate circuit 73 to the addition circuit 72.
Given to. A key-on pulse signal KONP is given to the enable terminal of the gate circuit 73, which causes the gate circuit 73 to open for the time T tx of one cycle of the first timing signal t x after any key is operated. The basic coefficient data RD is given to the adding circuit 72 as a second addition input.

加算回路72の加算出力は高調波係数データS2として高調
波振幅乗算回路11に送出されるが、この高調波係数デー
タS2はセレクタ74のA入力端に与えられる。セレクタ74
の選択出力は64ステージ構成のシフトレジスタ75に入力
される。シフトレジスタ75はクロツク信号tcよつてシフ
ト動作し、かくしてシフトレジスタ75の入力端に順次到
来する各次数のデータがタイミング信号txの1周期Ttx
分だけ遅延され、記憶データMRとしてゲート回路76を通
じて加算回路72に第3の加算入力として与えられると共
に、セレクタ74のB入力端に与えられる。
The addition output of the adding circuit 72 is sent to the harmonic amplitude multiplying circuit 11 as the harmonic coefficient data S2, and this harmonic coefficient data S2 is given to the A input terminal of the selector 74. Selector 74
The selection output of is input to the shift register 75 having a 64-stage configuration. The shift register 75 shifts according to the clock signal t c , and thus the data of each order sequentially arriving at the input end of the shift register 75 is one cycle T tx of the timing signal t x.
It is delayed by an amount, and is given as the storage data MR to the adder circuit 72 through the gate circuit 76 as the third addition input and also to the B input terminal of the selector 74.

セレクタ74にはA入力選択信号として一致検出信号EQ及
びキーオンパルス信号KONPがオア回路77を通じて与えら
れ、またB入力選択信号としてオア回路77の出力がイン
バータ78によつて反転されて与えられる。
The coincidence detection signal EQ and the key-on pulse signal KONP are given to the selector 74 as the A input selection signal through the OR circuit 77, and the output of the OR circuit 77 is inverted by the inverter 78 as the B input selection signal.

かくして、セレクタ74はいずれかのキーが操作されたと
き、高調波係数データS2(基本係数データRD)を選択し
てシフトレジスタ75に取込み、その後シフトレジスタ75
の出力をセレクタ74を介してシフトレジスタ75の入力端
にフイードバツクすることによつて循環的に記憶し、か
くして各フレームが終了するごとに発生する一致検出信
号EQによつて再度高調波係数データS2をセレクタ74を通
じてシフトレジスタ75に取込み、その後次の一致検出信
号EQが得られるまでこのデータを循環的に記憶する。
Thus, when one of the keys is operated, the selector 74 selects the harmonic coefficient data S2 (basic coefficient data RD) and fetches it in the shift register 75, and then the shift register 75.
The output of the above is cyclically stored by feeding back to the input end of the shift register 75 through the selector 74, and the harmonic coefficient data S2 is again stored by the coincidence detection signal EQ generated at the end of each frame. Is taken into the shift register 75 through the selector 74, and then this data is cyclically stored until the next coincidence detection signal EQ is obtained.

ゲート回路76のイネーブル端子にはキーオンパルス信号
KONPがインバータ79を介して与えられ、キーオンパルス
信号KONPが到来したときだけゲート回路76を閉動作させ
るようになされている。
A key-on pulse signal is applied to the enable terminal of the gate circuit 76.
KONP is given through the inverter 79, and the gate circuit 76 is closed only when the key-on pulse signal KONP arrives.

第10図の構成において、いずれかのキーが操作されてキ
ーオンパルスKONPが発生すると、ゲート回路73が開いて
基本係数メモリ21の基本係数データRDが各タイムスロツ
ト(各次数)ごとに加算回路72に入力される。このとき
ゲート回路76はキーオンパルス信号KONPによつて閉制御
され、シフトレジスタ75の出力は加算回路72には与えら
れない。これに対して差分係数メモリ67の差分係数デー
タDF1はゲート回路69を通じて乗算回路70において乗算
係数データMCと乗算されて重みづけされ、差分係数デー
タMSXとして加算回路72に与えられる。ところが初期時
には繰返し回数カウントデータCVの値は0であるので差
分係数データMSXも0となり、結局加算回路72は基本係
数データRDをそのまま高調波係数データS2として送出す
る。この状態においてセレクタ74はB入力端のデータす
なわちシフトレジスタ75の出力端のデータMRを選択して
シフトレジスタ75の入力にフイードバツクし、かくして
シフトレジスタ75が基本係数データRDを循環記憶する状
態になる。
In the configuration of FIG. 10, when any key is operated and a key-on pulse KONP is generated, the gate circuit 73 is opened and the basic coefficient data RD of the basic coefficient memory 21 is added to the addition circuit 72 for each time slot (each order). Entered in. At this time, the gate circuit 76 is controlled to be closed by the key-on pulse signal KONP, and the output of the shift register 75 is not given to the adding circuit 72. On the other hand, the difference coefficient data DF1 of the difference coefficient memory 67 is multiplied by the multiplication coefficient data MC in the multiplication circuit 70 through the gate circuit 69 and weighted, and is given to the addition circuit 72 as difference coefficient data MSX. However, since the value of the repeat count data CV is 0 at the initial stage, the difference coefficient data MSX also becomes 0, and the adder circuit 72 sends the basic coefficient data RD as it is as the harmonic coefficient data S2. In this state, the selector 74 selects the data at the B input end, that is, the data MR at the output end of the shift register 75, and feeds it back to the input of the shift register 75, and thus the shift register 75 enters a state in which the basic coefficient data RD is cyclically stored. .

この初期時においては、セレクタ74がキーオンパルス信
号KONPによつてA入力を選択しているので、この高調波
係数データS2がセレクタ74を通じてシフトレジスタ75に
順次取込まれて行く。
In this initial stage, the selector 74 selects the A input by the key-on pulse signal KONP, so that the harmonic coefficient data S2 is sequentially taken into the shift register 75 through the selector 74.

やがて、キーオンパルス信号KONPの立上り区間が過ぎる
と、ゲート回路73が閉動作して基本係数データRDが加算
回路72に入力されなくなると同時に、インバータ79を介
してゲート回路76が開動作することにより、シフトレジ
スタ75のデータMRがゲート回路76を通じて加算回路72に
入力される。これにより基本係数データRDに基づいて決
まる1次〜64次の高調波係数でなる高調波係数データS2
が送出される。
Eventually, when the rising section of the key-on pulse signal KONP passes, the gate circuit 73 is closed and the basic coefficient data RD is not input to the adder circuit 72, and at the same time, the gate circuit 76 is opened via the inverter 79. The data MR of the shift register 75 is input to the adder circuit 72 through the gate circuit 76. As a result, the harmonic coefficient data S2 consisting of the 1st to 64th harmonic coefficients determined based on the basic coefficient data RD
Is sent.

ここで、シフトレジスタ75から加算回路72に入力される
データMRは1計算区間Ttx前のデータすなわち基本係数
データRDであり、加算回路72はこの基本係数データRDに
差分係数データMSXを加算する状態になる。この場合、
繰返し回数カウンタ32がカウント動作することによつて
繰返し回数カウントデータCVが0から1に変化するの
で、乗算係数データMCの値が1/(K−1)に変化し、こ
の分差分係数データMSXの値が1ステツプだけ大きくな
る。この差分係数データMSXは記憶データMR(MR=RD)
と加算され、かくして高調波係数データS2が差分係数デ
ータMSXが変化した分変化することになる。
Here, the data MR input from the shift register 75 to the adder circuit 72 is the data one calculation section T tx before, that is, the basic coefficient data RD, and the adder circuit 72 adds the differential coefficient data MSX to this basic coefficient data RD. It becomes a state. in this case,
Since the repeat count counter 32 counts, the repeat count data CV changes from 0 to 1. Therefore, the value of the multiplication coefficient data MC changes to 1 / (K-1), and this difference coefficient data MSX Is increased by one step. This difference coefficient data MSX is stored data MR (MR = RD)
Thus, the harmonic coefficient data S2 is changed by the change of the difference coefficient data MSX.

以後、楽音波形の1周期が経過するごとに繰返し回数カ
ウントデータCVが1づつ増大して行くことによつて乗算
係数データMCが1ステツプづつ増大して行くので、差分
係数データMSXはこれに応じて1/(K−1)づつ変化し
て行く。従つて高調波係数データS2は基本係数データRD
の値(第3図(A))から第2フレームF2の最初の値
(第3図(B))に近づいて行く。
After that, the multiplication coefficient data MC increases by one step as the repetition count data CV increases by one each time one cycle of the musical tone waveform elapses. Therefore, the difference coefficient data MSX responds to this. Then change by 1 / (K-1). Therefore, the harmonic coefficient data S2 is the basic coefficient data RD.
Value (FIG. 3 (A)) approaches the first value (FIG. 3 (B)) of the second frame F2.

やがて、第1フレームF1の繰返し回数K1だけ楽音波形が
発生されて比較回路33において一致検出信号EQが得られ
ると、その一致検出信号EQによつてセレクタ74がA入力
を選択することにより第1フレームF1の最後の高調波係
数データS2をシフトレジスタ75に取込む。一方、フレー
ム指定データFNOが1だけ増大することにより差分係数
メモリ67から第2フレームF2に関する新たな差分係数デ
ータDF1が出力される。従つて、演算回路24は第2フレ
ームF2において第1フレームF1の最後の高調波係数デー
タS2に対して乗算係数データMCの変化に基づいて得られ
る差分係数データMSXを加算して得られる高調波係数デ
ータS2を送出することになる。
Eventually, when a musical tone waveform is generated for the number K 1 of repetitions of the first frame F1 and the coincidence detection signal EQ is obtained in the comparison circuit 33, the selector 74 selects the A input by the coincidence detection signal EQ. The last harmonic coefficient data S2 of one frame F1 is taken into the shift register 75. On the other hand, when the frame designation data FNO is increased by 1, the difference coefficient memory 67 outputs new difference coefficient data DF1 for the second frame F2. Therefore, the arithmetic circuit 24 adds the difference coefficient data MSX obtained based on the change of the multiplication coefficient data MC to the last harmonic coefficient data S2 of the first frame F1 in the second frame F2 to obtain the higher harmonic wave. The coefficient data S2 will be transmitted.

以下同様にして、第3……第NフレームF3……FNについ
ての演算を演算回路24が実行し、かくして第2図〜第5
図について上述した補間演算に基づいて連続的に変化す
る高調波係数データを得ることができ、これにより自然
楽器に近い音色変化を呈する楽音を形成することができ
る。
In the same manner, the arithmetic circuit 24 executes the arithmetic operations for the third ... Nth frame F3 ... FN, and thus, FIGS.
It is possible to obtain harmonic coefficient data that continuously changes based on the interpolation calculation described above with reference to the drawings, and thereby it is possible to form a musical tone exhibiting a tone color change close to that of a natural musical instrument.

なお、第10図において乗算係数発生回路71として乗算係
数データMCをCV/(K−1)の演算式に基づいて得るよ
うにした場合について述べたが、この演算式は必要に応
じて変更することができる。
Note that, in FIG. 10, the case where the multiplication coefficient data MC is obtained based on the arithmetic expression of CV / (K-1) as the multiplication coefficient generating circuit 71 is described, but this arithmetic expression is changed as necessary. be able to.

また、乗算係数発生回路71において乗算係数データMCを
形成するにつき、乗算係数データをルツクアツプテーブ
ルを構成する乗算係数メモリに記憶させ、これを繰返し
回数カウントデータCV及び繰返し回数指定データKによ
つて読出すようにしてもよい。
Further, when forming the multiplication coefficient data MC in the multiplication coefficient generation circuit 71, the multiplication coefficient data is stored in the multiplication coefficient memory forming the lookup table, and this is stored by the repetition number count data CV and the repetition number designation data K. It may be read.

第4実施例 演算回路24として第11図の構成のものを適用し得る。こ
の場合、差分係数メモリ81は、第1〜第NのフレームF1
〜FNにおける高調波係数と所定の基本係数との差分デー
タをそれぞれ第1〜第Nフレームに対応させて予め記憶
している。そして、フレーム指定データFNOによつて1
つのフレームが指定されたとき、当該フレームの差分係
数データDF2と当該フレームのフレーム番号より1だけ
大きいフレーム番号の差分係数データDF3を同時に読出
す。第1の差分係数データDF2は直接加算回路82に第1
の加算入力として与えられる。
Fourth Embodiment The arithmetic circuit 24 having the configuration shown in FIG. 11 can be applied. In this case, the difference coefficient memory 81 uses the first to Nth frames F1.
The difference data between the harmonic coefficient in FN to FN and a predetermined basic coefficient are stored in advance in association with the first to Nth frames. Then, according to the frame designation data FNO, 1
When one frame is designated, the difference coefficient data DF2 of the frame and the difference coefficient data DF3 of the frame number which is larger by 1 than the frame number of the frame are read at the same time. The first difference coefficient data DF2 is first added to the direct addition circuit 82.
Given as the addition input of.

これに対して、第1及び第2の差分係数データDF2及びD
F3が減算回路83において減算され、その減算出力が乗算
係数発生回路85において発生される乗算係数データMCと
乗算される。乗算係数発生回路85は第10図について上述
した乗算係数発生回路71と同じ構成のものを適用し得
る。従つて、乗算回路84の出力端には差分係数データDF
3及びDF2の減算値に乗算係数CV/(K−1)を乗算する
ことによつて繰返し回数カウントデータCVが変化するご
とに1ステツプづつ変化する補間差分データDSYが得ら
れ、これがゲート回路86を通じて加算回路82に第2の加
算入力として与えられる。
On the other hand, the first and second difference coefficient data DF2 and D
F3 is subtracted in the subtraction circuit 83, and the subtraction output is multiplied by the multiplication coefficient data MC generated in the multiplication coefficient generation circuit 85. The multiplication coefficient generation circuit 85 may have the same configuration as the multiplication coefficient generation circuit 71 described above with reference to FIG. Therefore, the difference coefficient data DF is output to the output terminal of the multiplication circuit 84.
By multiplying the subtraction value of 3 and DF2 by the multiplication coefficient CV / (K-1), the interpolating difference data DSY which changes by one step each time the repetition count data CV changes is obtained, and this is the gate circuit 86. Is given as a second addition input to the addition circuit 82 through.

このゲート回路86には最終フレーム検出信号FDがインバ
ータ87により反転されてイネーブル信号として与えられ
ているので、最終フレームが検出されたときは差分補間
データDSYを加算回路82に与えないようになされてい
る。
Since the final frame detection signal FD is inverted by the inverter 87 and applied to the gate circuit 86 as an enable signal, the differential interpolation data DSY is not applied to the addition circuit 82 when the final frame is detected. There is.

加算回路82は第3の加算入力として基本係数メモリ21の
基本係数データRDを受け、その加算出力を高調波係数デ
ータS2として送出する。
The adder circuit 82 receives the basic coefficient data RD of the basic coefficient memory 21 as a third addition input, and outputs the addition output as harmonic coefficient data S2.

第11図の構成において、演算回路83は各フレームごと
に、当該フレームと続くフレームの差分係数データDF2
及びDF3の差のデータDF3−DF2を得ることにより、当該
フレームの間に変化すべき差分係数の範囲が求められ、
この変化範囲に対して繰返し回数カウントデータCVに応
じて1ステツプづつ変化する乗算係数データMCが乗算さ
れることにより、差分係数データDF2から差分係数デー
タDF3への変化分を表す差分補間データDSYが得られるこ
とになる。
In the configuration of FIG. 11, the arithmetic operation circuit 83 determines, for each frame, the difference coefficient data DF2 of the frame and the succeeding frame.
By obtaining the difference data DF3-DF2 of DF3 and DF3, the range of the difference coefficient to be changed during the frame is obtained,
By multiplying this change range by the multiplication coefficient data MC that changes by one step according to the repeat count data CV, the difference interpolation data DSY indicating the change amount from the difference coefficient data DF2 to the difference coefficient data DF3 is obtained. Will be obtained.

この変化する補間差分データDSYが加算回路82において
差分係数データDF2及び基本係数データRDと加算される
ので、その結果得られる当該フレームにおける高調波係
数データS2としては、当該フレームの最初の値から次の
フレームの最初の値との間を繰返し係数Kに基づいて連
続的に変化する内容をもつことになる。
This changing interpolated difference data DSY is added to the difference coefficient data DF2 and the basic coefficient data RD in the adder circuit 82, so that the resulting harmonic coefficient data S2 in the frame is from the first value of the frame to the next value. Will have a content that varies continuously with the first value of the frame based on the repetition factor K.

この場合にも、最終フレーム検出信号FDによつてゲート
回路86が閉動作することにより、最終フレームが経過し
た後には当該最終フレームについての差分係数データDF
2と基本係数データRDとの和によつて決まる高調波係数
データS2が引続き出力されることになる。
Also in this case, the gate circuit 86 is closed by the final frame detection signal FD, so that after the final frame has elapsed, the difference coefficient data DF about the final frame.
The harmonic coefficient data S2 determined by the sum of 2 and the basic coefficient data RD will be continuously output.

このように第11図の構成によつても、各フレームごとに
異なる変化率で変化する各次数の高調波係数データS2を
得ることができる。かくするにつき、係数データの記憶
手段としては基本係数メモリ21と、差分係数メモリ81と
を設けるだけで済み、特に差分係数メモリ81のデータと
して十分小さい値のデータを記憶すれば良いので全体と
してのメモリの小容量化を実現し得る。
As described above, also with the configuration of FIG. 11, it is possible to obtain the harmonic coefficient data S2 of each order that changes at a different rate of change for each frame. In this way, the basic coefficient memory 21 and the difference coefficient memory 81 need only be provided as the means for storing the coefficient data. In particular, as the data of the difference coefficient memory 81, it is sufficient to store the data of a sufficiently small value. It is possible to reduce the memory capacity.

なお、この第11図において、減算回路83の出力データを
各フレームごとに予めメモリ81に記憶しておけばこの減
算回路83は不要となる。
In FIG. 11, if the output data of the subtraction circuit 83 is stored in the memory 81 for each frame in advance, the subtraction circuit 83 becomes unnecessary.

第5実施例 第12図は演算回路24の他の実施例を示すものである。第
12図において、メモリは第1図の実施例の場合と同様の
基本係数メモリ21及び補間差分係数メモリ22を有し、補
間差分係数データDDを第1図の場合と同様にゲート回路
42を通じて加算回路91に第1の加算入力として与える。
Fifth Embodiment FIG. 12 shows another embodiment of the arithmetic circuit 24. First
In FIG. 12, the memory has the same basic coefficient memory 21 and interpolation difference coefficient memory 22 as in the case of the embodiment of FIG. 1, and the interpolation difference coefficient data DD is the same as in the case of FIG.
It is given as a first addition input to the addition circuit 91 through 42.

また、基本係数メモリ21の基本係数データRDがゲート回
路92を通じて加算回路91に第2の加算入力として与えら
れる。
Further, the basic coefficient data RD of the basic coefficient memory 21 is given to the adder circuit 91 as a second addition input through the gate circuit 92.

この実施例の場合、加算回路91の加算出力端に得られる
高調波係数データS2が64ステージ構成のシフトレジスタ
93に入力されると共に、その出力がゲート回路94を通じ
て第3の加算入力として加算回路91に与えられる。
In the case of this embodiment, the harmonic coefficient data S2 obtained at the addition output end of the addition circuit 91 is a shift register having a 64-stage configuration.
While being input to 93, its output is given to the adding circuit 91 as a third addition input through the gate circuit 94.

ゲート回路92はキーオンパルス信号KONPによつて開いて
基本係数データRDを1計算区間Ttxの間加算回路91に与
える。またゲート回路94にはキーオンパルス信号KONPが
インバータ95によつて反転されて与えられる。これによ
りキーオンパルスKONPの立上り区間以外の区間において
ゲート回路94を開いてシフトレジスタ93のデータを加算
回路91に与える。
The gate circuit 92 is opened by the key-on pulse signal KONP and supplies the basic coefficient data RD to the adder circuit 91 for one calculation period T tx . The key-on pulse signal KONP is inverted and given to the gate circuit 94 by the inverter 95. As a result, the gate circuit 94 is opened in a section other than the rising section of the key-on pulse KONP, and the data of the shift register 93 is given to the adding circuit 91.

第12図の構成において、いずれかのキーが操作されたと
き、キーオンパルス信号KONPによつて基本係数メモリ21
から基本係数データRDが加算回路91に入力され、これが
高調波係数データS2として出力されると共に、シフトレ
ジスタ93に順次取込まれる。やがてキーオンパルスKONP
が立下ると、ゲート回路92が閉制御されると共に、ゲー
ト回路94が開制御され、これによりシフトレジスタ93に
記憶されているデータすなわち基本係数データRDが加算
回路91に与えられる。このとき加算回路91はこのシフト
レジスタ93から到来するデータを高調波係数データS2と
して送出すると共に、再度シフトレジスタ93に取込む。
かかる動作は楽音波形1周期の間繰返され、やがてこの
1周期が経過してアキユムレータ3からキヤリー信号CA
が発生するまで維持される。
In the configuration of FIG. 12, when any key is operated, the key-on pulse signal KONP causes the basic coefficient memory 21
The basic coefficient data RD is input to the adder circuit 91, which is output as the harmonic coefficient data S2 and is sequentially input to the shift register 93. Eventually key-on pulse KONP
When the voltage rises, the gate circuit 92 is controlled to be closed and the gate circuit 94 is controlled to be opened, whereby the data stored in the shift register 93, that is, the basic coefficient data RD, is given to the addition circuit 91. At this time, the adder circuit 91 sends the data coming from the shift register 93 as the harmonic coefficient data S2, and takes it in the shift register 93 again.
This operation is repeated for one cycle of the tone waveform, and after one cycle, the accumulator 3 carries the carrier signal CA.
Will be maintained until.

やがて、キヤリー信号CAが微分回路48に到来すると、1
計算区間Ttxの間アンド回路47を通じてゲート回路42が
開制御される。従つて、補間差分メモリ22から読出され
ている第1フレームF1の差分係数データDDがゲート回路
42を介して加算回路91に与えられ、シフトレジスタ93に
記憶されていた基本係数データRDと加算されて高調波係
数データS2として送出されると共に、シフトレジスタ93
に順次取込まれる。やがて1計算区間Ttxが過ぎると、
ゲート回路42が閉制御され、シフトレジスタ93に取込ま
れていたデータがゲート回路94、加算回路91、シフトレ
ジスタ93のループを通じて循環記憶される。
Eventually, when the carrier signal CA arrives at the differentiating circuit 48, 1
The gate circuit 42 is controlled to be opened by the AND circuit 47 during the calculation section T tx . Therefore, the difference coefficient data DD of the first frame F1 read from the interpolation difference memory 22 is the gate circuit.
It is given to the adder circuit 91 via 42, added with the basic coefficient data RD stored in the shift register 93, and sent out as the harmonic coefficient data S2.
Will be sequentially captured. Eventually, when one calculation interval T tx passes,
The gate circuit 42 is controlled to be closed, and the data taken into the shift register 93 is circularly stored through the loop of the gate circuit 94, the adder circuit 91, and the shift register 93.

以下、第1フレームF1について楽音波形の1周期が過ぎ
るごとに到来するキヤリー信号CAによつてゲート回路42
が開制御されるごとに、補間差分メモリ22から補間差分
係数データDDが加算回路91に供給され、これがシフトレ
ジスタ93に記憶されているデータに加算されて行く。そ
の結果高調波係数データS2の内容が補間差分メモリ22の
補間差分係数データDD分づつ変化して行く。
Hereinafter, the gate circuit 42 is controlled by the carrier signal CA that arrives every time one period of the tone waveform of the first frame F1 passes.
The interpolation difference memory 22 supplies the interpolation difference coefficient data DD to the adder circuit 91 every time it is controlled to open, and this is added to the data stored in the shift register 93. As a result, the content of the harmonic coefficient data S2 changes by the interpolation difference coefficient data DD of the interpolation difference memory 22.

やがて、第1フレームF1の終了に伴なつて比較回路33か
ら一致検出信号EQが得られてフレームカウンタ36がカウ
ント動作をする(第1図)と、補間差分メモリ22から出
力される補間差分係数データDDが第2フレームF2につい
て記憶されている値に切換えられ、このデータに基づい
て第2フレームF2についての高調波係数データS2の形成
演算が行なわれる。
Eventually, when the coincidence detection signal EQ is obtained from the comparison circuit 33 with the end of the first frame F1 and the frame counter 36 performs the counting operation (FIG. 1), the interpolation difference coefficient output from the interpolation difference memory 22. The data DD is switched to the value stored for the second frame F2, and the formation operation of the harmonic coefficient data S2 for the second frame F2 is performed based on this data.

以下同様にして、フレームカウンタ37がカウント動作し
てフレーム指定データFNOが変化するごとに、補間差分
係数メモリ22から送出される補間差分係数データDDが変
更されて新たなフレームについての高調波係数データS2
の形成演算動作が実行され、やがて最終フレームになる
と、これを最終フレーム検出回路39が検出することによ
つてゲート回路42が閉制御される。従つて加算回路91の
出力端に得られる高調波係数データS2の内容はシフトレ
ジスタ93に記憶されているデータのみになり、かくして
以後最終フレームについて演算された高調波係数データ
S2が引続き出力される。
Similarly, every time the frame counter 37 counts and the frame designation data FNO changes, the interpolation difference coefficient data DD sent from the interpolation difference coefficient memory 22 is changed and the harmonic coefficient data for a new frame is changed. S2
When the last frame is reached, the final frame detection circuit 39 detects this and the gate circuit 42 is controlled to be closed. Therefore, the content of the harmonic coefficient data S2 obtained at the output end of the adder circuit 91 is only the data stored in the shift register 93, and thus the harmonic coefficient data calculated for the final frame thereafter.
S2 is continuously output.

従つて、第12図の構成によつても、上述した各実施例と
同様にして、各フレームごとに各次数についての高調波
係数データS2を連続的に変化させることができ、かくす
るにつきメモリには1組の基本高調波係数データと、各
フレームごとに1組の補間差分係数データとを記憶する
だけで済み、特に補間差分係数データの値は小さいの
で、全体としてのメモリ容量を小容量化することができ
る。
Therefore, even with the configuration of FIG. 12, the harmonic coefficient data S2 for each order can be continuously changed for each frame in the same manner as in the above-described embodiments. Need only store one set of basic harmonic coefficient data and one set of interpolation difference coefficient data for each frame. Especially, since the value of the interpolation difference coefficient data is small, the total memory capacity is small. Can be converted.

変形例 上述の実施例について、以下に述べる変形を加えても上
述の場合と同様の効果を得ることができる。
Modifications The same effects as in the above case can be obtained even if the following modifications are added to the above-described embodiment.

(1)上述の実施例においては、この発明を単音電子楽
器に適用した場合について述べたが、複音電子楽器に適
用しても良い。この場合には、上述した各種回路を複数
音分並列に設けて同時処理するように構成しても良く、
又は複数音について時分割的に処理するように構成して
も良い。
(1) In the above embodiment, the case where the present invention is applied to the single-tone electronic musical instrument is described, but it may be applied to the multi-tone electronic musical instrument. In this case, the various circuits described above may be arranged in parallel for a plurality of sounds and configured to perform simultaneous processing,
Alternatively, a plurality of sounds may be processed in a time division manner.

(2)上述の実施例の場合は、全ての次数についての高
調波成分があるものとして対応するタイムスロツトを設
けるようにしたが、一部の次数の高調波成分だけを有す
る楽音信号を発生する場合にもこの発明を適用し得る。
この場合には、例えば特開昭54−140523号公報に開示さ
れているような技術を用いて構成すればよい。
(2) In the case of the above-described embodiment, the corresponding time slot is provided assuming that there are harmonic components for all orders, but a tone signal having only some higher order harmonic components is generated. The present invention can also be applied to cases.
In this case, for example, the technique disclosed in JP-A-54-140523 may be used.

(3)上述の実施例においては、周波数ナンバRを用い
て各次数の高調波を発生して合成するようにしたが、他
の高調波合成方式を用いても良い。例えば周波数ナンバ
に代えて、キーに対応したノートクロツクをカウンタで
カウントすることによつて累算出力qRに相当するデータ
を発生し、このデータに基づいて合成すべき各高調波成
分を発生させるようにしても良い。
(3) In the above embodiment, the frequency number R is used to generate and combine harmonics of each order, but other harmonic combining methods may be used. For example, instead of a frequency number, note counters corresponding to keys are counted by a counter to generate data corresponding to the cumulative force qR, and harmonic components to be combined are generated based on this data. May be.

(4)上述の実施例においては、各高調波成分の周波数
を整数倍関係に設定して調和性楽音を発生するようにし
たが、これに代えて例えば特公昭53−40527号公報に示
されているように所望高調波成分の周波数を整数倍関係
からずらして設定する(非整数倍関係に設定する)こと
により非調和性楽音を発生するようにしてもよい。
(4) In the above-mentioned embodiment, the frequencies of the respective harmonic components are set in an integral multiple relationship to generate a harmonic musical tone, but instead of this, it is disclosed in, for example, Japanese Patent Publication No. 53-40527. As described above, the anharmonic musical sound may be generated by setting the frequency of the desired harmonic component so as to deviate from the integral multiple relationship (set to the non-integer multiple relationship).

(5)上述の実施例においては、各フレームの切換えを
楽音波形周期を単位にして行なうようにし、これにより
押鍵操作されたキーの音高に応じて各フレームの時間が
変化するようにしたが、これに限らず、例えばタイマ回
路を設けてフレームの切換えを楽音波形周期とは関係な
く時間単位で制御するようにしても良い。この場合に
は、例えばフレームデータ発生回路31において、ゲート
回路36に所定のクロツク信号を加えるようにすればよ
い。
(5) In the above-described embodiment, the switching of each frame is performed in units of the tone waveform period, so that the time of each frame is changed according to the pitch of the key pressed. However, the present invention is not limited to this, and for example, a timer circuit may be provided to control the frame switching in units of time regardless of the tone waveform period. In this case, for example, in the frame data generating circuit 31, a predetermined clock signal may be applied to the gate circuit 36.

(6)上述の各実施例の場合、アキユムレータ43におい
て差分累算係数を記憶するためにシフトレジスタ46を用
い(第1図及び第9図)、また繰返し回数カウンタ32に
おいて繰返し回数データを記憶するためにシフトレジス
タ55を用い(第9図)、フレームカウンタ37においてフ
レーム番号を記憶するためにシフトレジスタ61を用い
(第9図)、演算回路24において高調波係数データS2を
記憶するためにシフトレジスタ75(第10図)及び93(第
12図)を用いるようにしたが、これらのシフトレジスタ
に代えてRAMその他の記憶手段を用いても良い。
(6) In each of the above-described embodiments, the shift register 46 is used to store the difference accumulation coefficient in the accumulator 43 (FIGS. 1 and 9), and the repeat count data is stored in the repeat count counter 32. For this purpose, the shift register 55 is used (FIG. 9), the frame counter 37 uses the shift register 61 for storing the frame number (FIG. 9), and the arithmetic circuit 24 shifts for storing the harmonic coefficient data S2. Registers 75 (Fig. 10) and 93 (Fig.
Although FIG. 12) is used, RAM or other storage means may be used instead of these shift registers.

(7)上述の構成においては、加算、累算、乗算等の演
算及びこれら演算の制御等の処理を実行するためにそれ
ぞれ専用ハードを設けて行なつたが、マイクロコンピユ
ータ等によつて処理するようにしても良い。
(7) In the above-described configuration, dedicated hardware is provided to execute operations such as addition, accumulation, multiplication, etc. and control of these operations, but processing is performed by a micro computer or the like. You may do it.

(8)上述の実施例においては、高調波合成による楽音
波形の形成演算をリアルタイムで実行する場合について
述べたが、楽音波形形成(高調波合成)演算結果を一旦
メモリに書込み、その後楽音周波数に対応してメモリを
読出して一回の発音中に音色を変化させるために複数回
楽音波形形成演算を実行するようなノンリアルタイム方
式で処理をするようにしても良い。このノンリアルタイ
ム方式の構成としては特開昭48−76520号公報に開示の
構成を用い得る。
(8) In the above-described embodiment, the case where the musical tone waveform formation calculation by harmonic synthesis is executed in real time has been described. However, the musical tone waveform formation (harmonic synthesis) calculation result is once written in the memory, and then the musical tone frequency is changed. Correspondingly, the memory may be read out and the processing may be performed in a non-real-time system in which the musical tone waveform formation calculation is executed a plurality of times in order to change the tone color during one sound generation. As the configuration of this non-real time system, the configuration disclosed in Japanese Patent Laid-Open No. 48-76520 can be used.

(9)上述の実施例においては、各高調波係数の発生演
算を各高調波成分の発生タイミングに同期して行なうよ
うにしたが、これに代えて各高調波係数の発生演算を例
えば特公昭58−3238号公報に示されているように各高調
波成分の発生タイミングとは非同期の低速タイミングで
行なうようにしてもよい。
(9) In the above-described embodiment, the generation calculation of each harmonic coefficient is performed in synchronization with the generation timing of each harmonic component. Instead of this, the calculation calculation of each harmonic coefficient is performed, for example, in Japanese Patent Publication No. Sho. As shown in Japanese Patent Laid-Open No. 58-3238, it may be performed at a low speed timing that is asynchronous with the timing of generation of each harmonic component.

(10)上述の実施例においては、演算回路24において、
楽音波形の各周期ごとに高調波係数の補間演算をするよ
うにしたが、これに限らず、複数周期例えば2周期、又
は4周期等に1回づつ補間演算するように構成しても、
上述の場合と同様の効果を得ることができる。
(10) In the above embodiment, in the arithmetic circuit 24,
Although the interpolation calculation of the harmonic coefficient is performed for each cycle of the tone waveform, the invention is not limited to this, and the interpolation calculation may be performed once for a plurality of cycles, for example, two cycles or four cycles.
The same effect as the above case can be obtained.

(11)上述の実施例の基本係数メモリ21、補間差分係数
メモリ22(第1図、第9図及び第12図)、及び差分係数
メモリ67(第10図)及び81(第11図)に記憶するデータ
としては、PCMデータに限らず、DPCM、ADPCM、DM、AD
M、APCMなど各種の波形符号化方式のデータを用いても
良い。
(11) In the basic coefficient memory 21, the interpolation difference coefficient memory 22 (FIG. 1, FIG. 9 and FIG. 12) and the difference coefficient memories 67 (FIG. 10) and 81 (FIG. 11) of the above embodiment. The data to be stored is not limited to PCM data, but DPCM, ADPCM, DM, AD
Data of various waveform coding methods such as M and APCM may be used.

(12)上述の実施例においては、フレームデータ発生回
路31に繰返し回数指定回路34を設けて繰返し回数を各フ
レームごとにそれぞれ設定し得るようにした場合につい
て述べたが、これに代え繰返し回数を全てのフレームに
ついて共通の一定値に固定するようにしても良い。この
場合には、フレームデータ発生回路31において、キヤリ
ー信号CAを分周してゲート回路36に加えるようにすれば
よい。
(12) In the above embodiment, the case where the repetition number designating circuit 34 is provided in the frame data generating circuit 31 so that the repetition number can be set for each frame has been described. It may be fixed to a constant value common to all frames. In this case, in the frame data generation circuit 31, the carrier signal CA may be divided and added to the gate circuit 36.

(13)上述の実施例においては、高調波合成演算を時分
割で行なうようにしたが、これに限らず、例えば実公昭
53−42104号公報に示されているように各高調波成分の
発生及び各高調波係数の発生を各次数毎に並列的に行な
うようにしてもよい。
(13) In the above embodiment, the harmonic synthesis operation is performed in a time-division manner, but the present invention is not limited to this.
As shown in Japanese Patent Publication No. 53-42104, generation of each harmonic component and generation of each harmonic coefficient may be performed in parallel for each order.

(14)上述の実施例においては、高調波成分発生回路4
として正弦波を発生するようにした場合について述べた
が、これに限らず、矩形波、三角波などの他の波形を発
生させて高調波合成するようにしても良い。
(14) In the above embodiment, the harmonic component generation circuit 4
As described above, the case where a sine wave is generated has been described, but the present invention is not limited to this, and other waveforms such as a rectangular wave and a triangular wave may be generated to perform harmonic synthesis.

(15)上述の実施例においては、操作されたキーに対応
する音高の楽音を発生する場合にこの発明を適用した
が、この発明はこれに限らず、リズム音を発生する場合
にも適用し得る。
(15) In the above-described embodiment, the present invention is applied to the case where a musical tone having a pitch corresponding to the operated key is generated, but the present invention is not limited to this and is also applied to the case where a rhythm sound is generated. You can

(16)上述の実施例において、楽音が発生してから消滅
するまでの間の音色の変化を生じさせる効果に加えて、
さらに例えばキースケーリング、タツチレスポンス、操
作子などによる音色変化を付加する場合には、演算回路
24において差分累算データの出力側に乗算器を設け、こ
の乗算器によつて差分累算データにキースケーリングや
タツチレスポンス等に応じた所定の重みづけをした後、
基本高調波係数に加算するように構成すれば良い。この
ようにすれば主として基本高調波係数により決まる原音
のイメージを損うことなく、必要に応じてつけようとす
る効果についての音色変化を容易に生じさせることがで
きる。
(16) In the above-mentioned embodiment, in addition to the effect of changing the timbre from the time the musical sound is generated until it disappears,
In addition, for example, when adding timbre changes such as key scaling, touch response, and controls, an arithmetic circuit
In 24, a multiplier is provided on the output side of the accumulated difference data, and after the accumulated accumulated data is given a predetermined weight according to the key scaling or the touch response by this multiplier,
It may be configured to be added to the fundamental harmonic coefficient. By doing so, it is possible to easily generate a timbre change regarding the effect to be added as needed without deteriorating the image of the original sound mainly determined by the fundamental harmonic coefficient.

(17)第10図の実施例の場合は、補間係数記憶手段とし
て各フレームについてのそれぞれ当該フレームの最初に
おいて発生すべき振幅係数と基本係数データとの差分に
対応する差の係数データを各次数ごとに記憶し、フレー
ム指定手段の出力に従つて対応する上記差の係数データ
を読出すように構成したものを用いたが、これに代え第
1図について上述したと同様にして、各フレームについ
てそれぞれ当該フレームの最初において発生すべき振幅
係数と、次のフレームの最初において発生すべき振幅係
数との差分に対応する差の係数データを各次数ごとに記
憶するようにすると共に、演算手段は、この差の係数デ
ータに対して各フレームにおいて時間の経過と共に変化
する重みづけ係数を各次数ごとに乗算すると共に、各フ
レームの終了時における乗算結果を表わすデータを各次
数ごとに一時記憶し、かつこの一時記憶したデータと、
乗算結果と、基本係数データとを各次数ごとに加算して
各次数ごとの振幅係数を得るようにする。このようにし
ても第10図の場合と同様の効果を得ることができる。
(17) In the case of the embodiment shown in FIG. 10, the coefficient data of the difference corresponding to the difference between the amplitude coefficient to be generated at the beginning of the frame and the basic coefficient data is calculated for each frame as the interpolation coefficient storage means. Although each of the frames is stored for each frame and the corresponding coefficient data of the difference is read out in accordance with the output of the frame designating means, instead of this, each frame is processed in the same manner as described above with reference to FIG. The coefficient data of the difference corresponding to the difference between the amplitude coefficient to be generated at the beginning of the frame and the amplitude coefficient to be generated at the beginning of the next frame is stored for each order, and the calculating means is The coefficient data of this difference is multiplied by a weighting coefficient that changes with time in each frame for each order, and at the end of each frame. The data representing the multiplication result is temporarily stored for each degree, and the temporarily stored data,
The multiplication result and the basic coefficient data are added for each degree to obtain the amplitude coefficient for each degree. Even in this case, the same effect as in the case of FIG. 10 can be obtained.

〔発明の効果〕〔The invention's effect〕

以上のようにこの発明によれば、高調波合成方式の楽音
信号発生装置において、楽音を構成する各次数成分の振
幅レベルをそれぞれ独立して時間変化させることができ
るので、音色が時間経過に従つて複雑に変化する高品質
の楽音を発生することができる。
As described above, according to the present invention, in the harmonic synthesis type musical tone signal generator, the amplitude level of each order component constituting the musical tone can be independently changed with time, so that the timbre changes with time. It is possible to generate a high quality musical sound that changes in a complicated manner.

また、各次数成分の振幅レベルをそれぞれ設定するため
の時間経過に従つて順次変化する各次数の振幅係数を得
るにつき、“1組の基本係数データ(各次数の振幅係数
の初期値を表す”及び“差の係数データ(第1発明の場
合各次数ごとの、隣接するフレーム間の振幅係数の差分
に対応し、また第2発明の場合各次数ごとの、各フレー
ムにおいて発生すべき振幅係数と上記基本係数との差に
対応する)”を記憶しておくだけでよいので、従来のも
のに比べてメモリ容量を格段に小容量化できる。
Further, in order to obtain the amplitude coefficient of each order that sequentially changes with the passage of time for setting the amplitude level of each order component, “a set of basic coefficient data (representing the initial value of the amplitude coefficient of each order”) And "difference coefficient data (corresponding to the difference in amplitude coefficient between adjacent frames for each order in the case of the first invention, and the amplitude coefficient to be generated in each frame for each order in the case of the second invention) Since it suffices to store "(corresponding to the difference from the basic coefficient)", the memory capacity can be remarkably reduced as compared with the conventional one.

さらに、時間経過に従つて変化する各次数の振幅係数を
上記基本係数データを基に算出しているので、この基本
係数データに基づく基本的音色のイメージを損なうこと
なく、音色を時間経過に従つて微妙に変化させることが
できる。
Furthermore, since the amplitude coefficient of each order that changes over time is calculated based on the above basic coefficient data, the timbre can be changed over time without spoiling the image of the basic timbre based on this basic coefficient data. Can be subtly changed.

特に第1の発明においては、各次数ごとにフレーム分け
が設定されるので、各次数の振幅係数をそれぞれ当該次
数に対応した速度で時間変化させることができ、楽音の
音色を複雑に時間変化させることができる。
Particularly, in the first aspect, since the frame division is set for each order, the amplitude coefficient of each order can be changed with time at a speed corresponding to the order, and the tone color of the musical sound can be changed with time in a complicated manner. be able to.

また、第2の発明においては、各フレームごとに、発生
させたい振幅係数と基本係数との差分に関するデータを
記憶するようにしたので、各フレームにおいて楽音音色
を基本的音色(基本係数に対応した音色)に対してどの
程度変化させるかに応じて上記差分を求めればよく、各
フレームの音色と記憶する差分に関するデータとの対応
関係が分かりやすく、データ設定が容易となる。あるフ
レームだけの音色を変更したい場合も、そのフレームに
関する差分係数データのみを変えるだけで済み、かくし
て容易にフレームの音色を変更することができる。
Further, in the second aspect of the invention, since the data regarding the difference between the amplitude coefficient to be generated and the basic coefficient is stored for each frame, the tone color is changed to the basic tone color (corresponding to the basic coefficient) in each frame. The difference may be obtained according to how much the tone color is changed, and the correspondence between the tone color of each frame and the data regarding the difference to be stored is easy to understand and the data setting becomes easy. When it is desired to change the timbre of only a certain frame, only the difference coefficient data regarding the frame needs to be changed, and thus the timbre of the frame can be easily changed.

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

第1図はこの発明による楽音信号発生装置を単音電子楽
器に用いた場合の第1実施例を示すブロツク図、第2図
は発生すべき楽音波形を示す信号波形図、第3図は発生
すべき高調波係数のスペクトル分布曲線を示す曲線図、
第4図は演算すべき差分データのスペクトル分布曲線を
示す曲線図、第5図は第2図の各フレームにおける繰返
し回数及び補間差分係数の関係を示す図表、第6図はク
ロツク信号tcと計算区間タイミング信号txとの関係を示
す信号波形図、第7図はキーオン信号KONとキーオンパ
ルス信号KONPとの関係を示す信号波形図、第8図は第1
図の高調波係数発生回路7において発生される高調波係
数の一例を示す波形図、第9図、第10図、第11図、第12
図はそれぞれこの発明による楽音信号発生装置の第2実
施例、第3実施例、第4実施例、第5実施例を示すブロ
ツク図である。 4……高調波成分発生回路、7……高調波係数発生回
路、21……基本係数メモリ、22……補間差分係数メモ
リ、24……演算回路、31……フレームデータ発生回路、
67、81……差分係数メモリ。
FIG. 1 is a block diagram showing a first embodiment when the tone signal generator according to the present invention is used in a single-tone electronic musical instrument, FIG. 2 is a signal waveform diagram showing a tone waveform to be generated, and FIG. Curve diagram showing the spectral distribution curve of the power harmonic coefficient,
FIG. 4 is a curve diagram showing the spectrum distribution curve of the difference data to be calculated, FIG. 5 is a table showing the relationship between the number of repetitions and the interpolation difference coefficient in each frame of FIG. 2, and FIG. 6 is a clock signal t c . FIG. 7 is a signal waveform diagram showing the relationship with the calculation interval timing signal t x , FIG. 7 is a signal waveform diagram showing the relationship between the key-on signal KON and the key-on pulse signal KONP, and FIG.
Waveform diagrams showing an example of the harmonic coefficients generated in the harmonic coefficient generating circuit 7 of FIG. 9, FIG. 10, FIG. 11, FIG.
Each of the drawings is a block diagram showing a second embodiment, a third embodiment, a fourth embodiment and a fifth embodiment of the tone signal generator according to the present invention. 4 ... Harmonic component generation circuit, 7 ... Harmonic coefficient generation circuit, 21 ... Basic coefficient memory, 22 ... Interpolation difference coefficient memory, 24 ... Arithmetic circuit, 31 ... Frame data generation circuit,
67, 81 ... Difference coefficient memory.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】楽音を構成する基本波及びその高調波に対
応する各次数成分を、それぞれ時間の経過に従つて順次
変化する振幅係数によつて重みづけした後それらを合成
することによつて楽音信号を発生する楽音信号発生装置
において、 (a)発生すべき楽音信号を、各次数ごとに独立して複
数のフレームに分け、各次数ごとにそれぞれ各フレーム
を楽音信号の発生開始時からの時間の経過に従つて順次
指定するフレーム指定手段と、 (b)上記振幅係数の初期値を表す基本係数データを各
次数ごとに記憶した基本係数記憶手段と、 (c)上記各フレームについてそれぞれ当該フレームの
最初において発生すべき上記振幅係数と次のフレームの
最初において発生すべき上記振幅係数との差分に対応す
る差の係数データを各次数ごとに記憶し、上記フレーム
指定手段の出力に従つて対応する上記差の係数データを
読出す補間係数記憶手段と、 (d)上記フレーム指定手段が上記各フレームを順次指
定して行くごとに上記基本係数記憶手段から読出された
上記基本係数データ及び上記補間係数記憶手段から読出
された上記差の係数データに基づいて当該指定されたフ
レームの各時点における振幅係数を演算出力する演算手
段と、 を具えることを特徴とする楽音信号発生装置。
1. A method in which each order component corresponding to a fundamental wave and its harmonics constituting a musical tone is weighted by an amplitude coefficient which sequentially changes with the passage of time and then they are synthesized. In a musical tone signal generator for generating a musical tone signal, (a) the musical tone signal to be generated is divided into a plurality of frames independently for each degree, and each frame for each degree is generated from the start of the musical tone signal generation. Frame designating means for sequentially designating as time passes, (b) basic coefficient storing means for storing basic coefficient data representing the initial value of the amplitude coefficient for each order, and (c) the basic coefficient data for each frame. The difference coefficient data corresponding to the difference between the amplitude coefficient to be generated at the beginning of a frame and the amplitude coefficient to be generated at the beginning of the next frame is stored for each order, Interpolation coefficient storage means for reading the corresponding coefficient data of the difference in accordance with the output of the frame designation means, and (d) from the basic coefficient storage means each time the frame designation means sequentially designates each frame. Arithmetic means for arithmetically outputting an amplitude coefficient at each time point of the designated frame based on the read basic coefficient data and the difference coefficient data read from the interpolation coefficient storage means. Music signal generator.
【請求項2】上記補間係数記憶手段は、各フレームにつ
いての上記差分をそれぞれ当該フレームにおける補間演
算の繰返し回数で除算した値を上記差の係数データとし
て記憶し、上記演算手段は、上記差の係数データを各次
数ごとに累積し、当該累積結果を上記基本係数データと
各次数ごとに加算して上記各次数ごとの振幅係数を得る
ようにしてなる特許請求の範囲第1項に記載の楽音信号
発生装置。
2. The interpolation coefficient storage means stores, as coefficient data of the difference, a value obtained by dividing the difference for each frame by the number of repetitions of the interpolation calculation in the frame, and the calculation means stores the difference data. The musical tone according to claim 1, wherein coefficient data is accumulated for each degree, and the accumulated result is added to the basic coefficient data for each degree to obtain an amplitude coefficient for each degree. Signal generator.
【請求項3】上記補間係数記憶手段は、各フレームにつ
いての上記差分を上記差の係数データとして記憶し、上
記演算手段は、上記差の係数データに対して各フレーム
において時間の経過と共に変化する重みづけ係数を各次
数ごとに乗算すると共に、各フレームの終了時における
上記乗算結果を表すデータを各次数ごとに一時記憶し、
かつこの一時記憶したデータと、上記乗算結果と、上記
基本係数データとを各次数ごとに加算して上記各次数ご
との振幅係数を得るようにしてなる特許請求の範囲第1
項に記載の楽音信号発生装置。
3. The interpolation coefficient storage means stores the difference for each frame as coefficient data of the difference, and the arithmetic means changes with time in each frame with respect to the coefficient data of the difference. The weighting coefficient is multiplied for each degree, and data representing the multiplication result at the end of each frame is temporarily stored for each degree.
The amplitude coefficient for each degree is obtained by adding the temporarily stored data, the multiplication result, and the basic coefficient data for each degree.
The musical tone signal generator described in the paragraph.
【請求項4】楽音を構成する基本波及びその高調波に対
応する各次数成分を、それぞれ時間の経過に従つて順次
変化する振幅係数によつて重みづけした後それらを合成
することによつて楽音信号を発生する楽音信号発生装置
において、 (a)発生すべき楽音信号を複数のフレームに分け、各
フレームを楽音信号の発生開始時からの時間の経過に従
つて順次指定するフレーム指定手段と、 (b)所定値を表す基本係数データを各次数ごとに記憶
した基本係数記憶手段と、 (c)上記各フレームについてそれぞれ当該フレームの
最初において発生すべき上記振幅係数と上記基本係数デ
ータとの差分に対応する差の係数データを各次数ごとに
記憶し、上記フレーム指定手段の出力に従つて対応する
上記差の係数データを読出す補間係数記憶手段と、 (d)上記フレーム指定手段が上記各フレームを順次指
定して行くごとに上記基本係数記憶手段から読出された
上記基本係数データ及び上記補間係数記憶手段から読出
された上記差の係数データに基づいて当該指定されたフ
レームの各時点における振幅係数を演算出力する演算手
段と、 を具えることを特徴とする楽音信号発生装置。
4. A weight component is added to each order component corresponding to a fundamental wave and its harmonics constituting a musical tone by an amplitude coefficient that sequentially changes with the passage of time, and then they are synthesized. In a musical tone signal generator for generating a musical tone signal, (a) frame designating means for dividing the musical tone signal to be generated into a plurality of frames and sequentially designating each frame according to the passage of time from the start of the musical tone signal generation. (B) basic coefficient storage means for storing basic coefficient data representing a predetermined value for each order, and (c) for each of the frames, the amplitude coefficient and the basic coefficient data to be generated at the beginning of the frame. Interpolation coefficient storage means for storing difference coefficient data corresponding to the difference for each degree and reading out the corresponding difference coefficient data according to the output of the frame designating means. (D) Based on the basic coefficient data read from the basic coefficient storage means and the difference coefficient data read from the interpolation coefficient storage means each time the frame designating means sequentially designates each frame. A musical sound signal generating device comprising: a calculating unit that calculates and outputs an amplitude coefficient at each time point of the designated frame.
【請求項5】上記補間係数記憶手段は、上記各フレーム
についての上記差分を上記差の係数データとして記憶
し、上記フレーム指定手段で指定されたフレーム及び次
のフレームに関する上記差の係数データを同時に読出し
て第1及び第2の差分係数データとして出力するもので
あり、上記演算手段は、上記第1及び第2の差分係数デ
ータを減算し、当該減算結果に対して上記各フレームに
おいて時間の経過と共に変化する重みづけ係数を乗算す
ると共に、この乗算結果と、上記第1の差分係数データ
と、上記基本係数データとを各次数ごとに加算して上記
各次数ごとの振幅係数を得るようにしてなる特許請求の
範囲第4項に記載の楽音信号発生装置。
5. The interpolation coefficient storage means stores the difference for each frame as coefficient data of the difference, and simultaneously calculates the difference coefficient data of the frame designated by the frame designating means and the next frame. The data is read out and output as first and second difference coefficient data, and the arithmetic means subtracts the first and second difference coefficient data, and a time elapses in each frame with respect to the subtraction result. A weighting coefficient that changes with is multiplied, and the multiplication result, the first difference coefficient data, and the basic coefficient data are added for each order to obtain an amplitude coefficient for each order. The musical sound signal generating device according to claim 4.
【請求項6】上記演算手段は、各フレームにおいて10進
数で「0」から「1」に順次変化する上記重みづけ係数
を発生してなる特許請求の範囲第5項に記載の楽音信号
発生装置。
6. The musical tone signal generating apparatus according to claim 5, wherein the arithmetic means generates the weighting coefficient that sequentially changes from “0” to “1” in decimal in each frame. .
【請求項7】上記フレーム分けは各次数ごとに独立して
なされ、上記フレーム指定手段は各次数ごとにそれぞれ
上記フレーム指定を行うものである特許請求の範囲第4
項ないし第6項のいずれかに記載の楽音信号発生装置。
7. The frame division is performed independently for each degree, and the frame designation means designates the frame for each degree.
7. The tone signal generator according to any one of items 1 to 6.
JP59153723A 1984-07-24 1984-07-24 Music signal generator Expired - Lifetime JPH0693195B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP59153723A JPH0693195B2 (en) 1984-07-24 1984-07-24 Music signal generator
US06/758,207 US4646612A (en) 1984-07-24 1985-07-23 Musical tone signal generating apparatus employing sampling of harmonic coefficients

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59153723A JPH0693195B2 (en) 1984-07-24 1984-07-24 Music signal generator

Publications (2)

Publication Number Publication Date
JPS6132094A JPS6132094A (en) 1986-02-14
JPH0693195B2 true JPH0693195B2 (en) 1994-11-16

Family

ID=15568686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59153723A Expired - Lifetime JPH0693195B2 (en) 1984-07-24 1984-07-24 Music signal generator

Country Status (1)

Country Link
JP (1) JPH0693195B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5885491A (en) * 1981-11-16 1983-05-21 松下電器産業株式会社 Electronic musical instrument
JPS5895790A (en) * 1981-12-02 1983-06-07 松下電器産業株式会社 Musical sound generator
JPS5946693A (en) * 1982-09-09 1984-03-16 松下電器産業株式会社 Voice analysis/synthesization method and apparatus
JPS59162595A (en) * 1983-03-07 1984-09-13 松下電器産業株式会社 Musical tone sythesizer

Also Published As

Publication number Publication date
JPS6132094A (en) 1986-02-14

Similar Documents

Publication Publication Date Title
JPS5917838B2 (en) Waveform generator for electronic musical instruments
US4471681A (en) Electronic musical instrument capable of producing a musical tone by varying tone color with time
US4386547A (en) Electronic musical instrument
JPH0230033B2 (en)
JPH0795235B2 (en) Electronic musical instrument
JPS5919352B2 (en) electronic musical instruments
US4215614A (en) Electronic musical instruments of harmonic wave synthesizing type
JPS6140119B2 (en)
US4108040A (en) Electronic musical instrument
US4646612A (en) Musical tone signal generating apparatus employing sampling of harmonic coefficients
JPH0693195B2 (en) Music signal generator
JPS6115438B2 (en)
JPH0573033B2 (en)
JPS6049320B2 (en) electronic musical instruments
JPS6023358B2 (en) electronic musical instruments
JPS5917434B2 (en) electronic musical instruments
JPS6023359B2 (en) electronic musical instruments
JPH0120759B2 (en)
JPS583238B2 (en) electronic musical instruments
JP2555732B2 (en) Music signal synthesis method
JPH0122632B2 (en)
JPH0423798B2 (en)
JP3245411B2 (en) Electronic musical instrument
JPS61105595A (en) Musical sound signal generator
JPH0370237B2 (en)