JP2770565B2 - Music synthesizer - Google Patents
Music synthesizerInfo
- Publication number
- JP2770565B2 JP2770565B2 JP2270934A JP27093490A JP2770565B2 JP 2770565 B2 JP2770565 B2 JP 2770565B2 JP 2270934 A JP2270934 A JP 2270934A JP 27093490 A JP27093490 A JP 27093490A JP 2770565 B2 JP2770565 B2 JP 2770565B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- floating
- bits
- linear
- tone
- 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 - Fee Related
Links
- 238000006243 chemical reaction Methods 0.000 claims description 14
- 230000002596 correlated effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 5
- 230000000295 complement effect Effects 0.000 description 4
- 238000013139 quantization Methods 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 230000001012 protector Effects 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
「産業上の利用分野」 この発明は、撥弦楽器、打弦楽器等の楽音合成および
各種音響効果付与に用いて好適な楽音合成装置に関す
る。 「従来の技術」 従来より、遅延フィードバック型の減衰音合成による
楽音の合成が知られている。第8図は、デジタル回路に
よって構成された遅延フィードバック型の楽音合成装置
である。この図において、まず、楽音波形データが加算
器1に供給される。この加算器1は、上記楽音波形デー
タと後述するフィードバックされる楽音波形データとを
加算してシフトレジスタ2に供給するとともに、合成さ
れた楽音波形データとして取り出される。次に、シフト
レジスタ2は、遅延手段として働き、所定の遅延時間毎
に楽音波形データを出力し、フィルタ3は乗算器4を介
して上記加算器1へフィードバックする。 上述したシフトレジスタ2は、遅延回路として働いて
いるため、加算器1にフィードバックされる楽音波形デ
ータは、時間遅れ要素を有する。すなわち、遅延フィー
ドバック型の楽音合成装置では、楽音波形データを時間
的に変化させることによって、変化に富んだ楽音(音量
や音色などを時間的に変化させる)を合成している。 「発明が解決しようとする課題」 ところで、上述した楽音波形データのビット数は、大
きいほど量子化雑音が小さくなり、当該装置において合
成される楽音波形は、より自然な楽音波形に近付く。し
かし、ビット数を大きくすると、シフトレジスタや別途
設けられている記憶装置などの記憶容量を大きくしなけ
ればならず、コストアップにつながるという問題を生じ
る。また、コストアップを避けるため、処理する楽音波
形データのビット数を減らすと、波形が減衰するに従い
出力波形中の量子化雑音の占める割合が大きくなり、歪
んでしまうという問題を生じる。 この発明は、上述した問題点に鑑みてなされたもの
で、量子化雑音を大きくすることなく、ビット数を減少
させることができ、シフトレジスタや記憶装置などを小
さくできる楽音合成装置を提供することを目的としてい
る 「課題を解決するための手段」 上述した問題を解決するために、請求項1記載の発明
では、所定のビット数からなる楽音波形データを浮動小
数点形式のデジタルデータに変換するとともに、該変換
の際に乱数データを付加する浮動小数点変換手段と、 前記浮動小数点形式のデジタルデータを楽音波形デー
タとして処理して出力する楽音処理手段と、 該楽音処理手段が出力する浮動小数点形式の楽音波形
データをリニアデータに変換するリニア変換手段と を具備することを特徴とする。 請求項2記載の発明では、請求項1記載の発明におい
て、前記浮動小数点変換手段は、浮動小数点形式のデジ
タルデータに変換する際に、符号ビットと相関のあるビ
ットを削減することを特徴とする。 「作用」 請求項1記載の発明によれば、所定のビット数からな
る楽音波形データは、浮動小数点変換手段によって浮動
小数点形式のデジタルデータに変換される際に乱数デー
タが付加される。次に、浮動小数点形式のデジタルデー
タは、楽音処理手段によって楽音波形データとして処理
され、様々な音響効果が付与される。そして、楽音処理
手段が出力する浮動小数点形式のデジタルデータは、リ
ニア変換手段によってリニアデータに変換される。この
場合、楽音波形データには、乱数データが付加されてい
るため、量子化誤差が低減される。 請求項2記載の発明によれば、請求項1記載の発明に
おいて、楽音波形データは、浮動小数点変換手段によっ
て、浮動小数点形式のデジタルデータに変換する際に、
符号ビットと相関のあるビットが削減されて圧縮され
る。 「実施例」 次に図面を参照してこの発明の実施例について説明す
る。第1図はこの発明の一実施例の構成を示すブロック
図である。この図において、5はフローティング変換器
であり、外部から供給されるリニアデータを浮動小数点
形式のフローティングデータに変換する際に、ディザ
(以下、乱数とする)を付加する。また、この例では、
2の補数形式のリニアデータを27ビット、浮動小数点形
式のフロティーングデータを16ビットとにしている。 ここで、リニアデータをフローティングデータに変換
する方法について、第2図を参照して説明する。2の補
数形式のデジタルデータは、符号ビットを有する。通
常、このリニアデータをフローティングデータに変換す
ると、符号ビットと全く同じ情報を有する符号ビットを
反転したビットが1ビット生じる。本願では、この不用
なビットを削減し、ビット数の削減に貢献させることを
特徴の一つとしている。 次に、第2図に示す例を挙げて説明する。例えば、符
号ビットが正の「00000011111」という2の補数表現さ
れたリニアデータは、浮動小数点形式では、符号
「0」、仮数部「11111」、シフト量「6」となる。ま
た、「00011101000」というリニアデータは、符号
「0」、仮数部「11101」、シフト量「3」となる。こ
こで、シフト量とは、最上位ビットMSBから見て、ビッ
トが反転するまでのビットの個数である。したがって、
仮数部のMSBは、必ず、符号ビットを反転したものとな
る。 次に、符号がマイナスのリニアデータの例を説明す
る。「11111100000」というリニアデータは、符号
「1」、仮数部「00000」、シフト量「6」となる。ま
た、「11100010111」というリニアデータは、符号
「1」、仮数部「00010」、シフト量「3」となる。こ
の場合も上述した符号が「0」の場合と同様に、仮数部
のMSBは、必ず、符号ビットの反転したものとなる。こ
の結果、リニアデータを浮動小数点形式に変換した場合
には、仮数部の最上位ビットMSBを削除して、例えば最
初の例では、符号「0」、仮数部「1111」、シフト量
「6」とし、1ビット削減したデータとして扱うことが
できる。この削減できるビットはヒドゥンビットと呼ば
れる。また、浮動小数点形式のデータをリニアデータに
戻す際には、符号ビットを反転して仮数部の最上位ビッ
トMSBに付加してやれば、情報を壊すことなく元に戻す
ことができる。 次に、フローティング変換器5の構成について、第3
図に示すブロック図を参照して説明する。図において、
5aは、エクスクルーシブOR回路であり、上述したリニア
データの最上位ビットMSBとそれ以外の26ビットの各ビ
ットとの排他的論理和をとり、その結果をプライオリテ
ィ・エンコーダ5bへ出力する。すなわち、エクスクルー
シブOR回路5aは、上記論理演算によって負のデータを反
転する。上記プライオリティ・エンコーダ5bは、上記符
号が反転されたデータが、該データの最上位ビットMSB
から何ビット、符号ビットと同じ値が続くかを計数し、
4ビットのシフトデータとしてシフトテーブル5cへ出力
する。このシフトデータが前述した浮動小数点形式のデ
ータのシフト量となる。また、この計数値はフローティ
ングデータの指数部となる。次に、シフトテーブル5c
は、シフトデータに従って何ビット、シフトアップすべ
きかを示すデータに変換し、これをアップシフト5dへ出
力する。アップシフト5dは、リニアデータを上記データ
に従ってシフトアップし、上位ビット側に仮数部を移動
させる。このアップシフトされた27ビットのデータは、
全加算器5eの一方の入力端に供給される。全加算器5eで
は、上記アップシフトされたデータに乱数Rが付加され
る。これは、フローティングデータに変換する際の仮数
部以外の切り捨てられるビットの情報を補うためであ
る。あまり大きな乱数Rを付加すると、データの情報が
失われてしまうため、この実施例では、乱数Rは、全27
ビットの内、上位13ビットを「0」とし、下位14ビット
のみに値を有するようにしている。この乱数Rは、全加
算器5eの他方の入力端に供給されている。全加算器5e
は、データと乱数Rとを加算し、その演算結果を出力す
る。また、全加算器5eは、オーバーフロープロテクタ
(図示略)を備えており、上述した演算において、仮に
データにオーバーフローが生じたとすると、キャリービ
ットが生じるとともに、仮数部が桁上げのために大きく
変わってしまう。そこで、本実施では、上記オーバーフ
ロープロテクタによってキャリービットを検出し、仮数
部のオーバーフローを防止している。 上記演算結果は、符号を表す最上位ビットMSB、1ビ
ット下位側のヒドゥンビットおよび仮数部の情報を有す
る下位側の11ビットからなる。したがって、上記ヒドゥ
ンビットのみを切捨て、残り12ビット(最上位ビットMS
Bと仮数部)と、前述したプライオリティ・エンコーダ5
bが出力する4ビットの指数部とを併せ、16ビットのフ
ローティングデータとして第1図に示すシフトレジスタ
6へ供給する。 シフトレジスタ6は、例えば、前述したあるいは後述
する遅延フィードバック回路10などからなる音源の遅延
回路に相当する。フローティングデータは、所定の時
間、遅延された後、リニア変化部7へ供給される。この
リニア変換器7の一例の構成を第4図に示す。この図に
おいて、リニア変換器7は、周知の回路であり、シフト
レジスタ7aからなり、指数部の4ビットをカウント値と
して、仮数部の12ビットをカウント値分ダウンシフトす
ることによってフローティングデータをリニアデータに
変換する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a musical sound synthesizer suitable for use in synthesizing musical tones such as plucked string instruments and stringed musical instruments, and providing various acoustic effects. 2. Description of the Related Art Conventionally, synthesis of musical tones by delayed feedback type attenuation sound synthesis has been known. FIG. 8 shows a delay feedback type tone synthesizer constituted by a digital circuit. In this figure, first, tone waveform data is supplied to an adder 1. The adder 1 adds the musical tone waveform data and the musical tone waveform data to be fed back to be described later, supplies the resultant to the shift register 2, and takes out the combined musical tone waveform data. Next, the shift register 2 functions as delay means, outputs musical tone waveform data at every predetermined delay time, and the filter 3 feeds back to the adder 1 via the multiplier 4. Since the shift register 2 operates as a delay circuit, the tone waveform data fed back to the adder 1 has a time delay element. That is, the delay feedback type tone synthesizer synthesizes a variety of tones (temporarily changes the volume and tone) by changing the tone waveform data over time. [Problem to be Solved by the Invention] By the way, the larger the number of bits of the above-mentioned musical sound waveform data, the smaller the quantization noise, and the musical sound waveform synthesized in the device approaches a more natural musical sound waveform. However, when the number of bits is increased, the storage capacity of a shift register, a separately provided storage device, or the like must be increased, which causes a problem of increasing costs. Also, if the number of bits of musical tone waveform data to be processed is reduced in order to avoid an increase in cost, the proportion of quantization noise in the output waveform increases as the waveform attenuates, causing a problem of distortion. The present invention has been made in view of the above-described problems, and provides a tone synthesizer capable of reducing the number of bits without increasing quantization noise and reducing the size of shift registers and storage devices. [Means for Solving the Problems] In order to solve the above-described problem, the invention according to claim 1 converts musical tone waveform data having a predetermined number of bits into digital data in a floating-point format. Floating-point conversion means for adding random number data at the time of the conversion, tone processing means for processing and outputting the digital data in the floating-point format as musical sound waveform data, and floating-point format output by the tone processing means. And linear conversion means for converting musical tone waveform data into linear data. According to a second aspect of the present invention, in the first aspect of the present invention, the floating point conversion means reduces bits correlated with the sign bit when converting the digital data into floating point digital data. . According to the invention, random number data is added to musical tone waveform data having a predetermined number of bits when the data is converted into digital data in a floating point format by the floating point conversion means. Next, the digital data in the floating-point format is processed as musical sound waveform data by musical sound processing means, and various sound effects are provided. Then, the floating point digital data output by the musical tone processing means is converted to linear data by the linear conversion means. In this case, since the random number data is added to the musical tone waveform data, the quantization error is reduced. According to the second aspect of the present invention, in the first aspect of the present invention, when the musical tone waveform data is converted into digital data in a floating point format by a floating point converting means,
Bits correlated with the code bits are reduced and compressed. "Example" Next, an example of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. In this figure, reference numeral 5 denotes a floating converter, which adds dither (hereinafter referred to as a random number) when converting externally supplied linear data into floating-point floating data. Also, in this example,
The 2's complement format linear data is 27 bits, and the floating point format floating data is 16 bits. Here, a method of converting linear data into floating data will be described with reference to FIG. The two's complement digital data has a sign bit. Normally, when this linear data is converted to floating data, one bit is generated by inverting the sign bit having exactly the same information as the sign bit. One of the features of the present application is to reduce the unnecessary bits and contribute to the reduction of the number of bits. Next, an example shown in FIG. 2 will be described. For example, two-complement linear data with a positive sign bit of “00000011111” has a sign “0”, a mantissa part “11111”, and a shift amount “6” in the floating-point format. Further, the linear data “00011101000” has a code “0”, a mantissa part “11101”, and a shift amount “3”. Here, the shift amount is the number of bits until the bit is inverted when viewed from the most significant bit MSB. Therefore,
The MSB of the mantissa always has the sign bit inverted. Next, an example of linear data having a minus sign will be described. The linear data “11111100000” has a code “1”, a mantissa “00000”, and a shift amount “6”. The linear data “11100010111” has a code “1”, a mantissa part “00010”, and a shift amount “3”. Also in this case, as in the case where the code is “0”, the MSB of the mantissa always becomes the code bit inverted. As a result, when the linear data is converted to the floating-point format, the most significant bit MSB of the mantissa is deleted, and for example, in the first example, the sign “0”, the mantissa “1111”, and the shift amount “6” And can be handled as data with one bit reduced. The bits that can be reduced are called hidden bits. Also, when returning floating-point format data to linear data, the sign bit can be inverted and added to the most significant bit MSB of the mantissa to restore the data without destroying the information. Next, regarding the configuration of the floating converter 5, the third
This will be described with reference to the block diagram shown in FIG. In the figure,
An exclusive OR circuit 5a performs an exclusive OR operation on the most significant bit MSB of the linear data described above and each of the other 26 bits, and outputs the result to the priority encoder 5b. That is, the exclusive OR circuit 5a inverts negative data by the above logical operation. The priority encoder 5b converts the sign-inverted data into the most significant bit MSB of the data.
From how many bits, the same value as the sign bit continues,
The data is output to the shift table 5c as 4-bit shift data. This shift data is the shift amount of the floating-point format data described above. This count value becomes the exponent part of the floating data. Next, shift table 5c
Converts the bits into data indicating how many bits should be shifted up in accordance with the shift data, and outputs this to the upshift 5d. The upshift 5d shifts up the linear data according to the above data, and moves the mantissa to the upper bits. This up-shifted 27-bit data is
It is supplied to one input terminal of the full adder 5e. In the full adder 5e, a random number R is added to the up-shifted data. This is to compensate for information on bits that are truncated other than the mantissa when converting to floating data. If a very large random number R is added, data information is lost. Therefore, in this embodiment, the random numbers R
Of the bits, the upper 13 bits are set to “0”, and only the lower 14 bits have a value. This random number R is supplied to the other input terminal of the full adder 5e. Full adder 5e
Adds the data and the random number R and outputs the result of the operation. In addition, the full adder 5e includes an overflow protector (not shown). In the above-described operation, if data overflows, a carry bit is generated, and the mantissa part is largely changed due to carry. I will. Therefore, in the present embodiment, a carry bit is detected by the overflow protector, and overflow of the mantissa is prevented. The result of the above operation includes the most significant bit MSB representing the code, the lower-order hidden bit, and the lower-order 11 bits having information on the mantissa. Therefore, only the hidden bit is truncated, and the remaining 12 bits (the most significant bit MS
B and mantissa) and the priority encoder 5
The 4-bit exponent part output by b is supplied to the shift register 6 shown in FIG. 1 as 16-bit floating data. The shift register 6 corresponds to, for example, a sound source delay circuit including the delay feedback circuit 10 described above or described below. The floating data is supplied to the linear change unit 7 after being delayed for a predetermined time. FIG. 4 shows an example of the configuration of the linear converter 7. In this figure, a linear converter 7 is a well-known circuit, and is composed of a shift register 7a. By linearly converting floating data by shifting down 4 bits of an exponent part as a count value and 12 bits of a mantissa part by a count value. Convert to data.
【適用例1】 次に、上述したフローティング変換器5およびリニア
変換器7を第8図に示す従来の遅延フィードバック回路
10を有する電子楽器に用いた場合について、第5図に示
すブロック図を参照して説明する。 この図において、フローティング変換器5が加算器1
の前段に介挿されている。楽音波形データは、該フロー
ティング変換器5によってディザ(ランダム値)が加算
されるとともに、16ビットのフローティングデータに変
換された後、加算器1に供給される。また、遅延フィー
ドバック回路10から出力された楽音波形データは、リニ
ア変換器7に供給される。リニア変換器7は、楽音波形
データを再び27ビットのリニアデータに変換した後、該
リニアデータを後段のサウンドシステム(発音回路)な
どに供給する。なお、フローティング変換器5と加算器
1との間に記憶装置を介挿してもよい。この記憶装置に
は、一旦、フローティングデータが記憶され、該データ
は、所定のタイミングで遅延フィードバック回路10に供
給されるようにする。 次に、本実施例による結果を第6図(a),(b)に
示す波形図を参照して説明する。従来の遅延フィードバ
ック回路10による合成音の波形と(振幅大)、本来ある
べき波形との差、すなわち誤差分を示す波形(振幅小)
とを第6図(a)に示す。また、本実施例による合成音
の波形と(振幅大)、誤差分を示す波形(振幅小)とを
第6図(b)に示す。なお、誤差波形は、200倍に拡大
している。また、フローティング変換器5に供給される
初期入力波形としては、遅延フィードバック回路10の遅
延時間と一致した周期のSIN波を用いている。 従来の回路では、基音の2倍周期のノイズが発生し、
楽音として発音した場合、高調波と無相関雑音からなる
比較的耳につく成分を有する。 これに対して、本実施例による回路では、乱数Rを付
加していることによって誤差成分の平均が「0」になる
ため、楽音波形データが遅延フィードバック回路10のロ
ーパスで平滑されながらルーピィングを繰り返すうち
に、上記誤差成分がほとんどなくなってしまう。その結
果、誤差は絶対値でみても小さくなり、また、聴感にも
目だたない無相関的なノイズとなる。APPLICATION EXAMPLE 1 Next, the floating converter 5 and the linear converter 7 described above are replaced with a conventional delay feedback circuit shown in FIG.
The case where the present invention is applied to an electronic musical instrument having 10 will be described with reference to a block diagram shown in FIG. In this figure, a floating converter 5 is an adder 1
Is inserted in the previous stage. The tone waveform data is added to dither (random value) by the floating converter 5 and converted to 16-bit floating data, and then supplied to the adder 1. The tone waveform data output from the delay feedback circuit 10 is supplied to the linear converter 7. The linear converter 7 converts the musical tone waveform data into 27-bit linear data again, and then supplies the linear data to a subsequent sound system (sound generation circuit) or the like. Note that a storage device may be inserted between the floating converter 5 and the adder 1. The storage device temporarily stores floating data, and the data is supplied to the delay feedback circuit 10 at a predetermined timing. Next, the results according to this embodiment will be described with reference to the waveform diagrams shown in FIGS. 6 (a) and 6 (b). The difference between the waveform of the synthesized sound by the conventional delay feedback circuit 10 (large amplitude) and the original waveform, that is, the waveform indicating the error (small amplitude)
And FIG. 6 (a). FIG. 6 (b) shows a waveform of the synthesized sound according to the present embodiment (a large amplitude) and a waveform indicating an error (a small amplitude). Note that the error waveform is enlarged 200 times. In addition, as the initial input waveform supplied to the floating converter 5, a SIN wave having a cycle matching the delay time of the delay feedback circuit 10 is used. In a conventional circuit, noise having a period twice as long as the fundamental tone is generated,
When produced as a musical tone, it has a relatively audible component consisting of harmonics and uncorrelated noise. On the other hand, in the circuit according to the present embodiment, since the average of the error component becomes “0” due to the addition of the random number R, the looping is repeated while the tone waveform data is smoothed by the low pass of the delay feedback circuit 10. At some point, the error component is almost eliminated. As a result, the error becomes small in absolute value, and the noise becomes uncorrelated noise that is inconspicuous to the audibility.
【適用例2】 次に、別の実施例として、第7図に示すブロック図を
参照して説明する。 この実施例では、フローティング変換器5およびリニ
ア変換器7を周知のIIRフィルタ11に応用した場合であ
る。10,10は、16チャンネルの時分割多重のための遅延
回路として動作するシフトレジスタである。この実施例
の場合、フローティング変換器5およびリニア変換器7
は、上記シフトレジスタ10,10の前後に介挿されてお
り、ビット数を削減した浮動小数点形式のフローティン
グデータに変換した後、上記シフトレジスタ10に供給
し、該シフトレジスタ10から出力された時点でリニアデ
ータに戻すようになっている。このように、同一ハード
ウエアを時分割多重化した回路に応用した場合は、レジ
スタ削減の効果が大きい。 なお、上述した実施例におけるデータのビット幅は、
その大小関係と、加算減算関係とが保存されれば、他の
どのような数値でもよい。 また、乱数Rとして加えるビットは、全ビットを生成
せずとも、乱数ビット中の上位数ビットを生成するだけ
でもよい。 また、乱数を先に加えた後、シフト動作を行ってもよ
い。 さらに、上述した実施例は、マイクロプログラムやソ
フトウエアによって実行されてもよい。 また、乱数Rを付加して桁上がりを生じた場合には、
指数部をインクリメントし、仮数部を1ビット、シフト
ダウンしてもよい。 また、本願は、実施例に限定されず、ディジタルフィ
ルタ、音響効果装置、音場効果装置やエンベロープ発生
器などに用いてもよい。 数値表現の形式としては、2の補数の他、1の補数、
SIN振幅あるいは2進以外の基数(10進等)であっても
よい。 「発明の効果」 以上、説明したように、請求項1記載の発明によれ
ば、楽音波形データを浮動小数点形式のデジタルデータ
に変換する際に、乱数データを付加するようにしたた
め、量子化雑音を小さくできる。また、請求項2および
3記載の発明によれば、楽音波形データを浮動小数点形
式のデジタルデータに変換する際に、符号ビットと相関
のあるビットを削減して圧縮するため、ビット数を減少
させることができ、シフトレジスタや記憶装置などを小
さくできる利点が得られる。[Application Example 2] Next, another embodiment will be described with reference to a block diagram shown in FIG. In this embodiment, the floating converter 5 and the linear converter 7 are applied to a well-known IIR filter 11. Reference numerals 10 and 10 denote shift registers which operate as delay circuits for time-division multiplexing of 16 channels. In the case of this embodiment, the floating converter 5 and the linear converter 7
Are interposed before and after the shift registers 10 and 10 and converted to floating-point data having a reduced number of bits, supplied to the shift register 10, and output from the shift register 10. To return to linear data. Thus, when the same hardware is applied to a time-division multiplexed circuit, the effect of register reduction is great. Note that the data bit width in the above-described embodiment is
Any other numerical value may be used as long as the magnitude relationship and the addition / subtraction relationship are preserved. Further, the bits to be added as the random number R do not need to generate all the bits, but may only generate the upper few bits of the random number bits. Further, the shift operation may be performed after the random number is added first. Further, the above-described embodiments may be executed by a microprogram or software. Also, when a random number R is added and a carry occurs,
The exponent may be incremented and the mantissa may be shifted down by one bit. Further, the present application is not limited to the embodiment, and may be used for a digital filter, a sound effect device, a sound field effect device, an envelope generator, and the like. The format of the numerical representation is two's complement, one's complement,
It may be a SIN amplitude or a radix other than binary (such as decimal). [Effects of the Invention] As described above, according to the first aspect of the present invention, random number data is added when converting musical tone waveform data into digital data in a floating-point format. Can be reduced. According to the second and third aspects of the present invention, when converting musical tone waveform data into digital data in a floating-point format, the number of bits is reduced because bits correlated with code bits are reduced and compressed. Therefore, the advantage that the shift register, the storage device, and the like can be reduced can be obtained.
第1図はこの発明の一実施例の構成を示すブロック図、
第2図はリニア−フローティング変換の説明図、第3図
は第1図におけるフローティング変換器の構成を示すブ
ロック図、第4図は第1図におけるリニア変換器7の構
成を示すブロック図、第5図は第1の適用例として遅延
フィードバック回路10に用いた場合の構成を示すブロッ
ク図、第6図(a)は、従来の遅延フィードバック回路
10の合成音の波形と誤差波形を示す波形図、第6図
(b)は第5図における合成音の波形と誤差波形を示す
波形図、第7図は第2の適用例としてIIRフィルタ11に
用いた場合の構成を示すブロック図、第8図は従来の遅
延フィードバック回路10を用いた楽音合成装置の構成を
示すブロック図である。 5……フローティング変換器(浮動小数点変換手段)、
6……シフトレジスタ(楽音処理手段)、7……リニア
変換部(リニア変換手段)、10……遅延フィードバック
回路(楽音処理手段)、11……IIRフィルタ(楽音処理
手段)。FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention,
2 is an explanatory diagram of the linear-floating conversion, FIG. 3 is a block diagram showing the configuration of the floating converter in FIG. 1, FIG. 4 is a block diagram showing the configuration of the linear converter 7 in FIG. FIG. 5 is a block diagram showing a configuration in a case where the delay feedback circuit 10 is used as a first application example, and FIG. 6A is a conventional delay feedback circuit.
FIG. 6 (b) is a waveform diagram showing the synthesized sound waveform and the error waveform in FIG. 5, and FIG. 7 is a IIR filter 11 as a second application example. FIG. 8 is a block diagram showing a configuration of a tone synthesizer using a conventional delay feedback circuit 10. As shown in FIG. 5. Floating converter (floating point conversion means),
6 shift register (music processing means), 7 linear conversion unit (linear conversion means), 10 delay feedback circuit (music processing means), 11 IIR filter (music processing means).
Claims (2)
浮動小数点形式のデジタルデータに変換し、該変換の際
に乱数データを付加する浮動小数点変換手段と、 前記浮動小数点形式のデジタルデータを楽音波形データ
として処理して出力する楽音処理手段と、 該楽音処理手段が出力する浮動小数点形式の楽音波形デ
ータをリニアデータに変換するリニア変換手段と を具備することを特徴とする楽音合成装置。1. Floating point conversion means for converting musical tone waveform data having a predetermined number of bits into digital data in a floating point format and adding random number data at the time of the conversion, and converting the digital data in the floating point format into a musical tone. A tone synthesizer comprising: tone processing means for processing and outputting as waveform data; and linear conversion means for converting floating-point tone waveform data output by the tone processing means into linear data.
式のデジタルデータに変換する際に、符号ビットと相関
のあるビットを削減することを特徴とする請求項1記載
の楽音合成装置。2. The tone synthesizer according to claim 1, wherein said floating-point conversion means reduces bits correlated with a sign bit when converting the digital data into floating-point digital data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2270934A JP2770565B2 (en) | 1990-10-09 | 1990-10-09 | Music synthesizer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2270934A JP2770565B2 (en) | 1990-10-09 | 1990-10-09 | Music synthesizer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04147197A JPH04147197A (en) | 1992-05-20 |
| JP2770565B2 true JP2770565B2 (en) | 1998-07-02 |
Family
ID=17493038
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2270934A Expired - Fee Related JP2770565B2 (en) | 1990-10-09 | 1990-10-09 | Music synthesizer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2770565B2 (en) |
-
1990
- 1990-10-09 JP JP2270934A patent/JP2770565B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04147197A (en) | 1992-05-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4213366A (en) | Electronic musical instrument of wave memory reading type | |
| EP0454047A2 (en) | Tone generation apparatus | |
| JP2770565B2 (en) | Music synthesizer | |
| US5245126A (en) | Waveform generation system with reduced memory requirement, for use in an electronic musical instrument | |
| KR100457475B1 (en) | A digital musical tone synthesizing device, a digital processing device for avoiding an overflow, and the method of avoiding an overflow in the digital processing device | |
| JP2805898B2 (en) | Digital filter for music synthesis | |
| JPH0131638B2 (en) | ||
| JP3777923B2 (en) | Music signal synthesizer | |
| JP2608938B2 (en) | Waveform interpolation device | |
| JP2968847B2 (en) | Noise generator | |
| US4446769A (en) | Combination tone generator for a musical instrument | |
| JPS6037600Y2 (en) | electronic musical instruments | |
| JP3149463B2 (en) | Effect adding device | |
| JPH0563509A (en) | Digital filter | |
| JP2535837B2 (en) | Music signal generator | |
| JPH039478B2 (en) | ||
| JP2900076B2 (en) | Waveform generator | |
| JP2671751B2 (en) | Music signal generator | |
| JP3097324B2 (en) | Digital sound data output device | |
| JPH0519768A (en) | Music synthesizer | |
| JPH03200294A (en) | Musical sound synthesizer | |
| JPH039474B2 (en) | ||
| JPS60147792A (en) | Frequency control system for electronic musical instrument | |
| JPH0546178A (en) | Waveform converter | |
| JPH05323970A (en) | Musical sound generating device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |