JPH08101688A - Waveform recording and reproducing device - Google Patents

Waveform recording and reproducing device

Info

Publication number
JPH08101688A
JPH08101688A JP6237755A JP23775594A JPH08101688A JP H08101688 A JPH08101688 A JP H08101688A JP 6237755 A JP6237755 A JP 6237755A JP 23775594 A JP23775594 A JP 23775594A JP H08101688 A JPH08101688 A JP H08101688A
Authority
JP
Japan
Prior art keywords
waveform
waveform data
memory
data
recording
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
JP6237755A
Other languages
Japanese (ja)
Other versions
JP3045018B2 (en
Inventor
Fumitomo Konno
文智 今野
Osamu Oshima
治 大島
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)

Abstract

PURPOSE: To provide a waveform recording and reproducing device which can automatically select a waveform memory or a mass-storage external storage device such as a disk and record a musical tone waveform to be recorded according to the time length of the musical tone waveform as to waveform recording and reproducing device which can sample and record a musical sound waveform and reproduce it as a waveform for a musical performance. CONSTITUTION: This device is equipped with a storage medium 14 which has a free area where waveform data can be stored, an area specifying means which specifies memory blocks as many as plural variable blocks in the free area according to the size of the free area of the storage medium, and a memory access means 9 which records externally inputted waveform data in the memory blocks specified by the area specifying means in order and transfers the waveform data stored in the memory blocks to the outside in memory block units after the data are recorded in the respective memory blocks.

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 / reproducing apparatus capable of sampling and recording a musical tone waveform and reproducing it as a performance waveform.

【0002】[0002]

【従来の技術】波形記録再生装置には、いわゆるサンプ
ラーと呼ばれる電子楽器がある。サンプラーは、入力さ
れた楽音波形をサンプリング処理することによりディジ
タル波形として波形メモリに書き込み、波形の記録を行
う。そして、波形メモリに記録された波形データに基づ
いて波形を再生することにより楽音を生成する。
2. Description of the Related Art A waveform recording / reproducing apparatus includes an electronic musical instrument called a sampler. The sampler performs sampling processing of the input musical tone waveform, writes it as a digital waveform in the waveform memory, and records the waveform. Then, a musical sound 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. , It becomes impossible to record all waveform data. Therefore, when recording a musical tone waveform for a long time, an external storage device such as a disk capable of recording a large amount of data is used.

【0004】[0004]

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

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

【0006】本発明の目的は、録音する楽音波形の時間
長に応じて、波形メモリまたはディスク等の大容量外部
記憶装置のいずれかを自動的に選択して記録することが
できる波形記録再生装置を提供することである。
An object of the present invention is to provide a waveform recording / reproducing apparatus capable of automatically selecting and recording 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. Is to provide.

【0007】[0007]

【課題を解決するための手段】本発明の波形記録再生装
置は、波形データを記憶することができる空き領域を有
する記憶媒体と、記憶媒体中の空き領域のサイズに応じ
て、該空き領域に可変複数ブロック数のメモリブロック
を領域指定する領域指定手段と、前記領域指定手段によ
り領域指定される複数のメモリブロックに外部から入力
される波形データを順次記録しつつ、各メモリブロック
への記録が終了した後に該メモリブロックに記憶されて
いる波形データをメモリブロック単位で外部に転送出力
するためのメモリアクセス手段とを有する。
A waveform recording / reproducing apparatus of the present invention has a storage medium having a free area in which waveform data can be stored, and an empty area in the storage medium depending on the size of the free area. Area specifying means for specifying a memory block of a variable number of blocks, and waveform data inputted from the outside to the plurality of memory blocks area specified by the area specifying means are sequentially recorded, and recording to each memory block is performed. And a memory access unit for transferring and outputting the waveform data stored in the memory block to the outside in a memory block unit after the end.

【0008】[0008]

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

【0009】[0009]

【実施例】図1は、本発明の実施例による波形記録再生
装置の全体構成図である。ROM5は、演算プログラム
を記憶している。CPU4は、ROM5に記憶されてい
る演算プログラムに従って、RAM6に備えられたワー
キングメモリを用いて各種演算を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 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 a calculation 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 a ROM via the bus 17.
5, the MIDI input / output interface 1, the panel switch 2, the display 3, the disk drive 7, the direct memory access (DMA) circuit 9, the access control circuit 13, and the PCM tone generator 15 are controlled in addition to the RAM 5 and the RAM 6.

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

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

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

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

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

【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 amount of 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 according to the waveform data of the input musical sound and records the recorded waveform R.
Designate an address on the AM 14. 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 buffer is full, the transfer counter 10 in the DMA circuit 9 thereafter counts. When the transfer counter 10 is counted, 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 starting to store the waveform data in the buffer, and counts a transfer count value after a lapse of time when the buffer is full.

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

【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. Then, during that time, the transfer counter 10 counts at a predetermined interval to transfer the waveform data 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 tone waveform input from the microphone 12 is stored in the waveform RAM 14, the CPU
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, when 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 erases the waveform data recorded in the waveform RAM 14 and transfers the waveform data transferred to the disk medium 8. Leave only. That is, when the waveform data has a large volume,
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
A keyboard, for example, can be connected as an external device. By operating the keys on the keyboard, the MIDI signal becomes MID.
It is input to the I input / output interface 1 and can be instructed to reproduce the waveform data. The CPU 4 can instruct the PCM tone generator 15 to sound or mute a predetermined pitch according to the MIDI signal input to the MIDI input / output interface 1.

【0025】PCM音源15は、アクセス制御回路13
を介して、波形RAM14に記憶されている波形データ
を音高変換およびD/A変換して、所定の音高の楽音信
号をサウンドシステム16に供給する。サウンドシステ
ム16は、供給された楽音信号の発音を行う。
The PCM tone generator 15 has an access control circuit 13
The tone waveform signal stored in the waveform RAM 14 is subjected to the pitch conversion and the D / A conversion via the, and the musical tone signal having a predetermined pitch is supplied to the sound system 16. The sound system 16 sounds the supplied musical 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 flows do not collide. The three types of waveform data flows include recording of 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 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 a switch for switching the sampling modes A, B and C and a switch for selecting one of a plurality of waveform data in the waveform RAM 14 which the PCM sound source 15 reads. The display 3 displays the state of the designated sampling mode and the like.

【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 an empty area VA. When recording from the microphone 12, the empty area VA is used. The usage of the free area VA 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 musical tone waveform data 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 normally recorded. On the other hand, when the amount of input waveform data is larger than the free area VA, the portion behind the waveform data is cut off.

【0030】図4は、サンプリングモードBにおける波
形RAMの空き領域VAを示す。空き領域VAは、2つ
のバッファBA1,BA2を有する。バッファメモリ
は、例えばバッファBA1,BA2の2個の固定バッフ
ァである。
FIG. 4 shows an empty area 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 musical tone waveform data input from the microphone 12 is first recorded in the buffer BA1. When the buffer BA1 is full, the waveform data is transferred from the buffer BA1 to the disk medium 8 (FIG. 1). Buffer BA
After 1 is 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. After that, similarly, the buffers BA1 and BA2 are alternately used to record the waveform data on the disk medium 8.

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

【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 an empty 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 have to be six, and is controlled by a variable number of blocks according to the size of the free area VA. Practically, it is desirable to prepare blocks for at least several seconds. For example, by recording a waveform with a sampling frequency of 48 kHz as 1 block of 4 kbytes for 1 second (4
8k × 2) / 4k = 24 (pieces) memory blocks are required (MB1 to MB24).

【0034】マイク12から入力される楽音波形の波形
データは、まずメモリブロックMB1に記録される。メ
モリブロックMB1が一杯になると、メモリブロックM
B1からディスク媒体8に波形データが転送される。そ
の後、メモリブロックMB2〜MB6に順次記録され、
各メモリブロックが一杯になると、それぞれメモリブロ
ック単位でディスク媒体8に転送される。メモリブロッ
クMB1〜MB6内に波形データが全て納まるときに
は、転送されたディスク媒体8内の波形データが消去さ
れ、波形RAM14内に波形データが残る。
The musical tone waveform data input from the microphone 12 is first recorded in the memory block MB1. When the memory block MB1 becomes full, the memory block M
Waveform data is transferred from B1 to the disk medium 8. After that, 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 is again stored.
Recording and transfer are sequentially performed from. In that case, the memory block is overwritten, and the waveform data on the memory block recorded the first time is erased. After all the waveform data is 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.
Shows the count value WC of.

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

【0038】時刻tA2において、マイク12からの録
音が終了すると、カウント値WCの増加は終了する。録
音の終了は、カウント値WCが空き領域VAの最終アド
レスまで達したことを検出して、又はパネルスイッチ2
(図1)上のストップスイッチが押されることにより行
われる。また、マイク12からの入力レベルが十分小さ
い状態が所定時間続いたときに録音の終了とすることも
できる。
At the time tA2, when the recording from the microphone 12 is finished, the increase of the count value WC is finished. The recording is ended by detecting that the count value WC has reached the final address of the empty area VA, or by the panel switch 2
(Fig. 1) This is done by pressing the upper stop switch. Further, the recording can be ended when the 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
As soon as recording from 2 starts, write count value WC
Starts counting. The waveform RAM 14 is provided with two buffers BA1 and BA2, and the waveform data is first written in the buffer BA1. When the buffer BA1 becomes full, the waveform data is subsequently written in the buffer BA2. The transfer count value TC is the transfer counter 10
By counting the time when the buffer is full, it is counted after the buffer BA1 is full and after the buffer BA2 is full, and the waveform data is transferred from the buffer BA1 and the buffer BA2 to the disk medium 8. To be 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 from the beginning of the buffer BA1 again.
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 transfer count value TC is again set to the buffers BA1 and BA2.
The count for performing the transfer 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 recording from 2 starts, counting of the write count value WC starts. The waveform RAM 14 is provided with, for example, six memory blocks MB1 to MB6, and the waveform data is first written in the memory block MB1. When the memory block MB1 becomes full, the waveform data is successively written to the memory blocks MB2 to MB6. The transfer count value TC is counted after each of the memory blocks MB1 to MB6 is filled by measuring the time when the transfer counter 10 fills the block memory, 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の波形データを残す。
The waveform data input from the microphone 12 is
When the 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の波形データを残す。
The waveform data input from the microphone 12 is 6
When it does not fit in one memory block MB1 to MB6, the write count value WC and the transfer count value TC are reset, and the waveform data is written and transferred again in order from the memory block MB1. In this case, the waveform data is overwritten in the memory block and the waveform data written the first time is erased. Therefore, after writing and transferring all the waveform data, the waveform data in the memory blocks MB1 to MB6 is erased,
The waveform data of the transferred disk medium 8 is left.

【0044】以上、3つのサンプリングモードA,B,
Cについて説明した。次は、その他のサンプリングモー
ドD,E,Fについて、それぞれ図9、図10、図11
を参照しながら説明する。サンプリングモードD,E,
Fについても、サンプリングモードA,B,Cと同様に
選択することができるようにすることができる。
Above, the three sampling modes A, B,
C has been described. Next, the other sampling modes D, E, and F will be described with reference to FIGS. 9, 10, and 11, respectively.
Will be described with reference to. Sampling modes D, E,
The 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
At D1, when the recording from the microphone 12 is started, the write count value WC and the transfer count value TC start to increase as in the sampling mode C, and the memory block MB
Writing of waveform data to 1 to MB6 and transfer of 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, the 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. After that, the waveform data is stored in memory blocks MB5 and M5.
The data is written in B6 alternately, and the transfer to the disk medium 8 is also performed alternately.

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

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

【0049】また、波形先頭部分は、波形データの再生
を開始する際に必ずメモリブロック(波形RAM)上に
記憶されておかなければならない。再生は、ディスク媒
体8に記憶されている波形データについて直接行うこと
ができず、一旦ディスク媒体8から波形RAMに波形デ
ータをロードする必要がある。サンプリングモードDで
は、必ず波形データの先頭部分がメモリブロックMB1
〜MB4に残るので、エディットや再生等の際に有利で
ある。
Further, the waveform head portion must be stored in the memory block (waveform RAM) without fail when the reproduction of the waveform data is started. Reproduction cannot be performed directly on the waveform data stored in the disk medium 8, and it is necessary to once load the waveform data from the disk medium 8 into the waveform RAM. In the sampling mode D, the beginning of the waveform data is always the memory block MB1.
Since it remains in MB4, it 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 time tE1, when recording from the microphone 12 starts,
Similar to the sampling mode C, the writing of the waveform data to the memory blocks MB1 to MB6 is started by the increase of the writing count value WC, and the waveform data from the memory blocks MB1 to MB6 to the disk medium 8 is started according to the transfer count value TC. Transfer is done.

【0051】時刻tE2において、メモリブロックMB
6が一杯になった後は、サンプリングモードCと異な
り、書込カウント値WCと転送カウント値TCは、メモ
リブロックMB1に対応するカウント値にリセットされ
る。その後、波形データは、メモリブロックMB1とM
B2に交互に書き込まれ、ディスク媒体8への転送も交
互に行われる。
At time tE2, the 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. Then, the waveform data is stored in the memory blocks MB1 and M.
The data is written alternately in B2, and the transfer to the disk medium 8 is also performed alternately.

【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 alternately used, and the sampling mode E alternately uses the first two memory blocks MB1 and MB2.

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

【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 in the five memory blocks MB1 to MB5. When the memory blocks MB1 to MB5 are full, the transfer count value TC is counted by measuring the time of the transfer counter 10, and the waveform data of the five memory blocks MB1 to MB5 are collectively transferred to the disk medium 8. After the waveform data is written in the memory blocks MB1 to MB5, the waveform data is subsequently written in the memory block MB6. When the memory block MB6 becomes full, the transfer count value TC is counted and the memory block MB6
Waveform data is transferred from 6 to the disk medium 8.

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

【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 transferring the data for each memory block. The number of data transfers can be reduced.

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

【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 executed 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 registers provided in the RAM 6 (FIG. 1) is performed. In step S2, MIDI processing is performed. The MIDI process is a process 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, 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 the 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 the operation mode is designated by the switch operation, the 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へ戻り、処理を
繰り返す。
At step S4, the operation mode register D
Check M to see which operating mode was specified. If the waveform sampling operation mode is specified, the process proceeds to step S5. In step S5, a waveform sampling process is performed. Waveform sampling is performed by the microphone 1 according to the sampling modes A, B and C.
Waveform R is used as waveform data for the tone waveform input from 2
It is recorded in the AM 14 or the disk medium 8. Details will be described later with reference to a flowchart. When the waveform sampling process is completed, the process returns to step S2 to repeat the process.

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

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

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

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

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

【0067】ステップS12では、サンプリングモード
を入力する。入力は、パネルスイッチ1を用いて、3つ
のサンプリングモードA,B,Cの内の1つを選択する
ことにより行う。入力されたサンプリングモードは、レ
ジスタSMに格納される。
In step S12, the sampling mode is input. The input is performed by using the panel switch 1 to select one of the three sampling modes A, B, and C. 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. Then, 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 stored.
1 and BA2 are used to record the sampled and input waveform data on the disk medium 8. Then, 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 empty area VA secured in the waveform RAM 14, and the waveform data is transferred to the disk medium 8 for each memory block at a predetermined interval. Then, it progresses 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 is stored, the process proceeds to step S19, the transferred waveform data on the disk medium 8 is erased, and the waveform RAM 14
Leave only the waveform data above. On the other hand, if the waveform data does not fit in the free area VA, the process proceeds to step S18,
The waveform data on the waveform RAM 14 is erased, and only the waveform data transferred to the disk medium 8 remains. After that, FIG.
Return to the processing of the main routine of.

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

【0073】いずれか一方を残し、他方を消去するた
め、波形RAM14及びディスク媒体8における無駄を
省き、その後の録音のために最大限の空き領域を残して
録音を終了できる。
Since either one is left and the other is erased, waste in the waveform RAM 14 and the disk medium 8 can be omitted, and the recording can be ended with the maximum free space left 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 data is saved in the disk medium 8, the waveform data transferred to the disk medium 8 may be left without being erased.

【0075】ディスク媒体8に録音した長い波形データ
を録音後直ちにエディットしたい場合は、波形RAM1
4上に残っているデータを使用できるし、短い波形デー
タでも波形RAM14上で試発音を行なった後、直ちに
セーブする場合もあるからである。
When it is desired to edit long waveform data recorded on the disk medium 8 immediately after recording, the waveform RAM 1
This is because the data remaining on No. 4 can be used, and even short waveform data may be immediately saved after the 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 of erasing the waveform data on M14 and leaving only the waveform data on the disk medium 8 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 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 later select whether or not to erase one of them. Although the present invention has been described above 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,
By connecting a mass storage device to the outside of the waveform recording / reproducing device, the waveform data can be stored in both the storage medium and the external mass storage device. It is also possible to leave the waveform data only in either the storage medium or the external mass storage device according to the amount of waveform data sampled and recorded.

【図面の簡単な説明】[Brief description of 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 the waveform RAM in sampling mode A. .

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

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

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

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

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

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

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

【図13】 図12のステップS5における波形サンプ
リング処理の詳細を示すフローチャートである。
13 is a flowchart showing details of the 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

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 波形データを記憶することができる空き
領域(VA)を有する記憶媒体(14)と、 前記記憶媒体中の空き領域のサイズに応じて、該空き領
域に可変複数ブロック数のメモリブロックを領域指定す
る領域指定手段と、 前記領域指定手段により領域指定される複数のメモリブ
ロックに外部から入力される波形データを順次記録しつ
つ、各メモリブロックへの記録が終了した後に該メモリ
ブロックに記憶されている波形データをメモリブロック
単位で外部に転送出力するためのメモリアクセス手段
(9)とを有する波形記録再生装置。
1. A storage medium (14) having an empty area (VA) capable of storing waveform data, and a memory having a variable number of blocks in the empty area according to the size of the empty area in the storage medium. Area designation means for designating an area of the block, and waveform data inputted from the outside in a plurality of memory blocks sequentially designated by the area designation means, and the memory block after the recording in each memory block is completed. A waveform recording / reproducing apparatus having a memory access unit (9) for transferring and outputting the waveform data stored in the memory block unit to the outside.
【請求項2】 波形データを記憶することができる空き
領域(VA)を有する記憶媒体(14)と、 前記記憶媒体中の空き領域のサイズに応じて、該空き領
域に可変複数ブロック数のメモリブロックを領域指定す
る第1の領域指定手段と、 前記記憶媒体に固定複数ブロック数のメモリブロックを
指定する第2の領域指定手段と、 前記第1または第2の領域指定手段のいずれかのモード
を指定するためのモード指定手段と、 前記モード指定手段により指定される第1または第2の
領域指定手段のいずれかにより領域指定される複数のメ
モリブロックに外部から入力される波形データを順次記
録しつつ、各メモリブロックへの記録が終了した後に該
メモリブロックに記憶されている波形データをメモリブ
ロック単位で外部に転送出力するためのメモリアクセス
手段(9)とを有する波形記録再生装置。
2. A storage medium (14) 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. First area designating means for designating a block area; second area designating means for designating a fixed number of memory blocks in the storage medium; either mode of the first or second area designating means; Waveform recording data externally input to a plurality of memory blocks whose regions are designated by either the first or second region designating unit designated by the mode designating unit. At the same time, for transferring and outputting the waveform data stored in each memory block to the outside in a memory block unit after the recording in each memory block is completed. Mori access means (9) and a waveform recording and reproducing apparatus having a.
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 true JPH08101688A (en) 1996-04-16
JP3045018B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007035047A (en) * 2005-07-28 2007-02-08 Robert Bosch Gmbh Method and apparatus for processing data obtained by sampling analog signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007035047A (en) * 2005-07-28 2007-02-08 Robert Bosch Gmbh Method and apparatus for processing data obtained by sampling analog signal

Also Published As

Publication number Publication date
JP3045018B2 (en) 2000-05-22

Similar Documents

Publication Publication Date Title
US5499316A (en) Recording and reproducing system for selectively reproducing portions of recorded sound using an index
US5373493A (en) Apparatus for digitally recording reproducing and editing an audio signal
JPH04285764A (en) Digital recorder
JP2001043668A (en) Magnetic disk device
US20010017076A1 (en) Apparatus and method for reproducing or recording, via buffer memory, sample data supplied from storage device
US6437228B2 (en) Method and apparatus for storing audio data
JPH05173897A (en) Recorder and reproducer
JPH04285765A (en) Digital recorder
US6272568B1 (en) Method for recording information on a memory
JP2819948B2 (en) Music signal recording and playback device
KR0171851B1 (en) Multi-acoustic regenerating apparatus using semiconductor memory card and thereof
JPH08101688A (en) Waveform recording and reproducing device
US5559779A (en) Digital audio recorder using external memory medium and leading portion audio data memory
JP2002203361A (en) Digital audio sound recording apparatus
JP2798077B2 (en) Sound source device for electronic musical instruments
JP3230756B2 (en) Digital recorder
JPS62994A (en) Pcm voice signal memory
JP4055784B2 (en) Multitrack playback device
JP3217590B2 (en) Message playback device
JP2650382B2 (en) Digital signal processing method and circuit
JPH05307834A (en) Buffer memory device
JP3664027B2 (en) Recording / playback device
JP3714087B2 (en) Sample data reproducing apparatus and sample data recording / reproducing apparatus
JP3770030B2 (en) Recording / playback device
JPH04117688A (en) Digital recorder

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