JP3045018B2 - Waveform recording / reproducing device - Google Patents

Waveform recording / reproducing device

Info

Publication number
JP3045018B2
JP3045018B2 JP6237755A JP23775594A JP3045018B2 JP 3045018 B2 JP3045018 B2 JP 3045018B2 JP 6237755 A JP6237755 A JP 6237755A JP 23775594 A JP23775594 A JP 23775594A JP 3045018 B2 JP3045018 B2 JP 3045018B2
Authority
JP
Japan
Prior art keywords
waveform data
waveform
recording
area
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP6237755A
Other languages
Japanese (ja)
Other versions
JPH08101688A (en
Inventor
文智 今野
治 大島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP6237755A priority Critical patent/JP3045018B2/en
Publication of JPH08101688A publication Critical patent/JPH08101688A/en
Application granted granted Critical
Publication of JP3045018B2 publication Critical patent/JP3045018B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、楽音波形をサンプリン
グ記録し、演奏用波形として再生することができる波形
記録再生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform recording and reproducing apparatus capable of sampling and recording a musical tone waveform and reproducing the waveform as a performance waveform.

【0002】[0002]

【従来の技術】波形記録再生装置には、いわゆるサンプ
ラーと呼ばれる電子楽器がある。サンプラーは、入力さ
れた楽音波形をサンプリング処理することによりディジ
タル波形として波形メモリに書き込み、波形の記録を行
う。そして、波形メモリに記録された波形データに基づ
いて波形を再生することにより楽音を生成する。
2. Description of the Related Art As a waveform recording / reproducing apparatus, there is an electronic musical instrument called a so-called sampler. The sampler performs sampling processing on the input musical sound waveform, writes the digital waveform into a waveform memory as a digital waveform, and records the waveform. Then, a tone is generated by reproducing the waveform based on the waveform data recorded in the waveform memory.

【0003】サンプラーに入力される楽音波形が短けれ
ば、波形メモリに波形データを記録することができる
が、入力される楽音波形が長いときには、波形データが
大きくなり、波形メモリの容量を越えてしまい、全ての
波形データを記録できなくなってしまう。そこで、長時
間にわたる楽音波形を記録する際には、大容量のデータ
を記録することができるディスク等の外部記憶装置が用
いられる。
If the tone waveform input to the sampler is short, the waveform data can be recorded in the waveform memory. However, if the tone waveform input is long, the waveform data becomes large and exceeds the capacity of the waveform memory. This makes it impossible to record all waveform data. Therefore, when recording a musical tone waveform over a long period of time, an external storage device such as a disk capable of recording a large amount of data is used.

【0004】[0004]

【発明が解決しようとする課題】従来のサンプラーで
は、波形の記録に先立って、波形メモリに記録するの
か、またはディスクに記録するのかのいずれかを指定す
るようになっている。短時間の楽音波形を記録する際に
は波形メモリを指定し、長時間の楽音波形を記録する際
にはディスクを指定するようにすればよい。
In a conventional sampler, prior to recording a waveform, either recording in a waveform memory or recording on a disk is designated. When recording a short-time musical sound waveform, a waveform memory may be specified, and when recording a long-time musical sound waveform, a disk may be specified.

【0005】しかしながら、録音する楽音波形の時間長
は、通常は録音してみないとわからないものであり、録
音前に判断することは困難である。例えば、波形メモリ
への記録を選択して録音を開始したものの、予想してい
たより長時間の波形であったため、メモリに記憶しきれ
ず後ろの部分が切れてしまったり、ディスクへの記録を
選択して録音してみたら、短い波形だったので、その後
の処理を考えればメモリ上に記録した方が良かったり等
の不都合が起こる場合がある。
[0005] However, the time length of the musical sound waveform to be recorded is usually unknown only after recording, and it is difficult to determine the length before recording. For example, when recording was started by selecting recording to the waveform memory, but the waveform was longer than expected, the remaining part could not be stored in the memory, and the trailing part could be cut off. When I recorded it, it was a short waveform, so when considering the subsequent processing, it may be better to record it on the memory, or some inconvenience may occur.

【0006】本発明の目的は、録音する楽音波形の時間
長に応じて、波形メモリまたはディスク等の大容量外部
記憶装置のいずれかを自動的に選択して記録することが
できる波形記録再生装置を提供することである。
An object of the present invention is to provide a waveform recording / reproducing apparatus which can automatically select and record either a waveform memory or a large-capacity external storage device such as a disk according to the time length of a musical tone waveform to be recorded. It is to provide.

【0007】[0007]

【課題を解決するための手段】本発明の一観点によれ
ば、波形記録再生装置は、波形データを記憶することが
できる空き領域(VA)を有する記憶媒体(14)と、
大容量の外部記憶装置と、前記記憶媒体中の空き領域の
サイズに応じて、該空き領域に可変複数ブロック数のメ
モリブロックを領域指定する領域指定手段と、前記領域
指定手段により指定される複数のメモリブロックに外部
から入力される波形データを順次記録しつつ、各メモリ
ブロックヘの記録が終了した後に該メモリブロックに記
憶されている波形データをメモリブロック単位で前記外
部記憶装置へ転送するメモリアクセス手段(9)であ
り、前記外部から入力される波形データが前記複数のメ
モリブロックに書込まれ前記複数のメモリブロックが一
杯になった後は、続いて入力される波形データを前記複
数のメモリブロックの一部ないし全部のメモリブロック
に順次上書きしつつ、各メモリブロックヘの上書きが終
了した後に該メモリブロックに記憶されている波形デー
タをメモリブロック単位で前記外部記憶装置に転送する
ための前記メモリアクセス手段(9)と、前記入力され
る波形データが前記複数メモリブロックの容量より大き
いか否かを判定し、小さい場合には前記複数メモリブロ
ックに記憶された波形データを残し、大きい場合には前
記外部記憶装置に転送された波形データを残すように制
御する記録先選択手段とを有する。
According to one aspect of the present invention, a waveform recording / reproducing apparatus comprises: a storage medium (14) having a free area (VA) for storing waveform data;
A large-capacity external storage device, an area designating means for designating a variable number of memory blocks in the free area according to the size of the free area in the storage medium, and a plurality of memory blocks designated by the area designating means. A memory for sequentially recording waveform data input from the outside in the memory block, and transferring the waveform data stored in the memory block to the external storage device in memory block units after the recording in each memory block is completed. Access means (9) for writing the subsequently input waveform data to the plurality of memory blocks after the externally input waveform data is written to the plurality of memory blocks and the plurality of memory blocks are full; While sequentially overwriting a part or all of the memory blocks, the memory block is overwritten after each memory block is overwritten. The memory access means (9) for transferring the waveform data stored in the lock to the external storage device in units of memory blocks, and determining whether the input waveform data is larger than the capacity of the plurality of memory blocks. Recording destination selection means for controlling to leave the waveform data stored in the plurality of memory blocks if the size is smaller and leave the waveform data transferred to the external storage device if the size is larger.

【0008】[0008]

【作用】外部から入力される波形データを順次記憶媒体
中の可変ブロック数のメモリブロックに記録しつつ、各
メモリブロックへの記録が終了した後に波形データをメ
モリブロック単位で外部に転送出力するので、外部に大
容量記憶装置を接続し、波形データを大容量記憶装置に
転送出力するようにすれば、記憶媒体と外部大容量記憶
装置の両方に波形データを記憶させることができる。ま
た、外部に転送出力されたメモリブロックの波形データ
を大容量記憶装置に記憶させておけば、外部から入力さ
れる新たな波形データを該メモリブロックに再び記録す
ることもできる。
Since the waveform data inputted from the outside is sequentially recorded in the variable number of memory blocks in the storage medium, and after the recording in each memory block is completed, the waveform data is transferred and outputted to the outside in memory block units. By connecting a large-capacity storage device to the outside and transferring and outputting the waveform data to the large-capacity storage device, the waveform data can be stored in both the storage medium and the external large-capacity storage device. If the waveform data of the memory block transferred and output to the outside is stored in the large-capacity storage device, new waveform data input from the outside can be recorded in the memory block again.

【0009】[0009]

【実施例】図1は、本発明の実施例による波形記録再生
装置の全体構成図である。ROM5は、演算プログラム
を記憶している。CPU4は、ROM5に記憶されてい
る演算プログラムに従って、RAM6に備えられたワー
キングメモリを用いて各種演算を行う。
FIG. 1 is an overall configuration diagram of a waveform recording / reproducing apparatus according to an embodiment of the present invention. The ROM 5 stores an arithmetic program. The CPU 4 performs various calculations using a working memory provided in the RAM 6 according to a calculation program stored in the ROM 5.

【0010】CPU4は、バス17を介して、ROM
5、RAM6の他、MIDI入出力インターフェース
1、パネルスイッチ2、表示器3、ディスクドライブ
7、ダイレクトメモリアクセス(DMA)回路9、アク
セス制御回路13、PCM音源15の制御を行う。
The CPU 4 is connected to a ROM via a bus 17
5, a RAM 6, a MIDI input / output interface 1, a panel switch 2, a display 3, a disk drive 7, a direct memory access (DMA) circuit 9, an access control circuit 13, and a PCM tone generator 15.

【0011】楽音波形は、パネルスイッチ2のスイッチ
を操作することにより、マイク12から録音することが
できる。マイク12に入力された楽音波形は、サンプリ
ング処理によりディジタル信号の波形データに変換され
る。その後、3種類のサンプリングモードA,B,Cに
応じて、波形RAM14またはディスク媒体8のいずれ
かに記録される。
The tone waveform can be recorded from the microphone 12 by operating the panel switch 2. The tone waveform input to the microphone 12 is converted into digital signal waveform data by sampling processing. Thereafter, the data is recorded on either the waveform RAM 14 or the disk medium 8 according to the three types of sampling modes A, B, and C.

【0012】波形RAM14は、例えば4Mバイトの記
憶媒体であり、ディスク媒体8は、例えばハードディス
クや光磁気ディスク(MO)等の数百Mバイト程度の大
容量記憶媒体である。
The waveform RAM 14 is a storage medium of, for example, 4 Mbytes, and the disk medium 8 is a large-capacity storage medium of about several hundred Mbytes such as a hard disk or a magneto-optical disk (MO).

【0013】録音された波形データをエディットする際
には、波形RAM14上において行う必要があり、ディ
スク媒体8上においては直接エディットすることができ
ない。ディスク媒体8に記憶されている波形データをエ
ディットする際には、一旦ディスク媒体8から波形RA
M14に波形データをロードした後に、波形RAM14
上の波形データをエディットする必要がある。
When editing the recorded waveform data, it is necessary to edit the recorded waveform data on the waveform RAM 14 and cannot directly edit it on the disk medium 8. When editing the waveform data stored in the disk medium 8, the waveform RA
After loading the waveform data into M14, the waveform RAM 14
You need to edit the above waveform data.

【0014】したがって、エディット等を行うことを前
提に録音を行うのであれば、なるべく波形RAM14に
波形データを記録した方がよい。しかし、波形RAM1
4の記憶容量は小さいため、大容量の波形データについ
ては、ディスク媒体8に記録せざるを得ない。
Therefore, if recording is performed on the premise that editing or the like is performed, it is preferable to record waveform data in the waveform RAM 14 as much as possible. However, the waveform RAM1
4 has a small storage capacity, so large-capacity waveform data must be recorded on the disk medium 8.

【0015】サンプリングモードA,B,Cは、パネル
スイッチ2の操作により、いずれか1つが指定される。
サンプリングモードAでは、波形データが波形RAM1
4に記録され、サンプリングモードBでは、波形データ
がディスク媒体8に記録される。
One of the sampling modes A, B, and C is designated by operating the panel switch 2.
In the sampling mode A, the waveform data is stored in the waveform RAM 1
4, and in sampling mode B, waveform data is recorded on the disk medium 8.

【0016】サンプリングモードCでは、波形RAM1
4またはディスク媒体8のいずれかが自動的に選択さ
れ、波形データが記録される。つまり、マイク12から
録音される時間が長くて、波形データのデータ量が多い
ときには、ディスク媒体8が選択される。一方、録音さ
れる時間が短くて、波形データ量が少ないときには、波
形RAM14が選択される。
In the sampling mode C, the waveform RAM1
4 or the disk medium 8 is automatically selected, and the waveform data is recorded. That is, when the recording time from the microphone 12 is long and the data amount of the waveform data is large, the disk medium 8 is selected. On the other hand, when the recording time is short and the amount of waveform data is small, the waveform RAM 14 is selected.

【0017】まず、サンプリングモードAについて説明
する。マイク12から入力された楽音波形は、DMA回
路9内の書込カウンタ11に応じて、アクセス制御回路
13を介して、波形RAM14に波形データとして記録
される。書込カウンタ11は、入力される楽音の波形デ
ータに応じて、順次カウントを行い、記録される波形R
AM14上のアドレスを指定する。波形データは、書込
カウンタ11に応じて波形RAM14に順次記憶され
る。
First, the sampling mode A will be described. The tone waveform input from the microphone 12 is recorded as waveform data in the waveform RAM 14 via the access control circuit 13 according to the write counter 11 in the DMA circuit 9. The write counter 11 sequentially counts in accordance with the input musical tone waveform data, and records the recorded waveform R.
The address on the AM 14 is specified. The waveform data is sequentially stored in the waveform RAM 14 according to the write counter 11.

【0018】次に、サンプリングモードBについて説明
する。マイク12から入力された楽音波形は、書込カウ
ンタ11に応じて、アクセス制御回路13を介して、波
形RAM14内のバッファに波形データとして一旦蓄え
られる。バッファ一杯に蓄えられると、その後DMA回
路9内の転送カウンタ10はカウントを行う。転送カウ
ンタ10がカウントされると、波形RAM14内のバッ
ファからディスク媒体8に波形データが転送される。
Next, the sampling mode B will be described. The tone waveform input from the microphone 12 is temporarily stored as waveform data in a buffer in the waveform RAM 14 via the access control circuit 13 according to the write counter 11. When the data is fully stored in the buffer, the transfer counter 10 in the DMA circuit 9 thereafter counts. When the transfer counter 10 counts, the waveform data is transferred from the buffer in the waveform RAM 14 to the disk medium 8.

【0019】転送カウンタ10は、例えばバッファに波
形データを蓄え始めてからのクロック信号をカウントし
て、バッファが一杯になる時間経過後に転送カウント値
をカウントする。
The transfer counter 10 counts, for example, a clock signal after the start of storing waveform data in the buffer, and counts a transfer count value after a lapse of time when the buffer becomes full.

【0020】DMA回路9は、CPU4の制御によら
ず、波形RAM14とディスク媒体8との間で波形デー
タを転送することができるので、高速転送が可能であ
る。ディスク媒体8は、ディスクドライブ7により、デ
ータの読み出しまたは書き込みが制御される。
The DMA circuit 9 can transfer waveform data between the waveform RAM 14 and the disk medium 8 without control of the CPU 4, so that high-speed transfer is possible. Data reading or writing of the disk medium 8 is controlled by the disk drive 7.

【0021】次に、サンプリングモードCについて説明
する。マイク12から入力された楽音波形は、書込カウ
ンタ11に応じて、アクセス制御回路13を介して、順
次波形RAM14に波形データとして記録される。そし
て、その間、所定の間隔で、転送カウンタ10がカウン
トを行うことにより、所定のデータ量ずつ波形データが
波形RAM14からディスク媒体8に転送される。
Next, the sampling mode C will be described. The tone waveform input from the microphone 12 is sequentially recorded as waveform data in the waveform RAM 14 via the access control circuit 13 according to the write counter 11. During this time, the transfer counter 10 counts at a predetermined interval, whereby the waveform data is transferred from the waveform RAM 14 to the disk medium 8 by a predetermined data amount.

【0022】マイク12から入力された楽音波形の波形
データが全て波形RAM14に納まる場合には、CPU
4は波形RAM14から転送されたディスク媒体8内の
波形データを消去する。つまり、波形データが小データ
量であるときには、波形データは波形RAM14にのみ
残される。
If all the waveform data of the musical sound waveform input from the microphone 12 fits in the waveform RAM 14, the CPU
Numeral 4 erases the waveform data in the disk medium 8 transferred from the waveform RAM 14. That is, when the waveform data has a small data amount, the waveform data is left only in the waveform RAM 14.

【0023】一方、マイク12から入力された楽音波形
の波形データが全て波形RAM14に納まらない場合に
は、CPU4は波形RAM14に記録された波形データ
を消去し、ディスク媒体8に転送された波形データのみ
を残す。つまり、波形データが大容量であるときには、
波形データはディスク媒体8にのみ残される。
On the other hand, if all the waveform data of the musical tone waveform input from the microphone 12 cannot be stored in the waveform RAM 14, the CPU 4 deletes the waveform data recorded in the waveform RAM 14 and transfers the waveform data transferred to the disk medium 8. Only leave. In other words, when the waveform data is large,
The waveform data is left only on the disk medium 8.

【0024】MIDI入出力インターフェース1には、
外部機器として例えば鍵盤を接続することができる。鍵
盤上の鍵を操作することにより、MIDI信号がMID
I入出力インターフェース1に入力され、波形データの
再生を指示することができる。CPU4は、MIDI入
出力インターフェース1に入力されるMIDI信号に応
じて、所定の音高の発音または消音をPCM音源15に
指示することができる。
The MIDI input / output interface 1 includes:
For example, a keyboard can be connected as an external device. By operating the keys on the keyboard, the MIDI signal
It is input to the I / O interface 1 and can instruct reproduction of waveform data. The CPU 4 can instruct the PCM sound source 15 to sound or mute at a predetermined pitch in accordance with a MIDI signal input to the MIDI input / output interface 1.

【0025】PCM音源15は、アクセス制御回路13
を介して、波形RAM14に記憶されている波形データ
を音高変換およびD/A変換して、所定の音高の楽音信
号をサウンドシステム16に供給する。サウンドシステ
ム16は、供給された楽音信号の発音を行う。
The PCM sound source 15 is connected to the access control circuit 13.
, Converts the waveform data stored in the waveform RAM 14 into pitch conversion and D / A conversion, and supplies a tone signal having a predetermined pitch to the sound system 16. The sound system 16 generates the supplied tone signal.

【0026】アクセス制御回路13は、3通りの波形デ
ータの流れが衝突しないように時間の振り分け制御を行
う。3通りの波形データの流れとは、マイク12から波
形RAM14への録音と、波形RAM14とディスク媒
体8の間のデータ転送と、波形RAM14からPCM音
源15への波形データ再生のそれぞれによる波形データ
の流れである。
The access control circuit 13 performs time distribution control so that the three types of waveform data do not collide. The three types of waveform data flows include recording of the waveform data from the microphone 12 to the waveform RAM 14, data transfer between the waveform RAM 14 and the disk medium 8, and reproduction of the waveform data from the waveform RAM 14 to the PCM sound source 15. It is a flow.

【0027】パネルスイッチ2は、サンプリングモード
A,B,Cの切り換えや、PCM音源15が読み出しを
行う波形RAM14内の複数の波形データ内の1つを選
択するためのスイッチ等を有する。表示器3は、指定さ
れたサンプリングモードの状態等を表示する。
The panel switch 2 has switches for switching between the sampling modes A, B, and C, and selecting one of a plurality of waveform data in the waveform RAM 14 from which the PCM sound source 15 reads. The display 3 displays the status of the designated sampling mode.

【0028】図2は、波形RAM14の構成を示す。波
形RAM14は、録音済領域OAと空き領域VAを有す
る。マイク12から録音される際には、空き領域VAが
用いられる。空き領域VAの用いられ方は、サンプリン
グモードによって異なる。各サンプリングモードにおけ
る空き領域の状態を次に説明する。
FIG. 2 shows the configuration of the waveform RAM 14. The waveform RAM 14 has a recorded area OA and a free area VA. When recording from the microphone 12, the empty area VA is used. How the empty area VA is used differs depending on the sampling mode. The state of the empty area in each sampling mode will be described below.

【0029】図3は、サンプリングモードAにおける波
形RAM14の空き領域VAを示す。マイク12から入
力される楽音波形の波形データは、空き領域VAに順次
記録される。入力される波形データのデータ量が空き領
域VAの容量よりも小さいときには、正常に記録され
る。一方、入力される波形データ量が空き領域VAより
も大きいときには、波形データの後ろの部分が切れてし
まう。
FIG. 3 shows an empty area VA of the waveform RAM 14 in the sampling mode A. The waveform data of the musical tone waveform input from the microphone 12 is sequentially recorded in the empty area VA. When the data amount of the input waveform data is smaller than the capacity of the free area VA, it is recorded normally. On the other hand, when the amount of input waveform data is larger than the free area VA, the portion after the waveform data is cut off.

【0030】図4は、サンプリングモードBにおける波
形RAMの空き領域VAを示す。空き領域VAは、2つ
のバッファBA1,BA2を有する。バッファメモリ
は、例えばバッファBA1,BA2の2個の固定バッフ
ァである。
FIG. 4 shows the free space VA of the waveform RAM in the sampling mode B. The free area VA has two buffers BA1 and BA2. The buffer memory is, for example, two fixed buffers BA1 and BA2.

【0031】マイク12から入力される楽音波形の波形
データは、まずバッファBA1に記録される。バッファ
BA1が一杯になると、バッファBA1からディスク媒
体8(図1)に波形データが転送される。バッファBA
1が一杯になった後は、マイク12からの波形データは
続いてバッファBA2に記録される。バッファBA2が
一杯になると、バッファBA1に再び波形データが記録
され、バッファBA2からディスク媒体8に波形データ
が転送される。その後は、同様にしてバッファBA1と
BA2が交互に用いられて、ディスク媒体8に波形デー
タが記録される。
The waveform data of the musical tone waveform input from the microphone 12 is first recorded in the buffer BA1. When the buffer BA1 becomes full, the waveform data is transferred from the buffer BA1 to the disk medium 8 (FIG. 1). Buffer BA
After 1 becomes full, the waveform data from the microphone 12 is subsequently recorded in the buffer BA2. When the buffer BA2 becomes full, the waveform data is recorded again in the buffer BA1, and the waveform data is transferred from the buffer BA2 to the disk medium 8. Thereafter, the waveform data is recorded on the disk medium 8 by using the buffers BA1 and BA2 alternately in the same manner.

【0032】バッファBA1,BA2は、例えば数kバ
イト程度のメモリ容量である。バッファBA1,BA2
の容量は、音を認識できないほどの波形データ量しか記
憶することができないほどの小容量であってもよく、バ
ッファとしての機能を果たせればよい。
The buffers BA1 and BA2 have a memory capacity of, for example, about several kilobytes. Buffers BA1, BA2
May be small enough to store only an amount of waveform data that does not allow sound to be recognized, as long as it can function as a buffer.

【0033】図5は、サンプリングモードCにおける波
形RAMの空き領域VAを示す。空き領域VAは、例え
ば6つのメモリブロックMB1〜MB6を有する。メモ
リブロックは、6つである必要はなく、空き領域VAの
サイズに応じて、可変のブロック数に制御される。実用
的には、最低でも数秒分のブロックを用意することが望
まれる。たとえば、1ブロック4kバイトとしてサンプ
ル周波数48kHzの波形を1秒間録音するだけで(4
8k×2)/4k=24(個)のメモリブロックが必要
となる(MB1〜MB24)。
FIG. 5 shows the free area VA of the waveform RAM in the sampling mode C. The free area VA has, for example, six memory blocks MB1 to MB6. The number of memory blocks does not need to be six, and is controlled to a variable number according to the size of the free area VA. Practically, it is desirable to prepare a block for at least several seconds. For example, by recording a waveform of a sampling frequency of 48 kHz as one block of 4 kbytes for one second (4
8k × 2) / 4k = 24 memory blocks are required (MB1 to MB24).

【0034】マイク12から入力される楽音波形の波形
データは、まずメモリブロックMB1に記録される。メ
モリブロックMB1が一杯になると、メモリブロックM
B1からディスク媒体8に波形データが転送される。そ
の後、メモリブロックMB2〜MB6に順次記録され、
各メモリブロックが一杯になると、それぞれメモリブロ
ック単位でディスク媒体8に転送される。メモリブロッ
クMB1〜MB6内に波形データが全て納まるときに
は、転送されたディスク媒体8内の波形データが消去さ
れ、波形RAM14内に波形データが残る。
The waveform data of the musical tone waveform input from the microphone 12 is first recorded in the memory block MB1. When the memory block MB1 is full, the memory block M
The waveform data is transferred from B1 to the disk medium 8. Thereafter, the data is sequentially recorded in the memory blocks MB2 to MB6,
When each memory block is full, it is transferred to the disk medium 8 in memory block units. When all the waveform data is stored in the memory blocks MB1 to MB6, the transferred waveform data in the disk medium 8 is erased, and the waveform data remains in the waveform RAM 14.

【0035】メモリブロックMB1〜MB6内に波形デ
ータが納まらないときには、再びメモリブロックMB1
から順番に記録および転送が行われる。その場合、メモ
リブロックは、上書きされてしまい、1度目に記録され
たメモリブロック上の波形データは消えてしまう。全て
の波形データが書き込まれた後は、波形RAM14内の
波形データが消去され、ディスク媒体8内に波形データ
が残る。
When the waveform data does not fit in the memory blocks MB1 to MB6, the memory block MB1
Recording and transfer are performed in order from. In that case, the memory block is overwritten, and the waveform data recorded on the memory block for the first time is lost. After all the waveform data has been written, the waveform data in the waveform RAM 14 is erased, and the waveform data remains in the disk medium 8.

【0036】次は、図1におけるDMA回路9内の書込
カウンタ11と転送カウンタ10の動作の説明を、サン
プリングモードA,B,Cのそれぞれについて行う。図
6は、サンプリングモードAにおける書込カウンタ11
のカウント値WCを示す。
Next, the operation of the write counter 11 and the transfer counter 10 in the DMA circuit 9 in FIG. 1 will be described for each of the sampling modes A, B, and C. FIG. 6 shows the write counter 11 in the sampling mode A.
Is shown.

【0037】時刻tA1において、例えばパネルスイッ
チ2(図1)上の録音スイッチを押すことにより、マイ
ク12からの録音が開始する。マイク12からの録音が
開始すると、書込カウンタ11がカウントを開始し、カ
ウント値WCは増加を始める。マイク12から入力され
る波形データは、カウント値WCに応じた波形RAM1
4のアドレスに記録される。
At time tA1, the recording from the microphone 12 is started, for example, by pressing the recording switch on the panel switch 2 (FIG. 1). When recording from the microphone 12 starts, the write counter 11 starts counting, and the count value WC starts increasing. The waveform data input from the microphone 12 is stored in a waveform RAM 1 corresponding to the count value WC.
4 are recorded.

【0038】時刻tA2において、マイク12からの録
音が終了すると、カウント値WCの増加は終了する。録
音の終了は、カウント値WCが空き領域VAの最終アド
レスまで達したことを検出して、又はパネルスイッチ2
(図1)上のストップスイッチが押されることにより行
われる。また、マイク12からの入力レベルが十分小さ
い状態が所定時間続いたときに録音の終了とすることも
できる。
At time tA2, when the recording from the microphone 12 ends, the increase of the count value WC ends. The end of the recording is detected by detecting that the count value WC has reached the final address of the empty area VA, or by using the panel switch 2
This is done by pressing the upper stop switch (FIG. 1). Further, the recording can be terminated when a state in which the input level from the microphone 12 is sufficiently low continues for a predetermined time.

【0039】図7は、サンプリングモードBにおける書
込カウンタ11のカウント値WCと転送カウンタ10の
カウント値TCを示す。時刻tB1において、マイク1
2からの録音が開始すると同時に、書込カウント値WC
のカウントが開始する。波形RAM14には、2つのバ
ッファBA1,BA2が備えられており、まずバッファ
BA1に波形データが書き込まれる。バッファBA1が
一杯になると、続いてバッファBA2に波形データが書
き込まれる。転送カウント値TCは、転送カウンタ10
がバッファが一杯になる時間を計測することにより、バ
ッファBA1が一杯になった後と、バッファBA2が一
杯になった後にそれぞれカウントされ、それぞれバッフ
ァBA1とバッファBA2から波形データがディスク媒
体8に転送される。
FIG. 7 shows the count value WC of the write counter 11 and the count value TC of the transfer counter 10 in the sampling mode B. At time tB1, microphone 1
At the same time as the recording from
Starts counting. The waveform RAM 14 is provided with two buffers BA1 and BA2. First, waveform data is written to the buffer BA1. When the buffer BA1 becomes full, the waveform data is subsequently written to the buffer BA2. The transfer count value TC is the transfer counter 10
Is measured after the buffer BA1 is full and after the buffer BA2 is full by measuring the time when the buffer is full, and the waveform data is transferred from the buffers BA1 and BA2 to the disk medium 8 respectively. Is done.

【0040】時刻tB2において、バッファBA2が一
杯になると、書込カウント値WCはリセットされ、波形
データは再びバッファBA1の先頭から書き込まれる。
転送カウント値TCは、バッファBA1とBA2の波形
データをディスク媒体8に転送するためのカウントが行
われた後にリセットされ、再びバッファBA1とBA2
の転送を行うためのカウントが繰り返される。
At time tB2, when the buffer BA2 becomes full, the write count value WC is reset, and the waveform data is written again from the beginning of the buffer BA1.
The transfer count value TC is reset after the count for transferring the waveform data of the buffers BA1 and BA2 to the disk medium 8 is performed, and the buffers BA1 and BA2 are again returned.
Is repeated.

【0041】図8は、サンプリングモードCにおける書
込カウンタ11のカウント値WCと転送カウンタ10の
カウント値TCを示す。時刻tC1において、マイク1
2からの録音が開始すると、書込カウント値WCのカウ
ントが開始する。波形RAM14には、例えば6つのメ
モリブロックMB1〜MB6が備えられており、まずメ
モリブロックMB1に波形データが書き込まれる。メモ
リブロックMB1が一杯になると、続いてメモリブロッ
クMB2〜MB6に順次波形データが書き込まれる。転
送カウント値TCは、転送カウンタ10がブロックメモ
リが一杯になる時間を計測することにより、各メモリブ
ロックMB1〜MB6が一杯になった後に、それぞれカ
ウントされ、対応するメモリブロックの波形データをデ
ィスク媒体8に転送する。
FIG. 8 shows the count value WC of the write counter 11 and the count value TC of the transfer counter 10 in the sampling mode C. At time tC1, microphone 1
When the recording from No. 2 starts, the count of the write count value WC starts. The waveform RAM 14 includes, for example, six memory blocks MB1 to MB6. First, waveform data is written to the memory block MB1. When the memory block MB1 becomes full, waveform data is sequentially written to the memory blocks MB2 to MB6. The transfer count value TC is counted by the transfer counter 10 after the memory blocks MB1 to MB6 are full by measuring the time when the block memory is full, and the waveform data of the corresponding memory block is stored in the disk medium. Transfer to 8.

【0042】マイク12から入力される波形データが、
6つのメモリブロックMB1〜MB6内に納まれば、転
送されたディスク媒体8の波形データを消去して、メモ
リブロックMB1〜MB6の波形データを残す。
When the waveform data input from the microphone 12 is
When the waveform data is stored in the six memory blocks MB1 to MB6, the transferred waveform data of the disk medium 8 is erased, and the waveform data of the memory blocks MB1 to MB6 is left.

【0043】マイク12から入力される波形データが6
つのメモリブロックMB1〜MB6に納まらないときに
は、書込カウント値WCおよび転送カウント値TCがリ
セットされ、再びメモリブロックMB1から順番に波形
データの書き込みおよび転送が行われる。この場合、メ
モリブロックに波形データが上書きされて1回目に書き
込まれた波形データが消えてしまう。したがって、全て
の波形データの書き込みおよび転送が終了した後は、メ
モリブロックMB1〜MB6の波形データを消去して、
転送されたディスク媒体8の波形データを残す。
When the waveform data input from the microphone 12 is 6
When it does not fit in one of the memory blocks MB1 to MB6, the write count value WC and the transfer count value TC are reset, and writing and transfer of waveform data are performed again in order from the memory block MB1. In this case, the waveform data is overwritten on the memory block, and the waveform data written for the first time is lost. Therefore, after the writing and transfer of all the waveform data are completed, the waveform data of the memory blocks MB1 to MB6 are erased, and
The transferred waveform data of the disk medium 8 is left.

【0044】以上、3つのサンプリングモードA,B,
Cについて説明した。次は、その他のサンプリングモー
ドD,E,Fについて、それぞれ図9、図10、図11
を参照しながら説明する。サンプリングモードD,E,
Fについても、サンプリングモードA,B,Cと同様に
選択することができるようにすることができる。
As described above, the three sampling modes A, B,
C has been described. Next, the other sampling modes D, E, and F are shown in FIGS. 9, 10, and 11, respectively.
This will be described with reference to FIG. Sampling modes D, E,
F can be selected similarly to the sampling modes A, B, and C.

【0045】図9は、サンプリングモードDにおける書
込カウント値WCと転送カウント値TCを示す。時刻t
D1において、マイク12からの録音が開始すると、サ
ンプリングモードCと同様に、書込カウント値WCと転
送カウント値TCが増加を開始し、メモリブロックMB
1〜MB6への波形データの書き込み、およびメモリブ
ロックMB1〜MB6からディスク媒体8への波形デー
タの転送が行われる。
FIG. 9 shows the write count value WC and the transfer count value TC in the sampling mode D. Time t
In D1, when recording from the microphone 12 starts, the write count value WC and the transfer count value TC start increasing as in the sampling mode C, and the memory block MB
Writing of waveform data to the memory blocks 1 to 6 and transfer of the waveform data from the memory blocks MB1 to MB6 to the disk medium 8 are performed.

【0046】時刻tD2において、メモリブロックMB
6が一杯になった後は、サンプリングモードCと異な
り、書込カウント値WCと転送カウント値TCは、メモ
リブロックMB5に対応するカウント値にリセットされ
る。その後、波形データは、メモリブロックMB5とM
B6に交互に書き込まれ、ディスク媒体8への転送も交
互に行われる。
At time tD2, memory block MB
After 6 is full, unlike the sampling mode C, the write count value WC and the transfer count value TC are reset to the count values corresponding to the memory block MB5. Thereafter, the waveform data is stored in the memory blocks MB5 and M5.
The data is alternately written to B6 and transferred to the disk medium 8 alternately.

【0047】時刻tD2を過ぎて波形データの書き込み
が行われると、メモリブロックMB5,MB6の波形デ
ータは上書きされるが、メモリブロックMB1〜MB4
の波形データは1回目に書き込まれたものが残ってい
る。
When the waveform data is written after the time tD2, the waveform data in the memory blocks MB5 and MB6 are overwritten, but are written in the memory blocks MB1 to MB4.
The waveform data written at the first time remains.

【0048】したがって、メモリブロックMB1〜MB
4に記録されている波形先頭部分については、後に直接
エディットしたり、再生することが可能である。波形の
先頭部分は、波形の立ち上がり部(アタック部)であ
り、エディットを行いたいという要求が多い部分であ
る。
Therefore, the memory blocks MB1 to MB
4 can be directly edited or reproduced later. The leading portion of the waveform is a rising portion (attack portion) of the waveform, and is a portion that is frequently requested to be edited.

【0049】また、波形先頭部分は、波形データの再生
を開始する際に必ずメモリブロック(波形RAM)上に
記憶されておかなければならない。再生は、ディスク媒
体8に記憶されている波形データについて直接行うこと
ができず、一旦ディスク媒体8から波形RAMに波形デ
ータをロードする必要がある。サンプリングモードDで
は、必ず波形データの先頭部分がメモリブロックMB1
〜MB4に残るので、エディットや再生等の際に有利で
ある。
The waveform head must be stored in a memory block (waveform RAM) when the reproduction of waveform data is started. Reproduction cannot be performed directly on the waveform data stored in the disk medium 8, and the waveform data must be temporarily loaded from the disk medium 8 into the waveform RAM. In the sampling mode D, the head of the waveform data is always the memory block MB1.
~ MB4, which is advantageous for editing and reproduction.

【0050】図10は、サンプリングモードEにおける
書込カウント値WCと転送カウント値TCを示す。時刻
tE1において、マイク12からの録音が開始すると、
サンプリングモードCと同様に、書込カウント値WCの
増加によりメモリブロックMB1〜MB6への波形デー
タの書き込みが開始し、転送カウント値TCに応じてメ
モリブロックMB1〜MB6からディスク媒体8への波
形データ転送が行われる。
FIG. 10 shows the write count value WC and the transfer count value TC in the sampling mode E. At the time tE1, when recording from the microphone 12 starts,
As in the sampling mode C, the writing of the waveform data to the memory blocks MB1 to MB6 starts due to the increase in the write count value WC, and the waveform data from the memory blocks MB1 to MB6 to the disk medium 8 according to the transfer count value TC. A transfer is performed.

【0051】時刻tE2において、メモリブロックMB
6が一杯になった後は、サンプリングモードCと異な
り、書込カウント値WCと転送カウント値TCは、メモ
リブロックMB1に対応するカウント値にリセットされ
る。その後、波形データは、メモリブロックMB1とM
B2に交互に書き込まれ、ディスク媒体8への転送も交
互に行われる。
At time tE2, memory block MB
After 6 is full, unlike the sampling mode C, the write count value WC and the transfer count value TC are reset to the count values corresponding to the memory block MB1. After that, the waveform data is stored in the memory blocks MB1 and M1.
B2 is alternately written, and transfer to the disk medium 8 is alternately performed.

【0052】サンプリングモードD,Eは、共に2つの
メモリブロックを使用する。サンプリングモードDは、
終わりの2つのメモリブロックMB5とMB6を交互に
使用し、サンプリングモードEは、初めの2つのメモリ
ブロックMB1とMB2を交互に使用する。
The sampling modes D and E both use two memory blocks. Sampling mode D is
The last two memory blocks MB5 and MB6 are used alternately, and the sampling mode E uses the first two memory blocks MB1 and MB2 alternately.

【0053】その状態で残りのメモリブロックMB3〜
MB6を解放すれば、解放された空き領域を利用して時
分割で別のチャンネル(CH)の録音又は再生を行なう
こともできる。
In that state, the remaining memory blocks MB3 to MB3 to
If MB6 is released, recording or reproduction of another channel (CH) can be performed in a time-division manner using the released free space.

【0054】図11は、サンプリングモードFにおける
書込カウント値WCと転送カウント値TCを示す。時刻
tF1において、マイク12からの録音が開始すると、
5つのメモリブロックMB1〜MB5に順次書き込まれ
る。メモリブロックMB1〜MB5が一杯になると、転
送カウンタ10の時間計測により転送カウント値TCが
カウントされ、5つのメモリブロックMB1〜MB5の
波形データがまとめてディスク媒体8に転送される。メ
モリブロックMB1〜MB5に波形データが書き込まれ
た後は、続いてメモリブロックMB6に波形データが書
き込まれる。メモリブロックMB6が一杯になると、転
送カウント値TCがカウントされ、メモリブロックMB
6からディスク媒体8へ波形データが転送される。
FIG. 11 shows the write count value WC and the transfer count value TC in the sampling mode F. At time tF1, when recording from the microphone 12 starts,
The data is sequentially written to the five memory blocks MB1 to MB5. When the memory blocks MB1 to MB5 become full, the transfer count value TC is counted by the time measurement of the transfer counter 10, and the waveform data of the five memory blocks MB1 to MB5 is transferred to the disk medium 8 collectively. After the waveform data is written to the memory blocks MB1 to MB5, the waveform data is subsequently written to the memory block MB6. When the memory block MB6 is full, the transfer count value TC is counted, and
6 to the disk medium 8.

【0055】時刻tF2において、メモリブロックMB
6が一杯になった後は、書込カウント値WCと転送カウ
ント値TCは、メモリブロックMB1に対応するカウン
ト値にリセットされる。その後、波形データは、メモリ
ブロックMB1とMB2に交互に書き込まれ、ディスク
媒体8への転送も交互に行われる。
At time tF2, memory block MB
After 6 is full, the write count value WC and the transfer count value TC are reset to the count values corresponding to the memory block MB1. Thereafter, the waveform data is alternately written to the memory blocks MB1 and MB2, and the transfer to the disk medium 8 is also performed alternately.

【0056】サンプリングモードFでは、最初の5つの
メモリブロックMB1〜MB5に対しては、メモリブロ
ック毎のデータ転送を行わずに、5つのメモリブロック
MB1〜MB5の波形データをまとめてデータ転送する
ので、データ転送の回数を減らすことができる。
In the sampling mode F, the waveform data of the five memory blocks MB1 to MB5 are collectively transferred to the first five memory blocks MB1 to MB5 without performing the data transfer for each memory block. In addition, the number of data transfers can be reduced.

【0057】なお、以上の転送カウント値TCは、それ
ぞれのサンプリングモードに応じた所定の時間間隔でカ
ウントされるので、バッファBA1,BA2またはメモ
リブロックMB1〜MB6が一杯になる前にサンプリン
グ録音が終了しても、ディスク媒体8へのデータ転送は
正常に行われる。
Since the transfer count value TC is counted at a predetermined time interval according to each sampling mode, sampling and recording are completed before the buffers BA1, BA2 or the memory blocks MB1 to MB6 become full. Even so, data transfer to the disk medium 8 is performed normally.

【0058】次に、3つのサンプリングモードA,B,
Cを有する波形記録再生装置の制御を行うCPUの処理
を説明する。図12は、CPUが行うメインルーチンの
処理を示すフローチャートである。
Next, three sampling modes A, B,
The processing of the CPU that controls the waveform recording / reproducing apparatus having C will be described. FIG. 12 is a flowchart showing the processing of the main routine performed by the CPU.

【0059】ステップS1では、RAM6(図1)に備
えられているレジスタの初期化等の初期設定を行う。ス
テップS2では、MIDI処理を行う。MIDI処理と
は、図1のMIDI入出力インターフェース1に入出力
されるMIDI信号に対しての処理である。例えば、M
IDI入出力インターフェース1に鍵盤を接続すること
により、所定の音高の波形データを再生させるためのM
IDI信号を入力することができる。
In step S1, initialization such as initialization of a register provided in the RAM 6 (FIG. 1) is performed. In step S2, a MIDI process is performed. The MIDI processing is processing for a MIDI signal input / output to / from the MIDI input / output interface 1 of FIG. For example, M
By connecting a keyboard to the IDI input / output interface 1, an M for reproducing waveform data of a predetermined pitch
An IDI signal can be input.

【0060】ステップS3では、動作モード制御を行
う。例えば、動作モードを指定するためのスイッチが図
1のパネルスイッチ2に設けられている。動作モードに
は、波形サンプリング、波形エディット、ボイス作成等
のモードがある。スイッチ操作により動作モードが指定
されると、指定された動作モードに対応する番号がレジ
スタDMに格納される。
In step S3, operation mode control is performed. For example, a switch for designating an operation mode is provided in the panel switch 2 of FIG. The operation modes include modes such as waveform sampling, waveform editing, and voice creation. When an operation mode is designated by a switch operation, a number corresponding to the designated operation mode is stored in the register DM.

【0061】ステップS4では、動作モードレジスタD
Mをチェックすることにより、どの動作モードが指定さ
れたのかを調べる。波形サンプリングの動作モードが指
定されていれば、ステップS5へ進む。ステップS5で
は、波形サンプリングの処理を行う。波形サンプリング
は、サンプリングモードA,B,Cに応じて、マイク1
2から入力される楽音波形を波形データとして、波形R
AM14またはディスク媒体8に記録する。詳細は、後
にフローチャートを参照しながら説明する。波形サンプ
リング処理が終了すると、ステップS2へ戻り、処理を
繰り返す。
In step S4, the operation mode register D
By checking M, it is checked which operation mode has been designated. If the operation mode of the waveform sampling has been designated, the process proceeds to step S5. In step S5, a waveform sampling process is performed. The waveform sampling is performed by the microphone 1 according to the sampling modes A, B, and C.
The waveform R obtained by using the tone waveform input from
The information is recorded on the AM 14 or the disk medium 8. Details will be described later with reference to a flowchart. When the waveform sampling process ends, the process returns to step S2, and the process is repeated.

【0062】ステップS4において、波形エディットの
動作モードが指定されていれば、ステップS6へ進む。
ステップS6では、波形エディットの処理を行う。波形
エディットは、主に波形RAM14上の波形データに対
して行う。例えば、波形を切り取ったり、他の波形とつ
なげたり、混合、フィルタ処理、波形圧縮等の加工を行
うことができる。波形エディットの処理が終了すると、
ステップS2へ戻り、処理を繰り返す。
If it is determined in step S4 that the operation mode for waveform editing has been designated, the flow advances to step S6.
In step S6, a waveform editing process is performed. The waveform editing is mainly performed on the waveform data on the waveform RAM 14. For example, waveforms can be cut out, connected to other waveforms, and processing such as mixing, filtering, and waveform compression can be performed. When the waveform editing process is completed,
Returning to step S2, the process is repeated.

【0063】ステップS4において、ボイス作成の動作
モードが指定されていれば、ステップS7へ進む。ステ
ップS7では、ボイス作成の処理を行う。ボイス作成と
は、MIDI入出力インターフェース1に入力されるM
IDI信号に応じて、PCM音源15で楽音の生成を行
う際に必要なボイスデータを作成する。ボイスデータ
は、音色を制御するためのデータであり、発音音域を複
数に分けたときに、各音域において用いるディスク媒体
8上又は波形RAM14上の波形データを指示するため
のデータをも含む。ボイス作成の処理が終了すると、ス
テップS2へ戻り、処理を繰り返す。
If it is determined in step S4 that the operation mode for voice creation has been designated, the flow advances to step S7. In step S7, a voice creation process is performed. Voice creation refers to M input to the MIDI input / output interface 1.
In accordance with the IDI signal, voice data necessary for generating a tone with the PCM sound source 15 is created. The voice data is data for controlling the timbre, and also includes data for instructing the waveform data on the disk medium 8 or the waveform RAM 14 to be used in each tone range when the tone range is divided into a plurality. When the voice creation process ends, the process returns to step S2, and the process is repeated.

【0064】ステップS4において、以上の動作モード
を除く、その他のモードが指定されていれば、ステップ
S8へ進む。ステップS8では、その他処理を行う。そ
の他処理とは、例えばステップS5においてサンプリン
グ録音した波形データを、波形RAM14とディスク媒
体8の間でセーブまたはロードしたり、ステップS7に
おいて作成したボイスデータを、波形RAM14とディ
スク媒体8の間でセーブまたはロードしたり、サンプリ
ング波形を自動伴奏等と同期演奏するためのデータを作
成したり、等の処理を行う。その他処理が終了すると、
ステップS2へ戻り、処理を繰り返す。
In step S4, if any other mode is designated except for the above operation mode, the process proceeds to step S8. In step S8, other processing is performed. The other processing includes, for example, saving or loading the waveform data sampled and recorded in step S5 between the waveform RAM 14 and the disk medium 8, and saving the voice data created in step S7 between the waveform RAM 14 and the disk medium 8. Alternatively, processing such as loading or creating data for performing the sampling waveform in synchronization with the automatic accompaniment or the like is performed. When other processing is completed,
Returning to step S2, the process is repeated.

【0065】図13は、図12のステップS5の波形サ
ンプリング処理において、パネルスイッチ2でサンプリ
ング実行が指示された時に実行されるイベントルーチン
の詳細を示すフローチャートである。
FIG. 13 is a flowchart showing details of an event routine executed when sampling execution is instructed by the panel switch 2 in the waveform sampling processing in step S5 in FIG.

【0066】ステップS11では、波形名を入力し、こ
れからサンプリング録音する楽音波形に名称を付与す
る。波形名の入力は、パネルスイッチ2の操作により行
う。入力された波形名は、レジスタWNに格納される。
後に、波形名WNとサンプリング録音される波形データ
は、対応付けて波形RAM14またはディスク媒体8に
記録される。
In step S11, a waveform name is input, and a name is given to a musical tone waveform to be sampled and recorded. The input of the waveform name is performed by operating the panel switch 2. The input waveform name is stored in the register WN.
Later, the waveform name WN and the waveform data to be sampled and recorded are recorded in the waveform RAM 14 or the disk medium 8 in association with each other.

【0067】ステップS12では、サンプリングモード
を入力する。入力は、パネルスイッチ1を用いて、3つ
のサンプリングモードA,B,Cの内の1つを選択する
ことにより行う。入力されたサンプリングモードは、レ
ジスタSMに格納される。
In step S12, a sampling mode is input. Input is performed by selecting one of the three sampling modes A, B, and C using the panel switch 1. The input sampling mode is stored in the register SM.

【0068】ステップS13では、サンプリングモード
SMを調べる。サンプリングモードがAであれば、ステ
ップS14へ進む。ステップS14では、図3に示した
ように、波形RAM14に空き領域VAを確保し、マイ
ク12からサンプリング入力された波形データを記録す
る。その後、図12のメインルーチンの処理に戻る。
In step S13, the sampling mode SM is checked. If the sampling mode is A, the process proceeds to step S14. In step S14, as shown in FIG. 3, an empty area VA is secured in the waveform RAM 14, and the waveform data sampled and input from the microphone 12 is recorded. Thereafter, the process returns to the main routine of FIG.

【0069】サンプリングモードがBであれば、ステッ
プS15へ進む。ステップS15では、図4に示したよ
うに、波形RAM14に確保された2つのバッファBA
1,BA2を使用して、サンプリング入力された波形デ
ータをディスク媒体8に記録する。その後、図12のメ
インルーチンの処理へ戻る。
If the sampling mode is B, the process proceeds to step S15. In step S15, as shown in FIG. 4, the two buffers BA secured in the waveform RAM 14 are used.
The sampled and input waveform data is recorded on the disk medium 8 by using 1 and BA2. Thereafter, the process returns to the main routine of FIG.

【0070】サンプリングモードがCであれば、ステッ
プS16へ進む。ステップS16では、図5に示したよ
うに、波形RAM14に確保された空き領域VAに波形
データを記憶し、所定の間隔で、メモリブロック毎に波
形データをディスク媒体8に転送する。その後、ステッ
プS17へ進む。
If the sampling mode is C, the process proceeds to step S16. In step S16, as shown in FIG. 5, the waveform data is stored in the free space VA secured in the waveform RAM 14, and the waveform data is transferred to the disk medium 8 at predetermined intervals for each memory block. Thereafter, the process proceeds to step S17.

【0071】ステップS17では、空き領域VAに波形
データが納まったか否かをチェックする。波形データが
納まっていれば、ステップS19へ進み、転送されたデ
ィスク媒体8上の波形データを消去し、波形RAM14
上の波形データのみを残す。一方、波形データが空き領
域VAに納まっていなければ、ステップS18へ進み、
波形RAM14上の波形データを消去し、ディスク媒体
8に転送された波形データのみを残す。その後、図12
のメインルーチンの処理に戻る。
In step S17, it is checked whether or not the waveform data has been stored in the empty area VA. If the waveform data has been stored, the process proceeds to step S19, where the transferred waveform data on the disk medium 8 is deleted, and the waveform RAM 14
Only the upper waveform data is left. On the other hand, if the waveform data does not fall within the empty area VA, the process proceeds to step S18,
The waveform data on the waveform RAM 14 is deleted, and only the waveform data transferred to the disk medium 8 remains. Then, FIG.
The process returns to the main routine.

【0072】以上のように、本実施例による波形記録再
生装置は、3つのサンプリングモードA,B,Cを有す
る。サンプリングモードAは、波形RAM14にサンプ
リング録音された波形データを記録し、サンプリングモ
ードBは、ディスク媒体8に波形データを記録し、サン
プリングモードCは、波形RAM14またはディスク媒
体8のいずれかを自動的に選択する。サンプリング録音
される楽音波形が短いときには、波形RAM14が選択
され、楽音波形が長いときには、ディスク媒体8が選択
される。
As described above, the waveform recording / reproducing apparatus according to the present embodiment has three sampling modes A, B, and C. The sampling mode A records waveform data recorded by sampling in the waveform RAM 14, the sampling mode B records waveform data on the disk medium 8, and the sampling mode C automatically records either the waveform RAM 14 or the disk medium 8. To choose. When the musical tone waveform to be sampled and recorded is short, the waveform RAM 14 is selected, and when the musical tone waveform is long, the disk medium 8 is selected.

【0073】いずれか一方を残し、他方を消去するた
め、波形RAM14及びディスク媒体8における無駄を
省き、その後の録音のために最大限の空き領域を残して
録音を終了できる。
Since one of them is left and the other is erased, waste in the waveform RAM 14 and the disk medium 8 can be eliminated, and the recording can be ended while leaving the maximum free space for the subsequent recording.

【0074】なお、サンプリングモードCにおいて、楽
音波形が短いときには、ディスク媒体8上の波形データ
を消去し、波形RAM14上の波形データのみを残す場
合について説明したが、波形RAM14上の波形データ
をいずれディスク媒体8にセーブするのであれば、ディ
スク媒体8に転送された波形データを消去せずに、残す
ようにしてもよい。
In the sampling mode C, when the tone waveform is short, the waveform data on the disk medium 8 is erased and only the waveform data on the waveform RAM 14 is left. If the waveform data is saved on the disk medium 8, the waveform data transferred to the disk medium 8 may be left without being erased.

【0075】ディスク媒体8に録音した長い波形データ
を録音後直ちにエディットしたい場合は、波形RAM1
4上に残っているデータを使用できるし、短い波形デー
タでも波形RAM14上で試発音を行なった後、直ちに
セーブする場合もあるからである。
If it is desired to edit the long waveform data recorded on the disk medium 8 immediately after recording, the waveform RAM 1
4 can be used, and even short waveform data may be saved immediately after trial sound generation on the waveform RAM 14.

【0076】また、楽音波形が長いときには、波形RA
M14上の波形データを消去し、ディスク媒体8上の波
形データのみを残す場合について説明したが、波形RA
M14上の波形データを消去せずに残しておけば、ディ
スク媒体8上の波形データのダイレクト再生用のスター
ト波形として利用したり、ディスク媒体8中の波形デー
タのエディット用バッファとして使用することもでき
る。
When the tone waveform is long, the waveform RA
The case where the waveform data on M14 is erased and only the waveform data on the disk medium 8 is left has been described.
If the waveform data on M14 is left without being erased, it can be used as a start waveform for direct reproduction of the waveform data on the disk medium 8 or used as a buffer for editing the waveform data on the disk medium 8. it can.

【0077】波形RAM14とディスク媒体8の両方に
波形データを残した場合には、後にいずれか一方を消去
するか否かを操作者に選択させるようにしてもよい。以
上実施例に沿って本発明を説明したが、本発明はこれら
に制限されるものではない。例えば、種々の変更、改
良、組み合わせ等が可能なことは当業者に自明であろ
う。
When the waveform data is left in both the waveform RAM 14 and the disk medium 8, the operator may be allowed to select whether to erase one of them later. Although the present invention has been described with reference to the embodiments, the present invention is not limited thereto. For example, it will be apparent to those skilled in the art that various modifications, improvements, combinations, and the like can be made.

【0078】[0078]

【発明の効果】以上説明したように、本発明によれば、
波形記録再生装置の外部に大容量記憶装置を接続すれ
ば、記憶媒体と外部大容量記憶装置の両方に波形データ
を記憶させることができる。また、サンプリング録音さ
れる波形データのデータ量等に応じて、記憶媒体と外部
大容量記憶装置のいずれかにのみ波形データを残すこと
も可能である。
As described above, according to the present invention,
If a large-capacity storage device is connected outside the waveform recording / reproducing device, the waveform data can be stored in both the storage medium and the external large-capacity storage device. Further, it is possible to leave the waveform data only in one of the storage medium and the external large-capacity storage device according to the data amount of the waveform data to be sampled and recorded.

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

【図1】 本発明の実施例による波形記録再生装置の全
体構成図である。
FIG. 1 is an overall configuration diagram of a waveform recording / reproducing apparatus according to an embodiment of the present invention.

【図2】 波形RAMの構成を示す概略図である。FIG. 2 is a schematic diagram showing a configuration of a waveform RAM.

【図3】 サンプリングモードAにおける波形RAMの
空き領域VAを示す概略図である。。
FIG. 3 is a schematic diagram showing an empty area VA of a waveform RAM in a sampling mode A; .

【図4】 サンプリングモードBにおける波形RAMの
空き領域VAを示す概略図である。
FIG. 4 is a schematic diagram showing an empty area VA of a waveform RAM in a sampling mode B;

【図5】 サンプリングモードCにおける波形RAMの
空き領域VAを示す概略図である。
FIG. 5 is a schematic diagram showing an empty area VA of a waveform RAM in a sampling mode C;

【図6】 サンプリングモードAにおける書込カウンタ
のカウント値WCを示す。
FIG. 6 shows a count value WC of a write counter in a sampling mode A.

【図7】 サンプリングモードBにおける書込カウンタ
のカウント値WCと転送カウンタのカウント値TCを示
す。
FIG. 7 shows a count value WC of a write counter and a count value TC of a transfer counter in a sampling mode B.

【図8】 サンプリングモードCにおける書込カウンタ
のカウント値WCと転送カウンタのカウント値TCを示
す。
FIG. 8 shows the count value WC of the write counter and the count value TC of the transfer counter in the sampling mode C.

【図9】 サンプリングモードDにおける書込カウント
値WCと転送カウント値TCを示す。
FIG. 9 shows a write count value WC and a transfer count value TC in a sampling mode D.

【図10】 サンプリングモードEにおける書込カウン
ト値WCと転送カウント値TCを示す。
FIG. 10 shows a write count value WC and a transfer count value TC in a sampling mode E.

【図11】 サンプリングモードFにおける書込カウン
ト値WCと転送カウント値TCを示す。
FIG. 11 shows a write count value WC and a transfer count value TC in a sampling mode F.

【図12】 CPUが行うメインルーチンの処理を示す
フローチャートである。
FIG. 12 is a flowchart illustrating processing of a main routine performed by a CPU.

【図13】 図12のステップS5における波形サンプ
リング処理の詳細を示すフローチャートである。
FIG. 13 is a flowchart showing details of a waveform sampling process in step S5 of FIG.

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

1 MIDI入出力インターフェース、 2 パネル
スイッチ、 3 表示器、 4 CPU、 5
ROM、 6 RAM、 7 ディスクドライブ、
8 ディスク媒体、 9 ダイレクトメモリアク
セス(DMA)回路、 10 転送カウンタ、 1
1 書込カウンタ、 12 マイク、13 アクセス
制御回路、 14 波形RAM、 15 PCM音
源、16 サウンドシステム、 17 バス、 O
A 録音済領域、 VA 空き領域、 BA バッ
ファ、 MB メモリブロック
1 MIDI input / output interface, 2 panel switch, 3 display, 4 CPU, 5
ROM, 6 RAM, 7 disk drive,
8 disk medium, 9 direct memory access (DMA) circuit, 10 transfer counter, 1
1 write counter, 12 microphone, 13 access control circuit, 14 waveform RAM, 15 PCM sound source, 16 sound system, 17 bus, O
A Recorded area, VA free area, BA buffer, MB memory block

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G10H 7/00 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) G10H 7/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 波形データを記憶することができる空き
領域(VA)を有する記憶媒体(14)と、 大容量の外部記憶装置と、 前記記憶媒体中の空き領域のサイズに応じて、該空き領
域に可変複数ブロック数のメモリブロックを領域指定す
る領域指定手段と、 前記領域指定手段により指定される複数のメモリブロッ
クに外部から入力される波形データを順次記録しつつ、
各メモリブロックヘの記録が終了した後に該メモリブロ
ックに記憶されている波形データをメモリブロック単位
で前記外部記憶装置へ転送するメモリアクセス手段
(9)であり、前記外部から入力される波形データが前
記複数のメモリブロックに書込まれ前記複数のメモリブ
ロックが一杯になった後は、続いて入力される波形デー
タを前記複数のメモリブロックの一部ないし全部のメモ
リブロックに順次上書きしつつ、各メモリブロックヘの
上書きが終了した後に該メモリブロックに記憶されてい
る波形データをメモリブロック単位で前記外部記憶装置
に転送するための前記メモリアクセス手段(9)と、 前記入力される波形データが前記複数メモリブロックの
容量より大きいか否かを判定し、小さい場合には前記複
数メモリブロックに記憶された波形データを残し、大き
い場合には前記外部記憶装置に転送された波形データを
残すように制御する記録先選択手段とを有する波形記録
再生装置。
1. A storage medium (14) having a free area (VA) capable of storing waveform data, a large-capacity external storage device, and a free space according to the size of the free area in the storage medium. Area specifying means for specifying a plurality of variable number of memory blocks in the area, and while sequentially recording waveform data input from the outside to the plurality of memory blocks specified by the area specifying means,
Memory access means (9) for transferring the waveform data stored in each memory block to the external storage device in units of memory blocks after the recording in each memory block is completed; After being written to the plurality of memory blocks and filling the plurality of memory blocks, each of the plurality of memory blocks is sequentially overwritten with subsequently input waveform data in part or all of the plurality of memory blocks. The memory access means (9) for transferring the waveform data stored in the memory block to the external storage device in memory block units after the overwriting of the memory block is completed; It is determined whether the capacity is larger than the capacity of the plurality of memory blocks. A recording / reproducing apparatus having a recording destination selecting means for controlling the recorded waveform data to be retained and, when large, to retain the waveform data transferred to the external storage device.
【請求項2】 波形データを記憶することができる空き
領域(VA)を有する記憶媒体(14)と、 前記記憶媒体中の空き領域のサイズに応じて、該空き領
域に可変複数ブロック数のメモリブロックを領域指定す
る第1の領域指定手段と、 前記記憶媒体に固定複数ブロック数のメモリブロックを
指定する第2の領域指定手段と、 前記第1または第2の領域指定手段のいずれかのモード
を指定するためのモード指定手段と、 前記モード指定手段により指定される第1または第2の
領域指定手段のいずれかにより領域指定される複数のメ
モリブロックに外部から入力される波形データを順次記
録しつつ、各メモリブロックへの記録が終了した後に該
メモリブロックに記憶されている波形データをメモリブ
ロック単位で外部に転送出力するためのメモリアクセス
手段(9)とを有する波形記録再生装置。
2. A storage medium having a free area (VA) capable of storing waveform data, and a memory having a variable number of blocks in the free area according to the size of the free area in the storage medium. A first area designating unit for designating a block, a second area designating unit for designating a fixed number of memory blocks in the storage medium, and a mode of the first or second area designating unit Mode designating means for designating, and waveform data inputted from the outside are sequentially recorded in a plurality of memory blocks designated by one of the first and second region designation means designated by the mode designation means. To transfer and output the waveform data stored in each memory block to the outside after the recording in each memory block is completed. Mori access means (9) and a waveform recording and reproducing apparatus having a.
【請求項3】 波形データを記憶することができる空き
領域(VA)を有する記憶媒体(14)と、 大容量の外部記憶装置と、 前記記憶媒体中の空き領域のサイズに応じて、該空き領
域に1秒以上の波形データ録音するための録音領域を指
定する領域指定手段と、 録音すべき波形データを入力する入力手段と、 前記領域指定手段により指定される録音領域に前記入力
手段から入力される波形データを順次記録し、該録音領
域が一杯になった後は、前記記憶媒体の前記録音領域に
順次記憶される波形データを、前記録音領域の全部ない
し一部を転送バッファとして利用しつつ、前記外部記憶
装置へ転送するメモリアクセス手段(9)と、 前記録音すべき波形データの入力が終了した後、前記波
形データが前記録音領域の容量より大きいか否かを判定
し、小さい場合には前記録音領域に記憶された波形デー
タを残し、大きい場合には前記外部記憶装置に転送され
た波形データを残すように制御する記録先選択手段とを
有する波形記録再生装置。
3. A storage medium (14) having a free area (VA) capable of storing waveform data, a large-capacity external storage device, and the free space according to the size of the free area in the storage medium. Area designating means for designating a recording area for recording waveform data of 1 second or more in an area, input means for inputting waveform data to be recorded, and inputting from the input means to a recording area designated by the area designating means The recording data is sequentially recorded, and after the recording area is full, the waveform data sequentially stored in the recording area of the storage medium is used by using all or a part of the recording area as a transfer buffer. A memory access means for transferring the waveform data to the external storage device, and determining whether the waveform data is larger than the capacity of the recording area after the input of the waveform data to be recorded is completed. A recording destination selecting means for controlling to leave the waveform data stored in the recording area if it is smaller and to leave the waveform data transferred to the external storage device if it is larger. .
JP6237755A 1994-09-30 1994-09-30 Waveform recording / reproducing device Expired - Fee Related JP3045018B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6237755A JP3045018B2 (en) 1994-09-30 1994-09-30 Waveform recording / reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6237755A JP3045018B2 (en) 1994-09-30 1994-09-30 Waveform recording / reproducing device

Publications (2)

Publication Number Publication Date
JPH08101688A JPH08101688A (en) 1996-04-16
JP3045018B2 true JP3045018B2 (en) 2000-05-22

Family

ID=17019984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6237755A Expired - Fee Related JP3045018B2 (en) 1994-09-30 1994-09-30 Waveform recording / reproducing device

Country Status (1)

Country Link
JP (1) JP3045018B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005035407A1 (en) * 2005-07-28 2007-02-15 Robert Bosch Gmbh Data processor, for internal combustion engine, forms data block by grouping sampling values of knock sensing signals and sends data block to computer

Also Published As

Publication number Publication date
JPH08101688A (en) 1996-04-16

Similar Documents

Publication Publication Date Title
US5499316A (en) Recording and reproducing system for selectively reproducing portions of recorded sound using an index
US6094693A (en) Information recording apparatus using erasure units
JPH04285764A (en) Digital recorder
JPH05173897A (en) Recorder and reproducer
US6437228B2 (en) Method and apparatus for storing audio data
JP3615299B2 (en) Rewriteable ROM storage method and storage device
US5530898A (en) Digital recorder for storing audio data on tracks with specific operation modes inputted manually where soundless portion data is inserted based on respective operation modes
US6625627B2 (en) Recording apparatus and recording method, reproducing apparatus and reproducing method, and recording medium
US6272568B1 (en) Method for recording information on a memory
JP2819948B2 (en) Music signal recording and playback device
JP3045018B2 (en) Waveform recording / reproducing device
US5559779A (en) Digital audio recorder using external memory medium and leading portion audio data memory
JPH08335075A (en) Music system, sound source, and musical sound compositing method
JP2916533B2 (en) Digital multi-track recorder
JP3230756B2 (en) Digital recorder
JPH06203534A (en) File management system for electronic musical instrument
JP2798077B2 (en) Sound source device for electronic musical instruments
JPS62994A (en) Pcm voice signal memory
JP4055784B2 (en) Multitrack playback device
JP3005807B2 (en) Waveform recorder
JPH04117688A (en) Digital recorder
KR100470332B1 (en) Apparatus of voice guiding by VHDL
JPH04212767A (en) Digital recorder
JP3770030B2 (en) Recording / playback device
JPS60181830A (en) Sound editing device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000215

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

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees