JPH039199Y2 - - Google Patents

Info

Publication number
JPH039199Y2
JPH039199Y2 JP5496585U JP5496585U JPH039199Y2 JP H039199 Y2 JPH039199 Y2 JP H039199Y2 JP 5496585 U JP5496585 U JP 5496585U JP 5496585 U JP5496585 U JP 5496585U JP H039199 Y2 JPH039199 Y2 JP H039199Y2
Authority
JP
Japan
Prior art keywords
signal
zero
memory
detection means
crossing point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP5496585U
Other languages
Japanese (ja)
Other versions
JPS61170198U (en
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 filed Critical
Priority to JP5496585U priority Critical patent/JPH039199Y2/ja
Publication of JPS61170198U publication Critical patent/JPS61170198U/ja
Application granted granted Critical
Publication of JPH039199Y2 publication Critical patent/JPH039199Y2/ja
Expired legal-status Critical Current

Links

Description

【考案の詳細な説明】[Detailed explanation of the idea]

「産業上の利用分野」 この考案は例えば電子楽器の音源として利用す
る信号を記憶する波形記憶装置に関する。 「従来技術」 シンセサイザと呼ばれる電子楽器は従来は電圧
制御発振器によつて目的の音程を持つ周波数の信
号を発生させ、この信号を波形成形してピアノ、
オルガン、フルート、バイオリン、ギター等の各
種の楽器音を発生させる方式を採つている。 これに対し近来半導体メモリが安価に使用でき
る状況となつたことにより各種の楽器の音、或い
は音声等の一部を半導体メモリに記憶し、この記
憶を読出すことにより各種の楽器信号を得る方法
が考えられている。再現する楽器信号の音程を変
えるにはメモリの読出速度を変えることによつて
行われる。 「考案が解決しようとする問題点」 半導体メモリに希望する音の信号を取込む際
に、目的とする音の頭を正確にとらえてメモリに
書込を開始しなければならない。 従来例えば第3図に示すような波形の信号Sを
メモリに取込む際に信号のレベルが設定値V1
越えた時点T1をとらえ、この時点T1からAD変換
されたデイジタル符号化信号をメモリに書込む動
作を開始させている。 この信号取込方式による場合メモリの頭部にい
きなり電圧V1を持つ信号が書込まれてしまう。
この信号を読出して音として再現すると頭部にお
いて電圧V1を持つ信号が再現されるためスパイ
クノイズが発生する欠点を持つ。この欠点を解消
するには信号がゼロクロスした時点、例えばT2
からメモリに書込を開始させるように構成すれば
よい。 然し乍ら信号Sは多くの時点でゼロクロス点を
持ち、どのゼロクロス点から書込を開始させるか
を決定することはむずかしい。特に目的とする信
号Sの前には周囲の雑音Nが存在する。雑音Nに
もゼロクロス点が存在するから雑音Nと目的の信
号Sを区別しなければならないのでゼロクロス点
から書込を開始させることはむずかしい。 「問題点を解決するための手段」 この考案ではゼロクロス点が存在するとメモリ
への書込を開始させるが、信号のレベルが所定値
を越えるまでの間はゼロクロス点が存在する毎に
メモリのアドレスを初期アドレスに戻し、ゼロク
ロス点からの信号を常時メモリに書込む動作を操
返し行わせる。 信号のレベルが所定値V1を越えた時点T1以後
はメモリのアドレスを初期アドレスに戻す動作を
禁止させ信号の書込動作を継続させる。 従つてこの考案によればメモリには常にゼロク
ロス点から信号を取込むことができる。然も所定
のレベルを越えた時点の直前に存在したゼロクロ
ス点からの信号を記憶することができるから目的
とする信号を確実に取り込むことができる。 「実施例」 第1図にこの考案の一実施例を示す。図中1は
入力端子を示す。入力端子1には例えばマイクロ
ホン、或いはその他にギターマイク、レコードピ
ツクアツプ等の信号源が接続され各種の音の信号
を入力する。入力端子1に入力された信号はAD
変換器2と信号検出手段3に与えられる。 AD変換器2は入力された信号を常時AD変換
し、そのAD変換出力をメモリ4に与えている。
メモリ4は随時書込、読出が可能なRAM或いは
SRAM等を用いることができる。 5はメモリ4にアドレス信号を与えるアドレス
カウンタを示す。このアドレスカウンタ5には可
変分周器6を通じてクロツク源7からクロツクパ
ルスが与えられる。書込時は可変分周器6は一定
の分周比に設定されるが、読出時は例えばキイボ
ード8からの操作によつて可変分周器6の分周比
が変化され、メモリ4の読出速度を任意の速度に
選択し、再現する音の音程を任意に選定し楽曲の
演奏ができるようにしている。尚音の再生系とし
ては例えばDA変換器21と、低周波増幅器22
と、スピーカ23とによつて構成される。また必
要に応じてメモリ4に取込んだ波形データを記録
する例えばフロツピイデイスク装置のような外部
記憶手段24が設けられる。 9はゼロクロス検出手段を示す。このゼロクロ
ス検出手段9はAD変換器2の最上位ビツトの信
号が与えられる時定数回路9Aと、この時定数回
路9Aの出力を極性反転するインバータ9Bと、
インバータ9Bの出力とAD変換器2の最上位ビ
ツトの信号の排他的論理和をとる排他的論理和回
路9cとによつて構成される。 AD変換器2は変換コードフオーマツトが例え
ば下記表に示すシンメトリカルオフセツトのI′S
コンプリメントを用いたとすると最上位ビツトB
1が「0」か「1」かによつて信号の極性を検出
することができる。
"Industrial Application Field" This invention relates to a waveform storage device for storing signals used as a sound source of an electronic musical instrument, for example. "Prior Art" Conventionally, an electronic musical instrument called a synthesizer uses a voltage-controlled oscillator to generate a signal at a frequency with a desired pitch, and then shapes this signal into a waveform to play the piano,
It uses a method that generates the sounds of various musical instruments such as an organ, flute, violin, and guitar. On the other hand, as semiconductor memories have become available at low cost in recent years, a method has been developed in which a portion of the sounds or voices of various musical instruments is stored in a semiconductor memory, and by reading this memory, various musical instrument signals can be obtained. is considered. The pitch of the reproduced musical instrument signal is changed by changing the read speed of the memory. ``Problem that the invention seeks to solve'' When capturing a desired sound signal into a semiconductor memory, it is necessary to accurately capture the beginning of the desired sound and begin writing it into the memory. Conventionally, for example, when a signal S with a waveform as shown in Fig. 3 is taken into memory, a time point T1 at which the signal level exceeds a set value V1 is captured, and from this time point T1 , an AD-converted digitally encoded signal is generated. The operation to write the data into memory is started. When this signal acquisition method is used, a signal having a voltage of V 1 is suddenly written to the head of the memory.
When this signal is read out and reproduced as sound, a signal with voltage V 1 is reproduced at the head, which has the disadvantage of generating spike noise. To overcome this drawback, the point at which the signal crosses zero, for example T 2
The configuration may be such that writing to the memory is started from this point. However, the signal S has zero-crossing points at many points, and it is difficult to determine from which zero-crossing point writing should be started. In particular, surrounding noise N exists in front of the target signal S. Since the noise N also has a zero-crossing point, it is difficult to start writing from the zero-crossing point because it is necessary to distinguish between the noise N and the target signal S. "Means for solving the problem" In this invention, writing to the memory is started when a zero-crossing point exists, but until the signal level exceeds a predetermined value, the memory address is written every time a zero-crossing point exists. is returned to the initial address, and the operation of constantly writing the signal from the zero-crossing point to the memory is repeated. After time T1 when the signal level exceeds a predetermined value V1 , the operation of returning the memory address to the initial address is prohibited and the signal write operation is continued. Therefore, according to this invention, signals can always be taken into the memory from the zero-crossing point. However, since it is possible to store the signal from the zero-crossing point that existed immediately before the point when the predetermined level was exceeded, it is possible to reliably capture the desired signal. ``Example'' Figure 1 shows an example of this invention. In the figure, 1 indicates an input terminal. The input terminal 1 is connected to a signal source such as a microphone, a guitar microphone, a record pickup, etc., and inputs various sound signals. The signal input to input terminal 1 is AD
applied to the converter 2 and the signal detection means 3. The AD converter 2 constantly performs AD conversion on input signals and provides the AD conversion output to the memory 4.
Memory 4 is a RAM that can be written to and read out at any time.
SRAM etc. can be used. Reference numeral 5 indicates an address counter that provides an address signal to the memory 4. A clock pulse is applied to the address counter 5 from a clock source 7 through a variable frequency divider 6. At the time of writing, the variable frequency divider 6 is set to a constant frequency division ratio, but at the time of reading, the frequency division ratio of the variable frequency divider 6 is changed by an operation from the keyboard 8, for example, and the frequency division ratio of the variable frequency divider 6 is set to a constant frequency division ratio. The speed can be selected at any speed, and the pitch of the sound to be reproduced can be arbitrarily selected to play a song. The sound reproduction system includes, for example, a DA converter 21 and a low frequency amplifier 22.
and a speaker 23. Further, an external storage means 24 such as a floppy disk device is provided for recording the waveform data taken into the memory 4 as required. 9 indicates zero cross detection means. This zero cross detection means 9 includes a time constant circuit 9A to which the signal of the most significant bit of the AD converter 2 is applied, an inverter 9B that inverts the polarity of the output of this time constant circuit 9A.
It is constituted by an exclusive OR circuit 9c which takes the exclusive OR of the output of the inverter 9B and the most significant bit signal of the AD converter 2. The AD converter 2 has a conversion code format of, for example, I'S with a symmetrical offset as shown in the table below.
If complement is used, the most significant bit B
The polarity of the signal can be detected depending on whether 1 is "0" or "1".

【表】 よつて第2図Aに示すアナログ信号SをAD変
換した仮想デイジタル波形Mから最上位ビツトB
1は第2図Eに示すような矩形波Peとなる。従
つてこの矩形波Peをゼロクロス検出手段9に与
え、ゼロクロス検出手段9から第2図Fに示すゼ
ロクロス検出信号Pfを得る。このゼロクロス検
出信号Pfをリセツト禁止制御手段11を構成す
るアンドゲート11Cの一方の入力端子に与え
る。 リセツト禁止制御手段11はフリツプフロツプ
11Aと、インバータ11B及びアンドゲート1
1Cとによつて構成することができる。フリツプ
フロツプ11Aはセツト入力端子STを有し、信
号の取込開始に先だつて第2図Cに示すセツト指
令信号Pcを与えフリツプフロツプ11Aをセツ
ト状態に設定する。この設定により出力端子は
L論理となり、このL論理信号をインバータ11
Bを通じてアンドゲート11Cの他方の入力端子
に与える。これによりアンドゲート11Cは開の
状態に制御され、ゼロクロス検出手段9から出力
されるゼロクロス検出信号Pfをアドレスカウン
タ5のリセツト端子Rに与える。 リセツト禁止制御手段11の前段側に信号検出
手段3が設けられる。信号検出手段3は例えば両
波整流回路3Aと電圧比較器3Bとによつて構成
することができる。両波整流回路3Aは入力端子
1に入力されたアナログ信号Sを両波整流し、例
えば正極性の脈流信号に変換する。この正極性の
脈流信号を電圧比較器3Bに与え設定電圧VR
比較する。アナログ信号の振幅が設定電圧VR
越えると電圧比較器3Bは第2図Bに示す矩形波
Peを出力する。この矩形波Pbの最初の立上りで
フリツプフロツプ11Aはリセツトされ出力端子
Qは第2図Dに示すようにH論理に立上がる。 フリツプフロツプ11Aがリセツトされること
によりインバータ11Bの出力はL論理となりア
ンドゲート11Cは閉の状態に制御され、ゼロク
ロス検出信号Pfの通過を禁止する状態となる。 (実施例の動作) 従つてこの実施例の構造によれば第2図Cに示
すセツト指令信号Pcに同期してアドレスカウン
タ5が計数を始め、メモリ4にAD変換信号の取
込みを開始するが、時間T1でゼロクロス検出信
号Pfがアンドゲート11Cを通じてアドレスカ
ウンタ5のリセツト端子Rに与えられるからアド
レスカウンタ5はリセツトされメモリ4に与えて
いるアドレスを初期アドレスに戻す。時点T1
にアドレスカウンタ5は再びクロツクパルスの計
数を開始し、メモリ4に信号SのAD変換値を書
込む。 時点T2で再びゼロクロス検出信号Pfがカウン
タ5に与えられメモリ4のアドレスを再び初期ア
ドレスに戻す。時点T2後にカウンタ5は再び計
数を始めメモリ4にアナログ信号Sのデイジタル
符号化信号を書込む。時点T3で再びゼロクロス
検出信号Pfがカウンタ5に与えられアドレスを
初期アドレスに戻す。 時点T3後メモリ4は再び信号の書込を開始す
る。時点T4でアナログ信号Sが設定電圧VRを越
える。これによつて信号検出手段3はフリツプフ
ロツプ11Aをリセツトさせアンドゲート11C
を閉に制御する。 従つて時点T4以後は信号Sがゼロクロスして
もアドレスカウンタ5がリセツトされることがな
く書込が継続される。この結果メモリ4には時点
T3以後の信号が書込まれ、目的の信号をゼロク
ロス点直後から取込むことができる。 「考案の作用効果」 以上説明したようにこの考案によれば目的とす
る信号のゼロクロス点直後からの波形データをメ
モリ4に取込むことができる。よつてメモリ4に
取込んだ信号を読出して音として放音する際に音
の始まりがゼロレベルに近い小レベルの部分から
始まるから音の始まり部分でノイズが発生するこ
とがない。従つて質のよい音を得ることができ
る。
[Table] Therefore, from the virtual digital waveform M obtained by AD converting the analog signal S shown in Fig. 2A, to the most significant bit B
1 becomes a rectangular wave Pe as shown in FIG. 2E. Therefore, this rectangular wave Pe is applied to the zero-cross detection means 9, and the zero-cross detection signal Pf shown in FIG. 2F is obtained from the zero-cross detection means 9. This zero cross detection signal Pf is applied to one input terminal of an AND gate 11C constituting the reset prohibition control means 11. The reset prohibition control means 11 includes a flip-flop 11A, an inverter 11B, and an AND gate 1.
1C. Flip-flop 11A has a set input terminal ST, and prior to the start of signal acquisition, a set command signal Pc shown in FIG. 2C is applied to set flip-flop 11A in the set state. With this setting, the output terminal becomes L logic, and this L logic signal is transferred to the inverter 11.
B to the other input terminal of the AND gate 11C. As a result, the AND gate 11C is controlled to be open, and the zero-cross detection signal Pf output from the zero-cross detection means 9 is applied to the reset terminal R of the address counter 5. A signal detection means 3 is provided on the preceding stage side of the reset prohibition control means 11. The signal detecting means 3 can be constituted by, for example, a double-wave rectifier circuit 3A and a voltage comparator 3B. The double-wave rectifier circuit 3A performs double-wave rectification on the analog signal S input to the input terminal 1, and converts it into, for example, a positive pulsating current signal. This positive pulsating current signal is applied to the voltage comparator 3B and compared with the set voltage VR . When the amplitude of the analog signal exceeds the set voltage V R , the voltage comparator 3B generates a rectangular wave as shown in Figure 2B.
Output Pe. At the first rise of this rectangular wave Pb, the flip-flop 11A is reset and the output terminal Q rises to H logic as shown in FIG. 2D. By resetting the flip-flop 11A, the output of the inverter 11B becomes an L logic, and the AND gate 11C is controlled to be closed, thereby prohibiting the passage of the zero-cross detection signal Pf. (Operation of Embodiment) Therefore, according to the structure of this embodiment, the address counter 5 starts counting in synchronization with the set command signal Pc shown in FIG. , at time T1 , the zero cross detection signal Pf is applied to the reset terminal R of the address counter 5 through the AND gate 11C, so the address counter 5 is reset and the address applied to the memory 4 is returned to the initial address. After time T1 , the address counter 5 starts counting clock pulses again and writes the AD converted value of the signal S into the memory 4. At time T2 , the zero cross detection signal Pf is again applied to the counter 5, and the address of the memory 4 is returned to the initial address again. After time T2 , the counter 5 starts counting again and writes the digitally encoded signal of the analog signal S into the memory 4. At time T3 , the zero cross detection signal Pf is again applied to the counter 5, and the address is returned to the initial address. After the time T3 the memory 4 starts writing signals again. At time T 4 the analog signal S exceeds the set voltage V R . As a result, the signal detection means 3 resets the flip-flop 11A and outputs the AND gate 11C.
is controlled to close. Therefore, after time T4 , even if the signal S crosses zero, the address counter 5 is not reset and writing continues. As a result, memory 4 stores the time point
Signals after T 3 are written, and the desired signal can be captured immediately after the zero cross point. "Operations and Effects of the Invention" As explained above, according to this invention, waveform data immediately after the zero-crossing point of the target signal can be taken into the memory 4. Therefore, when the signal taken into the memory 4 is read out and emitted as a sound, the sound starts from a small level part close to the zero level, so no noise is generated at the beginning part of the sound. Therefore, you can get good quality sound.

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

第1図はこの考案の一実施例を示すブロツク
図、第2図はこの考案の動作を説明するための波
形図、第3図は従来技術の不都合を説明するため
の波形図である。 1:入力端子、2:AD変換器、3:信号検出
手段、4:メモリ、5:アドレスカウンタ、6:
可変分周器、7:クロツク源、8:キイーボー
ド、9:ゼロクロス検出手段、11:リセツト禁
止制御手段。
FIG. 1 is a block diagram showing an embodiment of this invention, FIG. 2 is a waveform diagram for explaining the operation of this invention, and FIG. 3 is a waveform diagram for explaining the disadvantages of the prior art. 1: Input terminal, 2: AD converter, 3: Signal detection means, 4: Memory, 5: Address counter, 6:
Variable frequency divider, 7: clock source, 8: keyboard, 9: zero cross detection means, 11: reset prohibition control means.

Claims (1)

【実用新案登録請求の範囲】 A 記憶すべきアナログ信号をデイジタル符号化
信号に変換するAD変換器と、 B このAD変換器のAD変換出力を記憶する記
憶手段と、 C この記憶手段にアドレス信号を与えるアドレ
スカウンタと、 D 上記アナログ信号のゼロクロス点を検出し、
ゼロクロス点検出毎に上記アドレスカウンタの
計数値を初期値にリセツトするゼロクロス点検
出手段と、 E 上記アナログ信号が予め設定したレベルを越
えたことを検出する信号検出手段と、 F この信号検出手段が上記アナログ信号のレベ
ルが設定値を越えたことを検出すると上記ゼロ
クロス点検出手段によるアドレスカウンタに対
するリセツト動作を禁止するリセツト禁止制御
手段と、 から成る波形記憶装置。
[Claims for Utility Model Registration] A. An AD converter that converts an analog signal to be stored into a digitally encoded signal; B. Storage means for storing the AD conversion output of this AD converter; C. An address signal for this storage means. D detects the zero-crossing point of the above analog signal,
A zero-crossing point detection means that resets the count value of the address counter to the initial value each time a zero-crossing point is detected; E A signal detection means that detects that the analog signal exceeds a preset level; F This signal detection means A waveform storage device comprising: reset prohibition control means for inhibiting the reset operation of the address counter by the zero cross point detection means when detecting that the level of the analog signal exceeds a set value.
JP5496585U 1985-04-13 1985-04-13 Expired JPH039199Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5496585U JPH039199Y2 (en) 1985-04-13 1985-04-13

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5496585U JPH039199Y2 (en) 1985-04-13 1985-04-13

Publications (2)

Publication Number Publication Date
JPS61170198U JPS61170198U (en) 1986-10-22
JPH039199Y2 true JPH039199Y2 (en) 1991-03-07

Family

ID=30577201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5496585U Expired JPH039199Y2 (en) 1985-04-13 1985-04-13

Country Status (1)

Country Link
JP (1) JPH039199Y2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6267597A (en) * 1985-09-19 1987-03-27 カシオ計算機株式会社 Rhythm performer

Also Published As

Publication number Publication date
JPS61170198U (en) 1986-10-22

Similar Documents

Publication Publication Date Title
CA2013082C (en) Pitch shift apparatus
JPH06124091A (en) Waveform data reader
JPH0196700A (en) Input controller for electronic musical instrument
JPH039199Y2 (en)
KR20160106239A (en) sound capturing equipment used mobile terminal
JPS60216393A (en) Information processor
JPH03205656A (en) Quick listening device
JPS5975294A (en) Music tone synthesizer
JP2546202B2 (en) Waveform generator
JPS61236596A (en) Sound source circuit for electronic musical instrument
JPS60119672A (en) Read device of musical instrument code
JPH0326468B2 (en)
JPH0334000Y2 (en)
JPS6017496A (en) Musical sound synthesizer
JP2617194B2 (en) Electronic musical instrument
JPS6153696A (en) Electronic musical instrument
JPS61245196A (en) Musical sound generation
JPS61138995A (en) Electronic musical instrument
JPS6017797A (en) Recorder/reproducer
JP2545053Y2 (en) Address setting device
JPS6236233B2 (en)
JPH0348639Y2 (en)
JPH0356891Y2 (en)
JPS60145497U (en) automatic rhythm playing device
JPH0547997U (en) Sound reproduction device