Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0337196B2 - - Google Patents
[go: Go Back, main page]

JPH0337196B2 - - Google Patents

Info

Publication number
JPH0337196B2
JPH0337196B2 JP62201909A JP20190987A JPH0337196B2 JP H0337196 B2 JPH0337196 B2 JP H0337196B2 JP 62201909 A JP62201909 A JP 62201909A JP 20190987 A JP20190987 A JP 20190987A JP H0337196 B2 JPH0337196 B2 JP H0337196B2
Authority
JP
Japan
Prior art keywords
musical tone
tone signal
information
periodic
address
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
JP62201909A
Other languages
Japanese (ja)
Other versions
JPS6346493A (en
Inventor
Akio Hyoshi
Eisaku Okamoto
Eiichiro Aoki
Toshio Sugiura
Koichi Kozuki
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 JP62201909A priority Critical patent/JPS6346493A/en
Publication of JPS6346493A publication Critical patent/JPS6346493A/en
Publication of JPH0337196B2 publication Critical patent/JPH0337196B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

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

〔産業上の利用分野〕 この発明は電子楽器用の楽音信号発生装置に関
し、特に、波形メモリに記憶された複数周期分の
波形データを読み出すことによつて楽音信号を発
生するようにした楽音信号発生装置に関する。 〔従来の技術〕 従来において、音色が時間経過に従つて変化す
る高品質の楽音信号を発生するために、複数周期
分の楽音波形(楽音信号)を所定周期でサンプリ
ングした各サンプル点の波形データを波形メモリ
に記憶し、この記憶した複数周期分の波形データ
を順次読み出すことによつて楽音信号を発生する
ようにした楽音信号発生装置が提案されている
(特開昭52−121313号公報、特願昭53−70191号
(特開昭54−161313号公報)参照)。 〔発明が解決しようとする問題点〕 ところが、この従来の楽音信号発生装置では、
波形メモリに記憶した楽音波形(波形データ)を
そのまま忠実に読み出して再生するものであるた
め、発生される楽音信号は常に同じで固定された
ものとなつてしまう。このため、種々の楽音信号
を発生しようとした場合には、それぞれ複数周期
分の楽音波形を記憶した波形メモリを複数設けな
ければならず、全体として大容量のメモリが必要
になるという欠点がある。 この発明は上述した欠点に鑑みなされたもので
あつて、複数周期分の楽音波形を記憶した波形メ
モリを用いて楽音信号を発生するにつき、波形メ
モリの容量を増大することなく、簡単かつ安価な
構成で、種々の楽音信号を発生できるようにした
楽音信号発生装置を提供することを目的とするも
のである。 〔問題点を解決するための手段〕 この発明は次の各要件から構成したものであ
る。 a 所望の複数周期分の楽音波形に関する波形デ
ータを記憶する波形記憶手段、 b 上記波形記憶手段に記憶された複数周期分の
波形データをそれぞれ少なくとも1周期からな
る複数の単位波形に区分し、楽音信号発生時か
らの時間経過に従つて上記波形記憶手段から順
次読み出すべき上記単位波形を所定の順序で指
定する第1の指定手段、 c 上記第1の指定手段により順次指定される各
単位波形のうち、楽音信号の持続部に対応して
所望の単位波形を演奏者が任意に指定入力する
第2の指定手段、 d 楽音信号の発生指令に応答して上記波形記憶
手段に記憶された各単位波形に関するデータの
うち、上記第1の指定手段により指定される単
位波形に関する波形データを順次読み出すため
のものであつて、上記第2の指定手段により指
定される単位波形を読み出すとき該単位波形を
楽音信号の発生停止指令が与えられるまで繰返
し読み出す読出手段。 〔作用〕 楽音信号の発生指令が与えられると、波形記憶
手段に記憶した複数の単位を第1の指定手段によ
つて指定される読出し順序に従つて順次読み出す
が、この読出しにおいて第2の指定手段によつて
指定される単位波形の読出しが指示されると、こ
の単位波形を楽音信号の発生停止指令(離鍵の指
令)が与えられるまで繰返し読み出し、これが楽
音信号の持続部分(サステイン部分)となる。 〔実施例〕 第1図はこの発明に係る楽音信号発生装置を適
用した電子楽器の一実施例を示すブロツク図であ
る。なお、この明細書において楽音信号とは、第
2図の波形図に示すようにある任意の楽音を電気
信号に変換したものを総称するものであり、そし
てその「周期」とは第2図の波形図において
「T」で示すように楽音信号全期間の中でほぼ同
一波形形状の信号が繰り返される期間を指す。従
つて、この明細書において使用される「周期別楽
音信号」とは、第2図の波形図において「T」で
示す期間の楽音信号を指す。この場合、第2図に
示すように「2T」を単位周期としてもよい。な
お、以下では「T」を単位周期として説明する。
従つて、周期別楽音信号を上記のように定義づけ
た場合、外部から与えられる楽音を所定周期でサ
ンプリングし、その各サンプル点振幅値を楽音信
号として楽音データメモリに記憶させると、楽音
データメモリには複数の周期別楽音信号が記憶さ
れることになる。 (1) 構成説明 第1図において、この実施例を示す電子楽器
は大別すると、楽音データメモリ1、書込み装
置2、周期別楽音信号検出装置、周期別アドレ
ス情報メモリ4、キースイツチ回路5、周期信
号発生回路6、選択情報設定装置7、読出しア
ドレス情報発生装置8、メモリ制御装置9、発
音装置10とから構成されている。 (楽音データメモリ1) 楽音データメモリ1は、そのリードライト制
御端子(R/W)に与えられるモード制御信号
MD1が“1”のときにライトモードとなり、
後述するメモリ制御回路9を介して書込み装置
2から供給される外部入力楽音の各サンプル点
振幅値が各アドレスに楽音信号として記憶さ
れ、モード制御信号MD1が“0”のときには
リードモードとなり、メモリ制御回路9を介し
てアドレス信号入力端子(ADR)に供給され
るアドレス情報A1RWによつて指定されたアド
レスに記憶されている楽音信号が読出される。
なお、以下においては説明の便宜上、楽音デー
タメモリ1にこれから書込まれる楽音信号は記
号「GDW」で表わし、既に記憶されている楽
音信号および読出された楽音信号は記号
「GD」で表わす。また、周期別楽音信号は記
号「GD1」で表わす。 (書込み装置2) 書込み装置2は、特にその内部構成は図示し
ないが、所定周期のサンプリング用クロツク信
号に基づいて順次値が変化するアドレス情報を
発生するアドレス情報発生回路と、入力楽音を
デイジタルの楽音信号に変換するAD変換器等
を備え、モードスイツチOP・SWにより電子
楽器の動作モードが外部入力楽音の書込みモー
ドに設定されていると、その書込みモード信号
OP1によりイネーブル状態となり、マイクMに
対して外部から与えられる入力楽音を所定周期
で順次サンプリングして外部入力楽音の振幅値
に対応したデイジタルの楽音信号GDWを出力
する。この場合、書込み装置2は楽音信号
GDWに同期して書込み用のアドレス情報A0W
出力すると共に、書込みスイツチW・SWの閉
成により楽音データメモリ1をライトモードと
するために“1”のモード制御信号MD0を出
力する。 (周期別楽音信号検出装置3) 周期別楽音信号検出装置3は、楽音データメ
モリ1に記憶された楽音信号GDを順次読出し
て該楽音信号GDの全期間を構成する各周期の
楽音信号の各々を検出し、この検出した周期別
楽音信号GD1が記憶されている楽音データメ
モリ1のアドレスを表わす周期別アドレス情報
ZXAを出力する。 この周期別楽音信号検出装置3による上記の
ような処理は、モードスイツチOP・SWによ
り電子楽器の動作モードが周期別楽音信号検出
モードに設定されている状態において、“1”
の周期検出モード信号OP2が与えられている時
にのみ実行される。つまり、“1”の周期検出
モード信号OP2が与えられると、この周期別楽
音信号検出装置3は、まず楽音データメモリ1
をリードモードとするために“0”のモード制
御信号MD3を出力し、続いて楽音データメモ
リ1に記憶された楽音信号GDを順次読出すた
めのアドレス情報A3RWを出力する。次に、楽
音データメモリ1から読出された楽音信号GD
から周期別楽音信号GD1の各々を検出し、こ
れら各周期別楽音信号GD1が記憶されている
楽音データメモリ1の各アドレスを表わす周期
別アドレス情報ZXAを書込み用のアドレス情
報A2RWと共に周期別アドレス情報メモリ4に
対して出力する。これによつて、周期別アドレ
ス情報メモリ4には、書込み用のアドレス情報
A2RWで指定されたアドレスに周期別アドレス
情報ZXAが記憶される。 (周期別アドレス情報メモリ4) 周期別アドレス情報メモリ4は、電子楽器の
動作モードが周期別楽音信号検出モードに設定
されている状態において、周期別楽音信号検出
装置3から供給される周期別アドレス情報
ZXAをアドレス情報A2RWで指定されるアドレ
スに順次記憶する。なお、周期別アドレス情報
ZXAの書込み時には該メモリ4のリードライ
ト制御端子(R/W)に対して周期別楽音信号
検出装置から“1”のモード制御信号MD2が
供給され、これによつて該メモリ4はライトモ
ードとなる。この場合、周期別アドレス情報
ZXAは、該情報ZXAに対応する周期別楽音信
号GD1が楽音データメモリ1に記憶されてい
る順に記憶される。つまり、周期別アドレス情
報メモリ4の最小アドレスには外部入力楽音の
立上り部分における第1周期目の周期別楽音信
号GD1に対応する周期別アドレス情報ZXAが
記憶され、最大アドレスには外部入力楽音の終
了部分における最後の周期別楽音信号GD1に
対応する周期別アドレス情報ZXAが記憶され
る。 一方、この周期別アドレス情報メモリ4は読
出しアドレス情報発生装置8からもアクセスさ
れる。つまり、電子楽器の動作モードが演奏モ
ードに設定されている状態において読出しアド
レス情報発生装置8から“0”のモード制御信
号MD4が供給されるとリードモードとなり、
読出し用のアドレス情報A4Rで指定されるアド
レスに記憶された周期別アドレス情報ZXAが
読出される。この場合、周期別楽音信号検出装
置3と読出しアドレス情報発生装置8はモード
スイツチOP・SWによつて所定の処理を実行
すべきことが指示されるため、周期別アドレス
情報メモリ4に対するアドレス情報A2RW
A4R、モード制御信号MD2とMD4の競合は
発生しない。 (キースイツチ回路5) キースイツチ回路5は、鍵盤部の各鍵に対応
したキースイツチを有し、ある鍵が押鍵される
と対応するキースイツチが動作し、その出力か
ら押下鍵音高に対応するノートコードNCおよ
びブロツクコードBCからなるキーコードKCを
出力すると共に、いずれかの鍵が押鍵されたこ
とを表わすキーオン信号KONを出力する。な
お、このキースイツチ回路5には単音優先回路
が内蔵されており、同時に2個以上のキースイ
ツチが動作した場合、優先度の高いキースイツ
チに対応するキーコードKCのみが出力される
ように構成されている。 (周期信号発生回路6) 周期信号発生回路6は、各アドレスに各鍵の
音高に対応した周波数ナンバFを記憶している
周波数ナンバメモリ60と、この周波数ナンバ
メモリ60から読出された周波数ナンバFを所
定周期で累算する累算器61とから構成され、
キースイツチ回路5から押下鍵音高に対応した
キーコードKCが供給されると、このキーコー
ドKCに対応した周波数ナンバFが周波数ナン
バメモリ60から読出される。累算器61は、
周波数ナンバメモリ60から読出された周波数
ナンバFを所定周期で順次累算して累算値qF
(q=1、2、3…)を形成する。そして、そ
の累算値qFが所定値に達すると、そのキヤリ
イ出力信号NqFを押下鍵音高に対応した周期
の周期信号NqFとして出力する。 (選択情報設定装置7) 選択情報設定装置7は、所望の周期別楽音信
号GD1を楽音データメモリ1から読出すため
の選択情報SDを設定するテンキーなどのデー
タ設定用キーボード等を備えている。そして、
この実施例においては、第1の選択情報SDと
して順番号Mn、繰り返し読出し回数情報Rnが
読出し順位毎に、また第2の選択情報SDとし
て1組の持続順番号情報CNn、終了順番号情
報Enが次の第1表に示すようなフオーマツト
従つて設定される。
[Industrial Application Field] The present invention relates to a musical tone signal generation device for an electronic musical instrument, and in particular to a musical tone signal generating device that generates a musical tone signal by reading out multiple cycles of waveform data stored in a waveform memory. Regarding the generator. [Prior Art] Conventionally, in order to generate high-quality musical tone signals whose timbre changes over time, multiple periods of musical waveforms (musical tone signals) are sampled at predetermined intervals and waveform data at each sample point is used. A musical tone signal generating device has been proposed in which a musical tone signal is generated by storing a plurality of cycles of waveform data in a waveform memory and sequentially reading out the stored waveform data for a plurality of periods (Japanese Patent Application Laid-open No. 121313/1983, (See Japanese Patent Application No. 53-70191 (Japanese Unexamined Patent Publication No. 54-161313)). [Problems to be solved by the invention] However, in this conventional musical tone signal generation device,
Since musical sound waveforms (waveform data) stored in a waveform memory are faithfully read out and reproduced as they are, the generated musical sound signals are always the same and fixed. Therefore, when trying to generate various musical tone signals, it is necessary to provide multiple waveform memories each storing musical waveforms for multiple periods, which has the drawback of requiring a large capacity memory overall. . This invention was made in view of the above-mentioned drawbacks, and it is possible to easily and inexpensively generate a musical tone signal using a waveform memory that stores musical waveforms for multiple periods without increasing the capacity of the waveform memory. It is an object of the present invention to provide a musical tone signal generating device that can generate various musical tone signals. [Means for Solving the Problems] This invention consists of the following requirements. a Waveform storage means for storing waveform data relating to a musical sound waveform for a plurality of desired periods; b. A waveform storage means for storing waveform data for a plurality of periods stored in the waveform storage means into a plurality of unit waveforms each consisting of at least one period; a first specifying means for specifying in a predetermined order the unit waveforms to be sequentially read out from the waveform storage means in accordance with the passage of time from the time of signal generation; c. a second specifying means by which the performer arbitrarily specifies and inputs a desired unit waveform corresponding to a continuous portion of the musical tone signal; d) each unit stored in the waveform storage means in response to a musical tone signal generation command; Among the waveform-related data, the waveform data related to the unit waveform specified by the first specifying means is sequentially read out, and when reading out the unit waveform specified by the second specifying means, the unit waveform is read out. A reading means that repeatedly reads out a musical tone signal until a command to stop generating the musical tone signal is given. [Operation] When a musical tone signal generation command is given, a plurality of units stored in the waveform storage means are sequentially read out in accordance with the reading order designated by the first designation means, and in this reading, the second designation is performed. When a unit waveform specified by the means is instructed to be read, this unit waveform is repeatedly read out until a command to stop generating a musical sound signal (key release command) is given, and this becomes the sustain part of the musical sound signal. becomes. [Embodiment] FIG. 1 is a block diagram showing an embodiment of an electronic musical instrument to which a musical tone signal generating device according to the present invention is applied. Note that in this specification, musical tone signal is a general term for any musical tone converted into an electrical signal as shown in the waveform diagram of FIG. As indicated by "T" in the waveform diagram, it refers to a period in which a signal having substantially the same waveform shape is repeated during the entire musical tone signal period. Therefore, the term "periodic musical tone signal" used in this specification refers to the musical tone signal of the period indicated by "T" in the waveform diagram of FIG. In this case, as shown in FIG. 2, "2T" may be used as a unit period. Note that in the following description, "T" is assumed to be a unit period.
Therefore, when the periodic musical tone signal is defined as above, if a musical tone given from the outside is sampled at a predetermined period and the amplitude value of each sample point is stored in the musical tone data memory as a musical tone signal, the musical tone data memory A plurality of periodic musical tone signals are stored in the . (1) Configuration description In FIG. 1, the electronic musical instrument showing this embodiment is roughly divided into musical tone data memory 1, writing device 2, musical tone signal detection device for each period, address information memory for each period 4, key switch circuit 5, and period It is composed of a signal generation circuit 6, a selection information setting device 7, a read address information generation device 8, a memory control device 9, and a sound generation device 10. (Musical tone data memory 1) The musical tone data memory 1 receives a mode control signal applied to its read/write control terminal (R/W).
When MD1 is “1”, it becomes light mode,
Each sample point amplitude value of the externally input musical tone supplied from the writing device 2 via the memory control circuit 9, which will be described later, is stored in each address as a musical tone signal, and when the mode control signal MD1 is "0", the read mode is set, and the memory The musical tone signal stored at the address specified by the address information A1 RW supplied to the address signal input terminal (ADR) via the control circuit 9 is read out.
In the following, for convenience of explanation, musical tone signals to be written into the musical tone data memory 1 will be represented by the symbol "GD W ," and musical tone signals that have already been stored and musical tone signals that have been read out will be represented by the symbol "GD." Furthermore, the periodic musical tone signal is represented by the symbol "GD1". (Writing device 2) The writing device 2 includes an address information generation circuit that generates address information whose value changes sequentially based on a sampling clock signal of a predetermined cycle, and a digital input musical tone generator, although its internal configuration is not particularly shown. If the electronic musical instrument is equipped with an AD converter, etc. that converts it into a musical tone signal, and the mode switch OP/SW sets the operating mode of the electronic musical instrument to externally input musical tone write mode, the write mode signal
It is enabled by OP1 , and the microphone M sequentially samples input musical tones from the outside at a predetermined period, and outputs a digital musical tone signal GD W corresponding to the amplitude value of the externally input musical tone. In this case, the writing device 2
In synchronization with GD W , write address information A0 W is output, and a mode control signal MD0 of "1" is output in order to put the musical tone data memory 1 into the write mode by closing the write switches W and SW. (Period-specific musical tone signal detection device 3) The period-specific musical tone signal detection device 3 sequentially reads the musical tone signal GD stored in the musical tone data memory 1 and detects each musical tone signal of each period constituting the entire period of the musical tone signal GD. period-specific address information representing the address of the musical tone data memory 1 where the detected period-specific musical tone signal GD1 is stored.
Output ZXA. The above-mentioned processing by the period-specific musical tone signal detection device 3 is performed when the operation mode of the electronic musical instrument is set to the period-specific musical tone signal detection mode by the mode switch OP/SW.
It is executed only when the period detection mode signal OP2 is given. That is, when the period detection mode signal OP 2 of "1" is given, the period-specific musical tone signal detection device 3 first reads the musical tone data memory 1.
A mode control signal MD3 of "0" is output in order to set the tone signal GD to read mode, and then address information A3 RW for sequentially reading out the musical tone signals GD stored in the musical tone data memory 1 is outputted. Next, the musical tone signal GD read out from the musical tone data memory 1
Detects each periodic musical tone signal GD1 from , and writes periodic address information ZXA representing each address of the musical tone data memory 1 where each periodic musical tone signal GD1 is stored together with the periodic address information A2 RW for writing. It is output to the information memory 4. As a result, address information for writing is stored in the periodic address information memory 4.
Periodic address information ZXA is stored at the address specified by A2 RW . (Periodic address information memory 4) The periodic address information memory 4 stores periodic addresses supplied from the periodic musical tone signal detection device 3 when the operation mode of the electronic musical instrument is set to the periodic musical tone signal detection mode. information
Store ZXA in sequence at the address specified by address information A2 RW . In addition, address information by cycle
When writing ZXA, a mode control signal MD2 of "1" is supplied to the read/write control terminal (R/W) of the memory 4 from the period-based musical tone signal detection device, and thereby the memory 4 is set to the write mode. Become. In this case, periodic address information
ZXA is stored in the order in which periodic musical tone signals GD1 corresponding to the information ZXA are stored in the musical tone data memory 1. That is, the minimum address of the period-specific address information memory 4 stores the period-specific address information ZXA corresponding to the period-specific musical tone signal GD1 of the first period in the rising portion of the externally input musical tone, and the maximum address stores the period-specific address information ZXA of the externally input musical tone. Period-specific address information ZXA corresponding to the last period-specific musical tone signal GD1 in the end portion is stored. On the other hand, the periodic address information memory 4 is also accessed by the read address information generating device 8. In other words, when the mode control signal MD4 of "0" is supplied from the read address information generating device 8 while the operating mode of the electronic musical instrument is set to the performance mode, the electronic musical instrument enters the read mode.
The periodic address information ZXA stored at the address specified by the read address information A4R is read. In this case, since the periodic musical tone signal detection device 3 and the read address information generation device 8 are instructed to execute a predetermined process by the mode switch OP/SW, the address information A2 for the periodic address information memory 4 is RW and
A4 R , no conflict occurs between mode control signals MD2 and MD4. (Key switch circuit 5) The key switch circuit 5 has a key switch corresponding to each key on the keyboard section. When a certain key is pressed, the corresponding key switch operates, and from its output, a note code corresponding to the pitch of the pressed key is generated. It outputs a key code KC consisting of NC and block code BC, and also outputs a key-on signal KON indicating that any key has been pressed. The key switch circuit 5 has a built-in single-tone priority circuit, and is configured so that when two or more key switches operate at the same time, only the key code KC corresponding to the key switch with higher priority is output. . (Periodic signal generation circuit 6) The periodic signal generation circuit 6 includes a frequency number memory 60 that stores a frequency number F corresponding to the pitch of each key at each address, and a frequency number read out from this frequency number memory 60. It is composed of an accumulator 61 that accumulates F at a predetermined period,
When the key code KC corresponding to the pitch of the pressed key is supplied from the key switch circuit 5, the frequency number F corresponding to this key code KC is read out from the frequency number memory 60. The accumulator 61 is
The frequency numbers F read from the frequency number memory 60 are accumulated in sequence at a predetermined period to obtain an accumulated value qF.
(q=1, 2, 3...) is formed. When the cumulative value qF reaches a predetermined value, the carry output signal NqF is output as a periodic signal NqF with a period corresponding to the pitch of the pressed key. (Selection Information Setting Device 7) The selection information setting device 7 is equipped with a data setting keyboard such as a numeric keypad for setting selection information SD for reading out a desired periodic musical tone signal GD1 from the musical tone data memory 1. and,
In this embodiment, the first selection information SD includes a sequence number Mn and repeated reading count information Rn for each reading order, and the second selection information SD includes a set of continuous sequence number information CNn and end sequence number information En. is set according to the format shown in Table 1 below.

【表】 第1表において、順番号情報Mnとは、所望
の周期別楽音信号GD1が楽音データメモリ1
に記憶されている順番号を表わす情報である。
繰り返し読出し回数情報Rnとは、前期順番号
情報Mnによつて指定される周期別楽音信号
GD1の繰り返し読出し回数を表わす情報であ
る。持続順番号情報CNnとは、これから発生
する楽音の持続部分を形成する周期別楽音信号
GD1が楽音データメモリ1に記憶されている
順番号を表わす情報である。終了順番号情報
Enとは、これから発生する楽音の終了部分を
形成する周期別楽音信号GD1が楽音データメ
モリ1に記憶されている順番号を表わす情報で
あり、この終了順番号情報Enおよび上記持続
順番号情報CNnは1つの発生楽音に対してそ
れぞれ1個づつ設定される。 従つて、これら4種類の情報Mn、Rn、
CNn、Enが上記第1表に示すようなものであ
る場合、第1番目に「Mn=1」で指定される
周期別楽音信号GD1が「Rn=2」で指定され
る回数だけ繰り返し読出され、第2番目に
「Mn=3」で指定される周期別楽音信号GD1
が「Rn=2」で指定される回数だけ繰り返し
読出される。そして、以後においても同様にし
て順番号情報Mnで指定される周期別楽音信号
GD1が繰り返し読出し回数情報Rnで指定され
る回数だけ繰り返し読出されるが、その後にお
いて「CNn=20」で示される周期別楽音信号
GD1の読出しが指定されると、鍵が解放され
るまで「CNn=20」で示される周期別楽音信
号GD1が繰り返し読出される。これによつ
て、サステイン部分(持続部分)に担当する楽
音が発生される。その後、鍵が解放されると、
次の読出し順位の情報Mnで指定される周期別
楽音信号GD1が情報Rnで指定される回数だけ
繰り返し読出されるが、この後「En=50」で
示される周期別楽音信号GD1の読出しが指定
されると、新たな鍵が押鍵されるまで「En=
50」で示される周期別楽音信号GD1が繰り返
し読出される。なお、この選択情報設定装置7
において設定された選択情報SDは後に述べる
読出しアドレス情報発生装置8内のメモリに転
送され記憶される。 (読出しアドレス情報発生装置8) 読出しアドレス情報発生装置8は、選択情報
設定装置7によつて設定された読出し順位毎の
各選択情報SDにより指定される周期別楽音信
号GD1が記憶されている楽音データメモリ1
のアドレスを周期別アドレス情報メモリ4に記
憶されている周期別アドレス情報ZXAに基づ
き検出し、この検出した各選択情報SDに対応
する周期別アドレス情報ZXAに基づき周期信
号発生装置6から出力される周期信号NqFの
周期で順次変化する読出し用アドレス情報RA
を出力する。なお、このような処理はモードス
イツチOP・SWによつて電子楽器の動作モー
ドが演奏モードに設定され、“1”の演奏モー
ド信号OP3が与えられている時のみ実行され
る。 つまり、“1”の演奏モード信号OP3が与え
られると、読出しアドレス情報発生装置8は、
まず周期別アドレス情報メモリ4および楽音デ
ータメモリ1をリードモードとするために
“0”のモード制御信号MD4を出力する。次
に、選択情報設定装置7によつて設定された選
択情報SDのうち各順番号情報Mn、持続順番号
情報CNnおよび終了順番号情報Enに対応する
周期別楽音信号GD1が記憶されている楽音デ
ータメモリ1のアドレスを検出するため、各情
報Mn、CNn、Enに対応したアドレス情報A4R
を周期別アドレス情報メモリ4に順次供給す
る。すると、周期別アドレス情報メモリ4から
各情報Mn、CNn、Enに対応した周期別アドレ
ス情報ZXAが順次読出されてこの読出しアド
レス情報発生装置8内のメモリに記憶される。
そして、鍵盤部で押鍵操作がなされキースイツ
チ回路5からキーオン信号KONが発生すると、
上記周期別アドレス情報ZXAに基づき周期信
号NqFの周期で順次変化する読出し用アドレ
ス情報RAを作り、該アドレス情報RAをメモ
リ制御装置9を介して楽音データメモリ1に供
給する。この場合、読出し用アドス情報RAは
繰り返し読出し回数情報Rn、持続順番号情報
CNn、終了順番号情報Enによつてその変化態
様が前述したように異なる。 (メモリ制御装置9) メモリ制御装置9は電子楽器の動作モード
(書込みモード、周期別楽音検出モード、演奏
モード)に応じて書込み装置2、周期別楽音信
号検出装置3、読出しアドレス情報発生装置8
から楽音データメモリ1に対するアクセスの優
先制御を行い、楽音データメモリ1に対しアド
レス情報A1RW、モード制御信号MD1、ライ
トデータD1Wを出力する。つまり、メモリ制御
装置9は、入力信号を次に示す第2表に基づい
て優先選択して楽音データメモリ1に出力す
る。
[Table] In Table 1, the sequence number information Mn means that the desired periodic musical tone signal GD1 corresponds to the musical tone data memory 1.
This is information representing the sequence number stored in .
The repeat readout number information Rn is the musical tone signal by cycle specified by the previous sequence number information Mn.
This is information representing the number of times GD1 is repeatedly read. Sustainment order number information CNn is a periodic musical tone signal that forms the sustained part of a musical tone that will be generated from now on.
GD1 is information representing the sequence number stored in the musical tone data memory 1. Ending sequence number information
En is information representing the sequence number in which the periodic musical tone signal GD1 forming the end part of the musical tone to be generated from now on is stored in the musical tone data memory 1, and this ending sequence number information En and the above-mentioned continuous sequence number information CNn are set for each generated musical tone. Therefore, these four types of information Mn, Rn,
When CNn and En are as shown in Table 1 above, the first periodic musical tone signal GD1 specified by "Mn = 1" is repeatedly read out the number of times specified by "Rn = 2". , the second periodic musical tone signal GD1 specified by “Mn=3”
is repeatedly read out the number of times specified by "Rn=2". Then, in the same way thereafter, the periodic musical tone signal specified by the sequence number information Mn is
GD1 is repeatedly read out the number of times specified by the number of repeated readout information Rn, but after that, the periodic musical tone signal indicated by "CNn = 20"
When reading of GD1 is specified, the periodic musical tone signal GD1 indicated by "CNn=20" is repeatedly read out until the key is released. As a result, a musical tone responsible for the sustain portion is generated. Then, when the key is released,
The period-specific musical tone signal GD1 specified by the next read-out order information Mn is repeatedly read the number of times specified by the information Rn, but after this, the period-specific musical tone signal GD1 indicated by "En=50" is specified to be read. "En=" until a new key is pressed.
The periodic musical tone signal GD1 indicated by "50" is repeatedly read out. Note that this selection information setting device 7
The selection information SD set in is transferred to and stored in a memory within the read address information generating device 8, which will be described later. (Read address information generation device 8) The read address information generation device 8 generates a musical tone in which the periodic musical tone signal GD1 specified by each selection information SD for each read order set by the selection information setting device 7 is stored. Data memory 1
is detected based on the periodic address information ZXA stored in the periodic address information memory 4, and is output from the periodic signal generator 6 based on the periodic address information ZXA corresponding to each detected selection information SD. Read address information RA that changes sequentially with the period of periodic signal NqF
Output. Incidentally, such processing is executed only when the operating mode of the electronic musical instrument is set to the performance mode by the mode switch OP/SW and the performance mode signal OP3 of "1" is applied. In other words, when the performance mode signal OP3 of "1" is given, the read address information generating device 8
First, a mode control signal MD4 of "0" is output in order to put the periodic address information memory 4 and musical tone data memory 1 into read mode. Next, among the selection information SD set by the selection information setting device 7, the musical tone signal GD1 corresponding to each sequence number information Mn, continuous sequence number information CNn, and ending sequence number information En is stored. To detect the address of data memory 1, address information A4 R corresponding to each information Mn, CNn, and En
are sequentially supplied to the periodic address information memory 4. Then, the periodic address information ZXA corresponding to each piece of information Mn, CNn, and En is sequentially read from the periodic address information memory 4 and stored in the memory in the read address information generating device 8.
Then, when a key is pressed on the keyboard section and a key-on signal KON is generated from the key switch circuit 5,
Based on the periodic address information ZXA, readout address information RA that changes sequentially with the period of the periodic signal NqF is created, and the address information RA is supplied to the musical tone data memory 1 via the memory control device 9. In this case, the read address information RA includes the repeat read count information Rn and the persistence sequence number information.
As described above, the manner of change differs depending on CNn and ending sequence number information En. (Memory Control Device 9) The memory control device 9 controls the writing device 2, the periodic musical tone signal detection device 3, and the read address information generating device 8 according to the operation mode of the electronic musical instrument (writing mode, periodic musical tone detection mode, performance mode).
It performs priority control of access to the musical tone data memory 1 from , and outputs address information A1 RW , mode control signal MD1, and write data D1 W to the musical tone data memory 1. That is, the memory control device 9 selects input signals with priority based on Table 2 shown below and outputs them to the musical tone data memory 1.

【表】 (発音装置10) 発音装置10はDA変換器(DAC)100、
エンベロープ制御回路101、スピーカ102
とから構成され、楽音データメモリ1から所望
の周期別楽音信号GD1が順次読出され、連続
的な楽音信号GDとして供給されると、このデ
イジタルの楽音信号GDはDAC100において
対応するアナログの楽音信号GAに変換され
る。このアナログの楽音信号GAはエンベロー
プ制御回路101内において、キーオン信号
KONの立上りに同期して発生が開始されるエ
ンベロープ波形信号EVによつてその振幅エン
ベロープの設定が行なわれた後スピーカ102
に供給される。これによつて、スピーカ102
からは楽音データメモリ1から順次読出される
周期別楽音信号GD1に対応した楽音が発音さ
れる。 以上が第1図に示す電子楽器の全体構成の説
明である。 (2) 動作説明 次に、全体動作を第3図に示すフローチヤー
トを用いて説明する。 第3図は全体動作の概略を示すフローチヤー
トである。 まず、この電子楽器では、楽音データメモリ
1に対して外部入力楽音に対応する楽音信号
GDWを書込むため、第3図のステツプ200
1に示すように、モードスイツチOP・SWを
用いて電子楽器の動作モードを書込みモードに
選択設定する。次に、ステツプ2002に示す
ように書込みスイツチW・SWを閉成する。次
に、この状態において、マイクMに対して外部
入力楽音が与えられると、この外部入力楽音は
書込み装置2において所定周期でサンプリング
されて対応するデイジタルの楽音信号GDW
変換される。このデイジタルの楽音信号GDW
はメモリ制御回路9に供給され、メモリ制御回
路9からライトデータD1Wとして楽音データメ
モリ1に供給される。この時、書込み装置2か
らは楽音信号GDWと共に該楽音信号GDWの書
込みアドレスを指定する書込み用のアドレス情
報A0Wおよび楽音データメモリ1をライトモー
ドとするためのモード制御信号MD0もメモリ
制御回路9に供給され、メモリ制御回路9から
楽音データメモリ1に対してアドレス情報
A1RWおよびモード制御信号MD1として供給
される。これによつて、第3図のステツプ20
03に示すように、楽音データメモリ1には外
部入力楽音を所定周期でサンプリングした各サ
ンプル点振幅値に対応する楽音信号GDWがア
ドレス情報A1RW(A0W)で指定されるアドレス
に順次記憶される。この場合、楽音信号GDW
は最小アドレスから最大アドレスへ向つて順に
記憶される。 楽音信号GDWの書込み処理が終了すると、
モードスイツチOP・SWを用いて電子楽器の
動作モードを周期別楽音信号検出モードに選択
設定する。次に、第3図のステツプ2004に
示すように、楽音データメモリ1に連続的に記
憶された楽音信号GDから各周期の周期別楽音
信号GD1の各々が検出され、次のステツプ2
005においてこの検出された各々の周期別楽
音信号GD1の基点部分が記憶されている楽音
データメモリ1のアドレスを表わす基点アドレ
ス情報が周期別アドレス情報ZXAとして周期
別アドレス情報メモリ4の各アドレスに記憶さ
れる。この場合、周期別アドレス情報メモリ4
の最小アドレスには外部入力楽音の立上り部分
における最初の周期別楽音信号GD1に対応す
る周期別アドレス情報ZXAが記憶され、最大
アドレスには外部入力楽音の終了部分における
最後の周期別楽音信号GD1に対応する周期別
アドレス情報ZXAが記憶される。 周期別楽音信号の検出処理が終了すると、モ
ードスイツチOP・SWを用いて電子楽器の動
作モードを演奏モードに選択設定する。 演奏モードにおいては、ステツプ2006〜
2010に示すように所望の周期別楽音信号
GD1を選択的に読出すための各種選択情報SD
が設定される。つまり、第3図のステツプ20
06において、持続順番号情報CNnが設定さ
れ、次のステツプ2007において終了順番号
情報Enが設定され、次のステツプ2008に
おいて順番号情報Mnが設定され、更に次のス
テツプ2010において、繰り返し読出し回数
情報Rnが設定される。この場合、順番号情報
Mnおよび繰り返し読出し回数情報Rnは読出し
順位毎に1対となつて設定されるものである。
従つて、第3図のステツプ2008および20
09の動作は各読出し順位毎に繰り返し行なわ
れる。そして、このようにして順次設定される
各情報CNn、En、Mn、Rnは読出しアドレス
情報発生装置8内に設けられたメモリに前記第
1表に示すようなフオーマツトに従つて順次記
憶される。 このようにして全ての選択情報SD(CNn、
En、Mn、Rn)の設定が終了すると、ステツ
プ2011において、設定された順番号情報
Mnに対応する同期別アドレス情報ZXA〔Mn〕、
持続順番号CNnに対応する周期別アドレス情
報ZXA〔CNn〕、終了順番号情報Enに対応する
周期別アドレス情報ZXA〔En〕が周期別アドレ
ス情報メモリ4の記憶内容に基づいて検出され
るとともに、順番号情報Mnに対応する周期別
楽音信号GD1の楽音データメモリ1における
記憶アドレス長が周期別アドレス情報メモリ4
の記憶内容に基づき検出される。つまり、ステ
ツプ2011においては、情報Mn、CNn、En
が対応する周期別アドレス情報ZXA〔Mn〕、
ZXA〔CNn〕、ZXA〔En〕に変換されると共に、
情報Mnに対応する周期別楽音信号GD1の記
憶アドレス長が算出される。なお、このステツ
プ2011において得られた周期別アドレス情
報ZXA〔Mn〕、ZXA〔CNn〕、ZXA〔En〕およ
び記憶アドレス長を表わす記憶アドレス長情報
ALは読出しアドレス情報発生装置8内に設け
られたメモリに記憶される。ここで、上記周期
別アドレス情報ZXA〔Mn〕は順番号情報Mnに
対応する周期別楽音信号GD1の支点部分が記
憶されている楽音データメモリ1のアドレスを
表わすものであり、また上記周期別アドレス情
報ZXA〔CNn〕、ZXA〔En〕は持続順番号情報
CNnおよび終了順番号情報Enにそれぞれ対応
する周期別楽音信号GD1の終点部分が記憶さ
れている楽音データメモリ1のアドレスを表わ
すものである。 従つて、周期別アドレス情報メモリ4の各ア
ドレスに記憶されている周期別アドレス情報
ZXAが次の第3表に示すようなものであり、
また選択情報SDとして設定された順番号情報
Mnおよび持続順番号情報CNnならびに終了順
番号情報Enが前記第1表で示したようなもの
であつた場合、全ての読出し順位に関する情報
の設定処理が終了した段階においては次の第4
表に示すような周期別アドレス情報ZXA
〔Mn〕、ZXA〔CNn〕、ZXA〔En〕およびアドレ
ス長情報ALならびに繰り返し読出し回数情報
Rnが設定されたことになる。
[Table] (Sound generation device 10) The sound generation device 10 includes a DA converter (DAC) 100,
Envelope control circuit 101, speaker 102
When a desired periodic musical tone signal GD1 is sequentially read out from the musical tone data memory 1 and supplied as a continuous musical tone signal GD, this digital musical tone signal GD is converted into a corresponding analog musical tone signal GA in the DAC 100. is converted to This analog musical tone signal GA is used as a key-on signal in the envelope control circuit 101.
After the amplitude envelope is set by the envelope waveform signal EV that starts generating in synchronization with the rising edge of KON, the speaker 102
supplied to With this, the speaker 102
From there, musical tones corresponding to the periodic musical tone signals GD1 sequentially read out from the musical tone data memory 1 are produced. The above is an explanation of the overall configuration of the electronic musical instrument shown in FIG. (2) Operation description Next, the overall operation will be explained using the flowchart shown in FIG. FIG. 3 is a flowchart showing an outline of the overall operation. First, in this electronic musical instrument, a musical tone signal corresponding to an externally input musical tone is stored in the musical tone data memory 1.
To write GD W , step 200 in Figure 3
1, the operating mode of the electronic musical instrument is selected and set to write mode using the mode switch OP/SW. Next, as shown in step 2002, the write switch W/SW is closed. Next, in this state, when an externally input musical tone is applied to the microphone M, this externally input musical tone is sampled at a predetermined period in the writing device 2 and converted into a corresponding digital musical tone signal GD W. This digital musical tone signal GD W
is supplied to the memory control circuit 9, and from the memory control circuit 9 is supplied to the tone data memory 1 as write data D1W . At this time, the writing device 2 sends the musical tone signal GD W as well as the writing address information A0 W specifying the write address of the musical tone signal GD W and the mode control signal MD0 for setting the musical tone data memory 1 in the write mode. Address information is supplied to the circuit 9 and sent from the memory control circuit 9 to the musical tone data memory 1.
A1 RW and mode control signal MD1. This leads to step 20 in FIG.
As shown in 03, in the musical tone data memory 1, musical tone signals GD W corresponding to the amplitude values of each sample point obtained by sampling externally input musical tones at a predetermined period are sequentially stored at addresses specified by address information A1 RW (A0 W ). be done. In this case, musical tone signal GD W
are stored in order from the smallest address to the largest address. When the writing process of musical tone signal GD W is completed,
Use the mode switch OP/SW to select and set the operation mode of the electronic musical instrument to period-based musical tone signal detection mode. Next, as shown in step 2004 in FIG. 3, each periodic musical tone signal GD1 of each period is detected from the musical tone signal GD continuously stored in the musical tone data memory 1, and the musical tone signal GD1 for each period is detected.
At 005, base point address information representing the address of the musical tone data memory 1 where the base point portion of each of the detected periodic musical tone signals GD1 is stored is stored in each address of the periodic address information memory 4 as periodic address information ZXA. be done. In this case, the periodic address information memory 4
The minimum address stores period-specific address information ZXA corresponding to the first period-specific musical tone signal GD1 in the rising portion of the externally input musical tone, and the maximum address stores period-specific address information ZXA corresponding to the last period-specific musical tone signal GD1 in the end portion of the externally input musical tone. Corresponding periodic address information ZXA is stored. When the periodic musical tone signal detection processing is completed, the operating mode of the electronic musical instrument is selected and set to the performance mode using the mode switch OP/SW. In the performance mode, steps 2006~
As shown in 2010, the musical tone signal by desired period is
Various selection information SD for selectively reading GD1
is set. In other words, step 20 in Figure 3
In step 06, the continuous sequence number information CNn is set, in the next step 2007, the end sequence number information En is set, in the next step 2008, the sequence number information Mn is set, and further in the next step 2010, the repeated read count information is set. Rn is set. In this case, sequence number information
Mn and repeated reading number information Rn are set as a pair for each reading order.
Therefore, steps 2008 and 20 of FIG.
The operation 09 is repeated for each reading order. The pieces of information CNn, En, Mn, and Rn sequentially set in this way are sequentially stored in the memory provided in the read address information generating device 8 according to the format shown in Table 1 above. In this way, all selection information SD (CNn,
En, Mn, Rn) is completed, in step 2011, the set sequence number information is
Address information by synchronization corresponding to Mn ZXA [Mn],
The periodic address information ZXA[CNn] corresponding to the continuous sequence number CNn and the periodic address information ZXA[En] corresponding to the ending sequence number En are detected based on the stored contents of the periodic address information memory 4, and The storage address length in the musical tone data memory 1 of the periodic musical tone signal GD1 corresponding to the sequence number information Mn is the periodic address information memory 4.
Detected based on the memory contents of. That is, in step 2011, information Mn, CNn, En
Periodic address information corresponding to ZXA [Mn],
Along with being converted to ZXA[CNn] and ZXA[En],
The storage address length of the periodic musical tone signal GD1 corresponding to the information Mn is calculated. Note that the periodic address information ZXA[Mn], ZXA[CNn], ZXA[En] obtained in this step 2011 and storage address length information representing the storage address length
AL is stored in a memory provided within the read address information generating device 8. Here, the period-specific address information ZXA [Mn] represents the address of the musical tone data memory 1 where the fulcrum part of the period-specific musical tone signal GD1 corresponding to the sequence number information Mn is stored, and the period-specific address information Information ZXA [CNn], ZXA [En] is persistence order number information
This represents the address of the musical tone data memory 1 where the end point portion of the periodic musical tone signal GD1 corresponding to CNn and ending sequence number information En is stored. Therefore, the periodic address information stored in each address of the periodic address information memory 4
ZXA is as shown in Table 3 below,
Also, sequence number information set as selection information SD
If Mn, continuous sequence number information CNn, and ending sequence number information En are as shown in Table 1 above, the following 4th
Periodic address information ZXA as shown in the table
[Mn], ZXA [CNn], ZXA [En], address length information AL, and repeat read count information
This means that Rn has been set.

【表】【table】

【表】 このようにして全ての情報の設定処理が終了
した後、ステツプ2012に示すように演奏者
による押鍵操作が行なわれると、ステツプ20
06〜2011で設定した各種情報ZXA
〔Mn〕、AL、RnおよびZXA〔CNn〕、ZXA
〔En〕に基づく楽音が発生される。つまり、鍵
盤部においてある鍵が押鍵されると、キースイ
ツチ回路5からキーオン信号KONおよび押下
鍵に対応したキーコードKCが出力される。キ
ーコードKCは周期信号発生回路6に供給され、
これによつて周期信号発生回路6から押下鍵音
高に対応した周期の周期信号NqFが出力され
る。この周期信号nqFは読出しアドレス情報発
生装置8に供給される。一方、キースイツチ回
路5から出力されるキーオン信号KONも読出
しアドレス情報発生装置8に供給される。 読出しアドレス情報発生装置8は、キーオン
信号KONの立上り部分において初期状態化さ
れる。そして、まず第1読出し順位の周期別ア
ドレス情報ZXA〔Mn〕を初期値として「ZXA
〔Mn〕+AL」の値まで周期信号NqFの周期で
順次増加する読出し用アドレス情報RAを繰り
返し読出し回数情報Rnで指定された回数だけ
繰り返し発生する。このようにして発生される
読出し用アドレス情報RAはメモリ制御装置9
を介して楽音データメモリ1に供給される。こ
れによつて、第1読出し順位に設定されている
順番号情報Mnに対応する周期別楽音信号GD
1が繰り返し読出し回数情報Rnで設定された
回数だけ楽音データメモリ1から読出される。 第1読出し順位の選択情報SD(Mn、Rn)に
基づく周期別楽音信号GD1の読出しが終了す
ると、次には第2読出し順位の選択情報SD
(Mn、Rn)に基づく周期別楽音信号GD1の読
出しが同様に行なわれる。 その後押鍵中(キーオン信号KONが“1”
の期間中)において、持続順番号情報CNnに
対応する周期別楽音信号GD1の読出しが読出
し用アドレス情報RAによつて指定されると、
以後該情報CNnに対応する周期別楽音信号GD
1が繰り返し読出される。この繰り返し読出し
はキーオン信号KONが“0”になるまで続行
される。これによつて、発生楽音の持続部分が
形成される。そして、押下鍵が解放されると、
次の読出し順位の選択情報SD(Mn、Rn)に基
づく周期別楽音信号GD1の読出しが再び続行
される。この後、終了順番号情報Enに対応す
る周期別楽音信号GD1の読出しが読出し用ア
ドレス情報RAによつて指定されると、以後該
情報Enに対応する周期別楽音信号GD1が繰り
返し読出される。この繰り返し読出しは次の新
たな鍵が押鍵されるまで続行される。これによ
つて発生楽音の終了部分が形成される。 以上のようにして楽音データメモリ1から読
出された周期別楽音信号GD1は連続的に発音
装置10に供給される。 これによつて発音装置10から選択情報SD
に対応した楽音が発音される。 (3) 各部の詳細説明 次に、この発明による電子楽器の要部である
周期別楽音信号検出装置3および読出しアドレ
ス情報発生装置8について詳細に説明する。 (周期別楽音信号検出装置3) 周期別楽音信号検出装置3は、いわゆるマイ
クロプロセツサ等で構成され、次に述べるよう
な方法によつて周期別楽音信号を検出する。 周期別楽音信号の検出方法 周期別楽音信号GD1を前述したように定義
づけた場合、楽音データメモリ1には複数の周
期別楽音信号GD1が記憶されていることにな
る。しかし、この楽音データメモリ1に記憶さ
れている複数の周期別楽音信号GD1は各周期
毎に分離されて記憶されているものでなく、連
続的な楽音信号GDとして記憶されているもの
である。従つて、この連続的な楽音信号GDか
ら周期毎の周期別楽音信号GD1を指定して読
出すためには、まず各周期の基点を定めなくて
はならない。 そこで、この実施例においては、次のような
条件に基づいて各周期別楽音信号GD1の基点
を定めるようにしている。
[Table] After all information setting processing is completed in this way, when the player performs a key press operation as shown in step 2012, step 20
Various information ZXA set from 06 to 2011
[Mn], AL, Rn and ZXA [CNn], ZXA
A musical tone based on [En] is generated. That is, when a certain key is pressed on the keyboard section, the key switch circuit 5 outputs a key-on signal KON and a key code KC corresponding to the pressed key. The key code KC is supplied to the periodic signal generation circuit 6,
As a result, the periodic signal generating circuit 6 outputs a periodic signal NqF having a period corresponding to the pitch of the pressed key. This periodic signal nqF is supplied to the read address information generator 8. On the other hand, a key-on signal KON outputted from the key switch circuit 5 is also supplied to the read address information generating device 8. The read address information generating device 8 is initialized at the rising edge of the key-on signal KON. First, the periodic address information ZXA [Mn] of the first read order is set as the initial value and “ZXA
The read address information RA that increases sequentially at the period of the periodic signal NqF up to the value of [Mn]+AL'' is repeatedly generated the number of times specified by the read count information Rn. The read address information RA generated in this way is stored in the memory control device 9.
The musical tone data is supplied to the musical tone data memory 1 via. As a result, the periodic musical tone signal GD corresponding to the sequence number information Mn set in the first reading order is
1 is read out from the musical tone data memory 1 the number of times set by the repeated reading number information Rn. When the reading of the periodic musical tone signal GD1 based on the selection information SD (Mn, Rn) of the first readout order is completed, next the selection information SD of the second readout order is completed.
Reading of the period-specific musical tone signal GD1 based on (Mn, Rn) is performed in the same manner. Then, while pressing the key (key-on signal KON is “1”)
(during the period), when readout of the periodic musical tone signal GD1 corresponding to the duration sequence number information CNn is specified by the readout address information RA,
From now on, the periodic musical tone signal GD corresponding to the information CNn
1 is read repeatedly. This repeated reading continues until the key-on signal KON becomes "0". This forms the sustained part of the generated musical tone. Then, when the pressed key is released,
The reading of the periodic musical tone signal GD1 based on the selection information SD (Mn, Rn) of the next reading order is continued again. Thereafter, when readout of the periodic musical tone signal GD1 corresponding to the end order number information En is specified by the readout address information RA, the periodic musical tone signal GD1 corresponding to the information En is repeatedly read out. This repeated reading continues until the next new key is pressed. This forms the end of the generated musical tone. The periodic musical tone signal GD1 read out from the musical tone data memory 1 as described above is continuously supplied to the sound generating device 10. As a result, the selection information SD is sent from the sound generation device 10.
A musical tone corresponding to the tone is produced. (3) Detailed explanation of each part Next, the period-based musical tone signal detection device 3 and the read address information generation device 8, which are the main parts of the electronic musical instrument according to the present invention, will be explained in detail. (Period-specific musical tone signal detection device 3) The period-specific musical tone signal detection device 3 is composed of a so-called microprocessor or the like, and detects the period-specific musical tone signal by the method described below. Method for Detecting Period-Specific Musical Tone Signals When the period-specific musical tone signal GD1 is defined as described above, the musical tone data memory 1 stores a plurality of period-specific musical tone signals GD1. However, the plurality of period-specific musical tone signals GD1 stored in the musical tone data memory 1 are not stored separately for each period, but are stored as continuous musical tone signals GD. Therefore, in order to designate and read out the period-specific musical tone signal GD1 from the continuous musical tone signal GD, it is first necessary to determine the base point of each period. Therefore, in this embodiment, the base point of each periodic tone signal GD1 is determined based on the following conditions.

【表】 〔条件Aの説明〕;これは、第2図の波形図に
示したように、ほぼ同一波形形状が繰り返さ
れる楽音信号の場合、“周期の基点”はどの
サンプル点でも採用し得るが、楽音信号振幅
の零振幅値となるゼロクロスサンプル点を採
用するのが一般的であるためである。
[Table] [Explanation of Condition A]; This means that, as shown in the waveform diagram in Figure 2, in the case of a musical tone signal in which almost the same waveform shape is repeated, the "base point of the period" can be adopted at any sample point. This is because it is common to use a zero-crossing sample point at which the musical tone signal amplitude has a zero amplitude value.

【表】 〔条件Bの説明〕;楽音信号振幅が零振幅値と
なるゼロクロスサンプル点は、楽音信号振幅
が正の値から負の値へ変化するときの負方向
のゼロクロスサンプル点と、楽音信号振幅の
負の値から正の値へ変化するときの正方向の
ゼロクロスサンプル点との2種類ある。この
実施例では正方向のゼロクロスサンプル点を
採用している。
[Table] [Explanation of Condition B]; The zero-crossing sample point where the musical tone signal amplitude becomes zero amplitude value is the zero-crossing sample point in the negative direction when the musical tone signal amplitude changes from a positive value to a negative value, and the zero-crossing sample point where the musical tone signal amplitude changes from a positive value to a negative value. There are two types: a zero-crossing sample point in the positive direction when the amplitude changes from a negative value to a positive value. This embodiment employs zero-crossing sample points in the positive direction.

【表】 〔条件Cの説明〕;第2図の波形図に示すよう
に、高調波成分が多く含まれる楽記信号の場
合、第2図の波形図においてa1,b1,c1また
はa2,b2,c3の信号で示すようにある一定の
楽音信号期間に複数個の正方向ゼロクロスサ
ンプル点が現われる。このような場合におい
て、例えば記号b1で示される正方向ゼロクロ
スサンプル点を採用したとすると、次の楽音
信号期間には記号b1で示される正方向ゼロク
ロスサンプル点に相当する記号b2で示される
正方向ゼロクロスサンプル点が存在するが、
さらに次の楽音信号期間においてはこの記号
b1およびb2で示される正方向ゼロクロスサン
プル点に相当するものは存在しない。このた
め、周期別楽音信号期間が不安定なものとな
る。つまり、第2図の波形図において記号
b1,b2およびc1,c2で示される正方向ゼロク
ロスサンプル点は、高調波成分のレベル変動
や位相変動などによつて容易に生じたり消滅
したりして不安定な正方向ゼロクロスサンプ
ル点となる。このような不安定な正方向ゼロ
クロスサンプル点を周期別楽音信号の基点と
して設定した場合には周期別楽音信号期間が
不安定なものとなることは明らかである。逆
に、第2図の波形図において記号a1,a2
a3,a4で示されるような正方向ゼロクロスサ
ンプル点は、その前後期間における振幅値が
充分大きいため、高調波成分のレベル変動や
位相変動があつても大きな影響を受けず、相
当長い楽音信号期間に亘つて存在するものと
考えられる。従つて、このような正方向ゼロ
クロスサンプル点を周期別楽音信号の基点と
して設定した場合には周期別楽音信号期間は
比較的安定したものとなることが考えられ
る。そこで、記号a1,a2,a3,a4で示される
ような正方向ゼロクロスサンプル点を周期別
楽音信号の基点として設定するため、第4図
の波形図において示すように、楽音信号の全
期間におけるある一定の楽音信号期間Tmに
存在する複数個の正方向ゼロクロスサンプル
点a5、b6、c6の各々を中心とした前後の所定
期間Tαにおける楽音信号振幅の積分値Sa5
Sb6、Sc6を求め、この求めた積分値のうち
最大値を示す積分値Sa5に対応す正方向ゼロ
クロスサンプル点a5を検出するようにしてい
る。この場合の検出処理の手順としては、楽
音の立上り付近における楽音信号は高調波成
分のレベル変動や位相変動が大きいため、楽
音が充分安定したときの楽音信号期間におい
てまず楽音信号全期間の中の基準となる正方
向ゼロクロスサンプル点を上述した方法によ
つて定め、この後この基準正方向ゼロクロス
サンプル点を中心にアタツク方向、デイケイ
方向へ順次検出範囲を移動させるようにして
いる。 以上のようにして、周期別楽音信号の基点とな
る正方向ゼロクロスサンプル点の設定が行なわれ
るが、この基点となる正方向ゼロクロスサンプル
点に対応する終点に相当する正方向ゼロクロスサ
ンプル点、すなわち次の周期の周期別楽音信号の
基点となる正方向ゼロクロスサンプル点は次のよ
うにして設定される。つまり、ある周波数の楽音
を所定周期で順次サンプリングした場合、その楽
音信号の周期に相当するサンプル点数は予測でき
る(このサンプル点数をn個とする)。このため、
上述の条件Cの項において説明したように、ある
1つの周期別楽音信号の基点となる正方向ゼロク
ロスサンプル点が設定されれば、この設定した正
方向ゼロクロスサンプル点を中心として「+n+
β」の範囲における正方向ゼロクロスサンプル点
を検出し、この検出した正方向ゼロクロスサンプ
ル点のうち、上述の条件Cに合致した正方向ゼロ
クロスサンプル点を1周期後の周期別楽音信号の
基点として設定する。すなわち、第5図の波形図
で示すように、1周期後の周期別楽音信号の基点
となる正方向ゼロクロスサンプル点を設定する場
合、最初に設定した正方向ゼロクロスサンプル点
a0を基準点として「+n+β」の範囲における正
方向ゼロクロスサンプル点a1を検出し、この正方
向ゼロクロスサンプル点a1を新たな周期別楽音信
号の基点として設定する。この場合、「+n+β」
の範囲において上記条件Cに合致する正方向ゼロ
クロスサンプル点が存在しなかつた場合は検出範
囲をさらに延長し、前述の条件Cにおける積分値
の大小に関係なく初めての正方向ゼロクロスサン
プル点を新たな基点として設定する。 なお最初に基点を検出したある周期の周期別楽
音信号よりも前の周期における周期別楽音信号の
基点となる正方向ゼロクロスサンプル点を検出す
る場合は、最初に検出した正方向ゼロクロスサン
プル点を基準点として「−n−β」の範囲におけ
る正方向ゼロクロスサンプル点を上述の場合と同
様に検出するようにすれば良い。 以上が周期別楽音信号の基点となる正方向ゼロ
クロスサンプル点の基本的な設定方法であるが、
これ以外に各種の複雑な楽音信号に対処するた
め、以下のケースA〜Bで示すような設定方法が
実行される。
[Table] [Explanation of Condition C]; As shown in the waveform diagram of Figure 2, in the case of a music signal that contains many harmonic components, a 1 , b 1 , c 1 or As shown by the signals a 2 , b 2 , and c 3 , a plurality of positive zero-crossing sample points appear in a certain musical tone signal period. In such a case, for example, if a positive direction zero-crossing sample point indicated by symbol b 1 is adopted, in the next musical tone signal period, a point indicated by symbol b 2 corresponding to the positive direction zero-crossing sample point indicated by symbol b 1 is used. There is a positive zero-crossing sample point that
Furthermore, in the next musical tone signal period, this symbol
There are no equivalents to the positive zero-crossing sample points indicated by b 1 and b 2 . For this reason, the musical tone signal period for each cycle becomes unstable. In other words, in the waveform diagram of Figure 2, the symbol
The positive zero-crossing sample points indicated by b 1 , b 2 and c 1 , c 2 are unstable positive zero-crossing samples that easily appear or disappear due to level fluctuations or phase fluctuations of harmonic components. It becomes a point. It is clear that if such an unstable positive direction zero-crossing sample point is set as the base point of the musical tone signal by period, the period of the musical tone signal by period becomes unstable. Conversely, in the waveform diagram of Fig. 2, the symbols a 1 , a 2 ,
Positive direction zero-crossing sample points such as a 3 and a 4 have sufficiently large amplitude values in the periods before and after them, so even if there are level fluctuations or phase fluctuations of harmonic components, they are not affected greatly, and can be used for quite long musical tones. It is considered that the signal exists throughout the signal period. Therefore, if such a positive direction zero-crossing sample point is set as the base point of the periodic musical tone signal, it is thought that the periodic musical tone signal period will be relatively stable. Therefore, in order to set the positive direction zero cross sample points as shown by symbols a 1 , a 2 , a 3 , and a 4 as the base points of the period-specific musical tone signal, the musical tone signal is adjusted as shown in the waveform diagram of FIG. An integral value Sa 5 of the musical tone signal amplitude in a predetermined period Tα before and after each of a plurality of positive direction zero cross sample points a 5 , b 6 , c 6 existing in a certain musical tone signal period Tm in the entire period,
Sb 6 and Sc 6 are determined, and a positive direction zero cross sample point a 5 corresponding to the integral value Sa 5 indicating the maximum value among the determined integral values is detected. In this case, the detection processing procedure is as follows: Since the musical tone signal near the rise of the musical tone has large level fluctuations and phase fluctuations of harmonic components, the first step in the musical tone signal period when the musical tone is sufficiently stable is to A reference positive direction zero cross sample point is determined by the method described above, and then the detection range is sequentially moved in the attack direction and decay direction around this reference positive direction zero cross sample point. As described above, the positive zero-crossing sample points that serve as the base points of periodic musical tone signals are set. The positive zero-crossing sample point, which is the base point of the period-specific musical tone signal, is set as follows. That is, when a musical tone of a certain frequency is sampled sequentially at a predetermined period, the number of sample points corresponding to the period of the musical tone signal can be predicted (this number of sample points is assumed to be n). For this reason,
As explained in the section of condition C above, if a positive direction zero-crossing sample point that is the base point of one cycle-specific musical tone signal is set, "+n+
Detect positive zero-crossing sample points in the range of ``β'', and set the positive zero-crossing sample point that meets the above condition C among the detected positive zero-crossing sample points as the base point of the musical tone signal for each period one cycle later. do. In other words, as shown in the waveform diagram of Fig. 5, when setting the positive direction zero-crossing sample point which becomes the base point of the period-specific musical tone signal one cycle later, the first positive direction zero-crossing sample point set
A positive direction zero-crossing sample point a1 in the range of "+n+β" is detected using a0 as a reference point, and this positive direction zero-crossing sample point a1 is set as the base point of a new period-specific musical tone signal. In this case, "+n+β"
If there is no positive zero-crossing sample point that meets the above condition C in the range of Set as base point. Note that when detecting a positive direction zero-crossing sample point that is the base point of a period-specific musical tone signal in a period earlier than the period-specific musical tone signal of a certain period whose base point was first detected, the first detected positive direction zero-crossing sample point is used as the reference point. The positive direction zero-crossing sample point in the range "-n-β" may be detected in the same manner as in the above case. The above is the basic method of setting the positive direction zero-crossing sample point, which is the base point of the periodic musical tone signal.
In addition to this, in order to deal with various kinds of complicated musical tone signals, setting methods as shown in the following cases A to B are executed.

【表】 〔ケースAの説明〕;前述したように、周期別楽
音信号の基点は、ある一定の楽音信号期間Tm
に存在する複数個の正方向ゼロクロスサンプル
点のうち、各正方向ゼロクロスサンプル点を中
心とした所定期間Tαにおける楽音信号振幅の
積分値が最大値を示す正方向ゼロクロスサンプ
ル点に設定されるが、楽音信号をサンプリング
する際のサンプリング周期に制限があるため、
第6図の波形図に示すように、順次サンプル点
a10〜a15の中に正方向ゼロクロスサンプル点が
存在しない場合がある。このような場合、楽音
信号振幅が零振幅値となる前後のサンプル点
(第6図の波形図の場合a12とa13)のうち、そ
の絶対値振幅が小さい方のサンプル点を正方向
ゼロクロスサンプル点として設定する。第6図
の波形図の場合、サンプル点a12を正方向ゼロ
クロスサンプル点として設定する。
[Table] [Explanation of case A]; As mentioned above, the base point of the periodic musical tone signal is a certain musical tone signal period Tm
Among the plurality of positive direction zero cross sample points existing in the positive direction zero cross sample points, the positive direction zero cross sample point is set at which the integral value of the musical tone signal amplitude in a predetermined period Tα centered on each positive direction zero cross sample point has the maximum value. Because there is a limit to the sampling period when sampling musical tone signals,
As shown in the waveform diagram in Figure 6, the sample points are
There may be no positive zero-crossing sample point between a10 and a15 . In such a case, among the sample points before and after the musical tone signal amplitude reaches zero amplitude value (a 12 and a 13 in the waveform diagram of Fig. 6), the sample point with the smaller absolute value amplitude is set to the zero cross in the positive direction. Set as a sample point. In the case of the waveform diagram of FIG. 6, sample point a12 is set as the positive zero-crossing sample point.

【表】 〔ケースBの説明〕;第7図の波形図において、
前述の条件Cに従つて基準の正方向ゼロクロス
サンプル点a0を設定した後、1周期後の正方向
ゼロクロスサンプル点を設定しようとする場
合、「a0+n±β」の範囲において前記条件C
に該当する2個(以上)の正方向ゼロクロスサ
ンプル点a1、a2が存在することがある。このよ
うな場合は、各正方向ゼロクロスサンプル点
a1、a2の前後における各波形形状と検出基準の
正方向ゼロクロスサンプル点a0の前後における
波形形状との相関関係を比較し、相関関係の大
きい方の正方向ゼロクロスサンプル点を採用す
る。この相関関係の比較判定は簡易的に次のよ
うにして行なわれる。つまり、第8図aおよび
第8図bに示すように、正方向ゼロクロスサン
プル点a0を通る楽音信号波形f(t)と正方向
ゼロクロスサンプル点a1を通る楽音信号波形g1
(t)とが区間「−t〜+t」において囲む面
t-t |f(t)−g1(t)|を求め、また楽音信号
f(t)と正方向ゼロクロスサンプル点a2を通
る楽音信号波形g2(t)とが区間「−t〜+t」
において囲む面積t-t |f(t)−g2(t)|を求
め、この求めた面積のうち小さい面積の方に該
当する正方向ゼロクロスサンプル点を基準の正
方向ゼロクロスサンプル点a0と最も相関関係の
大きいものとして判定する。第7図における正
方向ゼロクロスサンプル点a1とa2の場合、第8
図aおよびbからも明らかなように、正方向ゼ
ロクロスサンプル点a2が基準の正方向ゼロクロ
スサンプル点a0の1周期後における基点として
設定される。 そして、全体的な処理としては以上のような
条件に基づき、前述のように第1番目にまず、
楽音が充分安定した楽音信号期間において基準
となる基準正方向ゼロクロスサンプル点を設定
しておき、基準正方向ゼロクロスサンプル点を
基準として1周期前、2周期前…という具合に
楽音信号の開始部分に致るまでの正方向ゼロク
ロスサンプル点を順次設定し、次に第1番目に
設定した基準正方向ゼロクロスサンプル点を基
準として1周期後、2周期後…という具合に楽
音信号の減衰部分までの正方向ゼロクロスサン
プル点を順次設定する。このようにすることに
よつて楽音の開始から終了に致るまでの各周期
別楽音信号の基点が全て設定される。なお、以
下においては基準正方向ゼロクロスサンプル点
に対応する周期別楽音信号を基準周期別楽音信
号GD1mという。 従つて、楽音の開始から終了に至るまでの楽
音信号GDのうち、所望の周期別楽音信号GD
1を指定して読出すには次のような指定方法を
とれば良い。 (イ) 各周期の基点としての正方向ゼロクロスサ
ンプル点に対応する楽音データメモリ1のア
ドレスを基点アドレス情報として与え、この
基点アドレス情報によつて所望の周期別楽音
信号GD1を指定する。 (ロ) 各周期の基点および終点としての正方向ゼ
ロクロスサンプル点に対応する楽音データメ
モリ1のアドレスを基点アドレス情報および
終点アドレス情報として与え、これらの情報
によつて所望の周期別楽音信号GD1を指定
する。 (ハ) 各周期別楽音信号GD1が楽音データメモ
リ1に記憶されている順番を表わす順番号情
報を与え、この順番号情報がいずれの基点ア
ドレス情報に該当するかを解読し、これによ
つて所望の周期別楽音信号GD1を指定す
る。 (ニ) 各周期別楽音信号GD1別に楽音データメ
モリ1におけるメモリ領域を定め、このメモ
リ領域を表わす情報によつて所望の周期別楽
音信号GD1を指定する。この(ニ)の方法は、
前記(ロ)の方法による場合と実際上は同一とな
る。 この実施例の電子楽器においては、前記(ハ)の指
定方法を採用している。 第9図〜第11図は周期別楽音信号検出装置3
における周期別楽音信号GD1の検出処理を示す
詳細フローチヤートである。 第9図において、電子楽器の動作モードが周期
別楽音信号検出モード(ZXA検出モード)に選
択設定されると、周期別楽音信号検出装置3によ
る処理はステツプ2041に示すように基準
ZXA検出ルーチンの実行に移行し、このルーチ
ンにおいて楽音信号全期間の中で各周期別楽音信
号GD1の検出基準となる基準周期別楽音信号
GD1mが検出される。つまり、基準正方向ゼロ
クロスサンプル点が設定される。そして、この後
ステツプ2042に示すように、ステツプ204
1において設定された基準正方向ゼロクロスサン
プル点を検出基準として1周期前、2周期前、3
周期前…の周期別楽音信号GD1の基点部分に相
当する正方向ゼロクロスサンプル点が検出され
る。このようにして楽音の立上り方向へ向つての
各周期別楽音信号GD1の基点部分に相当する各
正方向ゼロクロスサンプル点の検出処理が行なわ
れ、この検出処理を行うに当り周期別楽音信号検
出装置3から楽音データメモリ1に対して順次送
出していたアドレス情報A3RWが楽音データメモ
リ1の前端アドレスを指定する値に達すると、ス
テツプ2043の判断処理により検出処理はステ
ツプ2044へ移行する。そして、このステツプ
2044および2045において、今後は基準正
方向ゼロクロスサンプル点を検出基準として1周
期後、2周期後、3周期後…の周期別楽音信号
GD1の基点部分に相当する正方向ゼロクロスサ
ンプル点が楽音の終端部分に至るまで順次検出さ
れる。このようにして各周期別楽音信号GD1の
基点部分に対応する正方向ゼロクロスサンプル点
が検出され、この各正方向ゼロクロスサンプル点
に対応する楽音データメモリ1のアドレスを表わ
す基点アドレス情報が周期別アドレス情報ZXA
として周期別アドレス情報メモリ4に記憶され
る。 第10図は基準ZXA検出ルーチンをさらに詳
細に示すフローチヤートである。 第10図において、ステツプ2050に示すよ
うにまず、楽音データメモリ1に記憶されている
楽音信号GDのうち、外部入力楽音の安定部分に
対応する楽音信号GDが記憶されているアドレス
領域Eの一端を示すアドレス情報Aが周期別楽音
信号検出装置3内に設けられたアドレスカウンタ
ADR・Cに設定される。 この後、ステツプ2051に示すように、アド
レスカウンタADR・Cの内容に基づき楽音デー
タメモリ1の対応するアドレスから楽音信号GD
が読出される。そして、次のステツプ2052に
おいて、楽音データメモリ1から読出した楽音信
号GDがゼロ振幅値に相当するかどうかが判断さ
れる。もし、ゼロ振幅値に相当するものでなけれ
ば、ステツプ2054に示すようにアドレスカウ
ンタADR・Cの内容(ADR・C)が前記アドレ
ス領域Eの他端を示すアドレス情報Bを越えてい
るかどうかが判断される。「(ADR・C)≦B」で
あれば、アドレスカウンタADR・Cの内容はス
テツプ2055においてインクリメント(+1)
され、ステツプ2051の処理へ戻る。そして、
新たなアドレスカウンタADR・Cの内容に基づ
き楽音データメモリ1の対応するアドレスから新
たな楽音信号GDが読出される。そして、再びス
テツプ2052において新たな楽音GDがゼロ振
幅値に相当するかどうかが判断される。もしゼロ
振幅値に相当するものであれば、すなわち当該ア
ドレスカウンタADR・Cの内容で指定されるア
ドレスが正方向ゼロクロスサンプル点に対応する
ものであれば、この時のアドレスカウンタ
ADR・Cの内容および当該正方向ゼロクロスサ
ンプル点を中心とした±α領域における楽音信号
GDの周辺面積値Sが一時記憶される。この処理
が終了すると、次のステツプ2054においてア
ドレスカウンタADR・Cの内容が前記アドレス
領域Eの他端を示すアドレス情報Bを越えている
かどうかが判断される。 「(ADR・C)≦B」であれば、アドレスカウ
ンタADR・Cの内容はステツプ2055におい
てインクリメントされ、ステツプ2051の処理
に戻る。そして、新たなアドレスカウンタ
ADR・Cの内容に基づき楽音データメモリ1の
対応するアドレスから新たな楽音信号GDが読出
される。そして、再びステツプ2052において
新たな楽音信号GDがゼロ振幅値に相当するかど
うかが判断される。 このようにして前記アドレス領域Eにおける全
ての正方向ゼロクロスサンプル点が検出され、そ
の正方向ゼロクロスサンプル点に対応する楽音デ
ータメモリ1のアドレスを表わすゼロクロスサン
プル点アドレス情報とこれに対応する周辺面積値
Sとが一時記憶されると、次にステツプ2056
において、各正方向ゼロクロスサンプル点に関す
る周辺面積値Sのうち最大の周辺面積値を示す正
方向ゼロクロスサンプル点が判別抽出される。そ
して、この判別抽出した正方向ゼロクロスサンプ
ル点を楽音信号全期間の中の基準ゼロクロスサン
プル点とし、これに対応する基準ゼロクロスサン
プル点アドレス情報が一時記憶される。そして、
この基準ゼロクロスサンプル点アドレス情報に基
づいて1周期前、2周期前…または1周期後、2
周期後…における周期別楽音信号GD1の基点部
分に相当する正方向ゼロクロスサンプル点が順次
検出される。 第11図は第9図のステツプ2044の1周期
後ZXA検出ルーチンをさらに詳細に示すフロー
チヤートである。 第11図において、ステツプ2070に示すよ
うに、まずアドレスカウンタADR・Cに基準ゼ
ロクロス点アドレス情報が初期値として設定され
る。次に、ステツプ2071において、アドレス
カウンタADR・Cの内容に定数nが加算される。
この定数nは第5図の波形図において示したサン
プル点数nに相当する。 次に、ステツプ2072においてアドレスカウ
ンタADR・Cの内容が「+1」だけ増加される。
そして、このアドレスカウンタADR・Cの内容
に基づいて楽音データメモリ1の対応するアドレ
スから楽音信号GDが読出され、次のステツプ2
073においてこの楽音信号GDがゼロ振幅値に
相当するかどうかが判断される。もし、ゼロ振幅
値に相当するものでなければ、ステツプ2075
において検出点数がβ個を越えたかどうづかが判
断される。この「β」は第5図の波形図に示した
サンプル点数βに相当する。 ステツプ2075の判断処理の結果、「検査点
数≦β」であれば、アドレスカウンタADR・C
の内容はステツプ2072においてインクリメン
ト(+1)される。そして、新たなアドレスカウ
ンタADR・Cの内容に基づき新たな楽音信号GD
が読出される。そして再びステツプ2073にお
いて新たな楽音信号GDがゼロ振幅値に相当する
かどうかが判断される。もし、正方向のゼロ振幅
値に相当するものであれば、この時のアドレスカ
ウンタADR・Cの内容が一時記憶されると共に、
当該正方向ゼロクロスサンプル点を中心とした所
定区間「−t〜t」における楽音信号と先のステ
ツプ2041(第9図)で検出した基準正方向ゼ
ロクロス点を中心とした所定区間「−t〜t」に
おける楽音信号(基準楽音信号GD1m)との相
関関係が求められ、この相関係数が一時記憶され
る。この処理が終了すると、次のステツプ207
5において検査点数がβ個を越えたかどうかが判
断される。「検査点数≦β」であれば、アドレス
カウンタADR・Cの内容はステツプ2072に
おいてインクリメントされ、この後再びステツプ
2073の判断処理が行なわれる。 このようにして、基準ゼロクロスサンプル点か
ら「+n」だけ離れたところの「+β」区間にお
ける正方向ゼロクロスサンプル点が順次検出され
るが、次のステツプ2076において「+β」区
間の中に正方向ゼロクロスサンプル点が存在した
かどうかが判断される。正方向ゼロクロスサンプ
ル点が存在すれば、次のステツプ2078におい
てステツプ2074の処理で記憶した相関係数の
うち相関係数が最大の正方向ゼロクロスサンプル
点が判別抽出され、これが1周期後の基点として
設定される。ステツプ2076の判断処理におい
て、もし正方向ゼロクロスサンプル点が存在しな
ければ、アドレスカウンタADR・Cの内容はス
テツプ2077において正方向ゼロクロスサンプ
ル点が検出されるまで順次インクリメントされ
る。そして、この場合には最初に検出された正方
向ゼロクロスサンプル点が1周期後の基点として
設定される。 このようにして、まず1周期後の周期別楽音信
号GD1の基点部分に相当する正方向ゼロクロス
サンプル点が設定される。そして、次にさらに1
周期後の周期別楽音信号GD1の基点部分に相当
する正方向ゼロクロスサンプル点を設定するた
め、ステツプ2079において楽音データメモリ
1に対するアドレス情報A3RWが該メモリ1の後
端アドレスに相当するかどうかが検出される。も
し、後端アドレスに達していなければ、ステツプ
2071において現在のアドレスカウンタ
ADR・Cの内容にさらに定数nが加算される。
そして、この新たなアドレスカウンタADR・C
の内容に基づきさらに1周期後、つまり2周期後
の周期別楽音信号GD1の基点部分に相当する正
方向ゼロクロスサンプル点が上記の場合と同様に
して設定される。この処理は、楽音データメモリ
1に対するアドレス情報A3RWが後端アドレスに
達するまで繰り返し行なわれる。以上の処理によ
つて基準正方向ゼロクロスサンプル点から1周期
後、2周期後、3周期後…における各周期別楽音
信号GD1の基点部分に相当する正方向ゼロクロ
スサンプル点が順次設定される。なお、第9図に
ステツプ2042の1周期前ZXA検出ルーチン
における処理も同様な方法で実施される。このた
め、その説明は省略する。 以上のようにして各周期別楽音信号GD1が検
出され、その基点部分が記憶されている楽音デー
タメモリ1のアドレスが周期別アドレス情報
ZXAとして周期別アドレス情報メモリ4に記憶
されると、次にはモードスイツチOP・SWによ
つて電子楽器の動作モードが演奏モードに設定さ
れる。 (読出しアドレス情報発生装置8) 第12図は読出しアドレス情報発生装置8の一
実施例を示すブロツク図である。 第12図において、読出しアドレス情報発生装
置8は、選択情報メモリ800、スタートアドレ
ス情報メモリ801、読出し回数情報メモリ80
2、持続アドレス情報メモリ803、終了アドレ
ス情報メモリ804、アドレス長情報メモリ80
5、演算装置806、プログラムメモリ807、
アドレスポインタ808、カウンタ809および
810、比較器811,812,813,81
4、加算器815、ワンシヨツト回路816を備
えている。 選択情報設定装置7において設定された前述の
選択情報SDとしての順番号情報Mn、繰り返し読
出し回数情報Rn、持続順番号情報CNn、終了順
番号情報Enは選択情報メモリ800に入力され
記憶される。そして、この選択情報メモリ800
に記憶された各情報Mn、Rn、CNn、Enのうち
情報Mn、CNn、Enは、それぞれ対応する周期別
楽音信号GD1が記憶されている楽音データメモ
リ1におけるアドレスを表わす周期別アドレス情
報ZXA〔Mn〕、ZXA〔CNn〕、ZXA〔En〕に変換
され、ZXA〔Mn〕がスタートアドレス情報SAと
して、またZXA〔Cn〕が持続アドレス情報CNA
として、またZXA〔En〕が終了アドレス情報EA
としてそれぞれスタートアドレス情報メモリ80
1、持続アドレス情報メモリ803、終了アドレ
ス情報メモリ804に記憶される。情報Mn、
CNn、Enの変換処理は、演算処理806によつ
て実行される。 一方、繰り返し読出し回数情報Rnはそのまま
読出し回数情報メモリ802へ転送されて記憶さ
れる。この場合、選択情報メモリ800、スター
トアドレス情報メモリ801、読出し回数情報メ
モリ802、持続アドレス情報メモリ803、終
了アドレス情報メモリ804、アドレス長情報メ
モリ805は、演算装置806のI/Oデバイス
として構成されている。 演算装置806はモードスイツチOP・SWか
ら“1”の演算モード信号OP3が供給されている
状態において、選択情報メモリ800に記憶され
ている選択情報SDのうちまず持続順番号情報
CNnおよび終了順番号情報Enを読出して、この
情報CNnおよびEnに対応する周期別アドレス情
報ZXA〔CNn〕およびZXA〔En〕を周期別アドレ
ス情報メモリ4の記憶内容に基づき検出し、この
検出した周期別アドレス情報ZXA〔CNn〕および
ZXA〔En〕をそれぞれ持続アドレス情報CNAお
よび終了アドレス情報EAとしてデータバスD・
BUSを介し1ワード構成の持続アドレス情報メ
モリ803および終了アドレス情報メモリ804
にそれぞれ転送し記憶させる。続いて、演算装置
806は選択情報メモリ800から周期別楽音信
号GD1の読出し順位毎の順番号情報Mn、繰り
返し読出し回数情報Rnを読出し、繰り返し読出
し回数情報RnはそのままデータバスD・BUSを
介して読出し回数情報メモリ802へ転送し、順
番号情報Mnは該情報Mnに対応した周期別アド
レス情報ZXA〔Mn〕を周期別アドレス情報メモ
リ4の記憶内容に基づき検出し、この情報ZXA
〔Mn〕をスタートアドレス情報SAとしてデータ
バスD・BUSを介してスタートアドレス情報メ
モリ801に転送する。この時、演算装置800
はアドレスポインタ808に対してこれらの書込
み情報(Rn、SA)の書込みアドレスを表わすア
ドレス情報をデータバスD・BUSを用いて転送
し、アドレスポインタ808から制御アドレス情
報APiとして出力させる。すると、スタートアド
レス情報メモリ801および読出し回数情報メモ
リ802の制御アドレス情報APiで指定されるア
ドレスには前記スタートアドレス情報SAおよび
繰り返し読出し回数情報Rnがそれぞれ記憶され
る。 ところで、この場合、周期別アドレス情報メモ
リ4は演算装置806と周期別楽音信号検出装置
3の双方からアクセス可能なように構成されてお
り、情報Mn、CNn、Enの各々に対応する周期別
アドレス情報ZXA〔Mn〕、ZXA〔CNn〕、ZXA
〔En〕を演算装置806が検出する場合、まず演
算装置806は周期別アドレス情報メモリ4に対
して“0”のモード制御信号MD4を送り、周期
別アドレス情報エモリ4をリードモードとする。
続いて、選択情報メモリ800に記憶されている
持続順番号情報CNnを読出し、該情報CNnに
「+1」した情報「CNn+1」をアドレスバス
A・BUSを介して読出し用のアドレス情報A4R
して周期別アドレス情報メモリ4に供給する。す
ると、周期別アドレス情報メモリ4から情報
「CNn+1」に対応した周期別アドレス情報ZXA
〔CNn+1〕が読出される。つまり、周期別アド
レス情報メモリ4からは持続順番号情報CNnに
対応する周期別楽音信号GD1の終点部分が記憶
されている楽音データメモリ1のアドレスを表わ
す情報ZXA〔CNn+1〕が読出される。このよう
にして読出された情報ZXA〔CNn+1〕は、周期
別アドレス情報ZXA〔CNn〕として持続アドレス
情報メモリ803に転送されることによつて記憶
される。次に、演算装置806は選択情報メモリ
800に記憶されている終了順番号情報Enを読
出し、該情報Enに「+1」した情報「En+1」
を読出し用のアドレス情報A4Rとして周期別アド
レス情報メモリ4に供給する。すると、周期別ア
ドレス情報メモリ4からは終了順番号情報Enに
対応する周期別楽音信号GD1の終点部分が記憶
されている楽音データメモリ1のアドレスを表わ
す情報ZXA〔En+1〕が読出される。このように
して読出された情報ZXA〔En+1〕は、周期別ア
ドレス情報ZXA〔En〕として終了アドレス情報メ
モリ804に転送されることによつて記憶され
る。 ここで、情報CNnおよびEnにそれぞれ「+1」
した情報「CNn+1」および「En+1」を周期
別アドレス情報メモリ4にアドレス情報として供
給しているのは、該メモリ4に記憶されている周
期別アドレス情報ZXAが各周期別楽音信号GD1
の基点部分の記憶アドレスに相当するものであ
り、情報CNnおよびEnでそれぞれ指定される周
期別楽音信号GD1の終点部分の記憶アドレスは
次の周期の周期別楽音信号GD1の基点部分の記
憶アドレスに該当するからである。 このようにして周期別アドレス情報ZXA
〔CNn〕、ZXA〔En〕の検出処理が終ると、演算
装置806は各読出し順位毎の順番号情報Mnを
選択情報メモリ800から読出し、該情報Mnを
読出し用のアドレス情報A4Rとして周期別アドレ
ス情報メモリ4に供給する。これによつて、周期
別アドレス情報メモリ4から情報Mnに対応した
周期別アドレス情報ZXA〔Mn〕が読出される。
この読出された周期別アドレス情報ZXA〔Mn〕
はスタートアドレス情報SAとしてスタートアド
レス情報メモリ801に転送されて記憶される。 以上のようにしてメモリ801〜804に対す
る各種情報の書込み処理が終了すると、次に順番
号情報Mnで指定された周期別楽音信号GD1の
楽音データメモリ1における記憶アドレス長が周
期別アドレス情報メモリ4の記憶内容に基づき検
出される。つまり、この実施例において、周期別
アドレス情報ZXAは前述したように周期別楽音
信号GD1の基点部分が記憶されている楽音デー
タメモリ1のアドレスを表わしている。従つて、
ある所望の周期別楽音信号GD1を楽音データメ
モリ1から読出すためには、該周期別楽音信号
GD1の基点アドレスと共にその記憶アドレス長
を知ることが必要である。そこで、演算装置80
6は、選択情報メモリ800に記憶された順番号
情報Mnに対応する周期別楽音信号GD1の次の
周期別楽音信号GD1に関する周期別アドレス情
報ZXAを周期別アドレス情報メモリ4から読出
す。この読出し処理は、上記順番号情報Mnに対
して「+1」を加算し、この加算値「Mn+1」
を周期別アドレス情報メモリ4に読出し用のアド
レス情報A4Rとして供給することによつて実現さ
れる。これによつて、次のアドレスに記憶されて
いる周期別楽音信号GD1の周期別アドレス情報
ZXA〔Mn+1〕がわかり、この情報ZXA〔Mn+
1〕と上記順番号情報Mnに対応する周期別アド
レス情報ZXA〔Mn〕との差を演算すれば、情報
Mnに対応する周期別楽音信号GD1の楽音デー
タメモリ1における記憶アドレス長を知ることが
できる。このようにして検出された情報Mnに対
応する周期別楽音信号GD1の記憶アドレス長情
報ALはデータバスD・BUSを介してアドレス長
情報メモリ805に転送され、アドレスポインタ
808から出力される制御アドレス情報APiで指
定される該メモリ805のアドレスに記憶され
る。この場合、同一読出し順位に関するスタート
アドレス情報SA、繰り返し読出し回数情報Rn、
アドレス長情報ALは、同一制御アドレス情報
APiで指定されるスタートアドレス情報メモリ8
01、読出し回数情報メモリ802、アドレス長
情報メモリ805のアドレスに記憶される。以上
の処理は、プログラムメモリ807に記憶された
プログラムに従つて実行される。 次に、以上の処理が終了した段階において、鍵
盤部で押鍵操作が行なわれると、キースイツチ回
路5からキーオン信号KONが供給されると共に、
周期信号発生回路6から押下鍵音高に対応した周
期信号NqFが供給される。すると、キーオン信
号KONは演算装置806に対して演奏開始コマ
ンドとして入力され、これによつて演算装置80
6は動作停止状態となり、スタートアドレス情報
メモリ801、読出し回数情報メモリ802、ア
ドレス長情報メモリ805に対するアドレス制御
の主体はアドレスポインタ805に移される。一
方、キーオン信号KONはワシヨツト回路816
にトリガ信号として入力され、これによつてワン
シヨツト回路816から狭いパルス幅のキーオン
パルスKONPが出力される。このキーオンパル
スKONPはアドレスポインタ805、カウンタ
809および810にリセツト信号として供給さ
れ、これによつてアドレスポインタ805、カウ
ンタ809および810はリセツトされる。この
状態において、周期信号NqFがカウンタ809
のクロツク入力端子(CK)に順次供給されると、
カウンタ809は周期信号NqFをカウントし、
その出力から該信号NqFの周期で順次増加する
歩進情報Q(Q=1、2、3…)を出力する。一
方、アドレスポインタ808はキーオンパルス
KONPによつてリセツトされたことにより「0」
の制御アドレス情報APiを出力し、メモリ80
1,802および805に対して「0」番地に記
憶されている情報の読出しを指定している。従つ
て、これらのメモリ801,802および805
において周期別楽音信号の読出し順位毎の記憶内
容が次の第5表に示すようなものである場合、ス
タートアドレス情報メモリ801からは「1275」
のスタートアドレス情報SAが出力され、また読
出し回数情報メモリ802からは「3」の繰り返
し読出し回数情報Rnが出力され、またアドレス
長情報メモリ805からは「253」のアドレス長
情報メモリALが出力される。一方、持続アドレ
ス情報メモリ803からは「4572」の持続アドレ
ス情報が出力され、また終了アドレス情報メモリ
704からは「7597」の終了アドレス情報EAが
出力される。
[Table] [Explanation of case B]; In the waveform diagram of Fig. 7,
After setting the standard positive direction zero cross sample point a 0 according to the above condition C, when trying to set the positive direction zero cross sample point one cycle later, the above condition C is set in the range of "a 0 + n±β".
There may be two (or more) positive zero-crossing sample points a 1 and a 2 corresponding to . In such a case, each positive zero-crossing sample point
The correlation between each waveform shape before and after a 1 and a 2 and the waveform shape before and after the detection reference positive direction zero cross sample point a 0 is compared, and the positive direction zero cross sample point with the larger correlation is adopted. Comparison and determination of this correlation is performed simply as follows. That is, as shown in FIGS. 8a and 8b, a musical tone signal waveform f(t) passing through the positive zero-crossing sample point a0 and a musical tone signal waveform g1 passing through the positive zero-crossing sample point a1 .
Find the area t-t |f ( t)-g 1 (t)| surrounded by The passing musical tone signal waveform g 2 (t) is the interval “-t~+t”
Find the area t-t |f ( t)-g 2 (t) It is determined that the correlation is the highest. In the case of positive direction zero cross sample points a 1 and a 2 in Fig. 7, the 8th
As is clear from FIGS. a and b, the positive zero-crossing sample point a 2 is set as the base point one cycle after the reference positive zero-crossing sample point a 0 . As for the overall processing, based on the above conditions, first of all, as mentioned above,
A reference positive direction zero-crossing sample point is set as a reference during a musical tone signal period in which the musical tone is sufficiently stable, and one period before, two periods before, etc. from the reference positive direction zero-crossing sample point are set at the beginning of the musical tone signal. Set the positive zero-crossing sample points in sequence until the first positive zero-crossing sample point is set as a reference, then after one period, two periods, and so on until the attenuation part of the musical tone signal Set direction zero cross sample points sequentially. By doing this, all base points of the musical tone signal for each period from the start to the end of the musical tone are set. Note that, hereinafter, the period-specific musical tone signal corresponding to the reference positive direction zero-crossing sample point will be referred to as the reference period-specific musical tone signal GD1m. Therefore, among the musical tone signals GD from the start to the end of the musical tone, a desired period-specific musical tone signal GD is selected.
To specify and read 1, the following specification method may be used. (a) The address of the musical tone data memory 1 corresponding to the positive direction zero-crossing sample point as the base point of each period is given as the base point address information, and the desired period-specific musical tone signal GD1 is designated by this base point address information. (b) The addresses of the musical tone data memory 1 corresponding to the positive direction zero-crossing sample points as the base point and end point of each period are provided as the base point address information and the end point address information, and a desired period-specific musical tone signal GD1 is generated using these information. specify. (c) Provide sequence number information indicating the order in which each periodic musical tone signal GD1 is stored in the musical tone data memory 1, decode which base point address information this sequence number information corresponds to, and thereby A desired periodic musical tone signal GD1 is designated. (d) A memory area in the musical tone data memory 1 is determined for each periodic musical tone signal GD1, and a desired periodic musical tone signal GD1 is designated by information representing this memory area. This method (d) is
This is practically the same as the case using the method (b) above. The electronic musical instrument of this embodiment employs the specification method (c) above. FIGS. 9 to 11 show the period-specific musical tone signal detection device 3.
3 is a detailed flowchart showing the detection process of the periodic musical tone signal GD1 in FIG. In FIG. 9, when the operation mode of the electronic musical instrument is selected and set to period-specific musical tone signal detection mode (ZXA detection mode), the processing by period-specific musical tone signal detection device 3 is performed based on the standard as shown in step 2041.
The process moves to the execution of the ZXA detection routine, and in this routine, a reference period-specific musical tone signal is used as a detection standard for each period-specific musical tone signal GD1 in the entire musical tone signal period.
GD1m is detected. In other words, the reference positive zero-crossing sample point is set. Then, as shown in step 2042, step 204 is performed.
1 cycle before, 2 cycles before, 3
A positive zero-crossing sample point corresponding to the base point of the period-specific musical tone signal GD1 before the period is detected. In this way, the detection processing of each positive direction zero cross sample point corresponding to the base point portion of each periodic musical tone signal GD1 toward the rising direction of the musical tone is performed. When the address information A3 RW , which has been sequentially sent from 3 to the musical tone data memory 1, reaches a value specifying the front end address of the musical tone data memory 1, the detection process proceeds to step 2044 according to the judgment process at step 2043. Then, in steps 2044 and 2045, from now on, the reference positive direction zero-crossing sample point is used as a detection standard to detect musical tone signals by cycle after one cycle, after two cycles, after three cycles, etc.
Positive direction zero cross sample points corresponding to the base point portion of GD1 are sequentially detected until the end portion of the musical tone is reached. In this way, the positive direction zero-crossing sample points corresponding to the base point portion of each periodic musical tone signal GD1 are detected, and the base point address information representing the address of the musical tone data memory 1 corresponding to each positive direction zero-crossing sample point is the periodic address. Information ZXA
It is stored in the periodic address information memory 4 as . FIG. 10 is a flowchart showing the reference ZXA detection routine in more detail. In FIG. 10, as shown in step 2050, first, one end of the address area E where a musical tone signal GD corresponding to a stable portion of the externally input musical tone is stored among the musical tone signals GD stored in the musical tone data memory 1. The address information A indicating
Set to ADR・C. Thereafter, as shown in step 2051, the musical tone signal GD is transferred from the corresponding address of the musical tone data memory 1 based on the contents of the address counter ADR.C.
is read out. Then, in the next step 2052, it is determined whether the musical tone signal GD read from the musical tone data memory 1 corresponds to a zero amplitude value. If it does not correspond to the zero amplitude value, as shown in step 2054, it is determined whether the contents of the address counter ADR.C (ADR.C) exceed address information B indicating the other end of the address area E. be judged. If “(ADR・C)≦B”, the contents of address counter ADR・C are incremented (+1) in step 2055.
The process returns to step 2051. and,
A new musical tone signal GD is read from the corresponding address of the musical tone data memory 1 based on the contents of the new address counter ADR.C. Then, in step 2052 again, it is determined whether the new musical tone GD corresponds to a zero amplitude value. If it corresponds to a zero amplitude value, that is, if the address specified by the contents of the address counter ADR・C corresponds to a zero-crossing sample point in the positive direction, the address counter at this time
Contents of ADR・C and musical tone signal in the ±α region centered on the positive direction zero-crossing sample point
The surrounding area value S of GD is temporarily stored. When this process is completed, it is determined in the next step 2054 whether the contents of the address counter ADR.C exceed address information B indicating the other end of the address area E. If "(ADR.C)≦B", the contents of the address counter ADR.C are incremented at step 2055, and the process returns to step 2051. And a new address counter
A new musical tone signal GD is read from the corresponding address in the musical tone data memory 1 based on the contents of ADR.C. Then, again in step 2052, it is determined whether the new musical tone signal GD corresponds to a zero amplitude value. In this way, all the positive direction zero-crossing sample points in the address area E are detected, and the zero-crossing sample point address information representing the address of the musical tone data memory 1 corresponding to the positive direction zero-crossing sample point and the surrounding area value corresponding thereto. Once S is temporarily stored, then step 2056
In the step, the positive zero-crossing sample point having the largest peripheral area value among the peripheral area values S for each positive zero-crossing sample point is discriminated and extracted. Then, the positive zero-crossing sample point thus determined and extracted is set as a reference zero-crossing sample point within the entire period of the musical tone signal, and the corresponding reference zero-crossing sample point address information is temporarily stored. and,
Based on this reference zero cross sample point address information, one cycle before, two cycles ago... or one cycle later, two
Positive direction zero cross sample points corresponding to the base point portion of the period-specific musical tone signal GD1 after the period are sequentially detected. FIG. 11 is a flowchart showing the ZXA detection routine after one cycle in step 2044 of FIG. 9 in more detail. In FIG. 11, as shown in step 2070, reference zero-crossing point address information is first set in address counter ADR.C as an initial value. Next, in step 2071, a constant n is added to the contents of the address counter ADR.C.
This constant n corresponds to the number of sample points n shown in the waveform diagram of FIG. Next, in step 2072, the contents of address counter ADR.C are incremented by "+1".
Then, based on the contents of the address counter ADR.C, the musical tone signal GD is read out from the corresponding address of the musical tone data memory 1, and the next step 2 is performed.
At step 073, it is determined whether this musical tone signal GD corresponds to a zero amplitude value. If it does not correspond to a zero amplitude value, step 2075
In step 1, it is determined whether the number of detected points exceeds β. This "β" corresponds to the number of sample points β shown in the waveform diagram of FIG. As a result of the judgment process in step 2075, if “number of inspection points ≦β”, address counter ADR・C
The contents of are incremented (+1) in step 2072. Then, a new musical tone signal GD is generated based on the contents of the new address counter ADR・C.
is read out. Then, in step 2073 again, it is determined whether the new musical tone signal GD corresponds to a zero amplitude value. If it corresponds to a zero amplitude value in the positive direction, the contents of the address counter ADR・C at this time are temporarily stored, and
A musical tone signal in a predetermined interval "-t~t" centered on the positive direction zero cross sample point and a predetermined interval "-t~t" centered on the reference positive direction zero cross point detected in the previous step 2041 (FIG. 9). '' with the musical tone signal (reference musical tone signal GD1m) is determined, and this correlation coefficient is temporarily stored. When this process is completed, the next step 207
5, it is determined whether the number of inspection points exceeds β. If "number of inspection points ≤ β", the contents of the address counter ADR.C are incremented in step 2072, and then the determination process in step 2073 is performed again. In this way, positive direction zero cross sample points in the "+β" section that are "+n" away from the reference zero cross sample point are sequentially detected. It is determined whether a sample point was present. If a positive direction zero cross sample point exists, in the next step 2078, the positive direction zero cross sample point with the largest correlation coefficient among the correlation coefficients stored in the process of step 2074 is discriminated and extracted, and this is used as the base point after one cycle. Set. In the determination process of step 2076, if a positive zero-crossing sample point does not exist, the contents of address counter ADR.C are sequentially incremented in step 2077 until a positive zero-crossing sample point is detected. In this case, the first detected positive zero-crossing sample point is set as the base point after one cycle. In this way, first, a positive direction zero-crossing sample point corresponding to the base point portion of the period-specific musical tone signal GD1 after one period is set. And then one more
In order to set a positive direction zero cross sample point corresponding to the base point of the period-specific musical tone signal GD1 after the period, it is checked in step 2079 whether address information A3 RW for the musical tone data memory 1 corresponds to the rear end address of the memory 1. Detected. If the last address has not been reached, in step 2071 the current address counter is
A constant n is further added to the contents of ADR.C.
And this new address counter ADR・C
Based on the contents of , a positive direction zero-crossing sample point corresponding to the base point portion of the period-specific musical tone signal GD1 after one period, that is, after two periods, is set in the same manner as in the above case. This process is repeated until the address information A3RW for the musical tone data memory 1 reaches the rear end address. Through the above processing, positive zero-crossing sample points corresponding to the base point portions of the musical tone signal GD1 for each cycle are sequentially set after one cycle, two cycles, three cycles, etc. from the reference positive zero-crossing sample point. Note that the processing in the one cycle previous ZXA detection routine at step 2042 in FIG. 9 is carried out in a similar manner. Therefore, the explanation thereof will be omitted. As described above, each periodic musical tone signal GD1 is detected, and the address of the musical tone data memory 1 in which its base point is stored is determined as periodic address information.
Once stored as ZXA in the periodic address information memory 4, the operating mode of the electronic musical instrument is then set to the performance mode by the mode switch OP/SW. (Read Address Information Generator 8) FIG. 12 is a block diagram showing one embodiment of the read address information generator 8. As shown in FIG. In FIG. 12, the read address information generating device 8 includes a selection information memory 800, a start address information memory 801, and a read number information memory 80.
2. Persistent address information memory 803, end address information memory 804, address length information memory 80
5, arithmetic unit 806, program memory 807,
Address pointer 808, counters 809 and 810, comparators 811, 812, 813, 81
4, an adder 815, and a one-shot circuit 816. Sequence number information Mn, repeated read count information Rn, continuous sequence number information CNn, and end sequence number information En as the aforementioned selection information SD set in the selection information setting device 7 are input to the selection information memory 800 and stored. This selection information memory 800
Among the pieces of information Mn, Rn, CNn, and En stored in , the information Mn, CNn, and En are cycle-specific address information ZXA [which represents the address in the musical tone data memory 1 where the corresponding cycle-specific musical tone signal GD1 is stored, Mn], ZXA[CNn], ZXA[En], ZXA[Mn] is the starting address information SA, and ZXA[Cn] is the persistent address information CNA.
Also, ZXA [En] is the end address information EA
each as a start address information memory 80
1, stored in persistent address information memory 803 and end address information memory 804. Information Mn,
The conversion process of CNn and En is executed by the calculation process 806. On the other hand, the repeated reading number information Rn is transferred as is to the reading number information memory 802 and stored therein. In this case, selection information memory 800, start address information memory 801, read count information memory 802, persistent address information memory 803, end address information memory 804, and address length information memory 805 are configured as I/O devices of arithmetic unit 806. ing. In a state where the arithmetic unit 806 is supplied with the arithmetic mode signal OP3 of "1" from the mode switch OP/SW, the arithmetic unit 806 first selects the persistence order number information from among the selection information SD stored in the selection information memory 800.
CNn and ending sequence number information En are read out, periodic address information ZXA[CNn] and ZXA[En] corresponding to the information CNn and En are detected based on the stored contents of the periodic address information memory 4, and this detected Periodic address information ZXA [CNn] and
ZXA [En] as the persistent address information CNA and end address information EA, respectively, on the data bus D.
Persistent address information memory 803 and end address information memory 804 of one word configuration via BUS
Transfer and store them respectively. Subsequently, the arithmetic unit 806 reads out the sequence number information Mn for each reading order of the periodic musical tone signal GD1 and the repeated reading number information Rn from the selection information memory 800, and the repeated reading number information Rn is directly transmitted via the data bus D.BUS. The sequence number information Mn is transferred to the read count information memory 802, and the periodic address information ZXA [Mn] corresponding to the information Mn is detected based on the stored contents of the periodic address information memory 4, and this information ZXA
[Mn] is transferred to the start address information memory 801 via the data bus D.BUS as the start address information SA. At this time, the calculation device 800
transfers the address information representing the write address of these write information (Rn, SA) to the address pointer 808 using the data bus D.BUS, and causes the address pointer 808 to output it as control address information APi. Then, the start address information SA and the repeated read count information Rn are stored in the addresses specified by the control address information APi of the start address information memory 801 and the read count information memory 802, respectively. Incidentally, in this case, the period-specific address information memory 4 is configured to be accessible from both the arithmetic unit 806 and the period-specific musical tone signal detection device 3, and the period-specific address information memory 4 is configured to be accessible from both the arithmetic unit 806 and the period-specific musical tone signal detection device 3. Information ZXA [Mn], ZXA [CNn], ZXA
When the arithmetic unit 806 detects [En], the arithmetic unit 806 first sends a mode control signal MD4 of "0" to the periodic address information memory 4, and sets the periodic address information memory 4 to the read mode.
Next, the continuous sequence number information CNn stored in the selection information memory 800 is read out, and the information "CNn+1" obtained by adding "1" to the information CNn is periodically read out as address information A4R for reading via the address bus A/BUS. The address information is supplied to the separate address information memory 4. Then, the periodic address information ZXA corresponding to the information "CNn+1" is retrieved from the periodic address information memory 4.
[CNn+1] is read. That is, information ZXA[CNn+1] representing the address of the musical tone data memory 1 where the end point portion of the periodic musical tone signal GD1 corresponding to the continuous sequence number information CNn is stored is read from the periodic address information memory 4. The information ZXA[CNn+1] read in this manner is transferred to and stored in the persistent address information memory 803 as periodic address information ZXA[CNn]. Next, the arithmetic unit 806 reads out the end order number information En stored in the selection information memory 800, and adds "+1" to the information En to obtain information "En+1".
is supplied to the periodic address information memory 4 as address information A4R for reading. Then, information ZXA[En+1] representing the address of the musical tone data memory 1 where the end point portion of the periodic musical tone signal GD1 corresponding to the ending sequence number information En is stored is read out from the periodic address information memory 4. The information ZXA[En+1] read in this manner is transferred to and stored in the end address information memory 804 as periodic address information ZXA[En]. Here, add "+1" to information CNn and En, respectively.
The reason why the information "CNn+1" and "En+1" are supplied as address information to the cycle-by-cycle address information memory 4 is because the cycle-by-cycle address information ZXA stored in the memory 4 corresponds to each cycle-by-cycle musical tone signal GD1.
This corresponds to the storage address of the base point part of the periodic musical tone signal GD1 specified by the information CNn and En, respectively, and the storage address of the ending point part of the periodic musical tone signal GD1 of the next cycle. This is because it is applicable. In this way, periodic address information ZXA
When the detection process for [CNn] and ZXA[En] is completed, the arithmetic unit 806 reads out the sequence number information Mn for each readout order from the selection information memory 800, and uses the information Mn as readout address information A4R for each cycle. The address information is supplied to the memory 4. As a result, the periodic address information ZXA[Mn] corresponding to the information Mn is read from the periodic address information memory 4.
This read periodic address information ZXA [Mn]
is transferred to and stored in the start address information memory 801 as start address information SA. When the writing process of various information to the memories 801 to 804 is completed as described above, the storage address length in the musical tone data memory 1 of the periodic musical tone signal GD1 specified by the sequence number information Mn is then changed to the periodic address information memory 4. Detected based on the memory contents of. That is, in this embodiment, the period-specific address information ZXA represents the address of the musical tone data memory 1 where the base point portion of the period-specific musical tone signal GD1 is stored, as described above. Therefore,
In order to read out a certain desired period-specific musical tone signal GD1 from the musical tone data memory 1, the period-specific musical tone signal GD1 must be read out from the musical tone data memory 1.
It is necessary to know the base address of GD1 as well as its storage address length. Therefore, the calculation device 80
6 reads from the periodic address information memory 4 the periodic address information ZXA regarding the periodic musical tone signal GD1 next to the periodic musical tone signal GD1 corresponding to the sequence number information Mn stored in the selection information memory 800. This readout process adds "+1" to the above sequence number information Mn, and this added value "Mn+1"
This is realized by supplying the periodic address information memory 4 as address information A4R for reading. As a result, the period-specific address information of the period-specific musical tone signal GD1 stored at the next address is
ZXA〔Mn+1〕 is known, and this information ZXA〔Mn+
1] and the periodic address information ZXA[Mn] corresponding to the above sequence number information Mn, the information
The storage address length in the musical tone data memory 1 of the periodic musical tone signal GD1 corresponding to Mn can be known. The storage address length information AL of the periodic musical tone signal GD1 corresponding to the information Mn detected in this way is transferred to the address length information memory 805 via the data bus D/BUS, and the control address is output from the address pointer 808. The information is stored at the address of the memory 805 specified by the information API. In this case, start address information SA regarding the same read order, repeat read count information Rn,
Address length information AL is the same control address information
Start address information memory 8 specified by APi
01, is stored in the address of the read count information memory 802 and the address length information memory 805. The above processing is executed according to the program stored in the program memory 807. Next, when the above processing is completed, when a key is pressed on the keyboard section, a key-on signal KON is supplied from the key switch circuit 5, and
A periodic signal NqF corresponding to the pitch of the pressed key is supplied from the periodic signal generating circuit 6. Then, the key-on signal KON is inputted to the computing device 806 as a performance start command, thereby causing the computing device 80
6 enters a stopped state, and the main body of address control over the start address information memory 801, read count information memory 802, and address length information memory 805 is transferred to the address pointer 805. On the other hand, the key-on signal KON is output from the front circuit 816.
The key-on pulse KONP is input as a trigger signal to the one-shot circuit 816, thereby outputting a key-on pulse KONP with a narrow pulse width. This key-on pulse KONP is supplied to address pointer 805 and counters 809 and 810 as a reset signal, whereby address pointer 805 and counters 809 and 810 are reset. In this state, the periodic signal NqF is
When supplied sequentially to the clock input terminal (CK) of
A counter 809 counts the periodic signal NqF,
From its output, step information Q (Q=1, 2, 3, . . . ) that increases sequentially with the period of the signal NqF is output. On the other hand, the address pointer 808 indicates the key-on pulse
“0” due to being reset by KONP
Outputs the control address information APi of the memory 80
1, 802 and 805 are designated to read the information stored at address "0". Therefore, these memories 801, 802 and 805
If the stored contents for each periodic musical tone signal reading order are as shown in Table 5 below, "1275" is stored from the start address information memory 801.
The start address information SA of ``3'' is output from the read count information memory 802, and the repeat read count information Rn of ``3'' is output from the address length information memory 805, and the address length information memory AL of ``253'' is output. Ru. On the other hand, the persistent address information memory 803 outputs the persistent address information "4572", and the ending address information memory 704 outputs the ending address information EA "7597".

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明による楽音信号
発生装置によると、楽音信号の発生指令が与えら
れると、波形メモリに記憶した複数の単位波形を
第1の指定手段によつて指定される順序で読み出
し、この読出しにおいて第2の指定手段によつて
指定される単位波形の読出しが指定されること、
これを楽音信号発生停止指令が与えられるまで繰
返し読み出すようにして楽音信号の持続部分とし
ており、しかも、第2の指定手段に対する単位波
形の指定入力は演奏者が任意に行うことができる
ため、この指定入力に応じて楽音信号の音色変化
(特に持続部分の発色)を容易に変更できる。こ
の結果、波形メモリの容量を増大することなく、
簡単かつ安価な構成で、任意の種々な楽音信号を
発生することができる。
As explained above, according to the musical tone signal generating device according to the present invention, when a musical tone signal generation command is given, a plurality of unit waveforms stored in the waveform memory are read out in the order specified by the first specifying means. , in this reading, reading of the unit waveform specified by the second specifying means is specified;
This is read out repeatedly until a musical sound signal generation stop command is given, making it a continuous part of the musical sound signal.Moreover, since the performer can arbitrarily input the unit waveform into the second designation means, this It is possible to easily change the timbre change (especially the coloring of the sustained part) of the musical tone signal according to the specified input. As a result, without increasing the waveform memory capacity,
Any variety of musical tone signals can be generated with a simple and inexpensive configuration.

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

第1図はこの発明に係る楽音信号発生装置を適
用した電子楽器の一実施例を示すブロツク図、第
2図はこの発明において使用される周期別楽音信
号の意味を説明するための波形図、第3図は第1
図に示した電子楽器の全体動作を説明するための
フローチヤート、第4図〜第11図は周期別楽音
信号の検出方法を説明するための波形図およびフ
ローチヤート、第12図は読出しアドレス情報発
生装置の一実施例を示すブロツク図、第13図〜
第14図は高調波成分位相の整合理由の必要性を
説明するための波形図、第15図は読出しアドレ
ス情報発生装置の他の実施例を示す詳細ブロツク
図、第16図は選択情報設定装置および読出しア
ドレス情報発生装置のさらに他の実施例を示す詳
細ブロツク図、第17図は周期別楽音信号検出装
置および選択情報設定装置ならびに読出しアドレ
ス情報発生装置の他の実施例を示す詳細ブロツク
図である。 1……楽音データメモリ、2……書込み装置、
3……周期別楽音信号検出装置、4……周期別ア
ドレス情報メモリ、5……キースイツチ回路、6
……周期信号発生回路、7……選択情報設定装
置、8……読出しアドレス情報発生装置、9……
メモリ制御装置、10……発音装置。
FIG. 1 is a block diagram showing an embodiment of an electronic musical instrument to which a musical tone signal generating device according to the present invention is applied, and FIG. 2 is a waveform diagram for explaining the meaning of periodic musical tone signals used in the present invention. Figure 3 is the first
Flowchart for explaining the overall operation of the electronic musical instrument shown in the figure, Figures 4 to 11 are waveform diagrams and flowcharts for explaining the method of detecting musical tone signals by period, and Figure 12 is for reading address information. Block diagram showing one embodiment of the generator, Fig. 13~
Fig. 14 is a waveform diagram for explaining the necessity of harmonic component phase matching, Fig. 15 is a detailed block diagram showing another embodiment of the read address information generating device, and Fig. 16 is a selection information setting device. FIG. 17 is a detailed block diagram showing still another embodiment of the read address information generating device, and FIG. be. 1... Musical sound data memory, 2... Writing device,
3...Periodic musical tone signal detection device, 4...Periodic address information memory, 5...Key switch circuit, 6
... Periodic signal generation circuit, 7 ... Selection information setting device, 8 ... Read address information generation device, 9 ...
Memory control device, 10... Sound generation device.

Claims (1)

【特許請求の範囲】 1 a 所望の複数周期分の楽音波形に関する波
形データを記憶する波形記憶手段と、 b 上記波形記憶手段に記憶された複数周期分の
波形データをそれぞれ少なくとも1周期からな
る複数の単位波形に区分し、楽音信号発生時か
らの時間経過に従つて上記波形記憶手段から順
次読み出すべき上記単位波形を所定の順序で指
定する第1の指定手段と、 c 上記第1の指定手段により順次指定される各
単位波形のうち、楽音信号の持続部に対応して
所望の単位波形を演奏者が任意に指定入力する
第2の指定手段と、 d 楽音信号の発生指令に応答して上記波形記憶
手段に記憶された各単位波形に関するデータの
うち、上記第1の指定手段により指定される単
位波形に関する波形データを順次読み出すため
のものであつて、上記第2の指定手段により指
定される単位波形を読み出すとき該単位波形を
楽音信号の発生停止指令が与えられるまで繰返
し読み出す読出手段と を備え、上記波形記憶手段から読み出された波形
データに基づき楽音信号を発生することを特徴と
する電子楽器用の楽音信号発生装置。
[Scope of Claims] 1 a. A waveform storage means for storing waveform data related to a musical sound waveform for a plurality of desired cycles, and b. a first specifying means for specifying, in a predetermined order, the unit waveforms to be divided into unit waveforms and read out sequentially from the waveform storage means in accordance with the passage of time from the generation of the musical tone signal; c the first specifying means; a second specifying means by which the performer arbitrarily specifies and inputs a desired unit waveform corresponding to the continuous portion of the musical tone signal among the unit waveforms sequentially specified by; d) in response to a musical tone signal generation command; Among the data related to each unit waveform stored in the waveform storage means, the waveform data related to the unit waveform specified by the first specifying means is read out sequentially, and the waveform data related to the unit waveform specified by the second specifying means is and reading means for repeatedly reading out the unit waveform until a command to stop generation of the musical tone signal is given when reading out the unit waveform, and generating the musical tone signal based on the waveform data read from the waveform storage means. A musical tone signal generator for electronic musical instruments.
JP62201909A 1987-08-14 1987-08-14 Musical sound signal generator Granted JPS6346493A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62201909A JPS6346493A (en) 1987-08-14 1987-08-14 Musical sound signal generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62201909A JPS6346493A (en) 1987-08-14 1987-08-14 Musical sound signal generator

Publications (2)

Publication Number Publication Date
JPS6346493A JPS6346493A (en) 1988-02-27
JPH0337196B2 true JPH0337196B2 (en) 1991-06-04

Family

ID=16448827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62201909A Granted JPS6346493A (en) 1987-08-14 1987-08-14 Musical sound signal generator

Country Status (1)

Country Link
JP (1) JPS6346493A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH041754U (en) * 1990-04-20 1992-01-08

Also Published As

Publication number Publication date
JPS6346493A (en) 1988-02-27

Similar Documents

Publication Publication Date Title
JPS6147435B2 (en)
US4696214A (en) Electronic musical instrument
US5216189A (en) Electronic musical instrument having slur effect
JPH0337196B2 (en)
JP2559209B2 (en) Music signal generator
JP2950461B2 (en) Tone generator
JPH03242697A (en) Electronic musical instrument
JP2722665B2 (en) Tone generator
JP3045130B2 (en) Electronic musical instrument
JP2861007B2 (en) Electronic musical instrument
JPS6248833B2 (en)
JP2991436B2 (en) Music signal generator
JPH052999B2 (en)
JP3152227B2 (en) Music signal generator
JP3044712B2 (en) Electronic musical instrument
JP3112743B2 (en) Sound source device
JP2893698B2 (en) Music signal generator
JP3508139B2 (en) Digital signal processor
JP3298157B2 (en) Effect adding device
JP3316530B2 (en) Music control device
JP2606459B2 (en) Touch response device for electronic musical instruments
JPH05346788A (en) Musical sound signal generating device
JPH02149895A (en) Electronic musical instrument
JPS6325697A (en) electronic musical instruments
JPH04243295A (en) Electronic musical instrument