JPH05120847A - Sound recording and reproducing device - Google Patents

Sound recording and reproducing device

Info

Publication number
JPH05120847A
JPH05120847A JP29574591A JP29574591A JPH05120847A JP H05120847 A JPH05120847 A JP H05120847A JP 29574591 A JP29574591 A JP 29574591A JP 29574591 A JP29574591 A JP 29574591A JP H05120847 A JPH05120847 A JP H05120847A
Authority
JP
Japan
Prior art keywords
channels
hard disk
buffer
magnetic hard
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP29574591A
Other languages
Japanese (ja)
Other versions
JP3267647B2 (en
Inventor
Akira Matsui
朗 松井
Masayuki Saito
征幸 齊藤
Minoru Fujisawa
實 藤澤
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.)
Roland Corp
Original Assignee
Roland Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Roland Corp filed Critical Roland Corp
Priority to JP29574591A priority Critical patent/JP3267647B2/en
Publication of JPH05120847A publication Critical patent/JPH05120847A/en
Application granted granted Critical
Publication of JP3267647B2 publication Critical patent/JP3267647B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PURPOSE:To facilitate a use of the device to suit the performance of a magnetic hard disk device, etc., to be connected with by providing a means for detecting the number of effective channels which can be used at the same time for each other and a means for display. CONSTITUTION:Musical sound waveforms S1-S4 collected by a microphone which is not shown in the figure are inputted up to a max. of four channels at the same time to an input/output circuit 10, and after amplification, they are sampled at each pulse of a fundamental clock signal and are then A/D- converted. Subsequently, generated digital musical sound data is recorded via a buffer circuit 12 to a magnetic hard disk provided in the magnetic hard disk device 14. In this case, a test program is executed after connecting the device 14, and the number of effective channels which can be used at the same time when this device 14 is used is detected and displayed. By this method, what extent the use should be restricted to can easily be discriminated by the user himself or herself, and hence the use can be executed to suit the performance of the connected device 14.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば複数チャンネル
分の楽音を同時に収録して該楽音を表わすディジタルの
楽音情報として磁気ハードディスク等に記録し、該楽音
情報を必要に応じて磁気ハードディスク等から読み出し
て複数チャンネル分同時に出力することのできるディジ
タルオーディオワークステーション等の録音再生装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention, for example, simultaneously records musical tones for a plurality of channels and records them on a magnetic hard disk or the like as digital musical tone information representing the musical tones. The present invention relates to a recording / reproducing apparatus such as a digital audio workstation capable of reading and outputting simultaneously for a plurality of channels.

【0002】[0002]

【従来の技術】従来、例えば4トラックの磁気テープレ
コーダを用いて磁気テープに複数の楽音等を同時に記録
し、必要に応じて再生しながら編集を行ったり、磁気テ
ープ自体を切り貼りして編集を行ったりしていた。しか
しこれでは必要な部分の頭出し等編集の作業が大変であ
るため、近年、入力された例えば4チャンネル分の楽音
等の波形をA/D変換してディジタルの楽音情報として
磁気ハードディスク、光磁気ディスク等に記録するいわ
ゆるディジタルオーディオワークステーションが実用化
されてきている。このディジタルオーディオワークステ
ーションを採用すると、多数の録音データの中から一瞬
にして目的の部分の頭出しができ、さらに編集時におい
ても、従来の磁気テープを切り貼りする代わりにオリジ
ナルデータの中から必要な個所だけを簡単にピックアッ
プすることができ、これにより編集作業が非常に簡単化
されるという長所を有する。
2. Description of the Related Art Conventionally, for example, a four-track magnetic tape recorder is used to record a plurality of musical tones on a magnetic tape at the same time, and the reproduction is performed as necessary, or the magnetic tape itself is cut and pasted for editing. I was going. However, this requires a lot of work for editing the cue of a necessary part, so in recent years, the input waveforms of, for example, four channels of musical tones are A / D converted and converted into digital musical tone information as a magnetic hard disk, a magneto-optical disc. A so-called digital audio workstation for recording on a disc or the like has been put into practical use. When this digital audio workstation is adopted, the target portion can be found out of a large amount of recorded data in an instant, and at the time of editing, instead of cutting and pasting a conventional magnetic tape, it is necessary to use the original data. Only the points can be picked up easily, which has the advantage that the editing work is greatly simplified.

【0003】[0003]

【発明が解決しようとする課題】上記ディジタルオーデ
ィオワークステーションを用いて収録、編集作業を行う
際に、同時に複数の楽音データを入力する必要を生じる
場合があり、したがってディジタルオーディオワークス
テーションを構成する場合は、例えば最大4チャンネル
分の楽音データを同時に収録し、同時に出力できるよう
に構成される。
When performing recording and editing work using the above digital audio workstation, it may be necessary to input a plurality of musical sound data at the same time, and therefore, when configuring a digital audio workstation. Is configured such that, for example, musical sound data for a maximum of 4 channels can be simultaneously recorded and simultaneously output.

【0004】ここで、上記ディジタルオーディオワーク
ステーションを用いて楽音や音声を収録するには、入力
された楽音波形をサンプリングしてディジタルの楽音デ
ータに変換する際に、人間の可聴周波数との関係で例え
ば48kHz等かなりの高速でサンプリングする必要が
あり、これを4チャンネル分同時に入力した場合は単位
時間あたりこの4倍の楽音データが生成されることとな
る。このようにして生成された楽音データは、例えば磁
気ハードディスク等読み書き可能なメモリに記録される
が、この磁気ハードディスク等はこの楽音データが生成
される速度以上の速度で楽音データを記録、再生する性
能を有していることが必要となる。この場合に、性能を
満足する磁気ハードディスク装置等をディジタルオーデ
ィオワークステーションに内蔵して他の磁気ハードディ
スク装置等を使用できないようにすることも考えられる
が、大量の楽音データ等を記録する必要等から他の磁気
ハードディスク装置等を増設できるように構成しておく
ことが好ましく、またディジタルオーディオワークステ
ーション自体には磁気ハードディスクは内蔵せずに、市
販の磁気ハードディスク装置を別途購入して接続できる
ように構成することも考えられる。
Here, in order to record a musical sound or voice by using the above digital audio workstation, when the inputted musical tone waveform is sampled and converted into digital musical tone data, it is related to a human audible frequency. For example, it is necessary to sample at a considerably high speed such as 48 kHz, and when four channels are simultaneously input, four times as much musical tone data is generated per unit time. The musical tone data generated in this manner is recorded in a readable / writable memory such as a magnetic hard disk, and the magnetic hard disk etc. has a performance of recording and reproducing the musical tone data at a speed higher than the speed at which the musical sound data is generated. It is necessary to have In this case, it is conceivable that a magnetic hard disk drive or the like satisfying the performance may be built in the digital audio workstation so that other magnetic hard disk drive or the like cannot be used. It is preferable to configure it so that other magnetic hard disk devices, etc. can be added. Also, a commercially available magnetic hard disk device can be purchased separately and connected without installing a magnetic hard disk in the digital audio workstation itself. It is also possible to do it.

【0005】ここで、市販の磁気ハードディスク等はそ
のアクセスタイムに大きなばらつきがあり、上記性能を
満足しない磁気ハードディスク装置等も数多く市販され
ている。この場合に、磁気ハードディスク装置等の推奨
品を提唱することも考えられるが、ユーザに対しいくら
推奨品を提案しても、既にその推奨品以外の磁気ハード
ディスク装置を入手しているユーザもあり、また価格等
の問題から上記性能を満足しない磁気ハードディスク装
置を購入してしまうユーザもあり、さらに磁気ハードデ
ィスク装置のカタログに記載されている性能と実際の性
能との間に大きな隔たりのある場合もあり、推奨品を列
挙するだけでは必ずしも十分でなく、ユーザに対し不親
切な製品となってしまうこととなる。
Here, the access time of commercially available magnetic hard disks and the like varies greatly, and many magnetic hard disk devices and the like that do not satisfy the above performance are also commercially available. In this case, it is possible to propose recommended products such as magnetic hard disk devices, but no matter how many recommended products are offered to users, some users have already obtained magnetic hard disk devices other than the recommended products. In addition, some users may purchase a magnetic hard disk drive that does not satisfy the above performance due to price issues, and there may be a large gap between the performance listed in the magnetic hard disk drive catalog and the actual performance. It is not always enough to enumerate recommended products, and the product will be unfriendly to the user.

【0006】従来、性能の劣る磁気ハードディスク装置
等を接続した場合に、このことを熟知しているユーザや
ユーザから連絡を受けたメーカでは、使用する磁気ハー
ドディスク装置等に合せてこの磁気ハードディスク装置
に記録する楽音データを一時的に蓄えておくバッファの
大きさや、使用可能なチャンネル数を制限していた。し
かし、ユーザ毎に個別に対処するのは大変であり、ディ
ジタルオーディオワークステーションに関し特に知識の
豊富でないユーザであってもメーカに連絡することなく
対処できるように構成しておくことが望ましい。
Conventionally, when a magnetic hard disk drive or the like having poor performance is connected, a user who knows this well or a maker who receives a notification from the user selects this magnetic hard disk drive according to the magnetic hard disk drive to be used. The size of the buffer for temporarily storing the musical sound data to be recorded and the number of usable channels were limited. However, it is difficult to deal with each user individually, and it is desirable that even a user who is not particularly knowledgeable about the digital audio workstation can deal with it without contacting the manufacturer.

【0007】本発明は、上記事情に鑑み、容易に、接続
された磁気ハードディスク装置等の性能に合った使い方
をすることのできるディジタルオーディオワークステー
ション等の録音再生装置を提供することを目的とする。
In view of the above circumstances, it is an object of the present invention to provide a recording / reproducing apparatus such as a digital audio workstation which can be easily used in accordance with the performance of a connected magnetic hard disk apparatus or the like. ..

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
の本発明の録音再生装置は、複数チャンネルのデータが
互いに同時に入力されてバッファに一時記録された後該
データが該バッファから読み書き可能なメモリに転送さ
れ、また必要に応じて前記メモリに記録されたデータが
バッファに転送された後該データが該バッファから複数
チャンネル分互いに同時に出力される機能を備えた録音
再生装置において、互いに同時に使用することが可能な
有効チャンネル数を検出する検出手段と、前記検出手段
で検出された前記有効チャンネル数を表示する表示手段
とを備えたことを特徴とするものである。
In the recording / reproducing apparatus of the present invention for achieving the above object, data of a plurality of channels are simultaneously input to each other and temporarily recorded in a buffer, and then the data can be read / written from the buffer. Used simultaneously in a recording / reproducing apparatus having a function of transferring data to a memory and, if necessary, data recorded in the memory to a buffer and then simultaneously outputting the data from the buffer for a plurality of channels. It is characterized in that it is provided with a detecting means for detecting the number of effective channels that can be performed, and a display means for displaying the effective channel number detected by the detecting means.

【0009】ここで、上記「表示手段」は、画像として
表示するものに限られず、例えばランプの点灯や点滅で
表示してもよく、また上記有効チャンネル数を越えた数
のチャンネルを使用した場合にブザー音等で表示しても
よく、その表示方法を問うものではない。また、上記表
示手段に代えて、もしくは上記表示手段とともに、上記
有効チャンネル数に基づいて使用可能なチャンネルを制
限する制限手段を備えてもよい。
Here, the "display means" is not limited to displaying as an image, but may be displayed by lighting or blinking a lamp, for example, and when the number of channels exceeding the number of effective channels is used. It may be displayed with a buzzer sound, etc., and the display method does not matter. Further, instead of the display means or together with the display means, a limiting means for limiting usable channels based on the number of effective channels may be provided.

【0010】[0010]

【作用】本発明の録音再生装置は、上記有効チャンネル
数を検出する検出手段を備えているため、この検出手段
で検出された有効チャンネル数を表示することによりユ
ーザ自身でその使用方法をどの程度制限すればよいか容
易に判別でき、接続された磁気ハードディスク装置等の
性能に合った使い方をすることができる。また、上記表
示に代えて、もしくは上記表示とともに、上記検出手段
で検出された有効チャンネル数に基づいて使用可能なチ
ャンネルを制限すると、常に接続された磁気ハードディ
スク装置等の性能に適合した使用方法が採用されること
となり、ユーザの使用方法の選択ミスが防止される。
Since the recording / reproducing apparatus of the present invention is provided with the detecting means for detecting the number of effective channels, the number of effective channels detected by the detecting means is displayed to show how much the user himself / herself uses it. It is possible to easily determine whether or not the limitation should be made, and it is possible to use it according to the performance of the connected magnetic hard disk device or the like. Further, instead of the above display, or together with the above display, if the usable channels are limited based on the number of effective channels detected by the detecting means, a usage method suitable for the performance of the magnetic hard disk device or the like connected at all times is provided. This will be adopted, and the user's mistake in selecting the usage method can be prevented.

【0011】[0011]

【実施例】以下、本発明の実施例について説明する。図
1は、本発明の録音再生装置の一実施例に係るディジタ
ルオーディオワークステーションの概略構成を示したブ
ロック図である。図示しないマイクロフォンで収録され
た楽音波形S1、S2、S3、S4が最大4チャンネル
分同時に入出力回路10に入力され、適切に増幅された
後、繰返し周波数が48kHzの基本クロック信号の各
パルス毎にサンプリングされA/D変換される。この入
出力回路10で生成されたディジタルの楽音データは、
1データあたり、本実施例では16ビットで構成されて
おり、バッファ回路12を経由して磁気ハードディスク
装置14に備えられた磁気ハードディスクに記録され
る。
EXAMPLES Examples of the present invention will be described below. FIG. 1 is a block diagram showing a schematic configuration of a digital audio workstation according to an embodiment of a recording / reproducing apparatus of the present invention. Musical sound waveforms S1, S2, S3, and S4 recorded by a microphone (not shown) are simultaneously input to the input / output circuit 10 for a maximum of four channels and appropriately amplified, and then, at each pulse of the basic clock signal having a repetition frequency of 48 kHz. It is sampled and A / D converted. The digital tone data generated by this input / output circuit 10 is
In this embodiment, each data is composed of 16 bits and is recorded on the magnetic hard disk provided in the magnetic hard disk device 14 via the buffer circuit 12.

【0012】図2は、バッファ回路12中のバッファ構
造の一例を示した図である。ここでは、4つの各チャン
ネルA,B,C,Dのそれぞれについて128キロバイ
トのバッファが2つずつ用意されており、1つのチャン
ネルのみを用いる場合はチャンネルDが用いられ、この
チャンネルDに対応するバッファBD0、BD1が用い
られる。また2チャンネル、3チャンネル、4チャンネ
ルを同時に用いる場合は、それぞれチャンネルC,Dに
対応するバッファBC0,BC1;BD0,BD1、チ
ャンネルB,C,Dに対応するバッファBB0,BB
1;BC0,BC1;BD0,BD1、チャンネルA,
B,C,Dに対応するバッファBA0,BA1;BB
0,BB1;BC0,BC1;BD0,BD1が用いら
れる。
FIG. 2 is a diagram showing an example of a buffer structure in the buffer circuit 12. Here, two 128-kilobyte buffers are prepared for each of the four channels A, B, C, and D, and when only one channel is used, the channel D is used and corresponds to this channel D. The buffers BD0 and BD1 are used. When two channels, three channels and four channels are used simultaneously, buffers BC0 and BC1 corresponding to channels C and D respectively; BD0 and BD1 and buffers BB0 and BB corresponding to channels B, C and D respectively.
1; BC0, BC1; BD0, BD1, channel A,
Buffers BA0, BA1; BB corresponding to B, C, D
0, BB1; BC0, BC1; BD0, BD1 are used.

【0013】ここで例えば4チャンネル同時に用いる場
合は、先ず各チャンネルA,B,C,Dに対応する各第
1バッファBA0,BB0,BC0,BD0に楽音デー
タが蓄積され、各第1バッファBA0,BB0,BC
0,BD0に128キロバイト分の楽音データが蓄積さ
れると、その後の楽音データは各第2バッファBA1,
BB1,BC1,BD1に蓄積されるとともに、チャン
ネルA,チャンネルB,チャンネルC,チャンネルDの
順に各第1バッファBA0,BB0,BC0,BD0内
に蓄積された楽音データが磁気ハードディスク装置14
中の磁気ハードディスクに転送され記録される。
When four channels are used simultaneously, for example, the musical tone data is first accumulated in the first buffers BA0, BB0, BC0, BD0 corresponding to the respective channels A, B, C, D, and the first buffers BA0, BA0, BB0, BC
When 128 kilobytes of musical tone data is accumulated in 0 and BD0, the subsequent musical tone data is stored in each second buffer BA1,
The musical sound data stored in the first buffers BA0, BB0, BC0, BD0 in the order of channel A, channel B, channel C, channel D while being stored in BB1, BC1, BD1 are magnetic hard disk drive 14
It is transferred to and recorded on the magnetic hard disk inside.

【0014】またその後各チャンネルA,B,C,Dに
対応する各第2バッファBA1,BB,BC1,BD1
に楽音データが128キロバイト分蓄積されると、その
後の楽音データは各第1バッファBA0,BB0,BC
0,BD0に蓄積されるとともに、チャンネルA,B,
C,Dの順に各第2バッファBA1,BB1,BC1,
BD1内に蓄積された楽音データが磁気ハードディスク
に転送され記録される。このように各第1バッファBA
0,BB0,BC0,BD0と各第2バッファBA1,
BB1,BC1,BD1は交互に使用される。
Further, thereafter, the respective second buffers BA1, BB, BC1, BD1 corresponding to the respective channels A, B, C, D.
When 128 kilobytes of musical sound data is accumulated in each, the musical sound data after that is stored in each of the first buffers BA0, BB0, BC.
0, BD0, while being stored in channels A, B,
Second buffers BA1, BB1, BC1, in the order of C and D
The musical sound data accumulated in the BD 1 is transferred to and recorded on the magnetic hard disk. Thus each first buffer BA
0, BB0, BC0, BD0 and each second buffer BA1,
BB1, BC1 and BD1 are used alternately.

【0015】また、磁気ハードディスク中に記録された
楽音データを、例えば4チャンネル同時に外部に取り出
すには、バッファ回路12中の第1バッファBA0,B
B0,BC0,BD0に、チャンネルD(バッファBD
0),チャンネルC(バッファBC0),チャンネルB
(バッファBB0),チャンネルA(バッファBA0)
の順に楽音データが読み出され、その後各第1バッファ
BA0,BB0,BC0,BD0に読み出された各楽音
データが、入出力回路10でD/A変換されて互いに同
時に外部に出力され、またこれと同時に各第2バッファ
BA1,BB1,BC1,BD1にチャンネルD,チャ
ンネルC,チャンネルB,チャンネルAの順に、各第1
バッファBA0,BB0,BC0,BD0に読み出され
た楽音データに引き続く楽音データが読み出される。
To take out the tone data recorded in the magnetic hard disk to the outside of, for example, four channels at the same time, the first buffers BA0, B0 in the buffer circuit 12 are to be taken out.
B0, BC0, BD0, channel D (buffer BD
0), channel C (buffer BC0), channel B
(Buffer BB0), channel A (buffer BA0)
The tone data is read in this order, and then the tone data read into the first buffers BA0, BB0, BC0, BD0 are D / A converted by the input / output circuit 10 and simultaneously output to the outside. At the same time, the first buffers in the second buffers BA1, BB1, BC1, BD1 in the order of channel D, channel C, channel B, and channel A, respectively.
The tone data that follows the tone data read in the buffers BA0, BB0, BC0, BD0 is read.

【0016】ここで、接続された磁気ハードディスク装
置のアクセスタイムによっては、上記のように4チャン
ネル同時に収録、あるいは出力することができない場合
が生じる。そこで本実施例では、磁気ハードディスク装
置が接続された後にテストプログラムが実行され、これ
によりその磁気ハードディスク装置を用いた場合に同時
に使用することが可能な有効チャンネル数が検出されて
表示される。
Here, depending on the access time of the connected magnetic hard disk device, there may be a case where it is not possible to simultaneously record or output four channels as described above. Therefore, in the present embodiment, the test program is executed after the magnetic hard disk device is connected, whereby the number of effective channels that can be simultaneously used when the magnetic hard disk device is used is detected and displayed.

【0017】図3は、上記有効チャンネル数を検出、表
示するためのプログラムの一例を表わすフローチャート
である。このプログラムがスタートすると、先ずメモリ
領域TCHNに仮の有効チャンネル数として2が入力さ
れ(ステップ(a))、このディジタルオーディオワー
クステーション全体が2チャンネル分のデータを同時に
取り扱う状態に設定される(ステップ(b))。
FIG. 3 is a flowchart showing an example of a program for detecting and displaying the number of effective channels. When this program starts, first, 2 is input to the memory area TCHN as the number of temporary effective channels (step (a)), and the entire digital audio workstation is set to a state in which data for two channels are simultaneously handled (step). (B)).

【0018】次にステップ(c)において、以下のよう
にして2チャンネル同時稼動の場合のバッファの占有度
MARGが検出される。即ち、実際の楽音データのサン
プリング速度、データ長と同一のサンプリング速度、デ
ータ長をもつ模擬データが2チャンネル分生成されて、
図2に示すチャンネルC,Dの各第1バッファBC0,
BD0に入力され、各第1バッファBC0,BD0が満
杯となるとそれに引き続く楽音データが各第2バッファ
BC1,BD1に入力されるとともに、各第1バッファ
BC0,BD0に蓄積された楽音データが、チャンネル
C(バッファBC0)チャンネルD(バッファBD0)
の順に磁気ハードディスクに転送される。このとき、バ
ッファBC0に蓄積された楽音データの磁気ハードディ
スクへの転送が完了したタイミングで磁気ハードディス
ク装置12から書込終了信号が発せられ、この書込終了
信号を受け取った時点で、チャンネルCのバッファBC
1のどこまで楽音データが記録されているかを示すライ
トポインタWPTC(図2参照)が参照され、式 MARGC =2×WPTC/(128×1024) …(1) に従ってチャンネルCに対する占有度MARGC が算出
される。尚、この(1)式中では、簡単のため、ライト
ポインタWPTCと同一の記号が用いられているが、こ
の(1)中のWPTCは、図2に示すように、バッファ
BC1の先頭からの長さ(バイト数)を意味している。
以下、WPTA,WPTB,WPTD等についても同様
にライトポインタ自体とともに各バッファの先頭からの
バイト数をも意味するものとする。また、上記(1)式
の分子の’2’は、ここではTCHN=2、即ちCチャ
ンネルとDチャンネルの2チャンネルが同時に用いられ
ており、したがってCチャンネルに対応する楽音データ
を先に転送した後Dチャンネルに対応する楽音データも
転送する必要があるためである。また分母の128×1
024は1つのバッファの大きさ(128キロバイト)
を表わしている。ここでMARGC の値が小さいほど磁
気ハードディスク装置14のアクセスタイムが短く、し
たがって占有度が高いことを表わしている。
Next, in step (c), the buffer occupancy MARG in the case of simultaneous operation of two channels is detected as follows. That is, two channels of simulated data having the actual sampling rate of musical tone data, the same sampling rate as the data length, and the data length are generated,
Each of the first buffers BC0 of channels C and D shown in FIG.
When the first buffers BC0 and BD0 are filled to BD0, the subsequent tone data are input to the second buffers BC1 and BD1, and the tone data stored in the first buffers BC0 and BD0 are input to the channels. C (buffer BC0) Channel D (buffer BD0)
Are transferred to the magnetic hard disk in this order. At this time, a write end signal is issued from the magnetic hard disk device 12 at the timing when the transfer of the musical sound data accumulated in the buffer BC0 to the magnetic hard disk is completed, and when the write end signal is received, the buffer of the channel C is BC
The write pointer WPTC (see FIG. 2) indicating how much of the musical sound data is recorded in 1 is referred to, and the occupancy MARG C for the channel C is calculated according to the expression MARG C = 2 × WPTC / (128 × 1024) (1) Is calculated. For simplicity, the same symbol as the write pointer WPTC is used in the formula (1), but the WPTC in the formula (1) is from the beginning of the buffer BC1 as shown in FIG. It means the length (number of bytes).
Hereinafter, WPTA, WPTB, WPTD, etc. also mean the write pointer itself and the number of bytes from the head of each buffer. Further, in the numerator '2' of the above formula (1), TCHN = 2, that is, two channels of C channel and D channel are used at the same time, and therefore the musical tone data corresponding to the C channel is transferred first. This is because it is also necessary to transfer the musical sound data corresponding to the rear D channel. 128 × 1 of denominator
024 is the size of one buffer (128 kilobytes)
Is represented. Wherein as the value of MARG C is small magnetic hard disk device 14 of the access time represents the short, thus the high occupancy.

【0019】また、チャンネルDに関するライトポイン
タWPTDを用いて、以下の式 MARGD =WPTD/(128×1024) …(2) に従ってチャンネルDに対する占有度MARGD も算出
され、ここでは、これら2つの占有度MARGC ,MA
RGD のうちの大きい方が占有度MARGとして採用さ
れる。
Also, using the write pointer WPTD for channel D, the occupancy MARG D for channel D is also calculated according to the following expression: MARG D = WPTD / (128 × 1024) (2). Occupancy MARG C , MA
The larger one of RG D is adopted as the occupancy MARG.

【0020】ステップ(c)において上記のようにして
占有度MARGが求められると、次にステップ(d)に
おいてこの占有度MARGに基づいて仮の有効チャンネ
ル数が再設定される。即ち、ここでは20%余裕をみて
80%を限度と考え、占有度MARGが MARG≦0.4 …(3) 0.4<MARG≦(1.6/3) …(4) 1.6/3<MARG≦0.8 …(5) 0.8<MARG≦1.6 …(6) 1.6<MARG …(7) に分類され、それぞれ有効チャンネル数TCHNに4,
3,2,1,0が設定される(ステップ(e))。
When the occupancy MARG is obtained as described above in step (c), the provisional number of effective channels is reset based on this occupancy MARG in step (d). That is, here, with a 20% allowance, 80% is considered as the limit, and the occupancy MARG is MARG ≦ 0.4 (3) 0.4 <MARG ≦ (1.6 / 3) (4) 1.6 / 3 <Marg ≦ 0.8 (5) 0.8 <Marg ≦ 1.6 (6) 1.6 <Marg (7), and the effective channel number TCHN is 4, respectively.
3, 2, 1, 0 are set (step (e)).

【0021】その後上記のようにして設定された有効チ
ャンネル数TCHNの検証が行われるが、有効チャンネ
ル数TCHNが0に設定された場合は検証を行う必要は
ないためステップ(m)に進み、図示しない液晶表示パ
ネルに、有効チャンネル数TCHNが0である旨、即ち
接続された磁気ハードディスク装置はチャンネル1つ分
処理するだけの能力もなく使用できない旨表示される。
After that, the number of effective channels TCHN set as described above is verified. However, when the number of effective channels TCHN is set to 0, it is not necessary to perform the verification, so the process proceeds to step (m), and the figure is shown. On the liquid crystal display panel, it is displayed that the number of effective channels TCHN is 0, that is, the connected magnetic hard disk device cannot be used without the ability to process one channel.

【0022】ステップ(e)において仮の有効チャンネ
ル数TCHNとして1〜4のいずれかが設定されると、
このディジタルオーディオワークステーションがTCH
Nチャンネル分のデータを並行して取扱う状態に設定さ
れ(ステップ(f))、上記と同様にして占有度MAR
Gの検出が行われる(ステップ(g))。即ち、このス
テップ(g)においては、 (A)有効チャンネル数TCHNが1のときは、チャン
ネルDのみが用いられ、チャンネルDに対応するライト
ポインタをWPTDとしたとき、式 MARG=WPTD/(128×1024) …(8) により占有度MARGが求められ、 (B)有効チャンネル数TCHNが2のときは、チャン
ネルC,Dが用いられ、チャンネルC,チャンネルDの
順にアクセスされるため、チャンネルC,Dに対応する
各ライトポインタをそれぞれWPTC,WPTDとした
とき、各式 MARGC =2×WPTC/(128×1024) …(9) MARGD =WPTD/(128×1024) …(10) により各チャンネルC,Dに対する各占有度MARG
C ,MARGD が求められてそれらのうちの大きな方が
占有度MARGとされ、 (C)有効チャンネル数TCHNが3のときは、チャン
ネルB,C,Dが用いられ、チャンネルB,チャンネル
C,チャンネルDの順にアクセスされるため、チャンネ
ルB,C,Dに対応する各ライトポインタをそれぞれW
PTB,WPTC,WPTDとしたとき、各式 MARGB =3×WPTB/(128×1024) …(11) MARGC =(3/2)×WPTC/(128×1024)…(12) MARGD =WPTD/(128×1024) …(13) により各チャンネルB,C,Dに対する各占有度MAR
B ,MARGC ,MARGD が求められ、そのうちの
最大のものが占有度MARGとされ、 (D)有効チャンネル数TCHNが4のときは、全チャ
ンネルA,B,C,Dが用いられ、チャンネルA,B,
C,Dの順にアクセスされるため、各チャンネルに対す
る各ライトポインタをそれぞれWPTA,WPTB,W
PTC,WPTDとしたとき、各式 MARGA =4×WPTA/(128×1024) …(14) MARGB =2×WPTB/(128×1024) …(15) MARGC =(4/3)×WPTC/(128×1024)…(16) MARGD =WPTD/(128×1024) …(17) により、各チャンネルA,B,C,Dに対する各占有度
MARGA ,MARGB,MARGC ,MARGD が求
められ、そのうちの最大のものが占有度MARGとして
求められる。
When any one of 1 to 4 is set as the provisional effective channel number TCHN in step (e),
This digital audio workstation is TCH
The data for N channels are set in parallel (step (f)), and the occupancy MAR is set in the same manner as above.
G is detected (step (g)). That is, in this step (g), (A) When the number of effective channels TCHN is 1, only channel D is used, and when the write pointer corresponding to channel D is WPTD, the expression MARG = WPTD / (128 X1024) The occupancy MARG is obtained by (8). (B) When the number of effective channels TCHN is 2, channels C and D are used and channel C and channel D are accessed in this order, so channel C , D when the write pointers corresponding to D and WPTC are WPTC and WPTD, respectively, according to the following equations, MARG C = 2 × WPTC / (128 × 1024) (9) MARG D = WPTD / (128 × 1024) (10) Occupancy MARK for each channel C, D
C , MARG D is obtained, and the larger one of them is taken as the occupancy MARG. (C) When the number of effective channels TCHN is 3, channels B, C, D are used, and channels B, C, Since the access is made in the order of the channel D, the write pointers corresponding to the channels B, C and D are respectively set to W.
When PTB, WPTC, and WPTD are used, each expression MARG B = 3 × WPTB / (128 × 1024) (11) MARG C = (3/2) × WPTC / (128 × 1024) (12) MARG D = WPTD / (128 × 1024) (13) The occupancy MAR for each channel B, C, D
G B , MARG C , MARG D are obtained, and the maximum one of them is taken as the occupancy MARG. (D) When the number of effective channels TCHN is 4, all channels A, B, C, D are used, Channel A, B,
Since access is made in the order of C and D, the write pointers for the respective channels are set to WPTA, WPTB, W, respectively.
When PTC and WPTD are used, each expression MARG A = 4 × WPTA / (128 × 1024) (14) MARG B = 2 × WPTB / (128 × 1024) (15) MARG C = (4/3) × WPTC / (128 × 1024) ... (16) MARG D = WPTD / (128 × 1024) (17) As a result, the occupancy degrees MARG A , MARG B , MARG C , and MARG for the channels A, B, C, and D are obtained. D is obtained, and the largest one is obtained as the occupancy MARG.

【0023】このようにして、ステップ(g)におい
て、ステップ(e)で再設定された有効チャンネル数T
CHNに対する占有度MARGが求められると、ステッ
プ(hにおいて、 MARG≦0.95 …(18) を満足するか否かが判定され、この占有度MARGがあ
まりに1.00(余裕なし)に近いかそれを越える場合
(0.95を越える場合)は、有効チャンネル数TCH
Nが1だけ減じられる(ステップ(i))。その後、有
効チャンネル数TCHNが1以上であるか0であるかが
判定され、0の場合はステップ(m)に進んで接続され
ている磁気ハードディスク装置が使用不可能である旨表
示され、有効チャンネル数TCHNが1以上の場合は、
ステップ(k)に進んで、磁気ディスク全面にテスト用
の書込みを行ったか否かが判定され、全面に書込みが行
われたときは書込みテストが終了したため仮に定めた有
効チャンネル数TCHNが確定し、接続された磁気ハー
ドディスク装置を用いた場合、4チャンネルのうちのい
くつのチャンネルを同時に用いることができるかが表示
される(ステップ(m))。
In this way, in step (g), the number of effective channels T reset in step (e) is set.
When the occupancy MARG with respect to the CHN is obtained, it is determined whether or not step (MARG ≦ 0.95 (18) is satisfied in h), and whether the occupancy MARG is too close to 1.00 (no margin). If it exceeds (when it exceeds 0.95), the number of effective channels TCH
N is decremented by 1 (step (i)). After that, it is determined whether the number of valid channels TCHN is 1 or more or 0, and if it is 0, the process proceeds to step (m), it is displayed that the connected magnetic hard disk device is unusable, and the valid channel is displayed. If the number TCHN is 1 or more,
Proceeding to step (k), it is judged whether or not the test writing has been performed on the entire surface of the magnetic disk. When the writing has been performed on the entire surface, the writing test is completed and the provisionally determined effective channel number TCHN is determined. When using the connected magnetic hard disk device, it is displayed how many channels out of the four channels can be used simultaneously (step (m)).

【0024】またステップ(k)において磁気ハードデ
ィスクへのテスト用の書込みが満了していない場合は、
ステップ(l)に進み、ステップ(i)を経由したか否
か、即ち仮の有効チャンネル数TCHNが1だけデクリ
メントされたかが判断され、仮の有効チャンネル数TC
HNがもとのままの場合はステップ(g)に進み、その
チャンネル数TCHNのまま次の書込みが行われ、この
書込みの際の占有度が求められる。また仮の有効チャン
ネル数TCHNが変更されていたときは、ステップ
(f)に進んでその変更された有効チャンネル数TCH
Nに適合するように状態設定がなされた後ステップ
(g)に進んでその減少された有効チャンネル数に対す
る占有度MARGが求められる。
If the writing for the test to the magnetic hard disk is not completed in step (k),
Proceeding to step (l), it is judged whether or not step (i) has been passed, that is, whether the provisional effective channel number TCHN has been decremented by 1, and the provisional effective channel number TC
When the HN remains unchanged, the process proceeds to step (g), the next writing is performed with the number of channels TCHN, and the degree of occupancy at this writing is obtained. If the provisional effective channel number TCHN has been changed, the process proceeds to step (f), and the changed effective channel number TCHN.
After the state is set to match N, the process proceeds to step (g), and the occupancy MARG for the reduced effective channel number is obtained.

【0025】以上のようにして最終的に求められた有効
チャンネル数TCHNを表示することにより(ステップ
(m))、接続された磁気ハードディスク装置を用いた
場合、最大4チャンネルのうち何チャンネルを同時に使
用することが可能かがオペレータに認識され、これによ
り、オペレータは、その接続された磁気ハードディスク
装置に適合した使い方をすることができる。
By displaying the number of effective channels TCHN finally obtained as described above (step (m)), when the connected magnetic hard disk drive is used, how many channels out of the maximum four channels can be simultaneously displayed. It is recognized by the operator whether or not it can be used, so that the operator can use the magnetic hard disk drive connected to the operator in a suitable manner.

【0026】ここで、上記実施例は上記のようにして求
められた有効チャンネル数TCHNを表示する例である
が、この表示とともに、もしくはこの表示に代えて、例
えば使用可能なチャンネル以外のチャンネルから楽音デ
ータが入力された際に警告音を発する等、自動的に使用
可能なチャンネルを制限してもよい。また、上記実施例
は、接続された磁気ハードディスクにテストデータを順
次書き込むことによりその使用可能なチャンネル数を求
めた例であるが、磁気ハードディスク上の散在した位置
にデータを書き込む際はアクセスタイムが長いことが知
られており、上記テストプログラム(図3参照)による
テストに加え、テスト用データを磁気ディスク上の散在
した位置に書き込むテストを行い、これにより一層確実
に有効チャンネル数の検出を行うようにしてもよい。
The above embodiment is an example in which the number of effective channels TCHN obtained as described above is displayed. However, in addition to or instead of this display, for example, from channels other than usable channels, Channels that can be automatically used may be limited, such as issuing a warning sound when musical tone data is input. The above embodiment is an example in which the number of usable channels is obtained by sequentially writing the test data to the connected magnetic hard disks. However, when writing the data to the scattered positions on the magnetic hard disk, the access time is It is known to be long, and in addition to the test by the above-mentioned test program (see FIG. 3), a test for writing the test data to the scattered positions on the magnetic disk is performed, and thereby the number of effective channels is detected more reliably. You may do it.

【0027】さらに上記実施例では、図3に示すテスト
プログラムを実行させて有効チャンネル数を表示させて
いるが、この有効チャンネル数の表示等に代え、もしく
はこの有効チャンネル数の表示等とともに、バッファの
占有度MARG、もしくは余裕度(1.00−占有度)
を表示し、これによりオペレータに使用方法を判断させ
るように構成してもよい。またこの占有度MARGもし
くは余裕度の表示は、図3に示すテストプログラムを実
行させる際であってもよいが、実際の楽音データの収
録、再生の際に占有度MARGのモニタを行い、この占
有度MARGを表示させたり、占有度MARGの値が大
きくなった場合(余裕が少ないあるいは余裕がない場
合)に警告を発するようにしてもよい。
Further, in the above embodiment, the test program shown in FIG. 3 is executed to display the number of effective channels. However, instead of displaying the number of effective channels, or together with displaying the number of effective channels, a buffer is displayed. Occupancy MARG or margin (1.00-occupancy)
May be displayed so that the operator can determine the usage method. The display of the occupancy MARG or the margin may be performed when the test program shown in FIG. 3 is executed, but the occupancy MARG is monitored at the time of actual recording and reproduction of musical sound data, and the occupancy MARG is displayed. Degree MARG may be displayed, or a warning may be issued when the value of the occupancy degree MARG becomes large (when the margin is small or there is no margin).

【0028】また、上記実施例では、テストデータの書
込みの際中にエラーが生じた場合については言及されて
いないが、この場合には、例えば図3に示すフローを再
度行ってもよい。また上記実施例は、磁気ハードディス
クにテストデータを書込むことにより占有度MARG、
有効チャンネル数TCHNの検出を行っているが、これ
に代えて、もしくはこれとともに、磁気ハードディスク
からデータを読み出す際に占有度、有効チャンネル数を
検出してもよい。
Further, although the above embodiment does not mention the case where an error occurs during the writing of the test data, in this case, for example, the flow shown in FIG. 3 may be performed again. Further, in the above embodiment, the occupancy degree MARG, by writing the test data in the magnetic hard disk,
Although the number of effective channels TCHN is detected, the occupancy and the number of effective channels may be detected instead of or together with this when reading data from the magnetic hard disk.

【0029】このデータの読み出しの際の占有度、有効
チャンネル数を検出するには、図3に示すフローのステ
ップ(c)、ステップ(g)において、例えば仮の有効
チャンネル数TCHNが2の場合に、磁気ハードディス
ク装置14からまず図2に示すチャンネルD、チャンネ
ルCの順に各第1バッファBD0,BC0にデータが転
送され、この各第1バッファBD0,BC0に転送され
たデータを外部に出力するとともに、上記転送に引き続
き、先ずチャンネルDの第2バッファBD1にデータが
転送され(この転送が完了したときの第1バッファBD
0のリードポイントをRPTDとする)、次にチャンネ
ルCの第2バッファBC1にデータが転送される(この
転送が完了したときの第1バッファBC0のリードポイ
ントをRPTCとする)。このときに各式 MARGD =2×RPTD/(128×1024) …(19) MARGC =RPTC/(128×1024) …(20) により各チャンネルC,D毎の占有度MARGD ,MA
RGCが求められ、これらの各占有度MARGD ,MA
RGC のうちの大きい方が占有度MARGとされる。ス
テップ(g)における仮の有効チャンネル数TCHNが
2以外の場合も、上記と同様に演算されるが、自明であ
るためここではこれ以上の詳細な説明は省略する。
To detect the degree of occupancy and the number of effective channels at the time of reading this data, for example, when the provisional number of effective channels TCHN is 2 in steps (c) and (g) of the flow shown in FIG. First, the data is transferred from the magnetic hard disk device 14 to the first buffers BD0 and BC0 in order of the channel D and the channel C shown in FIG. 2, and the data transferred to the first buffers BD0 and BC0 is output to the outside. Simultaneously with the above transfer, data is first transferred to the second buffer BD1 of the channel D (the first buffer BD when this transfer is completed).
The read point of 0 is RPTD), and then the data is transferred to the second buffer BC1 of the channel C (the read point of the first buffer BC0 when this transfer is completed is RPTC). At this time, the occupancy degree MARG D , MA for each channel C, D is obtained by each equation: MARG D = 2 × RPTD / (128 × 1024) (19) MARG C = RPTC / (128 × 1024) (20)
RG C is obtained, and these occupancies MARG D , MA
The larger one of RG C is set as the occupancy MARG. When the provisional number of effective channels TCHN in step (g) is other than 2, the calculation is performed in the same manner as above, but since it is self-explanatory, further detailed description is omitted here.

【0030】次に、図3に示すステップ(c)におけ
る、2チャンネル同時稼動の場合の占有度MARGの検
出方法の他の例について説明する。実際の楽音データの
サンプリング速度、データ長と同一のサンプリング速
度、データ長をもつ模擬データが2チャンネル分生成さ
れて、図2に示すチャンネルC,Dの各第1バッファB
C0,BD0に入力され、各第1バッファBC0,BD
0が満杯になるとそれに引き続く楽音データが各第2バ
ッファ回路BC1,BD1に入力されるとともに、各第
1バッファBC0,BD0に蓄積された楽音データが、
チャンネルC(バッファBC0)、チャンネルD(バッ
ファBD0)の順に磁気ハードディスクに転送される。
このとき、バッファBC0,BD0に蓄積された楽音デ
ータを磁気ハードディスクへ書込むのに要する時間、言
い換えればバッファBC0,BD0に蓄積された楽音デ
ータの磁気ハードディスクへの転送時間(或いは磁気ハ
ードディスクをアクセスしている時間)を計測し、書込
時間WRTMとする。次に書込時間WRTMを各バッフ
ァに楽音データを記録するのに要する時間で除算して占
有度MARGとする。例えば1msec毎にクロックを
発生するタイマとそのクロックを受入れて計数するカウ
ンタを用意し、バッファBC0に蓄積された楽音データ
の磁気ハードディスクへの転送開始時にカウンタをクリ
ヤし、クリヤ後カウンタのゲートを開いて計数を開始す
る。バッファBC0に蓄積された楽音データの磁気ハー
ドディスクへの転送が完了したタイミングで磁気ハード
ディスク装置12から書込終了信号が発せられ、この書
込終了信号を受け取った時点で、一旦カウンタのゲート
を閉じて計数を中断する。次いでバッファBD0に蓄積
された楽音データの磁気ハードディスクへの転送開始時
にカウンタのゲートを開いて計数を再開する。バッファ
BD0に蓄積された楽音データの磁気ハードディスクへ
の転送が完了したタイミングで磁気ハードディスク装置
12から書込終了信号が発せられ、この書込終了信号を
受け取った時点でカウンタのゲートを閉じて計数を終了
する。次いでカウンタの値を読み込み、この読み込んだ
値を書込時間WRTMとする。さらに次式により占有度
MARGを算出する。
Next, another example of the method of detecting the occupancy MARG in the case of simultaneous operation of two channels in step (c) shown in FIG. 3 will be described. Simulated data having the same sampling speed and sampling length of the actual tone data and the sampling length and the data length are generated for two channels, and the first buffers B of the channels C and D shown in FIG. 2 are generated.
C0 and BD0 are input to the first buffers BC0 and BD.
When 0 is full, the subsequent tone data is input to the respective second buffer circuits BC1 and BD1 and the tone data accumulated in the respective first buffers BC0 and BD0
The channel C (buffer BC0) and the channel D (buffer BD0) are sequentially transferred to the magnetic hard disk.
At this time, the time required to write the musical sound data stored in the buffers BC0 and BD0 to the magnetic hard disk, in other words, the transfer time of the musical sound data stored in the buffers BC0 and BD0 to the magnetic hard disk (or access to the magnetic hard disk). The writing time WRTM is measured. Next, the writing time WRTM is divided by the time required to record the musical sound data in each buffer to obtain the occupancy MARG. For example, a timer that generates a clock every 1 msec and a counter that receives and counts the clock are prepared, the counter is cleared at the start of the transfer of the musical sound data accumulated in the buffer BC0 to the magnetic hard disk, and the gate of the counter is opened after the clear. To start counting. At the timing when the transfer of the musical sound data stored in the buffer BC0 to the magnetic hard disk is completed, a write end signal is issued from the magnetic hard disk device 12, and when the write end signal is received, the gate of the counter is temporarily closed. Stop counting. Then, when the transfer of the musical sound data accumulated in the buffer BD0 to the magnetic hard disk is started, the gate of the counter is opened and the counting is restarted. At the timing when the transfer of the musical sound data accumulated in the buffer BD0 to the magnetic hard disk is completed, a write end signal is issued from the magnetic hard disk device 12, and when the write end signal is received, the gate of the counter is closed and counting is performed. finish. Next, the value of the counter is read, and this read value is set as the writing time WRTM. Further, the occupancy MARG is calculated by the following equation.

【0031】 MARG=WRTM/((128×1024)/(2*48000)) …(21) ここで(128×1024)/(2*48000)(約
1.365秒)は各バッファに楽音データを録音するの
に要する時間である。このようにして、占有度を、バッ
ファに楽音データを録音する時間に占める磁気ハードデ
ィスクへの転送時間の総和の割合で表わしてもよい。
MARG = WRTM / ((128 × 1024) / (2 * 48000)) (21) Here, (128 × 1024) / (2 * 48000) (about 1.365 seconds) is musical tone data in each buffer. Is the time it takes to record. In this way, the occupancy may be represented by the ratio of the total transfer time to the magnetic hard disk in the time to record the musical sound data in the buffer.

【0032】また、図2に示すステップ(g)において
も同様であり、占有度MARGを求めるにあたり、ライ
トポインタWPTA,WPTB,WPTC,WPTCを
参照する代わりに、バッファに蓄積された楽音データの
磁気ハードディスクへの転送中の時間を計測して書込時
間WRTMとし、書込時間WRTMを録音に要する時間
で除算して占有度MARGとしてもよい。
Also in step (g) shown in FIG. 2, the same is true, and in obtaining the occupancy MARG, instead of referring to the write pointers WPTA, WPTB, WPTC and WPTC, the magnetic field of the musical tone data stored in the buffer is read. It is also possible to measure the time during transfer to the hard disk to obtain the write time WRTM, and divide the write time WRTM by the time required for recording to obtain the occupancy MARG.

【0033】さらに実際の楽音データの収録、再生の際
に行う占有度MARGのモニタについても上記と同様の
検出方法を採用しても良く、楽音データの読出しの際の
占有度MARGの検出について上記と同様の検出方法を
採用してもよい。なお、磁気ハードディスク中に記録さ
れた楽音データを、例えば4チャンネル同時に外部に取
り出す場合に、磁気ハードディスクからバッファ回路1
2への楽音データの読出しを上記実施例ではチャンネル
D,チャンネルC,チャンネルB,チャンネルAの順と
したが、その読出し順を次のように変更すると楽音デー
タを所望の読出し開始位置から取り出すことができる。
Further, the same detection method as described above may be adopted for the monitor of the occupancy MARG when recording and reproducing the actual tone data, and the occupancy MARG is detected when the tone data is read. A detection method similar to the above may be adopted. It should be noted that when the musical tone data recorded in the magnetic hard disk is taken out to the outside of, for example, four channels at the same time, the buffer circuit 1 from the magnetic hard disk
In the above-mentioned embodiment, the reading of the musical tone data to No. 2 is performed in the order of the channel D, the channel C, the channel B, and the channel A. However, if the reading order is changed as follows, the musical tone data can be taken out from the desired reading start position. You can

【0034】すなわち、取出しに先立ち所望の読出開始
位置を含む128キロバイトの楽音データを各第1バッ
ファに、それに引続く楽音データを第2バッファに順次
読み込む。全てのバッファに楽音データを読み込むと、
各チャンネルA,B,C,Dに対応する各バッファの所
望の開始位置に対応するアドレスから楽音取出しを開始
し、第1バッファの取出しを終了すると第2バッファの
取出しを開始する。また第1バッファの取出しを終了し
たチャンネルは第1バッファ回路の取出しを終了した順
に第2バッファに読み込んだ楽音データに続く新たな楽
音データを第1バッファに読み込む。第2バッファの取
出しを終えると同様に第1バッファの楽音データを取出
すとともに第2バッファに楽音データを読み込む。以下
同様に循環的に繰返す。このような場合には占有度は例
えば次のようにして求められる。
That is, 128 kilobytes of musical sound data including a desired read start position is sequentially read into each first buffer and subsequent musical sound data is sequentially read into the second buffer before being taken out. When the musical sound data is read in all the buffers,
The tone extraction starts from the address corresponding to the desired start position of each buffer corresponding to each channel A, B, C, D, and when the extraction of the first buffer ends, the extraction of the second buffer starts. Further, the channel for which the taking out of the first buffer is finished reads new musical tone data subsequent to the musical tone data read in the second buffer in the first buffer in the order in which the taking out of the first buffer circuit is finished. When the extraction of the second buffer is completed, similarly, the musical tone data of the first buffer is taken out and the musical tone data is read into the second buffer. The same is repeated cyclically thereafter. In such a case, the degree of occupancy is obtained as follows, for example.

【0035】取出しの開始時にカウンタをクリヤし、い
ずれかのバッファ(BA0,BA1,BB0〜BD1)
への楽音データの磁気ハードディスクからの転送開始時
にカウンタのゲートを開いて計数を開始する。そのバッ
ファへの楽音データの磁気ハードディスクからの転送が
完了したタイミングで磁気ハードディスク装置12から
読出終了信号が発せられ、この読出終了信号を受け取っ
た時点で、一旦カウンタのゲートを閉じて計数を中断す
る。また、いずれかの(前回と異なっても同じでも)バ
ッファへの楽音データの磁気ハードディスクからの転送
開始時にカウンタのゲートを開いて計数を再開し、その
バッファへの楽音データの磁気ハードディスクからの転
送が完了したタイミングで発せられる読出終了信号を受
け取った時点で、カウンタのゲートを再び閉じて計数を
中断する。以下これを繰返す。他方カウンタをクリヤし
た後所定時間(バッファよりデータを読出す時間(12
8×1024)/(2*48000)(約1.365
秒))経過する直前にカウンタの値を読み込み、この読
み込んだ値を書込時間WRTMとするとともに、その時
点でカウンタを一旦クリヤする。この時点で再度前述の
ように占有度MARGを算出する。このようにすると約
1.365秒毎に最新の占有度が得られることとなる。
The counter is cleared at the start of extraction, and one of the buffers (BA0, BA1, BB0-BD1) is cleared.
The gate of the counter is opened at the beginning of the transfer of the musical sound data from the magnetic hard disk to the counting. A read end signal is issued from the magnetic hard disk device 12 at the timing when the transfer of the musical sound data to the buffer from the magnetic hard disk is completed, and when the read end signal is received, the gate of the counter is temporarily closed to stop the counting. .. Also, when the transfer of musical sound data to the buffer (whether different or the same as the previous time) is started from the magnetic hard disk, the counter gate is opened to restart counting, and the musical sound data is transferred to the buffer from the magnetic hard disk. When the reading end signal issued at the timing when is completed is received, the gate of the counter is closed again to stop the counting. This is repeated below. On the other hand, a predetermined time after clearing the counter (time to read data from the buffer (12
8 × 1024) / (2 * 48000) (about 1.365)
Seconds)), the value of the counter is read immediately before the elapse, the read value is set as the writing time WRTM, and the counter is once cleared at that time. At this point, the occupancy MARG is calculated again as described above. In this way, the latest degree of occupancy is obtained about every 1.365 seconds.

【0036】図4は、図1に示すバッファ回路内に準備
されるバッファの他の例を模式的に表わした図である。 各個別バッファPA0,PA1,……,PD7はそれぞ
れ 128/4=32(キロバイト) の容量を有している。ここでは前述した例と同様に、磁
気ハードディスクへのアクセスは128キロバイト単位
で行われるものとする。またここでは4チャンネル同時
にデータの収録、再生が行われるものとする。
FIG. 4 is a diagram schematically showing another example of the buffer prepared in the buffer circuit shown in FIG. Each individual buffer PA0, PA1, ..., PD7 has a capacity of 128/4 = 32 (kilobytes). Here, it is assumed that the magnetic hard disk is accessed in units of 128 kilobytes, as in the above-described example. In addition, here, it is assumed that data recording and reproduction are performed simultaneously on four channels.

【0037】このとき、まずチャンネルAのバッファ回
路PA0,PA1,PA2,PA3、チャンネルBのバ
ッファ回路PB0,PB1,PB2,PB3、チャンネ
ルCのバッファ回路PC0,PC1,PC2,PC3、
チャンネルDのバッファPD0,PD1,PD2,PD
3に互いに同時にデータが入力され、次に各チャンネル
A,B,C,Dのバッファ回路PA4,PB4,PC
4,PD4にデータが満杯となる前にチャンネルAのバ
ッファ回路PA0,PA1,PA2,PA3に蓄積され
たデータの磁気ハードディスクへの転送が完了し(各チ
ャンネルA,B,C,DのバッファPA4,PB4,P
C4,PD4にデータが満杯となっても転送が終了しな
いことは4チャンネル同時には使用できず使用可能なチ
ャンネル数が制限されることを意味する)、その後、各
チャンネルB,C,Dの各バッファ回路PB5,PC
5,PD5にデータが入力される際は、チャンネルAに
関してはPAOがデータの蓄積に用いられ、各バッファ
回路PA0,PB5,PC5,PD5へのデータ入力が
完了する前にチャンネルBについてそのバッファ回路P
B0,PB1,PB2,PB3に蓄積されたデータが磁
気ハードディスクに転送され、次にデータ蓄積用バッフ
ァ回路としてはバッファ回路PA1,PB0,PC6,
PD6が用いられてその間にチャンネルCに関しそのバ
ッファ回路PC0,PC1,PC2,PC3に蓄積され
たデータが磁気ハードディスクに転送され、次にデータ
蓄積用バッファ回路としてバッファ回路PA2,PB
1,PC0,PD7が使用されてその間にチャンネルD
に関しバッファ回路PD0,PD1,PD2,PD3に
蓄積されたデータが磁気ハードディスクに転送され、次
にチャンネルAに関しバッファPA4,PA0,PA
1,PA2に蓄積されたデータが転送され、……これを
順次繰り返すことにより、図2に示すバッファと比べよ
り少ないバッファで同様の処理を行うことができること
となる。尚磁気ハードディスクから図4に示すバッファ
にデータを転送する場合も同様であるが、この場合チャ
ンネルD,C,B,Aの順に転送を行なう必要がある。
At this time, first, the channel A buffer circuits PA0, PA1, PA2, PA3, the channel B buffer circuits PB0, PB1, PB2, PB3, the channel C buffer circuits PC0, PC1, PC2, PC3,
Channel D buffers PD0, PD1, PD2, PD
Data are simultaneously input to each other, and then the buffer circuits PA4, PB4, PC of the respective channels A, B, C, D are input.
4, the transfer of the data stored in the buffer circuits PA0, PA1, PA2, PA3 of the channel A to the magnetic hard disk is completed before the data is full in the PD4 (the buffer PA4 of each channel A, B, C, D). , PB4, P
The fact that the transfer does not end even when the data is full in C4 and PD4 means that four channels cannot be used simultaneously and the number of usable channels is limited. Buffer circuit PB5, PC
5, when data is input to PD5, PAO is used for channel A to store data, and the buffer circuit for channel B is completed before data input to each buffer circuit PA0, PB5, PC5, PD5 is completed. P
The data accumulated in B0, PB1, PB2, PB3 is transferred to the magnetic hard disk, and then as buffer circuits for data accumulation, buffer circuits PA1, PB0, PC6.
The data stored in the buffer circuits PC0, PC1, PC2, and PC3 of the channel C during the PD6 is transferred to the magnetic hard disk during the PD6.
1, PC0, PD7 are used and in the meanwhile channel D
The data stored in the buffer circuits PD0, PD1, PD2, PD3 is transferred to the magnetic hard disk, and then the buffers PA4, PA0, PA for the channel A.
1, the data accumulated in PA2 is transferred, and ... By repeating this in sequence, the same processing can be performed with a smaller number of buffers than the buffer shown in FIG. The same applies to the case of transferring data from the magnetic hard disk to the buffer shown in FIG. 4, but in this case, it is necessary to transfer data in the order of channels D, C, B and A.

【0038】尚、上記各実施例はディジタルオーディオ
ワークステーションに磁気ハードディスク装置を接続し
た例であるが、本発明は磁気ハードディスク装置以外を
接続する場合、例えば光磁気ディスク装置等を接続する
場合にも実施できるものであることはもちろんである。
また、本発明における有効チャンネル数の検出方法、お
よび占有度の検出方法は上記実施例に限られるものでは
なく、どのような検出方法を用いても本発明の範囲に包
含されるものであることももちろんである。
Although each of the above embodiments is an example in which a magnetic hard disk device is connected to the digital audio workstation, the present invention is also applicable to the case where a device other than the magnetic hard disk device is connected, for example, a magneto-optical disk device or the like. Of course, it can be implemented.
Further, the method of detecting the number of effective channels and the method of detecting the degree of occupancy in the present invention are not limited to the above embodiments, and any detection method is included in the scope of the present invention. Of course.

【0039】[0039]

【発明の効果】以上詳細に説明したように、本発明の録
音再生装置は、互いに同時に使用することが可能な有効
チャンネル数を検出し、表示及び/又は使用可能なチャ
ンネル数の制限を行う機能を備えたものであるため、接
続された磁気ハードディスク装置等の性能に合った使い
方が容易に行われ、これにより一層使い勝手のよい録音
再生装置となる。
As described above in detail, the recording / reproducing apparatus of the present invention has a function of detecting the number of effective channels that can be used simultaneously and limiting the number of channels that can be displayed and / or used. Since it is provided with the above, it can be easily used in accordance with the performance of the connected magnetic hard disk device and the like, which makes the recording and reproducing device more convenient.

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

【図1】本発明の録音再生装置の一実施例に係るディジ
タルオーディオワークステーションの概略構成を表わし
たブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a digital audio workstation according to an embodiment of a recording / reproducing apparatus of the present invention.

【図2】図1に示すバッファ回路中のバッファ構造の一
例を示した図である。
FIG. 2 is a diagram showing an example of a buffer structure in the buffer circuit shown in FIG.

【図3】有効チャンネル数を検出、表示するためのプロ
グラムの一例を表わすフローチャートである。
FIG. 3 is a flowchart showing an example of a program for detecting and displaying the number of effective channels.

【図4】図1に示すバッファ回路中のバッファ構造の他
の例を示した図である。
FIG. 4 is a diagram showing another example of a buffer structure in the buffer circuit shown in FIG.

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

10 入出力回路 12 バッファ
回路 14 磁気ハードディスク装置
10 input / output circuit 12 buffer circuit 14 magnetic hard disk device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数チャンネルのデータが互いに同時に
入力されてバッファに一時記録された後該データが該バ
ッファから読み書き可能なメモリに転送され、また必要
に応じて前記メモリに記録されたデータがバッファに転
送された後該データが該バッファから複数チャンネル分
互いに同時に出力される機能を備えた録音再生装置にお
いて、 互いに同時に使用することが可能な有効チャンネル数を
検出する検出手段と、 前記検出手段で検出された前記有効チャンネル数を表示
する表示手段とを備えたことを特徴とする録音再生装
置。
1. Data of a plurality of channels are simultaneously input to each other and temporarily recorded in a buffer, then the data is transferred from the buffer to a readable / writable memory, and the data recorded in the memory is buffered as necessary. In a recording / reproducing apparatus having a function of simultaneously outputting the data of a plurality of channels from the buffer after being transferred to the detecting means, a detecting means for detecting the number of effective channels which can be used at the same time, and the detecting means, A recording / reproducing apparatus comprising: a display unit for displaying the detected number of effective channels.
【請求項2】 前記表示手段に代えて、もしくは前記表
示手段とともに、前記検出手段で検出された前記有効チ
ャンネル数に基づいて使用可能なチャンネルを制限する
制限手段を備えたことを特徴とする請求項1記載の録音
再生装置。
2. A limiting means for limiting usable channels based on the number of effective channels detected by the detecting means, instead of or together with the displaying means. The recording / playback apparatus according to Item 1.
JP29574591A 1991-09-02 1991-11-12 Recording and playback device Expired - Fee Related JP3267647B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29574591A JP3267647B2 (en) 1991-09-02 1991-11-12 Recording and playback device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP22085491 1991-09-02
JP3-220854 1991-09-02
JP29574591A JP3267647B2 (en) 1991-09-02 1991-11-12 Recording and playback device

Publications (2)

Publication Number Publication Date
JPH05120847A true JPH05120847A (en) 1993-05-18
JP3267647B2 JP3267647B2 (en) 2002-03-18

Family

ID=26523946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29574591A Expired - Fee Related JP3267647B2 (en) 1991-09-02 1991-11-12 Recording and playback device

Country Status (1)

Country Link
JP (1) JP3267647B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6111182A (en) * 1998-04-23 2000-08-29 Roland Corporation System for reproducing external and pre-stored waveform data
US6147290A (en) * 1998-04-22 2000-11-14 Roland Corporation Electronic musical instrument keyboard apparatus
US6194648B1 (en) 1998-01-28 2001-02-27 Roland Corporation Electronic musical instrument
US6778357B2 (en) 2000-11-10 2004-08-17 Seagate Technology Llc Electrodeposited high-magnetic-moment material at writer gap pole

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6194648B1 (en) 1998-01-28 2001-02-27 Roland Corporation Electronic musical instrument
US6147290A (en) * 1998-04-22 2000-11-14 Roland Corporation Electronic musical instrument keyboard apparatus
US6111182A (en) * 1998-04-23 2000-08-29 Roland Corporation System for reproducing external and pre-stored waveform data
US6778357B2 (en) 2000-11-10 2004-08-17 Seagate Technology Llc Electrodeposited high-magnetic-moment material at writer gap pole

Also Published As

Publication number Publication date
JP3267647B2 (en) 2002-03-18

Similar Documents

Publication Publication Date Title
JPH05120847A (en) Sound recording and reproducing device
JPH0419886A (en) Recorder for acoustic equipment
JP2002342939A (en) Device and method for counting error
JPH0516600B2 (en)
JP2002184159A (en) Digital recording and reproducing device
JP2762489B2 (en) Test method of magnetic disk
JP2687400B2 (en) Playback device
JP3991585B2 (en) Digital audio recording device
JPH05159548A (en) Recording and replay apparatus
JPS6243883A (en) Program selecting device for dad player
JP2003058199A (en) Method and device for reproducing data containing audio at high speed
JPH0322258A (en) System for automatic recording to recording medium
JP2739760B2 (en) Disk enclosure test equipment
JPS63220495A (en) Digital sound information processor
JPS58224483A (en) Method for detecting editing point of recording and reproducing device of pulse code modulation
JPH07326159A (en) Time measurement method for optical disc reproduction
JPS6016024B2 (en) editing device
JPH09306059A (en) Video tape recorder
JPH0620453A (en) Recording and reproducing device
JP2000324442A (en) Picture recorder
JPH03264861A (en) Waveform recording system
JPH0467466A (en) Signal discriminating device
JPS63231772A (en) Error waveform observing device for magnetic disk medium
JPS62226488A (en) Determining device for program searching position of tape
KR940002804A (en) Automatic selection device and method of tape recorder player

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011225

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080111

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees