JPH05135548A - Digital recorder - Google Patents

Digital recorder

Info

Publication number
JPH05135548A
JPH05135548A JP32641291A JP32641291A JPH05135548A JP H05135548 A JPH05135548 A JP H05135548A JP 32641291 A JP32641291 A JP 32641291A JP 32641291 A JP32641291 A JP 32641291A JP H05135548 A JPH05135548 A JP H05135548A
Authority
JP
Japan
Prior art keywords
data
fade
transfer
cpu
dma
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
JP32641291A
Other languages
Japanese (ja)
Inventor
Norio Iizuka
宣男 飯塚
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 JP32641291A priority Critical patent/JPH05135548A/en
Publication of JPH05135548A publication Critical patent/JPH05135548A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a digital recorder which can apply the fade-out/fade-in processing to the joint parts of the sound data. CONSTITUTION:For instance, sound data stored in the hard disks 12a and 12b are read out as the event information under the control of a DMA controller 10. Then these event information are transferred to the buffers 9-1-9-3. Under such conditions, the fade-out/fade-in operation can be dynamicarry carried out.

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 a voice signal, and more particularly, fade-in / fade-out with respect to an edit point of audio data or an arbitrary position. The present invention relates to a digital recorder adapted to be processed.

【0002】[0002]

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

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

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

【0005】そこで近年では、記録媒体としてウィンチ
ェスター型のハードディスクを用いてディスクレコーデ
ィングを行うことにより従来の問題点を解消する提案が
なされている(例えば、JAS Journal'89・4月
号、第16頁乃至第22頁「ディジタル・オーディオ・
ワークステーション(DAW)の動向〜AES日本支部
1月例会より〜」を参照)。さらに本出願人も、ディス
クレコーディングを開示した発明を特願平2−1237
88号(平成2年5月14日出願)、特願平3−655
22号(平成3年3月6日出願)等により提案してい
る。
Therefore, in recent years, a proposal has 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 April issue, page 16). Through page 22 "Digital Audio
Trends in Workstations (DAW) ~ From AES Japan Chapter January Meeting ~ "). Furthermore, the present applicant also filed an invention disclosing disk recording in Japanese Patent Application No. 2-1237.
No. 88 (filed on May 14, 1990), Japanese Patent Application No. 3-655
No. 22 (filed on March 6, 1991) and so on.

【0006】[0006]

【発明が解決しようとする課題】そして、前記したハー
ドディスクに記憶された音声データからイベント情報を
形成し、このイベント情報の再生順序をプログラム制御
することでランダムアクセス編集を行なうようにするこ
とが考えられている。
Then, it is considered that random access editing is performed by forming event information from the audio data stored in the above-mentioned hard disk and program-controlling the reproduction order of this event information. Has been.

【0007】しかし、この様な場合、ランダムアクセス
編集を行なったデータを再生する際、イベント情報の境
界で発生する異音を抑えたい時には、ディスクまたはメ
モリ中にそのためのデータを予め用意しておかなければ
ならないという問題点が発生し得る。
However, in such a case, when it is desired to suppress the abnormal noise generated at the boundary of the event information when reproducing the data subjected to the random access editing, the data for that purpose should be prepared in advance in the disk or the memory. The problem of having to do so can occur.

【0008】また、高価なDSP等により信号処理を行
なうことも考えられるが、音声を出力するときにDSP
により信号処理を行なうのは、時間による処理の起動が
繁雑なものになる。これはイベント情報の境界ばかりで
なく、指定された任意のポイントに対してフェードイン
・アウトなどの効果を得たいときも同様である。
Although it is conceivable to perform signal processing with an expensive DSP or the like, when outputting sound, the DSP is used.
The signal processing by means of becomes complicated in the start of the processing depending on time. This is the same not only when the boundaries of the event information are desired, but also when it is desired to obtain an effect such as fade-in / out for a specified arbitrary point.

【0009】そこで本発明は、前記した問題点を解消す
るために、再生時にイベント情報の先頭または末尾また
は任意の指定編集点のデータブロックの転送をしたのち
に、フェードをかけるべきデータ部に必要なフェード処
理を行なうようにしたデジタルレコーダを提供すること
にある。
Therefore, in order to solve the above-mentioned problems, the present invention requires a data section to be faded after transferring a data block at the beginning or the end of event information or an arbitrary designated edit point during reproduction. Another object of the present invention is to provide a digital recorder capable of performing a fade process.

【0010】[0010]

【課題を解決するための手段】前記課題を解決するため
に成された請求項1に記載のデジタルレコーダによれ
ば、音声データの入出力動作を行う音声入出力手段とし
ての音声入出力装置8−1乃至8−3と、音声入出力手
段から供給される音声データを記憶する音声データ記憶
手段としてのハードディスク12a,12b等(これは
光磁気ディスク等のディスク媒体とし得る)と、音声デ
ータ記憶手段に記憶された音声データから複数のイベン
ト情報を形成し、このイベント情報の再生順序を制御す
ることでランダムアクセス編集を行なうコントロール手
段としてのCPU1と、コントロール手段によって編集
されたイベント情報の境界に対してフェードデータを設
定するフェードデータ設定手段としてのCPU1(プロ
グラム上のステップ5−6,5−9)と、イベント情報
の境界の直前または直後のデータブロックのデータを、
フェードデータ設定手段によって設定されたフェードデ
ータによってフェード処理して変更するデータ変更手段
としてのCPU1(プログラム上のステップ4−2)と
を具備したデジタルレコーダが提供される。
According to the digital recorder of claim 1, which has been made to solve the above-mentioned problems, a voice input / output device 8 as a voice input / output means for inputting / outputting voice data. -1 to 8-3, hard disks 12a and 12b as audio data storage means for storing audio data supplied from the audio input / output means (this may be a disk medium such as a magneto-optical disk), and audio data storage A plurality of event information is formed from the audio data stored in the means, and the CPU 1 as the control means for performing random access editing by controlling the reproduction order of the event information, and the boundary of the event information edited by the control means. For the fade data setting means for setting the fade data, the CPU 1 (step on the program And -6,5-9), the data immediately before or immediately after the data block of the boundary of the event information,
There is provided a digital recorder including a CPU 1 (step 4-2 on the program) as a data changing unit that performs a fade process and changes with the fade data set by the fade data setting unit.

【0011】また、前記課題を解決するために成された
請求項2に記載のデジタルレコーダによれば、音声デー
タの入出力動作を行う音声入出力手段としての音声入出
力装置8−1乃至8−3と、音声入出力手段から供給さ
れるデジタル音声データを記憶する音声データ記憶手段
としてのハードディスク12a,12b等(これは光磁
気ディスク等のディスク媒体とし得る)と、音声データ
記憶手段に記憶された音声データから複数のイベント情
報を形成し、このイベント情報の再生順序を制御するこ
とでランダムアクセス編集を行なうコントロール手段と
してのCPU1と、コントロール手段によってランダム
アクセス編集された音声データの任意の位置に対してフ
ェードデータを設定するフェードデータ設定手段として
のCPU1(プログラム上のステップ5−6,5−9)
と、ランダムアクセス編集された音声データの任意の位
置の直前または直後のデータブロックのデータを、フェ
ードデータ設定手段によって設定されたフェードデータ
によってフェード処理して変更するデータ変更手段とし
てのCPU1(プログラム上のステップ6−4,6−
5)とを具備したデジタルレコーダが提供される。
According to another aspect of the present invention, there is provided a digital recorder according to claim 2, wherein the voice input / output devices 8-1 to 8 as voice input / output means for inputting / outputting voice data. -3, hard disks 12a, 12b, etc. (which can be a disk medium such as a magneto-optical disk) as audio data storage means for storing digital audio data supplied from the audio input / output means, and stored in the audio data storage means CPU 1 as a control means for performing random access editing by forming a plurality of event information from the generated audio data and controlling the reproduction order of the event information, and an arbitrary position of the audio data random access edited by the control means. CPU1 as a fade data setting means for setting fade data for Step on the Lam 5-6,5-9)
And the CPU 1 (on the program) as a data changing means for changing the data of the data block immediately before or after an arbitrary position of the random access edited audio data by the fade data set by the fade data setting means. Steps 6-4, 6-
5) A digital recorder including the above is provided.

【0012】[0012]

【作用】請求項1に記載のデジタルレコーダにおいて
は、イベント情報の境界の直前または直後のデータブロ
ックの音声データが予め設定されたフェードデータに変
更される。この結果、イベントの境界においてフェード
アウトおよびフェードイン処理が成され、イベントの境
界で発生する異音を効果的に抑制させることができる。
In the digital recorder according to the first aspect of the invention, the audio data of the data block immediately before or after the boundary of the event information is changed to preset fade data. As a result, fade-out and fade-in processing is performed at the event boundary, and abnormal noise generated at the event boundary can be effectively suppressed.

【0013】請求項2に記載のデジタルレコーダにおい
ては、イベント情報の任意の位置の直前または直後のデ
ータブロックの音声データが予め設定されたフェードデ
ータに変更される。この結果、指定された任意のポイン
トに対してフェードイン・フェードアウトなどの作用を
持たせることができ、録音時に記録してしまったポップ
ノイズなどの短時間に発生するノイズを効果的に抑圧さ
せることができる。
In the digital recorder according to the second aspect, the audio data of the data block immediately before or after the arbitrary position of the event information is changed to preset fade data. As a result, effects such as fade-in / fade-out can be applied to specified points, and noise that occurs in a short time, such as pop noise recorded during recording, can be effectively suppressed. You can

【0014】[0014]

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

【0015】<全体構成>図1は、本発明のデジタルレ
コーダの一実施例の全体構成を示しており、この実施例
においては、同時に3トラックまでの録音、再生動作が
出来るようになっている。全体は、図示のとおり、CP
U部(図中左側の部分)と、DMAユニット(音声記録
再生処理装置)(図中右側の部分)とに分かれる。
<Overall Structure> FIG. 1 shows the overall structure of an embodiment of a digital recorder of the present invention. In this embodiment, recording and reproducing operations of up to three tracks can be simultaneously performed. .. The whole is CP as shown
It is divided into a U section (left side portion in the figure) and a DMA unit (voice recording / reproducing processing device) (right side portion in the figure).

【0016】CPU部は、CPU1と、このCPU1の
動作を規定するプログラム(詳細は後述)を記憶したプ
ログラムROM2と、各種データを記憶するエリア、3
トラックのディスクアクセスポインタを記憶するエリ
ア、ハードディスク12a,12bに記憶されている音
声データを手動もしくは自動にて複数に区切ったときの
各区切られた音声データ(イベント)の識別情報(イベ
ント名)および記憶位置(ディスクID、先頭データア
ドレス、イベント長)を含むイベントテーブル(ET)
を記憶するエリア、イベントテーブルに含まれるイベン
トの識別情報を各トラック毎にイベントの再生順序に配
列して成るイベントシーケンステーブル(EST)を記
憶するエリア、ならびにワークエリア等を含むRAM3
と、CPU1のI/Oポートに接続された周辺機器であ
る各種ファンクションキー、データ入力キー等を含むキ
ーボード4、CRTあるいはLCDとそのドライバを含
み各種表示を行う表示装置5とを有する。
The CPU unit includes a CPU 1, a program ROM 2 storing a program (details will be described later) defining the operation of the CPU 1, an area for storing various data, and 3
An area for storing a disk access pointer of a track, identification information (event name) of each delimited audio data (event) when audio data stored in the hard disks 12a and 12b is manually or automatically divided into a plurality of pieces, and Event table (ET) including storage locations (disk ID, start data address, event length)
RAM3 including an area for storing an event sequence table (EST) in which event identification information included in the event table is arranged in an event reproduction order for each track, and a work area.
And a keyboard 4 including various function keys and data input keys, which are peripheral devices connected to the I / O port of the CPU 1, and a display device 5 including a CRT or LCD and its driver and performing various displays.

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

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

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

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

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

【0022】このバッファ9−1〜9−3はTr1〜T
r3に夫々対応しており、音声入出力装置8−1〜8−
3との間のデータ転送は、コントロール手段すなわちD
MAコントローラ10にて、直接メモリアクセス(DM
A)方式により行われる。
The buffers 9-1 to 9-3 are Tr1 to T, respectively.
r3 and voice input / output devices 8-1 to 8-
Data transfer to and from the control unit 3, D
Direct memory access (DM
A) method is used.

【0023】この各音声入出力装置8−1〜8−3は、
DMAコントローラ10に対し、レコーディング時に
は、サンプリング周期で音声入出力装置8−1〜8−3
からバッファ9−1〜9−3方向への1回のサンプリン
グに係るデジタルデータのDMA転送(シングル転送)
を要求(リクエスト)し(DRQ信号を送出し(Tr1
ではDRQ1、Tr2ではDRQ2、Tr3ではDRQ
3としてDMAコントローラ10に与えられる))、D
MAコントローラ10からの回答(アクノーレッジが、
Tr1ではDAK1、Tr2ではDAK2、Tr3では
DAK3としてDMAコントローラ10から与えられ
る)を受けて、実際のデータ転送が実行される。プレイ
時には、サンプリング周期でバッファ9−1〜9−3か
ら音声入出力装置8−1〜8−3方向への1回のサンプ
リングに係るデジタルデータのDMA転送(シングル転
送)の要求が、音声入出力装置8−1〜8−3からなさ
れ、上記した場合と同様にDMAコントローラ10によ
ってデータ転送が実行される。
The respective voice input / output devices 8-1 to 8-3 are
For the DMA controller 10, at the time of recording, the audio input / output devices 8-1 to 8-3 are used at a sampling cycle.
DMA transfer of digital data from sampling to buffers 9-1 to 9-3 in one direction (single transfer)
Request (request) and send DRQ signal (Tr1
DRQ1, Tr2 DRQ2, Tr3 DRQ
3 is given to the DMA controller 10)), D
Answer from MA controller 10 (acknowledge
The actual data transfer is executed by receiving DAK1 in Tr1, DAK2 in Tr2, and DAK3 in Tr3 as DAK3). At the time of play, a request for DMA transfer (single transfer) of digital data for one sampling from the buffers 9-1 to 9-3 toward the audio input / output devices 8-1 to 8-3 at the sampling cycle is received by the audio input. Data is transferred from the output devices 8-1 to 8-3 by the DMA controller 10 as in the case described above.

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

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

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

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

【0028】このハードディスク12a,12bとバッ
ファ9−1〜9−3との間のデータ転送の際は、HDコ
ントローラ11よりDMAコントローラ10に対し要求
信号DREQを出力し(DMAコントローラ10側では
DRQ4として受取る)、転送可能となると逆に回答信
号DACKを受取る(DMAコントローラ10側ではD
AK4として出力する)ことで、実際の転送状態とな
る。
At the time of data transfer between the hard disks 12a and 12b and the buffers 9-1 to 9-3, the HD controller 11 outputs a request signal DREQ to the DMA controller 10 (on the DMA controller 10 side, as DRQ4). On the contrary, when the transfer becomes possible, the reply signal DACK is received (D on the DMA controller 10 side).
By outputting as AK4), the actual transfer state is achieved.

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

【0030】CPU1は、DMAユニット内の各構成要
素の機能、作用を管理するために、アドレスバスを介し
バッファ6にアドレス信号を与えるほか、各構成要素の
指定信号をバッファ6を介しデコーダ13に供給して、
夫々の指定信号CSを、各音声入出力装置8−1〜8−
3、バッファ9−1〜9−3、DMAコントローラ1
0、HDコントローラ11に与える。同時に、トランシ
ーバ7を介し、データバスを経由して種々のデータのや
りとりがCPU1との間でなされる。
The CPU 1 gives an address signal to the buffer 6 via the address bus in order to manage the function and action of each constituent element in the DMA unit, and sends a designation signal of each constituent element to the decoder 13 via the buffer 6. Supply
The respective designation signals CS are sent to the respective voice input / output devices 8-1 to 8-
3, buffers 9-1 to 9-3, DMA controller 1
0, which is given to the HD controller 11. At the same time, various kinds of data are exchanged with the CPU 1 via the transceiver 7 and the data bus.

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

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

【0033】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 sets the DMA enable (enabling) signal DMAENB to "1" and outputs it when the DMA transfer is being performed between the respective constituent elements. As a result, the output of the AND gate 14 to which this signal DMAENB is given via the inverter 16 becomes "0",
The enabling signal E is supplied to the buffer 6 and the transceiver 7.
Is given as "0", so that it becomes impossible to exchange data and address between the CPU unit and the DMA unit. At this time, if the "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.

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

【0035】また、逆に、DMAコントローラ10がD
MA転送を実行しているときに、CPU1が例えばDM
Aコントローラ10をアクセスしようとしても、アンド
ゲート15よりウェイト信号WAITが与えられCPU
1の実行サイクルは途中で引き延ばされて、バッファ
6、トランシーバ7はその間閉じられることになる。
On the contrary, the DMA controller 10
When executing the MA transfer, the CPU 1 sends the DM
Even if an attempt is made to access the A controller 10, the wait signal WAIT is given from the AND gate 15 and the CPU
One execution cycle is extended midway, and the buffer 6 and the transceiver 7 are closed during that time.

【0036】結局、CPU1がDMAユニットの各構成
要素にアクセスできるのは、 1.CPU1がDMAユニットの各構成要素をアクセス
するためのアドレスを出した。 2.信号DMAENBがインアクティブ(“0”)つま
りDMAユニットのデータバスが空いている。 の2つの条件を満足するときであるが、CPU1は上述
したように、ゲート14、15の作用によって、いつD
MAユニットにアクセスするかを考慮することなく処理
をすすめることができる。
After all, the CPU 1 can access each component of the DMA unit as follows. CPU1 issued an address for accessing each component of the DMA unit. 2. The signal DMAENB is inactive (“0”), that is, the data bus of the DMA unit is empty. When the two conditions are satisfied, the CPU 1 operates as described above when the D
The processing can be proceeded without considering whether to access the MA unit.

【0037】また、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 a trigger of control data, the CPU 1 can be in any state with respect to the DMA controller 10. A command DMAEND for interrupting the DMA transfer can be output (this is given to the DMA controller 10 as the END signal).

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

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

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

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

【0042】アドレスレジスタ104内の各チャンネル
CH1〜CH4のレジスタは、対応するバッファ9−1
〜9−3及び指定されたバッファのカレントアドレスと
スタートアドレスとを少なくとも記憶するエリアを有
し、CH4のレジスタには、さらに転送カウンタが具備
され、このカウンタに設定されただけのデータ数をDM
A転送すると、HDコントローラ11のDMAリクエス
トが続いても新たにカウンタが設定されるまでDMA動
作は停止される(後述する図8の8−8による)。また
コントロールレジスタ105の各チャンネルCH1〜C
H4のエリアには、例えば、DMA転送の方向を指定す
るコントロールデータが記憶される。
The registers of the respective channels CH1 to CH4 in the address register 104 are corresponding buffers 9-1.
9-3 and an area for storing at least the current address and start address of the designated buffer, the CH4 register is further provided with a transfer counter, and the number of data set to this counter is DM.
After the A transfer, even if the DMA request from the HD controller 11 continues, the DMA operation is stopped until a new counter is set (by 8-8 in FIG. 8 described later). In addition, each channel CH1 to C of the control register 105
In the area H4, for example, control data designating the direction of DMA transfer is stored.

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

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

【0045】タイミングコントロールロジック107
は、デコーダ13からの指定信号CS、コントロールレ
ジスタ105からのコントロール信号、サービスコント
ローラ108からの制御信号を受けて、アドレスバッフ
ァ102、データバッファ106の入出力制御をするほ
か、アドレスインクリメンタ110を動作させて、アド
レスレジスタ104のなかの指定されたチャンネルのカ
レントアドレスレジスタをインクリメントし、該チャン
ネルに割り当てられたバッファの最終アドレスになった
ならば、該チャンネルに割り当てられたバッファの開始
アドレスにリセットさせる。
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, controls input / output of the address buffer 102 and the data buffer 106, and operates the address incrementer 110. Then, the current address register of the designated channel in the address register 104 is incremented, and when the end address of the buffer assigned to the channel is reached, it is reset to the start address of the buffer assigned to the channel. ..

【0046】<CPU1の全体動作>以下に、本実施例
の動作について説明する。CPU1の動作を示すフロー
チャートが図3乃至図6に示されている。これはプログ
ラムROM2に記憶されたプログラム(ソフトウェア)
よるもので、図3はメインルーチンを示し、図4はHD
コントローラ11からのインタラプト信号INTの到来
に応答して実行するインタラプトルーチンを示してい
る。また図5は、図4に示すインタラプトルーチンの一
部のステップ4−4をさらに詳細に示しており、さらに
図6は、任意の編集点においてフェードデータを設定す
る図5における一部のステップ5−12をさらに詳細に
示したものである。
<Overall Operation of CPU 1> The operation of this embodiment will be described below. Flow charts showing the operation of the CPU 1 are shown in FIGS. This is a program (software) stored in the program ROM2
3 shows the main routine, and FIG. 4 shows HD.
The interrupt routine executed in response to the arrival of the interrupt signal INT from the controller 11 is shown. 5 shows in more detail some steps 4-4 of the interrupt routine shown in FIG. 4, and FIG. 6 shows some steps 5-4 in FIG. 5 of setting fade data at arbitrary edit points. -12 is shown in more detail.

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

【0048】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変換動作状態)とする。図1
0に、このようなモード設定した場合の概略動作の概念
図を示す。
When the CPU 1 judges that it is currently in the play / record mode, it proceeds from 3-2 to 3-3 to sequentially select and designate three tracks, and further proceeds to 3-4 to set the operation mode of each track to the keyboard 4. Is set in accordance with the input instruction of the above, and in 3-5, which of the A / D conversion and the D / A conversion is to be performed by each of the audio input / output devices 8-1 to 8-3, the buffer 6 and the decoder 13 Then, IOWR is given and set while sequentially sending the designation signal CS. Now, for example, Tr1 is in a play state (hence, D / A conversion operation state), and Tr2 and Tr3 are in a record state (hence, A / D conversion operation state). Figure 1
FIG. 0 shows a conceptual diagram of a schematic operation when such a mode is set.

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

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

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

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

【0053】具体的には、図4乃至図6に示したフロー
チャートに従った動作を3−8で実行することになる。
ここで図4乃至図6に示したフローチャートの説明に入
る前に、前記した図1のRAM3に格納される各テーブ
ルの構成について説明する。図1のRAM3には、図1
2乃至図15に示すように再生スケジュールを制御する
イベントテーブル(ET)、イベントシーケンステーブ
ル(ESTとする)が定義されており、また、それらの
中間データであるカレントデータのメモリ領域が取られ
ている。
Specifically, the operation according to the flow charts shown in FIGS. 4 to 6 is executed in 3-8.
Here, before entering the description of the flowcharts shown in FIGS. 4 to 6, the configuration of each table stored in the RAM 3 of FIG. 1 will be described. The RAM 3 shown in FIG.
2 to 15, an event table (ET) and an event sequence table (EST) for controlling the reproduction schedule are defined, and a memory area for current data, which is intermediate data between them, is taken. There is.

【0054】すなわち、図12は前記したイベントテー
ブルの登録例を示しており、このテーブルに格納される
イベントデータは、イベント名(name)、ディスク
ID(id)(ハードディスク12a(00)と12b
(01)のいずれかを指定する)、先頭データアドレス
(サンプル(ワード)データアドレス)(adrs)、
及びイベント長(サンプルデータ数)(vol)より構
成されている。そして図12に示すイベントテーブルに
おいては、オリジナルレコーディングデータである
“1”から“4”は、録音時の領域確保によって自動的
に作られる。
That is, FIG. 12 shows an example of registration of the above-mentioned event table, and the event data stored in this table includes an event name (name), a disk ID (id) (hard disks 12a (00) and 12b).
(Specify any of (01)), start data address (sample (word) data address) (adrs),
And the event length (sample data number) (vol). In the event table shown in FIG. 12, original recording data "1" to "4" are automatically created by securing an area during recording.

【0055】また、図13はオリジナルレコーディング
データのESTの例を示しており、横方向に“0”から
“2”のESTインデックス(EST Index)
が、縦方向に各トラック番号が配列され、それぞれに対
応してイベント番号が格納される。図13においては、
例えばトラック2のデータはディスク“00”と“0
1”にまたがって記録された状態を示しており、イベン
ト番号“0”はシーケンス要素の終端を示すためのもの
である。
Further, FIG. 13 shows an example of the EST of the original recording data, and the EST index (EST Index) from "0" to "2" in the horizontal direction.
However, each track number is arranged in the vertical direction, and the event number is stored corresponding to each. In FIG.
For example, the data of track 2 are the discs "00" and "0".
1 shows the state recorded over 1 ", and the event number" 0 "is for indicating the end of the sequence element.

【0056】また、図14はユーザ自らイベント定義を
行い、出力すべきトラックにそれらを並べた編集作品1
のESTの例を示しており、図13と同様に横方向に
“0”から“8”のESTインデックスが、縦方向に各
トラック番号が配列され、それぞれに対応してイベント
番号が格納される。従って以上のようにESTは編集作
品に対応して複数存在しうる。
In addition, FIG. 14 shows an edited work 1 in which the user defines the event by himself and arranges them on the track to be output.
13 shows an example of the EST of FIG. 13, the EST indexes of “0” to “8” are arranged in the horizontal direction, the track numbers are arranged in the vertical direction, and the event numbers are stored correspondingly. .. Therefore, as described above, a plurality of ESTs can exist corresponding to edited works.

【0057】さらにまた、図15は実際にDMA転送を
行っているときのカレントデータを示しており、各トラ
ックの次回の転送対象となるESTのインデックス番号
と、そのイベントがどれだけ転送されたかを示す既転送
量が記憶される。
Furthermore, FIG. 15 shows the current data when the DMA transfer is actually performed, and shows the index number of the EST to be the next transfer target of each track and how much the event is transferred. The already-transferred amount shown is stored.

【0058】以下、図14に示すようなユーザ定義のイ
ベントシーケンスを再生させた場合のCPU1のフェー
ド処理動作を、図4及び図5に示したフローチャートに
従って説明する。特に、この図4、図5は再生動作に重
きをおいて示してある。
The fade processing operation of the CPU 1 when the user-defined event sequence shown in FIG. 14 is reproduced will be described below with reference to the flow charts shown in FIGS. 4 and 5. Particularly, FIGS. 4 and 5 are shown with emphasis on the reproducing operation.

【0059】まず、CPU1はフェード要求(この要求
は、後述するように4−10で記憶される)が有りか否
かを判断する(4−1)。フェード要求が有りの場合に
は、4−2のステップに移り、後述する図5のステップ
5−6,5−9で設定されたフェードデータに従い、バ
ッファデータの変更の処理、つまりフェードイン処理ま
たはフェードアウト処理を行なう。もし、前記ステップ
4−1においてフェード要求がなしとジャッジされれ
ば、前記4−2に示したステップの処理は省略される。
次に、CPU1は4−3のステップにおいて転送トラッ
クの決定を行なう。すなわち、例えばTr1について、
ハードディスク12a,12bからデジタル信号データ
をバッファ9−1にDMA転送するために、DMAコン
トローラ10のチャンネルとしてTr1に対応するチャ
ンネルCH1を決定する。
First, the CPU 1 determines whether or not there is a fade request (this request is stored in 4-10 as described later) (4-1). If there is a fade request, the process proceeds to step 4-2, and according to the fade data set in steps 5-6 and 5-9 of FIG. 5 described later, the process of changing the buffer data, that is, the fade-in process or Performs fade-out processing. If it is judged in step 4-1 that there is no fade request, the process of step 4-2 is omitted.
Next, the CPU 1 determines the transfer track in step 4-3. That is, for example, for Tr1,
In order to DMA transfer the digital signal data from the hard disks 12a and 12b to the buffer 9-1, the channel CH1 corresponding to Tr1 is determined as the channel of the DMA controller 10.

【0060】続いて、トラック番号とチャンネルバッフ
ァの空き容量(転送可能容量)からディスクID、ワー
ドアドレス、転送アドレスを求めたり、イベントの境界
を検出してフェードデータを設定する4−4のステップ
を実行する。この4−4のステップについては、図5に
さらに詳しくそのフローが示されている。尚、バッファ
の空き容量は、セクタ単位に切り捨てる演算がなされて
いることを前提とする。
Subsequently, the step 4-4 is performed in which the disk ID, the word address, and the transfer address are obtained from the track number and the free capacity (transferable capacity) of the channel buffer, or the boundary of the event is detected to set the fade data. Run. The flow of these steps 4-4 is shown in more detail in FIG. The free space of the buffer is assumed to be rounded down in units of sectors.

【0061】すなわち、5−1のステップにおいて、該
当するトラック(いまの場合、Tr1)のカレントデー
タ(図15)よりESTインデックスを求め、さらにE
ST(図14)から、そのESTインデックスに対応す
るイベント番号を求める。そして5−2のステップにお
いて、図12に示すイベントテーブルよりそのイベント
番号に対応するディスクIDを求め、次いで、「イベン
トの先頭アドレス+カレントデータの既転送量=ワード
アドレス」を演算してワードアドレスを求める。イベン
トの先頭アドレスは図12に示すイベントテーブルのa
drsより求められ、またカレントデータの既転送量は
図15に示すカレントデータより求められる。
That is, in step 5-1 the EST index is obtained from the current data (FIG. 15) of the corresponding track (Tr1 in this case), and E
The event number corresponding to the EST index is obtained from ST (FIG. 14). Then, in step 5-2, a disk ID corresponding to the event number is obtained from the event table shown in FIG. 12, and then "event start address + current data transfer amount = word address" is calculated to obtain the word address. Ask for. The start address of the event is a in the event table shown in FIG.
drs, and the already transferred amount of the current data is obtained from the current data shown in FIG.

【0062】そしてCPU1は5−3において、ワード
アドレスよりオフセットを求め(ワードアドレスはセク
タを示す部分と、そのセクタ内における位置を表すオフ
セット部分より構成されている)、次いで「イベントの
容量−既転送量=未転送量」を演算して未転送量を求め
る。イベントの容量は図12におけるイベントテーブル
のvolより求められ、既転送量は図15のカレントデ
ータより求められる。
In step 5-3, the CPU 1 obtains an offset from the word address (the word address is composed of a portion indicating a sector and an offset portion indicating the position within the sector), and then "event capacity-existing". Transfer amount = untransferred amount ”is calculated to obtain the untransferred amount. The event capacity is obtained from the vol of the event table in FIG. 12, and the transferred amount is obtained from the current data in FIG.

【0063】ここで、5−4において「空き容量>未転
送量」であるか否かが判断される。5−4においてNO
とジャッジした場合、イベント末尾に達していないの
で、次に既転送量=0であるか否かが判断(5−5)さ
れる。これがYESとジャッジされる場合は、イベント
先頭でありフェードインデータの設定が成される(5−
6)。この設定で、例えばどのようなエンベロープで、
どの位の時間(何サンプル)で変化されるかが決定され
る。もし、前記5−5においてNOとジャッジされる場
合には前記5−6の処理は省略される。そして5−7に
おいて「既転送量=カレントデータの既転送量+空き容
量−オフセット」の演算により既転送量が設定され、さ
らに5−8において「転送ワード数=空き容量−オフセ
ット」とする。このようにしてセクタ単位の転送で、セ
クタ内の任意位置からの転送を可能とする。尚、空き容
量は、セクタ単位の大きさに切り捨てられている。
Here, in 5-4, it is judged whether or not "free space> untransferred amount". NO in 5-4
If it is judged that the event end has not been reached, it is next determined whether or not the transferred amount = 0 (5-5). If this is judged as YES, it is the beginning of the event and the fade-in data is set (5-
6). With this setting, for example what kind of envelope,
It is determined how much time (how many samples) is changed. If NO in 5-5, the process in 5-6 is omitted. Then, in 5-7, the already-transferred amount is set by the calculation of "already-transferred amount = currently-transferred amount of current data + free space-offset", and further, in 5-8, "transfer word number = free space-offset" is set. In this manner, the sector-by-sector transfer enables transfer from any position in the sector. The free space is rounded down to the size of a sector unit.

【0064】また、前記ステップ5−4においてYES
とジャッジした場合、イベント末尾に達したと判断し、
5−9においてフェードアウトデータの設定が行われ
る。この設定で、例えばどのようなエンベロープで、ど
の位の時間(何サンプル)で変化されるかが決定され
る。そして5−10において、カレントデータのEST
のインデックスを1だけインクリメントし、さらに既転
送量=0に設定される。次に、5−11において「転送
ワード数=未転送量」とする。
Further, YES in step 5-4.
If you judge, it is judged that the end of the event has been reached,
In 5-9, the fade-out data is set. With this setting, for example, what envelope and how much time (how many samples) is changed are determined. Then, in 5-10, the EST of the current data
The index of 1 is incremented by 1, and the transferred amount is set to 0. Next, in 5-11, "the number of transfer words = the untransferred amount" is set.

【0065】なお、前記5−8および5−11のステッ
プの後に破線で示すように、必要に応じて5−12のス
テップが入る。この5−12のステップは、フェード処
理をイベントの境界のみで行なうのではなく、編集中に
指定した任意の点でおこなわせるようにしたものであ
る。すなわち編集中に前もってどの位置(イベント再生
の配置が終わったものに対して)でフェード処理を行な
うか指定する。これは再生開始後の何サンプル目かで指
定する。さらにその位置に対して、フェードインの処理
かフェードアウトの処理かを指定する。
After the steps 5-8 and 5-11, as indicated by a broken line, step 5-12 is entered as necessary. In steps 5-12, the fade processing is performed not only at the boundary of the event but at an arbitrary point designated during editing. That is, at which position (for which the event reproduction arrangement has been completed) the fade processing is to be specified in advance during editing. This is specified by the sample number after the start of playback. Further, the fade-in process or the fade-out process is designated for the position.

【0066】前記5−12のステップは再生時において
付加される処理を示しており、この5−12のステップ
の詳細については、図6に示してある。すなわち図6の
6−1において、積算転送量に転送ワード数を加算す
る。なお積算転送量は再生動作開始毎に“0”にリセッ
トされ、それまでの総データ転送ワード数を表してい
る。そして次に、前記6−1の処理によって得られた転
送量が編集点として指定されたポイントと一致したか否
かが判断(6−2)される。このときYESとジャッジ
された場合には、6−3に移り、操作指示がフェードイ
ンであるかフェードアウトであるかが判断される。操作
指示がフェードインである場合にはフェードインデータ
の設定が行われ(6−4)、操作指示がフェードアウト
である場合にはフェードアウトデータの設定が行われる
(6−5)。この場合の設定も、ステップ5−6,5−
9における場合と同様に行われる。また、前記6−2に
おいてNOとジャッジされた場合には、前記6−3〜6
−5の判断並びに処理は省略される。
The step 5-12 shows the processing added at the time of reproduction, and the details of the step 5-12 are shown in FIG. That is, in 6-1 of FIG. 6, the number of transfer words is added to the accumulated transfer amount. The accumulated transfer amount is reset to "0" each time the reproducing operation is started, and represents the total number of data transfer words up to that point. Then, next, it is judged (6-2) whether or not the transfer amount obtained by the processing of 6-1 coincides with the point designated as the editing point. If YES is judged at this time, the process proceeds to 6-3, and it is judged whether the operation instruction is fade-in or fade-out. If the operation instruction is fade-in, the fade-in data is set (6-4), and if the operation instruction is fade-out, the fade-out data is set (6-5). The setting in this case is also step 5-6,5-
The same is done as in 9. Further, in the case of being judged as NO in the above 6-2, the above 6-3 to 6
The judgment and processing of -5 are omitted.

【0067】図4に戻り、4−5においてワードアドレ
スをディスクアドレスとオフセットに直し、転送ワード
数より転送セクタ数を求める。更に4−6において、デ
ィスクアドレス、転送セクタ数、トラックモードによ
り、HDコントローラ11をプログラミングする。ここ
で4−7において「オフセット=0」であるか否かがジ
ャッジされ、イベント先頭の位置がセクタの境界と一致
していないので、NOとジャッジされた場合には、イベ
ント先頭の位置が半端なデータを含んだセクタである。
そしてこの様な半端がある場合には4−11および4−
12において、DMAコントローラ10におけるアドレ
スレジスタ104のCH4のスタートアドレスをイメー
ジ(実際には存在しない)領域に設定し、前記転送カウ
ンタにオフセット値を設定して、半端なデータ分、つま
りオフセット値分のデータをダミー転送する。
Returning to FIG. 4, in 4-5, the word address is corrected to the disk address and the offset, and the number of transfer sectors is obtained from the number of transfer words. Further, in 4-6, the HD controller 11 is programmed by the disk address, the number of transfer sectors, and the track mode. Here, in 4-7, it is judged whether or not “offset = 0”, and the position of the beginning of the event does not coincide with the boundary of the sector. Therefore, when judged as NO, the position of the beginning of the event is odd. It is a sector that contains various data.
And if there is such a half, 4-11 and 4-
At 12, the CH4 start address of the address register 104 in the DMA controller 10 is set in the image (actually does not exist) area, the offset value is set in the transfer counter, and the odd data, that is, the offset value is set. Dummy transfer data.

【0068】4−12においてダミー転送が終了したと
判定されるか、または4−7においてYESとジャッジ
された場合(「オフセット=0」のとき)には、4−8
に進み、アドレスレジスタ104の当該CH(いまの場
合、CH1)のスタートアドレスをCH4のスタートア
ドレスにコピーする。そして転送カウンタの値が「セク
タ数×セクタ長−オフセット値」の値に設定される。さ
らに4−9では、転送ワード数より当該CHのスタート
アドレスを更新する。そして4−10において、フェー
ド処理が必要であればフェード処理要求を記憶し、メイ
ンルーチン(図3)にリターンする。即ち、CPU1は
転送終了割込でしか転送終了を検知できないので、フェ
ード処理要求を記憶しておき、後に(ステップ4−1,
4−2で)フェード処理を実行する。
If it is determined in 4-12 that the dummy transfer is completed, or if it is judged YES in 4-7 (when "offset = 0"), 4-8
Then, the start address of the CH (in this case, CH1) of the address register 104 is copied to the start address of CH4. Then, the value of the transfer counter is set to the value of “number of sectors × sector length−offset value”. Further, in 4-9, the start address of the CH is updated from the number of transfer words. Then, in 4-10, if the fade process is necessary, the fade process request is stored, and the process returns to the main routine (FIG. 3). That is, since the CPU 1 can detect the transfer end only by the transfer end interrupt, the fade process request is stored, and the fade process request is stored later (step 4-1).
Perform the fade process (at 4-2).

【0069】以上のようにして、4−4でイベント境界
を検出してフェードデータを設定した場合、4−9まで
の転送処理の後、目的の処理を行なう。例えば図11
(A)に示すように、あるイベントの最後のブロックD
を転送し終ると、ブロックDのうち、網掛け部分のブロ
ックEをフェードアウト処理する。つまり図11(C)
に示すようにフェード処理される先頭部を1倍(0d
B)とすると、イベントの最後のデータが0倍(−∞d
B)になるような乗算を各データに行なう。
As described above, when the event boundary is detected and the fade data is set in 4-4, the target processing is performed after the transfer processing up to 4-9. For example, in FIG.
As shown in (A), the last block D of an event
Of the block D, the shaded block E is faded out. That is, FIG. 11 (C)
As shown in (1), the head part to be faded is multiplied by 1 (0d
B), the last data of the event is 0 times (-∞d
The multiplication as shown in B) is performed on each data.

【0070】また、図11(B)に示すように、イベン
ト先頭部分のブロックFを転送した場合は、図11
(B)に示すFの先頭部分の斜線部Gを転送後にフェー
ドイン処理する。つまり図11(C)に示すように、イ
ベントの先頭データを0倍、フェードイン領域の最後を
1倍とするような乗算を行なっていく。
Further, as shown in FIG. 11B, when the block F at the beginning of the event is transferred,
Fade-in processing is performed after the hatched portion G at the beginning of F shown in (B) is transferred. That is, as shown in FIG. 11C, multiplication is performed so that the start data of the event is 0 times and the end of the fade-in area is 1 time.

【0071】なお、CPU1が行なう乗算処理は、あま
り時間がかかると、乗算処理を繰り返している間に、カ
レントアドレス(現発音データ)が今処理中のブロック
まで達してしまい、データ転送が間に合わなくなるとい
うことがある。しかし異音を出さないためのフェードイ
ン・アウトの処理はせいぜい数十から数百サンプルであ
り、ディスクのアクセスタイムである数十mSに対して
μS〜1mSオーダの処理はCPUの性能からいって十
分可能であり、ディスクの転送シーケンスに大きな影響
を及ぼすものではない。またフェード処理のための計算
は、CPUが行なうのではなく、ハードウエアを用いて
それをCPUが制御して計算させてもよい。
If the multiplication process performed by the CPU 1 takes too much time, the current address (current tone generation data) reaches the block currently being processed during the repetition of the multiplication process, and the data transfer cannot be completed in time. There is a thing. However, the processing of fade-in / out to prevent abnormal noise is at most several tens to several hundreds of samples, and the processing of μS to 1 mS is required from the CPU performance for the disk access time of several tens mS. It is fully possible and does not significantly affect the disc transfer sequence. Further, the calculation for the fade process may be performed by the CPU using hardware instead of the CPU.

【0072】ところで、図4におけるステップ4−11
においては、イメージ領域(実際には存在していないア
ドレス領域)にダミー転送を行なうようにしている。こ
れは特にイメージ領域でなく、バッファ中の未発音デー
タ以外の領域に転送してしまっても効果としては同じで
あるが、この場合、スタートアドレスの設定をその度に
DMAコントローラ10のレジスタ104から得なくて
はならない。しかし、イメージ領域ならば、スタートア
ドレスはイメージ領域の最初を示す固定値にして、アド
レスレジスタ104の転送カウンタだけをプログラムす
ればいいので、やや効率がよい。
By the way, step 4-11 in FIG.
In this case, dummy transfer is performed in the image area (address area that does not actually exist). This is the same effect even if the data is transferred to an area other than the unvoiced data in the buffer instead of the image area, but in this case, the start address is set from the register 104 of the DMA controller 10 each time. I have to get it. However, in the case of the image area, the start address is set to a fixed value indicating the beginning of the image area, and only the transfer counter of the address register 104 needs to be programmed, which is slightly efficient.

【0073】次に、図3に戻る。後の説明でも明らかに
なるとおり、最初の割込みルーチン(図4)が起動され
て、HDコントローラ11が一度動かされると、あと
は、CPU1が指定したデータブロックの転送が終了す
るたびに、HDコントローラ11から割込みがなされる
(INT信号がCPU1に与えられる)ので、CPU1
が行なうのは、録音/再生動作の終了になったか、キー
入力があったかまたはコントロールデータに指示してお
いたトリガがかかったかの判断を行うのみである。
Next, returning to FIG. As will be apparent from the description below, once the first interrupt routine (FIG. 4) is activated and the HD controller 11 is moved once, the HD controller 11 then moves to the HD controller 11 each time the data block transfer is completed. Since an interrupt is made from 11 (INT signal is given to CPU1), CPU1
Is performed only to determine whether the recording / playback operation has ended, whether there has been a key input, or whether the trigger specified in the control data has occurred.

【0074】すなわち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をくりかえす。
That is, the CPU 1 refers to the disk access pointer (RAM 3) at 3-9 and judges whether or not the memory area is over, that is, whether or not the memory area is over (3-10). Output device 8-
Stop A / D conversion and D / A conversion operations of 1-8-3 (3-
11) Then, return to 3-1. In the case of NO, the key input state is referred to (3-12). If there is no change, the process returns to 3-9 to check the disk access pointer, and the steps 3-9 to 3-13 are repeated.

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

【0076】このように、CPU1はプレイ/レコード
時にあっては、3−4〜3−8の初期設定を行なった後
は、3−9、3−10、3−12、3−13更に3−1
4〜3−16をくりかえし実行し、キーボード4での変
更指示(例えばあるトラックについてポーズ(A/D、
D/Aの中断)あるいはパンチイン/アウト(A/D、
D/Aの動作の切換)等)や、編集時に得たコントロー
ルデータの変化に応答して、即時にDMA転送制御を中
断し、プログラムを変更した上で、再び同様の処理を実
行するように動作する。
As described above, the CPU 1 makes 3-9, 3-10, 3-12, 3-13, and 3 after the initialization of 3-4 to 3-8 at the time of play / record. -1
4 to 3-16 are repeatedly executed, and a change instruction on the keyboard 4 (for example, pause (A / D,
D / A interruption) or punch in / out (A / D,
In response to a change in the D / A operation)) or a change in the control data obtained during editing, the DMA transfer control is immediately interrupted, the program is changed, and the same processing is executed again. Operate.

【0077】3−2において、CPU1が現在、イベン
ト処理モードにあると判断すると、3−2から3−17
に進み、ハードディスク12a,12bに記憶されてい
る音声データをイベント化する。イベント化とは、手動
指定操作などによって時間軸上に連続した音声データを
複数に区切り、各区切られた音声データ(イベント)を
識別するためのイベント名、ディスクID、および区切
られた区間を示すデータ(スタートポイントとその長さ
(ボリューム))を作り出すことを意味する。イベント
化に対応して、3−18においてイベントテーブル(図
12)が作成される。このイベントテーブル(ET)に
は、イベント名、ディスクID、スタートポイントおよ
びボリュームが登録される。ディスクID、スタートポ
イントおよびボリュームは、当該イベントが記憶される
ハードディスク12a,12bのスタートアドレスおよ
びイベント長に相当する。
In 3-2, when the CPU 1 judges that it is currently in the event processing mode, 3-2 to 3-17.
Then, the sound data stored in the hard disks 12a and 12b is converted into an event. Eventification refers to an event name, a disc ID, and a segmented section for segmenting continuous audio data on the time axis into a plurality of pieces by a manual designation operation and identifying each segmented audio data (event). It means creating data (start point and its length (volume)). An event table (FIG. 12) is created in 3-18 corresponding to the event conversion. Event names, disk IDs, start points, and volumes are registered in this event table (ET). The disk ID, the start point and the volume correspond to the start address and the event length of the hard disks 12a and 12b in which the event is stored.

【0078】次いで3−19において、前記イベントテ
ーブルに基づいてイベントシーケンステーブルEST
(図14)が作成される。このイベント処理3−17〜
3−19は繰り返されることになるが、操作者の指示に
よりESTの作成の終了が3−20で検出されると、C
PU1は3−1において再びキー入力を調べる。
Then, in 3-19, based on the event table, the event sequence table EST
(FIG. 14) is created. This event process 3-17 ~
3-19 will be repeated, but if the end of the creation of the EST is detected in 3-20 by the instruction of the operator, C
PU1 checks the key input again in 3-1.

【0079】3−2において、CPU1が現在、編集
(EDIT)モードにあると判断すると、3−2から3
−21に進み、編集するトラックやポイント、どのよう
な編集をするのか(例えば、ある時間指定したポイント
に録音した音のタイミングを前後にずらしたり、修正、
削除したりすること)をCPU1は判断し、各種編集作
業を実行する(3−22)。この編集作業は、特には詳
述しないが、HDコントローラ11とDMAコントロー
ラ10とに対するハードディスク12a,12bからの
読み出しアクセスポイントのプログラムや、RAM3へ
の転送、RAM3を用いての各種編集、そして編集後の
デジタル音声データのハードディスク12a,12bへ
の再格納作業、アクセスポイントの指定等を、CPU1
の制御下で実行する。3−23において編集作業の終了
が検出されると、CPU1は、3−1において再びキー
入力を調べる。
In 3-2, when the CPU 1 judges that it is currently in the edit (EDIT) mode, 3-2 to 3-3
Proceed to -21 to edit the track or point to be edited and what kind of editing is to be performed (for example, the timing of the sound recorded at a specified point for a certain time can be shifted back and forth, corrected,
The CPU 1 judges that it should be deleted) and executes various editing work (3-22). Although this editing work is not described in detail, a program of read access points from the hard disks 12a and 12b to the HD controller 11 and the DMA controller 10, transfer to the RAM3, various edits using the RAM3, and post-editing CPU 1 performs re-storing work of the digital audio data of the above into the hard disks 12a and 12b, designation of an access point, etc.
Run under the control of. When the end of the editing work is detected in 3-23, the CPU 1 checks the key input again in 3-1.

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

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

【0082】そして、7−1においてNOの判断がなさ
れると7−3において、当該音声入出力装置8−1〜8
−3がレコード状態であるのかプレイ状態であるのか判
断し、レコード状態と判断されると、7−3から7−4
〜7−9の処理へ進み、プレイ状態と判断されると7−
10〜7−15の処理へ進む。
When NO is determined in 7-1, the voice input / output devices 8-1 to 8-8 are referred to in 7-3.
-3 is in a record state or a play state, and when it is determined to be a record state, 7-3 to 7-4
~ It progresses to the processing of 7-9, and when it is judged that it is a play state, 7-
The process proceeds to 10 to 7-15.

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

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

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

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

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

【0088】以上、レコード状態の場合と、プレイ状態
の場合との1つのサンプリング時刻における動作を説明
したが、7−9、7−15の各処理の終了後7−1にも
どり以下同様にして次々とサンプリング時刻に対する処
理を実行する。
The operation at one sampling time in the case of the record state and the case of the play state has been described above. Return to 7-1 after the completion of each processing of 7-9 and 7-15, and so on. The processing for the sampling time is executed one after another.

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

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

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

【0092】8−5では、各音声入出力装置8−1〜8
−3からDMA転送要求DRQ1〜DRQ3がきている
か、HDコントローラ11からDMA転送要求DREQ
(DRQ4)がきているか判断し、もし、いずれかから
要求が来ていると8−6に進み、DMA可能信号DMA
ENBを“1”に(アクティブ)にし、DMAユニット
内のアドレスバスとデータバスをDMAコントローラ1
0が専有するようにし、CPU1からのアクセスを受け
付けなくする。
In 8-5, each of the voice input / output devices 8-1 to 8-8
-3 from the DMA transfer requests DRQ1 to DRQ3, or the HD controller 11 sends the DMA transfer request DREQ.
(DRQ4) is judged, and if there is a request from any one, the process proceeds to 8-6, and the DMA enable signal DMA
ENB is set to "1" (active), and the address bus and data bus in the DMA unit are set to the DMA controller 1
0 is exclusively used, and access from the CPU 1 is not accepted.

【0093】続いて、複数の要求に際しては、チャンネ
ルCH1〜CH4の順の優先順位に従って、チャンネル
を選択する(8−7)。
Then, when a plurality of requests are made, the channels are selected in accordance with the priority order of the channels CH1 to CH4 (8-7).

【0094】次ぎに、アドレスレジスタ104のCH4
が選択され、かつ、CH4に設けられた転送カウンタの
値が“0”であるか否かが判断される(8−8)。ここ
でCH4が選択され、かつ、転送カウンタの値が“0”
であれば、つまりCH4により、転送すべきデータ量だ
けの転送が終了してしまった後は、転送要求があって
も、転送を行わずに8−5にもどり、8−5〜8−8の
ルーチンを繰り返す。そしてCH4が選択されていない
か、またはCH4が選択されていても転送カウンタの値
が“0”でなければ、選択したチャンネル(いま、例え
ばCH2)のカレントアドレス(アドレスレジスタ10
4のCH2のカレントアドレスレジスタの内容)をアド
レスバスに出力する(8−9)。そして選択したチャン
ネル(いま、例えばCH2)のコントロールレジスタ1
05の内容を参照し、DMA転送をいずれの方向へ行う
か決定し(8−10)、もしバッファ9−1〜9−3か
ら他の要素(I/O)への転送なら8−11から8−1
2へ進んで、バッファ9−1〜9−3のうちの選択して
いるバッファに対しリード信号RDを与え、逆に他の要
素(I/O)からバッファ9−1〜9−3への転送なら
ば8−13に進み、当該バッファに対してライト信号W
Rを与える。
Next, CH4 of the address register 104
Is selected and whether the value of the transfer counter provided in CH4 is "0" or not is determined (8-8). Here, CH4 is selected and the value of the transfer counter is "0".
If so, that is, after the transfer of the amount of data to be transferred is completed by CH4, even if there is a transfer request, the process returns to 8-5 without transferring, and 8-5 to 8-8 Repeat the routine. If CH4 is not selected, or if CH4 is selected but the value of the transfer counter is not "0", the current address (address register 10) of the selected channel (for example, CH2) is selected.
The contents of the current address register of CH2 of 4) are output to the address bus (8-9). And the control register 1 of the selected channel (for example, CH2 now)
The direction of the DMA transfer is determined by referring to the contents of 05 (8-10). If the transfer is from the buffers 9-1 to 9-3 to another element (I / O), the process is started from 8-11. 8-1
2, the read signal RD is given to the selected buffer among the buffers 9-1 to 9-3, and conversely from the other element (I / O) to the buffers 9-1 to 9-3. If it is a transfer, proceed to 8-13 and write signal W to the buffer.
Give R.

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

【0096】8−15では、データ転送が終了したの
で、上記リード信号RD又はライト信号WR、回答信号
DAKをインアクティブにし、8−16で当該チャンネ
ル(いまCH2)のカレントアドレス(図2のアドレス
レジスタ104内)の内容を+1とし、バッファの最終
アドレス到達の後はバッファ開始アドレスにリセットさ
せる。この8−16の動作により、バッファ9−1〜9
−3に対して新たなサンプリング音声データが書込まれ
る都度、あるいは新たに音声データが読出される都度、
アップカウントまたはバッファ開始アドレスにリセット
されることになる。そして、8−16の処理の後、8−
1へもどる。
At 8-15, since the data transfer is completed, the read signal RD or write signal WR and the reply signal DAK are made inactive, and at 8-16, the current address of the channel (now CH2) (address of FIG. 2). The content of (in register 104) is set to +1 and after reaching the end address of the buffer, it is reset to the buffer start address. By the operation of 8-16, the buffers 9-1 to 9-9
-3 each time new sampling voice data is written, or each time new voice data is read,
It will be reset to the upcount or buffer start address. Then, after the processing of 8-16, 8-
Return to 1.

【0097】先程の状態では、Tr2とTr3との音声
入出力装置8−2、8−3よりデータ転送要求がDMA
コントローラ10に対してなされており、これまでにT
r2についてのみデータ転送の実行をしたのであるから
続く8−5においてはYESの判断がなされる。以下T
r3に関して、音声入出力装置8−3からバッファ9−
3の方向へのデータ転送が、8−7〜8−11、8−1
3〜8−16を実行することにより上記した場合と同様
にしてなされる。
In the previous state, the data transfer request is transmitted from the voice input / output devices 8-2 and 8-3 of Tr2 and Tr3 by DMA.
This is done for the controller 10, and so far T
Since the data transfer is executed only for r2, YES is determined in the following 8-5. Below T
Regarding r3, the voice input / output device 8-3 to the buffer 9-
Data transfer in the direction of 3 is 8-7 to 8-11, 8-1
This is performed in the same manner as in the above case by executing steps 3 to 8-16.

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

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

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

【0101】DMAコントローラ10では、8−5にお
いてHDコントローラ11から転送要求があることを検
知すると、上記した場合と同様にして、8−6〜8−1
0を実行した後、バッファ9−1〜9−3からハードデ
ィスク12a,12b方向へのデータ転送の要求か、ハ
ードディスク12a,12bからバッファ9−1〜9−
3方向へのデータ転送の要求かを8−11において判断
し、前者ならば8−12へ、後者ならば8−13へ進ん
だ後、8−14〜8−16の各処理を実行する。このと
き、1回の転送操作で、例えば1サンプル分のデジタル
音声データの転送がなされるので、この8−5〜8−1
6の動作を複数回くりかえし実行して、ブロック転送が
なされる。
When the DMA controller 10 detects that there is a transfer request from the HD controller 11 at 8-5, it performs the steps 8-6 to 8-1 in the same manner as the above case.
After executing 0, a request for data transfer from the buffers 9-1 to 9-3 to the hard disks 12a and 12b, or from the hard disks 12a and 12b to the buffers 9-1 to 9-.
In 8-11, it is judged whether the request is for data transfer in three directions. In the former case, the process proceeds to 8-12, and in the latter case, the process proceeds to 8-13, and then each process of 8-14 to 8-16 is executed. At this time, for example, one sample of digital audio data is transferred by one transfer operation.
The operation of 6 is repeatedly executed a plurality of times to perform block transfer.

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

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

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

【0105】また、ライト信号WRが与えられていると
きは9−2から9−4に進み、今回DMAコントローラ
10のチャンネルCH4にてDMA転送するバッファと
ハードディスク12a,12bとのデータ転送方向を設
定し、9−5にて、アクセスするハードディスク12
a,12bのアクセスポイントを設定する。これは、C
PU1がRAM3から得ている当該トラックのディスク
アクセスポインタによる。
Further, when the write signal WR is given, the process proceeds from 9-2 to 9-4 to set the data transfer direction between the buffer for DMA transfer on the channel CH4 of the DMA controller 10 and the hard disks 12a, 12b this time. Then, at 9-5, the hard disk 12 to be accessed
Set access points a and 12b. This is C
According to the disk access pointer of the track that PU1 has obtained from RAM3.

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

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

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

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

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

【0111】[0111]

【発明の効果】請求項1の発明によれば、イベントの境
界の直前または直後のデータブロックのデータを、フェ
ードデータによって変更するようにしたので、ランダム
アクセス編集を行なったデータを再生する際、イベント
の継ぎ目部分において発生する異音を確実に抑えること
が可能となる。またフェード作用は、記録したデータを
変更したり、変更を加えたデータを別のエリアに持つこ
となく、再生中に動的に変更するので、データ領域を有
効に使える利点があり、また信号処理をデータ先読みの
時に行なうことができるので、信号処理のタイミングに
関する制御も容易となる。
According to the first aspect of the invention, since the data of the data block immediately before or after the event boundary is changed by the fade data, when reproducing the data subjected to the random access editing, It is possible to reliably suppress the abnormal noise generated at the joint portion of the event. In addition, the fade action has the advantage that the data area can be used effectively because it does not change the recorded data or has the changed data in another area and dynamically changes it during playback. Can be performed at the time of data pre-reading, so that control regarding the timing of signal processing becomes easy.

【0112】請求項2の発明によれば、指定された音声
データの任意の位置の直前または直後のデータブロック
のデータを、フェードデータによって変更するようにし
たので、請求項1に記載のデジタルレコーダの前記した
効果に加え、ユーザの望む位置にフェードインまたはフ
ェードアウトが設定でき、録音時に記録してしまったポ
ップノイズなどの短時間のノイズを抑圧させることが可
能となる。
According to the second aspect of the invention, the data of the data block immediately before or after the arbitrary position of the designated audio data is changed by the fade data. Therefore, the digital recorder according to the first aspect. In addition to the above-mentioned effect, fade-in or fade-out can be set at a position desired by the user, and short-time noise such as pop noise recorded during recording can be suppressed.

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

【図1】本発明のデジタルレコーダの一実施例の全体構
成を示すブロック図である。
FIG. 1 is a block diagram showing an 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 a main part of a DMA controller 10 shown in FIG.

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

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

【図5】図4に示したインタラプトルーチンにおけるス
テップ4−4の作用を説明するためのフローチャートで
ある。
5 is a flowchart for explaining the operation of step 4-4 in the interrupt routine shown in FIG.

【図6】図5に示したフローチャートにおけるステップ
5−12の作用を説明するためのフローチャートであ
る。
FIG. 6 is a flowchart for explaining the operation of step 5-12 in the flowchart shown in FIG.

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

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

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

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

【図11】図1のデジタルレコーダにおけるフェードイ
ン・フェードアウトの動作を示す概念図である。
11 is a conceptual diagram showing a fade-in / fade-out operation in the digital recorder of FIG.

【図12】図1の実施例におけるイベントテーブルの一
例を示した説明図である。
12 is an explanatory diagram showing an example of an event table in the embodiment of FIG.

【図13】図1の実施例におけるオリジナルレコーディ
ングデータのイベントシーケンステーブルの一例を示し
た説明図である。
13 is an explanatory diagram showing an example of an event sequence table of original recording data in the embodiment of FIG.

【図14】ユーザ定義のイベントシーケンステーブルの
一例を示した説明図である。
FIG. 14 is an explanatory diagram showing an example of a user-defined event sequence table.

【図15】カレントデータの一例を示した説明図であ
る。
FIG. 15 is an explanatory diagram showing an example of current data.

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

1 CPU 2 ROM 3 RAM 8−1、8−2、8−3 音声入出力装置 9−1、9−2、9−3 バッファ 10 DMAコントローラ 11 HDコントローラ 12a,12b ハードディスク 13 デコーダ 14、15 アンドゲート 16 インバータ 1 CPU 2 ROM 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 12a, 12b Hard disk 13 Decoder 14, 15 AND gate 16 inverter

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 音声データの入出力動作を行う音声入出
力手段と、 前記音声入出力手段から供給される音声データを記憶す
る音声データ記憶手段と、 前記音声データ記憶手段に記憶された音声データから複
数のイベント情報を形成し、このイベント情報の再生順
序をプログラム制御することでランダムアクセス編集を
行なうコントロール手段と、 前記コントロール手段によって編集されたイベント情報
の境界に対してフェードデータを設定するフェードデー
タ設定手段と、 前記イベント情報の境界の直前または直後のデータブロ
ックのデータを、前記フェードデータ設定手段によって
設定されたフェードデータによってフェード処理して変
更するデータ変更手段とを具備するデジタルレコーダ。
1. An audio input / output unit for performing an input / output operation of audio data, an audio data storage unit for storing audio data supplied from the audio input / output unit, and an audio data stored in the audio data storage unit. A plurality of pieces of event information, and control means for performing random access editing by program-controlling the reproduction order of the event information; and a fade for setting fade data to the boundary of the event information edited by the control means. A digital recorder comprising: a data setting unit; and a data changing unit that changes the data of the data block immediately before or after the boundary of the event information by performing the fade process with the fade data set by the fade data setting unit.
【請求項2】 音声データの入出力動作を行う音声入出
力手段と、 前記音声入出力手段から供給される音声データを記憶す
る音声データ記憶手段と、 前記音声データ記憶手段に記憶された音声データから複
数のイベント情報を形成し、このイベント情報の再生順
序をプログラム制御することでランダムアクセス編集を
行なうコントロール手段と、 前記コントロール手段によってランダムアクセス編集さ
れた音声データの任意の位置に対してフェードデータを
設定するフェードデータ設定手段と、 前記ランダムアクセス編集された音声データの任意の位
置の直前または直後のデータブロックのデータを、前記
フェードデータ設定手段によって設定されたフェードデ
ータによってフェード処理して変更するデータ変更手段
とを具備するデジタルレコーダ。
2. An audio input / output unit for performing an input / output operation of audio data, an audio data storage unit for storing the audio data supplied from the audio input / output unit, and an audio data stored in the audio data storage unit. A plurality of pieces of event information, and control means for performing random access editing by program-controlling the reproduction order of the event information; and fade data for any position of the audio data that is random access edited by the control means. And a fade data setting unit that sets the data in the data block immediately before or after an arbitrary position of the random access edited audio data, and performs a fade process with the fade data set by the fade data setting unit to change the data. Digital equipped with data changing means Coder.
JP32641291A 1991-11-14 1991-11-14 Digital recorder Pending JPH05135548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32641291A JPH05135548A (en) 1991-11-14 1991-11-14 Digital recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32641291A JPH05135548A (en) 1991-11-14 1991-11-14 Digital recorder

Publications (1)

Publication Number Publication Date
JPH05135548A true JPH05135548A (en) 1993-06-01

Family

ID=18187505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32641291A Pending JPH05135548A (en) 1991-11-14 1991-11-14 Digital recorder

Country Status (1)

Country Link
JP (1) JPH05135548A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005041186A1 (en) * 2003-10-24 2005-05-06 Ricoh Company, Ltd. Information recorder and information recording method and recording medium
WO2005045827A1 (en) * 2003-11-11 2005-05-19 Ricoh Company, Ltd. Information recorder, information recording method, and recording medium containing program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005041186A1 (en) * 2003-10-24 2005-05-06 Ricoh Company, Ltd. Information recorder and information recording method and recording medium
WO2005045827A1 (en) * 2003-11-11 2005-05-19 Ricoh Company, Ltd. Information recorder, information recording method, and recording medium containing program
US7613867B2 (en) 2003-11-11 2009-11-03 Ricoh Company, Ltd. Information recording apparatus, information recording method and recording medium recording program

Similar Documents

Publication Publication Date Title
US5303218A (en) Digital recorder for reproducing only required parts of audio signals wherein a plurality of parts of audio signals are stored on a same track of a recording medium
JP3024327B2 (en) Digital recorder
JP3055220B2 (en) Digital recorder
JP3252172B2 (en) Digital recorder
JP2969187B2 (en) Digital recorder
JPH05135548A (en) Digital recorder
JPH04232666A (en) Digital recorder
JP3557818B2 (en) How to manage soft data
JP2916533B2 (en) Digital multi-track recorder
JP3230756B2 (en) Digital recorder
JP3114299B2 (en) Digital recorder
JP3055221B2 (en) Digital recorder
JP3055222B2 (en) Digital recorder
JP3298655B2 (en) Digital recorder
JP3028667B2 (en) Digital recorder
JP2979154B2 (en) Digital recorder
JPH04212767A (en) Digital recorder
JPH04117688A (en) Digital recorder
JPH04369754A (en) Digital recorder
JP3131849B2 (en) Digital recorder
JPH01176383A (en) Disk device
JPH04232684A (en) Digital recorder
JPH0785593A (en) Digital sound recording and reproducing device
JPH06102880A (en) Recording device
JPH03252964A (en) Digital data recording and reproducing device