JP2007241128A - Waveform data conversion apparatus - Google Patents
Waveform data conversion apparatus Download PDFInfo
- Publication number
- JP2007241128A JP2007241128A JP2006066600A JP2006066600A JP2007241128A JP 2007241128 A JP2007241128 A JP 2007241128A JP 2006066600 A JP2006066600 A JP 2006066600A JP 2006066600 A JP2006066600 A JP 2006066600A JP 2007241128 A JP2007241128 A JP 2007241128A
- Authority
- JP
- Japan
- Prior art keywords
- waveform data
- word length
- point
- exponent part
- bit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
Description
本発明は、固定小数点形式の波形データを浮動小数点形式に変換する波形データ変換装置に関する。 The present invention relates to a waveform data conversion apparatus that converts waveform data in a fixed-point format into a floating-point format.
データ量を縮減する為にデータ形式を固定小数点形式から浮動小数点形式に変換させる技術が知られている。この種の技術として、例えば特許文献1には、波形データを指数部データと仮数部データとに分けて1サンプル点当りのデータビット数(語長)を縮減させる技術が開示されている。
In order to reduce the amount of data, a technique for converting a data format from a fixed-point format to a floating-point format is known. As this type of technology, for example,
ところで、電子楽器の音源には、デジタル・シグナル・プロセッサ(DSP)と呼ばれる信号処理装置が設けられる。信号処理装置では、外部メモリを用いて波形データに遅延を施すことが多い。上記特許文献1に開示の技術のように、固定小数点形式の波形データを浮動小数点形式に変換してデータ量を縮減する場合には、外部メモリの語長(格納幅)と、信号処理装置の内部で処理される固定小数点形式の処理語長とを調和させる必要がある。この点について図7を参照して説明する。
Incidentally, a signal processing device called a digital signal processor (DSP) is provided in a sound source of an electronic musical instrument. In signal processing apparatuses, waveform data is often delayed using an external memory. As in the technique disclosed in
図7は、固定小数点20ビットデータと、指数部3ビットおよび仮数部13ビットからなる浮動小数点16ビットデータとの変換関係を示す図である。一般に浮動小数点データにおける指数部の語長をEn、仮数部の語長(有効桁数)をKnとすると、固定小数点データの語長Xnは、Kn+2^En−1なる式で表現できる。なお、上記式中の「^」はベキ乗(累乗)を表す。
FIG. 7 is a diagram showing the conversion relationship between fixed-point 20-bit data and floating-point 16-bit data consisting of an
したがって、図7に図示した一例において、浮動小数点16ビットデータの指数部および仮数部の各語長の変化に対応する固定小数点データの語長Xnは、16−En+2^En−1なる式で表現できる。具体的には、En=0の時に語長Xnは「16」、En=1の時に語長Xnは「16」、En=2の時に語長Xnは「17」、En=3の時に語長Xnは「20」、En=4の時に語長Xnは「27」と変化する。
Therefore, in the example shown in FIG. 7, the word length Xn of the fixed-point data corresponding to the change in the word length of the exponent part and the mantissa part of the floating-point 16-bit data is expressed by the
一方、信号処理装置の内部処理語長(固定小数点形式)は、一般に8の倍数、つまり16ビット、24ビットあるいは32ビットであり、この内で上記語長Xnに一致する語長は16ビット以外に無い。つまり換言すれば、固定小数点データを浮動小数点データに変換する場合、変換効率の良い固定小数点形式の語長は限られる。したがって、外部メモリの語長が信号処理装置の処理語長に調和しなければ、固定小数点形式から浮動小数点形式に変換した波形データを切り捨てることになり、これが音質劣化を招いてしまう。 On the other hand, the internal processing word length (fixed-point format) of the signal processing apparatus is generally a multiple of 8, that is, 16 bits, 24 bits, or 32 bits, and the word length that matches the word length Xn is other than 16 bits. There is not. In other words, when converting fixed-point data to floating-point data, the word length of the fixed-point format with good conversion efficiency is limited. Therefore, if the word length of the external memory does not match the processing word length of the signal processing apparatus, the waveform data converted from the fixed-point format to the floating-point format is discarded, which leads to sound quality degradation.
本発明は、このような事情に鑑みてなされたもので、必要な分解能を確保しながらも切り捨てによる音質劣化を回避することができる波形データ変換装置を提供することを目的としている。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a waveform data converter capable of avoiding sound quality deterioration due to truncation while ensuring necessary resolution.
上記目的を達成するため、請求項1に記載の発明では、固定小数点波形データを仮数部の語長で表現するのに必要なベキ数の数を、指数部で指定可能な数まで間引き、間引かれた不連続なベキ数を指数部の値に割り当てる割当手段と、前記割当手段により割当てられた指数部の値に応じて、固定小数点波形データを指数部と仮数部とから構成される浮動小数点波形データに変換する変換手段とを具備することを特徴とする。 In order to achieve the above object, according to the first aspect of the present invention, the number of powers necessary for expressing the fixed-point waveform data with the word length of the mantissa part is thinned out to a number that can be specified by the exponent part. An assigning unit for assigning the subtracted powers to the exponent part value, and a floating-point waveform data composed of an exponent part and a mantissa part according to the exponent part value assigned by the assigning means. Conversion means for converting to decimal point waveform data.
請求項2に記載の発明では、固定小数点波形データを、記憶手段の格納幅に対応させた語長を形成する第1の語長の指数部と第2の語長の仮数部とから構成される浮動小数点波形データに変換する装置であって、固定小数点波形データを前記第2の語長の仮数部で表現するのに必要なベキ数の数を、前記第1の語長の指数部で指定可能な数になるまで1つ置きに間引き、間引かれた不連続なベキ数を、当該第1の語長の指数部が指定する値に割り当てる割当手段と、前記割当手段により割当てられた指数部の値の内、固定小数点波形データに対応する指数部の値を選択する選択手段と、前記選択手段により選択された指数部の値に応じて、固定小数点波形データを前記第2の語長の仮数部に変換する変換手段と、前記選択手段により選択された指数部の値を表す前記第1の語長の指数部と前記変換手段により変換された前記第2の語長の仮数部とから構成される浮動小数点波形データを出力する出力手段とを具備することを特徴とする。
In the invention according to
上記請求項2に従属する請求項3に記載の発明では、前記割当手段は、前記第1の語長の指数部で指定可能な数になるまで1つ置きに間引いた奇数列のベキ数を、当該第1の語長の指数部が指定する値に割り当てることを特徴とする。
In the invention according to
上記請求項2に従属する請求項4に記載の発明では、前記割当手段は、前記第1の語長の指数部で指定可能な数になるまで1つ置きに間引いた偶数列のベキ数を、当該第1の語長の指数部が指定する値に割り当てることを特徴とする。
In the invention according to
請求項1に記載の発明によれば、固定小数点波形データを仮数部の語長で表現するのに必要なベキ数の数を、指数部で指定可能な数まで間引き、間引かれた不連続なベキ数を指数部の値に割り当て、割当てられた指数部の値に応じて、固定小数点波形データを指数部と仮数部とから構成される浮動小数点波形データに変換する。これにより、固定小数点波形データを浮動小数点波形データに変換する場合に、必要な分解能を確保しながら波形データの切り捨てによる音質劣化を回避できる。 According to the first aspect of the present invention, the number of powers required to express the fixed-point waveform data with the word length of the mantissa part is thinned out to a number that can be specified by the exponent part, and the discontinuity is thinned out. A large power is assigned to the exponent part value, and the fixed-point waveform data is converted into floating-point waveform data composed of an exponent part and a mantissa part according to the assigned exponent part value. Thereby, when the fixed-point waveform data is converted into the floating-point waveform data, it is possible to avoid deterioration in sound quality due to the truncation of the waveform data while ensuring the necessary resolution.
請求項2に記載の発明によれば、固定小数点波形データを、記憶手段の格納幅に対応させた語長を形成する第1の語長の指数部と第2の語長の仮数部とから構成される浮動小数点波形データに変換する場合に、固定小数点波形データを第2の語長の仮数部で表現するのに必要なベキ数の数を、第1の語長の指数部で指定可能な数になるまで1つ置きに間引く。こうして間引かれた不連続なベキ数を、第1の語長の指数部が指定する値に割り当て、割当てられた指数部の値の内、固定小数点波形データに対応する指数部の値を選択する。そして、選択された指数部の値に応じて、固定小数点波形データを第2の語長の仮数部に変換すると、選択された指数部の値を表す第1の語長の指数部と、変換により得られた第2の語長の仮数部とから構成される浮動小数点波形データを出力するので、必要な分解能を確保しながら波形データの切り捨てによる音質劣化を回避できる。 According to the second aspect of the present invention, the fixed-point waveform data is obtained from the exponent part of the first word length and the mantissa part of the second word length forming the word length corresponding to the storage width of the storage means. When converting to floating-point waveform data, the number of powers required to represent fixed-point waveform data in the mantissa part of the second word length can be specified by the exponent part of the first word length. Thin out every other number until it reaches a certain number. The discontinuous powers thus thinned out are assigned to the value specified by the exponent part of the first word length, and the exponent part value corresponding to the fixed-point waveform data is selected from the assigned exponent part values. To do. Then, when the fixed-point waveform data is converted into the mantissa part of the second word length according to the value of the selected exponent part, the exponent part of the first word length representing the value of the selected exponent part and the conversion Since the floating point waveform data composed of the mantissa part of the second word length obtained by the above is output, it is possible to avoid deterioration in sound quality due to truncation of the waveform data while ensuring the necessary resolution.
(1)発明の概要
図1は、本発明の概要を説明するための図である。前述したように、固定小数点形式の波形データを浮動小数点形式の波形データに変換する場合、外部メモリの語長幅が信号処理装置の処理語長に調和することが好ましい。例えば外部メモリの語長(格納幅)が16ビットの場合を想定すると、指数部3ビットおよび仮数部13ビットの浮動小数点形式ならば、固定小数点20ビットまでしか表現できない。したがって、信号処理装置の処理語長が24ビットであると、その下位4ビットは切り捨てられてしまう。一方、指数部4ビットおよび仮数部12ビットの浮動小数点形式にすれば、固定小数点27ビットまで対応可能だが分解能は半減する。
(1) Outline of the Invention FIG. 1 is a diagram for explaining the outline of the present invention. As described above, when the waveform data in the fixed-point format is converted into the waveform data in the floating-point format, it is preferable that the word length width of the external memory matches the processing word length of the signal processing device. For example, assuming that the word length (storage width) of the external memory is 16 bits, a floating-point format with an exponent part of 3 bits and a mantissa part of 13 bits can express only up to 20 bits of fixed point. Therefore, if the processing word length of the signal processing device is 24 bits, the lower 4 bits are truncated. On the other hand, if the floating-point format has an exponent part of 4 bits and a mantissa part of 12 bits, it can support up to 27 bits of fixed point, but the resolution is halved.
その為、本発明による波形データ変換装置では、図1に図示する通り、例えば固定小数点24ビットの波形データを、語長16ビットの外部メモリに効率良く格納できるように、指数部3ビットおよび仮数部13ビットで構成される浮動小数点16ビットの波形データに変換する。すなわち、浮動小数点16ビットの波形データでは、その上位3ビット(15SB〜13SB)の指数部がベキ数を表す。3ビットの指数で表現し得るベキ数は「0」〜「7」である。これに対し、仮数部13ビットで24ビット長のデータを表現するには、「0」〜「11」のベキ数が必要になる。
Therefore, in the waveform data conversion apparatus according to the present invention, as shown in FIG. 1, for example, waveform data of a fixed point of 24 bits can be efficiently stored in an external memory having a word length of 16 bits and an exponent part of 3 bits and a mantissa. The data is converted into floating point 16-bit waveform data composed of 13 bits. That is, in the floating-point 16-bit waveform data, the exponent of the upper 3 bits (15SB to 13SB) represents the power number. The number of powers that can be expressed by a 3-bit exponent is “0” to “7”. On the other hand, in order to express 24-bit data with the
そこで、仮数部13ビットで24ビット長のデータを表現するのに必要なベキ数「0」〜「11」の内、「1」、「3」、「5」、「7」を間引いた不連続なベキ数「0」、「2」、「4」、「6」、「8」、「9」、「10」、「11」を、15SB〜13SBの指数部の値に置換する。こうすると、仮数部13ビットが有効桁となるのは、もともとのベキ数が「0」、「2」、「4」、「6」、「8」、「9」、「10」および「11」の場合である。一方、間引いたベキ数「1」、「3」、「5」、「7」は、仮数部13ビットで24ビット長のデータを表現するのに必要なベキ数の「2」、「4」、「6」、「8」に対応し、これらのベキ数を用いる際には、4ビットの指数部と12ビットの仮数部とからなる浮動小数点16ビットに変換する。
Therefore, it is not necessary to thin out “1”, “3”, “5”, and “7” from among the power numbers “0” to “11” necessary for expressing 24-bit data with the
(2)実施の形態
次に、図2〜図5を参照して本発明の実施の形態について説明する。図2は、実施の一形態による信号処理装置20の構成を示すブロック図である。この図に示す信号処理装置20は、電子楽器の音源に用いられるものであり、デジタル・シグナル・プロセッサ(以下、DSPと記す)21およびデータ形式変換器22から構成される。DSP21は、図示されていないCPUの制御の下に、例えば固定小数点24ビットの波形データについて積和演算処理する。データ形式変換器22は、DSP21の制御の下に、A/D変換器10から供給される固定小数点24ビットの波形データを、浮動小数点16ビットの波形データに変換して外部メモリ30にストアする。また、データ形式変換器22は、DSP21の制御の下に、外部メモリ30から読み出す浮動小数点16ビットの波形データを、固定小数点24ビットの波形データに変換してDSP21に出力する。
(2) Embodiment Next, an embodiment of the present invention will be described with reference to FIGS. FIG. 2 is a block diagram illustrating a configuration of the
DSP21では、データ形式変換器22を介して外部メモリ30に記憶される波形データをサンプリング周期毎に読み出し、読み出した波形データについて、例えば遅延フィードバック演算を施し、これにて生成される楽音データをD/A変換器40に出力する。D/A変換器40は、DSP21が出力する楽音データをD/A変換してなる楽音信号を発生する。
The DSP 21 reads the waveform data stored in the
次に、図3〜図4を参照してデータ形式変換器22の構成を説明する。データ形式変換器22は、固定小数点24ビットの波形データを浮動小数点16ビットの波形データに変換する第1の変換部と、浮動小数点16ビットの波形データを固定小数点24ビットの波形データに変換する第2の変換部とに大別される。
Next, the configuration of the
図3は、第1の変換部の構成を示すブロック図である。第1の変換部は、図1に図示したように、仮数部13ビットで24ビット長のデータを表現するのに必要なベキ数「0」〜「11」の内、「1」、「3」、「5」、「7」を間引いた不連続なベキ数「0」、「2」、「4」、「6」、「8」、「9」、「10」、「11」を、15SB〜13SBの指数部の値に置換する一方、その置換された指数部の値に応じて、固定小数点24ビットの波形データを13ビットの仮数部で表現する。
FIG. 3 is a block diagram illustrating a configuration of the first conversion unit. As shown in FIG. 1, the first conversion unit includes “1”, “3” among the power numbers “0” to “11” necessary for expressing the data of 24 bits in the
なお、図3には図示していないが、上記置換により間引かれるベキ数(「1」、「3」、「5」、「7」)、すなわち元々のベキ数の「2」、「4」、「6」、「8」を用いる際には、固定小数点24ビットの波形データを、4ビットの指数部と12ビットの仮数部とからなる浮動小数点16ビットに変換する構成を設ければよい。 Although not shown in FIG. 3, the number of powers to be thinned out by the replacement (“1”, “3”, “5”, “7”), that is, the original power numbers “2”, “4” ”,“ 6 ”,“ 8 ”, a configuration for converting fixed-point 24-bit waveform data into a floating-point 16-bit consisting of a 4-bit exponent and a 12-bit mantissa is provided. Good.
第1の変換部は、エクスクルーシブOR回路231〜237、ANDゲート回路241〜246、反転回路251、8−3エンコーダ25および8−1セレクタ26を備える。エクスクルーシブOR回路231は、入力される固定小数点24ビットデータの23SB(最上位ビットMSB)から0SB(最下位ビットLSB)の内、23SBから12SBまでの12ビット全てが一致した場合に「H」レベル出力を発生する。同様に、エクスクルーシブOR回路232は、23SBから14SBまでの10ビット全てが一致した場合に「H」レベル出力を発生する。エクスクルーシブOR回路233は、23SBから16SBまでの8ビット全てが一致した場合に「H」レベル出力を発生する。
The first conversion unit includes exclusive OR
エクスクルーシブOR回路234は、23SBから18SBまでの6ビット全てが一致した場合に「H」レベル出力を発生する。エクスクルーシブOR回路235は、23SBから20SBまでの4ビット全てが一致した場合に「H」レベル出力を発生する。エクスクルーシブOR回路236は、23SBから21SBまでの3ビット全てが一致した場合に「H」レベル出力を発生する。エクスクルーシブOR回路237は、23SBから22SBまでの2ビットが一致した場合に「H」レベル出力を発生する。
The exclusive OR
ANDゲート回路241〜246および反転回路251は、上記エクスクルーシブOR回路231〜237が同時に複数の「H」レベル出力を8−3エンコーダ25に供給するのを防止しており、より多くの一致を優先する。8−3エンコーダ25は、入力端「0」〜「7」の内、前段からの「H」レベル出力が供給される入力端の番号を3ビットにエンコードしてなる指数部の値を発生する。8−1セレクタ26は、入力端「0」〜「7」の内、上記8−3エンコーダ25が発生する3ビットの指数部の値で指定される入力端に供給される13ビットデータを選択し、これを仮数部として出力する。
The AND
なお、8−1セレクタ26において、入力端「0」には固定小数点24ビットデータの12SBから0SB(LSB)までの13ビットが供給される。同様に、入力端「1」には14SBから2SBまでの13ビットが供給される。入力端「21には16SBから4SBまでの13ビットが供給される。入力端「3」には18SBから6SBまでの13ビットが供給される。入力端「4」には20SBから8SBまでの13ビットが供給される。入力端「5」には21SBから9SBまでの13ビットが供給される。入力端「6」には22SBから10SBまでの13ビットが供給される。入力端「7」には23SBから11SBまでの13ビットが供給される。
In the 8-1
上記構成によれば、固定小数点24ビットデータが、8−3エンコーダ25から出力される3ビットの指数部と、8−1セレクタ26から出力される13ビットの仮数部とから構成される浮動小数点16ビットデータに変換される。この変換された浮動小数点16ビットデータと、固定小数点24ビットデータとの関係は、図1に図示した通りとなる。
According to the above configuration, the fixed-point 24-bit data is composed of a 3-bit exponent part output from the 8-3
次に、図4は第2の変換部の構成を示すブロック図である。第2の変換部は、8−1セレクタ27からなる。8−1セレクタ27は、入力端「0」〜「7」の内、浮動小数点16ビットデータ中の指数部の値(浮動小数点16ビットデータ中の15SB〜13SB)で指定される入力端に供給される24ビットデータを選択し、これを固定小数点24ビットデータとして出力する。
Next, FIG. 4 is a block diagram showing a configuration of the second conversion unit. The second conversion unit includes an 8-1
なお、8−1セレクタ27の入力端「0」には、次の24ビットデータが供給される。すなわち、15SB(最上位ビットMSB)から0SB(最下位ビットLSB)からなる浮動小数点16ビットデータの内、12SBを11ビット分と12SB〜0SBをバンドルした24ビットデータが供給される。入力端「1」には12SBを9ビット分と、12SB〜0SBと、2ビット分の「0」とをバンドルした24ビットデータが供給される。入力端「2」には12SBを7ビット分と、12SB〜0SBと、4ビット分の「0」とをバンドルした24ビットデータが供給される。入力端「3」には12SBを5ビット分と、12SB〜0SBと、6ビット分の「0」とをバンドルした24ビットデータが供給される。
The next 24-bit data is supplied to the input terminal “0” of the 8-1
入力端「4」には12SBを3ビット分と、12SB〜0SBと、9ビット分の「0」とをバンドルした24ビットデータが供給される。入力端「5」には12SBを2ビット分と、12SB〜0SBと、9ビット分の「0」とをバンドルした24ビットデータが供給される。入力端「6」には12SBを1ビット分と、12SB〜0SBと、10ビット分の「0」とをバンドルした24ビットデータが供給される。入力端「7」には12SB〜0SBと、11ビット分の「0」とをバンドルした24ビットデータが供給される。 The input terminal “4” is supplied with 24-bit data obtained by bundling 3 bits of 12SB, 12SB to 0SB, and “0” of 9 bits. The input terminal “5” is supplied with 24-bit data obtained by bundling 2 bits of 12SB, 12SB to 0SB, and “0” of 9 bits. The input terminal “6” is supplied with 24-bit data obtained by bundling 12SB for 1 bit, 12SB to 0SB, and 10-bit “0”. The input terminal “7” is supplied with 24-bit data in which 12SB to 0SB and 11 bits of “0” are bundled.
次に、図5を参照してデータ形式変換器22の変換精度について説明する。図5は、固定小数点24ビットフルレンジのダイナミックレンジ幅まで信号レベルをリニアに低減させた時のノイズレベルA〜Cの特性を図示したものである。ノイズレベルAは、3ビットの指数部と13ビットの仮数部とからなる浮動小数点16ビットデータのノイズレベルを表す。ノイズレベルBは、4ビットの指数部と12ビットの仮数部とからなる浮動小数点16ビットデータのノイズレベルを表す。ノイズレベルCは、データ形式変換器22により変換された、不連続なベキ数を割り当てる3ビットの指数部と13ビットの仮数部とからなる浮動小数点16ビットデータのノイズレベルを表す。
Next, the conversion accuracy of the
そして、図5に図示する通り、ノイズレベルCは、信号レベルが高い領域ではノイズレベルAに準じた分解能を有し、一方、信号レベルが固定小数点24ビットフルレンジに近い低い領域ではノイズレベルBに準じた分解能を有するので、必要な分解能を確保し得る。 As shown in FIG. 5, the noise level C has a resolution equivalent to that of the noise level A in a region where the signal level is high, while it is in the noise level B in a region where the signal level is close to the fixed point 24-bit full range. Since it has equivalent resolution, the necessary resolution can be ensured.
以上のように、データ形式変換器22は、信号処理装置20の処理語長を外部メモリ30の語長に調和させて効率良く格納できるように、固定小数点形式の24ビットの波形データを、不連続なベキ数を割り当てる3ビットの指数部と13ビットの仮数部とから構成される浮動小数点形式の波形データに変換する一方、この16ビットの浮動小数点形式の波形データを固定小数点形式の24ビットの波形データに変換するので、必要な分解能を確保しながら波形データの切り捨てによる音質劣化を回避することができる。
As described above, the
なお、上述した実施の形態では、仮数部13ビットで24ビット長のデータを表現するのに必要なベキ数「0」〜「11」の内、「1」、「3」、「5」、「7」を間引いた不連続なベキ数「0」、「2」、「4」、「6」、「8」、「9」、「10」および「11」を指数部の値に置換するようにしたが、これに替えて、「2」、「4」、「6」、「8」を間引いた不連続なベキ数「0」、「1」、「3」、「5」、「7」、「9」、「10」および「11」を指数部の値に置換する態様としても構わない。
In the above-described embodiment, “1”, “3”, “5”, “5”, among the power numbers “0” to “11” necessary for expressing the 24-bit length data with the
さらに、本発明の要旨は、固定小数点24ビットデータを浮動小数点16ビットデータに変換するものに限定されず、例えば図6に図示する通り、仮数部21ビットで32ビット長のデータを表現するのに必要なベキ数「0」〜「11」の内、「1」、「3」、「5」、「7」を間引いた不連続なベキ数「0」、「2」、「4」、「6」、「8」、「9」、「10」および「11」を指数部の値に置換すれば、固定小数点32ビットデータを浮動小数点24ビットデータに変換する場合にも適用可能になる。
Furthermore, the gist of the present invention is not limited to the conversion of fixed-point 24-bit data to floating-point 16-bit data. For example, as shown in FIG. 6, the
10 A/D変換器
20 信号処理装置
21 DSP
22 データ形式変換器
30 外部メモリ
40 D/A変換器
10 A /
22
Claims (4)
前記割当手段により割当てられた指数部の値に応じて、固定小数点波形データを指数部と仮数部とから構成される浮動小数点波形データに変換する変換手段と
を具備することを特徴とする波形データ変換装置。 Allocate the number of powers required to represent fixed-point waveform data in the mantissa word length to the number that can be specified in the exponent part, and assign the discontinuous powers that are thinned out to the exponent part value Means,
Waveform data comprising: conversion means for converting fixed-point waveform data into floating-point waveform data composed of an exponent part and a mantissa part according to the value of the exponent part assigned by the assigning means Conversion device.
固定小数点波形データを前記第2の語長の仮数部で表現するのに必要なベキ数の数を、前記第1の語長の指数部で指定可能な数になるまで1つ置きに間引き、間引かれた不連続なベキ数を、当該第1の語長の指数部が指定する値に割り当てる割当手段と、
前記割当手段により割当てられた指数部の値の内、固定小数点波形データに対応する指数部の値を選択する選択手段と、
前記選択手段により選択された指数部の値に応じて、固定小数点波形データを前記第2の語長の仮数部に変換する変換手段と、
前記選択手段により選択された指数部の値を表す前記第1の語長の指数部と前記変換手段により変換された前記第2の語長の仮数部とから構成される浮動小数点波形データを出力する出力手段と
を具備することを特徴とする波形データ変換装置。 Apparatus for converting fixed-point waveform data into floating-point waveform data composed of an exponent part having a first word length and a mantissa part having a second word length that form a word length corresponding to the storage width of the storage means Because
Thinning out the number of powers necessary to represent the fixed-point waveform data in the mantissa part of the second word length until it becomes a number that can be specified by the exponent part of the first word length, Allocating means for allocating the discontinuous powers that are thinned out to a value specified by the exponent part of the first word length;
Selecting means for selecting an exponent part value corresponding to fixed-point waveform data among the exponent part values assigned by the assigning means;
Conversion means for converting fixed-point waveform data into the mantissa part of the second word length in accordance with the value of the exponent part selected by the selection means;
Floating point waveform data composed of the exponent part of the first word length representing the value of the exponent part selected by the selection means and the mantissa part of the second word length converted by the conversion means is output. And a waveform data converter characterized by comprising:
The assigning means assigns even numbers of powers of even columns thinned every other number until a number that can be designated by the exponent part of the first word length is assigned to a value designated by the exponent part of the first word length. 3. The waveform data conversion apparatus according to claim 2, wherein
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006066600A JP4505751B2 (en) | 2006-03-10 | 2006-03-10 | Waveform data converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006066600A JP4505751B2 (en) | 2006-03-10 | 2006-03-10 | Waveform data converter |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007241128A true JP2007241128A (en) | 2007-09-20 |
JP4505751B2 JP4505751B2 (en) | 2010-07-21 |
Family
ID=38586704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006066600A Active JP4505751B2 (en) | 2006-03-10 | 2006-03-10 | Waveform data converter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4505751B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0145078B2 (en) * | 1983-09-14 | 1989-10-02 | Yamaha Corp | |
JPH07160267A (en) * | 1993-12-10 | 1995-06-23 | Casio Comput Co Ltd | Device and method for coding waveform data, waveform data decoding device and waveform data coding/decoding device |
JPH07199996A (en) * | 1993-11-29 | 1995-08-04 | Casio Comput Co Ltd | Device and method for waveform data encoding, decoding device for waveform data, and encoding and decoding device for waveform data |
JPH10336037A (en) * | 1997-05-29 | 1998-12-18 | Matsushita Electric Ind Co Ltd | Audio signal encoder |
JP2003288100A (en) * | 2002-03-28 | 2003-10-10 | Asahi Kasei Corp | Inverse quantization circuit |
-
2006
- 2006-03-10 JP JP2006066600A patent/JP4505751B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0145078B2 (en) * | 1983-09-14 | 1989-10-02 | Yamaha Corp | |
JPH07199996A (en) * | 1993-11-29 | 1995-08-04 | Casio Comput Co Ltd | Device and method for waveform data encoding, decoding device for waveform data, and encoding and decoding device for waveform data |
JPH07160267A (en) * | 1993-12-10 | 1995-06-23 | Casio Comput Co Ltd | Device and method for coding waveform data, waveform data decoding device and waveform data coding/decoding device |
JPH10336037A (en) * | 1997-05-29 | 1998-12-18 | Matsushita Electric Ind Co Ltd | Audio signal encoder |
JP2003288100A (en) * | 2002-03-28 | 2003-10-10 | Asahi Kasei Corp | Inverse quantization circuit |
Also Published As
Publication number | Publication date |
---|---|
JP4505751B2 (en) | 2010-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5366363B2 (en) | Method and apparatus for transcoding N-bit words into M-bit words with M less than N | |
JP5903597B2 (en) | Image compression apparatus, image expansion apparatus, and image processing apparatus | |
US20150270848A1 (en) | D/a conversion apparatus, d/a conversion method and electric musical instrument | |
JP4505751B2 (en) | Waveform data converter | |
JPS61159827A (en) | Digital-to-analog converter | |
JP2013037111A (en) | Method and device for coding audio signal | |
JP2008257407A (en) | Logarithmic computing unit and logarithmic computing method | |
JP2012129849A (en) | Digital-to-analog conversion device and method of controlling the same | |
US20180316938A1 (en) | Method and apparatus for k-th order exp-golomb binarization | |
KR100864278B1 (en) | Apparatus to processing data | |
JP2005086551A (en) | Image processing device, level shift device, digital clamping device, methods, programs, and storing media for the devices | |
KR100359037B1 (en) | Method and device for encoding digital data | |
JP2993344B2 (en) | Waveform generation device, waveform storage device, waveform generation bubble, and waveform storage method | |
JP5104522B2 (en) | Waveform generator and waveform generation processing program | |
JP2005012284A (en) | Bit length extending apparatus, data processing apparatus, bit length extending method, control program and readable recording medium | |
JPH043556B2 (en) | ||
JPS6352488B2 (en) | ||
JP4710823B2 (en) | Signal processing circuit | |
JP6548325B2 (en) | Tone conversion device and program | |
JP2004088157A (en) | Data conversion method, data converter circuit, and data conversion program | |
JPH07160267A (en) | Device and method for coding waveform data, waveform data decoding device and waveform data coding/decoding device | |
JPS58199393A (en) | Frequency controller | |
JPH05176221A (en) | Gamma correction circuit | |
JP5252602B2 (en) | Signal processing circuit and signal processing method | |
JP2006222682A (en) | Random number adding device and its method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081002 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091001 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091030 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091119 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100401 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100414 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4505751 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130514 Year of fee payment: 3 |