JPS6278599A - Musical tone signal generator - Google Patents

Musical tone signal generator

Info

Publication number
JPS6278599A
JPS6278599A JP60216100A JP21610085A JPS6278599A JP S6278599 A JPS6278599 A JP S6278599A JP 60216100 A JP60216100 A JP 60216100A JP 21610085 A JP21610085 A JP 21610085A JP S6278599 A JPS6278599 A JP S6278599A
Authority
JP
Japan
Prior art keywords
waveform
waveforms
main
data
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP60216100A
Other languages
Japanese (ja)
Other versions
JPH0727384B2 (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.)
Nippon Gakki Co Ltd
Original Assignee
Nippon Gakki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Gakki Co Ltd filed Critical Nippon Gakki Co Ltd
Priority to JP60216100A priority Critical patent/JPH0727384B2/en
Publication of JPS6278599A publication Critical patent/JPS6278599A/en
Publication of JPH0727384B2 publication Critical patent/JPH0727384B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複数の異なる楽音波形を順次切換えて発生
することにより音色を時間的に変化させることのできる
楽音信号発生装置に関し、特に、波形の切換わりを滑ら
かに行うことができるようにしたことに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a musical tone signal generating device that can temporally change the timbre by sequentially switching and generating a plurality of different musical waveforms. This relates to making it possible to perform smooth switching.

〔従来の技術〕[Conventional technology]

特開昭56−35192号公報においては、波形メモリ
に記憶した複数の異なる楽音波形を順次切換えて読み出
すことにより音色が時間的に変化する楽音信号を発生す
るようにしたことが開示されている。
Japanese Patent Laid-Open No. 56-35192 discloses that a plurality of different tone waveforms stored in a waveform memory are sequentially switched and read out to generate a musical tone signal whose timbre changes over time.

特開昭58−95790号公報においては、上述と同様
に複数の異なる楽音波形を/[次切換えて読み出すよう
にすることが開示されており、そこにおいて、時間的に
前後して発生すべき2つの楽音波形を2系列で並列的に
発生し、両波形を時間的に変化する補間関数に従って補
間合成することにより両波形の切換わりを滑らかに行う
ことができるようにしている。
JP-A No. 58-95790 discloses a method in which a plurality of different musical sound waveforms are read out by switching between /[ and two different musical sound waveforms that should occur before and after the other in time, as described above. Two series of musical sound waveforms are generated in parallel, and both waveforms are interpolated and synthesized according to a temporally changing interpolation function, thereby making it possible to smoothly switch between the two waveforms.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前者の従来技術のような方式では、波形の切換ねり時点
で楽音信号の波形が先行する楽音波形から次の楽音波形
に急激に変化するので急激な音色変化をもたらし、不自
然であった。後者の従来技術のような方式では、そのよ
うな波形切換わり時の不自然さは防止できるが、2系列
で楽音波形を発生しなければならない、及び補間関数発
生回路が必要とされる、及び乗算器等の補間演算回路が
必要とされる、などの理由によりハードウェア構成が複
雑となり、コスト高になるという問題点があった。
In the former prior art method, the waveform of the musical tone signal abruptly changes from the preceding musical sound waveform to the next musical sound waveform at the time of waveform switching, resulting in a rapid timbre change, which is unnatural. In the latter conventional method, such unnaturalness at the time of waveform switching can be prevented, but musical waveforms must be generated in two series, an interpolation function generation circuit is required, and There is a problem in that the hardware configuration becomes complicated due to the need for an interpolation calculation circuit such as a multiplier, resulting in high costs.

この発明は上述の点に鑑みてなされたもので、楽音波形
切換わり時の不自然さをなくすと共に、そのことを補間
方式に見られるような複雑な回路構成を必要とせずに実
現し得るようにした楽音信号発生装置を提供しようとす
るものである。
This invention has been made in view of the above-mentioned points, and aims to eliminate the unnaturalness when musical sound waveforms are changed, and to achieve this without requiring a complicated circuit configuration as seen in the interpolation method. It is an object of the present invention to provide a musical tone signal generating device that has the following characteristics.

〔問題点を解決するための手段〕[Means for solving problems]

この発明の楽音信号発生装置は、所定の順序で切換えて
読み出されるべき複数の主波形のデータと、切換え順序
が相前後する2つの前記主波形の間をつなぐための、該
2つの主波形に対応する、複数周期力)ら成るつなぎ波
形のデータとを記憶した波形記憶手段と、相前後して読
み出されるべき2つの前記主波形の間にそれに対応する
前記つなぎ波形を介在させる順序で、先行する主波形の
データを所定回数繰返し読み出した後、前記つなぎ波形
のデータを読み出し、続いて後続する主波形のデータを
所定回数繰返し読み出すようにする読出し手段とを具え
たことを特徴とするものである。
The musical tone signal generating device of the present invention provides data on a plurality of main waveforms to be switched and read out in a predetermined order, and data on the two main waveforms to connect between the two main waveforms whose switching order is one after the other. a waveform storage means storing data of a bridging waveform consisting of a corresponding multi-period force); The apparatus further comprises a reading means for repeatedly reading data of the main waveform a predetermined number of times, reading data of the connecting waveform, and then repeatedly reading data of the following main waveform a predetermined number of times. be.

〔作用及び発明の効果〕[Action and effect of the invention]

複数の主波形のデータが所定の順序で切換えて読み出さ
れることにより音色の時間的変化が得られるのであるが
、相前後して読み出されるべき2つの主波形の切換わり
は、先行する主波形から後続する主波形に直ちに切換わ
るのではなく、その間につなぎ波形を介在させて行われ
る。これにより、得られる楽音信号は、先行する主波形
から後続する主波形に急激に変化せずに、つなぎ波形を
介在させて滑らかに変化する。
Temporal changes in timbre are obtained by switching and reading the data of multiple main waveforms in a predetermined order, but switching between two main waveforms that should be read out one after the other is caused by switching from the preceding main waveform. Instead of immediately switching to the subsequent main waveform, a transition waveform is interposed in between. Thereby, the obtained musical tone signal does not change abruptly from the preceding main waveform to the following main waveform, but changes smoothly with the intervening waveform interposed.

従って、この発明によれば、複数の波形を順次切換える
こさにより時間的に音色が変化する楽音信号を得る場合
において、切換わり時のつなぎ波形を介在させたことに
より滑らかに波形切換えを行うことができるようになり
、不自然さを解消することができる。また、つなぎ波形
は記憶手段に予め記憶されているので、2系列の波形を
補間するというような面倒な処理は不要であり、回路構
成を簡略化し、コストを下げることもできる。
Therefore, according to the present invention, when obtaining a musical tone signal whose timbre changes over time by sequentially switching a plurality of waveforms, it is possible to smoothly switch waveforms by interposing a transition waveform at the time of switching. This will help eliminate the unnaturalness. Further, since the connecting waveforms are stored in advance in the storage means, there is no need for troublesome processing such as interpolating two series of waveforms, and the circuit configuration can be simplified and costs can be reduced.

〔実施例〕〔Example〕

以下、添付図面を参照してこの発明の実施例を詳細に説
明しよう。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

まず第1図を参照して主波形のデータとつなぎ波形のデ
ータを準備する処理の一例につき説明する。
First, an example of a process for preparing main waveform data and connecting waveform data will be described with reference to FIG.

所望の自然楽器音の発音開始から終了までの全波形をサ
ンプリングし、これを原波形として準備する(第1図(
a〕)。
Sample the entire waveform of the desired natural instrument sound from the start to the end, and prepare this as the original waveform (see Figure 1).
a]).

次に、原波形に基づき複数の主波形のデータを作成する
。例えば、アタック部は波形の変化が激しいので、原波
形における複数周期から成るアタック部の波形全部を1
つの主波形(これをアタック部波形ATという)として
取り出す。アタック部以後の原波形に関しては、時間軸
に沿って複数のフレームに分割し、各フレーム毎に1周
期又は複数周期から成る主波形(これをフレーム波形F
W1〜FW3ということにする)のデータを夫々作成す
る。フレーム波形FWj〜FW3の作成の仕方としては
、例えばそのフレームにおける代表的な1周期又は複数
周期波形を原波形から取り出す、あるいはそのフレーム
内における各1周期波形の平均的波形を演算によって求
める、等の処理によって作成する。こうして求めた複数
の主波形の一例が第1図(b)に示されている。いずれ
のフレーム波形FW1〜FW3も、そのピークレベルは
所定の規格レベルに統一するものとする。なお、フレー
ム数は3に限らず、任意である。
Next, data for a plurality of main waveforms is created based on the original waveform. For example, since the waveform of the attack part changes rapidly, the entire waveform of the attack part, which consists of multiple periods in the original waveform, can be
The two main waveforms (this is referred to as attack waveform AT) are extracted. The original waveform after the attack part is divided into multiple frames along the time axis, and each frame consists of one cycle or multiple cycles of the main waveform (this is called the frame waveform F).
(hereinafter referred to as W1 to FW3) are created respectively. The frame waveforms FWj to FW3 can be created by, for example, extracting a typical one-cycle or multiple-cycle waveform in the frame from the original waveform, or calculating the average waveform of each one-cycle waveform in the frame, etc. Created by processing. An example of the plurality of main waveforms obtained in this way is shown in FIG. 1(b). It is assumed that the peak levels of all frame waveforms FW1 to FW3 are unified to a predetermined standard level. Note that the number of frames is not limited to three, but is arbitrary.

次に、各主波形の間のつなぎ波形cw1〜cw3を作成
する。各つなぎ波形cw1〜cw3は、切換え順序が相
前後する2つの主波形の間を滑らかにつなぐためのもの
であり、複数周期から成る。
Next, connecting waveforms cw1 to cw3 between each main waveform are created. Each of the connecting waveforms cw1 to cw3 is for smoothly connecting two main waveforms whose switching order is one after the other, and consists of a plurality of cycles.

切換え順序が相前後する2つの主波形の間でクロスフェ
ード補間演算を行うことによりそれに対応するつなぎ波
形を作成するとよい。アタック部波形ATと第1のフレ
ーム波形FWjに対応するつなぎ波形cw1は、アタッ
ク部波形ATの最後の1周期波形を複数周期繰返してこ
れに立下り特性のクロスフェード用エンベロープを付与
したものを作成し、他方で、フレーム波形FWjを同じ
周期だけ繰返してこれに立上り特性のクロスフェード用
エンベロープを付与したものを作成し、両者を加算する
こみにより作成する。これにより、アタック部波形AT
の最後の1周期に対応する波形からフレーム波形Fw1
に対応する波形まで波形が滑らかに変化する複数周期波
形を第1のつなぎ波形cw1として得ることができる。
It is preferable to create a corresponding connecting waveform by performing a cross-fade interpolation calculation between two main waveforms whose switching order is one after the other. The connecting waveform cw1 corresponding to the attack part waveform AT and the first frame waveform FWj is created by repeating the last one-cycle waveform of the attack part waveform AT for multiple cycles and adding a cross-fade envelope with a falling characteristic to this waveform. On the other hand, the frame waveform FWj is created by repeating the same cycle to add a cross-fade envelope having a rising characteristic, and then adding the two. As a result, the attack waveform AT
Frame waveform Fw1 from the waveform corresponding to the last one cycle of
A multi-period waveform whose waveform changes smoothly up to the waveform corresponding to can be obtained as the first connecting waveform cw1.

同様に、第1のフレーム波形FWjを複数周期繰返して
これに立下り特性のクロスフェード用エンベローフヲ付
与したものを作成し、他方で、第2のフレーム波形F’
W2を複数周期繰返してこれに立上り特性のクロスフェ
ード用エンベロープを付与したものを作成し、両者を加
算することにより複数周期から成る第2のつなぎ波形c
w2を作成する。以下同様にして、切換え順序が相前後
する2つのフレーム波形を夫々複数周期分繰返し、先行
するフレーム波形に対応する複数周期波形を立下り特性
のエンベロープで重みづけし、後続するフレーム波形に
対応する複数周期波形を立上り特性のエンベロープで重
みづけし、両者を加算することにより先行するフレーム
波形から後続するフレーム波形まで滑らかに波形が変化
する複数周期波形を作成し、これを該2つのフレーム波
形に対応するつなぎ波形とする。こうして、切換え順序
が相前後する2つの主波形AT 、FWj 、FW2 
、FW3・・・・の組合せに対応して複数周期から成る
つなぎ波形cw1 、cw2 、cw3 、・・・を夫
々予め作成する。第1図CC)はこれらのつなぎ波形c
w1〜CW3の一例を模式的に示したものである。
Similarly, the first frame waveform FWj is repeated for a plurality of cycles to create a cross-fade envelope shape with a falling characteristic, and on the other hand, the second frame waveform F'
W2 is repeated for multiple cycles to create a cross-fade envelope with rising characteristics, and by adding the two, a second connecting waveform c consisting of multiple cycles is created.
Create w2. Thereafter, in the same way, two frame waveforms whose switching order is sequential are repeated for multiple cycles, and the multiple cycle waveform corresponding to the preceding frame waveform is weighted with the envelope of the falling characteristic to correspond to the following frame waveform. By weighting the multi-period waveform with the envelope of the rising characteristic and adding the two, a multi-period waveform whose waveform changes smoothly from the preceding frame waveform to the following frame waveform is created, and this is added to the two frame waveforms. The corresponding connecting waveform is used. In this way, the two main waveforms AT, FWj, FW2 whose switching order is sequential
, FW3, . . . , connecting waveforms cw1, cw2, cw3, . Figure 1 CC) shows these connecting waveforms c
An example of w1 to CW3 is schematically shown.

以上のようにして準備した主波形AT、FWI〜FW3
及びつなぎ波形cw1〜cw3の各サンプル点のデータ
を所定の符号化方式例えばPCM(パルスコード変調)
方式で符号化して波形メモリに記憶する。第1図(d)
は波形メモリにおける各主波形及びつなぎ波形の記憶フ
ォーマットを略示したものであり、読み出すべき順序に
従って波形メモリ内に記憶される。
Main waveforms AT, FWI to FW3 prepared as above
The data at each sample point of the connecting waveforms cw1 to cw3 are encoded using a predetermined encoding method, such as PCM (pulse code modulation).
code and store it in the waveform memory. Figure 1(d)
is a schematic representation of the storage format of each main waveform and connecting waveforms in the waveform memory, and they are stored in the waveform memory according to the order in which they should be read.

上記波形メモリから主波形及びつなぎ波形のデータを所
定の順序で読み出すことにより楽音信号を発生する。そ
の場合、個々の波形の繰返し回数を予め定めておき、そ
の回数だけ繰返し読み出した後火の波形に切換えるもの
とする。第1図(e)には、主波形及びつなぎ波形の読
み出し順序とその繰返し読み出し回数の一例が示されて
いる。
A musical tone signal is generated by reading data of the main waveform and transition waveform from the waveform memory in a predetermined order. In that case, the number of repetitions of each waveform is determined in advance, and after reading out the waveform repeatedly for that number of times, the waveform is switched to the other waveform. FIG. 1(e) shows an example of the reading order of the main waveform and the transition waveform and the number of times the reading is repeated.

次に、この発明の楽音信号発生装置の一実施例につき第
2図に基づき説明する。
Next, an embodiment of the musical tone signal generating device of the present invention will be described with reference to FIG.

波形メモリ10では、上述のようにして予め準備した主
波形AT、FW1〜F’W3及びつなぎ波形cw1〜c
w3のデータを音色選択回路11で選択可能な各音色種
類毎に夫々記憶している。鍵盤12は、発生すべき楽音
の音高を指定するための複数の鍵を具えている。押鍵検
出回路13ではこの鍵盤12における押圧鍵を検出し、
押圧鍵に対応するキーコードKCと押鍵中は信号”1″
を維持するキーオン信号KON及び押鍵開始時に一時的
に信号″1”となるキーオンパルスKONPを出力する
。ノートクロック発生回路14は、キーコードKCに応
じて押圧鍵の音高に対応するノートクロックパルスNC
Pを発生する。アドレスカウンタ15はノートクロック
パルスNCPをカウントして波形メモリ10を読み出す
ためのアドレス信号ADを発生するものである。このア
ドレスカウンタ15はオア回路16を介して与えられる
キーオンパルスKONP及び比較器17の出力信号によ
ってリセットされる。
In the waveform memory 10, the main waveforms AT, FW1 to F'W3 and connecting waveforms cw1 to cw prepared in advance as described above are stored.
The data of w3 is stored for each selectable timbre type by the timbre selection circuit 11, respectively. The keyboard 12 includes a plurality of keys for specifying the pitch of musical tones to be generated. The pressed key detection circuit 13 detects the pressed keys on this keyboard 12,
Key code KC corresponding to the pressed key and signal “1” while the key is pressed
It outputs a key-on signal KON that maintains the key-on signal KON and a key-on pulse KONP that temporarily becomes a signal "1" at the start of key depression. The note clock generation circuit 14 generates a note clock pulse NC corresponding to the pitch of the pressed key according to the key code KC.
Generate P. The address counter 15 counts note clock pulses NCP and generates an address signal AD for reading out the waveform memory 10. This address counter 15 is reset by the key-on pulse KONP applied via the OR circuit 16 and the output signal of the comparator 17.

スタートアドレスメモリ18は、波形メモリ10におけ
る各主波形AT 、FW1〜F’W3及びつなぎ波形C
W[〜CW3の最初のサンプル点のデ−タを記憶したア
ドレス(スタートアドレス)を各音色毎に記憶している
。エンドアドレスメモリ19は、波形メモリ10におけ
る各主波形AT、FW1〜FW3及びつなぎ波形cw1
〜cw3の最後のサンプル点のデータを記憶したアドレ
ス(エンドアドレス)を各音色毎に記憶している。第1
図(d)には、各波形AT−FW3のスタートアドレス
5o−S、とエンドアドレスE。−E6が例示されてい
る。なお、この実施例では、スタートアドレス5o−8
6は波形メモリ10における絶対アドレスで与えられ、
エンドアドレスEo−E6は相対アドレス(つまり各々
に対応するスタートアドレス5o−86からのアドレス
数)で与えられるとする。繰返し回数メモリ20は、各
主波形AT、FW1〜FW3及びつなぎ波形cw1〜C
W3を繰返して読み出すべき回数を各音色毎に記憶した
ものであり、その−例は第1図(eJのようである。つ
まり、複数周期から成るアタック部波形AT及びつなぎ
波形cw1〜cw3は夫々1回だけ読み出し、フレーム
波形Ftj 、FW2は夫々8回及びM回だけ繰返しく
N及びMは任意の整数)、最後のフレーム波形FW3は
特に繰返し回数を設定せずに発音終了まで繰返すように
する。
The start address memory 18 stores each main waveform AT, FW1 to F'W3 and connecting waveform C in the waveform memory 10.
The address (start address) at which the data of the first sample point of W[~CW3 is stored is stored for each tone color. The end address memory 19 stores each main waveform AT, FW1 to FW3 and connecting waveform cw1 in the waveform memory 10.
The address (end address) storing the data of the last sample point of ~cw3 is stored for each tone. 1st
Figure (d) shows start addresses 5o-S and end addresses E of each waveform AT-FW3. -E6 is illustrated. Note that in this embodiment, the start address 5o-8
6 is given as an absolute address in the waveform memory 10,
It is assumed that the end addresses Eo-E6 are given as relative addresses (that is, the number of addresses from the corresponding start addresses 5o-86). The repetition number memory 20 stores each main waveform AT, FW1 to FW3, and connecting waveforms cw1 to C.
The number of times W3 should be repeated and read out is stored for each tone, and an example of this is shown in Figure 1 (eJ).In other words, the attack waveform AT and transition waveforms cw1 to cw3, each consisting of multiple periods, are Read only once, frame waveforms Ftj and FW2 are repeated 8 times and M times, respectively (N and M are arbitrary integers), and the last frame waveform FW3 is repeated until the end of sound generation without setting a specific number of repetitions. .

主波形AT 、F’W1〜FW3・・・及びつなぎ波形
CW1〜CW3・・・の各々を総称してセグメントとい
うことにし、その読み出し順序AT、CWl 、FWl
、CW2 、FW2 、CW3 、FW3・・・に従っ
て0.1,2,3,4,5.6・・・なるセグメント番
号が割当てられるとする。セグメントカウンタ21は、
波形メモリ10から読み出すべき波形をセグメント番号
によって指定するもので、発音開始時にキーオンパルス
KONPによってOにリセットされてセグメント番号O
つまりアタック部波形ATを指定し、以後、アンド回路
22を介して与えられる比較器23の出力信号“1”に
よってカウントアツプされる。このセグメントカウンタ
21のカウント値がセグメント番号データ5EGNとし
て各メモリ18,19.20に与えられる。各メモIJ
 18 、19 、20には音色選択回路11から音色
選択情報TCも与えられており、選択された音色とセグ
メント番号データ5EGNとに応じて、今、波形メモリ
10から読み出すべきセグメント(主波形AT 、FW
[〜FW3・・・又はつなぎ波形CW1〜cw3・・・
のいずれか1つ)のスタートアドレス(5o=Sa・・
・のいずれか1つ)とエンドアドレス(Eo=Ea・・
・のいずれか1つ)及び繰返し回数データを夫々読み出
す。
Each of the main waveforms AT, F'W1 to FW3... and connecting waveforms CW1 to CW3... is collectively referred to as a segment, and the reading order is AT, CWl, FWl.
, CW2, FW2, CW3, FW3, . . . and segment numbers 0.1, 2, 3, 4, 5.6, . . . are assigned. The segment counter 21 is
The waveform to be read from the waveform memory 10 is specified by a segment number.When sound generation starts, the segment number is reset to O by the key-on pulse KONP.
That is, the attack portion waveform AT is specified and thereafter counted up by the output signal "1" of the comparator 23 provided via the AND circuit 22. The count value of this segment counter 21 is given to each memory 18, 19.20 as segment number data 5EGN. Each memo IJ
18 , 19 , and 20 are also given tone color selection information TC from the tone color selection circuit 11, and select the segment (main waveform AT, main waveform AT, FW
[~FW3... or connecting waveform CW1~cw3...
) start address (5o=Sa...
・) and end address (Eo=Ea...
. ) and the repetition count data, respectively.

最終セグメントメモリ24は、発音開始から終了に至る
1発音期間において一番最後に読み出されるべき主波形
(つまりフレーム波形)のセグメント番号を各音色毎に
記憶したもので、音色選択情報TCに応じて該セグメン
ト番号のデータを読み出す。なお、第1図では最終セグ
メントは3番目のフレーム波形FW3であるが、これは
−例にすぎず、音色に応じて夫々任意である。
The final segment memory 24 stores, for each timbre, the segment number of the main waveform (that is, frame waveform) that should be read out last in one sounding period from the start to the end of sounding. Read the data of the segment number. In FIG. 1, the final segment is the third frame waveform FW3, but this is just an example and can be arbitrary depending on the tone.

比較器17はアドレスカウンタ15から出力されたアド
レス信号ADとエンドアドレスメモリ19から読み出さ
れたエンドアドレスメモリとを比較し、両者が一致した
とき信号″1”を出力する。
The comparator 17 compares the address signal AD output from the address counter 15 and the end address memory read from the end address memory 19, and outputs a signal "1" when the two match.

従って、波形メモリ10を読み出すためのアドレス信号
ADがエンドアドレスに到達する毎に、つまりセグメン
ト(主波形AT 、FW1〜FW3又はつなぎ波形cw
1〜CW3 )が1回読み出される毎に、比較器17が
信号”1″′を出力する。前述の通り、アドレスカウン
タ15のリセント入カにはオア回路16を介して比較器
17の出力が与えられており、この比較器17の出力信
号が”1″になる毎に該カウンタ15がリセットされる
Therefore, every time the address signal AD for reading out the waveform memory 10 reaches the end address, a segment (main waveform AT, FW1 to FW3 or connecting waveform cw
1 to CW3) are read once, the comparator 17 outputs a signal "1"'. As mentioned above, the output of the comparator 17 is applied to the recent input of the address counter 15 via the OR circuit 16, and the counter 15 is reset each time the output signal of the comparator 17 becomes "1". be done.

繰返し回数カウンタ25は比較器17の出力信号″1”
をカウントすることにより同じセグメントを繰返し読み
出した回数をカウントするものであり、オ゛γ回路26
を介して与えられるキーオンパルスKONF及び比較器
23の出力によってリセットされる。比較器23は繰返
し回数カウンタ25の出力と繰返し回数メモIJ 20
の出力とを比較し、両者が一致したとき信号”1″を出
力する。
The repetition counter 25 receives the output signal "1" from the comparator 17.
By counting the number of times the same segment is read repeatedly, the γ circuit 26
It is reset by the key-on pulse KONF applied via the comparator 23 and the output of the comparator 23. The comparator 23 outputs the output of the repetition counter 25 and the repetition number memo IJ 20.
When the two match, a signal "1" is output.

例えば、繰返し回数メモリ20から読み出された繰返し
回数データが「1」のときは繰返し回数カウンタ25の
カウント値が「1」になったとき比較器26の出力がl
″となり、これにより該カウンタ25がリセットされる
。また、繰返し回数メモリ20から読み出された繰返し
回数データがrNJのときは、カウンタ25のカウント
値が「N」になるまで該カウンタ25て比較器17の出
力のカウントが行われ、rNJになったとき比較器23
の出力がI I+となって該カウンタ25がリセットさ
れる。
For example, when the repetition number data read from the repetition number memory 20 is "1", when the count value of the repetition number counter 25 reaches "1", the output of the comparator 26 is l.
'', thereby resetting the counter 25. Also, when the repetition number data read from the repetition number memory 20 is rNJ, the counter 25 is compared until the count value of the counter 25 becomes "N". The output of the comparator 17 is counted, and when it reaches rNJ, the comparator 23
The output becomes I I+ and the counter 25 is reset.

こうして、セグメント(主波形AT 、FW1〜FW3
又はつなぎ波形cw1〜cw5 )が所定回数読み出さ
れたとき、比較器23の出力信号が11″となり、該信
号″1″がアンド回路22を介して与えられてセグメン
トカウンタ21が1カウントアンプされる。これにより
次の順位のセグメント(主波形FW1〜F’W3又はつ
なぎ波形CW1〜CW3 )がセグメントカウンタ21
の出力5EGNによって指定され、波形メモリ10から
読み出すべき波形が切換えられる。比較器27はセグメ
ントカウンタ21の出力5EGNと最終セグメントメモ
リ24の出力とを比較し、両者が一致したとき、つまり
最終セグメント(例えばF W 3)が読み出されるよ
うになったとき、信号”1″′を出力する。この比較器
27の出力はインバータ28で反転され、アンド回路2
2の他の入力に加わる。従って、アンド回路22に加わ
るインバータ28の出力信号は、通常?+ 】、 n 
であり、比較器23の出力信号″1”がセグメントカウ
ンタ21に与えられることを可能にするが、最終セグメ
ントが読み出されているときは”OI+となり、アンド
回路22を不動作にし、セグメントカウンタ21のカウ
ント動作をストップする。
In this way, the segment (main waveform AT, FW1 to FW3
When the connecting waveforms cw1 to cw5) are read out a predetermined number of times, the output signal of the comparator 23 becomes 11'', and the signal ``1'' is applied via the AND circuit 22 to amplify the segment counter 21 for one count. As a result, the next ranked segment (main waveforms FW1 to F'W3 or connecting waveforms CW1 to CW3) is displayed on the segment counter 21.
The waveform to be read from the waveform memory 10 is switched. The comparator 27 compares the output 5EGN of the segment counter 21 and the output of the final segment memory 24, and when the two match, that is, when the final segment (for example, FW 3) is about to be read, the signal "1" is output. ′ is output. The output of this comparator 27 is inverted by an inverter 28, and the AND circuit 2
It joins the other inputs of 2. Therefore, the output signal of the inverter 28 applied to the AND circuit 22 is normally ? + ], n
This allows the output signal "1" of the comparator 23 to be given to the segment counter 21, but when the final segment is being read, it becomes "OI+", disabling the AND circuit 22, and causing the segment counter 21 to receive the output signal "1". Stop the counting operation of 21.

これにより、セグメントカウンタ21の出力5EGNは
最終セグメントの番号を維持する。従って、最終セグメ
ントの波形の繰返し回数は制限されず、発音終了まで繰
返し読み出すことが可能である。
As a result, the output 5EGN of the segment counter 21 maintains the number of the last segment. Therefore, the number of repetitions of the waveform of the final segment is not limited, and it is possible to read out the waveform repeatedly until the end of sound generation.

加算器29はスタートアドレスメモリ18から読み出さ
れたスタートアドレスデータとアドレスカウンタ15か
ら読み出されたアドレス信号ADとを加算し、波形メモ
リ10から読み出すべき波形サンプル点データを絶対ア
ドレスで指定するアドレスデータAADを出力し、これ
を波形メモリ10に入力する。
The adder 29 adds the start address data read from the start address memory 18 and the address signal AD read from the address counter 15, and generates an address that specifies the waveform sample point data to be read from the waveform memory 10 using an absolute address. Data AAD is output and inputted into the waveform memory 10.

以上の構成により、順番に切換えて読み出されるべき主
波形AT、FWj〜FW3・・・の間につなぎ波形cw
1〜CW3・・・を介在させる順序で、波形メモリ10
から各波形のデータが順次読み出され、し小も個々の波
形は繰返し回数メモリ20に設定された回数だけ繰返し
読み出される。
With the above configuration, the connecting waveform cw is created between the main waveforms AT, FWj to FW3, which are to be sequentially switched and read out.
1 to CW3... in the order in which the waveform memory 10 is interposed.
The data of each waveform is sequentially read out from the memory 20, and each waveform is repeatedly read out the number of times set in the repetition number memory 20.

すなわち、まず、押鍵開始時にキーオンパルスKONP
が発生されると、各カウンタ15,2f。
That is, first, the key-on pulse KONP is activated at the start of key depression.
is generated, each counter 15, 2f.

25がリセットされ、セグメントカウンタ21から出力
されるセグメント番号5EGNが「0」となり、アタッ
ク部波形ATを指定する。これにより、スタートアドレ
スメモリ18からアタック部波形ATのスタートアドレ
スSOを示すデータが読み出される。また、繰返し読出
し回数が第1図(e)のように設定されているとすると
、繰返し回数「1」を示すデータがメモリ20から読み
出される。また、エンドアドレスメモリ19からはアタ
ック部波形ATのエンドアドレスE。ヲ示スデータが読
み出される。アドレスカウンタ15から発生されるアド
レス信号ADの値はノートクロックパルスNCPに従っ
てrOJかも順次増加し、これが加算器29でスタート
アドレスS。に加算されることにより、スタートアドレ
スデータ)ら順次増加するアドレスデータAADが得ら
れる。このアドレスデータAADに応じて波形メモリ1
0からアタック部波形ATのデータが順次読み出される
。アドレス信号ADがエンドアドレスEoに一致すると
、比較器17の出力が信号ff 1 +1となり、繰返
し回数カウンタ25を1カウントアツプしてその内容を
「1」にすると共にアドレスカウンタ15をリセットす
る。すると、メモリ2oから読み出された繰返し回数デ
ータ「1」とカウンタ25のカウント値「l」が一致し
、比較器23の出力が信号″1″となり、繰返し回数カ
ウンタ25をリセットすると共にセグメントカウンタ2
1を1カウントアツプしてその内容をrlJにする。
25 is reset, and the segment number 5EGN output from the segment counter 21 becomes "0", specifying the attack waveform AT. As a result, data indicating the start address SO of the attack portion waveform AT is read from the start address memory 18. Further, if the number of repeated readings is set as shown in FIG. 1(e), data indicating the number of repetitions "1" is read from the memory 20. Also, from the end address memory 19, the end address E of the attack waveform AT. The indicated data is read out. The value of the address signal AD generated from the address counter 15 is sequentially increased by rOJ according to the note clock pulse NCP, and this is added to the start address S by the adder 29. address data AAD that increases sequentially from the start address data) is obtained. According to this address data AAD, the waveform memory 1
The data of the attack waveform AT is sequentially read out from 0. When the address signal AD matches the end address Eo, the output of the comparator 17 becomes the signal ff 1 +1, and the repetition counter 25 is incremented by one to make its content "1", and the address counter 15 is reset. Then, the repetition number data "1" read from the memory 2o and the count value "l" of the counter 25 match, the output of the comparator 23 becomes a signal "1", and the repetition number counter 25 is reset and the segment counter 2
Increment 1 by 1 and set the content to rlJ.

こうしてカウンタ21から出力されるセグメント番号5
EGNが「0」から「1」に切換わり、複数周期から成
るアタック部波形ATは1回だけ読み出され、次に読み
出されるべき波形として第1のつなぎ波形cw1が指定
される。以下同様の手順で波形の読み出しと切換え制御
が行われ、第1図(e)の場合は、アタック部波形AT
を1回読み出した後は、第1のつなぎ波形cw1を1回
読み出し、その後筒1のフレーム波形FWjをN回繰返
して読み出し、次に第2のつなぎ波形cw2を1回読み
出し、次にフレーム波形FW2をM回繰返して読み出し
、次に第3のつなぎ波形を1回読み出し、最後にフレー
ム波形FW3を少なくとも発音終了まで繰返し読み出す
。なお、以上から明らかなように、符号14から29ま
での回路を含むブロックが波形メモリ10の読出し手段
60として機能する。
Segment number 5 outputted from the counter 21 in this way
EGN switches from "0" to "1", the attack waveform AT consisting of a plurality of periods is read out only once, and the first connecting waveform cw1 is designated as the waveform to be read out next. Thereafter, waveform readout and switching control are performed in the same manner, and in the case of FIG. 1(e), the attack part waveform AT
After reading out once, the first connecting waveform cw1 is read out once, then the frame waveform FWj of tube 1 is read out N times, the second connecting waveform cw2 is read out once, and then the frame waveform FW2 is read out repeatedly M times, then the third connecting waveform is read out once, and finally, frame waveform FW3 is read out repeatedly until at least the end of sound generation. As is clear from the above, the block including the circuits 14 to 29 functions as the reading means 60 of the waveform memory 10.

波形メモリ10から読み出された波形データは乗算器3
1に与えられ、エンベロープ発生器32から与えられる
エンベロープ波形信号が乗算される。エンベロープ発生
器32は、キーオン信号KON及び音色選択情報TCに
基づき、アタック、ディケイ等の特性を持つエンベロー
プ波形信号を発生する。波形メモリ10に記憶したアタ
ック部波形ATが予めアタックエンベロープが付与され
たものである場合は、このエンベロープ発生器32から
発生するエンベロープ波形信号の立上りは格別のアクツ
クカーブ特性を示さずに急激に立上るものであってよい
が、アタック部波形ATのピークレベルを一定レベルに
規格化したものを波形メモリ10に記憶した場合はこの
エンベロープ波形信号は所定のアクツクカーブ特性で立
上るものとする。乗算器31の出力はディジタル/アナ
ログ変換器33でアナログ信号に変換され、サウンドシ
ステム34に与えられる。
The waveform data read from the waveform memory 10 is sent to the multiplier 3.
1 and is multiplied by the envelope waveform signal provided from the envelope generator 32. The envelope generator 32 generates an envelope waveform signal having characteristics such as attack and decay based on the key-on signal KON and the tone selection information TC. If the attack part waveform AT stored in the waveform memory 10 has been given an attack envelope in advance, the rise of the envelope waveform signal generated from the envelope generator 32 will not show any particular attack curve characteristics and will rise suddenly. However, if the peak level of the attack waveform AT is normalized to a constant level and is stored in the waveform memory 10, this envelope waveform signal rises with a predetermined attack curve characteristic. The output of the multiplier 31 is converted into an analog signal by a digital/analog converter 33 and provided to a sound system 34.

上記実施例では、エンドアドレスメモリ19に記憶する
エンドアドレスデータは相対アドレスで表現されている
ものとしたが、これは絶対アドレスで表現したものであ
ってもよい。その場合は比較器17には相対的なアドレ
ス信号ADの代わりに絶対的なアドレスデータAADを
入力するものとする。
In the above embodiment, the end address data stored in the end address memory 19 is expressed as a relative address, but it may be expressed as an absolute address. In that case, absolute address data AAD is input to comparator 17 instead of relative address signal AD.

上記実施例では、アタック部では複数周期から成るアタ
ック部波形ATを1回だけ読み出すようにしているが、
これに限らず、所定の1周期波形を所定回数繰返し読み
出すようにしてもよい。
In the above embodiment, the attack section waveform AT consisting of multiple cycles is read out only once.
The present invention is not limited to this, and a predetermined one-cycle waveform may be repeatedly read out a predetermined number of times.

また、波形メモリ10を読み出すための読出し手段30
は、第2図のようなディスクリート型回路から成るもの
に限らず、マイクロコンピュータを用いたソフトウェア
プログラムによって実施してもよい。
Also, a reading means 30 for reading out the waveform memory 10.
This is not limited to a discrete circuit as shown in FIG. 2, but may be implemented by a software program using a microcomputer.

上記実施例ではつなぎ波形cw1〜cw3・・・は相前
後する2つの主波形のクロスフェード補間演算を行うこ
とにより準備しているが、これに限らず、相前後する2
つの主波形の間を滑らかにつなげるこきができるもので
あればどのようなやり方でつなぎ波形を形成してもよい
。例えば、原波形から適当な複数周期波形を取り出し、
これを適宜修正することによりつなぎ波形を作成するよ
うにしてもよい。
In the above embodiment, the connecting waveforms cw1 to cw3... are prepared by performing cross-fade interpolation calculations on two main waveforms that follow each other, but the present invention is not limited to this.
The connecting waveforms may be formed in any way as long as the two main waveforms can be smoothly connected. For example, extract a suitable multi-period waveform from the original waveform,
A connecting waveform may be created by modifying this as appropriate.

上記実施例において、繰返し読み出すべき主波形つまり
フレーム波形FWj〜F’W3・・・は、それぞれ任意
の周期に設定できるものであり、1周期波形から成るも
のに限らず、2周期以上の波形いは〒周期等1周期未満
の波形であってもよい。
In the above embodiment, the main waveforms, that is, the frame waveforms FWj to F'W3, which should be repeatedly read out, can each be set to any period, and are not limited to waveforms with one period, but can be waveforms with two or more periods. may be a waveform of less than one cycle, such as 〒cycle.

1周期未満の波形を記憶した場合は、通常知られている
ように、位相反転あるいは逆方向読出し等の手法により
1周期波形として読み出し、これを繰返す。
When a waveform of less than one period is stored, it is read out as a one-period waveform by a technique such as phase inversion or reverse reading, as is generally known, and this process is repeated.

主波形及びつなぎ波形を作成する際の基となる原波形は
自然楽器音をサンプリングしたものに限らず、シンセサ
イザ等によって人工的に作られた音の波形など、その他
どんな波形でもよい。また、原波形を準備せずに、各主
波形を適宜に作成するようにしてもよい。
The original waveform that is the basis for creating the main waveform and the connecting waveform is not limited to a sampled natural instrument sound, but may be any other waveform, such as a waveform of a sound artificially created by a synthesizer or the like. Furthermore, each main waveform may be created as appropriate without preparing the original waveform.

各鍵(各音高)毎に別々に、あるいは所定の鍵域(音域
)毎に別々に、主波形及びつなぎ波形を波形メモリに記
憶し、発生すべき楽音の音高(又は音域)に応じてそれ
らを選択して読み出すようにしてもよい。
The main waveform and the connecting waveform are stored in the waveform memory separately for each key (each pitch) or for each predetermined key range (range), and the They may also be selected and read out.

また、波形メモリに記憶する波形データの符号化方式は
PCM方式に限らず、差分PCM方式、デルタ変調(D
M)方式、適応デルタ変調(ADM)方式などどのよう
な方式であってもよい。その場合、適宜の復号回路を波
形メモリの出力側に設けるものとする。
In addition, the encoding method of waveform data stored in the waveform memory is not limited to the PCM method, but also the differential PCM method, delta modulation (D
Any method may be used, such as M) method or adaptive delta modulation (ADM) method. In that case, an appropriate decoding circuit shall be provided on the output side of the waveform memory.

第2図では単音電子楽器が示されているが、複音電子楽
器においてもこの発明を適用することができる。その場
合、各カウンタ15,21.25が複数チャンネルで時
分割的に動作し得る構成とすればよい。また、この発明
は各鍵に対応する音階音を発生する場合に限らず、リズ
ム音その他の可聴音歿の発生に適用することができる。
Although FIG. 2 shows a single-tone electronic musical instrument, the present invention can also be applied to a multi-tone electronic musical instrument. In that case, each counter 15, 21, 25 may be configured to operate in a time-divisional manner on a plurality of channels. Furthermore, the present invention is not limited to the generation of scale tones corresponding to each key, but can be applied to the generation of rhythm tones and other audible tones.

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

第1図は波形メモリに記憶すべき主波形及びつなぎ波形
の一例を模式的に示す図、 第2図はこの発明の一実施例に係る電子楽器のブロック
図、である。 AT・・アタック部波形、FW1〜FW3・・・フレー
ム波形、cw1〜cw3・・つなぎ波形、So〜S6・
・・スタートアドレス、Eo−E6・・・エンドアドレ
ス、10・・・波形メモリ、11・・・音色選択回路、
12・・・鍵盤、60・・・読出し手段。
FIG. 1 is a diagram schematically showing an example of a main waveform and a connecting waveform to be stored in a waveform memory, and FIG. 2 is a block diagram of an electronic musical instrument according to an embodiment of the present invention. AT...Attack waveform, FW1~FW3...Frame waveform, cw1~cw3...Connection waveform, So~S6...
...Start address, Eo-E6...End address, 10...Waveform memory, 11...Tone selection circuit,
12...Keyboard, 60...Reading means.

Claims (1)

【特許請求の範囲】 所定の順序で切換えて読み出されるべき複数の主波形の
データと、切換え順序が相前後する2つの前記主波形の
間をつなぐための、該2つの主波形に対応する、複数周
期から成るつなぎ波形のデータとを記憶した波形記憶手
段と、 相前後して読み出されるべき2つの前記主波形の間にそ
れに対応する前記つなぎ波形を介在させる順序で、先行
する主波形のデータを所定回数繰返し読み出した後、前
記つなぎ波形のデータを読み出し、続いて後続する主波
形のデータを所定回数繰返し読み出すようにする読出し
手段と を具えた楽音信号発生装置。
[Scope of Claims] For connecting data of a plurality of main waveforms to be switched and read in a predetermined order and two main waveforms whose switching order is consecutive, corresponding to the two main waveforms, a waveform storage means storing data of a connecting waveform consisting of a plurality of periods; and data of the preceding main waveform in an order in which the corresponding connecting waveform is interposed between the two main waveforms to be read out one after the other. 1. A musical tone signal generating device comprising: reading means for repeatedly reading data of the connecting waveform a predetermined number of times, then reading data of the following main waveform repeatedly a predetermined number of times.
JP60216100A 1985-10-01 1985-10-01 Music signal generator Expired - Lifetime JPH0727384B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60216100A JPH0727384B2 (en) 1985-10-01 1985-10-01 Music signal generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60216100A JPH0727384B2 (en) 1985-10-01 1985-10-01 Music signal generator

Publications (2)

Publication Number Publication Date
JPS6278599A true JPS6278599A (en) 1987-04-10
JPH0727384B2 JPH0727384B2 (en) 1995-03-29

Family

ID=16683245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60216100A Expired - Lifetime JPH0727384B2 (en) 1985-10-01 1985-10-01 Music signal generator

Country Status (1)

Country Link
JP (1) JPH0727384B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0320797A (en) * 1989-03-20 1991-01-29 Casio Comput Co Ltd Sampling electronic musical instrument
JPH066638U (en) * 1991-08-01 1994-01-28 尚生 犬束 Simple warehouse type space forming structure
JP2013140298A (en) * 2012-01-06 2013-07-18 Yamaha Corp Musical performance device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5643700A (en) * 1979-09-19 1981-04-22 Nippon Telegraph & Telephone Voice synthesizer
JPS60147793A (en) * 1984-01-12 1985-08-03 ヤマハ株式会社 Musical sound signal generator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5643700A (en) * 1979-09-19 1981-04-22 Nippon Telegraph & Telephone Voice synthesizer
JPS60147793A (en) * 1984-01-12 1985-08-03 ヤマハ株式会社 Musical sound signal generator

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0320797A (en) * 1989-03-20 1991-01-29 Casio Comput Co Ltd Sampling electronic musical instrument
JP2621466B2 (en) * 1989-03-20 1997-06-18 カシオ計算機株式会社 Sampling device
JPH066638U (en) * 1991-08-01 1994-01-28 尚生 犬束 Simple warehouse type space forming structure
JP2013140298A (en) * 2012-01-06 2013-07-18 Yamaha Corp Musical performance device

Also Published As

Publication number Publication date
JPH0727384B2 (en) 1995-03-29

Similar Documents

Publication Publication Date Title
US4246823A (en) Waveshape generator for electronic musical instruments
US4633749A (en) Tone signal generation device for an electronic musical instrument
JP2722907B2 (en) Waveform generator
JP2571911B2 (en) Music signal generator
US4706537A (en) Tone signal generation device
EP0149896A2 (en) Method and apparatus for dynamic reproduction of transient and steady state voices in an electronic musical instrument
US4026180A (en) Electronic musical instrument
JP2567717B2 (en) Musical sound generator
US4200021A (en) Electronic musical instruments which form musical tones by repeatedly generating musical tone waveform elements
US5290965A (en) Asynchronous waveform generating device for use in an electronic musical instrument
US4733591A (en) Electronic musical instrument
US4133244A (en) Electronic musical instrument with attack repeat effect
JPS6286394A (en) Generation of musical sound signal
JPS6278599A (en) Musical tone signal generator
US4754679A (en) Tone signal generation device for an electronic musical instrument
JPS61204696A (en) Tone signal generator
US4702142A (en) Fundamental frequency variation for a musical tone generator using stored waveforms
JPS61124994A (en) Musical sound signal generator
US4174650A (en) Envelope generator for an electronics musical instrument
JPS623299A (en) Tone signal generation
JPH0583917B2 (en)
US4184402A (en) Electronic musical instrument
JPS6330638B2 (en)
US4683795A (en) Periodic wave form generation by recyclically reading amplitude and frequency equalized digital signals
JPS6037600Y2 (en) electronic musical instruments

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term