JPH04212767A - Digital recorder - Google Patents

Digital recorder

Info

Publication number
JPH04212767A
JPH04212767A JP6552291A JP6552291A JPH04212767A JP H04212767 A JPH04212767 A JP H04212767A JP 6552291 A JP6552291 A JP 6552291A JP 6552291 A JP6552291 A JP 6552291A JP H04212767 A JPH04212767 A JP H04212767A
Authority
JP
Japan
Prior art keywords
data
event
address
dma
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6552291A
Other languages
Japanese (ja)
Inventor
Atsushi Miyake
敦 三宅
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to US07/752,876 priority Critical patent/US5680378A/en
Priority to DE69126267T priority patent/DE69126267T2/en
Priority to EP91116266A priority patent/EP0477876B1/en
Priority to SG1996002981A priority patent/SG43046A1/en
Publication of JPH04212767A publication Critical patent/JPH04212767A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PURPOSE:To offer a digital recorder by which the editing of sound data is executed without accessing the address of a sound data storage means such as a hard disk or a magneto-optical disk, for instance, where the sound data is stored, every time. CONSTITUTION:By providing a means for storing the discrimination information of an event formed by plurally dividing the sound data stored in the sound data storage means and an event address table including a storage position, the editing of the sound data is performed in event units.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、音声信号をデジタル的
に記録、再生、更には編集することが可能なデジタルレ
コーダに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital recorder capable of digitally recording, reproducing, and further editing audio signals.

【0002】0002

【従来の技術】従来から音声信号を記録(録音)、再生
、編集する方法としては、磁気テープにアナログ音声信
号を磁気記録し、それを再生、編集することが行われて
いる。しかし、このような従来技術は、アナログ記録再
生によっている為、音質の劣化がさけられず、特に一度
録音した音声信号をダビングすると劣化が顕著となる。
2. Description of the Related Art Conventionally, as a method of recording, reproducing, and editing audio signals, analog audio signals are magnetically recorded on a magnetic tape and then reproduced and edited. However, since such conventional techniques rely on analog recording and playback, deterioration in sound quality is unavoidable, and the deterioration becomes particularly noticeable when dubbing a previously recorded audio signal.

【0003】また、磁気テープを記録媒体としているの
で、目的の編集ポイントに到達するのに時間がかかって
しまうという問題や、磁気テープの当該録音部分を物理
的に切り貼りしたり、編集部分を他の場所に一度コピー
した上でなければ編集作業を行えないという問題もある
Furthermore, since magnetic tape is used as a recording medium, there are problems in that it takes time to reach the desired editing point, and there is the problem of physically cutting and pasting the recorded portion of the magnetic tape, or editing the edited portion by other means. There is also the problem that editing can only be done after copying the file to the location.

【0004】音質劣化の問題に対しては、磁気テープへ
の記録方法をデジタル化することで対応できるものの、
シーケンシャルアクセスの記録媒体を用いるために生じ
る頭出しや編集の自由度に関する欠点は、単なるデジタ
ル化によっては除去することができない。
Although the problem of sound quality deterioration can be addressed by digitizing the recording method on magnetic tape,
The drawbacks associated with the freedom of cueing and editing that arise from the use of sequential access recording media cannot be eliminated simply by digitization.

【0005】そこで近年では、記録媒体としてウィンチ
ェスター型のハードディスクを用いてディスクレコーデ
ィングを行うことにより従来の問題点を解消する提案が
なされている(例えば、JAS Journal’89
・4月号、第16頁乃至第22頁「ディジタル・オーデ
ィオ・ワークステーション(DAW)の動向〜AES日
本支部1月例会より〜」を参照)。
Therefore, in recent years, proposals have been made to solve the conventional problems by performing disk recording using a Winchester type hard disk as a recording medium (for example, JAS Journal '89
・Refer to April issue, pages 16 to 22, "Trends in Digital Audio Workstations (DAW) - From the January Regular Meeting of the AES Japan Branch").

【0006】[0006]

【発明が解決しようとする課題】しかし、音声データの
編集を行うのに、音声データが記憶されているハードデ
ィスクのアドレスにいちいちアクセスするのは、処理手
順が非常に複雑になる。
[Problems to be Solved by the Invention] However, when editing audio data, accessing each address of the hard disk where the audio data is stored becomes a very complicated processing procedure.

【0007】本発明の目的は、音声データが記憶されて
いる、例えばハードディスクや光磁気ディスク等の音声
データ記憶手段のアドレスをいちいちアクセスせずに、
音声データの編集を行うことができるデジタルレコーダ
を提供することにある。
[0007] An object of the present invention is to store audio data without accessing each address of audio data storage means such as a hard disk or a magneto-optical disk.
An object of the present invention is to provide a digital recorder capable of editing audio data.

【0008】[0008]

【課題を解決するための手段】請求項1に記載のデジタ
ルレコーダによれば、音声データの入出力動作を行う音
声入出力手段と、音声入出力手段から供給されるデジタ
ル音声データを記憶する音声データ記憶手段と、音声デ
ータ記憶手段に記憶されている音声データを複数に区切
って形成されるイベントの識別情報および記憶位置を含
むイベントアドレステーブルを記憶する手段とを具備す
るデジタルレコーダが提供される。
[Means for Solving the Problems] According to the digital recorder according to claim 1, there is provided an audio input/output means for inputting and outputting audio data, and an audio recording device for storing digital audio data supplied from the audio input/output means. A digital recorder is provided that includes a data storage means and a means for storing an event address table including event identification information and storage locations formed by dividing the audio data stored in the audio data storage means into a plurality of parts. .

【0009】請求項2に記載のデジタルレコーダは、請
求項1の構成に加えて、イベントアドレステーブルに含
まれるイベントの識別情報を、イベントの再生順序に配
列した成るコントロールトラックを記憶する手段をさら
に具備する。
A digital recorder according to a second aspect of the invention further comprises means for storing a control track in which identification information of events included in the event address table is arranged in the playback order of the events, in addition to the configuration of the first aspect. Be equipped.

【0010】請求項3に記載のデジタルレコーダは、請
求項1の構成に加えて、再生順序に配列された複数のイ
ベントのそれぞれの音声データ記憶手段上のスタートア
ドレスおよびエンドアドレスを含む再生スケジュールテ
ーブルを記憶する手段をさらに具備する。
[0010] The digital recorder according to claim 3 further comprises a reproduction schedule table including a start address and an end address on the audio data storage means of each of a plurality of events arranged in reproduction order. further comprising means for storing.

【0011】請求項4に記載のデジタルレコーダにおい
ては、複数のトラックに対応して音声の入出力動作を行
う音声入出力手段と、音声入出力手段から供給されるデ
ジタル音声データを記憶できる複数のトラック分の記憶
エリアをもつ音声データ記憶手段と、音声データ記憶手
段に記憶されている音声データを複数に区切って形成さ
れるイベントの識別情報および記憶位置を含むイベント
アドレステーブルを記憶する手段と、イベントアドレス
テーブルに含まれるイベントの識別情報を、各トラック
毎にイベントの再生順序に配列して成るインディビジュ
アルコントロールトラックを記憶する手段とを具備する
デジタルレコーダが提供される。
In the digital recorder according to claim 4, there is provided an audio input/output means for performing audio input/output operations corresponding to a plurality of tracks, and a plurality of audio input/output means capable of storing digital audio data supplied from the audio input/output means. audio data storage means having a storage area for tracks; means for storing an event address table including event identification information and storage locations formed by dividing the audio data stored in the audio data storage means into a plurality of parts; A digital recorder is provided that includes means for storing individual control tracks in which event identification information included in an event address table is arranged in the event playback order for each track.

【0012】また、請求項5に記載のデジタルレコーダ
は、請求項4の構成に加えて、複数のトラック分の前記
インディビジュアルコントロールトラックを時間軸に関
して複数に区切ったときに各区切られたインディビジュ
アルコントロールトラックの識別情報を再生順序に配列
して成るトータルコントロールトラックを作成する手段
と、このトータルコントロールトラックに従って、イン
ディビジュアルコントロールトラックに含まれるイベン
トの識別情報およびその配列を書換える手段とをさらに
具備する。
[0012] In addition to the configuration of claim 4, the digital recorder according to a fifth aspect of the present invention provides, in addition to the configuration of the fourth aspect, when the individual control track for a plurality of tracks is divided into a plurality of parts on the time axis, each divided individual control track is divided into a plurality of parts on the time axis. Further comprising: means for creating a total control track consisting of arranging the identification information of the control tracks in a playback order; and means for rewriting the identification information of events included in the individual control track and the arrangement thereof in accordance with the total control track. do.

【0013】[0013]

【作用】請求項1に記載のデジタルレコーダにおいては
、イベントアドレステーブルが各イベントの音声データ
記憶手段上の記憶位置を有しているので、音声データの
編集はイベント単位で行えばよく、いちいち音声データ
記憶手段のアドレスをアクセスする必要がない。
[Function] In the digital recorder according to claim 1, since the event address table has a storage location on the audio data storage means for each event, editing of the audio data can be done for each event, and the audio data can be edited one by one. There is no need to access the address of the data storage means.

【0014】請求項2に記載のデジタルレコーダにおい
ては、CPU等のデジタルレコーダの制御手段が、コン
トロールトラックを参照して、時間軸上のイベントの配
列順序を確認し、この順序に従ってイベントアドレステ
ーブルを読み出すことにより、各イベントの音声データ
記憶手段の記憶アドレスを再生順序で発生させることが
でき、必要な再生を実現できる。
In the digital recorder according to the second aspect of the present invention, the control means of the digital recorder such as a CPU refers to the control track, confirms the arrangement order of the events on the time axis, and writes the event address table in accordance with this order. By reading, the storage addresses of the audio data storage means for each event can be generated in the playback order, and necessary playback can be realized.

【0015】請求項3に記載のデジタルレコーダにおい
ては、CPU等のデジタルレコーダの制御手段が再生ス
ケジュールテーブルを参照して、再生すべきイベントの
スタートアドレスおよびエンドアドレスを確認して音声
データ記憶手段からイベントを読み出すことができるの
で、イベントの再生切換を容易に行うことができる。
In the digital recorder according to the third aspect, the control means of the digital recorder such as a CPU refers to the reproduction schedule table, confirms the start address and end address of the event to be reproduced, and reads the data from the audio data storage means. Since the event can be read out, it is possible to easily switch the reproduction of the event.

【0016】請求項4に記載のデジタルレコーダにおい
ては、請求項1のデジタルレコーダと同様に、イベント
アドレステーブルを有しているので、編集の際、いちい
ち音声データ記憶手段のアドレスをアクセスする必要が
ない。また、CPU等のデジタルレコーダの制御手段は
、インディビジュアルコントロールトラックを参照して
、時間軸上のイベントの位置を確認し、この順番に従っ
てイベントアドレステーブルを読み出すことにより、ト
ラック毎に各イベントの音声データ記憶手段上の記憶ア
ドレスを再生順序で発生させ、トラック毎に必要な再生
を実現できる。
[0016] In the digital recorder according to claim 4, like the digital recorder according to claim 1, since it has an event address table, it is not necessary to access the address of the audio data storage means each time when editing. do not have. In addition, the control means of the digital recorder such as the CPU refers to the individual control track, confirms the position of the event on the time axis, and reads out the event address table in accordance with this order, thereby controlling the audio of each event for each track. By generating storage addresses on the data storage means in the reproduction order, necessary reproduction can be realized for each track.

【0017】請求項5に記載のデジタルレコーダにおい
ては、トータルコントロールトラックを新たに作成する
か変更するだけで、インディビジュアルコントロールト
ラック中のイベントの識別情報および配列が自動的に書
換えられるので、大幅な編集変更の際に、インディビジ
ュアルコントロールトラック中のイベントの識別情報お
よびその配列をいちいち手動で書き換える必要がなくな
る。
In the digital recorder according to claim 5, the identification information and arrangement of events in the individual control track are automatically rewritten simply by creating a new total control track or changing the total control track. When editing is changed, there is no need to manually rewrite the event identification information and its arrangement in the individual control track.

【0018】[0018]

【実施例】以下、この発明のデジタルレコーダの好適な
実施例を図面を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the digital recorder of the present invention will be described below with reference to the drawings.

【0019】 <全体構成> 図1は、本発明のデジタルレコーダの一実施例の全体構
成を示しており、この実施例においては、同時に3トラ
ックまでの録音、再生動作が出来るようになっている。 全体は、図示のとおり、CPU部(図中左側の部分)と
、DMAユニット(音声記録再生処理装置)(図中右側
の部分)とにわかれる。
<Overall Configuration> FIG. 1 shows the overall configuration of an embodiment of the digital recorder of the present invention, and in this embodiment, it is possible to record and play back up to three tracks at the same time. . As shown in the figure, the entire system is divided into a CPU section (the left part in the figure) and a DMA unit (audio recording/playback processing device) (the right part in the figure).

【0020】CPU部は、CPU1と、このCPU1の
動作を規定するプログラム(詳細は後述)を記憶したプ
ログラムROM2と、各種データを記憶するエリア、3
トラックのディスクアクセスポインタを記憶するエリア
、ハードディスク12に記憶されている音声データを手
動もしくは自動にて複数に区切ったときの各区切られた
音声データ(以下“イベント”と指称する)の識別情報
(イベント番号)および記憶位置(オリジナルトラック
番号、スタートポイントおよびエンドポイント)を含む
イベントアドレステーブルを記憶するエリア、イベント
アドレステーブルに含まれるイベントの識別情報を各ト
ラック毎にイベントの再生順序に配列して成るインディ
ビジュアルコントロールトラックを記憶するエリア、複
数のトラック分のインディビジュアルコントロールトラ
ックを時間軸に関して複数に区切ったときに各区切られ
たインディビジュアルコントロールトラック(以下“ト
ータルイベント”と指称)の識別情報を再生順序に配列
して成るトータルコントロールトラックを記憶するエリ
ア、ならびにワークエリア等を含むRAM3と、CPU
1のI/Oポートに接続された周辺機器である各種ファ
ンクションキー、データ入力キー等を含むキーボード4
、CRTあるいはLCDとそのドライバを含み各種表示
を行う表示装置5とを有する。
The CPU section includes a CPU 1, a program ROM 2 that stores a program (details will be described later) that defines the operation of the CPU 1, and an area 3 that stores various data.
An area for storing the disk access pointer of a track, and identification information (hereinafter referred to as an "event") for each segmented audio data (hereinafter referred to as "event") when the audio data stored on the hard disk 12 is manually or automatically segmented into multiple segments. An area for storing an event address table including event number) and storage location (original track number, start point, and end point), and an area for arranging event identification information included in the event address table in the event playback order for each track. An area for storing individual control tracks consisting of individual control tracks, and an area for storing identification information of each divided individual control track (hereinafter referred to as "total event") when multiple tracks of individual control tracks are divided into multiple parts along the time axis. A RAM 3 including an area for storing total control tracks arranged in playback order, a work area, etc., and a CPU.
A keyboard 4 including various function keys, data input keys, etc., which is a peripheral device connected to the I/O port of 1.
, a display device 5 that includes a CRT or LCD and its driver and performs various displays.

【0021】CPU1は、後述するようにリアルタイム
動作時(録音/再生等)において、DMAユニットのア
ドレスバス、データバスの空き時間に、必要に応じてD
MAユニットの各構成要素の制御を行ない、編集時にお
いて、データブロックの並べ換えや、ディスクアクセス
ポインタの操作等を行なう。キーボード4からは、後述
するように、各トラック(以下、Trとする)の録音/
再生モードの設定、スタート、ストップ、ロケート、編
集点の指定などが行える。  プログラムROM2,R
AM3のアドレス端子には、アドレスバスを介してCP
U1からアドレス信号が送られ、その出力端子はデータ
バスを介してCPU1にあるいはトランシーバ7に接続
されている。
As will be described later, during real-time operation (recording/playback, etc.), the CPU 1 uses the DMA unit's address bus and data bus as needed.
It controls each component of the MA unit, and performs operations such as rearranging data blocks and manipulating disk access pointers during editing. From the keyboard 4, as described later, each track (hereinafter referred to as Tr) can be recorded/recorded.
You can set the playback mode, start, stop, locate, specify edit points, etc. Program ROM2,R
The address terminal of AM3 is connected to the CP via the address bus.
An address signal is sent from U1, and its output terminal is connected to CPU1 or to transceiver 7 via a data bus.

【0022】すなわち、CPU部とDMAユニットとを
連結するために、バッファ6、トランシーバ7がDMA
ユニット内に設けられている。バッファ6はCPU1と
アドレスバスを介して接続され、更にDMAユニット内
のアドレスバスに連結される。トランシーバ7はCPU
1とデータバスを介して接続され、更にDMAユニット
内のデータバスに連結される。
That is, in order to connect the CPU section and the DMA unit, the buffer 6 and the transceiver 7 are connected to the DMA unit.
located within the unit. Buffer 6 is connected to CPU 1 via an address bus, and further connected to an address bus within the DMA unit. Transceiver 7 is a CPU
1 via a data bus, and further connected to a data bus within the DMA unit.

【0023】DMAユニット内には、Tr1の為の音声
入出力装置8−1、Tr2の為の音声入出力装置8−2
、Tr3の為の音声入出力装置8−3が設けられていて
、夫々には、アナログ音声信号が独立に入出力可能とな
っている。
The DMA unit includes an audio input/output device 8-1 for Tr1 and an audio input/output device 8-2 for Tr2.
, Tr3 are provided with audio input/output devices 8-3, and analog audio signals can be input and output independently to each of them.

【0024】各音声入出力装置8−1〜8−3の内部に
は、A/D変換、D/A変換を選択的に実行する変換器
のほか、サンプリングノイズ除去用のローパスフィルタ
、更にサンプリング周期でクロックを発生するクロック
回路などが含まれている。これらの音声入出力装置8−
1〜8−3においては、当該トラックがレコード(記録
)状態に設定されれば、外部からのアナログ音声信号を
サンプリング周期毎に適宜フィルタリングした後、A/
D変換して、デジタル音声データを得る。逆に当該トラ
ックがプレイ(再生)状態に設定されれば、予め読み出
されたデジタル音声データをサンプリング周期毎にD/
A変換して適宜フィルタリングした後、アナログ音声信
号として出力する。
Inside each audio input/output device 8-1 to 8-3, in addition to a converter for selectively performing A/D conversion and D/A conversion, a low-pass filter for removing sampling noise, and a sampling filter are included. It includes a clock circuit that generates a clock at regular intervals. These audio input/output devices 8-
1 to 8-3, when the track is set to record state, the analog audio signal from the outside is appropriately filtered at each sampling period, and then the A/
D conversion is performed to obtain digital audio data. Conversely, if the track is set to the play state, the digital audio data read out in advance is D/D at each sampling period.
After A conversion and appropriate filtering, the signal is output as an analog audio signal.

【0025】Tr1〜Tr3の各音声入出力装置8−1
〜8−3は、データバスを介して対応するバッファ9−
1(BUF1)、バッファ9−2(BUF2)、バッフ
ァ9−3(BUF3)とそれぞれ接続され、デジタル音
声データの授受を行う。
[0025] Each audio input/output device 8-1 of Tr1 to Tr3
~8-3 are connected to the corresponding buffers 9- through the data bus.
1 (BUF1), buffer 9-2 (BUF2), and buffer 9-3 (BUF3), and exchange digital audio data.

【0026】このバッファ9−1〜9−3はTr1〜T
r3に夫々対応しており、音声入出力装置8−1〜8−
3との間のデータ転送は、DMAコントローラ10にて
直接メモリアクセス(DMA)方式により行われる。
The buffers 9-1 to 9-3 are Tr1 to T.
r3 respectively, and audio input/output devices 8-1 to 8-
3 is performed by a DMA controller 10 using a direct memory access (DMA) method.

【0027】この各音声入出力装置8−1〜8−3は、
DMAコントローラ10に対し、レコーディング時には
、サンプリング周期で音声入出力装置8−1〜8−3か
らバッファ9−1〜9−3方向への1回のサンプリング
に係るデジタルデータのDMA転送(シングル転送)を
要求(リクエスト)し(DRQ信号を送出し(Tr1で
はDRQ1、Tr2ではDRQ2、Tr3ではDRQ3
としてDMAコントローラ10に与えられる))、DM
Aコントローラ10からの回答(アクノーレッジが、T
r1ではDAK1、Tr2ではDAK2、Tr3ではD
AK3としてDMAコントローラ10から与えられる)
を受けて、実際のデータ転送が実行される。プレイ時に
は、サンプリング周期でバッファ9−1〜9−3から音
声入出力装置8−1〜8−3方向への1回のサンプリン
グに係るデジタルデータのDMA転送(シングル転送)
の要求が、音声入出力装置8−1〜8−3からなされ、
上記した場合と同様にDMAコントローラ10によって
データ転送が実行される。
Each of the audio input/output devices 8-1 to 8-3 is
During recording, the DMA controller 10 performs DMA transfer (single transfer) of digital data related to one sampling from the audio input/output devices 8-1 to 8-3 in the direction of the buffers 9-1 to 9-3 at the sampling period. (request) (sends DRQ signal (DRQ1 in Tr1, DRQ2 in Tr2, DRQ3 in Tr3)
)), DM
Response from A controller 10 (acknowledgement is T
DAK1 in r1, DAK2 in Tr2, D in Tr3
given from the DMA controller 10 as AK3)
Actual data transfer is then executed. During play, DMA transfer of digital data related to one sampling from the buffers 9-1 to 9-3 to the audio input/output devices 8-1 to 8-3 at the sampling period (single transfer)
A request is made from the audio input/output devices 8-1 to 8-3,
Data transfer is executed by the DMA controller 10 in the same way as in the case described above.

【0028】このバッファ9−1〜9−3は、1回もし
くは複数回のデジタル音声データを記憶できる容量をも
ち、例えばRAMをTr1〜Tr3に3分割し、夫々リ
ングバッファ(最終アドレスと先頭アドレスとが仮想的
につながったバッファ)として使用することで、FIF
Oバッファとして機能するよう構成されている。
These buffers 9-1 to 9-3 have a capacity that can store digital audio data once or multiple times. For example, the RAM is divided into three into Tr1 to Tr3, and each ring buffer (last address and first address) is divided into three parts. By using it as a virtual connected buffer), FIF
It is configured to function as an O buffer.

【0029】このバッファ9−1〜9−3に対するアド
レス指定は、アドレスバスを介してDMAコントローラ
10などよりなされる。すなわちDMA転送を行ってい
るときはDMAユニット内のアドレスバス、データバス
、制御信号ラインはDMAコントローラ10が専有する
ことになる。
Address designation for the buffers 9-1 to 9-3 is performed by the DMA controller 10 or the like via an address bus. That is, during DMA transfer, the address bus, data bus, and control signal line within the DMA unit are exclusively occupied by the DMA controller 10.

【0030】そしてバッファ9−1〜9−3はデータバ
スを介し、更にハードディスクコントローラ(以下、H
Dコントローラとする)11の制御に従ってハードディ
スク12とデータの授受を行う。ハードディスク12と
HDコントローラ11とはデータバスとコントロール信
号ラインとを介し連結され、ハードディスク12に対す
るリード/ライトアクセスが全てHDコントローラ11
によりなされる。ハードディスク12は、Tr1〜Tr
3の3トラック分の分割された記憶エリアを有しており
、バッファ9−1〜9−3とのデータ転送がDMAコン
トローラ10によりなされる。これは、HDコントロー
ラ11が1つのデータブロックを転送し終ると割込み(
INT)をCPU1にかけ、次のデータブロックの転送
指示をCPU1に対し行うことによりなされる。CPU
1は、HDコントローラ11からインタラプト信号IN
Tが到来すると、DMAコントローラ10、HDコント
ローラ11を所望の状態に設定したり、プログラミング
したりした後、DMA転送を行わせる。この動作の詳細
は後に説明する。
The buffers 9-1 to 9-3 are connected to a hard disk controller (hereinafter referred to as H) via a data bus.
Data is transferred to and from the hard disk 12 under the control of the hard disk 12 (hereinafter referred to as D controller) 11. The hard disk 12 and the HD controller 11 are connected via a data bus and a control signal line, and all read/write access to the hard disk 12 is performed by the HD controller 11.
It is done by. The hard disk 12 has Tr1 to Tr.
The DMA controller 10 has a storage area divided into three tracks of 3, and data transfer to and from buffers 9-1 to 9-3 is performed by a DMA controller 10. This causes an interrupt (
INT) to the CPU 1 and instructs the CPU 1 to transfer the next data block. CPU
1 is an interrupt signal IN from the HD controller 11.
When time T arrives, the DMA controller 10 and the HD controller 11 are set to a desired state or programmed, and then DMA transfer is performed. Details of this operation will be explained later.

【0031】DMAコントローラ10はプレイ時にあっ
ては、ハードディスク12から予め指定された量(複数
サンプリング周期分)のデジタル音声データを読み出し
た後、バッファ9−1〜9−3のうちの指定されるバッ
ファへDMA転送(ブロック転送)するよう動作し、レ
コード時にあっては、指定されたバッファから予め指定
された量(複数サンプリング周期分)のデジタル音声デ
ータを読み出してハードディスク12の指定される位置
へDMA転送(ブロック転送)するよう動作する。
During play, the DMA controller 10 reads out a pre-specified amount (for multiple sampling periods) of digital audio data from the hard disk 12, and then reads out a specified amount of digital audio data from one of the buffers 9-1 to 9-3. It operates to perform DMA transfer (block transfer) to the buffer, and during recording, reads a pre-specified amount (multiple sampling cycles) of digital audio data from the specified buffer and transfers it to the specified position on the hard disk 12. It operates to perform DMA transfer (block transfer).

【0032】このハードディスク12とバッファ9−1
〜9−3との間のデータ転送の際は、HDコントローラ
11よりDMAコントローラ10に対し要求信号DRE
Qを出力し(DMAコントローラ10側ではDRQ4と
して受取る)、転送可能となると逆に回答信号DACK
を受取る(DMAコントローラ10側ではDAK4とし
て出力する)ことで、実際の転送状態となる。
[0032] This hard disk 12 and buffer 9-1
9-3, the HD controller 11 sends a request signal DRE to the DMA controller 10.
Q (received as DRQ4 on the DMA controller 10 side), and when transfer is possible, an answer signal DACK is output.
By receiving (outputting as DAK4 on the DMA controller 10 side), an actual transfer state is entered.

【0033】このように、DMAコントローラ10は、
Tr1〜Tr3の音声入出力装置8−1〜8−3とバッ
ファ9−1〜9−3との間の3チャンネル(後述するC
H1〜CH3)のデータ転送と、順番に選択されたいず
れかのバッファ9−1〜9−3とハードディスク12と
の間の1チャンネル(後述するCH4)のデータ転送と
の、計4チャンネルの時分割データ転送動作をする。
[0033] In this way, the DMA controller 10
3 channels between the audio input/output devices 8-1 to 8-3 of Tr1 to Tr3 and the buffers 9-1 to 9-3 (C
H1 to CH3) data transfer, and one channel (CH4 to be described later) data transfer between any of the sequentially selected buffers 9-1 to 9-3 and the hard disk 12, for a total of 4 channels. Performs divided data transfer operation.

【0034】CPU1は、DMAユニット内の各構成要
素の機能、作用を管理するために、アドレスバスを介し
バッファ6にアドレス信号を与えるほか、各構成要素の
指定信号をバッファ6を介しデコーダ13に供給して、
夫々の指定信号CSを、各音声入出力装置8−1〜8−
3、バッファ9−1〜9−3、DMAコントローラ10
、HDコントローラ11に与える。同時に、トランシー
バ7を介し、データバスを経由して種々のデータのやり
とりがCPU1との間でなされる。
In order to manage the functions and operations of each component in the DMA unit, the CPU 1 not only provides address signals to the buffer 6 via the address bus, but also sends designation signals for each component to the decoder 13 via the buffer 6. supply,
The respective designated signals CS are transmitted to each audio input/output device 8-1 to 8-.
3. Buffers 9-1 to 9-3, DMA controller 10
, is given to the HD controller 11. At the same time, various data are exchanged with the CPU 1 via the transceiver 7 and the data bus.

【0035】更に、CPU1から各音声入出力装置8−
1〜8−3のIOWR端子にはレコード状態(ライト状
態)とするのかプレイ状態(リード状態)とするのかを
指定する指定信号WRが、バッファ6を介して与えられ
る。
Furthermore, each audio input/output device 8-
A designation signal WR designating whether to enter the record state (write state) or play state (read state) is applied to the IOWR terminals 1 to 8-3 via the buffer 6.

【0036】また、各バッファ9−1〜9−3、DMA
コントローラ10、HDコントローラ11に対してもこ
の指定信号(ライト信号)WRと、別の指定信号(リー
ド信号)RDとがバッファ6を介してCPU1から与え
られ、夫々の構成要素からデータを読み出したり逆にデ
ータを書込んだりするようになる。また、DMAコント
ローラ10からも、DMA転送状態にあってはこれらの
指定信号RD、WRを出力するようになる。これらの信
号と各構成要素の機能、動作の関係は後述する。
In addition, each buffer 9-1 to 9-3, DMA
This designation signal (write signal) WR and another designation signal (read signal) RD are also given to the controller 10 and HD controller 11 from the CPU 1 via the buffer 6, and the controller 10 and the HD controller 11 receive data from the respective components and read out data. Conversely, you will be able to write data. Further, the DMA controller 10 also outputs these designation signals RD and WR in the DMA transfer state. The relationship between these signals and the functions and operations of each component will be described later.

【0037】DMAコントローラ10は、DMA転送を
各構成要素間で行っているとき、DMA可能(イネーブ
リング)信号DMAENBを“1”にして出力する。そ
の結果、この信号DMAENBがインバータ16を介し
て与えられるアンドゲート14の出力は“0”となり、
バッファ6、トランシーバ7にはイネーブリング信号E
が“0”として与えられ、結局CPU部とDMAユニッ
トとのデータ、アドレスの授受はできなくなる。このと
き、アンドゲード15に“1”信号がデコーダ13より
与えられておれば、アンドゲート15の出力が“1”と
なってCPU1にウェイト信号WAITが供給される。
The DMA controller 10 outputs a DMA enable signal DMAENB as "1" when performing DMA transfer between each component. As a result, the output of the AND gate 14 to which this signal DMAENB is applied via the inverter 16 becomes "0",
Enabling signal E is applied to the buffer 6 and transceiver 7.
is given as "0", and data and addresses cannot be exchanged between the CPU section and the DMA unit. At this time, if a "1" signal is given to the AND gate 15 from the decoder 13, the output of the AND gate 15 becomes "1" and the wait signal WAIT is supplied to the CPU 1.

【0038】つまり、CPU1が、DMAユニットを管
理するために、バッファ6、トランシーバ7を開かせる
べくデコーダ13に所定の信号を与えているとき、つま
りアンドゲート14の一入力端にデコーダ13より“1
”信号を供給しているとき(CPU1がバッファ9−1
〜9−3、DMAコントローラ10、HDコントローラ
11、音声入出力装置8−1〜8−3のいずれかにアク
セスするためのアドレス信号を出力すると、デコーダ1
3の出力はアクティブとなりアンドゲート14、15の
夫々の一入力端への出力は“1”となる)、DMA転送
を開始するとCPU1にはウェイト(WAIT)がかか
り、DMA転送が優先して実行された後、ウェイト解除
にともなってCPU1の動作が再開される。
That is, when the CPU 1 is giving a predetermined signal to the decoder 13 to open the buffer 6 and the transceiver 7 in order to manage the DMA unit, that is, when the CPU 1 is giving a predetermined signal to the decoder 13 to open the buffer 6 and the transceiver 7, that is, when the CPU 1 is giving a predetermined signal to the decoder 13 at one input terminal of the AND gate 14, " 1
"When the signal is being supplied (CPU1 is supplying the buffer 9-1
~9-3, when outputting an address signal for accessing any of the DMA controller 10, HD controller 11, and audio input/output devices 8-1 to 8-3, the decoder 1
3 becomes active, and the output to one input terminal of each of AND gates 14 and 15 becomes "1"), and when the DMA transfer starts, a wait (WAIT) is applied to the CPU 1, and the DMA transfer is executed with priority. After the wait is released, the operation of the CPU 1 is restarted.

【0039】また、逆に、DMAコントローラ10が、
DMA転送を実行しているときに、CPU1が例えばD
MAコントローラ10をアクセスしようとしても、アン
ドゲート15よりウェイト信号WAITが与えられCP
U1の実行サイクルは途中で引き延ばされて、バッファ
6、トランシーバ7はその間閉じられることになる。
[0039] Conversely, the DMA controller 10
When executing DMA transfer, CPU1, for example,
Even if an attempt is made to access the MA controller 10, a wait signal WAIT is applied from the AND gate 15 and the CP
The execution cycle of U1 will be extended in the middle, and the buffer 6 and transceiver 7 will be closed during that time.

【0040】結局、CPU1が、DMAユニットの各構
成要素にアクセスできるのは、1.CPU1がDMAユ
ニットの各構成要素をアクセスするためのアドレスを出
した。2.信号DMAENBがインアクティブ(“0”
)つまりDMAユニットのデータバスが空いている。の
2つの条件を満足するときであるが、CPU1は上述し
たように、ゲート14、15の作用によっていつDMA
ユニットにアクセスするかを考慮することなく処理をす
すめることができる。
In the end, the CPU 1 can access each component of the DMA unit in the following ways: 1. The CPU 1 issues addresses for accessing each component of the DMA unit. 2. Signal DMAENB is inactive (“0”
) In other words, the data bus of the DMA unit is free. When the two conditions of
Processing can proceed without considering whether or not to access the unit.

【0041】また、CPU1は、キー入力やコントロー
ルデータのトリガに応じて直ちにDMAユニットの動作
状態を変えたい場合、DMAコントローラ10に対して
、DMAコントローラ10の状態がどのような状態であ
ってもDMA転送を中断する指令DMAENDを出力す
ることができる(これは、DMAコントローラ10には
END信号として与えられる)。
Further, when the CPU 1 wants to immediately change the operating state of the DMA unit in response to a key input or control data trigger, the CPU 1 requests the DMA controller 10 to change the operating state of the DMA unit no matter what state the DMA controller 10 is in. A command DMAEND for interrupting DMA transfer can be output (this is given to the DMA controller 10 as an END signal).

【0042】 <DMAコントローラ10の要部構成>次に、DMAコ
ントローラ10の一構成例を説明する。 DMAコントローラ10は、1バスサイクルが数百ナノ
秒である転送能力をもつ。従って、3トラック分のサン
プリングデータを転送する時間は1から2マイクロ秒と
なる。
<Configuration of Main Parts of DMA Controller 10> Next, an example of the configuration of the DMA controller 10 will be described. The DMA controller 10 has a transfer capability in which one bus cycle lasts several hundred nanoseconds. Therefore, the time required to transfer sampling data for three tracks is 1 to 2 microseconds.

【0043】サンプリング周波数fsを48KHzとし
たとき、1サンプリング時間の間隔は約21マイクロ秒
となり、サンプリング時間間隔のほとんどは、バッファ
9−1〜9−3とHDコントローラ11、ハードディス
ク12との間のデータ転送及びCPU1から各構成要素
のプログラミング時間にあてることが可能となる。
When the sampling frequency fs is 48 KHz, the interval of one sampling time is approximately 21 microseconds, and most of the sampling time interval is the interval between the buffers 9-1 to 9-3, the HD controller 11, and the hard disk 12. It becomes possible to use the time for data transfer and programming of each component from the CPU 1.

【0044】さて、その具体例の主要構成は、図2に示
されている。このDMAコントローラ10は、アドレス
バスと接続される入力側(IN)のアドレスバッファ1
01と出力側(OUT)のアドレスバッファ102を有
する。入力側のアドレスバッファ101に与えられるア
ドレス信号によって、レジスタセレクタ103の指定内
容が変化し、アドレスレジスタ104とコントロールレ
ジスタ105とに存在する所望のレジスタが指定される
ことになる。
Now, the main structure of the specific example is shown in FIG. This DMA controller 10 has an address buffer 1 on the input side (IN) connected to the address bus.
01 and an output side (OUT) address buffer 102. The contents specified by the register selector 103 change depending on the address signal applied to the address buffer 101 on the input side, and a desired register existing in the address register 104 and the control register 105 is specified.

【0045】アドレスレジスタ104、コントロールレ
ジスタ105には4つのチャンネルCH1〜CH4のエ
リアがあり、チャンネルCH1〜CH3は、バッファ9
−1〜9−3と音声入出力装置8−1〜8−3との間の
DMA転送を行うためのレジスタであり、チャンネルC
H4は、バッファ9−1〜9−3のうちの指定したバッ
ファとハードディスク12との間のDMA転送を行なう
ためのレジスタである。
The address register 104 and control register 105 have areas for four channels CH1 to CH4, and the channels CH1 to CH3 are located in the buffer 9.
A register for performing DMA transfer between -1 to 9-3 and audio input/output devices 8-1 to 8-3, and is a register for channel C.
H4 is a register for performing DMA transfer between a designated buffer among the buffers 9-1 to 9-3 and the hard disk 12.

【0046】アドレスレジスタ104内の各チャンネル
CH1〜CH4のレジスタは、対応するバッファ9−1
〜9−3及び指定されたバッファのカレントアドレスと
スタートアドレスとを少なくとも記憶するエリアを有し
、コントロールレジスタ105の各チャンネルCH1〜
CH4のエリアには、例えば、DMA転送の方向を指定
するコントロールデータが記憶される。
The registers for each channel CH1 to CH4 in the address register 104 are stored in the corresponding buffer 9-1.
~9-3 and an area for storing at least the current address and start address of the designated buffer, and each channel CH1~ of the control register 105.
For example, control data specifying the direction of DMA transfer is stored in the CH4 area.

【0047】このアドレスレジスタ104、コントロー
ルレジスタ105の内容は、データバッファ106を介
してデータバスに対して入出力可能となっている。そし
て、これらの各構成要素を制御しているのが、タイミン
グコントロールロジック107と、サービスコントロー
ラ108、チャンネルセレクタ109である。
The contents of the address register 104 and control register 105 can be input/output to/from the data bus via the data buffer 106. A timing control logic 107, a service controller 108, and a channel selector 109 control each of these components.

【0048】サービスコントローラ108は、ハードロ
ジックもしくはマイクロプログラム制御構成となってい
て、タイミングコントロールロジック107からの信号
、音声入出力装置8−1〜8−3、HDコントローラ1
1からのDMA要求信号DRQ1〜DRQ4や、CPU
1からのDMA中断指令END(DMAEND)を受け
とり、上記各構成要素に対する回答(アクノーレッジ)
信号DAK1〜DAK4、DMA転送中を示すDMA可
能(イネーブリング)信号DMAENBを出力するほか
、タイミングコントロールロジック107に対し各種指
令を出したり、チャンネルセレクタ109に対しチャン
ネルセレクト信号を出力したりする。チャンネルセレク
タ109は、アドレスレジスタ104、コントロールレ
ジスタ105のなかの各チャンネルCH1〜CH4に対
応するレジスタを選択的に指定する。
The service controller 108 has a hard logic or microprogram control configuration, and receives signals from the timing control logic 107, audio input/output devices 8-1 to 8-3, and the HD controller 1.
The DMA request signals DRQ1 to DRQ4 from 1 and the CPU
Receives the DMA interruption command END (DMAEND) from 1 and responds (acknowledges) to each of the above components.
In addition to outputting signals DAK1 to DAK4 and a DMA enabling signal DMAENB indicating that DMA transfer is in progress, it issues various commands to the timing control logic 107 and outputs a channel select signal to the channel selector 109. The channel selector 109 selectively specifies a register corresponding to each channel CH1 to CH4 among the address register 104 and the control register 105.

【0049】タイミングコントロールロジック107は
、デコーダ13からの指定信号CS、コントロールレジ
スタ105からのコントロール信号、サービスコントロ
ーラ108からの制御信号を受けて、アドレスバッファ
102、データバッファ106の入出力制御をするほか
、アドレスインクリメンタ110を動作させて、アドレ
スレジスタ104のなかの指定されたチャンネルのカレ
ントアドレスレジスタをインクリメントする。
The timing control logic 107 receives the designation signal CS from the decoder 13, the control signal from the control register 105, and the control signal from the service controller 108, and controls the input/output of the address buffer 102 and the data buffer 106. , operates the address incrementer 110 to increment the current address register of the designated channel in the address register 104.

【0050】 <CPU1の全体動作> 以下に、本実施例の動作について説明する。CPU1の
動作を示すフローチャートが図3及び図4に示されてい
る。これはプログラムROM2に記憶されたプログラム
(ソフトウェア)よるもので、図3はメインルーチンを
示し、図4は、HDコントローラ11からのインタラプ
ト信号INTの到来に応答して実行するインタラプトル
ーチンを示している。
<Overall Operation of CPU 1> The operation of this embodiment will be described below. Flowcharts showing the operation of the CPU 1 are shown in FIGS. 3 and 4. This is based on a program (software) stored in the program ROM 2. FIG. 3 shows the main routine, and FIG. 4 shows an interrupt routine executed in response to the arrival of the interrupt signal INT from the HD controller 11. .

【0051】まず図3において、CPU1は、電源オン
に応じてメインルーチンをスタートさせ、ステップ3−
0(以下、単に3−0と記す)において各種初期状態を
設定する。そして、3−1においてキー入力を受け、3
−2において何のモードに設定されたかを判断する。
First, in FIG. 3, the CPU 1 starts the main routine in response to power-on, and proceeds to step 3-
0 (hereinafter simply referred to as 3-0), various initial states are set. Then, in 3-1, key input is received, and 3
-2, determine what mode is set.

【0052】CPU1が、現在プレイ/レコードモード
であるとジャッジすると、3−2から3−3に進み3つ
あるトラックを順次選択指定し、さらに3−4に進み各
トラックの動作モードをキーボード4の入力指示に従っ
て設定し、3−5において、A/D変換、D/A変換の
いずれの動作を各音声入出力装置8−1〜8−3が実行
するのか、バッファ6、デコーダ13を介して指定信号
CSを順次送出しながらIOWRを与えてセッティング
する。いま、例えばTr1については、プレイ状態(従
ってD/A変換動作状態)、Tr2及びTr3は夫々レ
コード状態(従ってA/D変換動作状態)とする。図8
に、このようなモード設定した場合の概略動作の概念図
を示す。
When the CPU 1 determines that the current play/record mode is selected, the process proceeds from 3-2 to 3-3 and sequentially selects and specifies the three tracks, and then proceeds to 3-4 to select and specify the operation mode of each track using the keyboard 4. In step 3-5, it is determined which operation, A/D conversion or D/A conversion, each audio input/output device 8-1 to 8-3 performs via the buffer 6 and decoder 13. The IOWR is applied and set while sequentially sending out the designation signal CS. For example, assume that Tr1 is in the play state (therefore, in the D/A conversion operation state), and Tr2 and Tr3 are in the record state (therefore, in the A/D conversion operation state). Figure 8
A conceptual diagram of the general operation when such a mode is set is shown in FIG.

【0053】そして、3−5では、DMAコントローラ
10に対し、各Tr1〜Tr3についてのバッファ9−
1〜9−3のアドレスを初期化させる。つまり、図2の
アドレスバッファ101、レジスタセレクタ103、チ
ャンネルセレクタ109等により、チャンネルCH1〜
CH3の各レジスタ(アドレスレジスタ104、コント
ロールレジスタ105)を指定しながら、データバッフ
ァ106を介して初期設定データを入力設定する。
Then, in 3-5, the buffer 9- for each Tr1 to Tr3 is sent to the DMA controller 10.
Initialize addresses 1 to 9-3. In other words, the address buffer 101, register selector 103, channel selector 109, etc. in FIG.
Initial setting data is input and set via the data buffer 106 while specifying each register (address register 104, control register 105) of CH3.

【0054】ここで、バッファ9−1〜9−3は、リン
グバッファとして循環的に使用されるようになっており
、初期状態としては、各バッファ9−1〜9−3のスタ
ートアドレスとカレントアドレスとは一致するようセッ
トされる(図8に、各バッファ9−1〜9−3のスター
トアドレスとカレントアドレスとが、CH1〜CH3の
アドレスレジスタ104に記憶されて制御される状態を
模式的に示してある)。
Here, the buffers 9-1 to 9-3 are used cyclically as ring buffers, and in the initial state, the start address and current address of each buffer 9-1 to 9-3 are (FIG. 8 schematically shows the state in which the start address and current address of each buffer 9-1 to 9-3 are stored and controlled in the address register 104 of CH1 to CH3. ).

【0055】続いてCPU1は3−6の処理を実行し、
RAM3内の作業(ワーク)メモリエリアに存在するハ
ードディスク12の各トラックTr1〜Tr3に対応す
るディスクアクセスポインタを初期設定する(図8にハ
ードディスク12の記憶エリアと、ディスクアクセスポ
インタとの関係を示している)。
[0055] Next, the CPU 1 executes the process 3-6,
Disk access pointers corresponding to each track Tr1 to Tr3 of the hard disk 12 existing in the work memory area in the RAM 3 are initialized (FIG. 8 shows the relationship between the storage area of the hard disk 12 and the disk access pointer). ).

【0056】次にCPU1は、各音声入出力装置8−1
〜8−3のA/D変換動作又はD/A変換動作を開始さ
せる(3−7)。続いて、3−8において、ソフトウェ
ア割込みをかけて、HDコントローラ11が、ハードデ
ィスク12とバッファ9−1〜9−3のいずれかとの間
のデータ転送のプログラム要求(HDコントローラ11
がCPU1に対してインタラプトINTをかけること)
を行なったとき(後述)と同じ処理を実行する。
Next, the CPU 1 controls each audio input/output device 8-1.
The A/D conversion operation or D/A conversion operation of ~8-3 is started (3-7). Subsequently, in 3-8, the HD controller 11 issues a software interrupt and issues a program request for data transfer between the hard disk 12 and any of the buffers 9-1 to 9-3.
must issue an interrupt INT to CPU1)
Executes the same process as when (described later).

【0057】具体的には、図4に示したフローチャート
に従った動作を3−8で実行することになる。例えば、
いまの場合、Tr1について、ハードディスク12から
デジタル信号データをバッファ9−1にDMA転送する
ために、DMAコントローラ10のチャンネルとしてT
r1に対応するチャンネルCH1を決定する(4−1)
Specifically, the operation according to the flowchart shown in FIG. 4 is executed in step 3-8. for example,
In this case, for Tr1, in order to DMA transfer digital signal data from the hard disk 12 to the buffer 9-1, T is used as a channel of the DMA controller 10.
Determine channel CH1 corresponding to r1 (4-1)
.

【0058】続いて、このCH1のスタートアドレス(
前述のとおり3−5で初期設定されている)をCH4の
スタートアドレスとしてコピーする(4−2)。このと
きのDMAコントローラ10側の動作は後述する。続い
て、いまの場合CH1のスタートアドレスとカレントア
ドレスからデータ転送数を算出する(4−3)。いま、
初期状態にあるので、Tr1に関してバッファ9−1に
は何らこれまでデータ転送が行われておらず、従って、
バッファ9−1のメモリエリア全てにハードディスク1
2からデータ転送してやることができる。勿論、複数の
トラックが、プレイ時にあるのであれば、早期にハード
ディスク12から複数のバッファに予め記憶されたデジ
タル音声データを転送しなければならないので、1つの
バッファにフルにデータ転送を行わず次々とDMA転送
が各トラックについて行われるようにすることもできる
。あるいは、必要なバッファ9−1〜9−3に対しハー
ドディスク12から予めフルにデータを転送した後、プ
レイ/レコード動作を同期スタートしてもよい。
Next, the start address of this CH1 (
3-5) as the start address of CH4 (4-2). The operation on the DMA controller 10 side at this time will be described later. Next, in this case, the number of data transfers is calculated from the start address and current address of CH1 (4-3). now,
Since it is in the initial state, no data has been transferred to the buffer 9-1 regarding Tr1, and therefore,
Hard disk 1 in all memory areas of buffer 9-1
You can transfer data from 2. Of course, if there are multiple tracks at the time of play, the digital audio data stored in advance must be transferred from the hard disk 12 to multiple buffers at an early stage. It is also possible to perform DMA transfer for each track. Alternatively, the play/record operation may be started synchronously after full data is transferred from the hard disk 12 to the necessary buffers 9-1 to 9-3 in advance.

【0059】次に、4−4において、いまの場合CH1
のカレントアドレスの内容を、CH4のスタートアドレ
スにコピーする。いまの場合は結局初期アドレスがスタ
ートアドレスとなる。
Next, in 4-4, in this case CH1
Copy the contents of the current address to the start address of CH4. In this case, the initial address becomes the start address.

【0060】このように、CPU1は、4−1〜4−4
において、DMAコントローラ10に対して各設定/制
御を行なった上で、次に4−5に進み、RAM3の作業
メモリよりいまTr1のディスクアクセスポインタを取
り出し、更に4−6において、DMAコントローラ10
のコントロールレジスタ105のCH1のエリアの内容
に従って得られるTr1の動作モード(いまプレイモー
ド)と、このTr1についてのディスクアクセスポイン
タと、4−3で決定したハードディスク12からバッフ
ァ9−1へのデータ転送数とによって、HDコントロー
ラ11をプログラミングする。このときのHDコントロ
ーラ11側の動作は後に詳述する。
[0060] In this way, the CPU 1 uses 4-1 to 4-4.
After performing each setting/control for the DMA controller 10, the process proceeds to step 4-5, where the disk access pointer of the current Tr1 is retrieved from the working memory of RAM3, and further, at step 4-6, the DMA controller 10
The operating mode of Tr1 (current play mode) obtained according to the contents of the CH1 area of the control register 105, the disk access pointer for this Tr1, and the data transfer from the hard disk 12 to the buffer 9-1 determined in 4-3. The HD controller 11 is programmed according to the number. The operation on the HD controller 11 side at this time will be described in detail later.

【0061】その結果、HDコントローラ11は、いま
の場合ハードディスク12からバッファ9−1への方向
のDMA転送を、DMAコントローラ10に要求(DR
EQを出力)し、DMAコントローラ10は対応するD
MA転送を実行することになる。この動作についても後
に詳述する。
As a result, the HD controller 11 requests the DMA controller 10 to perform DMA transfer in the direction from the hard disk 12 to the buffer 9-1 (DR).
EQ), and the DMA controller 10 outputs the corresponding D
MA transfer will be executed. This operation will also be explained in detail later.

【0062】続いて、4−7において、CPU1はRA
M3の作業メモリ内のTr1のディスクアクセスポイン
タを、上述した転送処理を実行した結果ディスクアクセ
スポインタがとるであろう値まで更新する。つまり、上
述の説明からわかるとおり、ハードディスク12とバッ
ファ9−1の間のデータ転送はこの後、DMAコントロ
ーラ10が全て実行することになり、CPU1はこのD
MA転送が完了したときにハードディスク12のアクセ
スポインタがとる値を、4−7でセットするのである。 そして、メインルーチン(図3)リターンする。
[0062] Subsequently, in 4-7, CPU1
The disk access pointer of Tr1 in the working memory of M3 is updated to the value that the disk access pointer will take as a result of executing the above-described transfer process. In other words, as can be seen from the above explanation, all data transfer between the hard disk 12 and the buffer 9-1 will be executed by the DMA controller 10, and the CPU 1 will transfer data between the hard disk 12 and the buffer 9-1.
The value that the access pointer of the hard disk 12 takes when the MA transfer is completed is set in 4-7. Then, the main routine (FIG. 3) is returned.

【0063】後の説明でも明らかになるとおり、最初の
割込みルーチン(図4)が起動されて、HDコントロー
ラ11が一度動かされると、あとは、CPU1が指定し
たデータブロックの転送が終了するたびに、HDコント
ローラ11から割込みがなされる(INT信号がCPU
1に与えられる)ので、CPU1が行なうのは、録音/
再生動作の終了になったか、キー入力があったかまたは
コントロールデータに指示しておいたトリガがかかった
かの判断を行うのみである。
As will become clear from the explanation that follows, once the first interrupt routine (FIG. 4) is started and the HD controller 11 is operated once, every time the transfer of the data block specified by the CPU 1 is completed, , an interrupt is made from the HD controller 11 (the INT signal is
1), what CPU 1 does is record/
It only determines whether the playback operation has ended, whether there has been a key input, or whether a trigger specified in the control data has been activated.

【0064】すなわちCPU1は、3−9において、デ
ィスクアクセスポインタ(RAM3)を参照し、メモリ
エリアオーバーか否か、つまり終了か否かをジャッジし
(3−10)、YESの場合は、各音声入出力装置8−
1〜8−3のA/D変換、D/A変換動作を停止(3−
11)させ、3−1に戻る。NOの場合は、キー入力状
態を参照し(3−12)、もし変化がなければ、ディス
クアクセスポインタをチェックすべく3−9の処理へも
どり、以下3−9〜3−13をくりかえす。
[0064] That is, in 3-9, the CPU 1 refers to the disk access pointer (RAM3) and judges whether or not the memory area has been exceeded, that is, whether or not it has ended (3-10). If YES, each audio Input/output device 8-
Stops A/D conversion and D/A conversion operations of 1 to 8-3 (3-
11) and return to 3-1. If NO, the key input state is referred to (3-12), and if there is no change, the process returns to step 3-9 to check the disk access pointer, and the following steps 3-9 to 3-13 are repeated.

【0065】そして、3−13において何らかの変化が
あると、3−13から3−14に進み、CPU1は、D
MA転送を一時中断して、新たな設定をすべく、DMA
コントローラ10に対するDMA中止指令(DMAEN
D)を出力する。続けて、新たな入力指示等に従って、
DMAコントローラ10、音声入出力装置8−1〜8−
3をプログラムし(3−15)、再びDMA動作を再開
すべく3−16に進み、上述した3−8と同様に図4の
インタラプトルーチンを実行した後、3−9へもどる。
Then, if there is any change in 3-13, the process advances from 3-13 to 3-14, and the CPU 1
In order to temporarily suspend MA transfer and make new settings,
DMA stop command to controller 10 (DMAEN
D) is output. Next, follow the new input instructions, etc.
DMA controller 10, audio input/output devices 8-1 to 8-
3 is programmed (3-15), the program proceeds to 3-16 to restart the DMA operation, and after executing the interrupt routine of FIG. 4 in the same manner as 3-8 described above, the program returns to 3-9.

【0066】このように、CPU1は、プレイ/レコー
ド時にあっては、3−4〜3−8の初期設定を行なった
後は、3−9、3−10、3−12、3−13更に3−
14〜3−16をくりかえし実行し、キーボード4での
変更指示(例えばあるトラックについてポーズ(A/D
、D/Aの中断)あるいはパンチイン/アウト(A/D
、D/Aの動作の切換)等)や、編集時に得たコントロ
ールデータの変化に応答して、即時にDMA転送制御を
中断し、プログラムを変更した上で、再び同様の処理を
実行するように動作する。
In this way, during play/record, the CPU 1 performs the initial settings for 3-4 to 3-8, and then performs the initial settings for 3-9, 3-10, 3-12, 3-13, and so on. 3-
14 to 3-16 repeatedly, and change instructions (for example, pause (A/D) for a certain track) on the keyboard 4.
, D/A interruption) or punch-in/out (A/D
, D/A operation switching), etc.), or in response to changes in control data obtained during editing, immediately interrupts DMA transfer control, changes the program, and then executes the same process again. works.

【0067】3−2において、CPU1が、現在、コン
トロールトラックモードにあると判断すると、3−2か
ら3−17に進み、ハードディスク12に記憶されてい
る音声データをイベント化する。イベント化とは、手動
指定操作などによって時間軸上に連続した音声データを
複数に区切り、各区切られた音声データ(イベント)を
識別するためのイベント番号、および区切られた区間を
示すデータ(スタートポイントとエンドポイント)を作
り出すことを意味する。イベント番号、スタートポイン
トおよびエンドポイントは、RAM3のイベントアドレ
ステーブル(EAT)に登録される。スタートポイント
およびエンドポイントは、当該イベントが記憶されるハ
ードディスク12のスタートアドレスおよびエンドアド
レスに相当する。イベントアドレステーブルの例は、図
16、図26および図28に示されている。イベントア
ドレステーブルについては、後に、図11、図12、図
16、図26および図28を参照して説明する。
At step 3-2, if the CPU 1 determines that it is currently in the control track mode, the process proceeds from step 3-2 to step 3-17, where it converts the audio data stored in the hard disk 12 into an event. Converting to an event means dividing continuous audio data on the time axis into multiple parts by manual specification, etc., and assigning an event number to identify each divided audio data (event) and data indicating the divided section (start point and end point). The event number, start point, and end point are registered in the event address table (EAT) in RAM3. The start point and end point correspond to the start address and end address of the hard disk 12 where the event is stored. Examples of event address tables are shown in FIGS. 16, 26 and 28. The event address table will be explained later with reference to FIGS. 11, 12, 16, 26, and 28.

【0068】イベント化が完了すると、3−18におい
て、インディビジュアルコントロールトラック(ICT
)が作成される。ICTは、イベントアドレステーブル
(EAT)に含まれるイベントの識別情報(イベント番
号)を各トラック毎にイベントの再生順序に配列して成
るものである。ICTの作成処理については、後に図1
8および図19を参照して説明する。また、ICTの例
については、後に図20を参照して説明する。
[0068] When the event creation is completed, at 3-18, the individual control track (ICT
) is created. ICT is made up of event identification information (event numbers) included in an event address table (EAT) arranged in the order of event reproduction for each track. The ICT creation process will be explained later in Figure 1.
8 and FIG. 19. Further, an example of ICT will be described later with reference to FIG. 20.

【0069】インディビジュアルコントロールトラック
(ICT)の作成が完了すると、手動指定操作等に基づ
き3−19において、トータルイベント(TE)が指定
される。TEとは、複数のトラック分のICTを時間軸
に関して複数に区切ったときの各区切られたデータをい
い、TEの指定とは、TEに識別情報(例えば、TE1
、TE2等)を付し、トータルイベントテーブル(TE
T)に登録することをいう。TETは、後に図24を参
照して説明するように、各TEのスタートタイムとエン
ドタイムを含む。
When the creation of the individual control track (ICT) is completed, the total event (TE) is designated at 3-19 based on a manual designation operation or the like. TE refers to each segment of data when ICT for multiple tracks is segmented into multiple segments on the time axis. TE designation means that the TE is given identification information (for example, TE1
, TE2, etc.) and total event table (TE2, etc.).
T). TET includes the start time and end time of each TE, as will be explained later with reference to FIG. 24.

【0070】トータルイベント(TE)の指定が完了す
ると、3−20において、トータルコントロールトラッ
ク(TCT)が作成され、実行される。TCTとは、T
Eの識別情報を再生順序に配列して成るものである。T
CTが実行されると、TCTに従って、ICTに含まれ
るイベントの識別情報(イベント番号)およびその配列
が書き換えられる。TCT処理については、後に図22
を参照して説明する。また、TCTの例については、後
に図23を参照して説明する。コントロールトラックモ
ードの終了が3−21で検出されると、CPU1は3−
1において再びキー入力を調べる。
When the designation of the total event (TE) is completed, a total control track (TCT) is created and executed at 3-20. What is TCT?
The identification information of E is arranged in the playback order. T
When the CT is executed, the event identification information (event number) and its arrangement included in the ICT are rewritten according to the TCT. Regarding TCT processing, see Figure 22 later.
Explain with reference to. Further, an example of TCT will be explained later with reference to FIG. 23. When the end of the control track mode is detected at 3-21, CPU1
In step 1, key input is checked again.

【0071】3−2において、CPU1が、現在、編集
(EDIT)モードにあると判断すると、3−2から3
−22に進み、編集するトラックやポイント、どのよう
な編集をするのか(例えば、ある時間指定したポイント
に録音した音のタイミングを前後にずらしたり、修正、
削除したりすること)をCPU1は判断し、各種編集作
業を実行する(3−23)。この編集作業は、特には詳
述しないが、HDコントローラ11とDMAコントロー
ラ10とに対するハードディスク12からの読み出しア
クセスポイントのプログラムや、RAM3への転送、R
AM3を用いての各種編集、そして編集後のデジタル音
声データのハードディスク12への再格納作業、アクセ
スポイントの指定等を、CPU1の制御下で実行する。 3−24において編集作業の終了が検出されると、CP
U1は、3−1において再びキー入力を調べる。
[0071] In 3-2, if the CPU 1 determines that it is currently in the edit (EDIT) mode, the process from 3-2 to 3
- Proceed to step 22, and decide which track and point to edit, and what kind of editing you want to do (for example, shift the timing of the sound recorded at a specified point for a certain period of time, make corrections, etc.)
The CPU 1 determines whether the content is to be deleted) and executes various editing operations (3-23). Although this editing work will not be described in detail, it includes programs for reading access points from the hard disk 12 for the HD controller 11 and DMA controller 10, transfer to the RAM 3, R
Various editing operations using the AM3, re-storing of the edited digital audio data onto the hard disk 12, designation of access points, etc. are executed under the control of the CPU 1. When the end of the editing work is detected in 3-24, the CP
U1 checks the key input again at 3-1.

【0072】 <音声入出力装置8−1〜8−3の動作>次に図5を参
照して、音声入出力装置8−1〜8−3の動作状態を説
明する。このフローチャートは、マイクロプログラム制
御によるものであっても、ハードロジック制御によるも
のであってもよく、機能実現手段は種々選択できる。
<Operations of the audio input/output devices 8-1 to 8-3> Next, the operating states of the audio input/output devices 8-1 to 8-3 will be described with reference to FIG. This flowchart may be based on microprogram control or hard logic control, and various function implementation means can be selected.

【0073】さて、5−1においてCPU1から当該音
声入出力装置の指定信号CSが到来している(アクティ
ブとなっている)か否かジャッジし、YESならば5−
2において、CPU1より動作状態(レコード、プレイ
、ストップ等)が設定される。これは図3のCPU1の
メインルーチンの中の3−5、3−15に応答してなさ
れる。
Now, in 5-1, it is judged whether the designation signal CS of the audio input/output device has arrived (active) from the CPU 1, and if YES, 5-
In step 2, the CPU 1 sets the operating state (record, play, stop, etc.). This is done in response to steps 3-5 and 3-15 in the main routine of the CPU 1 in FIG.

【0074】そして、5−1においてNOの判断がなさ
れると5−3において、当該音声入出力装置8−1〜8
−3がレコード状態であるのかプレイ状態であるのか判
断し、レコード状態と判断されると、5−3から5−4
〜5−9の処理へ進み、プレイ状態と判断されると5−
10〜5−15の処理へ進む。
[0074] Then, when the determination in 5-1 is NO, in 5-3 the audio input/output devices 8-1 to 8 are
5-3 to 5-4.
~ Proceed to the process of 5-9, and when it is determined that the play state is in progress, the process of 5-
Proceed to steps 10 to 5-15.

【0075】先ずレコード状態に設定された音声入出力
装置(いまの場合音声入出力装置8−2、8−3)の動
作を説明する。5−4において、サンプリング時刻とな
ったか否か判断し、サンプリング時刻となるまで、この
5−4をくりかえす。なお、サンプリング時刻の判断は
、音声入出力装置8−1〜8−3内部に夫々ハードタイ
マーをもってその出力によって行ってもよく、あるいは
共通なハードタイマーを設けてその出力に従って各音声
入出力装置が動作するようにしてもよい。後の説明から
も理解されるとおり、各音声入出力装置8−1〜8−3
のサンプリング周波数を別々にすることも可能である。
First, the operation of the audio input/output devices (in this case, audio input/output devices 8-2 and 8-3) set to the record state will be explained. In step 5-4, it is determined whether the sampling time has come, and this step 5-4 is repeated until the sampling time has come. The sampling time may be determined by providing a hard timer in each of the audio input/output devices 8-1 to 8-3, or by providing a common hard timer and determining the sampling time according to the output of each audio input/output device. You may make it work. As will be understood from the later explanation, each audio input/output device 8-1 to 8-3
It is also possible to have different sampling frequencies.

【0076】さて、5−4において、YESの判断がな
されると、与えられるアナログ音声信号は、サンプルホ
ールド(S/H)され、A/D変換される。続いて、5
−6において、DMAコントローラ10に対してDMA
転送要求DRQをアクティブにして出力する。
Now, if YES is determined in step 5-4, the applied analog audio signal is sampled and held (S/H) and A/D converted. Next, 5
-6, the DMA controller 10
The transfer request DRQ is activated and output.

【0077】DMAコントローラ10は、この要求信号
DRQを受けとり、DMA転送を行うべく、その回答信
号DAKを出力する(この場合の詳細動作は後述する)
。従って、音声入出力装置8−1〜8−3(いまの場合
レコード状態である音声入出力装置8−2又は8−3)
は、5−7の判断がYESとなると、5−8に進み、A
/D変換して得たデジタル音声データをデータバスに出
力し、対応するバッファ9−1〜9−3(いまの場合バ
ッファ9−2又は9−3)へ送る。そして、5−9にて
、DMA転送要求DRQをインアクティブにする。従っ
て、いまの場合、音声入出力装置8−2、8−3にあっ
ては、サンプリング周期毎に、外部から与えられるアナ
ログ音声信号をデジタル音声信号に変換し、後述するよ
うにDMAコントローラ10にて夫々指定されるバッフ
ァ9−2、9−3のカレントアドレスに転送する(図8
参照)。
The DMA controller 10 receives this request signal DRQ and outputs a response signal DAK to perform DMA transfer (detailed operation in this case will be described later).
. Therefore, the audio input/output devices 8-1 to 8-3 (in this case, the audio input/output device 8-2 or 8-3 in the record state)
If the judgment in 5-7 is YES, proceed to 5-8 and
The digital audio data obtained by /D conversion is output to the data bus and sent to the corresponding buffers 9-1 to 9-3 (in this case, buffers 9-2 or 9-3). Then, in step 5-9, the DMA transfer request DRQ is made inactive. Therefore, in the present case, the audio input/output devices 8-2 and 8-3 convert the externally applied analog audio signal into a digital audio signal every sampling period, and send the analog audio signal to the DMA controller 10 as described later. to the current addresses of buffers 9-2 and 9-3 respectively specified by
reference).

【0078】また、5−3においてプレイ状態と判断さ
れると、5−10に進み、DMAコントローラ10に対
しDMA転送要求DRQをアクティブにし、DMAコン
トローラ10から回答信号DAKの到来を待って(5−
11)、データバス上のデジタル音声データを取込み(
5−12)、上記要求DRQをインアクティブにする(
5−13)。このときのDMAコントローラ10の動作
は後述するが、いまの場合図8に示すとおり、Tr1に
対応するバッファ9−1のカレントアドレスの内容(こ
れはすでにハードディスク12のTr1のエリアの内容
が転送記録されている)が、以上の操作で音声入出力装
置8−1に入力設定されることになる。そして、サンプ
リング時刻となったか否か判断する(5−14)。 このサンプリング時刻の到来の検出は、5−4において
述べたことと同じである。
If it is determined that the play state is reached in 5-3, the process proceeds to 5-10, activates the DMA transfer request DRQ to the DMA controller 10, waits for the arrival of the response signal DAK from the DMA controller 10, and then proceeds to 5-10. −
11) Import digital audio data on the data bus (
5-12), make the above request DRQ inactive (
5-13). The operation of the DMA controller 10 at this time will be described later, but in this case, as shown in FIG. ) will be input and set to the audio input/output device 8-1 through the above operations. Then, it is determined whether the sampling time has come (5-14). Detection of the arrival of this sampling time is the same as described in 5-4.

【0079】そして、5−14でYESとなると5−1
5に進みD/A変換及びローパスフィルタリングを実行
した上でアナログ音声信号を外部に出力する。
[0079] If 5-14 is YES, 5-1
Proceeding to step 5, the analog audio signal is output to the outside after performing D/A conversion and low-pass filtering.

【0080】以上レコード状態の場合と、プレイ状態の
場合との1つのサンプリング時刻における動作を説明し
たが、5−9、5−15の各処理の終了後5−1にもど
り以下同様にして次々とサンプリング時刻に対する処理
を実行する。
The operations at one sampling time in the case of the record state and the case of the play state have been explained above, but after the completion of each process in 5-9 and 5-15, the process returns to 5-1, and in the same manner, the operations are performed one after another in the same manner. and execute processing for the sampling time.

【0081】図9は音声入出力装置8−1〜8−3の動
作タイムチャートを示しており、いまの場合Tr1の音
声入出力装置8−1がプレイモードとなっていて、サン
プリング時刻tとサンプリング時刻t+1の間で、サン
プリング要求(DRQ)が発生し、DMAコントローラ
10内のチャンネルCH1の制御によって、バッファ9
−1から音声入出力装置8−1への方向のDMA転送が
なされ、サンプリング時刻t+1に同期して、D/A変
換動作がなされる。
FIG. 9 shows an operation time chart of the audio input/output devices 8-1 to 8-3. In this case, the audio input/output device 8-1 of Tr1 is in the play mode, and the sampling time t and During sampling time t+1, a sampling request (DRQ) is generated, and the buffer 9 is
-1 to the audio input/output device 8-1, and a D/A conversion operation is performed in synchronization with sampling time t+1.

【0082】一方、いまの場合Tr2、Tr3の音声入
出力装置8−2、8−3においては、レコードモードと
なっており、サンプリング時刻tあるいはt+1に同期
して、A/D変換が行われ、その後にDMAコントロー
ラ10に対してDMA転送命令が出力される。そしてD
MA転送が、Tr2、Tr3の順番で(同時にDMA要
求があった場合の優先順位が、CH1>CH2>CH3
>CH4となっている関係によるもの)実行され、音声
入出力装置8−2、8−3からバッファ9−2、9−3
へデータ転送がなされることになる。
On the other hand, in this case, the audio input/output devices 8-2 and 8-3 of Tr2 and Tr3 are in record mode, and A/D conversion is performed in synchronization with sampling time t or t+1. , thereafter, a DMA transfer command is output to the DMA controller 10. and D
MA transfer is performed in the order of Tr2 and Tr3 (if there are simultaneous DMA requests, the priority is CH1>CH2>CH3)
>CH4) is executed, and the audio input/output devices 8-2 and 8-3 are transferred to the buffers 9-2 and 9-3.
Data will be transferred to.

【0083】 <DMAコントローラ10の動作> 次に、図6を参照してDMAコントローラ10の動作を
説明する。この図6のフローチャートは、図2のサービ
スコントローラ108がマイクロプログラム制御で動作
するのを表わしているとしてもよく、あるいは、ハード
ロジックでDMAコントローラ10が機能実現をしてい
るとしてもよい。
<Operation of DMA Controller 10> Next, the operation of the DMA controller 10 will be described with reference to FIG. 6. The flowchart of FIG. 6 may represent that the service controller 108 of FIG. 2 operates under microprogram control, or the DMA controller 10 may realize its functions using hard logic.

【0084】先ず、6−1において、CPU1からの指
定信号CSが到来している(アクティブとなっている)
か否か判断し、YESならば、リード信号RD、ライト
信号WRのいずれがCPU1から与えられているか判断
し、リード信号RDならば6−3に進み、アドレスバス
を介して与えられるアドレス信号にて指定されるレジス
タ104、105の内容をデータバスを介して出力して
CPU1がリードできるようにし、逆にライト信号WR
ならば6−4に進み、指定したレジスタにデータバスを
介して所望のデータを入力設定することになる。この6
−3、6−4の処理は、CPU1のメインルーチンの3
−5、3−15などの処理に対応する。従って、6−4
の処理によって図2の各レジスタ104、105には所
望のデータがセットされることになる。
First, at 6-1, the designation signal CS from the CPU 1 has arrived (is active).
If YES, it is determined whether the read signal RD or the write signal WR is given from the CPU 1. If the read signal RD is the read signal RD, the process proceeds to 6-3 and the address signal given via the address bus is The contents of registers 104 and 105 specified by
If so, the process proceeds to 6-4, where desired data is input and set to the designated register via the data bus. This 6
-3 and 6-4 processes are 3 of the main routine of CPU1.
-5, 3-15, etc. Therefore, 6-4
Through the process described above, desired data is set in each of the registers 104 and 105 in FIG.

【0085】そして、このようなCPU1からのDMA
コントローラ10に対するアクセスやプログラムが終る
と指定信号CSはインアクティブとされ、6−1から6
−5に処理は進むことになる。
[0085] Then, DMA from CPU1 like this
When the access and programming to the controller 10 is completed, the designated signal CS becomes inactive, and the signals from 6-1 to 6
The process will proceed to -5.

【0086】6−5では、各音声入出力装置8−1〜8
−3からDMA転送要求DRQ1〜DRQ3がきている
か、HDコントローラ11からDMA転送要求DREQ
(DRQ4)がきているか判断し、もし、いずれかから
要求が来ていると6−6に進み、DMA可能信号DMA
ENBを“1”に(アクティブ)にし、DMAユニット
内のアドレスバスとデータバスをDMAコントローラ1
0が専有するようにし、CPU1からのアクセスを受け
付けなくする。
6-5, each audio input/output device 8-1 to 8
- Whether DMA transfer requests DRQ1 to DRQ3 have come from HD controller 11,
(DRQ4) is received, and if a request is received from either, proceed to 6-6 and send the DMA enable signal DMA.
Set ENB to “1” (active) and connect the address bus and data bus in the DMA unit to DMA controller 1.
0 exclusively, and does not accept access from CPU1.

【0087】続いて、複数の要求に際しては、チャンネ
ルCH1〜CH4の順の優先順位に従って、チャンネル
を選択する(6−7)。例えば、図9の例ではサンプリ
ング直後にTr2、Tr3の音声入出力装置8−2、8
−3からのデータ転送要求が同時になされるがTr2の
優先順位が高いので、先にCH2のDMA転送を行うこ
とになる。また後の説明でも理解されるとおり、CH4
の優先順位が最下位なので、ハードディスク12とバッ
ファ9−1〜9−3のうちの1つとの間でデータ転送を
行っているときに、いずれかの音声入出力装置8−1〜
8−3からデータ転送の要求がなされると、後者のデー
タ転送を先に優先的に行うようになる。
[0087] Subsequently, in the case of a plurality of requests, channels are selected according to the priority order of channels CH1 to CH4 (6-7). For example, in the example of FIG. 9, immediately after sampling, the audio input/output devices 8-2 and 8 of Tr2 and Tr3
The data transfer request from Tr-3 is made at the same time, but since Tr2 has a higher priority, the DMA transfer for CH2 is performed first. Also, as will be understood in the later explanation, CH4
has the lowest priority, so when data is being transferred between the hard disk 12 and one of the buffers 9-1 to 9-3, one of the audio input/output devices 8-1 to
When a data transfer request is made from 8-3, the latter data transfer is performed with priority first.

【0088】続いて、選択したチャンネル(いま、例え
ばCH2)のカレントアドレス(アドレスレジスタ10
4のCH2のカレントアドレスレジスタの内容)をアド
レスバスに出力する(6−8)。そして選択したチャン
ネル(いま、例えばCH2)のコントロールレジスタ1
05の内容を参照し、DMA転送をいずれの方向へ行う
か決定し(6−9)、もしバッファ9−1〜9−3から
他の要素(I/O)への転送なら6−10から6−11
へ進んで、バッファ9−1〜9−3のうちの選択してい
るバッファに対しリード信号RDを与え、逆に他の要素
(I/O)からバッファ9−1〜9−3への転送ならば
6−12に進み、当該バッファに対してライト信号WR
を与える。
Next, the current address (address register 10
4) is output to the address bus (6-8). Then, control register 1 of the selected channel (currently, for example, CH2)
Referring to the contents of 05, decide in which direction the DMA transfer should be performed (6-9), and if the transfer is from buffers 9-1 to 9-3 to other elements (I/O), start from 6-10. 6-11
Proceeding to step 9-1, the read signal RD is given to the selected buffer among the buffers 9-1 to 9-3, and conversely, the transfer from other elements (I/O) to the buffers 9-1 to 9-3 is performed. If so, proceed to 6-12 and send the write signal WR to the buffer concerned.
give.

【0089】しかる後、回答信号DAKをアクティブに
する(6−13)。その結果、いまの場合、Tr2の音
声入出力装置8−2は、5−7、5−8(図5)の処理
によって、サンプリングした音声データをデータバスに
送出し、バッファ9−2のカレントアドレスのエリアに
、DMAコントローラ10が書込むことになる(図8参
照)。
Thereafter, the answer signal DAK is activated (6-13). As a result, in this case, the audio input/output device 8-2 of Tr2 sends the sampled audio data to the data bus through the processes 5-7 and 5-8 (FIG. 5), and uses the current data in the buffer 9-2. The DMA controller 10 writes into the address area (see FIG. 8).

【0090】6−14では、データ転送が終了したので
、上記リード信号RD又はライト信号WR、回答信号D
AKをインアクティブにし、6−15で当該チャンネル
(いまCH2)のカレントアドレス(図2のアドレスレ
ジスタ104内)の内容を+1する。この6−15の動
作により、バッファ9−1〜9−3に対して新たなサン
プリング音声データが書込まれる都度、あるいは新たに
音声データが読出される都度、アップカウントされるこ
とになる。そして、6−15の処理の後、6−1へもど
る。
At 6-14, since the data transfer has been completed, the above read signal RD or write signal WR and answer signal D
AK is made inactive, and the contents of the current address (in the address register 104 in FIG. 2) of the channel (now CH2) are incremented by 1 at 6-15. By this operation 6-15, each time new sampled audio data is written into the buffers 9-1 to 9-3, or each time new audio data is read out, the count is incremented. After the process of 6-15, the process returns to 6-1.

【0091】先程の状態(図9参照)では、Tr2とT
r3との音声入出力装置8−2、8−3よりデータ転送
要求がDMAコントローラ10に対してなされており、
これまでにTr2についてのみデータ転送の実行をした
のであるから続く6−5においてはYESの判断がなさ
れる。以下Tr3に関して、音声入出力装置8−3から
バッファ9−3への方向のデータ転送が、6−7〜6−
10、6−12〜6−15を実行することにより上記し
た場合と同様にしてなされる。
In the previous state (see FIG. 9), Tr2 and T
A data transfer request is made to the DMA controller 10 from the audio input/output devices 8-2 and 8-3 with r3,
Since data transfer has been executed only for Tr2 so far, YES is determined in the subsequent step 6-5. Below, regarding Tr3, data transfer in the direction from the audio input/output device 8-3 to the buffer 9-3 is performed from 6-7 to 6-
10, 6-12 to 6-15 in the same manner as in the above case.

【0092】このようなデータ転送が完了すると6−5
から6−16に進み、DMA可能信号を“0”(インア
クティブ)にして、DMAユニット内のデータバス、ア
ドレスバスをDMAコントローラ10が専有するのを中
止し、CPU1からのアクセスを受付けられるようにす
る。
[0092] When such data transfer is completed, 6-5
Proceeding to 6-16, the DMA enable signal is set to "0" (inactive) to stop the DMA controller 10 from monopolizing the data bus and address bus in the DMA unit, so that access from the CPU 1 can be accepted. Make it.

【0093】以上Tr2、Tr3に関し、音声入出力装
置8−2、8−3から夫々対応するバッファ9−2、9
−3へのデータ転送について説明したが、Tr1につい
ては、逆に、バッファ9−1から音声入出力装置8−1
へのデータ転送がDMAコントローラ10によってなさ
れる。
Regarding Tr2 and Tr3, the audio input/output devices 8-2 and 8-3 respectively correspond to the buffers 9-2 and 9.
Tr1 has been explained about data transfer from the buffer 9-1 to the audio input/output device 8-1.
Data transfer to is performed by the DMA controller 10.

【0094】図9に示してあるとおり、サンプリング時
間tとt+1の中間で、Tr1に対応する音声入出力装
置8−1は、DMAコントローラ10に要求信号DRQ
を出力する(図5、5−10)。
As shown in FIG. 9, between sampling times t and t+1, the audio input/output device 8-1 corresponding to Tr1 sends the request signal DRQ to the DMA controller 10.
(Figure 5, 5-10).

【0095】これに応答し、DMAコントローラ10は
、上記した場合と同様に6−5〜6−7を実行し、6−
8において、バッファ9−1の読み出すべきアドレスを
示すアドレスデータをアドレスバスを介して与える。 6−9、6−10の実行により、6−11に進み、今回
はバッファ9−1に対し読み出し信号RDを与え、6−
13で回答信号DAKを“1”とする。
In response, the DMA controller 10 executes steps 6-5 to 6-7 in the same way as in the above case, and
8, address data indicating the address to be read from buffer 9-1 is provided via the address bus. By executing steps 6-9 and 6-10, the process advances to 6-11, where the read signal RD is applied to the buffer 9-1 this time, and the process proceeds to 6-11.
At step 13, the answer signal DAK is set to "1".

【0096】その結果、バッファ9−1の指定アドレス
のデジタル音声データは、データバスを介して、Tr1
の音声入出力装置8−1へ転送され取込まれることにな
る。しかる後、6−14、6−15の処理を経て6−1
へもどる。
As a result, the digital audio data at the designated address of buffer 9-1 is transferred to Tr1 via the data bus.
The audio data will be transferred to and taken in by the audio input/output device 8-1. After that, after processing 6-14 and 6-15, 6-1
Return to

【0097】また、DMAコントローラ10は、ハード
ディスク12とバッファ9−1〜9−3との間のデータ
転送も行う。この場合は、チャンネルCH4のアドレス
レジスタ104、コントロールレジスタ105が使用さ
れる。この動作は、CPU1のインタラプトルーチン(
図4)の実行によって、DMAコントローラ10に対す
る設定/制御動作4−1〜4−4、HDコントローラ1
1に対するプログラミング動作4−5、4−6の後、実
行される。
The DMA controller 10 also transfers data between the hard disk 12 and the buffers 9-1 to 9-3. In this case, the address register 104 and control register 105 of channel CH4 are used. This operation is performed by the CPU1 interrupt routine (
4), the settings/control operations 4-1 to 4-4 for the DMA controller 10 and the HD controller 1
After programming operations 4-5, 4-6 for 1 are executed.

【0098】このDMAコントローラ10に対するCP
U1の設定/制御動作4−1〜4−4に対応して、DM
Aコントローラ10は、6−3、6−4の処理を行なう
。即ち、CPU1は今回チャンネルCH4によってデー
タ転送するトラックを決定し、そのトラックに対応する
バッファのスタートアドレス(つまり前回当該バッファ
とハードディスク12とのデータ転送を行ったブロック
データの次のアドレス)をCH4のスタートアドレスレ
ジスタ(図2のアドレスレジスタ104内)にセットし
、このトラックについての今回のデータ転送数をスター
トアドレスとカレントアドレス(前回データ転送をハー
ドディスク12との間で行った後に歩進したアドレス)
との差からCPU1は得るとともに、このトラックにつ
いてのカレントアドレスをスタートアドレスにコピーす
る。
CP for this DMA controller 10
In response to U1 setting/control operations 4-1 to 4-4, DM
The A controller 10 performs the processes 6-3 and 6-4. That is, the CPU 1 determines the track to which data is to be transferred this time using channel CH4, and sets the start address of the buffer corresponding to that track (that is, the next address of the block data from which data was transferred between the buffer and the hard disk 12 last time) on CH4. Set the current number of data transfers for this track in the start address register (inside the address register 104 in FIG. 2), and set the start address and current address (address incremented after the previous data transfer was performed between the hard disk 12).
The CPU 1 obtains the difference between the two tracks and copies the current address for this track to the start address.

【0099】CPU1は、動作中のトラックに対応する
バッファ9−1〜9−3とハードディスク12との間の
データ転送を各トラック毎に順番に行うようになり、各
トラック毎に、前回のデータ転送(ブロック転送)に続
くデータ転送を行うようになる。図8の例では、例えば
Tr1については、ハードディスク12から、図示のス
タートアドレス(CH1)とカレントアドレス(CH1
)の間の空白部分に対応するデータ量の転送をこれから
行うようになる(他のトラックについてもデータ転送の
方向は逆であるが、同様の制御によることは明らかであ
る)。なお、プレイモードのバッファ(9−1が該当)
およびレコードモードのバッファ(9−2、9−3が該
当)では斜線部分が音声入力されたデータ部分に対応す
る。
The CPU 1 sequentially transfers data between the buffers 9-1 to 9-3 corresponding to the track in operation and the hard disk 12 for each track, and transfers the previous data for each track. Data transfer follows the transfer (block transfer). In the example of FIG. 8, for example, for Tr1, from the hard disk 12, the illustrated start address (CH1) and current address (CH1
) will now transfer the amount of data corresponding to the blank area between the tracks (although the direction of data transfer is reversed for other tracks, it is clear that similar control is used). In addition, play mode buffer (9-1 applies)
In the record mode buffer (corresponding to 9-2 and 9-3), the shaded area corresponds to the data portion into which voice input has been made.

【0100】そして、CPU1は、4−5、4−6によ
ってHDコントローラ11に対しプログラミングを行っ
た上で、実際の転送要求をHDコントローラ11から発
生させて、DMA転送を開始させる。
The CPU 1 then programs the HD controller 11 through steps 4-5 and 4-6, and then generates an actual transfer request from the HD controller 11 to start DMA transfer.

【0101】DMAコントローラ10では、6−5にお
いて、HDコントローラ11から転送要求があることを
検知すると、上記した場合と同様にして、6−6〜6−
9を実行した後、バッファ9−1〜9−3からハードデ
ィスク12方向へのデータ転送の要求か、ハードディス
ク12からバッファ9−1〜9−3方向へのデータ転送
の要求か6−10において判断し、前者ならば6−11
へ、後者ならば6−12へ進んだ後、6−13〜6−1
5の各処理を実行する。このとき、1回の転送操作で、
例えば1サンプル分のデジタル音声データの転送がなさ
れるので、この6−5〜6−15の動作を複数回くりか
えし実行して、ブロック転送がなされる。このハードデ
ィスク12とバッファ9−1〜9−3とのデータ転送に
ついては、HDコントローラ11の動作も大きく関連す
るので、後に更に説明する。
When the DMA controller 10 detects a transfer request from the HD controller 11 in 6-5, it performs the steps 6-6 to 6-6 in the same way as in the above case.
After executing step 9, it is determined in step 6-10 whether the request is for data transfer from the buffers 9-1 to 9-3 to the hard disk 12 or from the hard disk 12 to the buffers 9-1 to 9-3. If the former, then 6-11
If the latter, proceed to 6-12, then 6-13 to 6-1
5. Execute each process. At this time, with one transfer operation,
For example, since one sample of digital audio data is transferred, the operations 6-5 to 6-15 are repeated a plurality of times to perform block transfer. The data transfer between the hard disk 12 and the buffers 9-1 to 9-3 is largely related to the operation of the HD controller 11, and will be further explained later.

【0102】そして、DMA転送が完了すると、要求信
号DRQ1〜4が到来しなくなり、6−5から6−16
へ進み、DMA可能信号DMAENBを“0”(インア
クティブ)とする。
[0102] When the DMA transfer is completed, the request signals DRQ1 to DRQ4 no longer arrive, and the signals 6-5 to 6-16
Then, the DMA enable signal DMAENB is set to "0" (inactive).

【0103】 <HDコントローラ11の動作> 次に、図7を参照してHDコントローラ11の動作を説
明する。このHDコントローラ11は、ハードロジック
によっても、マイクロプログラム制御によってもよく、
いずれにしても図7の動作フローの機能を実現する。
<Operation of HD Controller 11> Next, the operation of the HD controller 11 will be described with reference to FIG. This HD controller 11 may be based on hard logic or microprogram control.
In any case, the function of the operation flow shown in FIG. 7 is realized.

【0104】まず、CPU1から指定信号CSが与えら
れているか判断する(7−1)。これは、CPU1のイ
ンタラプトルーチン(図4の4−5、4−6)にて与え
られる。NOの場合はもとにもどるが、YESの場合は
、7−2に進みCPU1からリード信号RDが与えられ
ているか、ライト信号WRが与えられているか判断し、
リード時にはHDコントローラ11内部の指定データ(
アドレスレジスタの内容等)をデータバスを介してCP
U1へ出力する。
First, it is determined whether the designation signal CS is provided from the CPU 1 (7-1). This is given by the interrupt routine of the CPU 1 (4-5, 4-6 in FIG. 4). If NO, the process returns to the original state, but if YES, the process proceeds to 7-2, where it is determined whether the read signal RD or write signal WR is provided from the CPU 1.
When reading, the specified data inside the HD controller 11 (
address register contents, etc.) via the data bus.
Output to U1.

【0105】また、ライト信号WRが与えられていると
きは7−2から7−4に進み、今回DMAコントローラ
10のチャンネルCH4にてDMA転送するバッファと
ハードディスク12とのデータ転送方向を設定し、7−
5にて、アクセスするハードディスク12のアクセスポ
イントを設定する。これは、CPU1がRAM3から得
ている当該トラックのディスクアクセスポインタによる
(図4、4−5)。
Further, when the write signal WR is being applied, the process proceeds from 7-2 to 7-4, where the data transfer direction between the buffer to be DMA transferred and the hard disk 12 is set on channel CH4 of the DMA controller 10, 7-
In step 5, the access point of the hard disk 12 to be accessed is set. This is based on the disk access pointer of the track that the CPU 1 obtains from the RAM 3 (FIG. 4, 4-5).

【0106】続いて7−6において、転送データ数(デ
ジタル音声データ数)をHDコントローラ11の内部カ
ウンタに設定する。この転送データ数は、CPU1のイ
ンタラプトルーチンのなかの4−6にて得ている。
Subsequently, in 7-6, the number of transfer data (the number of digital audio data) is set in the internal counter of the HD controller 11. This number of transferred data is obtained at 4-6 in the interrupt routine of the CPU 1.

【0107】このように、7−4〜7−6を実行するこ
とによってCPU1の制御のもとでHDコントローラ1
1はプログラムされ、その後HDコントローラ11はD
MAコントローラ10に対しデータ転送の要求をする(
7−7)。このことからも理解されるとおり、CPU1
は、HDコントローラ11からインタラプト信号INT
を受けると、次のトラックに対応する(つまり、いまT
r1〜Tr3は全て動作中とすると、Tr1、Tr2、
Tr3、Tr1……の順で)DMA転送の設定、制御を
DMAコントローラ10に対し実行し、HDコントロー
ラ11をプログラムする。その後、CPU1はHDコン
トローラ11とDMAコントローラ10とから離れて、
相互のインタラクションで実際のDMA転送を実行させ
る。
In this way, by executing steps 7-4 to 7-6, the HD controller 1 is activated under the control of the CPU 1.
1 is programmed, and then the HD controller 11
Request data transfer to MA controller 10 (
7-7). As can be understood from this, CPU1
is the interrupt signal INT from the HD controller 11.
When received, it corresponds to the next track (that is, if T
Assuming that r1 to Tr3 are all in operation, Tr1, Tr2,
Tr3, Tr1...) DMA transfer settings and control are executed for the DMA controller 10, and the HD controller 11 is programmed. After that, the CPU 1 separates from the HD controller 11 and the DMA controller 10, and
The mutual interaction causes actual DMA transfer to be performed.

【0108】HDコントローラ11は、7−7の次に7
−8へ進み、DMAコントローラ10から回答信号DA
CK(DAK4)を受けとる(図6、6−13参照)ま
で7−8をくりかえす。
[0108] The HD controller 11 selects 7 after 7-7.
-8, and the reply signal DA is sent from the DMA controller 10.
Repeat steps 7-8 until CK (DAK4) is received (see Figure 6, 6-13).

【0109】7−8の判断がYESとなると、7−9に
進みDMAコントローラ10のCH4の動作によって、
1サンプルのデジタル音声データの転送が行われ、7−
6にて設定した転送カウンタを1だけダウンカウントす
る(7−10)。続く7−11において、予め設定して
おいた転送データ数分のデータ転送が完了したか上記転
送カウンタの内容に従ってジャッジし、NOならば再び
7−8へもどる。従って、DMAコントローラ10にお
いては、HDコントローラ11から設定したデータ数の
転送(ブロック転送)が終了するまで、転送要求DRQ
4を続けて受けとることになり、この転送要求に従って
6−5〜6−15の処理(図6)を実行し、それに応答
する形でHDコントローラ11側では7−8〜7−11
の処理を実行する。
If the judgment in step 7-8 is YES, the process advances to step 7-9, and by the operation of CH4 of the DMA controller 10,
One sample of digital audio data is transferred, and 7-
The transfer counter set in step 6 is counted down by 1 (7-10). In the subsequent step 7-11, it is determined whether data transfer for a preset number of transfer data has been completed according to the contents of the transfer counter, and if NO, the process returns to step 7-8. Therefore, in the DMA controller 10, until the transfer of the set number of data (block transfer) from the HD controller 11 is completed, the transfer request DRQ is
4 in succession, the processes 6-5 to 6-15 (Fig. 6) are executed in accordance with this transfer request, and in response, the HD controller 11 side executes the processes 7-8 to 7-11.
Execute the process.

【0110】そして、転送終了が7−11にて判断され
ると、7−12に進み、HDコントローラ11からDM
Aコントローラ10に対してのデータ転送の要求DRE
Q(DRQ4)を“0”(インアクティブ)とする。そ
して、次のトラックに関してハードディスク12とバッ
ファ9−1〜9−3のいずれかとのデータ転送を行わせ
るために、HDコントローラ11はCPU1へインタラ
プト信号INTを与える(7−13)。これに応答して
、CPU1はインタラプトルーチン(図4)を実行する
ことは上述したとおりである。
[0110] When it is determined in 7-11 that the transfer is complete, the process proceeds to 7-12, where the DM is transferred from the HD controller 11.
Data transfer request DRE to the A controller 10
Q (DRQ4) is set to "0" (inactive). Then, in order to transfer data between the hard disk 12 and any of the buffers 9-1 to 9-3 regarding the next track, the HD controller 11 gives an interrupt signal INT to the CPU 1 (7-13). As described above, in response to this, the CPU 1 executes the interrupt routine (FIG. 4).

【0111】<ハードディスク12とバッファ9−1〜
9−3との間のデータ転送動作>以上までの説明で、ハ
ードディスク12とバッファ9−1〜9−3との間のデ
ータ転送についても理解されるところとなったが、図8
と図10とを参照して、DMAコントローラ10に対し
てDMA要求がなされ、それに対してDMAコントロー
ラ10が時分割で対応している様子を以下に説明する。
<Hard disk 12 and buffer 9-1~
Data transfer operation between hard disk 12 and buffers 9-1 to 9-3> Through the above explanation, data transfer between hard disk 12 and buffers 9-1 to 9-3 can be understood.
10, a DMA request is made to the DMA controller 10, and how the DMA controller 10 responds to the request in a time-sharing manner will be described below.

【0112】既に述べたとおり、図8に示す設定状態に
あっては、Tr1についてはプレイ状態、Tr2、Tr
3についてはレコード状態となっていて、夫々の音声入
出力装置8−1〜8−3から毎サンプリングタイム(図
10のfs)にバッファ9−1〜9−3とのデータ転送
要求がDMAコントローラ10になされる。
As already mentioned, in the setting state shown in FIG. 8, Tr1 is in the play state, Tr2, Tr
3 is in a record state, and data transfer requests from the respective audio input/output devices 8-1 to 8-3 to the buffers 9-1 to 9-3 are sent to the DMA controller at every sampling time (fs in FIG. 10). It will be done in 10.

【0113】これは、CPU1がHDコントローラ11
をプログラミングしている間(図4の4−5、4−6、
図7の7−4〜7−7)も生じる。DMAコントローラ
10は、音声入出力装置8−1〜8−3からのデータ転
送要求があると、上述したようにDMA可能信号DMA
ENBを出力し(図6の6−6)、CPU1によるHD
コントローラ11のプログラミングを中断(WAIT)
して、各チャンネルCH1〜CH3によるDMA転送の
完了後に、それを再開させる(図10参照)。
[0113] This means that the CPU 1
While programming (4-5, 4-6 in Figure 4,
7-4 to 7-7) in FIG. 7 also occur. When the DMA controller 10 receives a data transfer request from the audio input/output devices 8-1 to 8-3, the DMA controller 10 sends the DMA enable signal DMA as described above.
Output ENB (6-6 in Figure 6), and HD by CPU1.
Interrupting programming of controller 11 (WAIT)
Then, after the DMA transfer by each channel CH1 to CH3 is completed, it is restarted (see FIG. 10).

【0114】また、CH4によるDMA転送により、ハ
ードディスク12とバッファ9−1〜9−3との間のデ
ータ転送が順次行われているときも、上記各音声入出力
装置8−1〜8−3から各サンプリングタイム毎(図1
0のfs)にデータ転送要求がなされる。
[0114] Furthermore, even when data transfer between the hard disk 12 and the buffers 9-1 to 9-3 is performed sequentially by DMA transfer by CH4, each of the audio input/output devices 8-1 to 8-3 is for each sampling time (Fig. 1
A data transfer request is made to fs 0).

【0115】このとき、DMAコントローラ10では、
図6の6−7の判断により優先度の高いチャンネル(C
H1〜CH3)のデータ転送を先に行うようになる。こ
の間は、DMAコントローラ10へHDコントローラ1
1からデータ転送要求DRQ4が出力され続けている(
図7、7−7参照)ものの、DMAコントローラ10か
ら回答信号DAK4がもどってこないので、次のデータ
転送を待機している(7−8をくりかえしている)こと
になる。
[0115] At this time, in the DMA controller 10,
Channels with high priority (C
Data transfer of H1 to CH3) is performed first. During this time, the HD controller 1 is transferred to the DMA controller 10.
Data transfer request DRQ4 continues to be output from 1 (
(See FIGS. 7 and 7-7) However, since the reply signal DAK4 is not returned from the DMA controller 10, the next data transfer is waited (steps 7-8 are repeated).

【0116】従って、マクロ的には、DMAコントロー
ラ10は図10に示されたとおり、Tr1、Tr2、T
r3のハードディスク12とバッファ9−1〜9−3と
の間のDMA転送(ブロック転送)をくりかえすことに
なるが、ミクロ的には、HDコントローラ11に対する
プログラミング中も、実際のDMA転送中(CH4によ
る)も、あるいは休止(アイドル)中も、サンプリング
タイミング毎に、バッファ9−1〜9−3と音声入出力
装置8−1〜8−3との間のDMA転送(シングル転送
)を、CH1〜CH3の各チャンネルによって実行する
ことになり、サンプリングタイミング毎のA/D変換、
D/A変換に十分速度的にも対処できるようになってい
る。
Therefore, macroscopically, the DMA controller 10 has Tr1, Tr2, T
The DMA transfer (block transfer) between the hard disk 12 of r3 and the buffers 9-1 to 9-3 is repeated, but microscopically, even during programming to the HD controller 11 and during actual DMA transfer (CH4 DMA transfer (single transfer) between the buffers 9-1 to 9-3 and the audio input/output devices 8-1 to 8-3 is performed on CH1 at each sampling timing. It will be executed by each channel of ~CH3, and A/D conversion at each sampling timing,
It is designed to be able to handle D/A conversion sufficiently in terms of speed.

【0117】 〈録音及び編集作業〉 図11は、図1の実施例の動作を時間の経過に従って示
し、図12は、図1の実施例の種々の処理の相互関係を
示す。まず、11−1、11−2および11−3におい
て、それぞれトラック選択、録音および必要に応じてパ
ンチイン/アウト操作が行われると、オリジナルレコー
ディングトラック(ORT)、イベントアドレステーブ
ル(EAT)およびオリジナルトラックスケジュール(
OTS)が自動的に作成される。ORTは、イベントの
識別情報(イベント番号)を録音/再生順序に従って配
列して成るものでありRAM3に記憶される。EATは
、前述のように、イベントの識別情報(イベント番号)
およびイベントのハードディスク12上の記憶位置(オ
リジナルトラック番号、スタートポイント(スタートア
ドレス)およびエンドポイント(エンドアドレス))を
含み、RAM3に記憶される。OTSは各イベントにつ
いて最初に設定されたもしくはパンチイン/アウト操作
後の録音/再生開始時刻を含むテーブルで、RAM3に
記憶される。
<Recording and Editing Work> FIG. 11 shows the operation of the embodiment of FIG. 1 over time, and FIG. 12 shows the interrelationships of various processes of the embodiment of FIG. First, in 11-1, 11-2, and 11-3, when track selection, recording, and punch-in/out operations are performed as necessary, the original recording track (ORT), event address table (EAT), and original track schedule(
OTS) is automatically created. The ORT is composed of event identification information (event numbers) arranged in accordance with the recording/playback order, and is stored in the RAM 3. As mentioned above, EAT is event identification information (event number)
and the storage location of the event on the hard disk 12 (original track number, start point (start address), and end point (end address)), and is stored in the RAM 3. The OTS is a table containing recording/playback start times initially set for each event or after punch-in/out operations, and is stored in the RAM 3.

【0118】ハードディスク12のTr1、Tr2およ
びTr3用の記憶エリアが、図12に示されているよう
に、それぞれ、アドレス00000〜09999、アド
レス10000〜19999、およびアドレス2000
0〜29999であり、イベント1乃至11が図13に
示されたハードディスク12のアドレスに記憶されたも
のとすると、EATは、図16のようになる。なお、E
AT中アトリビュートの欄のEは、イベントが最初に録
音されてからグループ又は分割が行われていないことを
示す。図14は、図13のハードディスク12の記憶状
態および図16のEATに対応したORTの一例を示す
。図13と図14でイベント8と9の位置が入れ替わっ
ているのは、イベント8の方がイベント9より時間的に
早く録音されたが、イベント9がパンチイン(11−3
)により録音されたために、再生順序がイベント9の方
がイベント8より早くなるためである。また、図14の
Blankは無音部分をブランクとして定義したことを
示す。
As shown in FIG. 12, the storage areas for Tr1, Tr2, and Tr3 of the hard disk 12 are located at addresses 00000 to 09999, addresses 10000 to 19999, and addresses 2000, respectively.
0 to 29999, and assuming that events 1 to 11 are stored at the addresses of the hard disk 12 shown in FIG. 13, the EAT will be as shown in FIG. In addition, E
An E in the AT attribute column indicates that no grouping or division has occurred since the event was first recorded. FIG. 14 shows an example of the storage state of the hard disk 12 of FIG. 13 and an ORT corresponding to the EAT of FIG. 16. The reason why the positions of events 8 and 9 are swapped in Figures 13 and 14 is that event 8 was recorded earlier than event 9, but event 9 punched in (11-3
), event 9 is played earlier than event 8 in the playback order. Further, Blank in FIG. 14 indicates that the silent portion is defined as blank.

【0119】図15は、図14のORTに対応するOT
Sの一例を示す。上述のように、トラック選択(11−
1)、録音(11−2)およびパンチイン/アウト(1
1−3)に応じて、EATが自動的に生成されるが、イ
ベント化(11−4)をマニュアルで行うことができ、
またEATをマニュアルで作成できる。
FIG. 15 shows an OT corresponding to the ORT in FIG.
An example of S is shown. As mentioned above, track selection (11-
1), recording (11-2) and punch-in/out (1)
EAT is automatically generated according to 1-3), but eventization (11-4) can be performed manually.
You can also create an EAT manually.

【0120】図17は、イベントのマニュアル指定処理
の一例を示す。すなわち、この1つの例としては、イベ
ントをリアルタイムで再生中になんらかの操作スイッチ
を押すことにより、その開始ポイントと終了ポイントを
指定してやることによる。CPU1は、音声データの再
生が開始される(17−1)と、イベント化を指定する
キー入力の有無を判断する(17−2)。イベント化が
指定されると、CPU1は、転送中のバッファ(9−1
、9−2または9−3)のカレントアドレスを参照し、
ハードディスク12から当該バッファに転送されたデー
タのバイト数を参照して、ハードディスク12の時間軸
上のスタートアドレスを算出する(17−3)。そして
、このスタートアドレスを、指定されたイベント番号の
スタートポイントに設定する(17−4)。終了ポイン
トに関しても同様の演算操作で指定できるが説明は省略
する。
FIG. 17 shows an example of manual event specification processing. That is, one example of this is to specify the start point and end point by pressing some operation switch while the event is being played back in real time. When the reproduction of the audio data is started (17-1), the CPU 1 determines whether there is a key input that designates eventization (17-2). When eventization is specified, CPU1 transfers the buffer (9-1
, 9-2 or 9-3),
The start address on the time axis of the hard disk 12 is calculated by referring to the number of bytes of data transferred from the hard disk 12 to the buffer (17-3). This start address is then set as the start point of the designated event number (17-4). The end point can also be specified using similar arithmetic operations, but the explanation will be omitted.

【0121】また、イベントのマニュアル指定の別の手
法としては、ICT(インディビジュアルコントロール
トラック)上の時間軸上でイベントの範囲を指定するこ
とによる。
Another method for manually specifying an event is to specify the range of the event on the time axis on the ICT (individual control track).

【0122】図18は、図11の11−5のICT作成
処理の一例を示す。この処理では、時間が既知であるこ
とを前提としており、まず、CPU1は、時間軸および
前イベントのエンドポイントEn−1を表示装置5に表
示する(18−1)。次に編集者(ユーザ)がキーボー
ド4のキーを操作して、入力トラック、入力イベントお
よびスタートポイントを指定する(18−2)。次に、
CPU1は、18−2で指定されたスタートポイントS
nと、その前のイベントのエンドポイントEn−1とを
比較し、前者が後者より大きければ、スタートポイント
の時間とイベント番号をインディビジュアルトラックス
ケジュール(ITS)に書込み(18−4)、EATか
らエンドポイントEnを計算する(18−5)。18−
3において、18−2で指定されたスタートポイントS
mがその前のイベントのエンドポイントEn−1より小
さいか、両者が等しければ、新たな入力トラック、入力
イベントおよびスタートポイントが指定されるのを待つ
。18−1乃至18−5の処理は、編集者がキーボード
4を介して終了指令を入力するまで続けられ、ICTお
よびITSが作成される。
FIG. 18 shows an example of the ICT creation process of 11-5 in FIG. This process assumes that the time is known, and first, the CPU 1 displays the time axis and the end point En-1 of the previous event on the display device 5 (18-1). Next, the editor (user) operates the keys on the keyboard 4 to specify the input track, input event, and start point (18-2). next,
CPU1 starts at the start point S specified in 18-2.
Compare n with the end point En-1 of the previous event, and if the former is greater than the latter, write the start point time and event number in the individual track schedule (ITS) (18-4), and from the EAT. Calculate the end point En (18-5). 18-
3, start point S specified in 18-2
If m is less than or equal to the end point En-1 of the previous event, it waits for a new input track, input event, and start point to be specified. The processes 18-1 to 18-5 are continued until the editor inputs a termination command via the keyboard 4, and ICT and ITS are created.

【0123】図20は、このようにして作成されたIC
Tの一例を示す。ICTは、前述のように、EATに含
まれるイベントの識別情報(イベント番号)を各トラッ
ク毎にイベントの再生順序に配列して成るものである。 図20のICT−1、ICT−2、ICT−3は、それ
ぞれTr1、Tr2およびTr3に対応する。ICTは
、図14のORTを編集者の選択(キー操作)に応じて
変更したものである。
FIG. 20 shows the IC created in this way.
An example of T is shown. As described above, the ICT is made up of event identification information (event numbers) included in the EAT arranged in the event playback order for each track. ICT-1, ICT-2, and ICT-3 in FIG. 20 correspond to Tr1, Tr2, and Tr3, respectively. ICT is the ORT in FIG. 14 modified according to the editor's selection (key operation).

【0124】図21は、図18のICT処理の結果作成
されたITSの一例を示す。ITSは、各トラック毎に
各イベントの再生開始時刻を記録したテーブルであり、
RAM3に記憶される。
FIG. 21 shows an example of the ITS created as a result of the ICT processing shown in FIG. ITS is a table that records the playback start time of each event for each track,
It is stored in RAM3.

【0125】図19は、図11の11−5のICT作成
処理の別の例を示す。この処理では、まず、CPU1は
、時間軸を表示装置5に表示する(19−1)。次に、
CPU1は、入力済みのトラック番号およびイベント番
号を表示装置5に表示する(19−2)。次に、編集者
は、キーボード4のキーを操作して、入力トラック番号
および入力イベント番号を指定する(19−3)。 次に、CPU1は、キーボード4からイベントの追加が
選択されたのか、イベントの挿入が選択されたのかを判
断する(19−4)。CPU1はイベントの追加が選択
されたと判断すると、EATからエンドポイントを算出
し(19−5)、このエンドポイントを、追加されたイ
ベントの再生開始時刻としてITSに書込む(19−6
)。
FIG. 19 shows another example of the ICT creation process of 11-5 in FIG. In this process, the CPU 1 first displays the time axis on the display device 5 (19-1). next,
The CPU 1 displays the input track number and event number on the display device 5 (19-2). Next, the editor operates the keys on the keyboard 4 to specify the input track number and input event number (19-3). Next, the CPU 1 determines whether adding an event or inserting an event has been selected from the keyboard 4 (19-4). When the CPU 1 determines that addition of an event has been selected, it calculates the end point from the EAT (19-5), and writes this end point to the ITS as the playback start time of the added event (19-6).
).

【0126】CPU1は、19−4において、イベント
の挿入が選択されたと判断すると、キーボード4からの
挿入位置の指定を受けつける(19−7)。次に、CP
U1は、EATから挿入場所のスタートポイントおよび
エンドポイントを算出し(19−8)、ITSに挿入さ
れたイベントの再生開始時刻を書き込むとともに、挿入
されたイベント以降のイベントの再生時刻を計算して書
き換える(19−9)。19−1乃至19−9の処理は
、キーボード4から終了指令が入力されたとCPU1が
判断(19−10)するまで続けられ、ICTおよびI
TSが作成される。
When the CPU 1 determines at 19-4 that event insertion has been selected, it accepts the designation of the insertion position from the keyboard 4 (19-7). Next, C.P.
U1 calculates the start point and end point of the insertion location from the EAT (19-8), writes the playback start time of the inserted event to the ITS, and calculates the playback time of the events after the inserted event. Rewrite (19-9). The processes 19-1 to 19-9 are continued until the CPU 1 determines (19-10) that a termination command has been input from the keyboard 4, and the ICT and I
A TS is created.

【0127】図11のICT作成(11−5)が完了す
ると、次に、トータルコントロールトラック(TCT)
指定(11−6)が行われる。TCTとは、図3の3−
20に関連して説明したように、また図23に示されて
いるように、TEの識別情報(TE番号、図23の例で
はTE−1およびTE−2)を再生順序に配列したもの
である。また、TEとは、図3の3−19に関連して説
明したように、また、図23に示されているように、複
数のトラック分(図23の例で3トラック分)のICT
を時間軸に関して複数(図23の例では2個)に区切っ
たときの各区切られたデータをいい、TEの指定とは、
TEに識別情報(図23の例では、TE−1およびTE
−2)を付し、トータルイベントテーブル(TET)に
登録することをいう。TETは、図24に示されている
ように、各TEについて、TE番号、スタート時間およ
びエンド時間を有して構成される。TETとEATとの
大きな差異は、EATが例えば図16に示されているよ
うにハードディスク12の記憶位置を示す情報(オリジ
ナルトラック、スタートポイントおよびエンドポイント
)を有しているのに対し、TETはこのようなディスク
12上の位置を示す情報を有せず、ICT上の時間軸に
関する情報しか有していない点である。
[0127] When the ICT creation (11-5) in Fig. 11 is completed, next, the total control track (TCT)
Designation (11-6) is performed. TCT is 3- in Figure 3.
20 and as shown in FIG. 23, the TE identification information (TE numbers, TE-1 and TE-2 in the example of FIG. 23) are arranged in the playback order. be. Furthermore, as explained in relation to 3-19 in FIG. 3, and as shown in FIG. 23, TE refers to ICT for multiple tracks (3 tracks in the example of FIG. 23).
The TE designation refers to each segmented data when it is segmented into multiple pieces (two pieces in the example of FIG. 23) on the time axis.
Identification information for the TE (in the example of Figure 23, TE-1 and TE
-2) and is registered in the total event table (TET). The TET is configured with a TE number, start time, and end time for each TE, as shown in FIG. The major difference between TET and EAT is that EAT has information indicating the storage location of the hard disk 12 (original track, start point, and end point), as shown in FIG. The point is that it does not have information indicating such a position on the disk 12, but only has information regarding the time axis on the ICT.

【0128】図24のTETの作成に関連して、図25
に示されるようなトータルトラックスケジュール(TT
S)が作成される。TTSは各TEの再生時刻を示す情
報を有する。各TEは何回でも再生でき、図25の実施
例では、TE−1は続けて2回再生される。TETとT
TSの相異は、TETは各TEのICTの時間軸上の位
置を有しているのに対し、TTSは各TEの再生時刻情
報を有している点である。従って、TETは、各TEに
ついて1つの時間情報(スタートタイムとエンドタイム
を組合せて1つの時間情報と考える)しか有しないのに
対し、TTSは各TEに関し何個でも時刻情報を有する
ことができる。
In connection with the creation of TET in FIG. 24, FIG.
The total track schedule (TT) as shown in
S) is created. The TTS has information indicating the playback time of each TE. Each TE can be played any number of times, and in the example of FIG. 25, TE-1 is played twice in a row. TET and T
The difference between TS is that TET has the position of each TE's ICT on the time axis, whereas TTS has playback time information of each TE. Therefore, TET has only one piece of time information for each TE (start time and end time are considered to be one piece of time information), whereas TTS can have any number of pieces of time information for each TE. .

【0129】このように図11のTCT指定が行われ(
11−6)、TTSが作成されると、次に、トータルコ
ントロールトラック(TCT)が実行される(11−7
)。TCTが実行されると、EATおよびITSが自動
的に変更される。
[0129] In this way, the TCT specification in Fig. 11 is performed (
11-6), Once the TTS is created, the Total Control Track (TCT) is then executed (11-7
). When the TCT is executed, the EAT and ITS are automatically modified.

【0130】図22は、TCT作成実行処理の一例を示
す。まず、CPU1がICTの時間軸を表示装置5に表
示し、編集者は表示された時間軸を基準にキーボード4
を介してTEの登録を行う(22−1)。これにより、
図24に示されるようなTETが作成される。次に、編
集者がTTSの指定を行うと、すなわちTE−1および
TE−2の再生順序および回数を指定すると、CPU1
は、TE1およびTE2の再生時刻を計算し、図25に
示されるようなTTSを自動的に生成する(22−2)
。これと同時に図23に示されるようなTCTが自動的
に生成される。
FIG. 22 shows an example of TCT creation execution processing. First, the CPU 1 displays the ICT time axis on the display device 5, and the editor uses the keyboard 4 based on the displayed time axis.
The TE is registered via the TE (22-1). This results in
A TET as shown in FIG. 24 is created. Next, when the editor specifies TTS, that is, specifies the playback order and number of times of TE-1 and TE-2, CPU1
calculates the playback times of TE1 and TE2 and automatically generates a TTS as shown in FIG. 25 (22-2)
. At the same time, a TCT as shown in FIG. 23 is automatically generated.

【0131】次に、編集者が、TCTの実行コマンドを
キーボード4を介して入力すると(22−3)、CPU
1は、TEのスタートポイントまたはエンドポイント上
にデータがあり且つスタートポイントでもエンドポイン
トでもないイベントを探索し(22−4)、このような
イベントが存在すれば、当該イベントをTEの境界で分
割したイベントを作成する(22−5)。また、CPU
1は、グループ化の結果、同一イベントとなるイベント
を探索する(22−6)。CPU1は、このようなイベ
ントが有れば、ユーザ(編集者)が指定した処理を実行
し(22−7)、無ければグループ化を実行しEATに
書込む(22−8)。次にCPU1は、イベント挿入に
よるデータの加算等を行って各ICTとそのITSを書
き換え(22−9)、それが完了すると、TETおよび
TTSは不要となるのでこれをクリアする(22−10
)。
Next, when the editor inputs a TCT execution command via the keyboard 4 (22-3), the CPU
1 searches for an event that has data on the start point or end point of the TE and is neither the start point nor the end point (22-4), and if such an event exists, divides the event at the TE boundary. Create an event (22-5). Also, CPU
1 searches for events that are the same event as a result of grouping (22-6). If there is such an event, the CPU 1 executes the process specified by the user (editor) (22-7), and if there is no such event, it executes grouping and writes it to the EAT (22-8). Next, the CPU 1 rewrites each ICT and its ITS by adding data by inserting events (22-9), and when this is completed, TET and TTS are no longer needed, so they are cleared (22-10).
).

【0132】図22のようなTCT作成実行処理を行う
と、図23に示されているように、3つのトラック用の
インディビジュアルコントロールトラックICT−1、
ICT−2およびICT−3は、ICT−1′、ICT
−2′およびICT−3′にそれぞれアップデートされ
、インディビジュアルトラックスケジュール(ITS)
は、図21のITSから図27のITSにアップデート
され、イベントアドレステーブル(EAT)は、図16
のEATから図26または図28のEATにアップデー
トされる。図26のEATは、図22の22−8におけ
るグループ化を行わなかった場合であり、図28のEA
Tはグループ化を行った場合である。図28のアトリビ
ュート欄のGはグループ化を意味し、例えば、イベント
5はイベント12と13をグループ化したことを示す。 なお、図26および図28のEAT中、イベント14お
よび15は、イベント7を分割した結果(すなわち図2
2の22−5の処理の結果)作成されたイベントである
When the TCT creation execution process as shown in FIG. 22 is performed, as shown in FIG. 23, the individual control track ICT-1 for three tracks,
ICT-2 and ICT-3 are ICT-1', ICT
-2' and ICT-3' respectively, and the Individual Track Schedule (ITS)
has been updated from the ITS in Figure 21 to the ITS in Figure 27, and the event address table (EAT) has been updated from the ITS in Figure 21 to the ITS in Figure 27.
The EAT shown in FIG. 26 or 28 is updated from the EAT shown in FIG. The EAT in FIG. 26 is the case where the grouping in 22-8 in FIG. 22 is not performed, and the EAT in FIG.
T is the case when grouping is performed. G in the attribute column of FIG. 28 means grouping; for example, event 5 indicates that events 12 and 13 are grouped. In addition, in the EAT of FIGS. 26 and 28, events 14 and 15 are the result of dividing event 7 (i.e.,
This is an event created as a result of the processing in step 22-5).

【0133】その後、ユーザからキーボード4を介して
再生指令が入力されると、CPU1は、(RAM3に記
憶された)図23のICT−1′、ICT−2′および
ICT−3′を参照し、これらのテーブルに配列されて
いるイベントの順序に従って、(RAM3に記憶されて
いる)図26または図28のEATを参照して再生しよ
うとするイベントのハードディスク12上のアドレスを
発生させ、(RAM3に記憶された)図27のITSに
示された再生時刻にHDコントローラ11を介してハー
ドディスク12にアクセスして、イベントの再生を行う
[0133] Thereafter, when the user inputs a reproduction command via the keyboard 4, the CPU 1 refers to ICT-1', ICT-2', and ICT-3' of FIG. 23 (stored in the RAM 3). , according to the order of the events arranged in these tables, generate the address on the hard disk 12 of the event to be played by referring to the EAT of FIG. 26 or FIG. 28 (stored in RAM 3), and The event is played back by accessing the hard disk 12 via the HD controller 11 at the playback time shown in the ITS in FIG.

【0134】上述したように、図1乃至図28に示され
た実施例では、イベントを指定することにより編集を行
えばよいから、編集のためにいちいちディスク12をア
クセスする必要がない。
As described above, in the embodiments shown in FIGS. 1 to 28, editing can be performed by specifying an event, so there is no need to access the disk 12 each time for editing.

【0135】 <他の実施例> 以上、本発明の一実施例について詳述したが、本発明は
、種々の変形が可能であり、その例を図29に示す。
<Other Embodiments> Although one embodiment of the present invention has been described in detail above, the present invention can be modified in various ways, examples of which are shown in FIG.

【0136】図29は、上述した実施例のDMAユニッ
トを2組として、Tr1〜Tr3の3トラックのDMA
ユニットと、Tr4〜Tr6の3トラックのDMAユニ
ットによる6トラックのデジタルマルチトラックレコー
ダとして構成した例である。つまりDMAユニットの増
設で、マルチトラックの数を増加できる。
FIG. 29 shows three tracks of DMA units Tr1 to Tr3 using two sets of DMA units according to the above embodiment.
This is an example of a 6-track digital multi-track recorder configured by a DMA unit and 3-track DMA units Tr4 to Tr6. In other words, the number of multi-tracks can be increased by adding more DMA units.

【0137】図29において、CPU1′は、6トラッ
ク分の制御、管理を行うべくコントロールバス、アドレ
スバス、データバスを介して各ユニットと連結される。 また、各DMAユニットからCPU1′に対し、ハード
ディスクとのデータ転送の完了を示すインタラプト信号
INT0、INT1が与えられることになる。
In FIG. 29, a CPU 1' is connected to each unit via a control bus, an address bus, and a data bus to control and manage six tracks. Furthermore, interrupt signals INT0 and INT1 indicating completion of data transfer with the hard disk are given to the CPU 1' from each DMA unit.

【0138】ROM2′、RAM3′は、先の実施例と
同様にトラック数が2倍になったのに対応して変更が施
されたプログラムやデータが記憶されることになる。
The ROM 2' and RAM 3' store programs and data that have been changed in response to the doubling of the number of tracks, as in the previous embodiment.

【0139】CPU1′のウェイト(WAIT)信号と
しては、Tr1〜Tr3のDMAユニットからの信号と
、Tr4〜Tr6のDMAユニットからの信号とが、オ
アゲート200を介して与えられることになる。
As the wait (WAIT) signal for the CPU 1', signals from the DMA units Tr1 to Tr3 and signals from the DMA units Tr4 to Tr6 are applied via the OR gate 200.

【0140】その他の構成及び作用は上記実施例と同様
なので、これ以上の説明は必要としないであろう。
[0140] Since the other configurations and operations are similar to those of the above embodiment, no further explanation is necessary.

【0141】この発明は、更に、固定のサンプリングレ
ートで音声信号の入出力動作を行う音声入出力装置をも
つもののほか、各音声入出力装置のサンプリング周波数
を変更できるタイプのデジタルマルチトラックレコーダ
としてもよい。各音声入出力装置のサンプリング周波数
を音階周波数に依存して変更する(VCOやデジタル型
発信器等によってサンプリングクロックを発生すること
になる)と、装置全体がポリフォニックサンプラー(サ
ンプリング電子楽器)となる。この場合、演奏操作に依
存して、再生時(プレイ時)の各音声入出力装置のサン
プリングクロックを可変することになる。
[0141] The present invention can also be used as a type of digital multi-track recorder that has an audio input/output device that inputs and outputs audio signals at a fixed sampling rate, as well as a type that can change the sampling frequency of each audio input/output device. good. When the sampling frequency of each audio input/output device is changed depending on the scale frequency (a sampling clock is generated by a VCO, a digital oscillator, etc.), the entire device becomes a polyphonic sampler (sampling electronic musical instrument). In this case, the sampling clock of each audio input/output device during reproduction (play) will be varied depending on the performance operation.

【0142】また、各トラックに対し異なるサンプリン
グ周波数を設定することで、高周波まで必要としないト
ラック等を低いサンプリング周波数を割り当てて、デー
タ容量を減らすなど自由度の高いトラック制御を行える
Furthermore, by setting different sampling frequencies for each track, it is possible to perform track control with a high degree of freedom, such as by assigning a low sampling frequency to tracks that do not require high frequencies, thereby reducing data capacity.

【0143】図30は、図4に示された図1のCPU1
のインタラプトルーチンのかわりに採用できるCPU1
の別のインタラプトルーチンの例を示す。図30のイン
タラプトルーチンを採用するときは、一構成例としては
、図1のRAM3に再生スケジュールテーブルが記憶さ
れる。再生スケジュールテーブルとは、再生順序に配列
された複数のイベントのそれぞれのディスク12上のス
タートアドレスおよびエンドレスを含むテーブルであり
、各トラック毎に設けられる。図31は、図26のイベ
ントアドレステーブルに対応したトラック1の再生スケ
ジュールテーブルの一例を示す。
FIG. 30 shows the CPU 1 of FIG. 1 shown in FIG.
CPU1 that can be adopted in place of the interrupt routine of
Here is an example of another interrupt routine. When the interrupt routine shown in FIG. 30 is employed, a playback schedule table is stored in the RAM 3 shown in FIG. 1, as one configuration example. The reproduction schedule table is a table that includes the start address and end address on the disk 12 of each of a plurality of events arranged in reproduction order, and is provided for each track. FIG. 31 shows an example of a playback schedule table for track 1 corresponding to the event address table of FIG. 26.

【0144】図30のインタラプトルーチンを説明する
と、まず、例えば、Tr1について、ハードディスク1
2から例えばイベント1のディジタル音声データをバッ
ファ9−1にDMA転送するために、DMAコントロー
ラ10のチャンネルとしてTr1に対応するチャンネル
CH1を選定する(30−1)。また、DMAコントロ
ーラ10のアドレスレジスタ104のCH1のエリアか
らカレントアドレスおよびスタートアドレスを読み出し
て、バッファ9−1からのまたはバッファ9−1へのデ
ータ転送可能数(録音時ではバッファ9−1のデータ充
満領域の量すなわちバッファ9−1からのデータ転送可
能数、再生時ではバッファ9−1の空き領域の量すなわ
ちバッファ9−1へのデータ転送可能数)を算出する(
30−1)。
To explain the interrupt routine of FIG. 30, first, for example, regarding Tr1, hard disk 1
In order to DMA transfer digital audio data of, for example, event 1 from Tr2 to buffer 9-1, channel CH1 corresponding to Tr1 is selected as the channel of DMA controller 10 (30-1). Also, the current address and start address are read from the CH1 area of the address register 104 of the DMA controller 10, and the number of possible data transfers from or to the buffer 9-1 (during recording, the data in the buffer 9-1 is The amount of full area, that is, the number of data that can be transferred from buffer 9-1, and the amount of free space in buffer 9-1, that is, the number of data that can be transferred to buffer 9-1 during playback) is calculated (
30-1).

【0145】次に、当該トラック(ここでは、トラック
Tr1)が録音モードか再生モードか判断する(30−
2)。録音モードであれば、DMAコントローラ10お
よびHDコントローラ11をプログラムして、バッファ
9−1からHDコントローラ10へのデータ転送を行う
(30−8)。より具体的に述べるとDMAコントロー
ラ10に対するプログラミングは、CH1のスタートア
ドレスをCH4のスタートアドレスおよびカレントアド
レスにコピーすることにより行う。CH4のカレントア
ドレスは、単位量のデータがバッファ9−1からHDコ
ントローラ11に転送される毎に増加する。HDコント
ローラ11に対するプログラミングは、RAM3の作業
メモリからTr1のディスクアクセスポインタを読み出
し、このポインタと、30−1で算出したバッファ9−
1からHDコントローラ11へのデータ転送可能数と、
30−2において検出されたモード(録音モード)とに
よって行う。
Next, it is determined whether the track (here, track Tr1) is in recording mode or playback mode (30-
2). If it is the recording mode, the DMA controller 10 and HD controller 11 are programmed to transfer data from the buffer 9-1 to the HD controller 10 (30-8). More specifically, programming for the DMA controller 10 is performed by copying the start address of CH1 to the start address and current address of CH4. The current address of CH4 increases every time a unit amount of data is transferred from the buffer 9-1 to the HD controller 11. Programming for the HD controller 11 involves reading the disk access pointer of Tr1 from the working memory of RAM3, and using this pointer and the buffer 9- calculated in step 30-1.
1 to the HD controller 11, and
This is done according to the mode (recording mode) detected in step 30-2.

【0146】この結果、HDコントローラ11は、いま
の場合、バッファ9−1からハードディスク12への方
向のDMA転送を、DMAコントローラ10に要求し(
DREQを出力し)、DMAコントローラ10は対応す
るDMA転送を実行することになる。続いて、CPU1
は、ディスクアクセスポインタを、上述した転送処理を
実行した結果とるであろう値まで更新する(30−9)
。すなわち、バッファ9−1とハードディスク12との
間のデータ転送は、この後、DMAコントローラ10が
全て実行することになり、CPU1はこのDMA転送が
完了したときのハードディスク12のアドレスをディス
クアクセスポインタにセットするのである。
As a result, in this case, the HD controller 11 requests the DMA controller 10 to perform DMA transfer from the buffer 9-1 to the hard disk 12 (
DREQ), and the DMA controller 10 executes the corresponding DMA transfer. Next, CPU1
updates the disk access pointer to the value that will be obtained as a result of executing the transfer process described above (30-9).
. That is, all data transfer between the buffer 9-1 and the hard disk 12 will be executed by the DMA controller 10 after this, and the CPU 1 will set the address of the hard disk 12 at the time this DMA transfer is completed in the disk access pointer. Set it.

【0147】図4の30−2において、再生モードと判
断されると、CPU1は、RAM3中のディスクアクセ
スポインタが属する再生スケジュールテーブル中の現テ
ーブル要素の残りデータ数を算出する(30−3)。再
生スケジュールテーブルは、前述したように、また図3
1に示すように、再生すべきイベント毎に、1つのスタ
ートアドレスおよび1つのエンドアドレスから成る1つ
のテーブル要素を有するように構成されている。
At 30-2 in FIG. 4, when it is determined that the playback mode is selected, the CPU 1 calculates the number of remaining data in the current table element in the playback schedule table to which the disk access pointer in the RAM 3 belongs (30-3). . As mentioned above, the playback schedule table is also shown in Figure 3.
1, each event to be played is configured to have one table element consisting of one start address and one end address.

【0148】RAM3中のディスクアクセスポインタは
、音声入出力装置8−1、8−2または8−3(この例
では8−1)が現在再生している音声データの記憶位置
を指示するのではなく、次にバッファ9−1、9−2ま
たは9−3(この例では9−1)に転送すべきハードデ
ィスク12に記憶されたデータブロックの先頭を示す。 いま、ディスクアクセスポインタの値が(520)とす
ると、このポインタが属するテーブル要素は、図31の
例ではイベント1に対応するのテーブル要素である。こ
の場合、残りデータ数は799−(520−1)=28
0である。
[0148] The disk access pointer in RAM3 indicates the storage location of the audio data currently being reproduced by the audio input/output device 8-1, 8-2, or 8-3 (8-1 in this example). This indicates the beginning of the data block stored in the hard disk 12 to be transferred next to the buffer 9-1, 9-2, or 9-3 (9-1 in this example). Now, if the value of the disk access pointer is (520), the table element to which this pointer belongs is the table element corresponding to event 1 in the example of FIG. In this case, the number of remaining data is 799-(520-1)=28
It is 0.

【0149】次に、30−4において、今求めた残りデ
ータ数と30−1で算出された転送可能データ数とが比
較され、転送可能データ数の方が大きければ、当該テー
ブル要素が示すデータをバッファ9−1に転送する(3
0−5)。いま、前述のようにディスクアクセスポイン
タの値が(00520)、残りデータ数が280、デー
タ転送可能数が500とすると、280<500である
から、ディスクアクセスポインタが示すディスク12の
アドレス00520から280個分のアドレスに記憶さ
れた音声データがバッファ9−1に転送される。
Next, in 30-4, the number of remaining data just calculated is compared with the number of transferable data calculated in 30-1, and if the number of transferable data is larger, the data indicated by the table element is is transferred to buffer 9-1 (3
0-5). Now, as mentioned above, if the value of the disk access pointer is (00520), the number of remaining data is 280, and the number of data transferable is 500, then since 280<500, the address of the disk 12 indicated by the disk access pointer is 00520 to 280. The audio data stored in each address is transferred to the buffer 9-1.

【0150】このディスク12からバッファ9−1への
データ転送は、DMAコントローラ10およびHDコン
トローラ11をプログラムして行う。DMAコントロー
ラ10に対するプログラミングは、CH1のスタートア
ドレスをCH4のスタートアドレスおよびカレントアド
レスにコピーすることにより行う。CH4のカレントア
ドレスは、単位量のデータがハードディスク12からバ
ッファ9−1に転送される毎に増加する。HDコントロ
ーラ11に対するプログラミングは、ディスクアクセス
ポインタの値(この例では(00520))、30−3
で算出した現テーブル要素の残りデータ数(この例では
280)、および30−2で検出されたモード(この例
では再生モード)によって行う。
Data transfer from the disk 12 to the buffer 9-1 is performed by programming the DMA controller 10 and HD controller 11. Programming for the DMA controller 10 is performed by copying the start address of CH1 to the start address and current address of CH4. The current address of CH4 increases every time a unit amount of data is transferred from the hard disk 12 to the buffer 9-1. Programming for the HD controller 11 is based on the value of the disk access pointer ((00520) in this example), 30-3.
This is performed based on the number of remaining data of the current table element calculated in step 30-2 (280 in this example) and the mode detected in step 30-2 (playback mode in this example).

【0151】この結果、HDコントローラ11は、ハー
ドディスク12からバッファ9−1の方向ヘのDMA転
送を、DMAコントローラ10に要求し(DREQを出
力し)、DMAコントローラ10は対応するDMA転送
を実行することになる。続いて、CPU1は、ディスク
アクセスポインタを、この転送処理を実行した結果とる
べき値に更新する(30−6)。上述の例(図31参照
)では、ディスクアクセスポインタは(00800)に
更新されて次のテーブル要素(図31の例では上から2
番目イベント12のテーブル要素)に移行する。そして
、バッファ9−1へのデータ転送可能数も更新する(こ
の例では、220となる)。
As a result, the HD controller 11 requests the DMA controller 10 to perform a DMA transfer from the hard disk 12 to the buffer 9-1 (outputs DREQ), and the DMA controller 10 executes the corresponding DMA transfer. It turns out. Subsequently, the CPU 1 updates the disk access pointer to the value that should be obtained as a result of executing this transfer process (30-6). In the example above (see Figure 31), the disk access pointer is updated to (00800) and the next table element (in the example in Figure 31, the second table element from the top) is updated to (00800).
Move to the table element of the th event 12). The number of data that can be transferred to the buffer 9-1 is also updated (in this example, it is 220).

【0152】そして、再びステップ30−3に戻って、
ディスクアクセスポインタが属する再生スケジュールテ
ーブルの現テーブル要素すなわちイベント12の残りデ
ータ数を算出する(この例では00800から0119
9までなので400)。次に、残りデータ数(400)
とバッファ9−1へのデータ転送可能数(220)とを
比較する(30−4)。今度の場合、残りデータ数デー
タ転送可能数より大きいので、30−4から30−7に
進み、ハードディスク12のアドレス00800から2
20個のデータが転送される。さらに、30−9に進み
、ディスクアクセスポインタが001020に更新され
る。そしてメインルーチン(図3)にリターンする。
[0152] Then, return to step 30-3 again,
Calculate the remaining data number of the current table element of the playback schedule table to which the disk access pointer belongs, that is, event 12 (in this example, from 00800 to 0119
Up to 9, so 400). Next, the number of remaining data (400)
and the number of data transferable to buffer 9-1 (220) are compared (30-4). In this case, the number of remaining data is greater than the number of data that can be transferred, so proceed from 30-4 to 30-7 and move from address 00800 to 2 of the hard disk 12.
20 pieces of data are transferred. Further, the process advances to 30-9, and the disk access pointer is updated to 001020. Then, the process returns to the main routine (FIG. 3).

【0153】図32は、図30のCPU1のインタラプ
トルーチンを採用したときの、再生時のバッファ9−1
、9−2および9−3の動作を示す。いま、音声入出力
装置8−1、8−2および8−3がすべて再生モードに
あり、図32(a)に示すように、バッファ9−1、9
−2および9−3には音声データが再生されることによ
り、同一位置の空き領域があるものとする(図中、斜線
の描かれている領域に音声データが記憶されているもの
とする)。優先順位はTr1>Tr2>Tr3なので、
まず、Tr1に対応したバッファ9−1の空き領域Pに
ハードディスク12からデータが転送される。転送が完
了すると、図32(b)に示すように、バッファ9−1
のカレントアドレスがスタートアドレスとされる。 なお、この間に、既に記憶されている音声データが読み
出され、音声入出力装置8−1へ転送される。次に、T
r2に対応するバッファ9−2の空き領域Qにハードデ
ィスク12からデータが転送される。転送が完了すると
、図32(c)に示すように、バッファ9−2のカレン
トアドレスがスタートアドレスとされる。また、その間
に、既に記憶されている音声データが音声入出力装置8
−2へ転送される。次に、Tr3に対応するバッファ9
−3の空き領域Rにハードディスク12からデータが転
送される。転送が完了すると、図32(d)に示すよう
に、バッファ9−3のカレントアドレスがスタートアド
レスとされる。その間に既に記憶されている音声データ
が音声入出力装置8−3へ転送される。
FIG. 32 shows the buffer 9-1 during playback when the interrupt routine of CPU 1 in FIG. 30 is adopted.
, 9-2 and 9-3 are shown. Now, the audio input/output devices 8-1, 8-2, and 8-3 are all in playback mode, and as shown in FIG. 32(a), the buffers 9-1, 9
-2 and 9-3 have free space at the same position due to the playback of audio data (assuming that audio data is stored in the shaded area in the figure) . Since the priority order is Tr1>Tr2>Tr3,
First, data is transferred from the hard disk 12 to the free area P of the buffer 9-1 corresponding to Tr1. When the transfer is completed, as shown in FIG. 32(b), the buffer 9-1
The current address is taken as the start address. Note that during this time, the already stored audio data is read out and transferred to the audio input/output device 8-1. Next, T
Data is transferred from the hard disk 12 to the free area Q of the buffer 9-2 corresponding to r2. When the transfer is completed, the current address of the buffer 9-2 is set as the start address, as shown in FIG. 32(c). Also, during this time, the already stored audio data is transferred to the audio input/output device 8.
-2. Next, buffer 9 corresponding to Tr3
Data is transferred from the hard disk 12 to the free area R of −3. When the transfer is completed, the current address of the buffer 9-3 is set as the start address, as shown in FIG. 32(d). During this time, the already stored audio data is transferred to the audio input/output device 8-3.

【0154】次に、Tr1に対応するバッファ9−1の
空き領域Sに、ハードディスク12のアドレス520か
ら799に記憶された音声データすなわちイベント1の
一部のデータ、およびハードディスク12のアドレス0
0800から001020に記憶された音声データすな
わちイベント12の一部のデータが、この順に転送され
るものとする。以下この転送動作を、図30、、図31
および図32を参照して説明する。
Next, in the free area S of the buffer 9-1 corresponding to Tr1, the audio data stored at addresses 520 to 799 of the hard disk 12, that is, part of the data of event 1, and the data at address 0 of the hard disk 12 are stored.
It is assumed that the audio data stored from 0800 to 001020, that is, part of the data of event 12, is transferred in this order. This transfer operation is shown below in Figures 30 and 31.
This will be explained with reference to FIG.

【0155】まず、DMAコントローラ10のチャンネ
ルとしてTr1に対応するチャンネルCH1を選定する
(図30の30−1)。また、DMAコントローラ10
のアドレスレジスタ104のCH1のエリアからカレン
トアドレスおよびスタートアドレスを読み出して、バッ
ファ9−1へのデータ転送可能数すなわちバッファ9−
1の空き領域Sの量を算出する(図30の30−1)。 この例では500である。
First, the channel CH1 corresponding to Tr1 is selected as the channel of the DMA controller 10 (30-1 in FIG. 30). In addition, the DMA controller 10
The current address and start address are read from the CH1 area of the address register 104, and the number of possible data transfers to the buffer 9-1, that is, the buffer 9-
The amount of free space S of 1 is calculated (30-1 in FIG. 30). In this example, it is 500.

【0156】次に、トラックTr1が録音モードか再生
モードか判断する(図30の30−2)。ここでは、再
生モードなので、CPU1は、RAM3中のディスクア
クセスポインタが属する図31の再生スケジュールテー
ブル中の現テーブル要素の残りデータ数を算出する(図
30の30−3)。いま、ディスクアクセスポインタが
(520)とすると、このポインタが属するテーブル要
素は、図31の1番上のテーブル要素であり、残りデー
タ数は、 799−(520−1)=280 である。
Next, it is determined whether the track Tr1 is in the recording mode or the playback mode (30-2 in FIG. 30). Since the mode is playback mode here, the CPU 1 calculates the remaining data count of the current table element in the playback schedule table of FIG. 31 to which the disk access pointer in the RAM 3 belongs (30-3 in FIG. 30). Now, if the disk access pointer is (520), the table element to which this pointer belongs is the top table element in FIG. 31, and the number of remaining data is 799-(520-1)=280.

【0157】次に、図30の30−4において、今求め
た残りデータ数280と、図30の30−1で算出され
たデータ転送可能数500とが比較され、後者が前者よ
り大きいので、ディスクアクセスポインタが示すディス
クのアドレス(520)から280個分のアドレスに記
憶された音声データすなわちイベント1の一部がバッフ
ァ9−1に転送される(図30の30−5)。
Next, at 30-4 in FIG. 30, the remaining data count 280 just calculated is compared with the possible data transfer count 500 calculated at 30-1 in FIG. 30, and since the latter is larger than the former, Part of the audio data, ie, event 1, stored at 280 addresses from the disk address (520) indicated by the disk access pointer is transferred to the buffer 9-1 (30-5 in FIG. 30).

【0158】このディスク12からバッファ9−1への
データ転送は、DMAコントローラ10およびHDコン
トローラ11をプログラムすることにより行われる。D
MAコントローラ10に対するプログラミングは、CH
1のスタートアドレス(図32(d)に示された領域S
のスタートアドレス)をCH4のスタートアドレスおよ
びカレントアドレスにコピーすることにより行う。CH
4のカレントアドレスは、単位量のデータがHDコント
ローラ11からバッファ9−1に転送される毎に増加す
る。HDコントローラ11に対するプログラミングは、
RAM3のディスクアクセスポインタの値(520)、
図30の30−3で算出した現テーブル要素の残りデー
タ数280、および図30の30−2で検出されたモー
ド(再生モード)を使用して行われる。
Data transfer from the disk 12 to the buffer 9-1 is performed by programming the DMA controller 10 and the HD controller 11. D
Programming for the MA controller 10 is performed using CH
1 start address (area S shown in FIG. 32(d)
This is done by copying the start address of CH4) to the start address and current address of CH4. CH
The current address of 4 is incremented each time a unit amount of data is transferred from the HD controller 11 to the buffer 9-1. Programming for the HD controller 11 is as follows:
RAM3 disk access pointer value (520),
This is performed using the remaining data count 280 of the current table element calculated in 30-3 of FIG. 30 and the mode (playback mode) detected in 30-2 of FIG.

【0159】この結果、HDコントローラ11は、ハー
ドディスク12からバッファ9−1の方向へのDMA転
送を、DMAコントローラ10に要求し(DREQを出
力し)、DMAコントローラ10に対応するDMA転送
を実行させることになる。続いて、CPU1はカレント
ポインタを、この転送処理を実行した結果とるべき値(
00800)に更新する。これにより、処理が図31の
再生スケジュールテーブルの2番目のテーブル要素に移
行し、データ転送可能数が220に更新される(図30
の30−6)。
As a result, the HD controller 11 requests the DMA controller 10 to perform a DMA transfer from the hard disk 12 to the buffer 9-1 (outputs DREQ), and causes the DMA controller 10 to execute the corresponding DMA transfer. It turns out. Next, CPU1 sets the current pointer to the value (
00800). As a result, the process moves to the second table element of the playback schedule table in FIG. 31, and the number of data transferable data is updated to 220 (FIG. 30
30-6).

【0160】そして、再びステップ30−3に戻って、
ディスクアクセスポインタ(00800)が属する再生
スケジュールテーブルの現テーブル要素(2番目のテー
ブル要素)の残りデータ数を算出する。ここでは、11
99−(800−1)=400 である。
[0160] Then, return to step 30-3 again,
The number of remaining data in the current table element (second table element) of the reproduction schedule table to which the disk access pointer (00800) belongs is calculated. Here, 11
99-(800-1)=400.

【0161】次に、この残りデータ数400と、バッフ
ァ9−1へのデータ転送可能数220とが比較される(
4−4)。ここでは、残りデータ数の方が大きいので、
30−7において、ハードディスク12のアドレス00
800から220個の音声データすなわちイベント12
の一部のデータがバッファ9−1に転送される。このデ
ータ転送は、前述のようにDMAコントローラ10およ
びHDコントローラ11をプログラムすることにより行
われる。
Next, this remaining data number 400 is compared with the possible data transfer number 220 to the buffer 9-1 (
4-4). Here, the number of remaining data is larger, so
30-7, the address 00 of the hard disk 12
800 to 220 audio data, i.e. event 12
A portion of the data is transferred to buffer 9-1. This data transfer is performed by programming the DMA controller 10 and HD controller 11 as described above.

【0162】その後、トラックTr2およびTr3に対
応したバッファ9−2および9−3へのデータ転送が行
われ、これらが完了した後、再び、トラックTr1に対
応したバッファ9−1へのデータ転送が行われる。
[0162] Thereafter, data is transferred to buffers 9-2 and 9-3 corresponding to tracks Tr2 and Tr3, and after these are completed, data is transferred again to buffer 9-1 corresponding to track Tr1. It will be done.

【0163】上述のように、図31に示されたような再
生スケジュールテーブルを設けることにより、再生すべ
きイベントを容易に切換えることができる。なお、この
再生スケジュールテーブルに関しては、上述したインデ
ィビジュアルコントロールトラックICTやインディビ
ジュアルトラックスケジュールITS(図27)と、イ
ベントアドレステーブルEAT(図28)との組合せ読
み出しにより同一機能を実現でき、従って図31の如き
特別の再生スケジュールテーブルを設けなくともよい。
As described above, by providing a reproduction schedule table as shown in FIG. 31, events to be reproduced can be easily switched. Regarding this playback schedule table, the same function can be realized by reading out the above-mentioned individual control track ICT or individual track schedule ITS (FIG. 27) in combination with the event address table EAT (FIG. 28). There is no need to provide a special reproduction schedule table such as .

【0164】[0164]

【発明の効果】請求項1の発明によれば、音声データの
編集はイベントを指定することにより行えばよく、いち
いちディスク等の音声データ記憶手段のアドレスをアク
セスする必要がない。
According to the first aspect of the invention, audio data can be edited by specifying an event, and there is no need to access the address of the audio data storage means such as a disk each time.

【0165】請求項2の発明によれば、コントロールト
ラックを参照して、時間軸上のイベントの配列順序を確
認し、この順序に従ってイベントアドレステーブルを読
み出すことにより、各イベントの音声データ記憶手段の
記憶アドレスを再生順序で発生することができ、必要な
再生を行うことができる。
According to the invention of claim 2, by referring to the control track, confirming the arrangement order of the events on the time axis, and reading out the event address table in accordance with this order, the audio data storage means for each event is stored. Storage addresses can be generated in playback order and the necessary playback can be performed.

【0166】請求項3の発明によれば、再生すべき順序
に配列された各イベントのスタートアドレスおよびコン
ドアドレスを確認しつつ、音声データ切換手段からイベ
ントを読み出すことができるので、イベントの再生切換
を容易に行うとができる。
According to the third aspect of the invention, since the event can be read out from the audio data switching means while checking the start address and condo address of each event arranged in the order in which it should be played, it is possible to switch the playback of the event. can be done easily.

【0167】請求項4の発明によれば、請求項1の発明
によって得られる効果が得られるほか、各トラック毎に
必要な再生を行うことができる。
According to the invention of claim 4, in addition to the effects obtained by the invention of claim 1, necessary reproduction can be performed for each track.

【0168】請求項5の発明によれば、大幅な編集変更
の際に、インディビジュアルコントロールトラックのイ
ベントの識別情報およびその配列をいちいち手動で書き
換える必要がなくなる。
[0168] According to the fifth aspect of the present invention, it is no longer necessary to manually rewrite the event identification information and the arrangement thereof in the individual control track each time when a large editing change is made.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明のデジタルレコーダの一実施例の全体構
成を示すブロック図である。
FIG. 1 is a block diagram showing the overall configuration of an embodiment of a digital recorder of the present invention.

【図2】図1のDMAコントローラ10の要部の具体例
を示すブロック図である。
FIG. 2 is a block diagram showing a specific example of main parts of the DMA controller 10 of FIG. 1.

【図3】図1のCPUのメインルーチンを示すフローチ
ャートである。
FIG. 3 is a flowchart showing the main routine of the CPU in FIG. 1;

【図4】図1のCPUのインタラプトルーチンを示すフ
ローチャートである。
FIG. 4 is a flowchart showing an interrupt routine of the CPU in FIG. 1;

【図5】図1の音声入出力装置8−1〜8−3の動作を
示すフローチャートである。
5 is a flowchart showing the operation of the audio input/output devices 8-1 to 8-3 in FIG. 1. FIG.

【図6】図1のDMAコントローラの動作を示すフロー
チャートである。
FIG. 6 is a flowchart showing the operation of the DMA controller in FIG. 1;

【図7】図1のHDコントローラの動作を示すフローチ
ャートである。
FIG. 7 is a flowchart showing the operation of the HD controller in FIG. 1;

【図8】図1のデジタルレコーダの全体的な動作を示す
概念図である。
8 is a conceptual diagram showing the overall operation of the digital recorder of FIG. 1. FIG.

【図9】各トラック毎のD/A、A/D変換動作、DM
A転送を示すタイムチャートである。
[Figure 9] D/A, A/D conversion operation for each track, DM
It is a time chart showing A transfer.

【図10】ハードディスクとバッファとの間のDMA転
送の状態を示すタイムチャートである。
FIG. 10 is a time chart showing the state of DMA transfer between a hard disk and a buffer.

【図11】図1の実施例の動作を時間の経過とともに示
すフローチャートである。
FIG. 11 is a flowchart showing the operation of the embodiment of FIG. 1 over time.

【図12】図1の実施例の各部分の相互関係を示す説明
図である。
FIG. 12 is an explanatory diagram showing the interrelationship of each part of the embodiment of FIG. 1;

【図13】ハードディスク中のイベントの記憶位置を示
す説明図である。
FIG. 13 is an explanatory diagram showing storage locations of events in a hard disk.

【図14】オリジナルコントロールトラック(ORT)
の一例を示す説明図である。
[Figure 14] Original control track (ORT)
It is an explanatory view showing an example.

【図15】オリジナルトラックスケジュール(OTS)
の一例を示す説明図である。
[Figure 15] Original track schedule (OTS)
It is an explanatory view showing an example.

【図16】イベントアドレステーブル(EAT)の一例
を示す説明図である。
FIG. 16 is an explanatory diagram showing an example of an event address table (EAT).

【図17】イベントのマニュアル指定処理の一例を示す
フローチャートである。
FIG. 17 is a flowchart illustrating an example of manual event specification processing.

【図18】インディビジュアルコントロールトラック(
ICT)の作成処理の一例を示すフローチャトである。
[Figure 18] Individual control track (
3 is a flowchart illustrating an example of a creation process of ICT.

【図19】ICTの作成処理の別の例を示すフローチャ
ートである。
FIG. 19 is a flowchart showing another example of ICT creation processing.

【図20】インディビジュアルコントロールトラック(
ICT)の一例を示す説明図である。
[Figure 20] Individual control track (
FIG. 2 is an explanatory diagram showing an example of ICT.

【図21】インディビジュアルトラックスケジュール(
ITS)の一例を示す説明図である。
[Figure 21] Individual track schedule (
FIG. 2 is an explanatory diagram showing an example of ITS.

【図22】トータルコントロールトラック(TCT)の
作成実行処理の一例を示すフローチャートである。
FIG. 22 is a flowchart illustrating an example of a total control track (TCT) creation/execution process.

【図23】TE、TCTおよびICTの相互関係を示す
説明図である。
FIG. 23 is an explanatory diagram showing the mutual relationship between TE, TCT, and ICT.

【図24】トータルイベントテーブル(TET)の一例
を示す説明図である。
FIG. 24 is an explanatory diagram showing an example of a total event table (TET).

【図25】トータルトラックスケジュール(TTS)の
一例を示す説明図である。
FIG. 25 is an explanatory diagram showing an example of a total track schedule (TTS).

【図26】図22のTCT実行によりアップデートされ
たのEATの一例を示す説明図である。
FIG. 26 is an explanatory diagram showing an example of the EAT updated by executing the TCT in FIG. 22;

【図27】図22のTCT実行によりアップデートされ
たITSの一例を示す説明図である。
FIG. 27 is an explanatory diagram showing an example of ITS updated by executing the TCT in FIG. 22;

【図28】図22のTCT実行によりアップデートされ
たEATの別の例を示す説明図である。
FIG. 28 is an explanatory diagram showing another example of the EAT updated by executing the TCT in FIG. 22;

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

【図30】図4に示された図1のCPU1のインタラプ
トルーチンのかわりに採用できるCPU1の別のインタ
ラプトルーチンの例を示すフローチャートである。
30 is a flowchart showing an example of another interrupt routine for the CPU 1 that can be adopted in place of the interrupt routine for the CPU 1 in FIG. 1 shown in FIG. 4;

【図31】再生スケジュールテーブルの一例を示すフロ
ーチャートである。
FIG. 31 is a flowchart showing an example of a reproduction schedule table.

【図32】図30のインタラプトルーチンを採用したと
きの再生時のバッファの動作を示す概念図である。
FIG. 32 is a conceptual diagram showing the operation of a buffer during playback when the interrupt routine of FIG. 30 is adopted.

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

1、1′  CPU 2、2′  ROM 3、3′  RAM 8−1、8−2、8−3  音声入出力装置9−1、9
−2、9−3  バッファ 10  DMAコントローラ 11  HDコントローラ 12  ハードディスク 13  デコーダ 14、15  アンドゲート 16  インバータ
1, 1' CPU 2, 2' ROM 3, 3' RAM 8-1, 8-2, 8-3 Audio input/output device 9-1, 9
-2, 9-3 Buffer 10 DMA controller 11 HD controller 12 Hard disk 13 Decoder 14, 15 AND gate 16 Inverter

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  音声データの入出力動作を行う音声入
出力手段と、前記音声入出力手段から供給されるデジタ
ル音声データを記憶する音声データ記憶手段と、前記音
声データ記憶手段に記憶されている音声データを複数に
区切って形成されるイベントの識別情報および記憶位置
を含むイベントアドレステーブルを記憶する手段とを具
備するデジタルレコーダ。
1. Audio input/output means for inputting and outputting audio data, audio data storage means for storing digital audio data supplied from the audio input/output means, and digital audio data stored in the audio data storage means. A digital recorder comprising means for storing an event address table including event identification information and storage locations formed by dividing audio data into a plurality of parts.
【請求項2】  前記イベントアドレステーブルに含ま
れるイベントの識別情報を、イベントの再生順序に配列
して成るコントロールトラックを記憶する手段をさらに
具備する請求項1記載のデジタルレコーダ。
2. The digital recorder according to claim 1, further comprising means for storing a control track in which identification information of events included in the event address table is arranged in the order in which the events are played.
【請求項3】  再生順序に配列された複数のイベント
のそれぞれの前記音声データ記憶手段上のスタートアド
レスおよびエンドアドレスを含む再生スケジュールテー
ブルを記憶する手段をさらに具備する請求項1記載のデ
ジタルレコーダ。
3. The digital recorder according to claim 1, further comprising means for storing a reproduction schedule table including a start address and an end address on the audio data storage means of each of a plurality of events arranged in reproduction order.
【請求項4】  複数のトラックに対応して音声の入出
力動作を行う音声入出力手段と、前記音声入出力手段か
ら供給されるデジタル音声データを記憶できる複数のト
ラック分の記憶エリアをもつ音声データ記憶手段と、前
記音声データ記憶手段に記憶されている音声データを複
数に区切って形成されるイベントの識別情報および記憶
位置を含むイベントアドレステーブルを記憶する手段と
、前記イベントアドレステーブルに含まれるイベントの
識別情報を、各トラック毎にイベントの再生順序に配列
して成るインディビジュアルコントロールトラックを記
憶する手段とを具備するデジタルレコーダ。
4. An audio device comprising: audio input/output means for performing audio input/output operations corresponding to a plurality of tracks; and a storage area for the plurality of tracks capable of storing digital audio data supplied from the audio input/output means. data storage means; means for storing an event address table including event identification information and storage locations formed by dividing the audio data stored in the audio data storage means into a plurality of parts; A digital recorder comprising means for storing individual control tracks in which event identification information is arranged in the event playback order for each track.
【請求項5】  複数のトラック分の前記インディビジ
ュアルコントロールトラックを時間軸に関して複数に区
切ったときの各区切られたインディビジュアルコントロ
ールトラックの識別情報を再生順序に配列して成るトー
タルコントロールトラックを作成する手段と、前記トー
タルコントロールトラックに従って、前記インディビジ
ュアルコントロールトラックに含まれるイベントの識別
情報およびその配列を書換える手段とをさらに具備する
請求項4記載のデジタルレコーダ。
5. A total control track is created by arranging identification information of each divided individual control track in a playback order when the individual control track for a plurality of tracks is divided into a plurality of parts on the time axis. 5. The digital recorder according to claim 4, further comprising means for rewriting event identification information and an arrangement thereof included in said individual control track according to said total control track.
JP6552291A 1990-09-27 1991-03-06 Digital recorder Pending JPH04212767A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US07/752,876 US5680378A (en) 1990-09-27 1991-08-30 Digital recorder for recording/reproducing events formed by dividing audio data in a designated order
DE69126267T DE69126267T2 (en) 1990-09-27 1991-09-24 Digital data recorder
EP91116266A EP0477876B1 (en) 1990-09-27 1991-09-24 Digital recorder
SG1996002981A SG43046A1 (en) 1990-09-27 1991-09-24 Digital recorder

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2-260042 1990-09-27
JP26004290 1990-09-27

Publications (1)

Publication Number Publication Date
JPH04212767A true JPH04212767A (en) 1992-08-04

Family

ID=17342496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6552291A Pending JPH04212767A (en) 1990-09-27 1991-03-06 Digital recorder

Country Status (1)

Country Link
JP (1) JPH04212767A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5566379A (en) * 1993-02-09 1996-10-15 Teac Corporation Economical recording and reproducing apparatus which performs real-time processing of digital audio data
US6604078B1 (en) 1999-08-23 2003-08-05 Nec Corporation Voice edit device and mechanically readable recording medium in which program is recorded

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5566379A (en) * 1993-02-09 1996-10-15 Teac Corporation Economical recording and reproducing apparatus which performs real-time processing of digital audio data
US6604078B1 (en) 1999-08-23 2003-08-05 Nec Corporation Voice edit device and mechanically readable recording medium in which program is recorded

Similar Documents

Publication Publication Date Title
JP2979100B2 (en) Digital recorder
US5974015A (en) Digital recorder
US5581530A (en) Digital recorder for processing of parallel data stored in multiple tracks and using cross-fade processing
US5519684A (en) Digital recorder for processing in parallel data stored in multiple tracks
US5373493A (en) Apparatus for digitally recording reproducing and editing an audio signal
JP2979101B2 (en) Automatic performance device
JPH04285765A (en) digital recorder
JP3252172B2 (en) Digital recorder
JP2002124022A (en) Audio data recording and reproducing device
US5680378A (en) Digital recorder for recording/reproducing events formed by dividing audio data in a designated order
JPH04212767A (en) Digital recorder
JPH04232666A (en) Digital recorder
JP2969187B2 (en) Digital recorder
JP2916533B2 (en) Digital multi-track recorder
JP3230756B2 (en) Digital recorder
JPH04117688A (en) digital recorder
JP3114299B2 (en) Digital recorder
JP3298655B2 (en) Digital recorder
JP2979154B2 (en) Digital recorder
JP3666467B2 (en) Waveform editing apparatus and waveform editing program
JP3055222B2 (en) Digital recorder
JPH04232684A (en) Digital recorder
JP3055221B2 (en) Digital recorder
JPH05135548A (en) Digital recorder
JP3131849B2 (en) Digital recorder