JP5459937B2 - Integrated circuit and audio device - Google Patents
Integrated circuit and audio device Download PDFInfo
- Publication number
- JP5459937B2 JP5459937B2 JP2007110144A JP2007110144A JP5459937B2 JP 5459937 B2 JP5459937 B2 JP 5459937B2 JP 2007110144 A JP2007110144 A JP 2007110144A JP 2007110144 A JP2007110144 A JP 2007110144A JP 5459937 B2 JP5459937 B2 JP 5459937B2
- Authority
- JP
- Japan
- Prior art keywords
- audio data
- transfer
- unit
- storage unit
- transfers
- 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
Images
Landscapes
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Description
本発明は集積回路およびオーディオ装置に関し、特に、異なる周波数の音声データを転送する集積回路およびオーディオ装置に関する。 The present invention relates to an integrated circuit and an audio device, and more particularly to an integrated circuit and an audio device that transfer audio data having different frequencies.
車載オーディオシステム等のオーディオシステムでは、例えば警告音等の音声データをROM(Read Only Memory)に蓄えておいて、必要なときに、スピーカに音声データを転送させている。このような場合に、サンプリング周波数の異なる同一の音声データを転送させたいことがある(例えば、特許文献1参照)。 In an audio system such as an in-vehicle audio system, for example, sound data such as a warning sound is stored in a ROM (Read Only Memory), and the sound data is transferred to a speaker when necessary. In such a case, it may be desired to transfer the same audio data with different sampling frequencies (see, for example, Patent Document 1).
図10は、従来のオーディオ装置の構成を示す図である。
従来のオーディオ装置90は、周波数(f)の音声データを格納しているROM91aと、周波数(1/2×f)の音声データを格納しているROM91bと、デコーダ92と、CPU(Central Processing Unit)93と、音声データをやり取りするためのインターフェイスデバイスを構成するI2S(The Inter-IC Sound Bus)94と、オーディオプロセッサ95と、D/A変換回路96と、スピーカ97と、車載オーディオシステムにおける標準的な音声ネットワークであるMOST(Media Oriented Systems Transport)ネットワーク80に音声データを転送するために使用されるMediaLB(Media Local Bus)98と、MOSTネットワーク80へ送られる音声データを一時蓄えておくローカルチャネルバッファ99とを有している。
FIG. 10 is a diagram showing a configuration of a conventional audio apparatus.
A conventional audio device 90 includes a
オーディオ装置90は、CPU93がデコーダ92に選択信号を与え、ROM91aに格納されている周波数(f)の音声データまたはROM91bに格納されている周波数(1/2×f)の音声データのいずれか一方のデータを選択してI2S94→オーディオプロセッサ95→D/A変換回路96→スピーカ97の順番に音声データを転送する。ローカルチャネルバッファ99に音声データを書き込むと、MediaLB98がMOSTネットワーク80へ音声データを転送する。
In the audio device 90, the
このように、従来は、例えば44KHzの音声データと22KHzの音声データを使用したい場合にそれぞれをROM等の記憶手段に格納させる必要があった。
しかし、従来の技術には、サンプリングの異なる音声データをその数だけROMに格納しておく必要があるため、ROMの容量が増大し、また、コストが増大するという問題があった。 However, in the conventional technique, it is necessary to store as many pieces of audio data with different sampling in the ROM, so that there is a problem that the capacity of the ROM increases and the cost increases.
本発明はこのような点に鑑みてなされたものであり、記憶媒体の容量の節約を図ることができる集積回路およびオーディオ装置を提供することを目的とする。 The present invention has been made in view of these points, and an object of the present invention is to provide an integrated circuit and an audio device that can save the capacity of a storage medium.
1つの態様では、第2サンプリング周波数で音声データのサンプリングを行うサンプリング部に、音声データを転送する集積回路であって、第2サンプリング周波数のn(nは1以上の整数)倍である第1サンプリング周波数を有する第1音声データを取得し、第1音声データと、第1音声データの転送回数がn回であることを示す情報とを出力する制御部と、転送回数の情報を記憶する転送回数記憶部と、第1音声データを記憶する音声データ記憶部とを備え、転送回数記憶部に記憶された転送回数の情報に基づいて、音声データ記憶部に記憶されている第1音声データと同一の音声データを、n回連続してサンプリング部に転送する転送部と、を有することを特徴とする集積回路が提供される。 In one aspect, the integrated circuit transfers the audio data to the sampling unit that samples the audio data at the second sampling frequency, and is a first that is n (n is an integer of 1 or more) times the second sampling frequency. A controller that acquires first audio data having a sampling frequency, outputs the first audio data, and information indicating that the number of transfers of the first audio data is n times, and a transfer that stores information on the number of transfers A first voice data stored in the voice data storage unit based on the information on the number of transfers stored in the transfer number storage unit, and a voice data storage unit that stores the first voice data; There is provided an integrated circuit comprising: a transfer unit that transfers the same audio data to the sampling unit continuously n times.
また、1つの態様では、第1サンプリング周波数を有する音声データを取得し、音声データと、第1サンプリング周波数とは異なる第2サンプリング周波数に応じた音声データの転送回数を示す情報とを出力する制御部と、転送回数を記憶する転送回数記憶部と、音声データを記憶する音声データ記憶部とを備え、転送回数記憶部の転送回数に応じて音声データ記憶部に記憶されている音声データを連続して外部に転送する転送部と、ネットワークを介して音声データを転送するために設けられ、制御部から出力される転送許可信号の長さを、転送回数記憶部の転送回数に応じて変える転送信号出力部と、転送許可信号の長さに応じて制御部が取得した音声データを連続して転送する出力部と、を有することを特徴とする集積回路が提供される。 Moreover, in one aspect, the control which acquires audio | voice data which has 1st sampling frequency, and outputs audio | voice data and the information which shows the frequency | count of transfer of audio | voice data according to 2nd sampling frequency different from 1st sampling frequency A transfer number storage unit that stores the number of transfers, and an audio data storage unit that stores the audio data, and continuously stores the audio data stored in the audio data storage unit according to the transfer number of the transfer number storage unit And a transfer unit that transfers to the outside and a transfer unit that is provided to transfer audio data via the network and changes the length of the transfer permission signal output from the control unit according to the transfer count of the transfer count storage unit There is provided an integrated circuit comprising: a signal output unit; and an output unit that continuously transfers the audio data acquired by the control unit according to the length of the transfer permission signal. .
また、1つの態様では、第1サンプリング周波数を有する第1音声データを格納する音声データ格納部と、音声データ格納部から第1音声データを取得し、第1音声データと、第1音声データの転送回数がn(nは1以上の整数)回であることを示す情報とを出力する制御部と、転送回数の情報を記憶する転送回数記憶部と、第1音声データを記憶する音声データ記憶部とを備え、転送回数記憶部に記憶された転送回数の情報に基づいて、音声データ記憶部に記憶されている第1音声データと同一の音声データを、n回連続して転送する転送部と、転送部から第1音声データと同一の音声データをn回連続して受け取ったとき、受け取った音声データを、第1サンプリング周波数の1/nである第2サンプリング周波数でサンプリングすることにより、第2サンプリング周波数を有する第2音声データを生成するサンプリング部と、を有することを特徴とするオーディオ装置が提供される。 Moreover, in one aspect, the audio | voice data storage part which stores 1st audio | voice data which has a 1st sampling frequency, 1st audio | voice data are acquired from an audio | voice data storage part, 1st audio | voice data, and 1st audio | voice data A control unit that outputs information indicating that the number of transfers is n (n is an integer equal to or greater than 1), a transfer number storage unit that stores information on the number of transfers, and an audio data storage that stores first audio data And a transfer unit that continuously transfers the same audio data as the first audio data stored in the audio data storage unit n times based on the information on the transfer number stored in the transfer number storage unit When the same audio data as the first audio data is continuously received n times from the transfer unit, the received audio data is sampled at the second sampling frequency that is 1 / n of the first sampling frequency. The audio device is provided, characterized in that it comprises a sampling unit for generating a second voice data having a second sampling frequency, the.
本発明によれば、周波数(1/n×f)のデータをn回転送によって作成することができる。よって、サンプリング周波数の異なる複数データをそれぞれROM等に記憶しておく必要がなくなり、回路規模を縮小することができる。 According to the present invention, data of frequency (1 / n × f) can be created by transferring n times. Therefore, it is not necessary to store a plurality of data having different sampling frequencies in a ROM or the like, and the circuit scale can be reduced.
以下、本発明の実施の形態を、図面を参照して詳細に説明する。
まず、本発明の概要について説明し、その後、実施の形態を説明する。
図1は、本発明の概要を示す図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
First, an outline of the present invention will be described, and then an embodiment will be described.
FIG. 1 is a diagram showing an outline of the present invention.
集積回路1は、制御部2と転送部3とを有している。
制御部2は、転送する音声データを取得し、この音声データと、周波数に応じた音声データの転送回数とを出力する。この音声データは、例えば記憶装置(図1ではROM6)に予め記憶されている。
The integrated circuit 1 includes a
The
転送部3は、音声データを記憶する音声データ記憶部4と、転送回数を記憶する転送回数記憶部5とを備えている。
また、転送部3は、転送回数記憶部5の転送回数に応じて音声データ記憶部4に記憶されている音声データを連続して外部に転送する。例えば、転送回数が2回であれば、2回連続して転送する。
The transfer unit 3 includes an audio data storage unit 4 that stores audio data, and a transfer number storage unit 5 that stores the number of transfers.
In addition, the transfer unit 3 continuously transfers the audio data stored in the audio data storage unit 4 to the outside according to the transfer count of the transfer count storage unit 5. For example, if the number of transfers is two, the transfer is performed twice consecutively.
ここで、外部とは、例えば集積回路1が搭載されている基板内の他の回路等を意味する。
このような集積回路1によれば、制御部2により、取得した音声データと転送回数とが出力される。転送部3により、音声データと転送回数とが記憶され、転送回数記憶部5に記憶されている転送回数に応じて音声データ記憶部4に記憶されている音声データが、連続して外部に転送される。
Here, the outside means, for example, another circuit in the substrate on which the integrated circuit 1 is mounted.
According to such an integrated circuit 1, the acquired audio data and the number of transfers are output by the
以下、本発明の実施の形態を説明する。
図2は、実施の形態のオーディオ装置を示すブロック図である。
オーディオ装置10は、例えば車載オーディオシステムに用いられる装置であって、車載オーディオシステムの標準的な音声ネットワークを構成するMOST規格を採用している。
Embodiments of the present invention will be described below.
FIG. 2 is a block diagram illustrating the audio apparatus according to the embodiment.
The audio device 10 is a device used in, for example, an in-vehicle audio system, and adopts the MOST standard that constitutes a standard audio network of the in-vehicle audio system.
オーディオ装置10は、ROM11と、集積回路12と、オーディオプロセッサ13と、D/A変換回路14と、スピーカ15とを有している。
ROM11には、周波数(f)の音声データ(PCMデータ)等が格納される。
The audio device 10 includes a
The
集積回路12は、1チップに集積されており、CPU121と、I2S122と、パルス幅変更部123と、MediaLB124と、ローカルチャネルバッファ125と、MOST NIC126とを有している。
The integrated circuit 12 is integrated on one chip, and includes a
CPU121は、ROM11から音声データを取り出し、I2S122およびパルス幅変更部123に出力する機能を有している。また、CPU121は、音声データだけでなく、音声データを制御するための信号(後述するライトイネーブルパルス等)も出力する。
The
I2S122は、CPU121の指示により、集積回路12の外部と音声データをやり取りするためのインターフェイスデバイスである。
I2S122は、チャネルバッファ122aと、2回転送フラグレジスタ122bとを有している。
The I2S 122 is an interface device for exchanging audio data with the outside of the integrated circuit 12 according to an instruction from the
The I2S 122 includes a
チャネルバッファ122aはCPU121から受け取った音声データを貯めておくFIFO(First In First Out)バッファで構成されている。このチャネルバッファ122aは、読み出しポインタ(ライトポインタ)を有している。
The
2回転送フラグレジスタ122bは、チャネルバッファ122aの音声データの転送回数を設定するフラグ(以下、「2回転送フラグ」と言う)を格納するレジスタであり、CPU121が2回転送フラグに“0”または“1”を設定することにより、転送回数が定まる。詳しい処理については後述する。
The two-time
I2S122は、チャネルバッファ122aの読み出しポインタをインクリメントしながらチャネルバッファ122aの音声データをオーディオプロセッサ13に送信(転送)する。この際、2回転送フラグを参照して読み出す回数を決定し、その回数分読み出した後に読み出しポインタをインクリメントする。
The I2S 122 transmits (transfers) the audio data in the
パルス幅変更部123は、CPU121から受け取った音声データをMediaLB124に送る。また、CPU121から受け取ったライトイネーブルパルスのパルス幅を、2回転送フラグに応じて変え、MediaLB124に送る。
The pulse
MediaLB124は、複数のICをMOST NIC126に接続するためのローカルなシリアルバスであり、MOST NIC126と同期して動作する。
このMediaLB124は、音声データを受け取ると、そのデータをローカルチャネルバッファ125に一時記憶する。
The MediaLB 124 is a local serial bus for connecting a plurality of ICs to the MOST NIC 126, and operates in synchronization with the MOST NIC 126.
When receiving the audio data, the MediaLB 124 temporarily stores the data in the
また、MediaLB124は、CPU121と共通のクロック(CLK)で動作しており、ライトイネーブル端子にライトイネーブルパルスが入力されることにより動作を開始し、ローカルチャネルバッファ125に書き込まれた音声データをMOST NIC126に送る。
The MediaLB 124 operates with a common clock (CLK) with the
ローカルチャネルバッファ125は、例えばRAM(Random Access Memory)等で構成されており、音声データを一時記憶する。
MOST NIC126は、MOSTネットワークを実現する制御部であり、他のMOST NICとの間で信号の送受信を行うことができるMOSTネットワークを形成している。
The
The MOST NIC 126 is a control unit that realizes a MOST network, and forms a MOST network that can transmit and receive signals to and from other MOST NICs.
オーディオプロセッサ13は、I2S131とDSP(Digital Signal Processor)132とを有している。
I2S131は、I2S122から送信されるデータを受信するインタフェースを構成している。
The
The
DSP132は、信号処理機能を備えており、I2S131を介して入力される音声データに所定の信号処理を施してD/A変換回路14に送る。
D/A変換回路14は、入力された信号をアナログ信号に変換してスピーカ15に送る。
The DSP 132 has a signal processing function, performs predetermined signal processing on the audio data input via the
The D /
このようなオーディオ装置10では、スピーカ15から音声を出力する場合には、ROM11、CPU121、I2S122、オーディオプロセッサ13およびD/A変換回路14を介してスピーカ15にアナログ信号を送る。以下、ROM11からスピーカ15に至る経路を「第1の経路」と言う。
In such an audio apparatus 10, when outputting sound from the
また、MOSTネットワークを介して他のスピーカから音声を出力する場合には、ROM11、CPU121、パルス幅変更部123、MediaLB124、MOST NIC126を介して他のスピーカに音声データを送る。以下、ROM11からMOST NIC126に至る経路を「第2の経路」と言う。
Further, when outputting sound from another speaker via the MOST network, the sound data is sent to another speaker via the
次に、オーディオ装置10の動作について簡単に説明する。
図3は、集積回路の出力波形を示す図である。
集積回路12は、ROM11に格納されている周波数(f)の音声データを、オーディオプロセッサ13に2回転送する。これによって、オーディオプロセッサ13が2倍の周期でサンプリングすることにより周波数(1/2×f)の音声データを作成する。例えばROM11に44KHzの音声データのみが格納されている場合において、22KHzの音声データの転送を行う場合には、集積回路12は、同じ音声データをオーディオプロセッサ13に2回転送する。これにより、オーディオプロセッサ13およびD/A変換回路14が、信号処理を行うことによって、スピーカ15から周波数が半分、すなわち22KHzの音声が出力される。
Next, the operation of the audio device 10 will be briefly described.
FIG. 3 is a diagram showing an output waveform of the integrated circuit.
The integrated circuit 12 transfers the audio data of the frequency (f) stored in the
次に、集積回路12の音声データの転送動作について説明する。なお、第1の経路と第2の経路とでは、その転送方法が異なるため、順番に説明する。
図4は、集積回路の第1の経路の転送動作を示すフローチャートである。
Next, the audio data transfer operation of the integrated circuit 12 will be described. Since the first route and the second route have different transfer methods, description will be made in order.
FIG. 4 is a flowchart showing the transfer operation of the first path of the integrated circuit.
まず、CPU121は、転送する音声データの周波数に応じて2回転送フラグレジスタ122bに“1”または“0”を書き込む(ステップS1)。
次に、CPU121は、ROM11から音声データを取り出しI2S122に送る(ステップS2)。
First, the
Next, the
I2S122は、音声データを受け取ると、チャネルバッファ122aに貯める(ステップS3)。
次に、I2S122は、2回転送フラグを調べる(ステップS4)。2回転送フラグが“1”ならば(ステップS4のYes)、同じ音声データを2回連続してチャネルバッファ122aから読み出し、オーディオプロセッサ13に送る。その後、読み出しポインタをインクリメントする(ステップS5)。
Upon receiving the audio data, the
Next, the
一方、2回転送フラグが“0”ならば(ステップS4のNo)、音声データを1回チャネルバッファ122aから読み出し、オーディオプロセッサ13に送る。その後、読み出しポインタをインクリメントする(ステップS6)。
On the other hand, if the twice transfer flag is “0” (No in step S4), the audio data is read once from the
以上で集積回路12の第1の経路の転送動作を終了する。
その後、オーディオプロセッサ13およびD/A変換回路14を介してスピーカ15へとアナログ信号が転送される。
Thus, the transfer operation of the first path of the integrated circuit 12 is completed.
Thereafter, an analog signal is transferred to the
次に、集積回路12の第2の経路の転送動作について説明する。
図5は、集積回路の第2の経路の転送動作を示すフローチャートである。
まず、CPU121は、MOSTネットワークを介して他のスピーカに転送する音声データの周波数に応じて2回転送フラグレジスタ122bに“1”または“0”を書き込む(ステップS11)。
Next, the transfer operation of the second path of the integrated circuit 12 will be described.
FIG. 5 is a flowchart showing the transfer operation of the second path of the integrated circuit.
First, the
次に、CPU121は、ROM11から音声データを取り出し、パルス幅変更部123に送ると同時に、パルス幅変更部123にライトイネーブル信号を送る(ステップS12)。
Next, the
次に、パルス幅変更部123は、2回転送フラグを調べる(ステップS13)。
2回転送フラグが“1”であれば(ステップS13のYes)、CPU121から受け取った、ライトイネーブルパルスのパルス幅を、同じ音声データを2回書き込むように、長くし、長くしたパルス幅を音声データとともにMediaLB124に送る(ステップS14)。
Next, the pulse
If the twice transfer flag is “1” (Yes in step S13), the pulse width of the write enable pulse received from the
2回転送フラグが“0”であれば(ステップS13のNo)、CPU121から受け取った、ライトイネーブルパルスを、音声データとともにそのままMediaLB124に送る(ステップS15)。
If the twice transfer flag is “0” (No in step S13), the write enable pulse received from the
MediaLB124は、受け取ったライトイネーブルパルスのパルス幅により指定される書き込み期間に応じて音声データを1回または2回ローカルチャネルバッファ125に書き込む(ステップS16)。
The
その後、MediaLB124は、ローカルチャネルバッファ125に書き込んだ音声データをMOST NIC126に送る(ステップS17)。ここで、同じ音声データが2回書き込まれているときは、これらを連続して送る。
Thereafter, the
MOST NIC126は、受け取った音声データをMOSTネットワークに転送する(ステップS18)。
以上で集積回路12の第2の経路の転送動作を終了する。
The
Thus, the transfer operation of the second path of the integrated circuit 12 is completed.
次に、集積回路12の転送動作における音声データの転送方法について詳しく説明する。
<第1の経路の音声データ転送方法>
図6は、第1の経路の音声データの転送方法を示す図である。
Next, the audio data transfer method in the transfer operation of the integrated circuit 12 will be described in detail.
<Audio data transfer method of the first route>
FIG. 6 is a diagram illustrating a method of transferring audio data of the first route.
周波数(1/2×f)の音声データを転送する場合、2回転送を行う必要があるため、CPU121は、2回転送フラグレジスタ122bに2回転送フラグ“1”を設定する。
その後、CPU121は、ROM11から音声データを取り出しチャネルバッファ122aに転送する。I2S122は、2回転送フラグレジスタ122bを調べた結果、2回転送フラグが“1”であるため、1回目の転送では、読み出しポインタP1をインクリメントせずに2回目の転送でインクリメントさせる。なお、読み出し済の音声データは破棄する。
When transferring audio data of frequency (1/2 × f), since it is necessary to transfer twice, the
Thereafter, the
<第2の経路の音声データ転送方法>
図7は、第2の経路におけるMediaLBの動作波形を示す図である。
図7(a)に示すように、パルス幅変更部123は、2回転送フラグが“0”のとき、MediaLB124のライトイネーブル端子に書き込みパルス(WRN)を1クロック(1サイクル)分送って音声データ(WDATA)を1回ローカルチャネルバッファ125に書き込む。一方、図7(b)に示すように、2回転送フラグが“1”のとき、このライトイネーブル端子(WRN)への書き込みパルスを1サイクル分長くする(トータルで2サイクル)。これにより、MediaLB124は、同じ音声データ(WDATA)を2回、連続してローカルチャネルバッファ125に書き込む。
<Second-path audio data transfer method>
FIG. 7 is a diagram illustrating operation waveforms of MediaLB in the second path.
As shown in FIG. 7A, when the twice transfer flag is “0”, the pulse
以上述べたように、本実施の形態のオーディオ装置10によれば、集積回路12が、1つの周波数(f)の音声データから、周波数(1/2×f)の音声データを2回転送によって作成するようにしたので、サンプリング周波数の異なる複数データをそれぞれ異なるROMに記憶しておく必要がなくなり、ROMにおける音声データの占める容量の節約を図ることができる。また、セレクタ等を設ける必要がない。よって、オーディオ装置10の小型化、構成の簡易化を図ることができる。また、低コスト化を図ることができる。 As described above, according to the audio device 10 of the present embodiment, the integrated circuit 12 transfers the audio data of the frequency (1/2 × f) from the audio data of one frequency (f) twice. Since it is created, it is not necessary to store a plurality of data having different sampling frequencies in different ROMs, and the capacity occupied by the audio data in the ROM can be saved. Further, there is no need to provide a selector or the like. Therefore, the audio device 10 can be reduced in size and the configuration can be simplified. Moreover, cost reduction can be achieved.
なお、本実施の形態では、周波数(1/2×f)の音声データを転送する場合について説明したが、本発明は、これに限らず、周波数(1/n×f)の音声データを転送することもできる。例えば周波数(1/3×f)、(1/4×f)の音声データを転送する場合、集積回路12が、同じ音声データをオーディオプロセッサ13にそれぞれ3回転送、4回転送する。周波数(1/n×f)の音声データを転送する場合、集積回路12がオーディオプロセッサ13に同じ音声データをn回転送する。この場合、例えば転送する回数を転送フラグにセットする。例えば3回転送する場合は、転送フラグの値を“3”にセットし、4回転送する場合は、転送フラグの値を“4”にセットすることにより、任意の周波数の音声データを転送することができる。
In this embodiment, the case of transferring audio data of frequency (1/2 × f) has been described. However, the present invention is not limited to this, and audio data of frequency (1 / n × f) is transferred. You can also For example, when transferring audio data of frequencies (1/3 × f) and (1/4 × f), the integrated circuit 12 transfers the same audio data to the
次に、第2の実施の形態のオーディオ装置について説明する。
図8は、第2の実施の形態のオーディオ装置を示すブロック図である。
以下、第2の実施の形態のオーディオ装置10aについて、前述した第1の実施の形態との相違点を中心に説明し、同様の事項については、その説明を省略する。
Next, an audio apparatus according to the second embodiment will be described.
FIG. 8 is a block diagram illustrating an audio apparatus according to the second embodiment.
Hereinafter, the audio device 10a of the second embodiment will be described focusing on the differences from the first embodiment described above, and description of similar matters will be omitted.
第2の実施の形態のオーディオ装置10aは、集積回路12aが、CPU121とMediaLB124との間に、パルス幅変更部123を備えるバッファ127を設けている点がオーディオ装置10と異なっている。このバッファ127は、例えばRAM等で構成される。
The audio device 10a of the second embodiment is different from the audio device 10 in that the integrated circuit 12a includes a
第2の実施の形態の集積回路12aでは、CPU121は、音声データを、バッファ127を介してMediaLB124に書き込む。書き込み方法は、第1の実施の形態の第2の経路の音声データの転送方法と同様である。
In the integrated circuit 12a of the second embodiment, the
また、スピーカ15が前述した他のスピーカとして機能する場合、すなわち、MOSTネットワークを介して他のMOST NICから音声データが送信されてきた場合は、MOST NIC126が受け取った音声データがMediaLB124を介してバッファ127に一時蓄えられ、その後、逐次CPU121に送られる。その後、第1の経路の転送動作を行うことにより、スピーカ15から音声が出力される。
When the
次に、第2の実施の形態の集積回路の転送動作について説明するが、第1の経路の転送動作は、第1の実施の形態と同様であるため、第2の経路の転送動作についてのみ説明する。 Next, the transfer operation of the integrated circuit of the second embodiment will be described. Since the transfer operation of the first path is the same as that of the first embodiment, only the transfer operation of the second path is described. explain.
図9は、第2の実施の形態の集積回路の第2の経路の転送動作を示すフローチャートである。
まず、CPU121は、MOSTネットワークを介して他のスピーカに転送する音声データの周波数に応じて2回転送フラグレジスタ122bに“1”または“0”を書き込む(ステップS21)。
FIG. 9 is a flowchart illustrating the transfer operation of the second path of the integrated circuit according to the second embodiment.
First, the
次に、CPU121は、ROM11から音声データを取り出し、バッファ127に送ると同時に、バッファ127にライトイネーブル信号を送る(ステップS22)。
次に、パルス幅変更部123は、2回転送フラグを調べる(ステップS23)。
Next, the
Next, the pulse
2回転送フラグが“1”であれば(ステップS23のYes)、CPU121から受け取った、ライトイネーブルパルスのパルス幅を、同じ音声データを2回書き込むように長くし、長くしたパルス幅を音声データとともにMediaLB124に送る(ステップS24)。
If the twice transfer flag is “1” (Yes in step S23), the pulse width of the write enable pulse received from the
2回転送フラグが“0”であれば(ステップS23のNo)、CPU121から受け取った、ライトイネーブルパルスを、音声データとともにそのままMediaLB124に送る(ステップS25)。
If the twice transfer flag is “0” (No in step S23), the write enable pulse received from the
MediaLB124は、受け取ったライトイネーブルパルスのパルス幅により指定される書き込み期間に応じて音声データをローカルチャネルバッファ125に書き込む(ステップS26)。
The
その後、MediaLB124は、ローカルチャネルバッファ125に書き込んだ音声データをMOST NIC126に送る(ステップS27)。
MOST NIC126は、受け取った音声データをMOSTネットワークに転送する(ステップS28)。
Thereafter, the
The
以上で集積回路12aの第2の経路の転送動作を終了する。
この第2の実施の形態のオーディオ装置10aによれば、第1の実施の形態のオーディオ装置10と同様の効果が得られる。
This completes the transfer operation of the second path of the integrated circuit 12a.
According to the audio device 10a of the second embodiment, the same effect as the audio device 10 of the first embodiment can be obtained.
そして、第2の実施の形態のオーディオ装置10aによれば、さらに、効率よく音声データの送受信を行うことができる。
以上、本発明の集積回路およびオーディオ装置を、図示の実施の形態に基づいて説明したが、本発明はこれに限定されるものではなく、各部の構成は、同様の機能を有する任意の構成のものに置換することができる。また、本発明に、他の任意の構成物や工程が付加されていてもよい。
And according to the audio apparatus 10a of 2nd Embodiment, transmission / reception of audio | voice data can be performed further efficiently.
As described above, the integrated circuit and the audio device of the present invention have been described based on the illustrated embodiment. However, the present invention is not limited to this, and the configuration of each unit is an arbitrary configuration having the same function. Can be substituted. Moreover, other arbitrary structures and processes may be added to the present invention.
1、12、12a 集積回路
2 制御部
3 転送部
4 音声データ記憶部
5 転送回数記憶部
10、10a オーディオ装置
13 オーディオプロセッサ
14 D/A変換回路
15 スピーカ
121 CPU
122 I2S
122a チャネルバッファ
122b 2回転送フラグレジスタ
123 パルス幅変更部
124 MediaLB
125 ローカルチャネルバッファ
126 MOST NIC
127 バッファ
P1 読み出しポインタ
DESCRIPTION OF SYMBOLS 1, 12,
122 I2S
125
127 Buffer P1 Read pointer
Claims (4)
前記第2サンプリング周波数のn(nは1以上の整数)倍である第1サンプリング周波数を有する第1音声データを取得し、前記第1音声データと、前記第1音声データの転送回数がn回であることを示す情報とを出力する制御部と、
前記転送回数の情報を記憶する転送回数記憶部と、前記第1音声データを記憶する音声データ記憶部とを備え、前記転送回数記憶部に記憶された前記転送回数の情報に基づいて、前記音声データ記憶部に記憶されている前記第1音声データと同一の音声データを、n回連続して前記サンプリング部に転送する転送部と、
を有することを特徴とする集積回路。 An integrated circuit that transfers the audio data to a sampling unit that samples audio data at a second sampling frequency,
Wherein (the n 1 or more integer) n of the second sampling frequency to acquire the first audio data having a first sampling frequency is a factor, and the first audio data, the transfer number before Symbol first voice data n a control unit for outputting information indicating the times,
Wherein the transfer count storage unit that stores information transfer count, the first and a voice data storing unit for storing voice data, based on said transfer number storing unit the number of transfers information stored in the voice A transfer unit that transfers the same audio data as the first audio data stored in the data storage unit to the sampling unit continuously n times ;
An integrated circuit comprising:
前記転送回数を記憶する転送回数記憶部と、前記音声データを記憶する音声データ記憶部とを備え、前記転送回数記憶部の転送回数に応じて前記音声データ記憶部に記憶されている前記音声データを連続して外部に転送する転送部と、
ネットワークを介して前記音声データを転送するために設けられ、前記制御部から出力される転送許可信号の長さを、前記転送回数記憶部の転送回数に応じて変える転送信号出力部と、前記転送許可信号の長さに応じて前記制御部が取得した前記音声データを連続して転送する出力部と、
を有することを特徴とする集積回路。 A controller that acquires audio data having a first sampling frequency, and outputs the audio data and information indicating the number of transfers of the audio data according to a second sampling frequency different from the first sampling frequency;
The sound data stored in the sound data storage unit according to the number of transfers in the transfer number storage unit, comprising a transfer number storage unit for storing the transfer number and a sound data storage unit for storing the sound data A transfer unit that continuously transfers to the outside,
A transfer signal output unit provided for transferring the audio data via a network, and changing a length of a transfer permission signal output from the control unit according to the number of transfers in the transfer number storage unit; and the transfer An output unit that continuously transfers the audio data acquired by the control unit according to the length of the permission signal ;
An integrated circuit comprising:
前記音声データ格納部から前記第1音声データを取得し、前記第1音声データと、前記第1音声データの転送回数がn(nは1以上の整数)回であることを示す情報とを出力する制御部と、 The first audio data is acquired from the audio data storage unit, and the first audio data and information indicating that the number of transfers of the first audio data is n (n is an integer equal to or greater than 1) are output. A control unit,
前記転送回数の情報を記憶する転送回数記憶部と、前記第1音声データを記憶する音声データ記憶部とを備え、前記転送回数記憶部に記憶された前記転送回数の情報に基づいて、前記音声データ記憶部に記憶されている前記第1音声データと同一の音声データを、n回連続して転送する転送部と、 A transfer number storage unit for storing the transfer number information; and a sound data storage unit for storing the first sound data, and the sound is stored based on the transfer number information stored in the transfer number storage unit. A transfer unit that transfers the same audio data as the first audio data stored in the data storage unit continuously n times;
前記転送部から前記第1音声データと同一の音声データをn回連続して受け取ったとき、前記受け取った音声データを、前記第1サンプリング周波数の1/nである第2サンプリング周波数でサンプリングすることにより、前記第2サンプリング周波数を有する第2音声データを生成するサンプリング部と、 When the same audio data as the first audio data is received n times continuously from the transfer unit, the received audio data is sampled at a second sampling frequency that is 1 / n of the first sampling frequency. A sampling unit for generating second audio data having the second sampling frequency;
を有することを特徴とするオーディオ装置。 An audio device comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007110144A JP5459937B2 (en) | 2007-04-19 | 2007-04-19 | Integrated circuit and audio device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007110144A JP5459937B2 (en) | 2007-04-19 | 2007-04-19 | Integrated circuit and audio device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008268467A JP2008268467A (en) | 2008-11-06 |
| JP5459937B2 true JP5459937B2 (en) | 2014-04-02 |
Family
ID=40048073
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007110144A Expired - Fee Related JP5459937B2 (en) | 2007-04-19 | 2007-04-19 | Integrated circuit and audio device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5459937B2 (en) |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0675586A (en) * | 1992-07-08 | 1994-03-18 | Seikosha Co Ltd | Acoustic signal generating circuit |
| JP3569592B2 (en) * | 1996-02-20 | 2004-09-22 | ヤマハ株式会社 | Codec |
| JP3317140B2 (en) * | 1996-05-07 | 2002-08-26 | ヤマハ株式会社 | Data transmission method |
| JP2001075597A (en) * | 1999-09-03 | 2001-03-23 | Olympus Optical Co Ltd | Voice recording and reproducing device |
| JP3584841B2 (en) * | 2000-03-10 | 2004-11-04 | 松下電器産業株式会社 | Audio slow playback processing method |
| JP2006267534A (en) * | 2005-03-24 | 2006-10-05 | Mitsubishi Electric Corp | Acoustic system |
-
2007
- 2007-04-19 JP JP2007110144A patent/JP5459937B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008268467A (en) | 2008-11-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7684884B2 (en) | Audio processor, input/output processing apparatus, and information processing apparatus | |
| CN100382591C (en) | Method and related apparatus for buffering audio in multimedia receiver | |
| JP5459937B2 (en) | Integrated circuit and audio device | |
| EP2133797B1 (en) | Dma transfer device and method | |
| JP4569163B2 (en) | Data input / output device and data input / output method | |
| JP4517741B2 (en) | Storage device | |
| JP2008108100A (en) | Audio data processing device | |
| JP2011138567A (en) | Semiconductor memory device | |
| JP4514411B2 (en) | Inter-bus communication interface device | |
| JP2973941B2 (en) | Asynchronous FIFO buffer device | |
| CN118734757B (en) | DDR physical layer interface circuit based on FPGA and control method thereof | |
| JP2006172395A (en) | Data transfer control device and data transfer control system | |
| US8139615B2 (en) | Data processing apparatus | |
| JP4651206B2 (en) | Semiconductor memory device and information processing apparatus | |
| JP5018047B2 (en) | Integrated circuit device | |
| CN111128245B (en) | A voice frame processing circuit and method | |
| JPH10340596A (en) | Data storage device and semiconductor storage device | |
| JPH1125030A (en) | Bus extension control circuit | |
| US20060123194A1 (en) | Variable effective depth write buffer and methods thereof | |
| JP4481329B2 (en) | Audio data transmitter / receiver | |
| JPH10241353A (en) | Semiconductor storage device | |
| KR100994356B1 (en) | Communication system and communication method | |
| JP2006053246A (en) | Data processing device and program, data processing method of data processing device | |
| JP2000132498A (en) | Dma transfer controller | |
| JP2010020815A (en) | Fifo access circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20080730 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100128 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110707 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110719 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120605 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120803 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20130219 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130516 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20130524 |
|
| A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20130614 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20130822 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140114 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5459937 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |