JP2003202866A - Electronic sound generating device and portable equipment using the same - Google Patents

Electronic sound generating device and portable equipment using the same

Info

Publication number
JP2003202866A
JP2003202866A JP2002002073A JP2002002073A JP2003202866A JP 2003202866 A JP2003202866 A JP 2003202866A JP 2002002073 A JP2002002073 A JP 2002002073A JP 2002002073 A JP2002002073 A JP 2002002073A JP 2003202866 A JP2003202866 A JP 2003202866A
Authority
JP
Japan
Prior art keywords
data
waveform
address
dsp
processing
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
Application number
JP2002002073A
Other languages
Japanese (ja)
Inventor
Yutaka Nakamura
豊 中村
Naoki Kurihara
直樹 栗原
Hidetomo Tanaka
英智 田中
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.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2002002073A priority Critical patent/JP2003202866A/en
Publication of JP2003202866A publication Critical patent/JP2003202866A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve processing efficiency by providing an external auxiliary device which assists operations of a DSP and enabling the auxiliary device to operate without being restricted by a processing function of the DSP. <P>SOLUTION: The DSP 20 is externally provided with a data storage device 70 which receives data with a bit width less than a first specified bit width (p) in order and stores them in different storage areas and an external processor 100 which reads data stored in two or more storage areas of the data storage device as data with a 2nd specified bit width (q) (q≥2p) at the same time and processes them. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、記憶装置に記憶さ
せた波形データを用いて、音楽を演奏させるための電子
音発生装置及び、それを用いた携帯機器(例えば、携帯
電話、シンセサイザ、PDAなど)に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic sound generator for playing music using waveform data stored in a storage device, and a portable device (eg, mobile phone, synthesizer, PDA) using the electronic sound generator. Etc.)

【0002】[0002]

【従来の技術】従来から、記憶装置に記憶させた波形デ
ータを用いて電子音を発生させる方法として、全てハー
ドウエアで設計する方法と、DSP(ディジタルシグナ
ルプロセッサ)等のディジタル信号処理装置を使用して
ソフトウエアで演算処理する方法とが用いられてきた。
最近では、同時発音数が増えたり、さまざまな音響効果
に対応させるため、演算内容や演算順序が複雑になって
きている。したがって、ハードウエアで全ての信号処理
を行うように構成することは、設計期間や処理内容の変
更などの点から、難しくなってきている。
2. Description of the Related Art Conventionally, as a method of generating an electronic sound using waveform data stored in a storage device, a method of designing entirely by hardware and a digital signal processing device such as DSP (digital signal processor) are used. Then, a method of performing arithmetic processing with software has been used.
In recent years, the number of simultaneous pronunciations has increased, and in order to deal with various acoustic effects, the contents of calculation and the order of calculations have become complicated. Therefore, it is becoming difficult to configure all the signal processing by hardware in view of changes in design period and processing contents.

【0003】このため、DSP等のディジタル信号処理
装置を用いてソフトウエアで処理する方法が、複雑な演
算順序をプログラムとして開発できるため、多く用いら
れるようになってきている。
Therefore, a method of processing by software using a digital signal processing device such as a DSP has been widely used because a complicated operation sequence can be developed as a program.

【0004】従来の一般的なDSPは、その中心的な回
路である積和演算回路の演算リソースを、波形データの
処理だけではなく、内部の作業メモリのアドレス生成
(アドレス演算)や、波形データを記憶した外部メモリ
のアドレス生成(アドレス演算)の処理にも使わなくて
はならない構成となっている。そのようなDSPの積和
演算回路は、信号処理(FIRフィルタ処理、IIRフ
ィルタ処理などの畳み込み演算など)を高速に実行する
ために設計された回路であり、その得意とする信号処理
以外の特殊な演算(例えば、modulo演算やアドレスのジ
ャンプ処理などのメモリのアドレス生成処理など)に用
いる場合には演算効率が非常に悪くなってしまう。
In the conventional general DSP, not only the processing of the waveform data, but also the address generation (address calculation) of the internal working memory and the waveform data are used as the calculation resources of the product-sum calculation circuit, which is the central circuit. Must be used for address generation (address operation) processing of the external memory storing The product-sum operation circuit of such a DSP is a circuit designed to execute signal processing (convolution operation such as FIR filter processing and IIR filter processing) at high speed, and is special in signal processing other than its specialty. When it is used for such an arithmetic operation (for example, a modulo arithmetic operation, a memory address generation processing such as an address jump processing, etc.), the arithmetic efficiency becomes very poor.

【0005】そこで、最近の音声信号処理用DSPで
は、アドレス生成の処理を、積和演算回路に負荷をかけ
ることなく行なえるようにした回路構成が提案されてい
る。(例えば、特開2001−242878号公報。以
下、先行例という。)
Therefore, in recent DSPs for audio signal processing, a circuit configuration has been proposed in which address generation processing can be performed without imposing a load on the product-sum calculation circuit. (For example, Japanese Patent Laid-Open No. 2001-242878. Hereinafter, referred to as a prior art example.)

【0006】[0006]

【発明が解決しようとする課題】この先行例では、その
アドレス生成処理をDSP内部で行うから、外部メモリ
用のアドレス生成処理回路を内蔵したDSPを用いる必
要がある。また、その内部でアドレス生成処理を行うか
ら、DSPの処理機能(例えば、データビット幅)の制
限を受け、処理効率が低下してしまう。処理周波数を高
くすれば、処理効率を向上することは可能であるが、処
理周波数を高くするにしたがって消費電力が増加するか
ら、小型、低消費電力化が要請されている携帯機器へ適
用することが難しくなる。
In this prior art example, since the address generation processing is performed inside the DSP, it is necessary to use a DSP having a built-in address generation processing circuit for an external memory. In addition, since the address generation processing is performed inside the processing, the processing function (for example, the data bit width) of the DSP is limited, and the processing efficiency is reduced. Although it is possible to improve the processing efficiency by increasing the processing frequency, the power consumption increases as the processing frequency is increased, so it should be applied to mobile devices that require small size and low power consumption. Becomes difficult.

【0007】そこで、本発明は、波形データを記憶した
メモリのアドレス生成処理等、DSPが不得意とする演
算や、DSPを有効に使用できない演算を処理する補助
回路装置をDSPの外部に設けること、この補助回路装
置をDSPの処理機能(例えば、データビット幅)によ
る制限を受けないようにして処理効率を向上すること、
を可能にして、汎用のDSPを使用でき、処理効率を向
上した電子音発生装置、及びそれを用いた携帯機器を提
供することを目的とする。
Therefore, according to the present invention, an auxiliary circuit device for processing operations that the DSP is not good at, such as address generation processing of a memory storing waveform data, and operations that cannot effectively use the DSP is provided outside the DSP. , Improving the processing efficiency by preventing this auxiliary circuit device from being limited by the processing function (for example, data bit width) of the DSP,
It is an object of the present invention to provide an electronic sound generation device that enables the use of a general-purpose DSP and has improved processing efficiency, and a mobile device using the same.

【0008】[0008]

【課題を解決するための手段】請求項1記載の電子音発
生装置は、積和演算回路を含むディジタル信号処理手段
20と、前記ディジタル信号処理手段からの第1所定ビ
ット幅p以下のビット幅のデータを順次受けて、それぞ
れ異なる複数の記憶領域に記憶するとともに、前記複数
の記憶領域からデータを同時に読み出せるデータ記憶手
段70と、前記データ記憶手段の2つ以上の記憶領域に
記憶されたデータを、第2所定ビット幅q(但し、q≧
2p)のデータとして同時に読み出し、そのデータに基
づいて所要のデータ処理を行い、そのデータ処理結果を
前記ディジタル信号処理手段20へ与えるように出力す
る外部処理手段100とを有することを特徴とする。
An electronic sound generating apparatus according to claim 1, wherein a digital signal processing means 20 including a product-sum operation circuit, and a bit width of a first predetermined bit width p or less from the digital signal processing means. Data are sequentially received and stored in a plurality of different storage areas, and data are stored in two or more storage areas of the data storage means 70 and the data storage means 70 that can simultaneously read the data from the plurality of storage areas. The data has a second predetermined bit width q (where q ≧
2p), the external processing means 100 for simultaneously reading the data, performing the required data processing based on the data, and outputting the data processing result so as to give it to the digital signal processing means 20.

【0009】請求項2記載の電子音発生装置は、請求項
1記載の電子音発生装置において、前記外部処理手段1
00は波形メモリアドレス演算手段30と波形記憶手段
40とを含み、前記データ記憶手段の記憶領域に記憶さ
れた各データは、前記波形記憶手段のアドレスを演算す
るためのパラメータであり、前記波形メモリアドレス演
算手段は、前記データ記憶手段から読み出された複数の
パラメータに基づいて前記波形記憶手段のアドレスを演
算し、前記波形記憶手段は、前記波形メモリアドレス演
算手段からのアドレスにしたがって、記憶されている波
形データを読み出すことを特徴とする。
According to a second aspect of the present invention, there is provided an electronic sound generating device according to the first aspect, wherein the external processing means 1 is used.
00 includes a waveform memory address calculation means 30 and a waveform storage means 40, and each data stored in the storage area of the data storage means is a parameter for calculating the address of the waveform storage means, and the waveform memory The address calculation means calculates an address of the waveform storage means based on the plurality of parameters read from the data storage means, and the waveform storage means is stored in accordance with the address from the waveform memory address calculation means. The waveform data is read out.

【0010】請求項3記載の携帯機器は、請求項1、2
のいずれかに記載された電子音発生装置を備えているこ
とを特徴とする。
A portable device according to claim 3 is the portable device according to claim 1 or 2.
It is characterized by comprising the electronic sound generating device described in any one of 1.

【0011】本発明の電子音発生装置によれば、積和演
算回路を含むディジタル信号処理手段(以下、DSP)
20の外部に、第1所定ビット幅p以下のビット幅のデ
ータを順次受けて、それぞれ異なる記憶領域に記憶する
データ記憶手段70と、このデータ記憶手段の2つ以上
の記憶領域に記憶されたデータを、第2所定ビット幅q
(但し、q≧2p)のデータとして同時に読み出して、
処理する外部処理手段100を設けている。したがっ
て、外部処理手段は、DSPで用いるデータビット幅p
に制限されることなく、より大きいビット幅のデータを
一括して同時に読み込めるから、処理周波数を高くする
ことなく、演算処理を速く行うことができる。
According to the electronic sound generator of the present invention, the digital signal processing means (hereinafter referred to as DSP) including the product-sum calculation circuit.
A data storage unit 70 that sequentially receives data having a bit width equal to or smaller than a first predetermined bit width p outside 20 and stores the data in different storage regions, and two or more storage regions of the data storage unit. The data has a second predetermined bit width q
(However, q ≧ 2p) data is read out at the same time,
An external processing means 100 for processing is provided. Therefore, the external processing means uses the data bit width p used in the DSP.
The data having a larger bit width can be read in batch at the same time without being limited to, so that the arithmetic processing can be performed quickly without increasing the processing frequency.

【0012】波形記憶手段のアドレスを演算するための
パラメータは、開始アドレスや終了アドレスのほかに、
任意のアドレス単位増加分等も含み、そのデータ量は大
きいから、パラメータの一括読み込みによる効果は大き
い。
The parameters for calculating the address of the waveform storage means are, in addition to the start address and end address,
Since the amount of data is large, including an arbitrary increment by address unit, the effect of batch reading of parameters is great.

【0013】特に、処理周波数を上げることなくデータ
処理効率を向上できるから、低消費電力化を必要とする
携帯電話などの携帯機器に好適に用いることができる。
In particular, since the data processing efficiency can be improved without increasing the processing frequency, it can be suitably used for a mobile device such as a mobile phone which requires low power consumption.

【0014】[0014]

【発明の実施の形態】以下、本発明の電子音発生装置の
実施の形態について、図1〜図3を参照して説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of an electronic sound generating apparatus according to the present invention will be described below with reference to FIGS.

【0015】図1は本発明による電子音発生装置の構成
を示す図である。本発明の電子音発生装置は、その主な
構成部としてホストCPUで構成されるシステム制御部
10、音楽信号処理用DSP20、波形メモリアドレス
演算回路30、波形メモリ40D/Aコンバーター60
及び記憶装置70を有している。記憶装置70は、波形
メモリアドレス演算回路30及び波形メモリ40からな
る外部補助装置100と、DSP20との間でデータ交
換を行うためのものである。
FIG. 1 is a diagram showing the configuration of an electronic sound generator according to the present invention. The electronic sound generating apparatus of the present invention includes a system control unit 10 including a host CPU as a main constituent unit, a music signal processing DSP 20, a waveform memory address arithmetic circuit 30, a waveform memory 40 D / A converter 60.
And a storage device 70. The storage device 70 is for exchanging data between the external auxiliary device 100 including the waveform memory address calculation circuit 30 and the waveform memory 40 and the DSP 20.

【0016】まず、ホストCPU10は、電子音発生装
置が全体として所望の動作を行い、適切にアナログオー
ディオ信号を発生し出力できるように各構成装置を制御
する。具体的には、たとえば、DSP20において適切
に所望の処理が行なわれるように、DSP20に対して
種々の制御コマンドを送出する。
First, the host CPU 10 controls each component so that the electronic sound generator performs a desired operation as a whole and appropriately generates and outputs an analog audio signal. Specifically, for example, various control commands are sent to the DSP 20 so that the DSP 20 appropriately performs desired processing.

【0017】波形メモリ40は、図示せぬ入出力手段を
介して、予め処理対象のPCM音源信号(以後、これを
波形データと言う場合もある。)が入力されており、読
み出し専用メモリ(ROM)が用いられる。この波形デ
ータとしては、個々の楽器毎の種々のデータが、そのメ
モリアドレス(nビット)と対応させて記憶されてい
る。
The PCM sound source signal to be processed (hereinafter, this may be referred to as waveform data) is input to the waveform memory 40 via an input / output means (not shown), and the read-only memory (ROM). ) Is used. As this waveform data, various data for each musical instrument is stored in association with its memory address (n bits).

【0018】DSP20は、図2にその内部構成を示す
ように、システム制御部10からの制御に基づいて、波
形メモリ40から読み出されたPCM音源信号に対して
復調処理などの所望の処理を行い、ベースバンドのディ
ジタル音声信号を生成して、D/Aコンバータ60に出
力する。
As shown in the internal structure of FIG. 2, the DSP 20 performs desired processing such as demodulation processing on the PCM sound source signal read from the waveform memory 40 under the control of the system controller 10. Then, a baseband digital audio signal is generated and output to the D / A converter 60.

【0019】このDSP20は、制御部21、プログラ
ムメモリ22、作業メモリアドレス制御手段23、作業
メモリ24、波形メモリアドレス制御手段25、積和演
算回路26及び外部出力I/F27を有する。
The DSP 20 has a control unit 21, a program memory 22, a work memory address control means 23, a work memory 24, a waveform memory address control means 25, a product sum calculation circuit 26 and an external output I / F 27.

【0020】プログラムメモリ22は、DSP20で行
なう処理手順を記憶するメモリであり、記憶された制御
プログラムが制御コマンドにしたがって制御部21によ
り順に読み出される。制御部21は、DSP20が全体
として所望の処理を行なうように、DSP20の各構成
部を制御する。具体的には、システム制御部10からの
制御コマンドに基づいて、その命令を実行する処理プロ
グラムをプログラムメモリ22より順に読み出す。そし
て、処理に用いるデータをアクセスするためのアドレス
を制御するためのアドレス演算用パラメータPAを、必
要に応じて波形メモリアドレス制御手段25に書き込
み、保持させる。このパラメータPAは、さまざまな楽
器の種類や音階などによって、異なった値を持つ。そし
て、積和演算回路26に対して積和演算命令を出力し、
実際に所望の処理を行なわせる。
The program memory 22 is a memory for storing the processing procedure performed by the DSP 20, and the stored control programs are sequentially read by the control unit 21 in accordance with control commands. The control unit 21 controls each component of the DSP 20 so that the DSP 20 performs desired processing as a whole. Specifically, based on the control command from the system control unit 10, the processing program that executes the instruction is sequentially read from the program memory 22. Then, the address calculation parameter PA for controlling the address for accessing the data used for processing is written and held in the waveform memory address control means 25 as needed. This parameter PA has different values depending on the types of various musical instruments and scales. Then, the product-sum operation command is output to the product-sum operation circuit 26,
The desired processing is actually performed.

【0021】波形メモリアドレス制御手段25から出力
されて記憶装置70に保持されるアドレス演算用パラメ
ータPAは、音源データの開始点を示す開始アドレスO
FSTと、その終了点を示す終了アドレスSTOPと、
繰り返し出力する場合には繰り返しを行う繰り返し開始
アドレスRESTと、次のサンプリングの点を決めるた
めのアドレス増加分を示すアドレス単位増加分PHIN
Cとからなっている。ここで、アドレス単位増加分PH
INCは、任意の整数でもよく、また、他の開始アドレ
スとの関係でいうと小数点以下のアドレスを含んでいて
もよい。勿論、通常のように1でもよい。これらパラメ
ータPAは、波形メモリ40に記憶されている波形デー
タと、DSP20が演算に必要とする波形データとの関
係によって、DSP20内で決定される。
The address calculation parameter PA output from the waveform memory address control means 25 and held in the storage device 70 is a start address O indicating the start point of the sound source data.
FST and end address STOP indicating the end point thereof,
When repeatedly outputting, a repeat start address REST for repeating and an address unit increment PHIN indicating an address increment for determining the next sampling point.
It consists of C. Here, the increment of the address unit PH
INC may be an arbitrary integer, or may include an address below the decimal point in relation to other start addresses. Of course, it may be 1 as usual. These parameters PA are determined within the DSP 20 based on the relationship between the waveform data stored in the waveform memory 40 and the waveform data required by the DSP 20 for calculation.

【0022】このDSP20で処理されるデータのビッ
ト幅は、DSPにより決まっている所定のビット幅p
(例えば、16ビット)であり、したがってDSP20
から外部へ出力されるデータビット幅もpである。アド
レス演算用パラメータPAを構成する、開始アドレスO
FST、終了アドレスSTOP、繰り返し開始アドレス
REST、アドレス単位増加分PHINCなども、デー
タビット幅pあるいはそれ以下で、順次DSP20から
出力される。
The bit width of the data processed by the DSP 20 is a predetermined bit width p determined by the DSP.
(Eg, 16 bits) and therefore DSP 20
The data bit width output from the outside is also p. Start address O that constitutes the address calculation parameter PA
The FST, the end address STOP, the repeat start address REST, the increment by address unit PHINC, etc. are also sequentially output from the DSP 20 with the data bit width p or less.

【0023】波形メモリアドレス演算回路30は、アド
レス演算用パラメータPAを受けて、波形メモリ40に
与えるアドレスを演算する。このアドレス演算を行うた
めには、種々のパラメータを用いるから、DSP20で
のデータビット幅pよりも大きいビット幅qのデータが
必要である。
The waveform memory address calculation circuit 30 receives the address calculation parameter PA and calculates the address given to the waveform memory 40. Since various parameters are used to perform this address calculation, data having a bit width q larger than the data bit width p in the DSP 20 is required.

【0024】もし、波形メモリアドレス演算回路30で
のアドレス演算に必要な種々のパラメータを、DSP2
0からデータビット幅pで受けるとすると、必要なパラ
メータ(データビット幅q)を得るために、複数r回の
アクセスを行うことになる。この場合、複数r回のアク
セス時間に、アドレス演算時間、波形メモリ40からの
読み出し時間などが加わるから、外部補助装置100か
ら、DSP20への出力が遅くなってしまう。この結
果、DSP20が外部処理装置100からの処理結果
(即ち、波形データ)を待つ状態が発生し、電子音発生
装置全体の演算量を高めることが困難になる。
If various parameters required for the address calculation in the waveform memory address calculation circuit 30 are set to the DSP 2
If the data bit width p is received from 0, the access is performed a plurality of times r to obtain the necessary parameter (data bit width q). In this case, the address calculation time, the reading time from the waveform memory 40, and the like are added to the access time of a plurality of r times, so that the output from the external auxiliary device 100 to the DSP 20 is delayed. As a result, the DSP 20 waits for the processing result (that is, the waveform data) from the external processing device 100, and it becomes difficult to increase the calculation amount of the entire electronic sound generating device.

【0025】本発明では、記憶装置70を、DSP20
と波形メモリアドレス演算回路30との間に設けてい
る。しかも、この記憶装置70は、DSP20から順次
入力されるビット幅pのデータを記憶し、同時に一括し
て読み出すことが可能な複数のメモリ領域(第1メモリ
〜第5メモリ)71〜75と、第6メモリ領域76とを
有している。なお、これらメモリ領域数は例示の数であ
り、必要に応じて任意の数にすることができる。また、
それぞれ別々の記憶装置とすることもできる。
In the present invention, the storage device 70 is replaced by the DSP 20.
And the waveform memory address calculation circuit 30. Moreover, the storage device 70 stores a plurality of memory areas (first memory to fifth memory) 71 to 75 capable of storing data of bit width p sequentially input from the DSP 20 and simultaneously reading the data. And a sixth memory area 76. Note that the number of these memory areas is an example number, and can be an arbitrary number as necessary. Also,
It is also possible to use different storage devices.

【0026】この記憶装置70でのビット幅の関係は、
次のように整理される。 p<q、 p≧p1〜p5、 q≦p1+p2+p3+
p4+p5
The relationship of the bit width in the storage device 70 is as follows.
It is organized as follows. p <q, p ≧ p1 to p5, q ≦ p1 + p2 + p3 +
p4 + p5

【0027】この記憶装置70では、DSP20からの
種々のアドレス演算用パラメータPAが適時にそれぞれ
ビット幅p以下のデータとして第1メモリ71〜第5メ
モリ75に入力され記憶される。一方、波形メモリ演算
回路30は、第1メモリ71〜第5メモリ75に同時に
アクセスする。そして、記憶されているデータから全て
のデータあるいはその時点で必要とするデータを、デー
タビット幅q(q≧2p)で一括して読み出す。読み出
されたデータに基づいて、波形メモリ40への所要のア
ドレス演算を行う。
In the storage device 70, various address calculation parameters PA from the DSP 20 are input to and stored in the first memory 71 to the fifth memory 75 as data each having a bit width p or less at a suitable time. On the other hand, the waveform memory arithmetic circuit 30 simultaneously accesses the first memory 71 to the fifth memory 75. Then, from the stored data, all the data or the data required at that time are collectively read with the data bit width q (q ≧ 2p). Based on the read data, the required address calculation for the waveform memory 40 is performed.

【0028】演算されたアドレスにしたがって波形メモ
リ40から読み出された波形データは、バッファとして
機能する第6メモリ76を介して、DSP20に取り込
まれる。なお、第6メモリ76のデータビット幅q′は
pより大きくてもよい(例えば、2p)が、DSP20
はこのデータを分割して読み込むことになる。
The waveform data read from the waveform memory 40 in accordance with the calculated address is taken into the DSP 20 via the sixth memory 76 functioning as a buffer. The data bit width q ′ of the sixth memory 76 may be larger than p (for example, 2p), but the DSP 20
Will read this data in pieces.

【0029】なお、波形メモリアドレス演算の結果を記
憶装置70に書き込むこともあり、また、記憶装置70
に記憶されているデータをDSP20が参照することも
ある。このため、DSP20と記憶装置70の間、及び
記憶装置70と波形メモリアドレス演算回路30との間
は、データ方向を双方向可能としている。
The result of the waveform memory address calculation may be written in the storage device 70, and the storage device 70 may also be used.
The DSP 20 may refer to the data stored in. Therefore, the data direction can be bidirectional between the DSP 20 and the storage device 70 and between the storage device 70 and the waveform memory address operation circuit 30.

【0030】以上のように、外部処理装置100は、D
SP20で用いるデータビット幅pに制限されることな
く、より大きいビット幅のデータqを一括して同時に読
み込めるから、処理周波数を高くすることなく、演算処
理を速く行うことができる。
As described above, the external processing device 100 is
Since the data q having a larger bit width can be read in batch at the same time without being limited to the data bit width p used in the SP 20, the arithmetic processing can be performed quickly without increasing the processing frequency.

【0031】この波形メモリ演算回路30の動作は、音
の鳴り始めとその後の繰り返しのループ部分を持つ例を
想定すると、次のように行われる。
The operation of the waveform memory arithmetic circuit 30 is performed as follows, assuming an example having a loop portion in which a sound starts to be emitted and thereafter.

【0032】まず、開始アドレスOFSTが現在アドレ
スPHASEとして与えられる。次いで、その現在アド
レスPHASEにアドレス単位増加分PHINCを加算
し、次の現在アドレスPHASEを得る。この現在アド
レスPHASEにアドレス単位増加分PHINCを加算
する処理を続ける。
First, the start address OFST is given as the current address PHASE. Next, the increment by address unit PHINC is added to the current address PHASE to obtain the next current address PHASE. The process of adding the increment PHINC to the current address PHASE is continued.

【0033】現在アドレスPHASE>終了アドレスS
TOPとなると、現在アドレスPHASEから終了アド
レスSTOPを引き、さらに繰り返し開始アドレスRE
STを加算して、新しい現在アドレスPHASEを得
る。このようなアドレス計算処理が繰り返して行われ
る。
Current address PHASE> End address S
When it becomes TOP, the end address STOP is subtracted from the current address PHASE, and the start address RE is repeated.
Add ST to obtain the new current address PHASE. Such address calculation processing is repeatedly performed.

【0034】図3は、外部補助装置100の他の実施の
形態を示す図である。この図3では、外部補助装置10
0には更に、波形データ補間処理回路50を設けてい
る。
FIG. 3 is a diagram showing another embodiment of the external auxiliary device 100. In FIG. 3, the external auxiliary device 10
A waveform data interpolation processing circuit 50 is further provided at 0.

【0035】この図3の実施に形態においては、アドレ
ス単位増加分PHINCは、開始アドレスOFST、繰
り返しアドレスRESTの小数部に相当する下位ビット
を有する。波形メモリ40のアドレスのビット数はnビ
ットであり、演算された現在アドレスPHASEは上位
nビットと下位kビットからなる所定数のmビットであ
る。
In the embodiment of FIG. 3, the increment by increment of address unit PHINC has lower bits corresponding to the fractional part of the start address OFST and the repeating address REST. The number of bits of the address of the waveform memory 40 is n bits, and the calculated current address PHASE is a predetermined number of m bits consisting of upper n bits and lower k bits.

【0036】この現在アドレスPHASEの上位nビッ
トを波形記憶装置40にアドレスとして与え、下位kビ
ットを波形データ補間処理装置50に補間処理のために
与える。
The upper n bits of the present address PHASE are given to the waveform storage device 40 as an address, and the lower k bits are given to the waveform data interpolation processing device 50 for interpolation processing.

【0037】波形データ補間処理回路50では、下位側
ビットkの値、即ちアドレスの小数点以下の値に従っ
て、例えば当該上位側ビットnのアドレスが示す波形デ
ータ及びその次のアドレスが示す波形データから直線補
間によって、mビット(=n+k)で表される現在アド
レスPHASEに適合した波形データを得る。この補間
処理の方法としては、直線補間に限ることなく、例えば
複数の波形データの重み付けによるフィルタリング手法
などの公知の種々の補間手法が採用できる。
In the waveform data interpolation processing circuit 50, in accordance with the value of the lower-order bit k, that is, the value below the decimal point of the address, for example, the waveform data indicated by the address of the higher-order bit n and the waveform data indicated by the next address are linearly divided. By interpolation, waveform data suitable for the current address PHASE represented by m bits (= n + k) is obtained. The interpolation method is not limited to linear interpolation, and various known interpolation methods such as a filtering method by weighting a plurality of waveform data can be adopted.

【0038】いずれの実施の形態でも、D/Aコンバー
タ60は、DSP20より入力されるベースバンドのデ
ィジタル音声信号をアナログ信号に変換し、スピーカな
どより音声出力可能なアナログ音声信号として出力す
る。
In any of the embodiments, the D / A converter 60 converts the baseband digital audio signal input from the DSP 20 into an analog signal and outputs it as an analog audio signal that can be output as audio from a speaker or the like.

【0039】なお、ホストCPU10,DSP20の
他、波形メモリアドレス演算回路30、波形メモリ4
0,波形データ補間処理回路50、D/A変換器60、
記憶装置70は、それぞれ単独でLSIを構成すること
もできるし、また、それらの任意の組み合わせでLSI
に作り込むことも可能である。
In addition to the host CPU 10 and the DSP 20, the waveform memory address operation circuit 30, the waveform memory 4
0, waveform data interpolation processing circuit 50, D / A converter 60,
Each of the storage devices 70 can individually form an LSI, or an arbitrary combination thereof can be used as an LSI.
It is also possible to build in.

【0040】[0040]

【発明の効果】本発明によれば、外部処理手段は、DS
Pで用いるデータビット幅pに制限されることなく、よ
り大きいビット幅のデータを一括して同時に読み込める
から、処理周波数を高くすることなく、演算処理を速く
行うことができる。
According to the present invention, the external processing means is a DS
Since data having a larger bit width can be read in batch at the same time without being limited to the data bit width p used in P, the arithmetic processing can be performed quickly without increasing the processing frequency.

【0041】波形記憶手段のアドレスを演算するための
パラメータは、開始アドレスや終了アドレスのほかに、
任意のアドレス単位増加分等も含み、そのデータ量は大
きいから、パラメータの一括読み込みによる効果は大き
い。
The parameters for calculating the address of the waveform storage means are, in addition to the start address and end address,
Since the amount of data is large, including an arbitrary increment by address unit, the effect of batch reading of parameters is great.

【0042】特に、処理周波数を上げることなくデータ
処理効率を向上できるから、低消費電力化を必要とする
携帯電話などの携帯機器に好適に用いることができる。
In particular, since the data processing efficiency can be improved without increasing the processing frequency, it can be suitably used for a mobile device such as a mobile phone which requires low power consumption.

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

【図1】本発明の実施に形態に係る電子音発生装置の構
成を示す図。
FIG. 1 is a diagram showing a configuration of an electronic sound generation device according to an embodiment of the present invention.

【図2】DSPの内部構成を示す図。FIG. 2 is a diagram showing an internal configuration of a DSP.

【図3】他の実施の形態に係る外部処理装置の構成を示
す図。
FIG. 3 is a diagram showing a configuration of an external processing device according to another embodiment.

【符号の説明】[Explanation of symbols]

10 システム制御部 20 DSP(ディジタル信号処理装置) 21 制御部 22 プログラムメモリ 23 作業メモリアドレス制御手段 24 作業メモリ 25 波形メモリアドレス制御手段 26 積和演算回路 27 外部出力I/F 30 波形メモリアドレス演算回路 40 波形メモリ 50 波形データ補間処理回路 60 D/A変換器 70 記憶装置 100 外部記憶装置 10 System control unit 20 DSP (Digital Signal Processor) 21 Control unit 22 Program memory 23 Working Memory Address Control Means 24 working memory 25 Waveform memory address control means 26 Product-sum operation circuit 27 External output I / F 30 Waveform memory address operation circuit 40 waveform memory 50 Waveform data interpolation processing circuit 60 D / A converter 70 storage device 100 external storage device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 田中 英智 京都市右京区西院溝崎町21番地 ローム株 式会社内 Fターム(参考) 5D378 AD12 AD13 AD22 AD33 AD42 AD44 BB06    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Hidetomo Tanaka             21 Ryozo Mizozaki-cho, Saiin, Ukyo-ku, Kyoto             Inside the company F term (reference) 5D378 AD12 AD13 AD22 AD33 AD42                       AD44 BB06

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 積和演算回路を含むディジタル信号処理
手段と、 前記ディジタル信号処理手段からの第1所定ビット幅p
以下のビット幅のデータを順次受けて、それぞれ異なる
複数の記憶領域に記憶するとともに、前記複数の記憶領
域からデータを同時に読み出せるデータ記憶手段と、 前記データ記憶手段の2つ以上の記憶領域に記憶された
データを、第2所定ビット幅q(但し、q≧2p)のデ
ータとして同時に読み出し、そのデータに基づいて所要
のデータ処理を行い、そのデータ処理結果を前記ディジ
タル信号処理手段へ与えるように出力する外部処理手段
とを有することを特徴とする電子音発生装置。
1. A digital signal processing means including a product-sum calculation circuit, and a first predetermined bit width p from the digital signal processing means.
A data storage unit that sequentially receives data of the following bit widths and stores the data in a plurality of different storage regions, and that can simultaneously read data from the plurality of storage regions; and two or more storage regions of the data storage unit. The stored data is read simultaneously as data having a second predetermined bit width q (where q ≧ 2p), required data processing is performed based on the data, and the data processing result is given to the digital signal processing means. And an external processing means for outputting to the electronic sound generating device.
【請求項2】 前記外部処理手段は波形メモリアドレス
演算手段と波形記憶手段とを含み、 前記データ記憶手段の記憶領域に記憶された各データ
は、前記波形記憶手段のアドレスを演算するためのパラ
メータであり、 前記波形メモリアドレス演算手段は、前記データ記憶手
段から読み出された複数のパラメータに基づいて前記波
形記憶手段のアドレスを演算し、 前記波形記憶手段は、前記波形メモリアドレス演算手段
からのアドレスにしたがって、記憶されている波形デー
タを読み出すことを特徴とする、請求項1に記載された
電子音発生装置。
2. The external processing means includes a waveform memory address calculation means and a waveform storage means, and each data stored in the storage area of the data storage means is a parameter for calculating an address of the waveform storage means. The waveform memory address calculation means calculates an address of the waveform storage means based on a plurality of parameters read from the data storage means, and the waveform storage means outputs the waveform memory address calculation means from the waveform memory address calculation means. The electronic sound generating apparatus according to claim 1, wherein the stored waveform data is read according to an address.
【請求項3】 請求項1、2のいずれかに記載された電
子音発生装置を備えていることを特徴とする携帯機器。
3. A portable device comprising the electronic sound generating device according to claim 1. Description:
JP2002002073A 2002-01-09 2002-01-09 Electronic sound generating device and portable equipment using the same Pending JP2003202866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002002073A JP2003202866A (en) 2002-01-09 2002-01-09 Electronic sound generating device and portable equipment using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002002073A JP2003202866A (en) 2002-01-09 2002-01-09 Electronic sound generating device and portable equipment using the same

Publications (1)

Publication Number Publication Date
JP2003202866A true JP2003202866A (en) 2003-07-18

Family

ID=27642032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002002073A Pending JP2003202866A (en) 2002-01-09 2002-01-09 Electronic sound generating device and portable equipment using the same

Country Status (1)

Country Link
JP (1) JP2003202866A (en)

Similar Documents

Publication Publication Date Title
JP2009128559A (en) Reverberation effect adding device
JPH0496000A (en) Musical sound synthesizer
JP2003202866A (en) Electronic sound generating device and portable equipment using the same
US20070082615A1 (en) Method and system for audio signal processing for bluetooth wireless headsets using a hardware accelerator
US6972362B2 (en) Method and device for generating electronic sounds and portable apparatus utilizing such device and method
JP2003202867A (en) Electronic sound generating device and portable equipment using the same
US5559298A (en) Waveform read-out system for an electronic musical instrument
TWI419048B (en) Processor with address generator
JP3230449B2 (en) Signal processing device
JP2765470B2 (en) Signal processing device
JP3036417B2 (en) Signal processing device
JP3832383B2 (en) Musical sound generating apparatus and program
JP3489713B2 (en) Musical sound synthesizer and method
JP2001242878A (en) Data processor and pcm sound source device
JP3536446B2 (en) Delayed feedback sound source
TW583575B (en) Digital audio sampling scheme
JPH0320797A (en) Sampling electronic musical instrument
JP5071124B2 (en) Sound generator
JPH05289666A (en) Effect adding device
JP4152262B2 (en) Musical sound generating apparatus and musical sound generating method
JP2939098B2 (en) Electronic musical instrument
JP4127130B2 (en) Data processing apparatus and program
JP3947806B2 (en) Waveform synthesizer
Kim et al. Design of a scalable and programmable sound synthesizer
JP3722821B2 (en) Calculation method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051018

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051212

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060214

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060403

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060510

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20060630