JPH08147883A - Signal processor - Google Patents

Signal processor

Info

Publication number
JPH08147883A
JPH08147883A JP6288474A JP28847494A JPH08147883A JP H08147883 A JPH08147883 A JP H08147883A JP 6288474 A JP6288474 A JP 6288474A JP 28847494 A JP28847494 A JP 28847494A JP H08147883 A JPH08147883 A JP H08147883A
Authority
JP
Japan
Prior art keywords
data
predetermined
buffer
compressed
waveform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6288474A
Other languages
Japanese (ja)
Other versions
JP2943636B2 (en
Inventor
Masatada Wachi
正忠 和智
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=17730682&utm_source=***_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JPH08147883(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP6288474A priority Critical patent/JP2943636B2/en
Publication of JPH08147883A publication Critical patent/JPH08147883A/en
Application granted granted Critical
Publication of JP2943636B2 publication Critical patent/JP2943636B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE: To provide a signal processor which produces no time delay at the time of decoding compressed data and thereby allows the use of a compression method of high compressibility. CONSTITUTION: At the time of receiving the address instruction of a program searching address (or timing on the track), the calculator 10 finishes decode processing of the corresponding block in advance and store it into a temporary RAM 8. When the decode processing succeeding to the block is ready, the data stored in the temporary RAM 8 is outputted and decode processing of the succeeding blocks is continued to output the decoded data successively. Through this, an instruction to start replay allows to perform immediate sound reproduction.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、高効率データ圧縮を
採用したレコーダ等に用いて好適な信号処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal processing apparatus suitable for use in a recorder or the like which employs highly efficient data compression.

【0002】[0002]

【従来の技術】従来より、デジタルデータを記録する際
には、その記憶容量を小さくするために、各種のデジタ
ルデータ圧縮技術が用いられてきた。ここでは、代表的
な例として、帯域分割符号化(SBC;サブバンドコー
ディング)および適応変換符号化(ATC)について説
明する。帯域分割符号化による圧縮法では、アナログ波
形を帯域通過フィルタ(BPF;Band Pass Filter)群
によって帯域分割して符号化する。さらに、帯域分割さ
れた信号に、その重要さに応じて適切なビット数を割当
て、該割当てられたビット数で量子化する。すなわち、
この方式では、これまでの圧縮法のように単に波形の統
計的な特性を考慮して圧縮するのではなく、信号を受け
取る人間の知覚処理過程に整合するようにして圧縮する
ようになっている。
2. Description of the Related Art Conventionally, when recording digital data, various digital data compression techniques have been used to reduce the storage capacity. Here, as a typical example, band division coding (SBC; subband coding) and adaptive transform coding (ATC) will be described. In the compression method by band division coding, an analog waveform is band-divided by a band pass filter (BPF; Band Pass Filter) group and coded. Further, an appropriate number of bits is assigned to the band-divided signal according to its importance, and quantization is performed with the assigned number of bits. That is,
In this method, the compression is not performed simply by considering the statistical characteristics of the waveform as in the conventional compression methods, but is performed so as to match the perceptual processing process of the person who receives the signal. .

【0003】また、適応変換符号化による圧縮法では、
アナログ波形を所定の区間毎に直交変換(例えば、フー
リエ変換によるスペクトル変換)し、その変換係数を適
応符号化する。ここで、適応符号化とは量子化間隔を適
宜、状況に応じて変化させながら量子化することであ
る。
Further, in the compression method by adaptive transform coding,
The analog waveform is subjected to orthogonal transform (for example, spectrum transform by Fourier transform) for each predetermined section, and the transform coefficient is adaptively encoded. Here, the adaptive coding is to quantize while appropriately changing the quantization interval according to the situation.

【0004】[0004]

【発明が解決しようとする課題】ところで、上述した圧
縮技術を、例えば、マルチトラックのレコーダに適用し
て、性能/価格比を上げようとすると、十分な圧縮性能
は得られるが、再生時の圧縮データのデコードの際に時
間遅れを生じるという問題がある。すなわち、マルチト
ラック・レコーダでは、例えば、予め圧縮記録しておい
た信号に同期させて、後から別のトラックに他の信号を
記録するという作業が行なわれる。この時、予め圧縮記
録しておいた信号を再生するのであるが、再生するため
のデータ処理に時間がかかるため、頭出しにおいて直ち
に再生音が出てこないという問題を生じる。特に、上述
した技術では、FFT等のブロックデータ処理が含まれ
ており、これが聴感上無視できないほどの再生時の立上
がり遅れを生ずる。
By the way, if the above-mentioned compression technique is applied to, for example, a multi-track recorder to increase the performance / price ratio, sufficient compression performance can be obtained, but There is a problem that a time delay occurs when decoding compressed data. That is, in a multi-track recorder, for example, an operation of later recording another signal on another track in synchronization with a signal that has been compressed and recorded in advance is performed. At this time, the signal that has been compressed and recorded in advance is reproduced. However, since it takes time to process the data for reproduction, there arises a problem that the reproduced sound does not immediately come out at the beginning of the search. In particular, in the above-mentioned technique, block data processing such as FFT is included, and this causes a rise delay in reproduction that cannot be ignored in terms of hearing.

【0005】この発明は上述した事情に鑑みてなされた
もので、圧縮データのデコード時における時間遅れが生
ぜず、このため高圧縮率の圧縮法を効果的に用いること
ができる信号処理装置を提供することを目的としてい
る。
The present invention has been made in view of the above-mentioned circumstances, and provides a signal processing device which can effectively use a compression method with a high compression rate without causing a time delay when decoding compressed data. The purpose is to do.

【0006】[0006]

【課題を解決するための手段】上述した問題点を解決す
るために、請求項1記載の発明は、データを所定の圧縮
処理によって圧縮して外部記憶手段に記録するととも
に、前記外部記憶手段に記録した圧縮データを所定のデ
コード処理によって元のデータに戻し、該元のデータに
基づいて音信号を生成する信号処理装置において、発音
指示を発生する発音指示手段と、該発音指示に先立っ
て、前記圧縮データの所定の開始位置から所定の部分ま
でを予めデコード処理して元のデータに戻し、先頭デー
タとして所定の記憶手段に記憶し、該発音指示の発生に
応じて、前記所定の部分以降の圧縮データのデコード処
理を開始するとともに、前記所定の記憶手段に記憶され
た先頭データに基づいて音信号の発生を開始し、該先頭
データに基づいた音信号の発生に引き続いて先ほど開始
した前記デコード処理の結果生成された元のデータに基
づいて音信号を生成する演算手段とを設けてなるもので
ある。まあt、請求項2記載の発明は、請求項1記載の
発明において、前記演算手段の前記デコード処理は、所
定量の圧縮データ単位で実行され、かつ、該所定量の圧
縮データを再生して得られた元のデータに基づいて、該
所定量の圧縮データのデコード処理に要するデコード時
間より長い時間の音信号が生成可能であることを特徴と
する。また、請求項3に記載の発明は、請求項2記載の
発明において、前記演算手段は、前記先頭データに基づ
く音信号の生成期間内に、前記所定量の圧縮データのデ
コード処理が可能であることを特徴とする。また、請求
項4記載の発明は、所定のサンプル周期毎に波形サンプ
ルを供給する供給手段と、所定数のサンプルを記憶する
第1のバッファセットと、所定数のサンプルを記憶する
第2のバッファセットと、供給される波形サンプルを、
該第1のバッファセットと第2のバッファセットに交互
に所定数ずつ順次書き込む手段と、該書込手段による該
第1及び第2バッファセットへの所定数波形サンプルの
書込終了に応じて、書込の終了したバッファセットに記
憶された所定数の波形サンプルに基づく波形圧縮を実行
し、該バッファセット上に圧縮波形データを生成する演
算手段と、該演算手段の波形圧縮処理の終了に応じて、
該圧縮波形データを該バッファセットより外部記憶に転
送する転送手段とを備え、該演算手段が該所定数の波形
サンプルを圧縮するのに要する圧縮時間、および、該転
送手段が該圧縮波形データを転送するのに要する転送時
間が、それぞれ、該供給手段より所定数の波形サンプル
が供給される期間より短いことを特徴とする。
In order to solve the above-mentioned problems, the invention according to claim 1 compresses data by a predetermined compression process and records it in an external storage means, and at the same time, in the external storage means. In the signal processing device for returning the recorded compressed data to the original data by a predetermined decoding process and generating the sound signal based on the original data, a sounding instruction means for generating a sounding instruction, and prior to the sounding instruction, The compressed data from a predetermined start position to a predetermined portion is previously decoded and restored to the original data, stored as predetermined data in a predetermined storage means, and after the predetermined portion, in response to the generation of the sounding instruction. The decoding process of the compressed data is started, the sound signal is started to be generated based on the head data stored in the predetermined storage means, and the sound signal based on the head data is generated. Following the generation is made by providing a calculating means for generating a sound signal on the basis of the original data generated as a result of the decoding process started earlier. According to the invention described in claim 2, in the invention described in claim 1, the decoding process of the arithmetic means is executed in a unit of a predetermined amount of compressed data, and the predetermined amount of compressed data is reproduced. It is characterized in that it is possible to generate a sound signal of a time longer than the decoding time required for the decoding processing of the predetermined amount of compressed data based on the obtained original data. According to a third aspect of the present invention, in the second aspect of the invention, the arithmetic means is capable of decoding the predetermined amount of compressed data within a generation period of a sound signal based on the head data. It is characterized by Further, the invention according to claim 4 is a supply means for supplying a waveform sample for each predetermined sample period, a first buffer set for storing a predetermined number of samples, and a second buffer for storing a predetermined number of samples. The set and the waveform sample supplied
In response to the means for sequentially writing a predetermined number of data in the first buffer set and the second buffer set alternately, and in response to the completion of writing a predetermined number of waveform samples in the first and second buffer sets by the writing means. Depending on the operation means for executing the waveform compression based on the predetermined number of the waveform samples stored in the buffer set which has been written and generating the compressed waveform data on the buffer set, and the completion of the waveform compression processing of the operation means. hand,
Transfer means for transferring the compressed waveform data from the buffer set to an external storage, the compression time required for the arithmetic means to compress the predetermined number of waveform samples, and the transfer means for transferring the compressed waveform data. The transfer time required for transfer is shorter than the period in which a predetermined number of waveform samples are supplied from the supply means.

【0007】[0007]

【作用】外部記憶手段に記録された圧縮データの任意の
位置からデコード処理を行なう場合、該デコード処理に
先立って、圧縮データのデコード開始位置から所定の部
分までを演算手段によって予め元のデータに戻した後、
該データを所定の記憶手段に記憶する。そして、上記所
定の部分以降のデコード処理の準備が整った時点で、所
定の記憶手段に記憶したデコードされたデータを出力す
るとともに、該データの出力に引き続いて所定の部分以
降の圧縮データを演算手段によって順次デコード処理を
行なって出力する。
When performing the decoding process from an arbitrary position of the compressed data recorded in the external storage means, prior to the decoding process, from the decoding start position of the compressed data to a predetermined portion is converted into the original data in advance by the calculating means. After returning
The data is stored in a predetermined storage means. Then, when the preparation for the decoding process after the predetermined part is completed, the decoded data stored in the predetermined storage means is output, and the compressed data after the predetermined part is calculated following the output of the data. The means sequentially perform decoding processing and output.

【0008】[0008]

【実施例】次に図面を参照してこの発明の実施例につい
て説明する。図1はこの発明の一実施例の構成を示すブ
ロック図である。パネルスイッチ1は、同期再生の開
始、停止を指示、マークしたブロックの頭出しを指定、
また、同期再生するトラックを指定するためのキーなど
から構成されており、これらのキーの状態はCPU(中
央処理装置)5へ供給される。また、ディスプレイ2は
上記パネルスイッチ1による指示等、当該装置の状態を
表示する。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. Panel switch 1 instructs start and stop of synchronized playback, specifies cueing of marked blocks,
Further, it is composed of keys for designating tracks to be synchronously reproduced, and the states of these keys are supplied to a CPU (central processing unit) 5. Further, the display 2 displays the state of the device, such as an instruction by the panel switch 1.

【0009】ここで、パネルスイッチ1の一例を図2
(a)に示す。この図において、パネルスイッチ1は、
テンキー、録音再生の開始するキー、動作停止を指示す
るキー、再生トラックやデータ位置を指示するキー等か
ら構成されている。具体的には、再生の開始を指示する
「PLAY」キー1a、録音の開始を指示する「RE
C」キー1b、上記再生および録音を停止させる「ST
OP」キー1c、どのトラックまたは位置から再生する
かを指示する「トラック」キー1dおよび「位置」キー
1e、後述する同期再生を行なう先頭位置を指示する
(マークする)「マーク」キー1f、そして、同期再生
の開始を指示する「同期再生」キー1gからなる。ま
た、上述した各種キーに付帯して数値を入力するための
テンキー1hがある。
Here, an example of the panel switch 1 is shown in FIG.
(A). In this figure, the panel switch 1 is
It is composed of a numeric keypad, a key for starting recording / reproducing, a key for instructing stop of operation, a key for instructing a reproduction track and a data position, and the like. Specifically, a "PLAY" key 1a for instructing start of reproduction and "RE" for instructing start of recording
C "key 1b," ST "to stop the above playback and recording
"OP" key 1c, "track" key 1d and "position" key 1e for instructing from which track or position reproduction is to be performed, "mark" key 1f for instructing (marking) a start position for carrying out synchronous reproduction described later, and , A "synchronous reproduction" key 1g for instructing the start of synchronous reproduction. There is also a numeric keypad 1h for inputting a numerical value in addition to the various keys described above.

【0010】ディスプレイ2には、再生中のトラック名
や音色の種類、あるいは、押下されたキーによっては同
期再生されているトラック位置等が表示される。なお、
録音データはブロック単位で後述する外部記憶装置9に
記憶されており、1ブロックが1024サンプルのデー
タからなる。図2(b)ではトラックキー1dが押下さ
れた際の表示例を示しており、この例の場合、トラック
名と、該トラックの演奏楽器名が表示されている。ま
た、図2(c)では「位置」キー1eが押下された際の
表示例を示しており、所定のトラックにおいて、全体で
2600ブロック中の800ブロック目が指定されたこ
とが、数値とともに棒グラフで表されている。
The display 2 displays the name of the track being reproduced, the type of tone color, or the position of the track being reproduced synchronously depending on the pressed key. In addition,
The recording data is stored in the external storage device 9 described later in block units, and one block consists of 1024 sample data. FIG. 2B shows a display example when the track key 1d is pressed. In this example, the track name and the playing instrument name of the track are displayed. Further, FIG. 2C shows a display example when the "position" key 1e is pressed, and the fact that the 800th block out of the 2600 blocks in total is designated in a predetermined track is indicated by a bar graph together with numerical values. It is represented by.

【0011】CPU5は所定のプログラムを実行し、当
該装置の各部を制御する。プログラムROM(読み出し
専用メモリ)6には、当該装置において実行される上記
プログラム(後述)が記憶されている。ワーキングRA
M(ランダムアクセスメモリ)7には上記CPU5によ
る演算結果等が記憶される。また、テンポラリRAM8
には圧縮データをデコートする際に、同期再生される最
初の部分のデータが記憶される。外部記憶装置は、圧縮
データを記憶するものであり、例えば、ハードディス
ク、あるいはDRAMやフラッシュメモリのような半導
体メモリや光磁気ディスク等からなる。DMA(ダイナ
ミックメモリアクセス)回路14は、CPUからの指示
に応じて各種メモリや外部記憶、ADC等の間のデータ
転送を行う。
The CPU 5 executes a predetermined program to control each section of the device. A program ROM (read-only memory) 6 stores the above-mentioned program (described later) executed in the device. Working RA
The M (random access memory) 7 stores the calculation result by the CPU 5 and the like. In addition, temporary RAM8
At the time of decoding the compressed data, the data of the first portion to be synchronously reproduced is stored in the. The external storage device stores compressed data, and is composed of, for example, a hard disk, a semiconductor memory such as a DRAM or a flash memory, a magneto-optical disk, or the like. A DMA (Dynamic Memory Access) circuit 14 performs data transfer between various memories, external storage, ADC, etc. according to an instruction from the CPU.

【0012】次に、演算器10はDFTベースのATC
(Adaptive Transform Corder)の方法に基づく、圧縮
演算(エンコード)および再生演算(デコード)を行な
う。圧縮演算はブロック単位で行なわれるようになって
おり、1ブロックが1024波形サンプルからなってい
る。演算器10は図3に示すブロック図のような構成と
なっており、該内部には1回の演算に用いられるブロッ
ク単位のバッファ(ABUF(i),BBUF(i);
i=0,1)がそれぞれ2組設けられており、連続した
圧縮演算のために、交互に用いられる。言換えると、バ
ッファABUF(i)は圧縮されていないリニア波形の
ためのバッファであり、バッファBBUF(i)は圧縮
された波形のためのバッファである。
Next, the arithmetic unit 10 is a DFT-based ATC.
A compression calculation (encoding) and a reproduction calculation (decoding) are performed based on the (Adaptive Transform Corder) method. The compression calculation is performed in block units, and one block is composed of 1024 waveform samples. The arithmetic unit 10 has a structure as shown in the block diagram of FIG. 3, in which buffers (ABUF (i), BBUF (i);
i = 0, 1) are provided in two sets, and are alternately used for continuous compression calculation. In other words, the buffer ABUF (i) is the buffer for the uncompressed linear waveform and the buffer BBUF (i) is the buffer for the compressed waveform.

【0013】次に、ADC(アナログ/デジタル変換
器)11はアナログ信号をデジタル信号に変換する。こ
のデジタル信号に対して圧縮が行なわれる。DAC(デ
ジタル/アナログ変換器)12はデコードされた圧縮デ
ータをアナログ信号に変換し、図示しないサウンドシス
テムへ供給する。サウンドシステムでは上記アナログ信
号をスピーカ等により楽音(または音声)として出力す
る。また、タイマ13は割込み等をCPU5にかけるた
めの所定のクロックパルスを生成する。
Next, an ADC (analog / digital converter) 11 converts an analog signal into a digital signal. The compression is performed on this digital signal. A DAC (digital / analog converter) 12 converts the decoded compressed data into an analog signal and supplies it to a sound system (not shown). The sound system outputs the analog signal as a musical sound (or voice) through a speaker or the like. The timer 13 also generates a predetermined clock pulse for applying an interrupt or the like to the CPU 5.

【0014】次に、上述した構成による動作について、
図4〜図6に示すタイムチャートを参照して説明する。 [RECタイムチャート]まず、図4において、REC
キー1bが押下されると、ADC11によってデジタル
信号に変換されたデータがCPU5によって演算器10
のバッファABUFにブロック(1024サンプル)単
位で順次格納される。まず、バッファABUF(0)に
最初の1ブロック目(以下、第0ブロックという)のデ
ータが格納される。第0ブロックのデータが全て格納さ
れると、該バッファABUF(0)のデータが演算器に
よって圧縮が開始される。この圧縮時間を符号Dで示
す。この圧縮時に、バッファABUF(1)に次の第2
ブロック(「1」で示されている)のデータが格納され
ていく。また、圧縮されたデータはバッファBBUF
(0)に書き込まれる。そして、第0ブロックのデータ
圧縮が終了すると、バッファBBUF(0)のデータを
外部記憶装置9へ書き込む。この書き込みの時間を符号
Sで示す。この書き込みの間にも、バッファABUF
(1)へは第1ブロックのデータが格納されていく。
Next, regarding the operation of the above-mentioned configuration,
This will be described with reference to the time charts shown in FIGS. [REC time chart] First, referring to FIG.
When the key 1b is pressed, the data converted into the digital signal by the ADC 11 is processed by the CPU 5 by the arithmetic unit 10
Are sequentially stored in the buffer ABUF in units of blocks (1024 samples). First, the data of the first block (hereinafter referred to as the 0th block) is stored in the buffer ABUF (0). When all the data of the 0th block is stored, the data in the buffer ABUF (0) is compressed by the arithmetic unit. This compression time is indicated by symbol D. During this compression, the buffer ABUF (1) is
The data of the block (indicated by "1") is stored. In addition, the compressed data is stored in the buffer BBUF.
Written to (0). Then, when the data compression of the 0th block is completed, the data of the buffer BBUF (0) is written to the external storage device 9. The time of this writing is indicated by the symbol S. During this writing, the buffer ABUF
The data of the first block is stored in (1).

【0015】上記第1ブロックのデータの格納が終了す
ると、次に、該データの圧縮が行なわれ、圧縮データは
バッファBBUF(1)に書き込まれる。そして、デー
タ圧縮が終了すると、バッファBBUF(1)に書き込
まれた圧縮データは外部記憶装置へ書き込まれる。この
間に、バッファABUF(0)には、第2ブロックのデ
ータが格納されていく。以下、同様にして、バッファA
BUF(0),(1)およびバッファBBUF(0),
(1)を交互に用いることで連続して圧縮を行なってい
く。なお、この場合には、バッファBBUFはシングル
でもよい。あるいは、バッファABUF上で演算を行な
うようにすれば、バッファBBUFは1つも必要ない。
When the storage of the data of the first block is completed, the data is then compressed and the compressed data is written in the buffer BBUF (1). When the data compression is completed, the compressed data written in the buffer BBUF (1) is written in the external storage device. During this period, the data of the second block is stored in the buffer ABUF (0). Thereafter, similarly, the buffer A
BUF (0), (1) and buffer BBUF (0),
The compression is continuously performed by alternately using (1). In this case, the buffer BBUF may be single. Alternatively, if the calculation is performed on the buffer ABUF, no buffer BBUF is required.

【0016】[PLAYタイムチャート]まず、図5に
おいて、PLAYキー1aが押下されると、外部記憶装
置9から第0ブロックの圧縮データを読み込み、バッフ
ァBBUF(0)に格納する。圧縮データの格納が終了
すると、次に、演算器10によるデコードが開始され
る。このデコードされた第0ブロックのデータはバッフ
ァABUF(0)に格納されていく。そして、デコード
が終了すると、バッファABUF(0)に格納された第
0ブロックのデータは順次DAC12に供給されてアナ
ログ信号に変換される。この間に、次の第1ブロックの
圧縮データを外部記憶装置9から読み込み、バッファB
BUF(1)に格納していく。そして、圧縮データの格
納が終了すると、演算器によるデコードが行なわれ、デ
コードされた第1ブロックのデータはバッファABUF
(1)に格納されていく。
[PLAY TIME CHART] First, in FIG. 5, when the PLAY key 1a is pressed, the compressed data of the 0th block is read from the external storage device 9 and stored in the buffer BBUF (0). When the storage of the compressed data is completed, the decoding by the arithmetic unit 10 is started next. The decoded data of the 0th block is stored in the buffer ABUF (0). When the decoding is completed, the 0th block data stored in the buffer ABUF (0) is sequentially supplied to the DAC 12 and converted into an analog signal. In the meantime, the compressed data of the next first block is read from the external storage device 9 and the buffer B
Store in BUF (1). Then, when the storage of the compressed data is completed, decoding is performed by the arithmetic unit, and the decoded data of the first block is stored in the buffer ABUF.
It is stored in (1).

【0017】上記外部記憶装置9からの圧縮データをバ
ッファBBUF(i)に格納し、さらに、これをデコー
ドする合計時間(S+D)は、バッファABUF(i)
からDAC12へデコードされたデータを供給する(ア
ナログ変換する)時間Eより必ずしも短い必要はなく、
各々が時間Eより短ければよい。すなわち、上記第0ブ
ロックのデコードされたデータがDAC12に全て供給
されるまでには、上記第1ブロックの圧縮データの全て
は既にデコードされてバッファABUF(1)に格納さ
れている。したがって、第0ブロックのデコードされた
データ(バッファABUF(0))のDAC12への供
給が終了すると、直ちに、第1ブロックのデコードされ
たデータ(バッファABUF(1))をDAC12へ供
給し始める。以下、同様にして、バッファABUF
(0),(1)およびバッファBBUF(0),(1)
を交互に用いることで、第2、第3ブロックの圧縮デー
タを順次デコードし、該デコードされたデータを連続し
てDAC12へ供給する。
The total time (S + D) for storing the compressed data from the external storage device 9 in the buffer BBUF (i) and decoding it is the buffer ABUF (i).
Is not necessarily shorter than the time E for supplying the decoded data from the DAC 12 (analog conversion),
Each should be shorter than the time E. That is, by the time all the decoded data of the 0th block is supplied to the DAC 12, all of the compressed data of the first block has already been decoded and stored in the buffer ABUF (1). Therefore, as soon as the supply of the decoded data of the 0th block (buffer ABUF (0)) to the DAC 12 is completed, the supply of the decoded data of the first block (buffer ABUF (1)) to the DAC 12 is started. Thereafter, similarly, the buffer ABUF
(0), (1) and buffers BBUF (0), (1)
Are alternately used, the compressed data of the second and third blocks are sequentially decoded, and the decoded data are continuously supplied to the DAC 12.

【0018】[途中再生タイムチャート]次に、図6に
おいて、マークされた任意の位置から再生する場合につ
いて説明する。例えば、上述した図5に示すタイムチャ
ートにおいて、マークされた位置から再生する場合に
は、まず、所定の時間分(HT;ヘッドタイム)のデー
タを予め演算器10によってデコードしてテンポラリー
RAM8に記憶しておく。この場合には、第1ブロック
のデータ(マークされた位置以降のデータ)と第2ブロ
ックのデータをデコードしテンポラリーRAM8に記憶
しておく。そして、途中再生開始のタイミングを指示す
る同期パルスが供給されると、まず、上述したテンポラ
リーRAM8に記憶されていたデータ(マークされた位
置のアドレス以降のデータ)を所定サンプリング速度で
順次読み出してDAC12へ供給し、サウンドシステム
から出力する。また、これと同時に、第3ブロックの圧
縮データを外部記憶装置9から読み込んでバッファBB
UF(0)へ格納する。
[Midway Playback Time Chart] Next, the case of playing back from an arbitrary position marked in FIG. 6 will be described. For example, in the time chart shown in FIG. 5 described above, when reproducing from a marked position, first, data for a predetermined time (HT; head time) is previously decoded by the arithmetic unit 10 and stored in the temporary RAM 8. I'll do it. In this case, the data of the first block (data after the marked position) and the data of the second block are decoded and stored in the temporary RAM 8. Then, when a sync pulse for instructing the timing of starting reproduction on the way is supplied, first, the data (data after the address at the marked position) stored in the temporary RAM 8 is sequentially read at a predetermined sampling speed, and the DAC 12 is read. To the sound system. At the same time, the compressed data of the third block is read from the external storage device 9 and stored in the buffer BB.
Store in UF (0).

【0019】そして、上記格納が終了すると、演算器1
0によりバッファBBUF(0)の圧縮データをデコー
ドし、これをバッファABUF(0)へ格納していく。
この時間、上記第1ブロックのデータと第2ブロックの
データは順次DAC12へ出力されている。そして、第
2ブロックのデータが出力し終えると、引き続き、バッ
ファABUF(0)に格納された第3ブロックのデータ
をDAC12へ出力する。また、これと並行して、第4
ブロックの圧縮データを外部記憶装置9から読み込み、
バッファBBUF(1)へ格納する。以下、上述した通
常のPLAY動作と同様に、バッファABUF(0),
(1)およびBBUF(0),(1)を交互に用いるこ
とで、順次、第5、第6、……第nブロックのデータを
デコードし、DAC12へ出力する。なお、この場合、
同期パルスが供給されるまでの処理をモードフラグSC
を「1」(パルス待ち)とし、予めデコードしておいた
データの再生処理をモードフラグSCを「2」とし、さ
らに、通常の再生処理をモードフラグSCを「0」とし
て表す。
When the above storage is completed, the arithmetic unit 1
With 0, the compressed data in the buffer BBUF (0) is decoded and stored in the buffer ABUF (0).
At this time, the data of the first block and the data of the second block are sequentially output to the DAC 12. Then, when the output of the data of the second block is completed, the data of the third block stored in the buffer ABUF (0) is continuously output to the DAC 12. In parallel with this, the fourth
Read the compressed data of the block from the external storage device 9,
Store in buffer BBUF (1). Thereafter, as in the normal PLAY operation described above, the buffers ABUF (0),
By alternately using (1) and BBUF (0) and (1), the data of the fifth, sixth, ... Nth blocks are sequentially decoded and output to the DAC 12. In this case,
Mode flag SC for processing until the synchronization pulse is supplied
Is set to "1" (waiting for a pulse), the reproduction process of predecoded data is represented by a mode flag SC of "2", and the normal reproduction process is represented by a mode flag SC of "0".

【0020】ここで、ヘッドタイムHTの設定について
説明する。通常、ヘッドタイムHTは1フレーム以上、
2フレーム以下となる。これは、例えば、デコード演算
を無限に速くすると、遅れ時間は外部記憶装置9からの
圧縮データの読み込みに要する時間のみとなる。しかし
ながら、デコード演算を速くするには、当然のことなが
ら高速な演算器が必要となり、このため装置規模が大き
くなるとともに、コストも大となる。したがって、一般
的には、最低必要な演算速度(S+D≦(1/50KH
z)×1024、すなわち、約20msec)程度で設
計するのが望ましい。その場合、S+Dが1フレーム分
の再生時間Eに近付き、この結果、途中再生時の遅れは
1〜2フレーム相当時間となる。
Here, the setting of the head time HT will be described. Normally, the head time HT is 1 frame or more,
2 frames or less. For example, if the decoding operation is infinitely fast, the delay time is only the time required to read the compressed data from the external storage device 9. However, in order to speed up the decoding operation, naturally, a high-speed arithmetic unit is required, which increases the device scale and the cost. Therefore, in general, the minimum required calculation speed (S + D ≦ (1 / 50KH
z) × 1024, that is, about 20 msec) is desirable. In that case, S + D approaches the reproduction time E for one frame, and as a result, the delay during the intermediate reproduction is 1 to 2 frames.

【0021】次に、上述したタイムチャートにおける動
作を図7〜図14に示すフローチャートを参照して説明
する。まず、RECキーオンイベント処理について図7
を参照して説明する。 [REC処理]RECキー1bが押下されると、ステッ
プSA1において、タイマ13が動作中であるか否かを
判断する。これは既にPLAY処理またはREC処理が
動作しているか否かを判断するためである。ここで、既
にPLAY処理またはREC処理が動作している場合に
は、ステップSA1における判断結果が「YES」とな
り、当該処理を終了する。
Next, the operation of the above time chart will be described with reference to the flow charts shown in FIGS. First, regarding the REC key-on event process, FIG.
Will be described with reference to. [REC Processing] When the REC key 1b is pressed, it is determined in step SA1 whether the timer 13 is operating. This is to determine whether the PLAY process or the REC process is already operating. Here, if the PLAY process or the REC process is already operating, the determination result in step SA1 is "YES", and the process is ended.

【0022】一方、PLAY処理またはREC処理がま
だ動作していない場合には、ステップSA1における判
断結果は「NO」となり、ステップSA2へ進む。ステ
ップSA2では、パネルスイッチ1に設定されたトラッ
クおよび位置を外部記憶装置9のインターフェイスに設
定する。次に、ステップSA3へ進み、演算器10をエ
ンコーダとして動作するように設定する。
On the other hand, when the PLAY process or the REC process is not operating yet, the result of the determination in step SA1 is "NO", and the process proceeds to step SA2. In step SA2, the track and position set in the panel switch 1 are set in the interface of the external storage device 9. Next, in step SA3, the arithmetic unit 10 is set to operate as an encoder.

【0023】そして、ステップSA4において、フラグ
RECを「1」に、バッファフラグiを「0」に、スト
ップフラグSFを「0」に設定する。なお、フラグRE
CはREC動作中であることを示すフラグであり、バッ
ファフラグiはバッファABUF(i)およびBBUF
(i)を指定するフラグである。また、ストップフラグ
SFは後述するSTOPキー1cが押下された場合にセ
ットされるフラグである。次に、ステップSA5へ進
み、タイマ13による割込みをスタートし、当該処理を
終了する。
Then, in step SA4, the flag REC is set to "1", the buffer flag i is set to "0", and the stop flag SF is set to "0". The flag RE
C is a flag indicating that the REC operation is in progress, and the buffer flag i is the buffers ABUF (i) and BBUF.
This is a flag that specifies (i). The stop flag SF is a flag that is set when the STOP key 1c described later is pressed. Next, the process proceeds to step SA5, the timer 13 starts an interrupt, and the process ends.

【0024】[タイマ割込み処理]上記ステップSA5
においてタイマ13による割込みがスタートすると、タ
イマ13が所定のタイミングでCPU5に割込みをかけ
る。割込みがかかると、CPU5は図8に示すタイマ割
込み処理を実行する。この図において、まず、ステップ
SB1において、フラグRECが「1」であるか否かを
判断する。この場合、フラグRECは「1」であるの
で、ステップSB1における判断結果は「YES」とな
り、ステップSB2へ進む。ステップSB2では、AD
C11により入力波形をデジタル変換し、このデジタル
データをバッファABUF(i)に順次格納する(この
場合、iは「0」である)。
[Timer Interrupt Processing] Step SA5 above
When the interrupt by the timer 13 is started in, the timer 13 interrupts the CPU 5 at a predetermined timing. When an interrupt occurs, the CPU 5 executes the timer interrupt process shown in FIG. In this figure, first, in step SB1, it is determined whether or not the flag REC is "1". In this case, since the flag REC is "1", the determination result in step SB1 is "YES", and the process proceeds to step SB2. In step SB2, AD
The input waveform is digitally converted by C11, and the digital data is sequentially stored in the buffer ABUF (i) (in this case, i is "0").

【0025】次に、ステップSB3において、バッファ
ABUF(i)に全てのデータが格納されたか否かを判
断する。そして、このステップSB3における判断結果
が「YES」の場合、すなわち1ブロックのデータが全
て格納された場合には、ステップSB4へ進み、バッフ
ァフラグiを反転し(この場合、「1」とし)、次に読
み込むデータのためのバッファを準備した後、通常の処
理へ戻る。したがって、次の割込み時には、次にブロッ
クのデータがバッファABUF(1)に格納される。
Next, in step SB3, it is determined whether or not all the data has been stored in the buffer ABUF (i). Then, if the determination result in step SB3 is "YES", that is, if all the data of one block is stored, the process proceeds to step SB4, the buffer flag i is inverted (in this case, "1" is set), After preparing the buffer for the data to be read next, it returns to the normal processing. Therefore, at the next interruption, the data of the next block is stored in the buffer ABUF (1).

【0026】一方、上記ステップSB3における判断結
果が「NO」の場合にはそのまま通常の処理へ戻り、次
の割込み時に、ステップSB2において引き続き同じバ
ッファABUF(0)にデータを格納する。これは、上
記ステップSB3における判断結果が「YES」になる
まで繰り返し行なわれる。なお、バッファABUF7の
ディジタルデータの書き込みをCPUではなく、DMA
回路に実行させるようにして、フラグRECが「1」の
場合には、DMA転送を指示して直ちに戻り、次いで、
バッファABUFに全てのデータが格納されたらDMA
インターフェースから割り込みを発生し、その割り込み
により、ステップSB4を実行して、バッファフラグi
を反転するようにしてもよい。このような方式によれ
ば、CPUの負荷が軽減され、マルチトラックのときに
非常に有利である。以上のようにして、タイマ割込みが
発生する度に、ADC11より読み込んだデータをバッ
ファABUF(0)とABUF(1)とに交互に格納し
ていく。
On the other hand, when the result of the determination in step SB3 is "NO", the process returns to the normal processing as it is, and at the next interruption, the data is continuously stored in the same buffer ABUF (0) in step SB2. This is repeated until the result of the determination in step SB3 is "YES". In addition, the writing of the digital data in the buffer ABUF7 is performed by the DMA instead of the CPU.
When the flag REC is "1" by causing the circuit to execute, DMA transfer is instructed to immediately return, and then,
DMA when all data is stored in the buffer ABUF
An interrupt is generated from the interface, the step SB4 is executed by the interrupt, and the buffer flag i
May be reversed. According to such a method, the load on the CPU is reduced, which is very advantageous in the case of multitrack. As described above, the data read from the ADC 11 is alternately stored in the buffers ABUF (0) and ABUF (1) each time the timer interrupt occurs.

【0027】そして、上記ステップSB4において、バ
ッファフラグiを反転した時、すなわち、1ブロックの
データの格納が終了すると、演算器10は、上記バッフ
ァABUF(i)に格納されたデータの圧縮を開始し、
所定時間D経過後、該圧縮データはバッファBBUF
(i)へ格納される。
When the buffer flag i is inverted in step SB4, that is, when the storage of one block of data is completed, the arithmetic unit 10 starts the compression of the data stored in the buffer ABUF (i). Then
After the lapse of a predetermined time D, the compressed data is stored in the buffer BBUF.
It is stored in (i).

【0028】そして、上記圧縮が終了すると、タイマ1
3によってCPU5に割込みがかかり、図9に示すエン
コード終了割込み処理が実行される。 [エンコード終了割込み処理]この図において、まず、
ステップSC1において、ストップフラグSFが「1」
であるか否かを判断する。この場合、STOPキー1c
が押下されていないとすると、ステップSC1における
判断結果は「NO」となり、ステップSC2へ進む。ス
テップSC2では、バッファBBUF(i)に格納され
た圧縮データを1ブロック分、外部記憶装置9へ送出さ
せるべく、DMAへ指示する。次いで、ステップSC3
において、1ブロック分のデータの送出が終了したら、
割り込みを発生させて、外部記憶ヘッダを更新させる指
示をDMAへ指示する。上記割り込みは、DMAインタ
ーフェースから転送終了時に発せられる。この結果、D
MAにより、バッファBBUF(i)のデータが、順
次、外部記憶装置9に転送される。CPU5は、上記ス
テップS3の処理を終了すると、直ちに、通常の処理へ
戻る。以上の処理をSTOPキー1cが押下されるまで
繰り返し、外部記憶装置9へ順次圧縮データを書込む。
When the above compression is completed, the timer 1
3, the CPU 5 is interrupted, and the encode end interrupt process shown in FIG. 9 is executed. [Encoding end interrupt process] In this figure, first,
In step SC1, the stop flag SF is "1".
Or not. In this case, STOP key 1c
If is not pressed, the determination result in step SC1 is "NO", and the process proceeds to step SC2. In step SC2, the DMA is instructed to send one block of the compressed data stored in the buffer BBUF (i) to the external storage device 9. Then, step SC3
In, when the transmission of data for one block is completed,
The DMA is instructed to generate an interrupt and update the external storage header. The interrupt is issued from the DMA interface at the end of transfer. As a result, D
The MA sequentially transfers the data in the buffer BBUF (i) to the external storage device 9. When the CPU 5 finishes the process of step S3, it immediately returns to the normal process. The above processing is repeated until the STOP key 1c is pressed, and the compressed data is sequentially written to the external storage device 9.

【0029】そして、STOPキー1cが押下される
と、図10に示するSTOPキーオンイベント処理を実
行する。 [STOPキーオンイベント処理]まず、ステップSD
1において、フラグRECが「1」であるか否かを判断
する。この場合、これまで上述したRECキーオンイベ
ント処理を行なっていたので、フラグRECは「1」で
ある。したがって、ステップSD1における判断結果は
「YES」となり、ステップSD2へ進む。ステップS
D2ではストップフラグSFを「1」とした後、通常の
処理へ戻る。ここで、上述したデータ圧縮終了時に割込
みがかかると、図9に示すステップSC1における判断
結果が「YES」となり、ステップSC4へ進む。ステ
ップSC4ではタイマ割込みを停止する。そして、ステ
ップSC5において、バッファBBUF(i)の最後に
エンドマークを書込む。
Then, when the STOP key 1c is pressed, the STOP key-on event process shown in FIG. 10 is executed. [STOP key-on event processing] First, step SD
At 1, it is determined whether the flag REC is "1". In this case, since the REC key-on event process described above has been performed so far, the flag REC is "1". Therefore, the determination result in step SD1 is "YES", and the process proceeds to step SD2. Step S
At D2, the stop flag SF is set to "1", and then the normal processing is returned to. Here, if an interrupt occurs at the end of the above-described data compression, the determination result in step SC1 shown in FIG. 9 becomes "YES", and the process proceeds to step SC4. At step SC4, the timer interrupt is stopped. Then, in step SC5, the end mark is written at the end of the buffer BBUF (i).

【0030】次に、ステップSC6において、バッファ
BBUF(i)に格納された圧縮データを外部記憶装置
9の次ブロックへ書込みを開始する。この処理は、DM
Aにより実行され、外部記憶装置9のインターフェイス
からの書込み要求に応じてバッファBBUF(i)のデ
ータを、順次、外部記憶装置9に転送する。そして、バ
ッファBBUF(i)の全データを転送終了した時点で
当該書込み動作を終了する。次に、ステップSC7へ進
み、次の外部記憶装置9に対するデータ書込みのため
に、ヘッダの更新を行ない、その後、通常の処理へ戻
る。以上の処理によって、REC処理を終了する。
Next, in step SC6, writing of the compressed data stored in the buffer BBUF (i) to the next block of the external storage device 9 is started. This process is DM
The data in the buffer BBUF (i) is sequentially transferred to the external storage device 9 in response to a write request from the interface of the external storage device 9. Then, when the transfer of all the data in the buffer BBUF (i) is completed, the write operation is completed. Next, in step SC7, the header is updated to write data to the next external storage device 9, and then the process returns to normal processing. With the above processing, the REC processing ends.

【0031】次に、PLAYキーオンイベント処理につ
いて図11に示すフローチャートを参照して説明する。 [PLAY処理]PLAYキー1aが押下されると、ス
テップSE1において、タイマ13が動作中であるか否
かを判断する。これは、前述したステップSA1と同様
に、既にPLAY処理またはREC処理が動作している
か否かを判断するためである。ここで、既にPLAY処
理またはREC処理が動作している場合には、ステップ
SE1における判断結果が「YES」となり、当該処理
を終了する。
Next, the PLAY key-on event process will be described with reference to the flowchart shown in FIG. [PLAY processing] When the PLAY key 1a is pressed, it is determined in step SE1 whether or not the timer 13 is operating. This is to determine whether or not the PLAY process or the REC process is already operating, as in step SA1 described above. Here, when the PLAY process or the REC process is already operating, the determination result in step SE1 becomes "YES", and the process is ended.

【0032】一方、PLAY処理またはREC処理がま
だ動作していない場合には、ステップSE1における判
断結果は「NO」となり、ステップSE2へ進む。ステ
ップSE2では、パネルスイッチ1によって設定された
トラックおよび位置を外部記憶装置9のインターフェイ
スに設定する。次に、ステップSE3へ進み、演算器1
0をデコーダとして動作するように設定する。そして、
ステップSE4において、フラグRECを「0」に、バ
ッファフラグiを「0」に設定する。次に、ステップS
E5へ進み、タイマ割込みをスタートし、当該処理を終
了する。
On the other hand, if the PLAY process or the REC process is not operating yet, the result of the determination in step SE1 is "NO", and the process proceeds to step SE2. In step SE2, the track and position set by the panel switch 1 are set in the interface of the external storage device 9. Next, in step SE3, the computing unit 1
Set 0 to operate as a decoder. And
In step SE4, the flag REC is set to "0" and the buffer flag i is set to "0". Next, step S
The process proceeds to E5, the timer interrupt is started, and the process ends.

【0033】上記ステップSE5においてタイマがスタ
ートすると、タイマ10が所定のタイミングでCPU5
に割込みをかける。割込みがかかると、CPU5は図5
に示すタイマ割込み処理を実行する。この図において、
まず、ステップSB1において、フラグRECが「1」
であるか否かを判断する。この場合、フラグRECは
「0」であるので、ステップSB1における判断結果は
「NO」となり、ステップSB5へ進む。
When the timer is started in step SE5, the timer 10 starts the CPU 5 at a predetermined timing.
Interrupt. When an interrupt occurs, the CPU 5
The timer interrupt processing shown in is executed. In this figure,
First, in step SB1, the flag REC is "1".
Or not. In this case, since the flag REC is "0", the determination result in step SB1 is "NO", and the process proceeds to step SB5.

【0034】[通常PLAY処理]ステップSB5では
モードフラグSCが0、1、または2のいずれであるか
を判断する。ここで、現在のPLAY動作が通常の再生
動作であると、モードフラグSCは「0」であるため、
ステップSB6へ進み、通常再生動作を行なう。ステッ
プSB6ではバッファABUF(i)よりデコードされ
たデータを順次読み出す。次に、ステップSB7におい
て、上記ステップSB6において読み出されたデータの
あったか否かを判断する。
[Normal PLAY Processing] In step SB5, it is determined whether the mode flag SC is 0, 1, or 2. Here, if the current PLAY operation is a normal reproduction operation, the mode flag SC is "0".
The process proceeds to step SB6 to perform the normal reproduction operation. In step SB6, the decoded data is sequentially read from the buffer ABUF (i). Next, in step SB7, it is determined whether or not there is the data read in step SB6.

【0035】ステップSB7における判断結果が「YE
S」の場合、すなわち読み出されたデータがある場合に
はステップSB8へ進む。ステップSB8ではエンドマ
ークが検出されたか否かを判断する。そして、ステップ
SB8における判断結果が「NO」の場合にはステップ
SB9へ進む。ステップSB9ではステップSB6にお
いて読み出したデータをDACへ出力する。次に、ステ
ップSB10に進み、バッファABUF(i)にデータ
が残っているか否かを判断する。ここで、データが残っ
ている場合には、ステップSB11における判断結果は
「NO」となり、そのまま当該処理を終了し、通常の処
理へ戻る。そして、次のタイマ割込みにおいて、前回、
読み出されたデータの次のデータから順次読み出し、D
AC12へ出力する。この処理はバッファABUF
(i)にデータがなくなるまで行なわれる。
The result of the judgment in step SB7 is "YE
If "S", that is, if there is read data, the process proceeds to step SB8. In step SB8, it is determined whether the end mark is detected. Then, if the result of the determination in step SB8 is "NO", the operation proceeds to step SB9. In step SB9, the data read in step SB6 is output to the DAC. Next, in step SB10, it is determined whether data remains in the buffer ABUF (i). Here, when the data remains, the determination result in step SB11 is “NO”, the process is ended as it is, and the process returns to the normal process. And at the next timer interrupt,
Sequential reading from the data next to the read data, D
Output to AC12. This process is a buffer ABUF
This is repeated until there is no data in (i).

【0036】そして、ステップSB9においてデータを
DACへ出力した後で、バッファABUF(i)にデー
タがなくなると、ステップSB11における判断結果は
「YES」となり、ステップSB11へ進む。ステップ
SB11ではバッファフラグiを反転する。なお、この
時点(反転前)でバッファABUF(N_i)(i=0
ならばN_i=1,i=1ならばN_i=0)、すなわ
ち1つ前のバッファABUFには、既にデコードされた
次のデータが格納されており、次回からのタイマ割り込
みにおける通常プレイ処理では、該バッファのデータが
再生される。次に、ステップSB12において、外部記
憶装置9からバッファBBUF(N_i)へ圧縮データ
の次のブロックの読み込みを開始する。この処理は、D
MAに指示することにより実行され、外部記憶装置9へ
の書込み開始と同様に、外部記憶装置9からの読み込み
要求に応じて順次バッファBBUF(N_i)へ圧縮デ
ータを取り込み、1ブロック分の圧縮データを読み込む
とその動作を終了する。
After the data is output to the DAC in step SB9, if there is no more data in the buffer ABUF (i), the determination result in step SB11 is "YES", and the process proceeds to step SB11. In step SB11, the buffer flag i is inverted. At this point (before inversion), the buffer ABUF (N_i) (i = 0
If it is N_i = 1, i = 1, then N_i = 0), that is, the next buffer ABUF stores the next decoded data, and in the normal play process in the timer interrupt from the next time, The data in the buffer is reproduced. Next, in step SB12, reading of the next block of compressed data from the external storage device 9 to the buffer BBUF (N_i) is started. This process is D
This is executed by instructing the MA, and similarly to the start of writing to the external storage device 9, the compressed data is sequentially fetched into the buffer BBUF (N_i) in response to the read request from the external storage device 9, and the compressed data for one block is acquired. When is read, the operation ends.

【0037】そして、次の割込みでは他方のバッファに
対して同様の処理が行なわれる。すなわち、バッファA
BUF(0),(1)およびBBUF(0),(1)に
対して交互に処理が行なわれる。そして、ステップSB
6において、読み込んだデータがエンドマークの場合
(データの最後の場合)には、ステップSB8における
判断結果が「YES」となり、ステップSB13へ進
む。ステップSB13ではタイマ割込みを停止した後、
通常の処理へ戻る。また、読み込みデータがない場合に
はステップSB7における判断結果は「NO」となり、
そのまま当該処理を終了し、通常の処理へ戻る。
Then, at the next interrupt, the same processing is performed on the other buffer. That is, buffer A
BUF (0), (1) and BBUF (0), (1) are alternately processed. And step SB
In 6, when the read data is the end mark (in the case of the end of the data), the determination result in step SB8 is “YES”, and the process proceeds to step SB13. In step SB13, after stopping the timer interrupt,
Return to normal processing. If there is no read data, the determination result in step SB7 is "NO",
The process is finished as it is, and the process returns to the normal process.

【0038】[マーク処理]上述した通常のPLAY処
理において、図5に示すMPの位置でマークキー1fが
押下されると、図12に示すマーク処理が実行される。
まず、ステップSF1において、フラグRECが「0」
であるか否かを判断する。ここで、REC処理が行なわ
れている場合には、フラグRECが「1」となっている
ので、ステップSF1における判断結果は「NO」とな
り、そのまま当該処理を終了し、通常の処理へ戻る。
[Mark Processing] In the above-mentioned normal PLAY processing, when the mark key 1f is pressed at the position of MP shown in FIG. 5, the mark processing shown in FIG. 12 is executed.
First, in step SF1, the flag REC is "0".
Or not. Here, when the REC process is being performed, the flag REC is "1", so the result of the determination in step SF1 is "NO", and the process is ended and the process returns to the normal process.

【0039】一方、PLAY処理が行なわれている場合
には、ステップSF1における判断結果は「YES」と
なり、ステップSF2へ進む。ステップSF2では、マ
ークキー1fにより再生指定されたトラックの現在読み
出し位置を検出し、これをマークポインタMPに格納す
る。次に、ステップSF3において、レジスタMPに応
じてヘッドタイムHTを設定する。そして、ステップS
F4へ進み、MP〜MP+HT分のフレームに対応する
2ブロック分のデータを予め外部記憶装置9から読み込
み、デコードした後、テンポラリRAM8へ書込む。そ
して、当該処理を終了し、通常の処理へ戻る。
On the other hand, when the PLAY process is being performed, the result of the determination in step SF1 is "YES", and the process proceeds to step SF2. In step SF2, the current read position of the track designated for reproduction by the mark key 1f is detected and stored in the mark pointer MP. Next, in step SF3, the head time HT is set according to the register MP. And step S
Proceeding to F4, the data of 2 blocks corresponding to the frames of MP to MP + HT is read from the external storage device 9 in advance, decoded, and then written to the temporary RAM 8. Then, the process is finished and the process returns to the normal process.

【0040】[同期再生キー処理]そして、同期再生キ
ー1gが押下されると、図13に示す同期再生キー処理
が実行される。まず、ステップSG1においてタイマ割
込みを停止する。これにより、図5に示すタイマ割込み
処理が中断される。次に、ステップSG2において、演
算器10を圧縮データをデコードするためにデコーダに
設定する。次に、ステップSG3へ進み、モードフラグ
SCを「1」に設定し、その後、当該処理を終了し、通
常の処理へ戻る。以上の処理で、同期パルス待ち受け状
態に設定され、次に同期パルス(同期トリガ割り込み)
を受信したタイミングで同期再生がスタートする。
[Synchronous reproduction key processing] When the synchronous reproduction key 1g is pressed, the synchronous reproduction key processing shown in FIG. 13 is executed. First, in step SG1, the timer interrupt is stopped. As a result, the timer interrupt processing shown in FIG. 5 is interrupted. Next, in step SG2, the arithmetic unit 10 is set as a decoder for decoding the compressed data. Next, the process proceeds to step SG3, the mode flag SC is set to "1", then the process is ended, and the process returns to the normal process. With the above processing, the sync pulse standby state is set, and then the sync pulse (sync trigger interrupt)
The synchronized playback starts at the timing of receiving.

【0041】[同期トリガ割込み処理]次に、図6に示
す同期パルスが出力されると、図14に示す同期トリガ
割込み処理が実行される。まず、ステップSH1におい
て、モードフラグSCが「1」であるか否かを判断す
る。この場合、上述した同期再生キー処理において、モ
ードフラグSCが「1」に設定されているため、ステッ
プSH1における判断結果は「YES」となり、ステッ
プSH2へ進む。ステップSH2では、モードフラグS
Cを「2」に設定する。次に、ステップSH3へ進み、
マークポインタMPに基づいて、外部記憶装置9のトラ
ック中の読み込み開始ブロック(ステップSF4にて読
み込んだブロックに続くブロック)を指定する。そし
て、ステップSH4において、外部記憶装置9からのバ
ッファBBUF(0)への初めのブロック(上記ステッ
プSH3において設定された読み込み開始ブロック)の
データの読み込みを開始する。
[Synchronous trigger interrupt process] Next, when the synchronous pulse shown in FIG. 6 is output, the synchronous trigger interrupt process shown in FIG. 14 is executed. First, in step SH1, it is determined whether the mode flag SC is "1". In this case, since the mode flag SC is set to "1" in the above-described synchronous reproduction key processing, the determination result in step SH1 is "YES", and the flow proceeds to step SH2. At step SH2, the mode flag S
Set C to "2". Then, proceed to step SH3,
Based on the mark pointer MP, the read start block (the block following the block read in step SF4) in the track of the external storage device 9 is designated. Then, in step SH4, reading of the data of the first block (the read start block set in step SH3) from the external storage device 9 to the buffer BBUF (0) is started.

【0042】次に、ステップSH5において、ヘッドタ
イムHTをカウントするカウンタWTを「0」に設定
し、ステップSH6へ進む。ステップSH6ではタイマ
を再びスタートする。これによって、図5に示すタイマ
割込み処理が所定の時間間隔で実行される。なお、ステ
ップSH1において、モードフラグSCが「1」以外の
場合には、当該処理は実行されない。
Next, at step SH5, the counter WT for counting the head time HT is set to "0", and the routine proceeds to step SH6. In step SH6, the timer is restarted. As a result, the timer interrupt process shown in FIG. 5 is executed at predetermined time intervals. In step SH1, if the mode flag SC is other than "1", the process is not executed.

【0043】そして、タイマ割込みにより図5に示す処
理が実行されると、この場合、REC処理でないため、
ステップSB1における判断結果は「NO」となり、ス
テップSB5へ進む。また、この場合、上述した処理に
おいて、モードフラグSCが「2」に設定されているの
で、ステップSB5を経て、ステップSB15へ進む。
ステップSB15ではテンポラリRAM8より予めステ
ップSF4においてデコードされ、書き込まれたデータ
をタイマ割込毎に順次読み出す。
When the processing shown in FIG. 5 is executed by the timer interrupt, in this case, the REC processing is not executed.
The determination result in step SB1 is "NO", and the process proceeds to step SB5. Further, in this case, since the mode flag SC is set to "2" in the above-described processing, the process proceeds to step SB15 via step SB5.
In step SB15, the data previously decoded in step SF4 and written in the temporary RAM 8 are sequentially read at each timer interrupt.

【0044】そして、ステップSB16において、上記
データをDAC12へ出力し、アナログ信号に変換した
後、図示しないサウンドシステムより出力する。次に、
ステップSB17において、前述したカウンタWTをイ
ンクリメントし、ステップSB18へ進む。ステップS
B18ではカウンタWTがヘッドタイムHT以上になっ
たか否かを判断する。そして、カウンタWTがヘッドタ
イムHTより小さい場合、すなわち、テンポラリRAM
8に格納されたデータが全て再生されていない場合に
は、ステップSB18における判断結果は「NO」とな
り、そのまま当該処理を終了し、通常の処理へ戻る。そ
して、タイマ割込みが発生する毎に、ステップSB17
においてカウンタWTをインクリメントし、ステップS
B18においてカウンタWTがヘッドタイムHT以上に
なったか否かを判断する。
Then, in step SB16, the data is output to the DAC 12, converted into an analog signal, and then output from a sound system (not shown). next,
In step SB17, the above-mentioned counter WT is incremented, and the process proceeds to step SB18. Step S
At B18, it is determined whether or not the counter WT has reached the head time HT or more. When the counter WT is smaller than the head time HT, that is, the temporary RAM
If all the data stored in 8 has not been reproduced, the determination result in step SB18 is "NO", the process is ended as it is, and the process returns to the normal process. Then, each time a timer interrupt occurs, step SB17
At step S, the counter WT is incremented.
At B18, it is determined whether or not the counter WT has reached the head time HT or more.

【0045】そして、テンポラリRAM8のデータが全
て再生されると、ステップSB18における判断結果が
「YES」となりステップSB19へ進む。ステップS
B19ではバッファフラグiを「0」に、モードフラグ
SCを「0」(通常再生動作)に設定し、当該処理を終
了して通常の処理へ戻る。そして、次のタイマ割込みか
らは、モードフラグSCが「0」に設定されているた
め、ステップSB6〜SB13の通常再生の処理が行な
われる。一方、モードフラグSCが「1」の場合にはス
テップSB14におけるタイマ割込みエラー処理が行な
われる。(モードフラグSCに「1」をセットする図1
3の同期再生キー処理では、ステップSG1でタイマを
止めており、正常な動作ではSCが「1」の間にタイマ
割込みは発生しない。)
When all the data in the temporary RAM 8 is reproduced, the result of the determination in step SB18 is "YES" and the process proceeds to step SB19. Step S
In B19, the buffer flag i is set to "0" and the mode flag SC is set to "0" (normal reproduction operation), the process is ended and the process returns to the normal process. Since the mode flag SC is set to "0" from the next timer interrupt, the normal reproduction process of steps SB6 to SB13 is performed. On the other hand, when the mode flag SC is "1", the timer interrupt error processing in step SB14 is performed. (The mode flag SC is set to "1" in FIG.
In the synchronous reproduction key processing of No. 3, the timer is stopped in step SG1, and in normal operation, the timer interrupt does not occur while SC is "1". )

【0046】このように、本実施例では、頭出しのアド
レス(あるいはトラック上のタイミング)指示を受けた
時点で、そのブロックのデコード処理を予め済ませ、こ
れをテンポラリRAM8に格納しておくことにより、再
生スタートの指示で直ちに音出しが可能となる。この装
置によれば、聴感上の応答性能を損うことなく、データ
量に対してその圧縮率がリニアなPCMに比べ、圧縮器
の性能に応じてデータ量を1/2あるいは1/4にする
ことができる圧縮技術を効果的に利用することができ、
結果として記憶装置(HDD,MOD,MT等)の性能
限界(アクセス速度、記憶容量)から決定される最大オ
ーディオトラック数、最長録音時間を2倍あるいは4倍
等に向上させ得る。記憶装置は、エンコード、デコード
に必要な処理装置に比べ、高価、大きい、重いので2
台、4台と複数の記憶装置を装備するよりも、本装置採
用による効果は大きい。
As described above, according to the present embodiment, when the address (or the timing on the track) for cueing is received, the decoding process of the block is completed in advance, and this is stored in the temporary RAM 8. , The sound can be output immediately by the instruction to start the reproduction. According to this device, the data amount is reduced to ½ or ¼ depending on the performance of the compressor, as compared with the PCM whose compression rate is linear with respect to the data amount without impairing the audible response performance. Can effectively utilize the compression technology that can
As a result, the maximum number of audio tracks and the maximum recording time, which are determined from the performance limits (access speed, storage capacity) of the storage device (HDD, MOD, MT, etc.), can be doubled or quadrupled. Storage devices are expensive, large, and heavy compared to the processing devices required for encoding and decoding.
The effect of adopting this device is greater than that of equipping four, four, and a plurality of storage devices.

【0047】なお、上述した実施例では、演算器、AD
CおよびDACを1つとしたが、複数設けたり、時分割
的な処理によってマルチトラックレコーダとしてもよ
い。マルチトラックレコーダとした場合のREC処理を
示すタイムチャートを図15に示す。図15において
は、4トラックのマルチトラックレコードを実現してお
り、トラックTr1、Tr2およびTr3は録音トラッ
ク、トラックTr4は再生トラックとしている。図にお
いて、バッファABUFでの圧縮、バッファBBUF
(0)に書き込み処理は図4と同様にトラックTr1、
Tr2およびTr3の各々に対して行なわれる。シング
ルトラックの場合と異なる点は、外部記憶装置9へ書き
込む時間Sである。4トラックの場合には、次の圧縮が
終了するまでに、4トラック分の圧縮データを外部記憶
装置9へ転送する必要があるため、最長でも、1ブロッ
クの時間Bの1/4以下にする。
In the above embodiment, the arithmetic unit, AD
Although one C and one DAC are provided, a plurality of C and DAC may be provided or a multi-track recorder may be provided by time-divisional processing. FIG. 15 shows a time chart showing the REC processing in the case of a multi-track recorder. In FIG. 15, a 4-track multi-track record is realized, and the tracks Tr1, Tr2 and Tr3 are recording tracks and the track Tr4 is a reproducing track. In the figure, compression in buffer ABUF, buffer BBUF
The writing process to (0) is performed by the track Tr1, as in FIG.
This is performed for each of Tr2 and Tr3. The difference from the case of the single track is the time S for writing to the external storage device 9. In the case of 4 tracks, it is necessary to transfer the compressed data for 4 tracks to the external storage device 9 by the time the next compression is completed. Therefore, at most, it is 1/4 or less of the time B of one block. .

【0048】また、図4に示したREC処理のタイムチ
ャートにおいて、圧縮時間Dと外部記憶装置への転送時
間Sの和が1ブロックの時間Bより大であるとき、すな
わち、D+S>Bとなる時は、REC処理のタイムチャ
ートは図16に示すようになる。この場合、2つのバッ
ファBBUFを用いているため、外部記憶装置への書込
みを次のブロックのエンコード開始前までに終了しなく
てもよい。言換えると、外部記憶装置への書込みは、次
の外部記憶装置への書込みの開始直前に終了していれば
よい。したがって、例えば、マルチトラックでREC/
PLAY(録音/再生)を行なう場合に適用でき、符号
S’で示す時間において他のトラックへの書込みや、読
み出しを行なうようにしてもよい。
Further, in the time chart of the REC processing shown in FIG. 4, when the sum of the compression time D and the transfer time S to the external storage device is larger than the time B of one block, that is, D + S> B. At this time, the time chart of the REC process is as shown in FIG. In this case, since the two buffers BBUF are used, writing to the external storage device does not have to be completed before the start of encoding the next block. In other words, the writing to the external storage device may be completed immediately before the start of writing to the next external storage device. So, for example, REC /
This can be applied to the case of performing PLAY (recording / reproducing), and writing or reading to / from another track may be performed at the time indicated by reference sign S ′.

【0049】また、図5に示したPLAY処理のタイム
チャートにおける各タイミングは図17に示すようにし
てもよい。図においては、バッファBBUF(i)の圧
縮データをデコード演算し、これをバッファABUF
(i)へ転送する開始タイミングを外部記憶装置から次
の圧縮データを読み込むタイミングに一致させるように
している。これは、データを外部記憶装置からバッファ
へ転送する際の転送時間が一定でない場合でも、影響を
受けないようにするためである。
Further, each timing in the time chart of the PLAY processing shown in FIG. 5 may be as shown in FIG. In the figure, the compressed data of the buffer BBUF (i) is decoded and calculated, and this is subjected to the buffer ABUF (i).
The start timing of transferring to (i) is made to coincide with the timing of reading the next compressed data from the external storage device. This is to prevent the data from being affected even if the transfer time for transferring the data from the external storage device to the buffer is not constant.

【0050】また、本実施例では、同期パルスによる再
生開始指示に応じて直ちに再生を開始する”同期再生”
は、再生しようとするトラック上の任意位置を予めマー
クポインタMPに設定しておき、その位置から同期再生
を開始するという仕様であったが、マークポインタMP
の設定をやめて、再生するトラックの先頭から同期再生
が行われるような仕様にしても良い。本実施例では、演
算器の圧縮処理、及び、伸張処理に要する時間は共に時
間DでありバッファBBUFから外部記憶装置9へのデ
ータ転送、及び外部記憶装置9からバッファBBUFへ
のデータ転送に要する時間は共に時間Sであるとした
が、これは、互いに異なる場合もあり得る。その場合
も、時間Eより短い(D<E、S<E)という条件は同
じで、それぞれの時間D、時間Sがその条件を満たす必
要がある。
Further, in this embodiment, "synchronous reproduction" in which reproduction is immediately started in response to a reproduction start instruction by a synchronous pulse.
Was designed to set an arbitrary position on the track to be played back to the mark pointer MP in advance and start the synchronized playback from that position.
Alternatively, the specification may be made such that the synchronous reproduction is performed from the beginning of the track to be reproduced. In the present embodiment, the time required for the compression processing and the expansion processing of the arithmetic unit is the time D, and is required for the data transfer from the buffer BBUF to the external storage device 9 and the data transfer from the external storage device 9 to the buffer BBUF. Although both times are the time S, they may be different from each other. In that case also, the condition that it is shorter than the time E (D <E, S <E) is the same, and the respective time D and time S must satisfy the condition.

【0051】図6の同期再生の説明では、ヘッドタイム
HTの時間長に関する条件は1フレーム以上、2フレー
ム以下であったが、これは時間Sと時間Dの和が時間E
(=1フレーム)以下の場合の条件であり、時間Sと時
間Dの和が1フレーム以上2フレーム以下の場合は、ヘ
ッドタイムHTの条件は2フレーム以上、3フレーム以
下となる。この条件の最大値よりも長いヘッドタイムを
設定しても動作には問題が無いが、その分、テンポラリ
ーRAM8の記憶容量が必要になり、効率が悪くなる。
また、最小値についてはさらに短縮が可能で、いずれの
場合も、ヘッドタイムHTが時間Sと時間Dの和より大
きくなる、すなわち、ヘットタイムHTの再生期間内に
次ブロックの転送(時間S)とデコード(時間D)が完
了することが保証されていれば良い。
In the description of the synchronous reproduction of FIG. 6, the condition regarding the time length of the head time HT is 1 frame or more and 2 frames or less, but the sum of the time S and the time D is the time E.
The condition is (= 1 frame) or less, and when the sum of the time S and the time D is 1 frame or more and 2 frames or less, the condition of the head time HT is 2 frames or more and 3 frames or less. Even if a head time longer than the maximum value of this condition is set, there is no problem in the operation, but the storage capacity of the temporary RAM 8 is required correspondingly, and the efficiency deteriorates.
Further, the minimum value can be further shortened, and in any case, the head time HT becomes larger than the sum of the time S and the time D, that is, the transfer of the next block (time S) within the reproduction period of the head time HT. And decoding (time D) is guaranteed to be completed.

【0052】[0052]

【発明の効果】以上、説明したように、この発明によれ
ば、外部記憶手段に記録された圧縮データの任意の位置
からデコード処理を行なう場合、該デコード処理に先立
って、圧縮データのデコード開始位置から所定の部分ま
でを予め元のデータに戻して所定の記憶手段に記憶し、
上記所定の部分以降のデコード処理の準備が整った時点
で、所定の記憶手段に記憶したデコードされたデータを
出力するとともに、該データの出力に引き続いて上記所
定の部分以降の圧縮データを順次デコード処理を行なっ
て出力する演算手段を具備するようにしたため、圧縮デ
ータのデコード時における時間遅れが生ぜず、このため
高圧縮率の圧縮法を効果的に用いることができるという
利点が得られる。
As described above, according to the present invention, when the decoding process is performed from an arbitrary position of the compressed data recorded in the external storage means, the decoding of the compressed data is started prior to the decoding process. Restore the original data from the position to the predetermined part in advance and store it in the predetermined storage means,
When the preparation for the decoding process after the predetermined part is completed, the decoded data stored in the predetermined storage means is output, and the compressed data after the predetermined part is sequentially decoded following the output of the data. Since the processing means for performing processing and outputting is provided, there is no time delay when decoding the compressed data, and therefore there is an advantage that a compression method with a high compression rate can be effectively used.

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

【図1】 本発明の一実施例の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of an exemplary embodiment of the present invention.

【図2】 (a)は本実施例のパネルスイッチの外観を
示す図、(b)はトラックキーが押下された時のディス
プレイの表示例を示す図、(c)は位置キーが押下され
た時のディスプレイの表示例を示す図である。
2A is a diagram showing an appearance of a panel switch of the present embodiment, FIG. 2B is a diagram showing a display example of a display when a track key is pressed, and FIG. 2C is a position key being pressed. It is a figure which shows the example of a display of the display at the time.

【図3】 図1の演算器10の構成を示すブロック図で
ある。
3 is a block diagram showing a configuration of an arithmetic unit 10 of FIG.

【図4】 本実施例におけるREC処理を示すタイムチ
ャートである。
FIG. 4 is a time chart showing REC processing in the present embodiment.

【図5】 同実施例におけるPLAY処理を示すタイム
チャートである。
FIG. 5 is a time chart showing a PLAY process in the embodiment.

【図6】 同実施例における途中再生処理を示すタイム
チャートである。
FIG. 6 is a time chart showing a midway reproduction process in the embodiment.

【図7】 同実施例におけるRECキーオンイベント処
理を示すフローチャートである。
FIG. 7 is a flowchart showing REC key-on event processing in the embodiment.

【図8】 同実施例におけるタイマ割込み処理を示すフ
ローチャートである。
FIG. 8 is a flowchart showing a timer interrupt process in the embodiment.

【図9】 同実施例におけるエンコード終了割込み処理
を示すフローチャートである。
FIG. 9 is a flowchart showing an encoding end interrupt process in the embodiment.

【図10】 同実施例におけるSTOPキーオンイベン
ト処理を示すフローチャートである。
FIG. 10 is a flowchart showing a STOP key-on event process in the embodiment.

【図11】 同実施例におけるPLAYキーオンイベン
ト処理を示すフローチャートである。
FIG. 11 is a flowchart showing a PLAY key-on event process in the embodiment.

【図12】 同実施例におけるマーク処理を示すフロー
チャートである。
FIG. 12 is a flowchart showing a mark process in the example.

【図13】 同実施例における同期再生キー処理を示す
フローチャートである。
FIG. 13 is a flowchart showing a synchronized playback key process in the embodiment.

【図14】 同実施例における同期トリガ割込み処理を
示すフローチャートである。
FIG. 14 is a flowchart showing a synchronization trigger interruption process in the embodiment.

【図15】 マルチトラックレコーダとした場合のRE
C処理を示すタイムチャートである。
FIG. 15: RE in the case of a multi-track recorder
It is a time chart which shows C processing.

【図16】 圧縮時間Dと外部記憶装置への転送時間S
の和が1ブロックの時間Bより大であるとき、すなわ
ち、D+S>Bとなる場合のREC処理のタイムチャー
トである。
FIG. 16 is a compression time D and a transfer time S to the external storage device.
Is a time chart of the REC processing when the sum of is larger than the time B of one block, that is, when D + S> B.

【図17】 PLAY処理の変形例を示すタイムチャー
トである。
FIG. 17 is a time chart showing a modified example of the PLAY process.

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

9……外部記憶装置、10……演算器(演算手段)、8
……テンポラリRAM(所定の記憶手段)。
9 ... External storage device, 10 ... Computing unit (computing means), 8
... Temporary RAM (predetermined storage means).

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 データを所定の圧縮処理によって圧縮し
て外部記憶手段に記録するとともに、前記外部記憶手段
に記録した圧縮データを所定のデコード処理によって元
のデータに戻し、該元のデータに基づいて音信号を生成
する信号処理装置において、 発音指示を発生する発音指示手段と、 該発音指示に先立って、前記圧縮データの所定の開始位
置から所定の部分までを予めデコード処理して元のデー
タに戻し、先頭データとして所定の記憶手段に記憶し、
該発音指示の発生に応じて、前記所定の部分以降の圧縮
データのデコード処理を開始するとともに、前記所定の
記憶手段に記憶された先頭データに基づいて音信号の発
生を開始し、該先頭データに基づいた音信号の発生に引
き続いて先ほど開始した前記デコード処理の結果生成さ
れた元のデータに基づいて音信号を生成する演算手段
と、 を具備することを特徴とする信号処理装置。
1. The data is compressed by a predetermined compression process and recorded in an external storage means, and the compressed data recorded in the external storage means is returned to the original data by a predetermined decoding process, and based on the original data. In a signal processing device for generating a sound signal by generating a sound signal, a sound generation instruction means for generating a sound generation instruction, and prior to the sound generation instruction, decoding processing is performed in advance from a predetermined start position to a predetermined portion of the compressed data to obtain the original data. And store it in the predetermined storage means as the head data,
In response to the generation of the sounding instruction, the decoding process of the compressed data after the predetermined portion is started, and the generation of the sound signal is started based on the head data stored in the predetermined storage means. A signal processing device for generating a sound signal based on the original data generated as a result of the decoding process that has just started after the generation of the sound signal based on the above.
【請求項2】 前記演算手段の前記デコード処理は、所
定量の圧縮データ単位で実行され、かつ、該所定量の圧
縮データを再生して得られた元のデータに基づいて、該
所定量の圧縮データのデコード処理に要するデコード時
間より長い時間の音信号が生成可能であることを特徴と
する請求項1に記載の信号処理装置。
2. The decoding process of the computing means is executed in units of a predetermined amount of compressed data, and the predetermined amount of compressed data is reproduced based on original data obtained by reproducing the predetermined amount of compressed data. The signal processing device according to claim 1, wherein a sound signal having a time longer than a decoding time required for decoding the compressed data can be generated.
【請求項3】 前記演算手段は、前記先頭データに基づ
く音信号の生成期間内に、前記所定量の圧縮データのデ
コード処理が可能であることを特徴とする請求項2記載
の信号処理装置。
3. The signal processing apparatus according to claim 2, wherein the arithmetic means is capable of decoding the predetermined amount of compressed data within a generation period of a sound signal based on the head data.
【請求項4】 所定のサンプル周期毎に波形サンプルを
供給する供給手段と、 所定数のサンプルを記憶する第1のバッファセットと、 所定数のサンプルを記憶する第2のバッファセットと、 供給される波形サンプルを、該第1のバッファセットと
第2のバッファセットに交互に所定数ずつ順次書き込む
手段と、 該書込手段による該第1及び第2バッファセットへの所
定数波形サンプルの書込終了に応じて、書込の終了した
バッファセットに記憶された所定数の波形サンプルに基
づく波形圧縮を実行し、該バッファセット上に圧縮波形
データを生成する演算手段と、 該演算手段の波形圧縮処理の終了に応じて、該圧縮波形
データを該バッファセットより外部記憶に転送する転送
手段とを備え、 該演算手段が該所定数の波形サンプルを圧縮するのに要
する圧縮時間、および、該転送手段が該圧縮波形データ
を転送するのに要する転送時間が、それぞれ、該供給手
段より所定数の波形サンプルが供給される期間より短い
ことを特徴とする信号処理装置。
4. A supply means for supplying a waveform sample for each predetermined sample period, a first buffer set for storing a predetermined number of samples, and a second buffer set for storing a predetermined number of samples. Means for sequentially writing a predetermined number of waveform samples to the first buffer set and the second buffer set alternately, and writing a predetermined number of waveform samples to the first and second buffer sets by the writing means. Upon completion, waveform compression based on a predetermined number of waveform samples stored in the buffer set for which writing has been completed is executed, and operation means for generating compressed waveform data on the buffer set, and waveform compression by the operation means Transfer means for transferring the compressed waveform data from the buffer set to an external storage according to the end of processing, and the arithmetic means compresses the predetermined number of waveform samples. And a transfer time required for the transfer means to transfer the compressed waveform data are shorter than a period in which a predetermined number of waveform samples are supplied from the supply means, respectively. Processing equipment.
JP6288474A 1994-11-22 1994-11-22 Signal processing device Expired - Lifetime JP2943636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6288474A JP2943636B2 (en) 1994-11-22 1994-11-22 Signal processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6288474A JP2943636B2 (en) 1994-11-22 1994-11-22 Signal processing device

Publications (2)

Publication Number Publication Date
JPH08147883A true JPH08147883A (en) 1996-06-07
JP2943636B2 JP2943636B2 (en) 1999-08-30

Family

ID=17730682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6288474A Expired - Lifetime JP2943636B2 (en) 1994-11-22 1994-11-22 Signal processing device

Country Status (1)

Country Link
JP (1) JP2943636B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009157272A (en) * 2007-12-27 2009-07-16 Roland Corp Audio playback device
USRE43099E1 (en) 1996-12-19 2012-01-10 Alcatel Lucent Speech coder methods and systems

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0528652A (en) * 1991-07-22 1993-02-05 Sony Corp Cd-rom and reproduction method and reproduction device of cd-rom
JPH05308616A (en) * 1992-04-28 1993-11-19 Victor Co Of Japan Ltd Information recording and reproducing device
JPH05314655A (en) * 1992-05-14 1993-11-26 Sony Corp Acoustic reproducing device
JPH0676471A (en) * 1992-08-27 1994-03-18 Sony Corp Data reproducing system
JPH06167978A (en) * 1992-11-30 1994-06-14 Yamaha Corp Sound source device of electronic musical instrument
JPH06259088A (en) * 1993-03-03 1994-09-16 Hitachi Ltd Method and device for editing audio data
JPH07176130A (en) * 1993-12-01 1995-07-14 Fujitsu Ten Ltd Digital audio player

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0528652A (en) * 1991-07-22 1993-02-05 Sony Corp Cd-rom and reproduction method and reproduction device of cd-rom
JPH05308616A (en) * 1992-04-28 1993-11-19 Victor Co Of Japan Ltd Information recording and reproducing device
JPH05314655A (en) * 1992-05-14 1993-11-26 Sony Corp Acoustic reproducing device
JPH0676471A (en) * 1992-08-27 1994-03-18 Sony Corp Data reproducing system
JPH06167978A (en) * 1992-11-30 1994-06-14 Yamaha Corp Sound source device of electronic musical instrument
JPH06259088A (en) * 1993-03-03 1994-09-16 Hitachi Ltd Method and device for editing audio data
JPH07176130A (en) * 1993-12-01 1995-07-14 Fujitsu Ten Ltd Digital audio player

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE43099E1 (en) 1996-12-19 2012-01-10 Alcatel Lucent Speech coder methods and systems
JP2009157272A (en) * 2007-12-27 2009-07-16 Roland Corp Audio playback device

Also Published As

Publication number Publication date
JP2943636B2 (en) 1999-08-30

Similar Documents

Publication Publication Date Title
JP2009157272A (en) Audio playback device
JP2943636B2 (en) Signal processing device
JP3968206B2 (en) Playback device
JP4649901B2 (en) Method and apparatus for coded transmission of songs
JP4483811B2 (en) Data compression method, data compression circuit, and data expansion circuit
JP4193240B2 (en) Compressed encoded data decoding apparatus and karaoke apparatus using the same
JP4665550B2 (en) Playback apparatus and playback method
JP2937091B2 (en) Musical tone generating apparatus and musical tone generating method capable of reproducing compressed waveform data in the reverse direction
JPH0898134A (en) Data recording and reproducing device
JP3944992B2 (en) Playback apparatus and playback method
JP3303765B2 (en) Digital signal processing method and digital signal processing device
JPS6011896A (en) Voice recorder
JP3346406B2 (en) Audio encoding method and audio decoding method
JPH07101360B2 (en) Voice recording / playback device
JPS59214389A (en) Recording and reproduction system for video format signal
JP3346394B2 (en) Audio encoding method and audio decoding method
JP3346405B2 (en) Audio coding method
JP3682863B2 (en) Speech decoding method and speech decoding apparatus
JP3346402B2 (en) Audio encoding method and audio decoding method
JP3346400B2 (en) Audio coding device
JP3117236B2 (en) Information storage device
JP3922411B2 (en) Audio signal reproducing apparatus and method, and audio signal recording / reproducing apparatus and method
JP3922412B2 (en) Audio signal recording apparatus and method, and audio signal recording / reproducing apparatus and method
JPH09258799A (en) Digital signal recording-regenerating device
JPH1023368A (en) Video reproducing device and base band memory device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990525

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080625

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090625

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100625

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100625

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110625

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110625

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120625

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20120625

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20130625

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20140625

Year of fee payment: 15

EXPY Cancellation because of completion of term