JP5046661B2 - Audio equipment - Google Patents

Audio equipment Download PDF

Info

Publication number
JP5046661B2
JP5046661B2 JP2007013193A JP2007013193A JP5046661B2 JP 5046661 B2 JP5046661 B2 JP 5046661B2 JP 2007013193 A JP2007013193 A JP 2007013193A JP 2007013193 A JP2007013193 A JP 2007013193A JP 5046661 B2 JP5046661 B2 JP 5046661B2
Authority
JP
Japan
Prior art keywords
data
time
interpolation
transfer error
changes
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
Application number
JP2007013193A
Other languages
Japanese (ja)
Other versions
JP2008182380A (en
Inventor
光弘 草野
政一 秋保
英一 森
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.)
Alpine Electronics Inc
Original Assignee
Alpine Electronics Inc
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 Alpine Electronics Inc filed Critical Alpine Electronics Inc
Priority to JP2007013193A priority Critical patent/JP5046661B2/en
Publication of JP2008182380A publication Critical patent/JP2008182380A/en
Application granted granted Critical
Publication of JP5046661B2 publication Critical patent/JP5046661B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an "audio device" which interporates data so as not to generate noise in reproduction when data are missed due to an error in transfer by an isochronous protocol. <P>SOLUTION: When detecting a transfer error while another audio device 1 is connected by a USB cable 2 to transfer data by the isochronous protocol, data between the time B at which the code of the data is changed between positive and negative and the time A prior to the time B and at which the code is changed in the same direction in the data before the time P of transfer error are defined as interpolation data S, an interpolation part V is formed by deleting the data between the time B and the time C at which the code is changed first in the data before the error occurrence, and the interpolation data S are appropriately continuously copied in it. After the data, data W after the time C are connected. When the interpolation data S are longer than the interpolation part V, they are compressed so as to be fit in the length for interpolation. <P>COPYRIGHT: (C)2008,JPO&amp;INPIT

Description

本発明はMP3等の圧縮オーディオデータを外部から取り込んで再生を行うことができるようにしたオーディオ装置に関し、特に圧縮オーディオデータをUSBケーブル等でデジタル通信を行うときに通信エラーによるデータ欠損補間時のノイズの発生を防止することができるようにしたオーディオ装置に関するものである。   The present invention relates to an audio apparatus capable of capturing and reproducing compressed audio data such as MP3 from the outside, and in particular, at the time of data loss interpolation due to a communication error when performing digital communication of compressed audio data using a USB cable or the like. The present invention relates to an audio apparatus capable of preventing the generation of noise.

近年はMP3等の圧縮オーディオデータをメモリ、HDD等に大量に蓄積可能な携帯用オーディオ機器が普及しており、大量のオーディオデータを常時持ち運んで利用することができるようになっている。このような携帯用オーディオ機器へのオーディオデータの記録に際しては、多くの場合パソコンに蓄積したオーディオデータや、CD等のオーディオデータをMP3等に変換して取り込まれる。   In recent years, portable audio devices that can store a large amount of compressed audio data such as MP3 in a memory, HDD, or the like have become widespread, and a large amount of audio data can be carried and used all the time. When recording audio data in such portable audio equipment, audio data stored in a personal computer or audio data such as a CD is often converted into MP3 or the like.

一方、このような携帯用オーディオ装置は持ち運びに便利ではあるものの、音響効果が必ずしも充分ではないイヤホンやヘッドフォンで聴くことが多く、音響効果の良いオーディオ装置としての家庭用オーディオ装置やカーオーディオ装置(以下「カーオーディ装置等」という)で聴くときには、この携帯用オーディオ装置を有線または無線によってカーオーディオ装置等に接続して聴くこととなる。このときカーオーディオ装置等では携帯用オーディ装置で再生したアナログオーディオ信号をカーオーディオ装置等に入力する方法のほか、高音質な音楽の再生を行う方法として、携帯用オーディオ装置からオーディオデータをデジタル信号として入力する方法も採用されている。その際には、携帯用オーディオ装置とカーオーディオ装置等とをUSBケーブルで接続し、USBのシリアルインターフェイスを用いてデジタルデータを転送することも行われる。   On the other hand, although such portable audio devices are convenient to carry, they are often listened with earphones or headphones that do not necessarily have sufficient acoustic effects. Hereinafter, when listening with a “car audio device or the like”, the portable audio device is connected to the car audio device or the like by wire or wirelessly. At this time, in addition to a method for inputting an analog audio signal reproduced by a portable audio device into a car audio device or the like in a car audio device, audio data from the portable audio device is converted into a digital signal as a method for reproducing high-quality music. The method of inputting as is also adopted. In that case, a portable audio device and a car audio device are connected with a USB cable, and digital data is transferred using a USB serial interface.

このような転送を行う際には、アイソクロナスというプロトコルで1ms毎にオーディオ信号がデジタル信号としてカーオーディ装置等に送信されるが、この時に送られるデータ数は携帯用オーディオ装置で再生しているオーディオのサンプリング周波数で決定され、例えば44.1kHzの時には178byteとなる。カーオーディオ装置等では受信したデジタル信号をメモリに蓄え、サンプリング周波数に応じた時間間隔毎にデータをメモリから読み出し、DAC(ディジタル−アナログコンバータ)を用いてアナログ信号に変換してスピーカーから再生出力を行っている。   When such a transfer is performed, an audio signal is transmitted as a digital signal to a car audio device or the like every 1 ms by a protocol called isochronous, and the number of data transmitted at this time is the audio reproduced by the portable audio device. For example, it is 178 bytes at 44.1 kHz. A car audio device or the like stores a received digital signal in a memory, reads out data from the memory at time intervals corresponding to the sampling frequency, converts it into an analog signal using a DAC (digital-analog converter), and outputs a reproduction output from a speaker. Is going.

このようなUSBのシリアルインターフェイスでデジタルデータを転送するときには、様々な要因によって通信エラーが起きることがある。その際例えばパソコンから携帯用オーディオ装置にデータを蓄積するためにデータの転送を行うときにエラーを生じた際には、そのエラーを生じた部分のデータがパソコンから携帯用オーディオ装置に再送信される仕組みになっているため、通信エラーが発生してもパソコンのオーディオファイルと携帯オーディオ装置のオーディオファイルは同一になる。   When digital data is transferred through such a USB serial interface, a communication error may occur due to various factors. At that time, for example, when an error occurs when transferring data to store data from a personal computer to a portable audio device, the data in the portion where the error has occurred is retransmitted from the personal computer to the portable audio device. Therefore, even if a communication error occurs, the audio file on the personal computer and the audio file on the portable audio device will be the same.

しかしながら、携帯用オーディオ装置からカーオーディオ装置等にオーディオデータを送信するときにエラーが発生すると、エラー部分の再送信が行われない。これはアイソクロナスというプロトコルがリアルタイムでのオーディオなどの再生を保証するため、エラー発生時のデータ再送信を行わない仕組みになっているためである。   However, if an error occurs when audio data is transmitted from a portable audio device to a car audio device or the like, the error portion is not retransmitted. This is because the protocol called isochronous guarantees the reproduction of audio and the like in real time, and therefore does not retransmit data when an error occurs.

なお、再生されたPCM信号のエラーをチェックし、このエラーが規定値を超えたとき、このエラーを生じている信号のブロックを、その前または後のブロックを使用して修正するようにしたオーディオ再生装置は特許文献1に記載されている。   It is to be noted that the error of the reproduced PCM signal is checked, and when this error exceeds a specified value, the block of the signal causing the error is corrected using the block before or after that. A reproduction apparatus is described in Patent Document 1.

また、伝送路内で誤りが付加された可能性があり、受信機で受信された符号化データの誤りが訂正可能な場合に誤り訂正を行い、且つ誤り訂正が不可能な場合には補間情報を出力する誤り訂正を行う手段を備えるとともに、誤り訂正不可能な符号化データの場合に現在受信されている符号化データの前における音声の一定区間をなすフレームの符号化データを複合し、現在受信されているフレームより以前の符号化データを補間情報によりバッファから音声複合手段に導いて音声のフレーム補間を行い、補間情報により現在受信中のフレームの符号化データの前後の連続フレームの符号化データの複合音声の波形の外装により連続性を保ちながら補間を行う技術は特許文献2に記載されている。
特開昭58−155509号公報 特開平4−100422号公報
Also, if there is a possibility that an error has been added in the transmission path and the error of the encoded data received by the receiver can be corrected, error correction is performed. In the case of encoded data that cannot be corrected, and is combined with the encoded data of a frame that forms a certain section of speech before the encoded data that is currently received, The encoded data before the received frame is guided from the buffer to the audio composite means by the interpolation information by the interpolation information, and the frame of the audio is interpolated, and the encoded information of the continuous frame before and after the encoded data of the currently received frame by the interpolation information A technique for performing interpolation while maintaining continuity by using a waveform of a composite voice of data is described in Patent Document 2.
JP 58-155509 A Japanese Patent Laid-Open No. 4-100422

上記のように、携帯用オーディオ装置とカーオーディオ装置等とをUSBのシリアルインターフェイスを用いて、デジタルデータをアイソクロナスのプロトコルで転送しているときに転送エラーが発生すると、その部分に含まれるデータが欠落する。ここで欠落するデータの長さは1msあるため、この部分を再生するとポップ音がノイズとして聞こえることとなる。このノイズを軽減するために、欠落したデータの前後を直線で結んで失ったデータを補間する方法を採用することが考えられる。しかしながら、データが欠落したとき常にこの手法を採用すると、通常のオーディオ信号出力時には周波数成分が大きいので、欠落したデータの前後を直線で結んだときに直流成分が重乗されることにより、補完した前後の周波数成分との関係により、前記単なるデータ欠落時のノイズよりは低減するものの、補間した部分が別のノイズとして聞こえることなる。   As described above, when a transfer error occurs when digital data is transferred between a portable audio device and a car audio device using the USB serial interface using the isochronous protocol, the data contained in that portion is stored. Missing. Here, since the length of the missing data is 1 ms, when this portion is reproduced, the pop sound is heard as noise. In order to reduce this noise, it is conceivable to employ a method of interpolating lost data by connecting the missing data with a straight line. However, if this method is always used when data is missing, the frequency component is large when normal audio signals are output. Therefore, the DC component is superimposed when the front and back of the missing data are connected by a straight line. Due to the relationship with the frequency components before and after, the noise is reduced more than the noise at the time of simple data loss, but the interpolated portion is heard as another noise.

したがって本発明は、デジタルオーディオデータをUSBのシリアルインターフェイスで接続し、アイソクロナスのプロトコルで転送するとき、転送エラーによりデータが欠落した場合に、再生時にノイズを発生しないように補間を行うことができるようにしたオーディオ装置を提供することを主たる目的とする。   Therefore, according to the present invention, when digital audio data is connected by a USB serial interface and transferred by an isochronous protocol, if data is lost due to a transfer error, interpolation can be performed so as not to generate noise during reproduction. The main object is to provide an audio device.

本発明に係るオーディオ装置は、上記課題を解決するため、他のオーディオ装置とアイソクロナス方式でデータ転送を行うオーディオ装置において、転送されたデータを記憶するメモリと、転送されたデータのエラーを検出する転送エラー検出部と、前記転送エラー検出部で転送エラーを検出したとき、転送エラー発生時点より前のデータにおいて、データが正と負で符号が変化する時点、及び転送エラー終了時点より後のデータにおいて符号が前記変化と同方向に変化する最初の符号変化時点を検出するデータ符号変化時点検出部と、転送エラー発生時点より前のデータにおいて、最初にデータの符号が変化する時点とそれより前のデータ中で同方向に符号が変化する時点との間のデータを補間用データとする補間用データ作成部と、前記エラー発生時点より前のデータにおいて符号が変化する最初の時点と、エラー終了時点より後の前記データ符号変化時点との間のデータを削除して補間部分を作成する不要データ削除部と、前記補間用データが前記補間部分と等しいか短いとき、前記補間用データ作成部で作成された補間用データを、転送エラー発生時点以降に該補間用データが全て入る範囲で連続して接続し、前記データ接続した補間データに、前記転送エラー終了時点より後のデータにおける最初の同方向符号変化時点以降のデータを接続するデータ接続処理部とからなることを特徴とする。   In order to solve the above-described problem, an audio device according to the present invention detects a memory for storing transferred data and an error in the transferred data in an audio device that performs data transfer with other audio devices in an isochronous manner. When a transfer error is detected by the transfer error detection unit and the transfer error detection unit, the data before the transfer error occurrence time, when the data changes between positive and negative, and the data after the transfer error end time A data code change time point detection unit for detecting a first code change time point at which the sign changes in the same direction as the change in the data, and a data point before the transfer error occurrence time and a time point before the data sign change time Interpolating data creating unit that uses the data between the time point when the sign changes in the same direction as the interpolating data, An unnecessary data deletion unit that deletes data between the first time point at which the sign changes in the data before the error occurrence time and the data code change time after the error end time, and creates an interpolation part; and the interpolation When the interpolation data is equal to or shorter than the interpolation portion, the interpolation data created by the interpolation data creation unit is continuously connected within a range in which all of the interpolation data enters after the transfer error occurs, and the data It is characterized by comprising a data connection processing unit for connecting data after the first same direction code change time in the data after the transfer error end time to the connected interpolation data.

また、本発明に係る他のオーディオ装置は、前記オーディオ装置において、前記補間用データ作成部は、前記転送エラー発生時点より前のデータにおいて、少なくとも最初にデータの符号が変化する時点の前のデータ中で同方向に符号が変化する時点が、転送エラー発生時点から第1の所定時間以内の時に、前記補間用データを作成することを特徴とする。   In another audio device according to the present invention, in the audio device, the interpolation data creation unit may include data before the time when the sign of the data first changes in the data before the transfer error occurs. The interpolation data is generated when the time when the code changes in the same direction is within a first predetermined time from the time when the transfer error occurs.

また、本発明に係る他のオーディオ装置は、前記オーディオ装置において、前記補間用データ作成部は、前記転送エラー発生時点より前のデータにおいて最初にデータの符号が変化する時点と、その直前で同方向に符号が変化する時点との時間間隔が前記第1の所定時間よりも短い第2の所定時間未満であるとき、更にその前のデータから同方向に符号が変化する時点を順に検出し、転送エラー発生時点から前記第1の所定時間以内の最後に前記符号が変化する時点と前記最初の符号変化時点との間のデータを補間用データとすることを特徴とする。 Further, in another audio device according to the present invention, in the audio device, the interpolation data generation unit is the same as immediately before the time when the sign of the data first changes in the data before the transfer error occurrence time. When the time interval between the time when the sign changes in the direction is less than the second predetermined time shorter than the first predetermined time, the time point when the sign changes in the same direction from the previous data is detected in order, The data between the time when the code changes at the end within the first predetermined time from the time when the transfer error occurs and the time when the first code changes is used as interpolation data.

また、本発明に係る他のオーディオ装置は、前記オーディオ装置において、 前記補間用データ作成部で作成した補間用データの長さが、前記不要データ削除部で作成された補間部分の長さより長いとき、該補間部分に適合するように補間用データを圧縮して補間を行うことを特徴とする。   In the audio device, the length of the interpolation data created by the interpolation data creation unit is longer than the length of the interpolation part created by the unnecessary data deletion unit. Further, the interpolation is performed by compressing the interpolation data so as to be adapted to the interpolation portion.

本発明は上記のように構成したので、デジタルオーディオデータをUSBのシリアルインターフェイスで接続する等により、アイソクロナスのプロトコルて転送するとき、転送エラーによりデータが欠落した場合に、再生時にノイズを発生しないように補間を行うことができる。   Since the present invention is configured as described above, when digital audio data is transferred by an isochronous protocol, such as by connecting with a USB serial interface, noise is not generated during reproduction when data is lost due to a transfer error. Can be interpolated.

本発明はアイソクロナスのプロトコルて転送するとき、転送エラーによりデータが欠落した場合に、再生時にノイズを発生しないように補間を行うという課題を、他のオーディオ装置とアイソクロナス方式でデータ転送を行うオーディオ装置において、転送されたデータを記憶するメモリと、転送されたデータのエラーを検出する転送エラー検出部と、前記転送エラー検出部で転送エラーを検出したとき、転送エラー発生時点より前のデータにおいて、データが正と負で符号が変化する時点、及び転送エラー終了時点より後のデータにおいて符号が前記変化と同方向に変化する最初の符号変化時点を検出するデータ符号変化時点検出部と、転送エラー発生時点より前のデータにおいて、最初にデータの符号が変化する時点とそれより前のデータ中で同方向に符号が変化する時点との間のデータを補間用データとする補間用データ作成部と、前記エラー発生時点より前のデータにおいて符号が変化する最初の時点と、エラー終了時点より後の前記データ符号変化時点との間のデータを削除して補間部分を作成する不要データ削除部と、前記補間用データが前記補間部分と等しいか短いとき、前記補間用データ作成部で作成された補間用データを、転送エラー発生時点以降に該補間用データが全て入る範囲で連続して接続し、前記データ接続した補間データに、前記転送エラー終了時点より後のデータにおける最初の同方向符号変化時点以降のデータを接続するデータ接続処理部とを備えることにより実現した。   The present invention relates to the problem of performing interpolation so that noise is not generated during reproduction when data is lost due to a transfer error when transferring using an isochronous protocol. In the memory that stores the transferred data, the transfer error detection unit that detects an error of the transferred data, and when the transfer error is detected by the transfer error detection unit, in the data before the transfer error occurrence time, A data code change point detection unit for detecting a first code change point at which the sign changes in the same direction as the change in the data when the data is positive and negative and the sign changes, and the data after the transfer error end point, and a transfer error In the data before the time of occurrence, the data at which the data sign changes first and the data before it An interpolation data creation unit that uses data between the time when the sign changes in the same direction as the interpolation data, the first time when the sign changes in the data before the error occurrence time, and the error end time Created by an unnecessary data deletion unit that deletes data between the subsequent data code change points and creates an interpolation part, and when the interpolation data is equal to or shorter than the interpolation part, the interpolation data generation unit creates The interpolation data is continuously connected within a range in which all of the interpolation data enters after the transfer error occurrence time, and the first same direction code in the data after the transfer error end time is connected to the data connected interpolation data. This is realized by including a data connection processing unit that connects data after the change point.

本発明を図面に沿って説明する。図1は本発明を実施する機能ブロック図であり、例えばMP3等により圧縮したデジタルオーディオデータを蓄積している携帯用オーディオ装置1を、USBケーブル2により例えば車両用オーディオ装置や一般家庭用オーディオ装置等のオーディオ装置3に接続し、スピーカ4から出力する例を示している。   The present invention will be described with reference to the drawings. FIG. 1 is a functional block diagram for implementing the present invention. For example, a portable audio device 1 storing digital audio data compressed by MP3 or the like is connected to a vehicle audio device or a general household audio device by a USB cable 2. The example which connects to the audio apparatuses 3, such as these, and outputs from the speaker 4 is shown.

図示のオーディオ装置3においては、携帯用オーディオ装置1とUSBケーブル2で接続してデータの授受及び受信データの監視を行うことができるUSBコントローラ5を備えており、このUSBコントローラ5においては、携帯用オーディオ装置1からアイソクロナス転送によりシリアルで受信したデジタルオーディオデータに、受信データの欠落等の通信エラーが存在するか否かを検出する転送エラー検出部6も備えている。   The illustrated audio apparatus 3 includes a USB controller 5 that can be connected to the portable audio apparatus 1 via a USB cable 2 and can exchange data and monitor received data. There is also provided a transfer error detection unit 6 for detecting whether or not there is a communication error such as missing received data in the digital audio data received serially from the audio apparatus 1 by isochronous transfer.

オーディオ装置3においては、前記USBコントローラ5に入力したオーディオデータを一時的に記憶するメモリ8を備え、中央演算処理装置7におけるメモリアクセス部9によってオーディオデータをメモリ8に書き込み及び読み出しを可能としている。また、メモリ8に記憶されたオーディオデータは、メモリアクセス部9によって順に、或いは任意の部分を読み込み可能とし、読み込んだデータを中央演算処理装置7において後述するような各種の処理を行うことができるようにしている。   The audio device 3 includes a memory 8 that temporarily stores audio data input to the USB controller 5, and audio data can be written to and read from the memory 8 by the memory access unit 9 in the central processing unit 7. . Further, the audio data stored in the memory 8 can be read sequentially or by an arbitrary portion by the memory access unit 9, and the read data can be subjected to various processes as described later in the central processing unit 7. I am doing so.

中央演算処理装置7ではメモリ8に記憶されたMP3等の圧縮デジタルオーディオデータを所定のオーディオデータに変換し、オーディオ出力信号作成処理部19に出力し、オーディオ出力信号作成処理部19ではデジタルオーディオデータをアナログオーディオデータに変換すると共に、必要な処理を加えてスピーカ4から出力する。中央演算処理装置7にはデータ補間処理部10を備え、前記のようにUSBコントローラ5のエラー検出部6において受信オーディオデータにエラーが発生したことを検出したとき、そのエラー部分を他のデータで補間する処理を行う。   In the central processing unit 7, compressed digital audio data such as MP3 stored in the memory 8 is converted into predetermined audio data and output to the audio output signal creation processing unit 19, and the audio output signal creation processing unit 19 performs digital audio data. Is converted into analog audio data, and necessary processing is performed and output from the speaker 4. The central processing unit 7 includes a data interpolation processing unit 10. When the error detection unit 6 of the USB controller 5 detects that an error has occurred in the received audio data as described above, the error part is replaced with other data. Perform interpolation processing.

図1に示すデータ補間処理部10においては本発明の主たるデータ補間処理を行う主データ補間処理部11と、適切な主データ補間処理が行われないときに補助的な補間処理を行う補助データ補間処理部12とを備えており、この補助データ補間処理部12では欠損データ部分を直線補間する例を示している。主データ補間処理部11には補間用データを作成する補間用データ作成部13と、オーディオデータの中で補間時に不要となるデータを削除する不要データ削除部16と、補間処理に際して各種データを接続するデータ接続処理部17と、後述するような特定の条件下で補間用データを圧縮する処理を行うデータ圧縮処理部18とを備えている。   In the data interpolation processing unit 10 shown in FIG. 1, a main data interpolation processing unit 11 that performs main data interpolation processing of the present invention, and auxiliary data interpolation that performs auxiliary interpolation processing when appropriate main data interpolation processing is not performed. The auxiliary data interpolation processing unit 12 linearly interpolates the missing data portion. The main data interpolation processing unit 11 is connected to an interpolation data generation unit 13 for generating interpolation data, an unnecessary data deletion unit 16 for deleting unnecessary data in the audio data, and various data in the interpolation process. And a data compression processing unit 18 that performs processing for compressing the interpolation data under specific conditions as will be described later.

補間用データ作成部13には、オーディオデータにおいて正から負、或いは負から正に符号が変化する時点を検出するデータ符号変化時点検出部14と、後述するように適切な補間用データ作成のために複数のデータ符号変化時点間の間隔を計算する符号変化時点間隔計測部15とを備えている。なお、前記のような各機能部は本発明及びその実施例を作動させるための代表的な機能部を示したものであり、このほかに各種の機能を行う機能部を備えることができる。   The interpolation data creation unit 13 includes a data sign change point detection unit 14 that detects a point in time when the sign of audio data changes from positive to negative, or from negative to positive, and for creating appropriate interpolation data as described later. And a code change point interval measuring unit 15 for calculating intervals between a plurality of data code change points. Each functional unit as described above is a representative functional unit for operating the present invention and the embodiments thereof, and in addition, functional units that perform various functions can be provided.

図2及び図3には前記図1の機能ブロック図で実施されるデータ補間処理の例を示す作動フロー図である。図2に示す転送エラー発生時のデータ補間処理の例においては、最初に図1の携帯用オーディオ装置1とオーディオ装置3との間をUSBケーブル2により接続し、アイソクロナスのプロトコルでオーディオデータの転送が行われ(ステップS1)、その転送データを受信側において、図1のメモリ8に一次記憶する(ステップS2)。   2 and 3 are operation flowcharts showing an example of data interpolation processing implemented in the functional block diagram of FIG. In the example of the data interpolation processing when a transfer error occurs as shown in FIG. 2, the portable audio device 1 and the audio device 3 shown in FIG. 1 are first connected by the USB cable 2 and the audio data is transferred using the isochronous protocol. Is performed (step S1), and the transfer data is temporarily stored in the memory 8 of FIG. 1 on the receiving side (step S2).

次いで前記オーディオデータの転送中に転送エラーを検出したか否かを判別する(ステップS3)。このチェックは例えば1ms毎のデータ転送が行われるとき、それに同期してチェックする。このときの転送エラー発生のチェックに際しては従来から用いられている種々の手法を用いることができるが、例えば転送データの1フレームが抜け落ちている、等によって転送エラー発生を判別することができる。この判別は図1の例においてはUSBコントローラ6の転送エラー検出部6で行っている。   Next, it is determined whether or not a transfer error is detected during the transfer of the audio data (step S3). For example, this check is performed in synchronization with data transfer every 1 ms. For checking the occurrence of transfer error at this time, various methods conventionally used can be used. For example, it is possible to determine the occurrence of transfer error based on the fact that one frame of transfer data is missing. This determination is made by the transfer error detection unit 6 of the USB controller 6 in the example of FIG.

ステップS3において転送エラーを検出しないときには再びステップS1に戻ってオーディオデータの転送を継続し、転送エラーを検出するまで前記作動を繰り返す。それに対してステップS3で転送エラーを検出したと判別したときには、エラー発生時点Pとエラー終了時点Qとを検出する(ステップS4)。この作動は例えば図4(a)の例においては、前記のようなデータの転送中に時点PとQとの間で転送エラーが発生したことを検出すると共に、その時間がUであることも検出されることとなる。   If no transfer error is detected in step S3, the process returns to step S1 to continue the transfer of audio data, and the above operation is repeated until a transfer error is detected. In contrast, when it is determined in step S3 that a transfer error has been detected, an error occurrence time point P and an error end time point Q are detected (step S4). For example, in the example of FIG. 4A, this operation detects that a transfer error has occurred between the time points P and Q during the data transfer as described above, and the time is U. Will be detected.

次いでエラー発生直前のデータからデータの符号が変化する点Bを検出する(ステップS5)。この作動は図4(a)の例においてはエラー発生時点Pの直前における時点Bにおいて、負から正の方向に符号が変化していることを検出することとなる。また、この作動は図1の例では主データ補間処理処理部11における補間用データ作成部13のデータ符号変化時点検出部14で行っている。   Next, a point B where the sign of the data changes is detected from the data immediately before the error occurs (step S5). In the operation of FIG. 4A, this operation detects that the sign changes from negative to positive at time B immediately before error occurrence time P. In the example of FIG. 1, this operation is performed by the data code change point detection unit 14 of the interpolation data creation unit 13 in the main data interpolation processing unit 11.

その後前記符号が変化したことを検出した時点Bから前方において、同方向、即ち前記の場合においては負から正方向に変化する時点A1を検出するための作動を行う(ステップS6)。この作動により図4(a)の例においては、符号変化時点Bより前方に、符号変化点において負から正に変化した方向と同方向に符号が変化する時点A1を検出することとなる。この作動も前記と同様に図1のデータ符号変化時点検出部14で行う。   Thereafter, an operation is performed to detect a point A1 that changes in the same direction, that is, in the above case, from negative to positive in the forward direction from the point B when the change of the sign is detected (step S6). With this operation, in the example of FIG. 4A, a time point A1 in which the sign changes in the same direction as the direction in which the sign change point changes from negative to positive is detected in front of the sign change time point B. This operation is also performed by the data code change point detector 14 in FIG.

その後エラー発生時点Pより例えば3ms等の第1の所定時間間隔R迄の間に符号の変化する時点A1が検出されたか否かを判別する(ステップS7)。図4(a)の例においては、その第1の所定時間間隔R内に符号変化時点A1が検出された例を示している。ここでは後述するように補間用データSを得る際に、あまりにも長い補間データでは多くの場合転送エラー部分の補間用データSとしては長すぎるため、このような判別を行う。またこの作動は図1の補間用データ作成部13における符号変化時点間隔計測部15で行っている。   Thereafter, it is determined whether or not a time point A1 at which the sign changes is detected from the error occurrence time point P to a first predetermined time interval R such as 3 ms (step S7). In the example of FIG. 4A, an example in which the sign change time A1 is detected within the first predetermined time interval R is shown. Here, as will be described later, when the interpolation data S is obtained, such a determination is made because too long interpolation data is often too long as the interpolation data S in the transfer error portion. This operation is performed by the sign change point interval measuring unit 15 in the interpolation data creating unit 13 of FIG.

ステップS7において図4(a)のように3ms等の第1の所定時間R内に、符号の変化する時点A1が見つかったときにはステップS8に進み、符号変化時点A1から前記最初の符号変化時点B迄の間隔Tが1ms等の第2の所定時間未満か否かを判別する(ステップS8)。図4(a)の例では、前記符号変化時点A1が1msより長い時点に存在することが示されている。ここでは補間用データSが1msより短いときには、後述するように同一の補間データを転送エラー期間等に埋め込むとき、短時間で繰り返すオーディオ信号が多数連続することによる音響的な不都合の発生を、できる限り防止するためにチェックを行うこととする。また、この作動も前記と同様に符号変化時点間隔計測部15で行っている。   In step S7, when a time point A1 at which the sign changes is found within a first predetermined time R such as 3 ms as shown in FIG. 4A, the process proceeds to step S8, and from the sign change time point A1 to the first sign change time point B. Until the interval T is less than a second predetermined time such as 1 ms (step S8). In the example of FIG. 4A, it is shown that the sign change time A1 exists at a time longer than 1 ms. Here, when the interpolation data S is shorter than 1 ms, an acoustic inconvenience can be caused by a large number of repeated audio signals in a short time when the same interpolation data is embedded in a transfer error period or the like as will be described later. A check will be made to prevent it as much as possible. This operation is also performed by the sign change time interval measuring unit 15 as described above.

ステップS8において符号変化時点A1から符号変化時点B迄の間隔Tが1ms等の第2の所定時間未満であることを検出したときにはステップS11に進み、エラー発生時点Pより所定時間R内で、更に前方の符号の同方向変化時点A(2〜n)を検出する(ステップS11)。この作動は図1のデータ符号変化時点検出部14と符号変化時点間隔計測部15の連携により行うことができる。前記ステップS8で符号変化時点A1から符号変化時点B迄の間隔Tが1ms以上であることを検出したとき、及びステップS11で更に前方の符号の同方向変化時点A(2〜n)の検出作動を行った後にステップS9に進み、前記条件に合う最も前方の符号変化時点A(1〜n)を補間データ開始時点Aとし、その結果、時点AとBとの間の補間用データSを決定する(ステップS9)。   When it is detected in step S8 that the interval T from the sign change time A1 to the sign change time B is less than a second predetermined time such as 1 ms, the process proceeds to step S11, and further within the predetermined time R from the error occurrence time P. A point of change A (2-n) in the same direction of the forward code is detected (step S11). This operation can be performed by the cooperation of the data code change point detection unit 14 and the code change point interval measurement unit 15 of FIG. When it is detected in step S8 that the interval T from the code change time point A1 to the code change time point B is 1 ms or more, and in step S11, the detection operation of the forward code same direction change time point A (2-n) is performed. Then, the process proceeds to step S9, where the foremost code change time point A (1 to n) meeting the above condition is set as the interpolation data start time point A, and as a result, the interpolation data S between the time points A and B is determined. (Step S9).

前記ステップS7においてエラー発生時点Pより3ms等の第1の所定時間R迄の間に符号の変化する時点A1が検出されなかったときには、エラー発生時点Pとエラー終了時点Qの正常データ部分を直線で補間する(ステップS10)。このような直線補間は従来よりエラー発生時の補間処理として知られているが、本発明においては前記のようにエラー発生時点Pより3ms等の第1の所定時間R迄の間に前記符号の変化がなかったとき、即ちこのことはエラー発生直前のオーディオデータの周波数成分が低いことを意味し、このような状態で直線補間を行っても従来のような異音を発生することが無く、この手法を有効に使用することができる。この作動は図1の例ではデータ補間処理部10における補助データ補間処理部12において欠損データの直線補間を行うことにより実行される。   In step S7, when the time A1 when the sign changes between the error occurrence time P and the first predetermined time R such as 3 ms is not detected, the normal data portions at the error occurrence time P and the error end time Q are straightened. Is interpolated (step S10). Such linear interpolation is conventionally known as an interpolation process when an error occurs, but in the present invention, as described above, the above-mentioned code is added between the error occurrence point P and a first predetermined time R such as 3 ms. When there is no change, that is, this means that the frequency component of the audio data immediately before the error occurs is low, and even if linear interpolation is performed in such a state, there is no abnormal noise as in the past, This technique can be used effectively. In the example of FIG. 1, this operation is executed by performing linear interpolation of missing data in the auxiliary data interpolation processing unit 12 in the data interpolation processing unit 10.

上記のようにして直線補間を行い、更には補間用データSを得た後は、転送エラー発生時の主たるデータ補間処理を図3に示すようにして行う(ステップS14)。図3の転送エラー発生時の主データ補間処理に際しては、最初図4に示すようなエラー発生時点Pの直前の符号変化時点Bと、エラー発生時点Pとの間のデータの削除を行う(ステップS21)。この作動は図1の主データ補間処理部11における不要データ削除部16で行っている。   After performing the linear interpolation as described above and further obtaining the interpolation data S, the main data interpolation process when a transfer error occurs is performed as shown in FIG. 3 (step S14). In the main data interpolation process when a transfer error occurs in FIG. 3, first, data between the sign change time B immediately before the error occurrence time P and the error occurrence time P as shown in FIG. S21). This operation is performed by the unnecessary data deletion unit 16 in the main data interpolation processing unit 11 of FIG.

その後エラー終了時点Q以降の同方向符号変化時点Cを検出する(ステップS22)。その後エラー終了時点Qと前記符号変化時点Cとの間のデータの削除を行う(ステップS23)。それにより前記図4の例においては同図(b)に示すように、転送エラー終了時点Qと符号変化時点Cとの間のデータが削除され、前記符号変化時点Bと転送エラー発生時点Pとの間のデータ削除により、符号変化時点BとCとの間の補間部分Vが形成されることとなる。   Thereafter, the same direction code change time C after the error end time Q is detected (step S22). Thereafter, the data between the error end point Q and the sign change point C is deleted (step S23). As a result, in the example of FIG. 4, as shown in FIG. 4B, the data between the transfer error end time Q and the code change time C is deleted, and the code change time B and the transfer error occurrence time P As a result, the interpolated portion V between the sign change points B and C is formed.

その後、補間用データSの長さTは符号変化時点Bと符号変化時点Cの間の補間部分長さVより長いか否かを判別する(ステップS24)。その判別の結果、例えば図4(b)のように補間用データSの長さTが補間部分長さVと等しいかそれより短いとき、即ちT≦Vであるときには、補間用データSを符号変化検出時点Bの後に、符号変化時点C迄に補間データYが全て入る範囲内で連続して複写する。図4の例においては、同図(c)に示すように、補間部分長さVに補間用データSを用いた補間データYが2個全てコピーされたことを示している。   Thereafter, it is determined whether or not the length T of the interpolation data S is longer than the interpolation part length V between the code change time B and the code change time C (step S24). As a result of the determination, when the length T of the interpolation data S is equal to or shorter than the interpolation part length V as shown in FIG. 4B, for example, T ≦ V, the interpolation data S is encoded. After the change detection time B, copying is continuously performed within a range in which all of the interpolation data Y enters until the sign change time C. In the example of FIG. 4, as shown in FIG. 4C, it is shown that all two pieces of interpolation data Y using the interpolation data S are copied to the interpolation part length V.

このような補間処理を行った後、本発明においては補間データYの最後の時点Dに符号変化時点C以降のデータを移動し接続している(ステップS26)。この作動は図1の例では主データ補間処理部11におけるデータ接続処理部17において行う。上記のような一連の作動を行うことにより、図4(d)に示すように、全てのデータが符号が同一方向に変化する点で連結されることとなり、滑らかなデータ接続がなされる結果、このオーディオデータを再生するとき、ノイズを発生することが無くなる。なお、上記の補間処理の結果、図4(c)におけるデータを詰めたXの時間だけ短くなるが、この時間は例えば1ms以下の極めて短時間であるため、再生時にユーザーに対して違和感を感じさせることがない。   After performing such interpolation processing, in the present invention, the data after the sign change time C is moved and connected to the last time D of the interpolation data Y (step S26). This operation is performed in the data connection processing unit 17 in the main data interpolation processing unit 11 in the example of FIG. By performing a series of operations as described above, as shown in FIG. 4D, all data are connected at the point where the sign changes in the same direction, and as a result, a smooth data connection is made. When this audio data is reproduced, no noise is generated. As a result of the above-described interpolation processing, the time of X in FIG. 4 (c) is shortened, but this time is extremely short, for example, 1 ms or less, and the user feels uncomfortable during playback. I will not let you.

一方、前記ステップS24において補間用データSの長さTは符号変化時点Bと符号変化時点C間の補間部分長さVと等しいかそれより短くない、即ちT>Vであることを検出したときには、補間部分長さVと補間用データ長さTの比(V/T)で補間用データSの長さTを圧縮する。この作動は図5に示しており、同図(a)に示すように時点PとQの間のUの期間で転送エラーが生じ、同図(b)に示すように時点Pより前の符号変化点Bを検出し、また時点Q以降の最初の符号変化点Cを検出したとき、時点BとPの間のデータ、及び時点QとCの間のデータを削除し、その結果補間部分が形成されるとき、この補間部分長さVと前記と同様にして作成された補間用データSの時間Tとを比較して、補間用データSの方が長いとき、同図(c)に示すように補間用データSを図示の式により圧縮して補間データYを得ることにより行う。なおこの作動は図1の主データ補間処理部11におけるデータ圧縮処理部18において行う。   On the other hand, when it is detected in step S24 that the length T of the interpolation data S is not equal to or shorter than the interpolation portion length V between the code change time point B and the code change time point C, that is, T> V. The length T of the interpolation data S is compressed by the ratio (V / T) of the interpolation part length V and the interpolation data length T. This operation is shown in FIG. 5. A transfer error occurs in the period U between time points P and Q as shown in FIG. 5A, and a code before time point P as shown in FIG. 5B. When the change point B is detected and the first sign change point C after the time point Q is detected, the data between the time points B and P and the data between the time points Q and C are deleted, and as a result, the interpolation part is When the interpolation data length is longer, the interpolation portion length V is compared with the time T of the interpolation data S created in the same manner as described above. In this way, the interpolation data S is compressed by the equation shown to obtain the interpolation data Y. This operation is performed in the data compression processing unit 18 in the main data interpolation processing unit 11 in FIG.

このようにして得られた圧縮データである補間データYをエラー部分に挿入して複写する(ステップS28)。それにより図5の例においては補間部分Vの部分に適合する補間データYが挿入複写され、全体のデータは滑らかに接続する結果、このオーディオデータを再生するときにノイズを発生することがない。このとき行われる補間用データSを圧縮して補間データYを得る際には、全体の信号を相似形に圧縮する以外に、振幅は変化させず、時間方向の長さのみ圧縮するようにしても良い。上記のような処理を行った後は図2のステップS15として示すように、ステップS1に戻ってデータの転送中は前記作動を繰り返す。   The interpolation data Y, which is the compressed data obtained in this way, is inserted into the error part and copied (step S28). As a result, in the example of FIG. 5, the interpolated data Y conforming to the interpolated portion V is inserted and copied, and the entire data is smoothly connected. As a result, no noise is generated when the audio data is reproduced. When the interpolation data S is obtained by compressing the interpolation data S performed at this time, the amplitude is not changed but only the length in the time direction is compressed, in addition to compressing the entire signal in a similar manner. Also good. After performing the above process, as shown as step S15 in FIG. 2, the process returns to step S1 and the above operation is repeated during data transfer.

図1のデータ補間処理部10における主データ補間処理部11では図4及び図5に示すような処理を行うものであるが、補助データ補間処理部12においては前記図2の作動フローにおけるステップS10の処理を図6のように行う。即ち図6(a)には時点PとQとの間の期間Uにおいて図2のステップS4で転送エラーの発生が検出された後、ステップS5でエラー発生直前のデータからデータの符号が変化する時点Bを検出し、ステップS6で検出時点Bから前方において同方向に符号が変化する時点A1を検出する作動を行い、ステップS7においてエラー発生時点Pより3ms等の第1の所定時間R迄の間に符号の変化する点を検出されないと判別したとき、ステップS10に進み、図6(c)に示すようにエラー開始時点の正常データGとエラー終了時点の正常データHとを直線Jで結んで補間を行う。   The main data interpolation processing unit 11 in the data interpolation processing unit 10 in FIG. 1 performs the processing as shown in FIGS. 4 and 5. In the auxiliary data interpolation processing unit 12, step S10 in the operation flow of FIG. This processing is performed as shown in FIG. That is, in FIG. 6A, after the occurrence of a transfer error is detected in step S4 in FIG. 2 in the period U between time points P and Q, the data sign changes from the data immediately before the error occurs in step S5. Time B is detected, and at step S6, an operation is performed to detect a time A1 at which the sign changes in the same direction forward from the detection time B. In step S7, an error occurs from the error occurrence time P to a first predetermined time R such as 3 ms. When it is determined that a point where the sign changes in between is not detected, the process proceeds to step S10, and the normal data G at the error start time and the normal data H at the error end time are connected by a straight line J as shown in FIG. Interpolate with.

前記図6(a)の例では図2のステップS5においてエラー発生直前のデータからデータの符号が変化する時点Bを検出することができた例を示したが、例えば図6(b)に示すようにエラー発生直前のデータから3ms等の所定時間R迄の間に符号の変化する時点が全く検出されないときには、ステップS6において検出時点Bから前方において同方向に符号が変化する時点を検出することができないのは当然であるので、ステップS7において時点A1は検出されることが無く、ステップS10に進んで前記と同様に図6(c)のような直線補間処理を行うこととなる。   In the example of FIG. 6A, an example in which the time point B at which the data sign changes from the data immediately before the occurrence of the error in step S5 of FIG. 2 can be detected is shown, for example, in FIG. 6B. Thus, when no sign change time is detected between the data immediately before the occurrence of the error and a predetermined time R such as 3 ms, the time when the sign changes in the same direction forward from the detection time B is detected in step S6. Since it is natural that the time point A1 cannot be detected, the time point A1 is not detected in step S7, and the process proceeds to step S10 to perform linear interpolation processing as shown in FIG.

上記のような欠損データを直線補間する補助データ補間処理は、従来より提案されている手法であるが、本発明においては前記のような主データ補間処理が行われないときに行うようにしている。即ち、本発明において直線補間を行うときは、前記のような符号変化点が3ms等の所定の間に見つからないときであり、そのことは例えば図6(a)(b)に示すように補間直前の周波数成分が低いことを意味しているので、このような期間に直線補間を行っても、周波数成分が高いときに直線補間処理を行うときのようなノイズを発生することがなく、この手法を有効に利用することができる。   The auxiliary data interpolation processing for linearly interpolating the missing data as described above is a conventionally proposed method, but in the present invention, it is performed when the main data interpolation processing as described above is not performed. . That is, in the present invention, the linear interpolation is performed when the sign change point as described above is not found within a predetermined period of 3 ms or the like, and for example, as shown in FIGS. 6 (a) and 6 (b). This means that the frequency component just before is low, so even if linear interpolation is performed during such a period, noise like when performing linear interpolation processing when the frequency component is high is not generated. The method can be used effectively.

前記実施例においては、本発明を携帯用オーディオ機器と車両用オーディオ装置等の一般のオーディオ装置とをUSBケーブルで接続し、アイソクロナス方式でデジタルデータを転送する際の処理例を示したが、このようなものに限らず、パソコンやPDF、更には携帯電話を含むオーディオデータを取り扱うことができる広義のオーディオ機器相互間をアイソクロナス方式でデータ転送を行い、エラー発生時にデータの再送信を行わないことにより欠損を生じるときには、同様にして本発明を適用することができる。   In the above embodiment, the present invention shows a processing example when a portable audio device and a general audio device such as a vehicle audio device are connected by a USB cable and digital data is transferred by an isochronous method. Data transfer between audio devices in a broad sense that can handle audio data including PCs, PDFs, and even mobile phones is not limited to the above, and data is not retransmitted when an error occurs. The present invention can be applied in the same manner when a defect occurs due to the above.

本発明の実施例の機能ブロック図である。It is a functional block diagram of the Example of this invention. 同実施例におけるデータ補間処理の作動フロー図である。It is an operation | movement flowchart of the data interpolation process in the Example. 同実施例における主データ補間処理の作動フロー図である。It is an operation | movement flowchart of the main data interpolation process in the Example. 同実施例の主データ補間処理の処理例を示す図である。It is a figure which shows the process example of the main data interpolation process of the Example. 同実施例の主データ補間処理の他の処理例を示す図である。It is a figure which shows the other process example of the main data interpolation process of the Example. 同実施例の補助データ補間処理の処理例を示す図である。It is a figure which shows the process example of the auxiliary data interpolation process of the Example.

符号の説明Explanation of symbols

1 携帯用オーディオ装置
2 USBケーブル
3 オーディオ装置
4 スピーカ
5 USBコントローラ
6 転送エラー検出部
7 中央演算処理装置
8 メモリ
9 メモリアクセス部
10 データ補間処理部
11 主データ補間処理部
12 補助データ補間処理部
13 補間用データ作成部
14 データ符号変化時点検出部
15 符号変化時点間隔計測部
16 不要データ削除部
17 データ接続処理部
19 オーディオ出力信号作成処理部
DESCRIPTION OF SYMBOLS 1 Portable audio apparatus 2 USB cable 3 Audio apparatus 4 Speaker 5 USB controller 6 Transfer error detection part 7 Central processing unit 8 Memory 9 Memory access part 10 Data interpolation process part 11 Main data interpolation process part 12 Auxiliary data interpolation process part 13 Interpolation data creation unit 14 Data code change point detection unit 15 Code change point interval measurement unit 16 Unnecessary data deletion unit 17 Data connection processing unit 19 Audio output signal creation processing unit

Claims (4)

他のオーディオ装置とアイソクロナス方式でデータ転送を行うオーディオ装置において、
転送されたデータを記憶するメモリと、
転送されたデータのエラーを検出する転送エラー検出部と、
前記転送エラー検出部で転送エラーを検出したとき、転送エラー発生時点より前のデータにおいて、データが正と負で符号が変化する時点、及び転送エラー終了時点より後のデータにおいて符号が前記変化と同方向に変化する最初の符号変化時点を検出するデータ符号変化時点検出部と、
転送エラー発生時点より前のデータにおいて、最初にデータの符号が変化する時点とそれより前のデータ中で同方向に符号が変化する時点との間のデータを補間用データとする補間用データ作成部と、
前記エラー発生時点より前のデータにおいて符号が変化する最初の時点と、エラー終了時点より後の前記データ符号変化時点との間のデータを削除して補間部分を作成する不要データ削除部と、
前記補間用データが前記補間部分と等しいか短いとき、前記補間用データ作成部で作成された補間用データを、転送エラー発生時点以降に該補間用データが全て入る範囲で連続して接続し、前記データ接続した補間データに、前記転送エラー終了時点より後のデータにおける最初の同方向符号変化時点以降のデータを接続するデータ接続処理部とからなることを特徴とするオーディオ装置。
In audio devices that perform data transfer with other audio devices in an isochronous manner,
A memory for storing the transferred data;
A transfer error detector for detecting errors in the transferred data;
When a transfer error is detected by the transfer error detection unit, in data before the transfer error occurrence time, when the data is positive and negative, the sign changes, and in the data after the transfer error end time, the sign changes. A data code change time point detection unit for detecting a first code change time point changing in the same direction;
Interpolation data creation that uses data between the time when the sign of the data first changes and the time when the sign changes in the same direction in the data before the transfer error occurs as interpolation data And
An unnecessary data deletion unit that creates an interpolation part by deleting data between a first time when a sign changes in data before the error occurrence time and the data sign change time after the error end time;
When the interpolation data is equal to or shorter than the interpolation portion, the interpolation data created by the interpolation data creation unit is continuously connected within a range in which all the interpolation data enters after the transfer error occurs, An audio apparatus comprising: a data connection processing unit that connects data after the first same direction code change time in data after the transfer error end time to the interpolation data connected with the data.
前記補間用データ作成部は、前記転送エラー発生時点より前のデータにおいて、少なくとも最初にデータの符号が変化する時点の前のデータ中で同方向に符号が変化する時点が、転送エラー発生時点から第1の所定時間以内の時に、前記補間用データを作成することを特徴とする請求項1記載のオーディオ装置。   The interpolating data creation unit is configured such that, in the data before the transfer error occurrence time, at least the time when the code changes in the same direction in the data before the time when the data sign changes first from the transfer error occurrence time. The audio apparatus according to claim 1, wherein the interpolation data is created within a first predetermined time. 前記補間用データ作成部は、前記転送エラー発生時点より前のデータにおいて最初にデータの符号が変化する時点と、その直前で同方向に符号が変化する時点との時間間隔が前記第1の所定時間よりも短い第2の所定時間未満であるとき、更にその前のデータから同方向に符号が変化する時点を順に検出し、転送エラー発生時点から前記第1の所定時間以内の最後に前記符号が変化する時点と前記最初の符号変化時点との間のデータを補間用データとすることを特徴とする請求項記載のオーディオ装置。
The interpolating data creation unit has a time interval between a time when the data sign first changes in data before the transfer error occurrence time and a time point when the code changes in the same direction immediately before the first predetermined data When it is less than the second predetermined time shorter than the time, the time when the code changes in the same direction from the previous data is sequentially detected, and the code is finally detected within the first predetermined time from the time when the transfer error occurs. 3. The audio apparatus according to claim 2 , wherein the data between the time when the signal changes and the first code change time is used as interpolation data.
前記補間用データ作成部で作成した補間用データの長さが、前記不要データ削除部で作成された補間部分の長さより長いとき、該補間部分に適合するように補間用データを圧縮して補間を行うことを特徴とする請求項1記載のオーディオ装置。   When the length of the interpolation data created by the interpolation data creation unit is longer than the length of the interpolation part created by the unnecessary data deletion unit, the interpolation data is compressed and interpolated to fit the interpolation part. The audio apparatus according to claim 1, wherein:
JP2007013193A 2007-01-23 2007-01-23 Audio equipment Expired - Fee Related JP5046661B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007013193A JP5046661B2 (en) 2007-01-23 2007-01-23 Audio equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007013193A JP5046661B2 (en) 2007-01-23 2007-01-23 Audio equipment

Publications (2)

Publication Number Publication Date
JP2008182380A JP2008182380A (en) 2008-08-07
JP5046661B2 true JP5046661B2 (en) 2012-10-10

Family

ID=39725960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007013193A Expired - Fee Related JP5046661B2 (en) 2007-01-23 2007-01-23 Audio equipment

Country Status (1)

Country Link
JP (1) JP5046661B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3240832B2 (en) * 1994-06-06 2001-12-25 日本電信電話株式会社 Packet voice decoding method
JP3707121B2 (en) * 1996-01-16 2005-10-19 ヤマハ株式会社 Pitch detection device
JP4022427B2 (en) * 2002-04-19 2007-12-19 独立行政法人科学技術振興機構 Error concealment method, error concealment program, transmission device, reception device, and error concealment device
JP2005062442A (en) * 2003-08-12 2005-03-10 Kenwood Corp Waveform connection apparatus, waveform connection method and program
WO2005086138A1 (en) * 2004-03-05 2005-09-15 Matsushita Electric Industrial Co., Ltd. Error conceal device and error conceal method
CN1926824B (en) * 2004-05-26 2011-07-13 日本电信电话株式会社 Sound packet reproducing method, sound packet reproducing apparatus, sound packet reproducing program, and recording medium

Also Published As

Publication number Publication date
JP2008182380A (en) 2008-08-07

Similar Documents

Publication Publication Date Title
KR20120059652A (en) Synchronizing timing mismatch by data deletion
JP5267573B2 (en) Voice control device and voice output device
JP5046661B2 (en) Audio equipment
JPH08211898A (en) Sub-band audio signal synthesis device
JP2006135657A (en) Device and method for receiving data
JP2009162918A (en) Decoding reproduction apparatus and method and receiver
JP2006229923A (en) Voice information output device and voice reproduction system
KR102509673B1 (en) Audio processor circuit and audio processing method
JP3947191B2 (en) Prediction coefficient generation device and prediction coefficient generation method
JP2005233993A (en) Voice transmission system
JP4973376B2 (en) Apparatus for detecting basic period of speech and apparatus for converting speech speed using the basic period
KR20020090552A (en) A direct digital audio encoder and the encoding method thereof
JP2007006155A (en) Power line communication system, data transmission device and data reception device for power line communication, power line communication method, and control program of power line communication system
JP2007312186A (en) Call sound recording and reproducing apparatus and call sound recording and reproducing method
JP2005086618A (en) Sound reproducing device
JPH0983673A (en) Voice communication system, voice communication method and transmitting-receiving device
JP2002344431A (en) Receiver for digital communication system, computer program therefor and recording medium recording the same
JP2001176215A (en) Method and device for processing audio signal
JP2003076400A (en) Voice modulation communication system and head set for the same and communicate method for the same
JP2008084382A (en) Method for reproducing compressed data
JP5119933B2 (en) Audio output device
JPS6058762A (en) Voice storage method
JP2008065962A (en) Data-recording device
JP2002344513A (en) Digital communication system receiver, computer program therefor and record medium recording the same
JP2021076739A (en) Signal processing device, vibration device, signal processing system, program, and signal processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090929

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110719

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110721

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120105

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120501

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120614

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120702

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: 20120717

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: 20120717

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150727

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5046661

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees