JPS62117000A - Acoustic signal generator - Google Patents
Acoustic signal generatorInfo
- Publication number
- JPS62117000A JPS62117000A JP60258160A JP25816085A JPS62117000A JP S62117000 A JPS62117000 A JP S62117000A JP 60258160 A JP60258160 A JP 60258160A JP 25816085 A JP25816085 A JP 25816085A JP S62117000 A JPS62117000 A JP S62117000A
- Authority
- JP
- Japan
- Prior art keywords
- data
- circuit
- digital filter
- acoustic signal
- terminal
- 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.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 239000011295 pitch Substances 0.000 description 6
- 101100087530 Caenorhabditis elegans rom-1 gene Proteins 0.000 description 4
- 101100305983 Mus musculus Rom1 gene Proteins 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 1
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は音響信号発生装置に関するものである。[Detailed description of the invention] [Industrial application field] The present invention relates to an acoustic signal generator.
[従来の技術]
従来、特定の1音のみをデジタル変換してROM等のメ
モリに記憶させておき、このROMからデータを読み出
すクロックの周期を変化させることにより、音程を作っ
て曲を合成するものがある。[Prior art] Conventionally, only one specific note is digitally converted and stored in a memory such as a ROM, and by changing the cycle of the clock that reads data from the ROM, pitches are created and songs are synthesized. There is something.
[発明が解決しようとする問題点]
上記の方法によると、読み出すクロックの周期により、
出力に設けたローパスフィルタのカットオフ周波数を変
化させなければならない。しかしながら、デジタルフィ
ルタを用いた場合、読出し用クロックの周期の範囲が広
くなると、必要な周波数のみを通過させることができな
くなる。[Problems to be solved by the invention] According to the above method, depending on the period of the read clock,
The cutoff frequency of the low-pass filter provided at the output must be changed. However, when a digital filter is used, if the period range of the read clock becomes wider, it becomes impossible to pass only the necessary frequencies.
なぜならば、デジタルフィルタにおいては、カットオフ
周波数をfcとしたときその周波数(3f c−5f
c)、(5f c77 f c)、(7fc〜9fr:
)・・・・・・においても信号が発生するため、後段に
ローパスフィルタを設け、3fc以上の周波数を遮断し
ており、読出し用クロックの周期によっては不要な周波
数まで通過してしまうことがある。例えば、読出し用ク
ロックの周波数を1/4にした場合、このときの3fc
の信号は元の信号のカットオフ周波数fc以下であり、
元の信号の3fc以上を遮断するローパスフィルタでは
遮断できず、通過してしまうのである。This is because in a digital filter, when the cutoff frequency is fc, the frequency (3f c-5f
c), (5f c77 f c), (7fc~9fr:
) ..., so a low-pass filter is installed in the latter stage to cut off frequencies of 3fc or higher, and depending on the period of the readout clock, unnecessary frequencies may be passed through. . For example, if the frequency of the read clock is reduced to 1/4, then 3fc
is below the cutoff frequency fc of the original signal,
A low-pass filter that blocks more than 3fc of the original signal cannot block it, and it passes through.
本発明は読出し用クロックの周期が大きく変わっても確
実に不要な周波数信号を遮断できるようにしたものであ
る。The present invention makes it possible to reliably cut off unnecessary frequency signals even if the period of the read clock changes significantly.
[問題点を解決するための手段]
本発明は、記憶回路からのデータの読出し用クロックパ
ルスの周期が設定値以上の場合には、読み出されたデー
タの間をその前後のデータに応じて補間する補間回路を
設け、デジタルフィルタに入力されるデータの周期が常
に一定範囲内になるようにしたものである。[Means for Solving the Problems] The present invention provides that, when the period of the clock pulse for reading data from the storage circuit is equal to or greater than a set value, the period between the read data is changed according to the data before and after the read data. An interpolation circuit is provided to ensure that the period of data input to the digital filter is always within a certain range.
[実施例]
図面において、1はROMで、特定の1音をデジタル変
換して記憶させである。2はデータ読出し用のカウンタ
、3はROMから読み出された1つ前のデータをラッチ
するラッチ回路、4は演算回路で、ラッチ回路3からの
データ又とROM 1から現在読み出されているデータ
Yとの平均値(X+Y)/2を演算するものである。5
はセレクタで、クロック入力によってROM1からのデ
ータと演算回路4からのデータとを交互に選択するもの
である。6はデジタルフィルタ、7はD/A変換回路、
8はローパスフィルタ、9はスピーカである。10は1
/2の分周回路、11〜13はゲート回路である。[Embodiment] In the drawings, reference numeral 1 denotes a ROM, which digitally converts and stores one specific sound. 2 is a counter for reading data, 3 is a latch circuit that latches the previous data read from the ROM, and 4 is an arithmetic circuit that is currently reading data from the latch circuit 3 and from ROM 1. The average value (X+Y)/2 of data Y is calculated. 5
is a selector which alternately selects data from the ROM 1 and data from the arithmetic circuit 4 in response to a clock input. 6 is a digital filter, 7 is a D/A conversion circuit,
8 is a low-pass filter, and 9 is a speaker. 10 is 1
/2 frequency dividing circuit, and 11 to 13 are gate circuits.
つぎに動作について説明する。端子F1にはROMIか
らデータを読み出すためのクロックパルスを、端子F2
にはデジタルフィルタ自身の動作のためのクロックパル
スを、端子pには通常は“0”を、1オクターブ低い音
を出すときには“1“を供給するものである。Next, the operation will be explained. Terminal F1 receives a clock pulse for reading data from ROMI, and terminal F2 receives a clock pulse for reading data from ROMI.
A clock pulse is supplied to the terminal p for the operation of the digital filter itself, and the terminal p is normally supplied with "0", and when producing a tone one octave lower, it is supplied with "1".
後に詳述するが、例えば、「う」の音を出す場合には端
子F1にこの音程の周波数信号を供給し、1オクターブ
低い「う」の音を出す場合には、端子pを“1”にし、
端子F1には上記と同じ周波数の信号を供給する。この
信号はデジタルフィルタ6にも供給され、これがクロッ
クとなって処理が行われる。つまり1オクターブ低い音
の場合にも、デジタルフィルタ6は同じクロッグで処理
を行うため、ローパスフィルタ8によって不要な周波数
は確実に遮断できるのである。As will be explained in detail later, for example, to produce the sound "u", a frequency signal of this pitch is supplied to terminal F1, and to produce the sound "u", which is one octave lower, the terminal p is set to "1". west,
A signal of the same frequency as above is supplied to the terminal F1. This signal is also supplied to the digital filter 6, and processing is performed using this signal as a clock. In other words, even in the case of a sound one octave lower, the digital filter 6 processes it using the same clock, so the low-pass filter 8 can reliably block unnecessary frequencies.
さて、端子pが“0“の状態では、ゲート回路12が開
き、端子F1からの信号がそのままカウンタ2に供給さ
れてROM1からデータが順次読み出される。このデー
タはセレクタ5を介してデジタルフィルタ6に供給され
端子F1からの信号によって入力され、処理が行われる
。デジタルフィルタ6の出力はD/A変換回路7でアナ
ログ信号に変換され、ローパスフィルタ8を介してスピ
ーカ9に供給されて発音される。Now, when the terminal p is in the state of "0", the gate circuit 12 is opened, the signal from the terminal F1 is supplied as it is to the counter 2, and data is sequentially read from the ROM 1. This data is supplied to the digital filter 6 via the selector 5, inputted by a signal from the terminal F1, and processed. The output of the digital filter 6 is converted into an analog signal by a D/A conversion circuit 7, and is supplied to a speaker 9 via a low-pass filter 8 for sound generation.
端子pが1”のときは、ゲート回路11が開き、端子F
1からの信号が172分周されてカウンタ2およびラッ
チ回路3、セレクタ5に供給される。そのため、ROM
1からは上記の2倍の周期でデータが読み出される。こ
のデータはセレクタ5に供給されるとともにラッチ回路
3にラッチされ、゛演算回路4で演算されたデータとR
OM 1からの上記データとがセレクタ5で選択されて
出力される。例えば、ROMIからデータa、b。When the terminal p is 1", the gate circuit 11 is open and the terminal F
The signal from 1 is divided by 172 and supplied to counter 2, latch circuit 3, and selector 5. Therefore, ROM
1, data is read out at twice the cycle as above. This data is supplied to the selector 5 and latched by the latch circuit 3, and the data calculated by the calculation circuit 4 and R
The above data from OM 1 is selected by selector 5 and output. For example, data a, b from ROMI.
C・・・がこの順に読み出されたとすると、デジタルフ
ィルタ6にはデータa、(a+b)/2.b。C... are read out in this order, the digital filter 6 receives data a, (a+b)/2. b.
(b+c)/2.c・・・がこの順に、端子F1からの
信号に同期して供給される。したがってデジタルフィル
タ6は端子F1からの上記と同じ周波数の信号によって
処理を行う。(b+c)/2. c... are supplied in this order in synchronization with the signal from the terminal F1. Therefore, the digital filter 6 processes a signal having the same frequency as above from the terminal F1.
このように、ある音程の音とこれより1オクターブ低い
音が同じ周波数の信号によりてデジタルフィルタ6で処
理されるため、ローパスフィルタとしては共通のものを
用いて不要な周波数を確実に遮断できるのである。In this way, since a tone of a certain pitch and a tone one octave lower than this pitch are processed by the digital filter 6 using signals of the same frequency, unnecessary frequencies can be reliably blocked by using a common low-pass filter. be.
したがって、発生される曲の音程が2オクターブに亘る
場合にも、ローパスフィルタ8としては、1オクターブ
の範囲で減衰するものを用いれば、不要な周波数を遮断
てきる。Therefore, even if the pitch of the generated music spans two octaves, unnecessary frequencies can be blocked by using a low-pass filter 8 that attenuates within one octave.
なお上記の実施例では、2オクターブまでの範囲とした
が、さらに大きな範囲にも適用可能である。In the above embodiment, the range is up to two octaves, but it is also applicable to a larger range.
またROMからの出力はADPCM等の方式にも適用可
能である。Furthermore, the output from the ROM can also be applied to methods such as ADPCM.
[発明の効果コ
本発明によれば、広い範囲の音程に亘って共通のローパ
スフィルタで不要な周波数の信号を遮断することができ
、簡単な構成で良好な音質の音を再生することができる
。[Effects of the Invention] According to the present invention, unnecessary frequency signals can be blocked by a common low-pass filter over a wide range of pitches, and sound with good quality can be reproduced with a simple configuration. .
図面は本発明の一実施例を示した論理回路図である。 1・・・ROM 3・・・ラッチ回路 4・・・演算回路 5・・・セレクタ 6・・・デジタルフィルタ 7・・・D/A変換回路 8・・・ローパスフィルタ 以 上 The drawing is a logic circuit diagram showing an embodiment of the present invention. 1...ROM 3...Latch circuit 4...Arithmetic circuit 5...Selector 6...Digital filter 7...D/A conversion circuit 8...Low pass filter that's all
Claims (1)
の記憶回路内のデータを読み出すクロックパルスの周期
によって音程を制御し、メロディを合成する音響信号発
生装置において、上記クロックパルスの周期が予め設定
した値より低いとき上記記憶回路から読み出されたデー
タの間をその前後のデータに応じて補間する補間回路と
、上記記憶回路から読み出されたデータおよび上記補間
回路によって補間されたデータを入力とするデジタルフ
ィルタと、このデジタルフィルタの出力をアナログ信号
に変換する変換回路と、この変換回路の出力を入力とす
るローパスフィルタとからなる音響信号発生装置。In an acoustic signal generating device that synthesizes a melody by digitally converting one desired note and storing it in a memory circuit, and controlling the pitch by the cycle of a clock pulse that reads data in the memory circuit, the cycle of the clock pulse is set in advance. an interpolation circuit that interpolates between the data read from the storage circuit when the value is lower than a set value according to data before and after the data; and an interpolation circuit that interpolates between the data read from the storage circuit and the data interpolated by the interpolation circuit. An acoustic signal generating device that includes a digital filter as an input, a conversion circuit that converts the output of the digital filter into an analog signal, and a low-pass filter that receives the output of the conversion circuit as an input.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60258160A JPS62117000A (en) | 1985-11-18 | 1985-11-18 | Acoustic signal generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60258160A JPS62117000A (en) | 1985-11-18 | 1985-11-18 | Acoustic signal generator |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62117000A true JPS62117000A (en) | 1987-05-28 |
Family
ID=17316366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60258160A Pending JPS62117000A (en) | 1985-11-18 | 1985-11-18 | Acoustic signal generator |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62117000A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007077869A (en) * | 2005-09-14 | 2007-03-29 | Toyota Motor Corp | Air-fuel ratio control device for internal combustion engine |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6095599A (en) * | 1983-10-31 | 1985-05-28 | ソニー株式会社 | Time-based compressor/stretcher |
-
1985
- 1985-11-18 JP JP60258160A patent/JPS62117000A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6095599A (en) * | 1983-10-31 | 1985-05-28 | ソニー株式会社 | Time-based compressor/stretcher |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007077869A (en) * | 2005-09-14 | 2007-03-29 | Toyota Motor Corp | Air-fuel ratio control device for internal combustion engine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4864625A (en) | Effector for electronic musical instrument | |
US4779505A (en) | Electronic musical instrument of full-wave readout system | |
US4785707A (en) | Tone signal generation device of sampling type | |
US5416264A (en) | Waveform-forming device having memory storing non-compressed/compressed waveform samples | |
US5050216A (en) | Effector for electronic musical instrument | |
JPS62117000A (en) | Acoustic signal generator | |
JPH0486796A (en) | musical tone generator | |
JPS6033600A (en) | Light source unit | |
US5559298A (en) | Waveform read-out system for an electronic musical instrument | |
JPS6068387A (en) | Electronic musical instrument | |
JPH06168575A (en) | Digital mixer | |
JPS5840199B2 (en) | Denshigatsuki | |
JPS6022191A (en) | Sound source apparatus | |
JPS6053999A (en) | Voice synthesizer | |
JPH0477320B2 (en) | ||
JPS633319B2 (en) | ||
JPH02108099A (en) | Waveform interpolating device | |
JPH0468632B2 (en) | ||
JP2560276B2 (en) | Digital effect device | |
JP2939098B2 (en) | Electronic musical instrument | |
JP2970372B2 (en) | Sound source parameter supply device | |
JPH08123421A (en) | Musical sound signal synthesizing device | |
JPS62178297A (en) | Waveform data controller | |
JPS61105596A (en) | Musical sound generator | |
JPS6223873B2 (en) |