JP2006023594A - Recorder - Google Patents
Recorder Download PDFInfo
- Publication number
- JP2006023594A JP2006023594A JP2004202360A JP2004202360A JP2006023594A JP 2006023594 A JP2006023594 A JP 2006023594A JP 2004202360 A JP2004202360 A JP 2004202360A JP 2004202360 A JP2004202360 A JP 2004202360A JP 2006023594 A JP2006023594 A JP 2006023594A
- Authority
- JP
- Japan
- Prior art keywords
- storage means
- musical sound
- block
- synthesized
- selection information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、製造コストを低減でき、且つ、アンドゥのためのデータ管理を簡易化することができるレコーダに関する。 The present invention relates to a recorder that can reduce the manufacturing cost and simplify data management for undo.
従来より、所定のフレーズを録音し、その録音したフレーズを再生しながら、その再生音に合わせて演奏を行い、その再生音と新たな演奏とを合成して録音するというオーバーダビングを行うことができるレコーダが知られている。 Conventionally, overdubbing is performed by recording a predetermined phrase, playing back the recorded phrase, playing along with the playback sound, and synthesizing and recording the playback sound and a new performance. Recorders that can be used are known.
一方、このオーバーダビング可能なレコーダでは、オーバーダビングを実行している際に演奏を間違え、その間違えた演奏と再生音とが合成されてしまうことがある。そのため、そのオーバーダビングをキャンセルして元の状態に戻すアンドゥという機能を搭載したレコーダも知られている。 On the other hand, with this overdubbable recorder, the performance may be mistaken when overdubbing is executed, and the wrong performance and the reproduced sound may be synthesized. Therefore, a recorder equipped with a function called undo that cancels overdubbing and restores the original state is also known.
しかし、このアンドゥという機能を搭載したレコーダでは操作手順の履歴を記憶していたため、そのデータ管理が大変でありソフトウエア的に負担がかかるという問題があった。そこで、次の特許文献1には、編集(オーバーダビング)が行われる毎に、その編集後のトラックのデータを、その編集前のトラックのデータとは独立した新規なトラックとして記憶する技術が開示されている。
However, since a recorder equipped with this undo function stores a history of operation procedures, there is a problem that data management is difficult and a burden is imposed on software. Therefore, the following
この特許文献1に開示された技術によれば、アンドゥの指示に応じて対応するトラックを選択するだけで良いので、煩雑なデータ管理を不要としソフトウエア的な負担を軽減することができるのである。
しかしながら、上述した特許文献1に開示された技術では、オーバーダビングが行われる毎に編集前のトラックのデータを記憶しつつ編集後のトラックのデータを記憶するため、大きな記憶容量が必要であり、製造コストが上昇するという問題点があった。
However, in the technique disclosed in
また、オーバーダビングを実行する場合の演奏は、リアルタイムで演奏される事が多いためアンドゥのためのデータ管理をより簡易化することが要望される。 Further, since performance when overdubbing is often performed in real time, it is desired to further simplify data management for undo.
本発明は、上述した問題点を解決するためになされたものであり、製造コストを低減でき、且つ、アンドゥのためのデータ管理を簡易化することができるレコーダを提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a recorder that can reduce manufacturing costs and simplify data management for undo.
この目的を達成するために請求項1記載のレコーダは、複数のブロックにより構成され、その各ブロックにより楽音を区分けして記憶する第1の記憶手段と、その第1の記憶手段の各ブロックに対応する複数のブロックにより構成され、その各ブロックにより楽音を区分けして記憶する第2の記憶手段と、その第1と第2との記憶手段の対応するブロック毎に、その対応するどちらのブロックに記憶されている楽音を読出すかを示す選択情報を記憶する第3の記憶手段と、その第3の記憶手段に記憶された選択情報に従って楽音を読出す読出し手段と、その読出し手段により読み出された楽音の所定の区間に新たに入力される楽音を合成することを指示する指示手段と、その指示手段に指示された区間を含むブロック単位の楽音を被合成楽音として、その被合成楽音と新たに入力される楽音とを合成して合成楽音を生成する生成手段と、その生成手段により合成される被合成楽音を前記第1の記憶手段の所定のブロックから読出した場合には、前記合成楽音を前記第1の記憶手段の所定のブロックに対応する第2の記憶手段のブロックに書込み、前記被合成楽音を前記第2の記憶手段の所定のブロックから読出した場合には、前記合成楽音を第2の記憶手段の所定のブロックに対応する第1の記憶手段のブロックに書込む書込み手段と、その書込み手段が前記合成楽音を前記第1または第2の記憶手段の所定のブロックに書込んだことを示す書込み情報を前記第1と第2との記憶手段の対応するブロック毎に記憶する第4の記憶手段と、その第4の記憶手段に記憶されている書込み情報に応じて前記第3の記憶手段に記憶されている選択情報を変更する変更手段とを備えている。
In order to achieve this object, the recorder according to
請求項2記載のレコーダは、請求項1記載のレコーダにおいて、前記変更手段は、前記第4の記憶手段に記憶されている書込み情報に応じて前記第3の記憶手段に記憶されている選択情報を反転する第1の反転手段と、その第1の反転手段によって反転された状態の選択情報を前記第4の記憶手段に記憶されている書込み情報に応じて再び反転する第2の反転手段とを備えている。 According to a second aspect of the present invention, in the recorder according to the first aspect, the changing means is the selection information stored in the third storage means according to the write information stored in the fourth storage means. First inversion means for inverting the second information, and second inversion means for inverting the selection information in the state inverted by the first inversion means again according to the write information stored in the fourth storage means, It has.
請求項3記載のレコーダは、請求項1または2に記載のレコーダにおいて、前記読出し手段は、前記第3の記憶手段に記憶された選択情報に従って読出した楽音を繰り返し読出す。 According to a third aspect of the present invention, in the recorder according to the first or second aspect, the reading means repeatedly reads the musical sound read according to the selection information stored in the third storage means.
請求項4記載のレコーダは、複数のブロックにより構成され、その各ブロックにより楽音を区分けして記憶する第1の記憶手段と、その第1の記憶手段の各ブロックに対応する複数のブロックにより構成され、その各ブロックにより楽音を区分けして記憶する第2の記憶手段と、その第1と第2との記憶手段の対応するブロック毎に、その対応するどちらのブロックに記憶されている楽音を読出すかを示す選択情報を記憶する第3の記憶手段と、その第1と第2との記憶手段との対応するブロック毎に、その対応するどちらか一方のブロックに記憶されている楽音を読出す読出し手段と、その読出し手段により読み出された楽音の所定の区間に新たに入力される楽音を合成することを指示する指示手段と、その指示手段に指示された区間を含むブロック単位の楽音を被合成楽音として、その被合成楽音と新たに入力される楽音とを合成して合成楽音を生成する生成手段と、その生成手段により合成される被合成楽音を前記第1の記憶手段の所定のブロックから読出した場合には、前記合成楽音を前記第1の記憶手段の所定のブロックに対応する第2の記憶手段のブロックに書込み、前記被合成楽音を前記第2の記憶手段の所定のブロックから読出した場合には、前記合成楽音を第2の記憶手段の所定のブロックに対応する第1の記憶手段のブロックに書込む書込み手段と、その書込み手段により合成楽音が書き込まれた前記第1または第2の記憶手段のブロックに対応する前記選択情報を変更する変更手段と、その変更手段により変更された選択情報とその変更手段により変更された選択情報を除く選択情報とを前記第1と第2との記憶手段の対応するブロック毎に記憶する第4の記憶手段と、その第4の記憶手段に記憶された選択情報または前記第3の記憶手段に記憶された選択情報に従って前記読込み手段が楽音を読出すように切替える切替え手段とを備えている。
The recorder according to
請求項5記載のレコーダは、請求項4に記載のレコーダにおいて、読出し手段は、前記第3または第4の記憶手段に記憶された選択情報に従って読出した楽音を繰り返し読出す。 According to a fifth aspect of the present invention, in the recorder according to the fourth aspect, the reading means repeatedly reads the musical sound read according to the selection information stored in the third or fourth storage means.
請求項1記載のレコーダによれば、生成手段により生成された合成楽音は、被合成楽音を第1の記憶手段の所定のブロックから読出した場合には第1の記憶手段の所定のブロックに対応する第2の記憶手段のブロックに書込まれ、被合成楽音を第2の記憶手段の所定のブロックから読出した場合には第2の記憶手段の所定のブロックに対応する第1の記憶手段のブロックに書込まれる。よって、編集をする度に、編集前の楽音と、編集後の楽音とだけが効率良く記憶される。従って、アンドゥの実行は1回に限定されるものの、楽音を記憶するための記憶容量を少容量に制限することができ、製造コストを低減することができるという効果がある。
According to the recorder of
また、第4の記憶手段に記憶されている書込み情報に応じて第3の記憶手段に記憶されている選択情報を変更手段により変更するだけで、編集後の楽音を読出すことができる。 Further, the edited musical tone can be read out only by changing the selection information stored in the third storage means by the changing means in accordance with the write information stored in the fourth storage means.
更に、その変更した選択情報を第4の記憶手段に記憶されている書込み情報に応じて再び元の状態に復帰するだけで、編集前の楽音を読出すこともでき、アンドゥを簡易なデータ管理の下で実行することができるという効果がある。 Furthermore, the musical sound before editing can be read out simply by returning the changed selection information to the original state again according to the writing information stored in the fourth storage means, and simple data management for undo. There is an effect that can be executed under.
請求項2記載のレコーダによれば、請求項1に記載のレコーダの奏する効果に加え、第4の記憶手段に記憶されている書込み情報に応じて第3の記憶手段に記憶されている選択情報を第1の反転手段により反転するだけで、編集後の楽音を読出すことができる。更に、その反転した選択情報を第4の記憶手段に記憶されている書込み情報に応じて第2の反転手段により再び反転するだけで、編集前の楽音を読出すこともできる。即ち、書込み情報に応じて第2の反転手段により選択情報を反転するという簡易な処理によりアンドゥを実行することができるという効果がある。 According to the recorder of the second aspect, in addition to the effect achieved by the recorder of the first aspect, the selection information stored in the third storage unit according to the write information stored in the fourth storage unit The musical tone after editing can be read out only by inverting the signal by the first inverting means. Furthermore, the musical sound before editing can be read out only by inverting the inverted selection information again by the second inverting means in accordance with the writing information stored in the fourth storage means. That is, there is an effect that the undo can be executed by a simple process of inverting the selection information by the second inverting means according to the writing information.
請求項3記載のレコーダによれば、請求項2に記載のレコーダの奏する効果に加え、読出し手段は第3の記憶手段に記憶された選択情報に従って読出した楽音を繰返し読出すので、繰返す楽音を何度も記憶しておく必要はなく、記憶手段の記憶容量を少容量に制限することができ、低コストで製造することができるという効果がある。 According to the recorder of the third aspect, in addition to the effect produced by the recorder of the second aspect, the reading means repeatedly reads the musical sound read according to the selection information stored in the third storage means. There is no need to store it many times, the storage capacity of the storage means can be limited to a small capacity, and there is an effect that it can be manufactured at low cost.
請求項4記載のレコーダによれば、生成手段により生成された合成楽音は、被合成楽音を第1の記憶手段の所定のブロックから読出した場合には第1の記憶手段の所定のブロックに対応する第2の記憶手段のブロックに書込まれ、被合成楽音を第2の記憶手段の所定のブロックから読出した場合には第2の記憶手段の所定のブロックに対応する第1の記憶手段のブロックに書込まれる。よって、編集をする度に、編集前の楽音と、編集後の楽音とだけが効率良く記憶される。従って、アンドゥの実行は1回に限定されるものの、楽音を記憶するための記憶容量を少容量に制限することができ、製造コストを低減することができるという効果がある。
According to the recorder of
また、第4の記憶手段に記憶されている選択情報に従って楽音を読出すことで、編集後の楽音を読出すことができ、切替え手段により読出し手段が第3の記憶手段に記憶されている選択情報に従って楽音を読み出すように切替えることで、編集前の楽音を読出すことができる。即ち、読出し手段が第3または第4の記憶手段に記憶されている選択情報のいずれに従って楽音を読出すかを切替えるという簡易な処理によりアンドゥを実行することができるという効果がある。 Further, by reading the musical sound according to the selection information stored in the fourth storage means, it is possible to read the edited musical sound, and the switching means reads the selection means stored in the third storage means. By switching so as to read the musical sound according to the information, the musical sound before editing can be read. In other words, there is an effect that the undo can be executed by a simple process in which the reading means switches whether to read the musical sound according to the selection information stored in the third or fourth storage means.
請求項5記載のレコーダは、請求項4に記載のレコーダの奏する効果に加え、読出し手段は、第3または第4の記憶手段に記憶された選択情報に従って楽音を繰り返し読出すので、繰返す楽音を何度も記憶しておく必要はなく、より記憶手段の記憶容量を少容量に制限することができるという効果がある。 In the recorder according to the fifth aspect, in addition to the effect produced by the recorder according to the fourth aspect, the reading means repeatedly reads the musical sound in accordance with the selection information stored in the third or fourth storage means. There is no need to store it many times, and the storage capacity of the storage means can be further limited to a small capacity.
以下、本発明の好ましい実施例について、添付図面を参照して説明する。図1は、本発明のレコーダ1のパネル図である。レコーダ1のパネルには、操作子として、入力レベルを設定するボリューム6aと、出力レベルを設定するボリューム6bと、フレーズ番号を選択するためのセレクター6cと、左ペダル6dおよび右ペダル6eと、ライトスイッチ6fとが備えられている。
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a panel diagram of the
入力ボリューム6aは、ギターやマイクロフォンから入力される電気信号のレベルを調節するもので、図示しないレベル表示器などを参照して入力レベルが適切な値になるように調節するものである。
The
出力ボリューム6bは、レコーダ1が記憶しているフレーズを再生する場合に、接続されるアンプに供給する信号のレベルを調節するためのものである。
The
セレクター6cは、ロータリースイッチにより構成され、レコーダが記憶している複数のフレーズのうち、どのフレーズを再生するか、あるいは録音する際に、いずれのフレーズ番号として録音するかを設定するスイッチである。
The
左ペダル6dおよび右ペダル6eは、主として足で踏み込むことによりオンとし、足を離すことによりオフとするスイッチであって、常時は内蔵されるバネにより、上方に位置してスイッチはオフ状態にあり、ペダルが踏み込まれることにより、スイッチがオン状態となる。
The
ライトスイッチ6fは、編集後のフレーズの保存を指示するための押しボタン式のスイッチである。このライトスイッチ6fを押すことで、編集後のフレーズが後述する保存用トラック9cに書き込まれ、たとえ電源を遮断したとしても、次に電源を投入した場合には、この編集後のフレーズを読出すことができる。
The
また、操作パネルには、上述した操作子の他、LED8a、8b、8cが備えられている。LED8a、8b、8cは、それぞれ、録音(REC)、再生(PLAY)、オーバーダビング(OVERDUB)のモードを表している。
The operation panel is provided with
即ち、LED8aが点灯している場合は録音中を表し、LED8bが点灯している場合は再生中を表し、LED8cが点灯している場合はオーバンダビング中であることを表し、3つのLED8a、8b、8cがいずれも点灯していない場合は停止中(STOP)であることを表している。
That is, when the
左ペダル6dがオフ位置からオン位置に操作された場合であってセレクター6cにより選択されているフレーズ番号のデータが空(録音されていない)の場合には、録音を開始し、LED8aが点灯される。
When the
左ペダル6dがオフ位置からオン位置に操作された場合であってセレクター6cにより選択されているフレーズ番号のフレーズが存在する場合(録音済み)には、そのフレーズの再生を開始し、LED8bが点灯される。また、フレーズを再生中の場合には、オーバーダビングが開始され、LED8cが点灯される。
When the
また、左ペダル6dが所定時間(2秒)以上オン位置に保持された場合には、アンドゥ処理が実行され、アンドゥ処理が実行されている期間は、LED8cが点滅する。
Further, when the
右ペダル6eがオフ位置からオン位置へ操作された場合は、その時点に置いて録音中であれば、録音が停止され、再生中であれば再生が中止され、オーバーダビング中であればオーバーダビングが中止され、3つのLED8a、8b、8cはいずれも消灯される。
When the
また、停止状態において右ペダルが所定時間(2秒)以上オン位置に保持された場合には、セレクター6cにより選択されてるフレーズ番号に対応して記憶されているフレーズが消去される。
Further, when the right pedal is held at the ON position for a predetermined time (2 seconds) or more in the stop state, the phrase stored corresponding to the phrase number selected by the
図2は、レコーダ1の電気的な構成およびこのレコーダ1に接続される機器の概略を示すブロック図である。レコーダ1は、CPU5と、ROM4と、RAM2と、フラッシュROM9と、操作子6と、LED8と、A/D変換器7と、D/A変換器10とを備え、バス3により接続されている。
FIG. 2 is a block diagram showing an outline of an electrical configuration of the
CPU5は、制御プログラムの実行主体となる演算装置であり、ROM4には、このCPU5により実行される各種の制御プログラムやその実行の際に参照される固定値データが記憶されている。CPU5には、タイマー5aが内蔵され、左ペダル6dまたは右ペダル6eがオフ位置からオン位置へ操作されたとき、計時が開始される。また、楽音波形の振幅値をメモリへ書き込んだり、メモリから読み出す場合は、サンプリング周期で処理が行われ、サンプリング周期でCPU5に割込が発生されるように構成されている。
The
ROM4に記憶される制御プログラムのうち、録音、再生、オーバーダビングなどの処理については、図4から図8を参照して後述する。このうち、図8に示すフローチャートは、サンプリング周期で発生される割込により実行される割込処理を示すものである。
Among the control programs stored in the
RAM2は、ROM4に記憶された制御プログラムに従ってCPU5が各種処理を実行するに当たり使用されるワークエリアと、フラッシュROM9から楽音を読出す場合や、フラッシュROM9に記憶する前に一時楽音を記憶する領域、ロード2a、スタンバイ2b、プレイ2c、セーブ2d、セレクトフラグ2e、カレントフラグ2gを備えている。
The
フラッシュROM9は、1ワードなどの単位ではなく、ブロック単位(例えば512バイト)で読み書きするように構成されている。この読み書きは、RAM2などのアクセス時間に比べ、かなり長い時間を要する。従って、RAM2にこれらの一時記憶領域を設け、フラッシュROM9から読み出す前は、前もってRAM2に読み出しておき、フラッシュROM9に書き込む場合には、一度RAM2に書込み、その後フラッシュROM9に書き込むように構成している。
The
ロード2aは、フラッシュROM9から読み出したデータをまず記憶する領域であり、スタンバイ2bは、つぎに読み出されるデータを記憶する領域であり、プレイ2cは、読み出しおよび書込が行われる領域であり、このプレイ領域から読み出された楽音が、再生モードの場合には、出力され、オーバーダビングモードの場合には、この領域から読み出された楽音と新たに入力された楽音とが合成されて、再びこのプレイ2cに書き込まれる。また、録音モードの場合は、入力された楽音がこのプレイ2cに記憶される。セーブ2dは、つぎにフラッシュROM9に書込まれるデータを記憶する領域である。
The
これらの領域は、1ブロックの処理が終わる毎にその役割が順次移動する。つまり、最初ロード2aであった領域は、つぎにスタンバイ2bに変わり、スタンバイ2bであった領域はプレイ2cに変わり、プレイ2cであった領域はセーブ2dに変わり、セーブ2dであった領域はロード2aに変わる。
The roles of these areas are sequentially moved every time one block is processed. That is, the area that was initially loaded 2a is then changed to
セレクトフラグ2eは、後述するトラック0(9a)とトラック1(9b)との対応するブロック毎に、その対応するどちらのブロックに記憶されている楽音を読出すかを示す選択情報を記憶するものである。 The select flag 2e stores selection information indicating in which block the corresponding musical tone is to be read for each block corresponding to track 0 (9a) and track 1 (9b) described later. is there.
カレントフラグ2fは、合成された楽音(合成楽音)を後述するトラック0(9a)またはトラック1(9b)の所定のブロックに書込んだことを示す書込み情報をトラック0(9a)とトラック1(9b)の対応するブロック毎に記憶するものである。 The current flag 2f is written information indicating that the synthesized musical tone (synthetic musical tone) has been written in a predetermined block of track 0 (9a) or track 1 (9b), which will be described later, on track 0 (9a) and track 1 ( 9b) is stored for each corresponding block.
フラッシュROM9は、電源を遮断しても記憶を保持することが可能な書き換え可能なメモリであり、トラック0(9a)と、トラック1(9b)と、保存用トラック9cとを備えている。
The
トラック0(9a)は、複数のブロックにより構成され、その各ブロックにより録音した楽音を区分けして記録するものである。トラック1(9b)は、トラック0(9a)の各ブロックに対応する複数のブロックにより構成され、その各ブロックにより録音した楽音を区分けして記憶するものである。保存用トラック9cは、セレクター6cで選択することができる複数のフレーズ毎に用意されているトラックであり、トラック0(9a)とトラック1(9b)の各ブロックのうちセレクトフラグにより示される編集後のフレーズを記憶するものである。
The track 0 (9a) is composed of a plurality of blocks, and the musical sound recorded by each block is divided and recorded. The track 1 (9b) is composed of a plurality of blocks corresponding to the blocks of the track 0 (9a), and the musical sounds recorded by the blocks are divided and stored. The
A/D変換器7は、アナログ信号をデジタル信号に変換するもので、ギター11等の楽器音やボーカル等の音声がピックアップやマイクロフォンによりアナログ電気信号に変換され、その電気信号が所定のサンプリング周波数(例えば、32KHz)で標本化され、さらに所定のビット数(例えば16ビット)に量子化されることによりデジタル信号化される。変換されたデジタル信号は、RAM2の一時記憶領域に一時記憶され、その後、フラッシュROM9に記憶される。
The A /
D/A変換器10は、デジタル信号をアナログ信号に変換するもので、フラッシュROM9に記憶されたデジタル信号がCPU5により読み出され、このD/A変換器10によりアナログ信号に変換されて出力される。出力されたアナログ信号は、アンプ28により増幅されてスピーカ27により楽音に変換されて放音される。
The D /
図3は、レコーダ1がフレーズを録音、オーバーダビングおよび再生する場合のメモリの使い方とフラグとの関係を模式的に示す図である。一つのフレーズを作成する際に、トラック0とトラック1との二つのトラックが使用され、各トラックを構成する各ブロックの記憶容量は、例えば512バイトである。
FIG. 3 is a diagram schematically showing the relationship between the usage of the memory and the flag when the
まず、(a)は、トラック0およびトラック1に全くフレーズが記憶されていない状態から、トラック0のブロック0から7にフレーズが記憶された場合を示すものである。同図に示すように、トラック0のブロック0からブロック7までを黒く塗りつぶし、楽音が記憶されていることを示している。一方、トラック1のブロック0から7は、空白であり、楽音が記憶されていないことを示している。
First, (a) shows a case where phrases are stored in
セレクトフラグよびカレントフラグは、各ブロックに対応して1ビットのフラグを有するものであり、録音が行われた時は、すべてのセレクトフラグとすべてのカレントフラグが0に設定されている。 The select flag and the current flag have a 1-bit flag corresponding to each block. When recording is performed, all the select flags and all the current flags are set to 0.
この状態から次に、ブロック2から4までの区間でオーバーダビングが行われた場合の状態を(b)に示す。この場合には、ブロック2から4までの区間において、録音時にトラック0に記憶されたので、トラック0に記憶された楽音(被合成楽音)を読み出して、新たに入力された楽音と合成し、合成された楽音は、トラック1のブロック2から4にそれぞれ書き込まれる。
Next, a state when overdubbing is performed in the section from
このとき、セレクトフラグの各ブロックに対応するフラグは、書込を行ったトラックを表す符号とする。ここでは、トラック0に書き込んだ場合は0とし、トラック1に書き込んだ場合は1とする。したがって、(b)に示されるセレクトフラグは、ブロック0、1およびブロック5から7までのフラグは0に設定されたままであり、ブロック2から4までのフラグは、1に設定される。
At this time, the flag corresponding to each block of the select flag is a code representing the track on which writing has been performed. Here, 0 is written when writing to track 0, and 1 is written when writing to
カレントフラグは、今回書込を行ったブロックを示すフラグで、書込を行わなかったブロックのフラグは0に、書込が行われたブロックを示すフラグは1に設定される。したがって、(b)に示されるカレントフラグは、ブロック0および1とブロック5から7までのフラグは0のままであり、ブロック2から4までのフラグは、1に設定される。
The current flag is a flag indicating the block that has been written this time, the flag of the block that has not been written is set to 0, and the flag that indicates the block that has been written is set to 1. Therefore, in the current flag shown in FIG. 5B, the flags of
つぎに、この(b)の状態から、ブロック1と2の区間においてオーバーダビングが行われた場合を(c)に示す。この場合は、ブロック1については、トラック0に前回楽音が記憶されたので、今回はトラック1に記憶する。ブロック2については、前回トラック1に記憶されたので、今回はトラック1に記憶する。
Next, (c) shows a case where overdubbing is performed in the section between
セレクトフラグについては、(b)のセレクトフラグのうち、新たに書込みを行ったブロックのみ、0と1とを反転する。したがって、ブロック1については、0を1に、ブロック2については、1を0にそれぞれ設定する。
As for the select flag, 0 and 1 are inverted only in the newly written block among the select flags in (b). Therefore, 0 is set to 1 for
カレントフラグについては、まず、(b)の状態から全てのブロックに対応するフラグを0に設定し、新たに書込みを行ったブロックに対応するフラグのみ1に設定する。 As for the current flag, first, the flags corresponding to all the blocks are set to 0 from the state of (b), and only the flag corresponding to the newly written block is set to 1.
なお、このレコーダでは、停止操作を行うまでは、繰り返しフレーズが読出されて、読出されたフレーズを構成する楽音に新たな楽音を合成して記憶させることができる。 In this recorder, until a stop operation is performed, a repeated phrase is read out, and a new musical tone can be synthesized and stored in the musical tone constituting the read-out phrase.
(c)の場合を例にとると、ブロック0からブロック7まで読出しが行われると、再びブロック0から読出しが開始される。読出しは、常にセレクトフラグにより示されるトラック0またはトラック1のブロックから行われる。この場合、書込みを行う際に、カレントフラグが0に設定されているブロックでは、セレクトフラグにより示されるトラックとは異なるトラックに書込みを行い、そのブロックのセレクトフラグを反転し、そのブロックのカレントフラグを1に設定する。しかし、既にカレントフラグが1に設定されている場合には、セレクトフラグにより示されるトラックの同じブロックに書込みを行う。
Taking the case of (c) as an example, when reading is performed from
つぎに、アンドゥ処理について、(d)を参照して説明する。(c)のように記憶が行われ、順次各ブロックについて(c)のセレクトフラグに従って、トラックを選択して読出すと、今回のオーバーダビングを行ったフレーズを読出すことができる。 Next, the undo process will be described with reference to (d). When the memory is stored as shown in (c) and a track is selected and read sequentially according to the select flag shown in (c) for each block, the phrase that has been overdubbed this time can be read.
しかし、このオーバーダビング中の演奏がうまくできなかった場合には、今回のオーバーダビングを行う前の状態に戻し、再度オーバーダビングする必要がある。その場合には、上述のように左ペダルを所定時間以上オンし続けることにより、アンドゥが実行される。 However, if the performance during the overdubbing is not successful, it is necessary to return to the state before the current overdubbing and overdub again. In that case, the undo is executed by keeping the left pedal on for a predetermined time or more as described above.
この処理は、(d)に示すように、カレントフラグが0であるブロックに対応するセレクトフラグは、そのままとし、カレントフラグが1であるセレクトフラグを反転する。(d)の場合には、ブロック0、1およびブロック5から7は、カレントフラグが0であるので、対応するセレクトフラグは、そのままとし、カレントフラグが1であるブロック2および3のフラグを反転する。このように処理された状態が(d)であり、この状態は(c)のオーバーダビングを行った状態の前の(b)の状態と一致している。
In this process, as shown in (d), the select flag corresponding to the block whose current flag is 0 is left as it is, and the select flag whose current flag is 1 is inverted. In the case of (d), since the current flag of
以上、オーバーダビングを行う場合のメモリへの書込みと、フラグの記憶手順およびアンドゥ処理について説明を行ったが、つぎに図4から図7に示すフローチャートにしたがって、これらの処理について説明する。これらの処理はCPU5により実行される処理である。
As described above, the writing to the memory in the case of overdubbing, the flag storing procedure, and the undo process have been described. Next, these processes will be described with reference to the flowcharts shown in FIGS. These processes are executed by the
図4は、いわゆるメイン処理であって、レコーダの電源が投入されると起動され、電源が遮断されるまで繰り返し実行されるものである。まず、初期設定としてセレクトフラグとカレントフラグとが全て0に設定し、ブロックのアドレスを示す変数iを「0」に設定する(S1)。つぎに左ペダル6dがオンに操作されたかを判断する(S4)。左ペダル6dがオンに操作された場合は(S2:Yes)、後述する左ペダルオン処理を実行し(S3)、左ペダル6dがオンではない場合(S2:No)または左ペダルオン処理のつぎに右ペダル6eがオンに操作されたかを判断する(S4)。右ペダル6eがオンに操作された場合は(S4:Yes)、ストップ処理を行う(S5)。このストップ処理は、録音、再生、オーバーダビングのいずれかを行っている状態の場合に、これらの処理を停止し、ストップ状態に設定する。
FIG. 4 is a so-called main process, which is started when the power of the recorder is turned on and repeatedly executed until the power is turned off. First, as an initial setting, all of the select flag and the current flag are set to 0, and a variable i indicating a block address is set to “0” (S1). Next, it is determined whether the
右ペダル6eがオンではない場合(S4:No)またはストップ処理のつぎに左ペダル6dが2秒以上オン状態に保持されているかを判断する(S6)。左ペダル6d、および右ペダル6eが、オフからオンへ操作された場合に、CPU5に内蔵されるタイマー5aが起動され、オンに保持されている時間が計時される。左ペダル6dが2秒以上オンされた場合は(S6:Yes)後述する左ペダルホールド処理を実行し(S7)、左ペダル6dが2秒以上オンされない場合(S6:No)または左ペダルホールド処理のつぎに右ペダル6eが2秒以上オン状態に保持されているかを判断する(S8)。
When the
右ペダル6eが2秒以上オンされた場合は(S8:Yes)現在ストップ状態であるかを判断し(S9)、ストップ状態であれば(S9:Yes)セレクター6cにより選択されているフレーズ番号のフレーズを消去する(S10)。右ペダル6eが2秒以上オンされていない場合(S8:No)または、現在ストップ状態でない場合(S9:No)またはフレーズの消去を行った場合は、つぎに後述する入出力データ処理を行う(S11)。
When the
入出力データ処理(S11)を終了すると、ライトスイッチ6fがオンに操作されたかを判断する(S12)。ライトスイッチ6fがオンに操作された場合は(S12:Yes)、RAM2に記憶されているセレクトフラグに記憶されている選択情報に従って、フラッシュROM9に記憶されているトラック0またはトラック1の各ブロック毎の楽音を保存用トラック9cに書込み、編集後のフレーズとして記憶する(S13)。この記憶処理を終了した場合、およびS12の判断処理においてライトスイッチ6fがオン操作されていないと判断した場合は、S2の処理に戻る。
When the input / output data processing (S11) is completed, it is determined whether the
図5は、図4に示すフローチャートのS3の左ペダルオン処理の詳細を示すフローチャートである。まず、レコーダが現在停止モード(STOP)であるかを判断する(S20)。停止モードであれば(S20:Yes)つぎにセレクター6cにより選択されているフレーズ番号のフレーズが記憶されているかを判断する(S21)。フレーズが記憶されている場合は(S21:Yes)その記憶されているフレーズの読み出しを開始し(S22:再生モード)、フレーズが記憶されていない場合は、入力される楽音の記憶を開始し(S23:録音モード)この左ペダルオン処理を終了する。
FIG. 5 is a flowchart showing details of the left pedal-on process in S3 of the flowchart shown in FIG. First, it is determined whether the recorder is currently in a stop mode (STOP) (S20). If it is the stop mode (S20: Yes), it is next determined whether the phrase of the phrase number selected by the
S20の判断処理において、停止モードでなければ(S20:No)、録音モード(REC)であるかを判断する(S24)。録音モードである場合には(S24:Yes)、その録音モードにおいて録音されたフレーズの読出しを開始し(S25:再生モード)、この処理を終了する。S24の判断処理において、録音モードでなければ(S24:No)、再生モード(PLAY)であるかを判断する(S26)。再生モードである場合には(S26:Yes)、オーバーダビングの開始が指示されたことであるので、カレントフラグを全て0に設定し(S27)、オーバーダビングを開始し(S28)、この左ペダルオン処理を終了する。 If it is not the stop mode in the determination process of S20 (S20: No), it is determined whether the recording mode (REC) is selected (S24). When the recording mode is set (S24: Yes), reading of the phrase recorded in the recording mode is started (S25: reproduction mode), and this process is terminated. In the determination process of S24, if it is not the recording mode (S24: No), it is determined whether it is the playback mode (PLAY) (S26). If it is in the playback mode (S26: Yes), since it is instructed to start overdubbing, all current flags are set to 0 (S27), overdubbing is started (S28), and the left pedal is turned on. End the process.
S26の判断処理において、再生モードでなければ(S26:No)、現在のモードはオーバーダビングであり、オーバーダビングを中止して読出しだけを行う再生モードに切り替え(S29)、この左ペダルオン処理を終了する。 If the playback mode is not the playback mode in the determination process of S26 (S26: No), the current mode is overdubbing, the overdubbing is stopped and the playback mode in which only reading is performed is switched (S29), and the left pedal on process is terminated. To do.
図6(a)は、図4に示すフローチャートのS7の左ペダルホールド処理の詳細を示すフローチャートであり、(b)は、(a)の処理で実行されるサブルーチンであるアンドゥ処理を示すフローチャートである。 6A is a flowchart showing details of the left pedal hold process of S7 in the flowchart shown in FIG. 4, and FIG. 6B is a flowchart showing an undo process that is a subroutine executed in the process of FIG. is there.
(a)の左ペダルホールド処理では、まず、レコーダが現在再生モード(PLAY)であるかを判断する(S30)。再生モードであれば(S30:Yes)アンドゥ処理を行い(S31)この左ペダルホールド処理を終了する。この場合は、引き続き再生モードのままである。 In the left pedal hold process of (a), first, it is determined whether or not the recorder is in the current playback mode (PLAY) (S30). If the playback mode is selected (S30: Yes), an undo process is performed (S31), and the left pedal hold process is terminated. In this case, the playback mode is still maintained.
S30の判断処理で、再生モードでない場合は(S30:No)、オーバーダビングモードであるかを判断する(S32)。オーバーダビングモードである場合は(S32:Yes)、オーバーダビングを中止し(S33)、アンドゥ処理を実行して(S34)、再生モードに設定し(S35)、この左ペダルホールド処理を終了する。 If it is determined in S30 that the playback mode is not set (S30: No), it is determined whether the overdubbing mode is set (S32). If it is the overdubbing mode (S32: Yes), the overdubbing is stopped (S33), the undo process is executed (S34), the playback mode is set (S35), and the left pedal hold process is terminated.
S32の判断処理で、オーバーダビングモードではない場合は(S32:No)この左ペダルホールド処理を終了する。ここで、オーバーダビングを中止するとは、読出している楽音と新たに入力した楽音との合成を中止し、プレイ2cへの記憶を中止することである。
If it is determined in S32 that the overdubbing mode is not set (S32: No), the left pedal hold process is terminated. Here, canceling overdubbing means stopping the synthesis of the read musical sound and the newly input musical sound, and canceling the storage in the
つぎに(b)に示すアンドゥ処理について説明する。この処理では、各ブロック毎にカレントフラグが「1」を判断し(S36)、カレントフラグが「1」であれば(S36:Yes)、そのカレントフラグに対応するブロックのセレクトフラグを反転する(S37)。S37の処理のつぎ、または、S36の判断処理でカレントフラグが「1」でない場合は(S36:No)、全ブロックについて処理を行ったかを判断し(S38)、まだ処理指定していないブロックがある場合は(S38:No)、S36の処理へ戻り、全てのブロックについての処理を行った場合は(S38:Yes)、このアンドゥ処理を終了する。なお、このアンドゥ処理を行っている間、LED8cを点滅し、ユーザにアンドゥ処理を行っていることを知らせる。
Next, the undo process shown in FIG. In this process, the current flag is determined to be “1” for each block (S36). If the current flag is “1” (S36: Yes), the select flag of the block corresponding to the current flag is inverted (S36). S37). If the current flag is not “1” after the process of S37 or in the determination process of S36 (S36: No), it is determined whether or not all blocks have been processed (S38), and there are blocks that have not yet been designated for processing. If there is (S38: No), the process returns to S36, and if all the blocks have been processed (S38: Yes), this undo process is terminated. During the undo process, the
図7は、図4に示すメイン処理のフローチャートのS11の処理の詳細を示すフローチャートである。この処理では、RAM2に一時記憶された楽音や、フラッシュROM9からRAM2への読み出しを行う処理である。
FIG. 7 is a flowchart showing details of the process of S11 in the flowchart of the main process shown in FIG. In this process, the music sound temporarily stored in the
まず、データブロック読み出しイベントが設定されているかを判断する(S40)。このデータブロック読み出しイベントは、再生モードまたはオーバーダビングモードにおいて、1ブロックの読み出しが終了し、つぎのブロックの読み出しを行う際に設定されるもので、図8に示すフローチャートを参照して、後述する。 First, it is determined whether a data block read event is set (S40). This data block read event is set when the reading of one block is completed and the next block is read in the reproduction mode or the overdubbing mode, and will be described later with reference to the flowchart shown in FIG. .
このデータブロック読み出しイベントが設定されている場合は(S40:Yes)フラッシュROM9から順次読み出しているブロックから楽音を読み出し、RAM2のロード2aに書き込む(S41)。フラッシュROM9から読み出す場合は、セレクトフラグにより指定されているトラックの対応するブロックから読み出しを行う。
If this data block read event is set (S40: Yes), the musical sound is read from the blocks sequentially read from the
このS41の処理を終了した場合、またはデータブロック読み出しイベントが設定されていない場合(S40:No)、データブロック書込イベントが設定されているかを判断する(S42)。このデータブロック書込イベントは、録音モードおよびオーバーダビングモードにおいて、1ブロックの書込が終了した際に設定されるイベントであり、図8に示すフローチャートを参照して後述する。 When the process of S41 is completed, or when a data block read event is not set (S40: No), it is determined whether a data block write event is set (S42). This data block write event is an event that is set when writing of one block is completed in the recording mode and the overdubbing mode, and will be described later with reference to the flowchart shown in FIG.
このデータブロック書込イベントが設定されている場合は(S42:Yes)、トラック0とトラック1のいずれに記憶するかを決定する。そのために、まず書込を行うブロックのカレントフラグが「1」であるかを判断する(S43)。セレクトフラグが「1」である場合は(S43:Yes)、すでにオーバーダビングが行われたことを示すので、セレクトフラグにより指定されるトラックの所定のブロックにセーブ2dに記憶されている楽音を記憶する(S48)。
When this data block write event is set (S42: Yes), it is determined which of
S43の判断処理において、カレントフラグが「1」ではない場合は(S43:No)、まだ、そのブロックについてはオーバーダビングが行われいないので、セレクトフラグを反転し、その反転したセレクトフラグの示すトラックの所定のブロックに書き込む。 In the determination process of S43, if the current flag is not “1” (S43: No), since the overdubbing has not yet been performed for the block, the select flag is inverted, and the track indicated by the inverted select flag is displayed. Is written in a predetermined block.
フローチャートに従って説明すると、まず、カレントフラグを1に設定し(S44)、そのブロックについて書込を行ったことを示し、セレクトフラグが「1」であるかを判断する(S45)。セレクトフラグが「1」である場合は(S45:Yes)セレクトフラグを「0」に設定し(S46)、セレクトフラグが「1」でない場合は(S45:No)、セレクトフラグを「1」に設定する(S47)。 To explain according to the flowchart, first, the current flag is set to 1 (S44), it indicates that writing has been performed for the block, and it is determined whether the select flag is "1" (S45). When the select flag is “1” (S45: Yes), the select flag is set to “0” (S46). When the select flag is not “1” (S45: No), the select flag is set to “1”. Set (S47).
上記のようにしてセレクトフラグを設定すると、そのセレクトフラグが示すトラックの所定のブロックに、RAM2のセーブ2d領域に記憶されている楽音を記憶する(S48)。S42の判断処理において、データブロック書込イベントが設定されていない場合(S42:No)およびS48の処理を終了した場合は、この入出力データ処理を終了する。
When the select flag is set as described above, the musical sound stored in the
図8は、録音モード、再生モードおよびオーバーダビングモードにおいて、サンプリング周期で発生される割込処理を示すフローチャートである。 FIG. 8 is a flowchart showing interrupt processing generated at a sampling period in the recording mode, the playback mode, and the overdubbing mode.
まず、現在のモードが録音(REC)であるかを判断する(S60)。録音である場合は(S60:Yes)、A/D変換器7により変換されたデジタル信号である振幅値を、RAM2のプレイ2cのi番目のアドレスに記憶する(S61)。iは、ブロック内のアドレスを示すものである。
First, it is determined whether or not the current mode is recording (REC) (S60). In the case of recording (S60: Yes), the amplitude value, which is a digital signal converted by the A /
S61の処理またはS60の判断処理で録音モードではないと判断した場合(S60:No)は、次ぎに現在のモードが再生(PLAY)であるかを判断する(S62)。再生である場合は(S62:Yes)、RAM2のプレイ2cのi番目のアドレスに記憶されている振幅値をD/A変換器10へ出力する(S63)。
If it is determined that the recording mode is not selected in the process of S61 or the determination process of S60 (S60: No), it is next determined whether the current mode is playback (PLAY) (S62). In the case of reproduction (S62: Yes), the amplitude value stored in the i-th address of the
S63の処理またはS62の判断処理で再生モードではないと判断した場合(S62:No)は、次ぎに現在のモードがオーバーダビング(OVERDUB)であるかを判断する(S64)。オーバーダビングモードである場合は(S64:Yes)、RAM2のプレイ2cのi番目のアドレスに記憶されている振幅値をD/A変換器10へ出力するとともに、A/D変換器7により変換された振幅値と合成し、その合成した値をRAM2のプレイ2cのi番目のアドレスに書き戻す(S65)。
When it is determined that the playback mode is not selected in the process of S63 or the determination process of S62 (S62: No), it is next determined whether the current mode is overdubbing (OVERDUB) (S64). In the overdubbing mode (S64: Yes), the amplitude value stored in the i-th address of the
S65の処理またはS64の判断処理でオーバーダビングモードではないと判断した場合(S64:No)は、次ぎにブロック内のアドレスを示すiを「1」だけ進める(S66)。つぎに、このアドレスiが、ブロックの最終アドレスを越えたかを判断する(S67)。アドレスiが、ブロックを超えた場合は(S67:Yes)、イベントをセットする(S68)。このイベントをセットするとは、現在のモードが録音である場合には、データブロック書込イベントを設定し、現在のモードが再生である場合には、データブロック読み出しイベントを設定し、現在のモードがオーバーダビングである場合は、データブロック書込イベントと、データブロック読み出しイベントとを設定するものである。 If it is determined in the process of S65 or the determination process of S64 that the overdubbing mode is not set (S64: No), i indicating the address in the block is then advanced by “1” (S66). Next, it is determined whether this address i exceeds the final address of the block (S67). If the address i exceeds the block (S67: Yes), an event is set (S68). Setting this event sets a data block write event if the current mode is recording, sets a data block read event if the current mode is playback, and sets the current mode to In the case of overdubbing, a data block write event and a data block read event are set.
このイベントのセットの次ぎにアドレスを0に設定し(S69)この割込処理を終了する。S67の判断処理において、アドレスiがブロックを超えていない場合も、この割込処理を終了する。 Next to this event set, the address is set to 0 (S69), and this interrupt process is terminated. In the determination process of S67, this interrupt process is also terminated when the address i does not exceed the block.
以上、上述した実施例に基づいて説明したように、本発明のレコーダ1によれば、トラック0の所定のブロックから読出した楽音と合成された楽音は、トラック0の所定のブロックに対応するトラック1のブロックに書込まれ、トラック1の所定のブロックから読出された楽音と合成された楽音は、トラック1の所定のブロックに対応するトラック0のブロックに書込まれる。よって、編集をする度に、編集前の楽音と、編集後の楽音とだけが効率良く記憶される。従って、アンドゥの実行は1回に限定されるものの、楽音を記憶するための記憶容量を少容量に制限することができ、レコーダ1の製造コストを低減することができる。また、変更した選択情報をカレントフラグ2fに記憶されている書込み情報に応じて再び元の状態に復帰するだけで、編集前の楽音を読出すことができ、アンドゥを簡易なデータ管理の下で実行することができる。
As described above based on the above-described embodiment, according to the
次に、第2の実施例のレコーダ100について説明する。上述した第1実施例のレコーダ1では、セレクトフラグ2eとカレントフラグ2fとの2種類のフラグを利用して2つのトラックに記憶されたデータを管理する場合について説明したが、この第2実施例のレコーダ100では、第1セレクトフラグ2gと第2セレクトフラグ2hとの2種類のフラグを利用する場合について説明する。
Next, the
尚、この第2実施例のレコーダ100については、第1実施例のレコーダ1と相違する点について説明し、第1実施例のレコーダ1と共通する点についての説明は省略する。
Note that the
図9は、レコーダ100の電気的な構成およびこのレコーダ100に接続される機器の概略を示すブロック図である。
FIG. 9 is a block diagram illustrating an electrical configuration of the
レコーダ100は、レコーダ1のRAM2に備えられていたセレクトフラグ2eとカレントフラグ2fとに代えて、第1セレクトフラグ2gと、第2セレクトフラグ2hとを備え、更に読出しポインタ2iを備えている。
The
第1セレクトフラグ2gと第2セレクトフラグ2hとは、トラック0とトラック1との対応するブロック毎に、その対応するどちらのブロックに記憶されている楽音を読出すかを示す選択情報を記憶するものである。読出しポインタ2iは、第1セレクトフラグ2gまたは第2セレクトフラグ2hに記憶されているいずれの選択情報に従って楽音を読出すかを示すものである。
The first select flag 2g and the second select flag 2h store, for each corresponding block of the
図10は、第2実施例のレコーダ100がフレーズを録音、オーバーダビングおよびアンドゥする場合のメモリの使い方とフラグとの関係を模式的に示す図である。
FIG. 10 is a diagram schematically showing the relationship between the usage of the memory and the flag when the
(a)は、トラック0およびトラック1に全くフレーズが記憶されていない状態から、トラック0のブロック0から7にフレーズが記憶された場合を示している。この場合、第1セレクトフラグおよび第2セレクトフラグは「0」に設定され、読出しポインタ2iは第1セレクトフラグを指し示しているとする。
(A) shows a case where phrases are stored in
次に(a)に示す状態から、ブロック2から4までの区間でオーバーダビングが行われた場合を(b)に示す。この区間でオーバーダビングの指示があると、読出しポインタ2iが示す第1セレクトフラグの全部の状態を第2セレクトフラグに書き写し、読出しポインタ2iを第1セレクトフラグから第2セレクトフラグを指すように移動する。
Next, (b) shows a case where overdubbing is performed in the section from
また、第1セレクトフラグのブロック2から4に対応する選択情報に従ってトラック0から読出されている楽音(被合成楽音)と新たに入力された楽音とを合成し、合成した楽音(合成楽音)をトラック1のブロック2から4にそれぞれ書き込む。即ち、読出した一方のトラックのブロックに対応する他方のトラックのブロックに合成した楽音を書き込む。
In addition, the musical sound read from track 0 (synthesized musical sound) and the newly input musical sound are synthesized according to the selection information corresponding to
合成した楽音を書込むと、第1セレクトフラグの状態が書き写されている第2セレクトフラグのブロック2から4に対応する選択情報を「0」から「1」に反転する。一方、第1セレクトフラグの選択情報は(a)に示す状態のまま維持される。結局、第1セレクトフラグは全て「0」、第2セレクトフラグのブロック2から4に対応する選択情報が「1」、ブロック0,1,5から7に対応する選択情報が「0」に設定される。
When the synthesized tone is written, the selection information corresponding to the
つぎに、(b)に示す状態から、ブロック1と2の区間においてオーバーダビングが行われた場合を(c)に示す。この区間でオーバーダビングの指示があると、読出しポインタ2iが示す第2セレクトフラグの全部の状態を第1セレクトフラグに書き写し、読出しポインタ2iを第2セレクトフラグから第1セレクトフラグを指し示すように移動する。
Next, (c) shows a case where overdubbing is performed in the section between
また、第2セレクトフラグのブロック1,2に対応する選択情報に従ってトラック0のブロック1とトラック1のブロック2とから読出されている楽音(被合成楽音)と新たに入力された楽音とを合成する。トラック0のブロック1から読出されている楽音(被合成楽音)と新たに入力された楽音とを合成した楽音(合成楽音)は、トラック1のブロック1に書込み、トラック1のブロック2から読出されている楽音(被合成楽音)と新たに入力された楽音とを合成した楽音(合成楽音)は、トラック0のブロック1に書込む。
In addition, the musical tone (synthesized musical tone) read from the
合成楽音を書込むと、第2セレクトフラグの状態が書き写された第1セレクトフラグのブロック1に対応する選択情報を「0」から「1」に反転し、ブロック2に対応する選択情報を「1」から「0」に反転する。一方、第2セレクトフラグの選択情報は(b)に示す状態のまま維持される。 When the synthesized musical tone is written, the selection information corresponding to block 1 of the first select flag in which the state of the second select flag is copied is inverted from “0” to “1”, and the selection information corresponding to block 2 is changed. Invert from “1” to “0”. On the other hand, the selection information of the second select flag is maintained in the state shown in (b).
結局、第1セレクトフラグのブロック0,2,5から7に対応する選択情報が「0」、ブロック1,3,4に対応する選択情報が「1」に設定され、第2セレクトフラグのブロック2から4に対応する選択情報が「1」、ブロック0,1,5から7に対応する選択情報が「0」に設定される。
Eventually, the selection information corresponding to
なお、このレコーダでは、停止操作を行うまでは、繰り返しフレーズが読出されて、読出されたフレーズを構成する楽音に新たな楽音を合成して記憶させることができる。 In this recorder, until a stop operation is performed, a repeated phrase is read out, and a new musical tone can be synthesized and stored in the musical tone constituting the read-out phrase.
(c)の場合を例にとると、ブロック0からブロック7まで読出しが行われると、再びブロック0から読出しが開始される。読出しは、現在読出しポインタ2iが示している第1セレクトフラグにより示されるトラック0またはトラック1のブロックから行われる。この場合、書込みを行う際に、第1セレクトフラグと第2セレクトフラグとが一致しているブロックでは、第1セレクトフラグにより示されるトラックとは異なるトラックに書込みを行い、そのブロックの第1セレクトフラグを反転する。しかし、既に第2セレクトフラグを反転済で、第2セレクトフラグと一致していない場合には、第1セレクトフラグにより示されるトラックの同じブロックに書込みを行う。
Taking the case of (c) as an example, when reading is performed from
つぎに、アンドゥ処理について、(d)を参照して説明する。(c)のように記憶が行われ、順次各ブロックについて(c)において読出しポインタ2iが示す第1セレクトフラグに従ってトラックを選択して読出すと、今回のオーバーダビングを行ったフレーズを読出すことができる。
Next, the undo process will be described with reference to (d). When the memory is stored as shown in (c) and a track is selected and read sequentially according to the first select flag indicated by the
しかし、このオーバーダビング中の演奏がうまくできなかった場合には、今回のオーバーダビングを行う前の状態に戻し、再度オーバーダビングする必要がある。その場合には、上述のように左ペダル6eを所定時間以上オンし続けることにより、アンドゥが実行される。
However, if the performance during the overdubbing is not successful, it is necessary to return to the state before the current overdubbing and overdub again. In that case, the undo is executed by keeping the
このアンドゥ処理は、読出しポインタ2iを第1セレクトフラグから第2セレクトフラグを指し示すように移動する。これにより、次回は第2セレクトフラグに記憶されている選択情報に従って楽音が読出される。尚、この第2セレクトフラグが示す状態は、(b)に示す第2セレクトフラグが示す状態と一致している。
In this undo process, the
図11は、図4に示すフローチャートのS3の左ペダルオン処理の詳細を示すフローチャートである。第2実施例のレコーダ100は、第1実施例のレコーダ1と比較して、再生モードであった場合(S26:Yes)の後の処理が異なる。
FIG. 11 is a flowchart showing details of the left pedal-on process in S3 of the flowchart shown in FIG. The
第2実施例のレコーダ100では、再生モードであった場合には(S26:Yes)、読出しポインタ2iが示す一方のセレクトフラグの状態を他方のセレクトフラグに書き写し(S70)、読出しポインを一方のセレクトフラグから他方のセレクトフラグに移動する(S71)。その後は、第1実施例のレコーダ1と同様に、オーバーダビングを開始し(S28)、この左ペダルオン処理を終了する。
In the
また、図示は省略するが、図6(b)に示すアンドゥの処理においては、第1実施例のレコーダ1はカレントフラグに対応するセレクトフラグを反転する処理(S36,S37)を介してS38の処理を実行するのに対し、第2実施例のレコーダ100は、アンドゥの指示に応じて読出しポインタ2iを一方のセレクトフラグから他方のセレクトフラグに移動させてた後、S38の処理を実行する。このように、2つのセレクトフラグ9e,9fを利用する場合には、読出しポインタ2iを移動させるだけで良いので簡易なデータ管理の下でアンドゥを実行することができる。
Although not shown, in the undo process shown in FIG. 6B, the
図12は、図4に示すメイン処理のフローチャートのS11の処理の詳細を示すフローチャートである。第2実施例のレコーダ100は、第1実施例のレコーダ1と比較して、データブロック書込みイベントが設定されている場合(S42:Yes)の後の処理が異なる。
FIG. 12 is a flowchart showing details of the process of S11 in the flowchart of the main process shown in FIG. The
データブロック書込イベントが設定されている場合は(S42:Yes)、読出しポインタ2iが示すセレクトフラグが反転済(読出しポインタ2iが示す一方のセレクトフラグが対応する他方のセレクトフラグと一致していない)か否かを判断する(S73)。
If the data block write event is set (S42: Yes), the select flag indicated by the
その結果、反転済の場合には(S73:Yes)、すでにオーバーダビングが行われたことを示すので、読出しポインタ2iが示すセレクトフラグにより指定されるトラックの所定のブロックにセーブ2dに記憶されている楽音を記憶する(S48)。
As a result, if it has been inverted (S73: Yes), it indicates that overdubbing has already been performed, so that it is stored in the
一方、反転されていない場合には(S73:No)、読出しポインタが示すセレクトフラグが「1」か否かを判断する(S74)。その結果、「1」であれば(S74:Yes)、その読出しポインタが示すセレクトフラグを「0」に設定し(S75)、「1」でなければ(S74:No)その読出しポインタが示すセレクトフラグを「1」に設定する(S76)。即ち、S74からS76の処理において、読出しポインタが示すセレクトフラグを反転するのである。 On the other hand, if not inverted (S73: No), it is determined whether or not the select flag indicated by the read pointer is “1” (S74). If the result is "1" (S74: Yes), the select flag indicated by the read pointer is set to "0" (S75), and if not "1" (S74: No), the select indicated by the read pointer The flag is set to “1” (S76). That is, in the processes from S74 to S76, the select flag indicated by the read pointer is inverted.
こうして、セレクトフラグを設定した後は、第1実施例で説明したのと同様に、そのセレクトフラグが示すトラックの所定のブロックに、RAM2のセーブ2d領域に記憶されている楽音を記憶して(S48)、この入出力データ処理を終了する。
After setting the select flag in this way, the musical sound stored in the
以上、説明したように、第2実施例のレコーダ100によっても第1実施例のレコーダ1と同様に合成された楽音が書込まれるので、編集をする度に、編集前の楽音と、編集後の楽音とだけが記憶される。よって、アンドゥの実行は1回に限定されるものの、楽音を記憶するための記憶容量を少容量に制限することができ、レコーダ1を低コストで製造することができる。また、アンドゥが実行された場合には、読出しポインタ2iを移動させるだけで良いためアンドゥを実行するためのデータ管理を簡易にすることができる。
As described above, since the synthesized sound is written by the
上記第1実施例において、請求項1記載の読出し手段としては、図5のS22、S25、S29の処理や図7のS40やS41の処理や図8のS63の処理が該当し、生成手段としては図8のS65の処理が該当し、書込手段としては、図7の48の処理が該当し、変更手段としては、図6(a)のS31やS34の処理や図7のS45からS47までの処理が該当する。請求項2記載の第1の反転手段としては、図7のS45からS47までの処理が該当し、第2の反転手段としては、図6(a)のS31やS34の処理が該当する。
In the first embodiment, the reading means described in
上記第2実施例において、請求項4記載の読出し手段としては、図11のS22、S25、S29の処理や図12のS40やS41の処理や図8のS63の処理が該当し、生成手段としては図8のS65の処理が該当し、書込手段としては、図12の48の処理が該当し、変更手段としては、図12のS74からS76の処理が該当し、切替え手段としては、図11のS70や図6(a)のS31やS34の処理が該当する。
In the second embodiment, the reading means according to
以上、上記実施例に基づき本発明を説明したが、本発明は、上記実施例に何ら限定されるものでなく、本発明の趣旨を逸脱しない範囲内で種々の改良変形が可能であることは容易に推察できるものである。 The present invention has been described above based on the above embodiments, but the present invention is not limited to the above embodiments, and various improvements and modifications can be made without departing from the spirit of the present invention. It can be easily guessed.
例えば、上記実施例では、アンドゥの開始を指示するために左ペダル6dを操作する場合について説明したが、アンドゥの開始を指示する手段としては、左ペダル6dを操作する場合に限られず、外部から新たな入力信号が入力された場合にアンドゥを開始するように構成しても良い。
For example, in the above embodiment, the case where the
また、上記第2実施例では、オーバーダビングやアンドゥを実行する度に読出しポインタ2iを切替える場合について説明したが、読出しポインタ2iの制御方法については、かかる場合に限られず、オーバーダビングが実行された場合には読出しポインタを移動することなく、読出しポインタ2iが示す一方のセレクトフラグの選択情報を更新し、他方のセレクトフラグの選択情報に前回の状態を記憶し、アンドゥがあった場合に読出しポインタ2iを一方のセレクトフラグから他方のセレクトフラグに移動するように構成しても良い。
In the second embodiment, the case where the
1,100 レコーダ
2e セレクトフラグ(第3の記憶手段)
2f カレントフラグ(第4の記憶手段)
2g 第1セレクトフラグ(第3の記憶手段)
2h 第2セレクトフラグ(第4の記憶手段)
2i 読出しポインタ(切替え手段)
6e 左ペダル(指示手段)
6d 右ペダル
9 フラッシュROM(記憶手段)
9a トラック0(第1の記憶手段)
9b トラック1(第2の記憶手段)
1,100 Recorder 2e select flag (third storage means)
2f Current flag (fourth storage means)
2g First select flag (third storage means)
2h Second select flag (fourth storage means)
2i Read pointer (switching means)
6e Left pedal (instruction means)
6d
9a Track 0 (first storage means)
9b Track 1 (second storage means)
Claims (5)
その第1の記憶手段の各ブロックに対応する複数のブロックにより構成され、その各ブロックにより楽音を区分けして記憶する第2の記憶手段と、
その第1と第2との記憶手段の対応するブロック毎に、その対応するどちらのブロックに記憶されている楽音を読出すかを示す選択情報を記憶する第3の記憶手段と、
その第3の記憶手段に記憶された選択情報に従って楽音を読出す読出し手段と、
その読出し手段により読み出された楽音の所定の区間に新たに入力される楽音を合成することを指示する指示手段と、
その指示手段に指示された区間を含むブロック単位の楽音を被合成楽音として、その被合成楽音と新たに入力される楽音とを合成して合成楽音を生成する生成手段と、
その生成手段により合成される被合成楽音を前記第1の記憶手段の所定のブロックから読出した場合には、前記合成楽音を前記第1の記憶手段の所定のブロックに対応する第2の記憶手段のブロックに書込み、前記被合成楽音を前記第2の記憶手段の所定のブロックから読出した場合には、前記合成楽音を第2の記憶手段の所定のブロックに対応する第1の記憶手段のブロックに書込む書込み手段と、
その書込み手段が前記合成楽音を前記第1または第2の記憶手段の所定のブロックに書込んだことを示す書込み情報を前記第1と第2との記憶手段の対応するブロック毎に記憶する第4の記憶手段と、
その第4の記憶手段に記憶されている書込み情報に応じて前記第3の記憶手段に記憶されている選択情報を変更する変更手段とを備えていることを特徴とするレコーダ。 A first storage means configured by a plurality of blocks, each of which stores and stores a musical sound;
A second storage means configured by a plurality of blocks corresponding to the respective blocks of the first storage means, and dividing and storing the musical sound by each block;
For each corresponding block of the first and second storage means, a third storage means for storing selection information indicating which of the corresponding blocks is to be read out;
Reading means for reading the musical sound according to the selection information stored in the third storage means;
Instruction means for instructing synthesis of a newly input musical sound in a predetermined section of the musical sound read by the reading means;
Generating means for generating a synthesized musical sound by synthesizing the synthesized musical sound and a newly input musical tone, with the musical tone in block units including the section instructed by the instruction means as the synthesized musical sound;
When the synthesized musical sound synthesized by the generating means is read out from the predetermined block of the first storage means, the synthesized musical sound is stored in the second storage means corresponding to the predetermined block of the first storage means. When the synthesized musical sound is read from the predetermined block of the second storage means, the synthesized musical sound is stored in the block of the first storage means corresponding to the predetermined block of the second storage means. Writing means for writing to,
Write information indicating that the writing means has written the synthesized musical sound into a predetermined block of the first or second storage means is stored for each corresponding block of the first and second storage means. 4 storage means;
A recorder comprising: changing means for changing selection information stored in the third storage means in accordance with write information stored in the fourth storage means.
その第1の記憶手段の各ブロックに対応する複数のブロックにより構成され、その各ブロックにより楽音を区分けして記憶する第2の記憶手段と、
その第1と第2との記憶手段の対応するブロック毎に、その対応するどちらのブロックに記憶されている楽音を読出すかを示す選択情報を記憶する第3の記憶手段と、
その第1と第2との記憶手段との対応するブロック毎に、その対応するどちらか一方のブロックに記憶されている楽音を読出す読出し手段と、
その読出し手段により読み出された楽音の所定の区間に新たに入力される楽音を合成することを指示する指示手段と、
その指示手段に指示された区間を含むブロック単位の楽音を被合成楽音として、その被合成楽音と新たに入力される楽音とを合成して合成楽音を生成する生成手段と、
その生成手段により合成される被合成楽音を前記第1の記憶手段の所定のブロックから読出した場合には、前記合成楽音を前記第1の記憶手段の所定のブロックに対応する第2の記憶手段のブロックに書込み、前記被合成楽音を前記第2の記憶手段の所定のブロックから読出した場合には、前記合成楽音を第2の記憶手段の所定のブロックに対応する第1の記憶手段のブロックに書込む書込み手段と、
その書込み手段により合成楽音が書き込まれた前記第1または第2の記憶手段のブロックに対応する前記選択情報を変更する変更手段と、
その変更手段により変更された選択情報とその変更手段により変更された選択情報を除く選択情報とを前記第1と第2との記憶手段の対応するブロック毎に記憶する第4の記憶手段と、
その第4の記憶手段に記憶された選択情報または前記第3の記憶手段に記憶された選択情報に従って前記読込み手段が楽音を読出すように切替える切替え手段とを備えていることを特徴とするレコーダ。 A first storage means configured by a plurality of blocks, each of which stores and stores a musical sound;
A second storage means configured by a plurality of blocks corresponding to the respective blocks of the first storage means, and dividing and storing the musical sound by each block;
For each corresponding block of the first and second storage means, a third storage means for storing selection information indicating which of the corresponding blocks is to be read out;
For each corresponding block of the first and second storage means, a reading means for reading out the musical sound stored in one of the corresponding blocks;
Instruction means for instructing synthesis of a newly input musical sound in a predetermined section of the musical sound read by the reading means;
Generating means for generating a synthesized musical sound by synthesizing the synthesized musical sound and a newly input musical tone, with the musical tone in block units including the section instructed by the instruction means as the synthesized musical sound;
When the synthesized musical sound synthesized by the generating means is read out from the predetermined block of the first storage means, the synthesized musical sound is stored in the second storage means corresponding to the predetermined block of the first storage means. When the synthesized musical sound is read from the predetermined block of the second storage means, the synthesized musical sound is stored in the block of the first storage means corresponding to the predetermined block of the second storage means. Writing means for writing to,
Changing means for changing the selection information corresponding to the block of the first or second storage means in which the synthesized musical sound is written by the writing means;
Fourth storage means for storing the selection information changed by the change means and the selection information excluding the selection information changed by the change means for each corresponding block of the first and second storage means;
A recorder comprising: switching means for switching the reading means to read out a musical sound according to the selection information stored in the fourth storage means or the selection information stored in the third storage means .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004202360A JP2006023594A (en) | 2004-07-08 | 2004-07-08 | Recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004202360A JP2006023594A (en) | 2004-07-08 | 2004-07-08 | Recorder |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006023594A true JP2006023594A (en) | 2006-01-26 |
Family
ID=35796889
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004202360A Pending JP2006023594A (en) | 2004-07-08 | 2004-07-08 | Recorder |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006023594A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8772618B2 (en) | 2010-10-26 | 2014-07-08 | Roland Corporation | Mixing automatic accompaniment input and musical device input during a loop recording |
-
2004
- 2004-07-08 JP JP2004202360A patent/JP2006023594A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8772618B2 (en) | 2010-10-26 | 2014-07-08 | Roland Corporation | Mixing automatic accompaniment input and musical device input during a loop recording |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102568452B (en) | Electronic musical instrument | |
JP2013050530A (en) | Recording and reproducing device, and program | |
JP3659190B2 (en) | Playback control apparatus, method and program | |
JP4882327B2 (en) | Content playback apparatus, content playback method, and content playback program | |
JPH04339000A (en) | Music reproduction device | |
JP2004005098A (en) | Information recording/reproducing system, music recording/reproducing system,music recording/reproducing unit, music recording/processing program and music recording method in music recording/reproducing system | |
JP2006023569A (en) | Recorder | |
JP2006023569A5 (en) | ||
JP4211709B2 (en) | Automatic performance device and computer program applied to the same | |
JP2006023594A (en) | Recorder | |
JP4270102B2 (en) | Automatic performance device and program | |
JP4170525B2 (en) | Waveform readout device | |
US7385129B2 (en) | Music reproducing system | |
JP3397078B2 (en) | Electronic musical instrument | |
JP2006065223A (en) | Sound source reproducing device | |
JP2570630B2 (en) | Automatic performance device | |
JP2641851B2 (en) | Automatic performance device | |
JP2570631B2 (en) | Automatic performance device | |
KR20080039704A (en) | Portable audio player and controlling method thereof | |
JP2541867B2 (en) | Velocity value changing device for musical tone information | |
JPH0437356Y2 (en) | ||
JP3409879B2 (en) | Automatic performance device | |
JP2005010462A (en) | Device and program for automatic musical performance, and computer-readable recording medium where automatic musical performance pattern data are recorded | |
JP2001188552A (en) | Audio waveform signal reproducing controller | |
JP2002287747A (en) | Method and device for automatically editing playing data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20061109 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070706 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081021 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081028 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081227 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090203 |