JP2013195772A - Recording and reproducing apparatus and program - Google Patents

Recording and reproducing apparatus and program Download PDF

Info

Publication number
JP2013195772A
JP2013195772A JP2012063579A JP2012063579A JP2013195772A JP 2013195772 A JP2013195772 A JP 2013195772A JP 2012063579 A JP2012063579 A JP 2012063579A JP 2012063579 A JP2012063579 A JP 2012063579A JP 2013195772 A JP2013195772 A JP 2013195772A
Authority
JP
Japan
Prior art keywords
input
recording
data
loop
loop section
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012063579A
Other languages
Japanese (ja)
Inventor
Hirotake Sato
博毅 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2012063579A priority Critical patent/JP2013195772A/en
Publication of JP2013195772A publication Critical patent/JP2013195772A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a recording and reproducing apparatus for simultaneously sampling backing (accompaniment performance) and a single performance with easy operation.SOLUTION: While writing recording data in which first input data having sampled a signal input into an input 1 and second input date having sampled a signal input into an input 2 are summated, into a buffer area of a RAM 12 and recording the recording data, when a loop section repeatedly reproduced among the recording data recorded into the buffer area is designated, a CPU 10 mutes the second input data and repeatedly reproduces the recording data of the loop section designated in the buffer area of the RAM 12, and then overdubs the first input data into the repeatedly reproduced recording data.

Description

本発明は、一定時間録音した素材を繰り返し再生しながら、その繰り返し再生される素材に新たな素材を多重録音する録音再生装置およびプログラムに関する。   The present invention relates to a recording / reproducing apparatus and program for repeatedly recording a material recorded for a certain period of time and multiplex recording a new material on the material to be repeatedly reproduced.

一定時間録音した素材を繰り返し再生しながら、その繰り返し再生される素材(ループ用音データ)に新たな素材を多重録音する技術が知られている。この種の技術として、例えば特許文献1には、複数のレイヤ(トラック)から構成される録音エリアの中でイベント記録済みのレイヤを繰り返し再生し、この繰り返し再生中に新たに指定されるレイヤに、演奏操作に応じて生成されるイベントを記録する多重録音を行うことによって即興的な試行錯誤を繰り返してユーザ所望の音楽的修飾が施された伴奏パターンを作り上げる自動演奏装置が開示されている。   A technique is known in which a material that has been recorded for a certain period of time is repeatedly played back, and a new material is multiplex-recorded on the repeatedly played back material (loop sound data). As this type of technology, for example, in Patent Document 1, an event-recorded layer is repeatedly reproduced in a recording area composed of a plurality of layers (tracks), and a layer newly specified during this repeated reproduction is used. In addition, an automatic performance apparatus is disclosed that repeats improvisational trial and error to create an accompaniment pattern with a desired musical modification by performing multiple recording for recording events generated in response to a performance operation.

上記特許文献1に開示の技術は、録音(記録)する素材として、演奏操作に応じて生成されるMIDIイベントを対象としているが、近年ではサンプリングした音声データや、音源が発生する楽音データなどを録音素材として一定時間録音し、それを繰り返し再生しながら新たな素材を次々と多重録音して楽曲を作成するオーバーダブ機能を備えたルーパー(ループサンプラー)と呼ばれる録音再生装置も実用化されている。   The technique disclosed in Patent Document 1 is directed to MIDI events generated in response to performance operations as materials to be recorded (recorded). In recent years, sampled audio data, musical tone data generated by a sound source, and the like are used. A recording / playback device called a looper (loop sampler) that has an overdub function that records music for a certain period of time as a recording material and repeats and plays it back repeatedly to create new music by multiplex recording one after another .

特開2011−112679号公報JP 2011-112679 A

ルーパー(ループサンプラー)と呼ばれる録音再生装置のオーバーダブ機能は、声や楽器演奏、打楽器などの単独演奏の多重録音には適しているが、例えば自動演奏されるリズムパターンなどを、バッキング(伴奏演奏)としてサンプリングする場合は多重録音による不都合が生じる為、オーバーダブ機能を使用しないのが普通である。したがって、バッキング(伴奏演奏)のサンプリング時にはオーバーダブ機能をオフ設定し、単独演奏のサンプリング時にはオーバーダブ機能をオン設定する。   The overdub function of a recording / playback device called a looper (loop sampler) is suitable for multiple recording of single performances such as voice, musical instrument performance, and percussion instruments. When sampling as), there is a problem with multiple recording, so it is normal not to use the overdub function. Therefore, the overdub function is set to OFF when sampling a backing (accompaniment performance), and the overdub function is set to ON when sampling a single performance.

ところで、バッキング(伴奏演奏)と単独演奏とを同時にサンプリングするには、単独演奏については従来通りオーバーダブ機能をオン設定した状態でサンプリングを行えばよいが、バッキング(伴奏演奏)についてはループ再生する区間の先頭から末尾に丁度合わせてサンプリングするというタイミング的に非常に難しい操作を要求される。言い換えれば、簡単な操作でバッキング(伴奏演奏)と単独演奏とを同時にサンプリングすることが出来ないという問題がある。   By the way, in order to sample the backing (accompaniment performance) and the solo performance at the same time, it is sufficient to sample the solo performance with the overdub function turned on as usual, but the backing (accompaniment performance) is loop-played. An extremely difficult operation in terms of timing is required, in which sampling is performed just from the beginning to the end of the section. In other words, there is a problem that the backing (accompaniment performance) and the solo performance cannot be sampled simultaneously by a simple operation.

本発明は、このような事情に鑑みてなされたもので、簡単な操作でバッキング(伴奏演奏)と単独演奏とを同時にサンプリングすることができる録音再生装置およびプログラムを提供することを目的としている。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a recording / playback apparatus and program capable of simultaneously sampling a backing (accompaniment performance) and a single performance with a simple operation.

上記目的を達成するため、本発明の録音再生装置は、
第1及び第2入力部に入力されたデータを加算する加算手段と、
この加算手段からの出力を録音データとしてメモリ部に録音する録音手段と、
前記録音手段により前記メモリ部に録音データを録音中に、当該録音データの中から繰り返し再生するループ区間を設定するループ区間設定手段と、
前記ループ区間設定手段によるループ区間の設定に応答して、前記第2の入力部からのデータをミュートすると共に、前記設定されたループ区間に含まれる録音データを前記メモリ部から読み出して繰り返し再生する再生手段と、
前記再生手段により繰り返し再生されているループ区間の録音データを、前記第2の入力部からのデータに代えて前記加算手段に入力させる入力制御手段と、
を具備することを特徴とする。
In order to achieve the above object, the recording / reproducing apparatus of the present invention provides:
Adding means for adding data input to the first and second input units;
Recording means for recording the output from the adding means as recording data in the memory unit;
Loop section setting means for setting a loop section to be repeatedly reproduced from the recorded data while recording the recorded data in the memory unit by the recording means;
In response to the setting of the loop section by the loop section setting means, the data from the second input section is muted, and the recording data included in the set loop section is read from the memory section and repeatedly reproduced. Reproduction means;
Input control means for causing the addition means to input the recording data of the loop section being repeatedly reproduced by the reproduction means, instead of the data from the second input unit;
It is characterized by comprising.

本発明では、簡単な操作でバッキング(伴奏演奏)と単独演奏とを同時にサンプリングすることができる。   In the present invention, backing (accompaniment performance) and solo performance can be sampled simultaneously by a simple operation.

実施の一形態による楽音発生装置100の操作パネル面を示す外観図である。It is an external view which shows the operation panel surface of the musical sound generator 100 by one Embodiment. 楽音発生装置100の全体構成を示すブロック図である。1 is a block diagram showing the overall configuration of a musical sound generator 100. FIG. 入出力部15の構成を示すブロック図である。3 is a block diagram showing a configuration of an input / output unit 15. FIG. 初期化処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of an initialization process. 操作イベント処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of an operation event process. PLAY/STOP処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a PLAY / STOP process. REC1処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a REC1 process. REC2処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a REC2 process. LOOP処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a LOOP process. DELETE処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a DELETE process. サンプリング処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a sampling process.

以下、図面を参照して本発明の実施形態について説明する。
A.構成
(1)装置外観
図1は、実施の一形態による録音再生装置100の操作パネル面を示す外観図である。この図に示す録音再生装置100は、略直方形状の筐体から構成される。装置筐体の一方の長手方向側面には、2系統の入力端子およびステレオ信号を出力する出力端子が配設される。2系統の入力端子の内、一方をモノラル信号が入力される入力1と称し、他方をステレオ信号が入力される入力2と称する。後述するように、入力1に対してはオーバーダブ機能が有効となるが、入力2に対してはオーバーダブ機能が無効となる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A. Configuration (1) Appearance of Device FIG. 1 is an external view showing an operation panel surface of a recording / reproducing device 100 according to an embodiment. The recording / reproducing apparatus 100 shown in this figure is constituted by a substantially rectangular housing. Two input terminals and an output terminal for outputting a stereo signal are disposed on one longitudinal side surface of the apparatus housing. One of the two systems of input terminals is referred to as input 1 to which a monaural signal is input, and the other is referred to as input 2 to which a stereo signal is input. As will be described later, the overdub function is enabled for input 1, but the overdub function is disabled for input 2.

録音再生装置100の操作パネル面には、表示部14を構成するLCDパネルが設けられると共に、操作部13を構成する録音ボタンREC1、録音ボタンREC2、消去ボタンDELETE、再生/停止ボタンPLAY/STOPおよびループボタンLOOPが配設される。   An LCD panel constituting the display unit 14 is provided on the operation panel surface of the recording / reproducing apparatus 100, and a recording button REC1, a recording button REC2, a delete button DELETE, a play / stop button PLAY / STOP, and the operation unit 13. A loop button LOOP is provided.

録音ボタンREC1は、ボタンの押下操作に応じて入力1の録音開始又は録音停止を指示するイベントを発生する。録音ボタンREC2は、ボタンの押下操作に応じて入力2の録音開始又は録音停止を指示するイベントを発生する。消去ボタンDELETEは、ボタンの押下操作に応じてバッファエリア(後述する)のクリアを指示するイベントを発生する。再生/停止ボタンPLAY/STOPは、ボタンの押下操作に応じて再生開始又は再生停止を指示するイベントを発生する。ループボタンLOOPは、ボタンの押下操作に応じてループ再生(繰り返し再生)の開始を指示するイベントを発生する。   The recording button REC1 generates an event for instructing the start or stop of recording of the input 1 in response to the pressing operation of the button. The recording button REC2 generates an event for instructing the recording start or recording stop of the input 2 in response to the pressing operation of the button. The delete button DELETE generates an event instructing clearing of a buffer area (described later) in response to a button pressing operation. The playback / stop button PLAY / STOP generates an event for instructing playback start or playback stop in response to a button pressing operation. The loop button LOOP generates an event instructing the start of loop playback (repeated playback) in response to a button pressing operation.

(2)全体構成
次に、図2は録音再生装置100の全体構成を示すブロック図である。図2において、CPU10は、上述した操作ボタン(録音ボタンREC1、録音ボタンREC2、消去ボタンDELETE、再生/停止ボタンPLAY/STOPおよびループボタンLOOP)の押下操作に応じて操作部13が発生するイベントに従って装置動作(録音再生動作)を制御する。本発明の要旨に係わるCPU10の特徴的な処理動作については追って述べる。
(2) Overall Configuration Next, FIG. 2 is a block diagram showing the overall configuration of the recording / reproducing apparatus 100. In FIG. 2, the CPU 10 follows the event generated by the operation unit 13 in response to the pressing operation of the above-described operation buttons (record button REC1, record button REC2, delete button DELETE, play / stop button PLAY / STOP, and loop button LOOP). Controls device operation (recording / playback operation). A characteristic processing operation of the CPU 10 according to the gist of the present invention will be described later.

ROM11には、CPU10にロードされる各種プログラムが記憶される。各種プログラムとは、後述する初期化処理、操作イベント処理およびサンプリング周期処理を含む。なお、操作イベント処理は、PLAY/STOP処理、REC1処理、REC2処理、LOOP処理およびDELETE処理を含む。RAM12は、ワークエリアおよびバッファエリアを備える。RAM12のワークエリアには、CPU10の処理に用いられる各種レジスタ・フラグデータが一時記憶される。RAM12のバッファエリアは、図3に図示するバッファエリアBLおよびバッファエリアBRから構成される。   The ROM 11 stores various programs loaded on the CPU 10. The various programs include an initialization process, an operation event process, and a sampling cycle process which will be described later. The operation event process includes a PLAY / STOP process, a REC1 process, a REC2 process, a LOOP process, and a DELETE process. The RAM 12 includes a work area and a buffer area. In the work area of the RAM 12, various register / flag data used for the processing of the CPU 10 are temporarily stored. The buffer area of the RAM 12 includes a buffer area BL and a buffer area BR shown in FIG.

入出力部15は、CPU10の制御の下に、入力1および入力2をA/D変換してRAM12のバッファエリアBL、BRに書き込み保存しつつ、当該バッファエリアBL、BRから読み出してD/A変換して出力する録音再生動作を実行する。ここで、図3を参照して入出力部15の構成を説明する。   Under the control of the CPU 10, the input / output unit 15 performs A / D conversion on the input 1 and the input 2 and writes and saves them in the buffer areas BL and BR of the RAM 12, while reading from the buffer areas BL and BR and performing D / A Executes the recording / playback operation for conversion and output. Here, the configuration of the input / output unit 15 will be described with reference to FIG.

図3において、A/D変換器15a−1は、入力1に入力される信号をA/D変換して出力する。A/D変換器15a−2は、入力2に入力されるステレオ信号のL(左)成分をA/D変換して出力する。A/D変換器15a−3は、入力2に入力されるステレオ信号のR(右)成分をA/D変換して出力する。乗算器15b−1は、A/D変換器15a−1の出力にボリューム値V1を乗算した入力データI1を発生する。乗算器15b−2は、A/D変換器15a−2の出力にボリューム値V2を乗算した入力データI2Lを発生する。乗算器15b−3は、A/D変換器15a−3の出力にボリューム値V2を乗算した入力データI2Rを発生する。   In FIG. 3, the A / D converter 15a-1 performs A / D conversion on the signal input to the input 1 and outputs it. The A / D converter 15a-2 performs A / D conversion on the L (left) component of the stereo signal input to the input 2 and outputs the result. The A / D converter 15a-3 performs A / D conversion on the R (right) component of the stereo signal input to the input 2 and outputs the result. The multiplier 15b-1 generates input data I1 obtained by multiplying the output of the A / D converter 15a-1 by the volume value V1. The multiplier 15b-2 generates input data I2L obtained by multiplying the output of the A / D converter 15a-2 by the volume value V2. The multiplier 15b-3 generates input data I2R obtained by multiplying the output of the A / D converter 15a-3 by the volume value V2.

セレクタ15cは、CPU10から供給される選択信号SELに応じてスイッチSW1〜SW7を開閉制御し、乗算器15b−1〜15b−3からそれぞれ出力される入力データI1、I2L、I2Rと、RAM12のバッファエリアBL、BRからそれぞれ読み出される再生データとの出力経路を選択する。なお、選択信号SELは、操作部13の録音ボタンREC1、録音ボタンREC2、再生/停止ボタンPLAY/STOPおよびループボタンLOOPのボタン押下操作で発生するイベントに応じてCPU10が生成する。   The selector 15c controls opening and closing of the switches SW1 to SW7 according to the selection signal SEL supplied from the CPU 10, and the input data I1, I2L, I2R output from the multipliers 15b-1 to 15b-3, and the buffer of the RAM 12, respectively. An output path with reproduction data read from each of the areas BL and BR is selected. Note that the selection signal SEL is generated by the CPU 10 according to an event that occurs when the recording button REC1, the recording button REC2, the play / stop button PLAY / STOP and the loop button LOOP are pressed on the operation unit 13.

加算器15d−1〜15d−4は、セレクタ15cを介して入力されるデータ(入力データI1、I2L、I2RあるいはRAM12のバッファエリアBL、BRから読み出される再生データ)を加算して出力する。リミッタ15e−1、15e−2は、加算器15d−3、15d−4の各加算出力がオーバーフローしないように波高値制限する。リミッタ15e−1の出力は、RAM12のバッファエリアBLに書き込まれて保存され、一方、リミッタ15e−2の出力は、RAM12のバッファエリアBRに書き込まれて保存される。   The adders 15d-1 to 15d-4 add and output the data input via the selector 15c (reproduced data read from the input data I1, I2L, I2R or the buffer areas BL, BR of the RAM 12). The limiters 15e-1 and 15e-2 limit the peak values so that the addition outputs of the adders 15d-3 and 15d-4 do not overflow. The output of the limiter 15e-1 is written and stored in the buffer area BL of the RAM 12, while the output of the limiter 15e-2 is written and stored in the buffer area BR of the RAM 12.

RAM12のバッファエリアBLから読み出される再生データは、セレクタ15cを介して加算器15d−1、15d−3に入力され、一方、RAM12のバッファエリアBRから読み出される再生データは、セレクタ15cを介して加算器15d−2、15d−4に入力される。D/A変換器15f−1は、加算器15d−1の加算出力をD/A変換してステレオ信号のL(左)成分として出力する。D/A変換器15f−2は、加算器15d−2の加算出力をD/A変換してステレオ信号のR(右)成分として出力する。   The reproduction data read from the buffer area BL of the RAM 12 is input to the adders 15d-1 and 15d-3 via the selector 15c, while the reproduction data read from the buffer area BR of the RAM 12 is added via the selector 15c. Are input to the devices 15d-2 and 15d-4. The D / A converter 15f-1 performs D / A conversion on the addition output of the adder 15d-1, and outputs the result as an L (left) component of the stereo signal. The D / A converter 15f-2 performs D / A conversion on the addition output of the adder 15d-2 and outputs the result as an R (right) component of the stereo signal.

B.動作
次に、図4〜図11を参照して上記構成による実施形態の動作について説明する。以下では、CPU10が実行する初期化処理、操作イベント処理およびサンプリング周期処理の各動作について述べる。なお、操作イベント処理は、PLAY/STOP処理、REC1処理、REC2処理、LOOP処理およびDELETE処理を含む。
B. Action
Next, the operation of the embodiment having the above-described configuration will be described with reference to FIGS. Below, each operation | movement of the initialization process, operation event process, and sampling period process which CPU10 performs is described. The operation event process includes a PLAY / STOP process, a REC1 process, a REC2 process, a LOOP process, and a DELETE process.

(1)初期化処理の動作
図4は初期化処理の動作を示すフローチャートである。初期化処理は、録音再生装置100のパワーオン時もしくは消去ボタンDELETEを押下操作した時に実行される。初期化処理が実行されると、CPU10は図4に図示するステップSA1において、RAM12のバッファエリアBL、BRのアクセスポインタ(リード/ライトアドレス)Aをゼロリセットすると共に、繰り返し再生するループ区間の終了アドレスを表すループアドレスLPに、バッファ終端アドレス(バッファサイズ−1)をセットする。
(1) Operation of Initialization Processing FIG. 4 is a flowchart showing the operation of initialization processing. The initialization process is executed when the recording / reproducing apparatus 100 is powered on or when the delete button DELETE is pressed. When the initialization process is executed, the CPU 10 resets the buffer pointer BL and the access pointer (read / write address) A of the RAM 12 to zero in step SA1 shown in FIG. A buffer end address (buffer size-1) is set to the loop address LP representing the address.

また、ステップSA1では、RAM12のバッファエリアBL、BRの各々の先頭アドレス「0」からループアドレスLPまでゼロクリアする(BL[0〜LP]←0、BR[0〜LP]←0)。さらに、ステップSA1では、入力1状態フラグSI1、入力2状態フラグSI2およびルーパー状態フラグSLPをそれぞれゼロリセットすると共に、出力定数Mに初期値「1.0」をストアする。   In step SA1, zero is cleared from the head address “0” of each of the buffer areas BL and BR of the RAM 12 to the loop address LP (BL [0 to LP] ← 0, BR [0 to LP] ← 0). Further, at step SA1, the input 1 state flag SI1, the input 2 state flag SI2, and the looper state flag SLP are each reset to zero, and the initial value “1.0” is stored in the output constant M.

なお、入力1状態フラグSI1は「0」の場合に入力1が非録音状態であることを表し、「1」の場合に入力1が録音中であることを表す。入力2状態フラグSI2は「0」の場合に入力2が未録音の状態であることを表し、「1」の場合に入力2が録音中であることを表し、「2」の場合に入力2が録音済みの状態であることを表す。ルーパー状態フラグSLPは「0」の場合に停止中であることを表し、「1」の場合に動作中であることを表す。出力定数Mは、リミッタ15e−1、15e−2における音量係数に相当する。   When the input 1 state flag SI1 is “0”, it indicates that the input 1 is in a non-recording state, and when it is “1”, it indicates that the input 1 is being recorded. When the input 2 status flag SI2 is “0”, it indicates that the input 2 is in an unrecorded state, “1” indicates that the input 2 is being recorded, and if “2”, the input 2 is input. Indicates that the recording has been completed. When the looper state flag SLP is “0”, it indicates that the operation is stopped, and when it is “1”, it indicates that the operation is in progress. The output constant M corresponds to the volume coefficient in the limiters 15e-1 and 15e-2.

(2)操作イベント処理の動作
図5は操作イベント処理の動作を示すフローチャート、図6〜図10は操作イベント処理からコールされるPLAY/STOP処理、REC1処理、REC2処理、LOOP処理およびDELETE処理の各動作を示すフローチャートである。
(2) Operation Event Processing Operation FIG. 5 is a flowchart showing the operation event processing operation, and FIGS. 6 to 10 are PLAY / STOP processing, REC1 processing, REC2 processing, LOOP processing, and DELETE processing called from the operation event processing. It is a flowchart which shows each operation | movement.

操作イベント処理は、ユーザのボタン押下操作に応じて操作部13がイベントを発生した場合に実行される。操作イベント処理が実行されると、CPU10は図5に図示されるステップSB1、SB3、SB5、SB7およびSB9において、発生したイベントの種類を判別する。つまり、操作部13の録音ボタンREC1、録音ボタンREC2、消去ボタンDELETE、再生/停止ボタンPLAY/STOPおよびループボタンLOOPの何れが押下操作されたかを判別する。以下、各ボタン押下操作に対応した動作を説明する。   The operation event process is executed when the operation unit 13 generates an event in response to a user's button pressing operation. When the operation event process is executed, the CPU 10 determines the type of event that has occurred in steps SB1, SB3, SB5, SB7 and SB9 shown in FIG. That is, it is determined which of the recording button REC1, the recording button REC2, the delete button DELETE, the play / stop button PLAY / STOP and the loop button LOOP of the operation unit 13 is pressed. The operation corresponding to each button pressing operation will be described below.

a.再生/停止ボタンPLAY/STOPを押下操作した場合
再生/停止ボタンPLAY/STOPを押下操作すると、図5に図示するステップSB1の判断結果が「YES」になり、ステップSB2に進み、PLAY/STOP処理を実行する。PLAY/STOP処理が実行されると、CPU10は図6に図示するステップSC1に進み、ルーパー状態フラグSLPが「1」、すなわち動作中であるか否かを判断する。
a. When the play / stop button PLAY / STOP is pressed When the play / stop button PLAY / STOP is pressed, the determination result at step SB1 shown in FIG. Execute. When the PLAY / STOP process is executed, the CPU 10 proceeds to step SC1 shown in FIG. 6 to determine whether the looper state flag SLP is “1”, that is, whether the operation is in progress.

再生/停止ボタンPLAY/STOPを押下操作した時に、ルーパー状態フラグSLPが「0」(停止中)であると、上記ステップSC1の判断結果は「NO」になり、ステップSC2に進み、ルーパー状態フラグSLPを「1」にセットし、続くステップSC3では、再生開始を表示部14に表示する再生開始処理を実行した後、PLAY/STOP処理を終える。   If the looper state flag SLP is “0” (stopped) when the play / stop button PLAY / STOP is pressed, the determination result in step SC1 is “NO”, and the process proceeds to step SC2, where the looper state flag is set. In step SC3, SLP is set to "1", and after executing the reproduction start process for displaying the reproduction start on the display unit 14, the PLAY / STOP process is terminated.

一方、再生/停止ボタンPLAY/STOPを押下操作した時に、ルーパー状態フラグSLPが「1」(動作中)であると、上記ステップSC1の判断結果は「YES」になり、ステップSC4に進む。ステップSC4では、アクセスポインタA、入力1状態フラグSI1およびルーパー状態フラグSLPをゼロリセットすると共に、出力定数Mに初期値「1.0」にリセットする。次いで、ステップSC5では、入力2状態フラグSI2が「2」、すなわち入力2が録音済みの状態であるかどうかを判断する。   On the other hand, if the looper state flag SLP is “1” (in operation) when the play / stop button PLAY / STOP is pressed, the determination result in step SC1 is “YES”, and the process proceeds to step SC4. In step SC4, the access pointer A, the input 1 status flag SI1 and the looper status flag SLP are reset to zero and the output constant M is reset to the initial value “1.0”. Next, in step SC5, it is determined whether or not the input 2 state flag SI2 is “2”, that is, whether or not the input 2 is in a recorded state.

入力2が録音済みならば、判断結果は「YES」になり、ステップSC6に進み、入力2状態フラグSI2をゼロリセットして未録音の状態に戻した後、ステップSC7に進む。これに対し、入力2が録音済みでなければ、上記ステップSC5の判断結果は「NO」になり、ステップSC7に進む。ステップSC7では、再生停止を表示部14に表示する再生停止処理を実行した後、PLAY/STOP処理を終える。   If input 2 has been recorded, the determination result is “YES”, and the process proceeds to step SC6. After the input 2 state flag SI2 is reset to zero and returned to the unrecorded state, the process proceeds to step SC7. On the other hand, if the input 2 is not recorded, the determination result in step SC5 is “NO”, and the flow advances to step SC7. In step SC7, the reproduction stop process for displaying the reproduction stop on the display unit 14 is executed, and then the PLAY / STOP process is ended.

b.録音ボタンREC1を押下操作した場合
録音ボタンREC1を押下操作すると、図5に図示するステップSB3の判断結果が「YES」になり、ステップSB4に進み、REC1処理を実行する。REC1処理が実行されると、CPU10は図7に図示するステップSD1に進み、ルーパー状態フラグSLPが「1」、すなわち動作中であるか否かを判断する。録音ボタンREC1を押下操作した時に、ルーパー状態フラグSLPが「0」(停止中)ならば、上記ステップSD1の判断結果は「NO」になり、REC1処理を終える。
b. When the recording button REC1 is pressed down When the recording button REC1 is pressed down, the determination result in step SB3 shown in FIG. 5 is “YES”, and the process proceeds to step SB4 to execute the REC1 process. When the REC1 process is executed, the CPU 10 proceeds to step SD1 shown in FIG. 7, and determines whether or not the looper state flag SLP is “1”, that is, whether it is operating. If the looper state flag SLP is “0” (stopped) when the recording button REC1 is pressed, the determination result in step SD1 is “NO”, and the REC1 process ends.

一方、録音ボタンREC1を押下操作した時に、ルーパー状態フラグSLPが「1」(動作中)であると、上記ステップSD1の判断結果は「YES」になり、ステップSD2に進む。ステップSD2では、入力1状態フラグSI1が「0」、すなわち入力1が非録音状態であるか否かを判断する。入力1が非録音状態であると、判断結果は「YES」になり、ステップSD3に進み、入力1状態フラグSI1に「1」をセットし、続くステップSD4では、入力1の録音開始を表示部14に表示する録音開始処理を実行した後、REC1処理を終える。   On the other hand, if the looper state flag SLP is “1” (in operation) when the recording button REC1 is pressed, the determination result in Step SD1 is “YES”, and the process proceeds to Step SD2. In step SD2, it is determined whether the input 1 state flag SI1 is “0”, that is, whether the input 1 is in a non-recording state. If the input 1 is in the non-recording state, the determination result is “YES”, the process proceeds to step SD3, the input 1 state flag SI1 is set to “1”, and in the subsequent step SD4, the recording start of the input 1 is displayed. After executing the recording start process displayed on 14, the REC1 process is terminated.

これに対し、入力1状態フラグSI1が「1」(入力1が録音中)ならば、上記ステップSD2の判断結果は「NO」になり、ステップSD5に進み、入力1状態フラグSI1をゼロリセットし、続くステップSD6では、入力1の録音停止を表示部14に表示する録音停止処理を実行した後、REC1処理を終える。   On the other hand, if the input 1 state flag SI1 is “1” (input 1 is being recorded), the determination result in step SD2 is “NO”, the process proceeds to step SD5, and the input 1 state flag SI1 is reset to zero. In the subsequent step SD6, after executing the recording stop process for displaying the recording stop of the input 1 on the display unit 14, the REC1 process is ended.

c.録音ボタンREC2を押下操作した場合
録音ボタンREC2を押下操作すると、図5に図示するステップSB5の判断結果が「YES」になり、ステップSB6に進み、REC2処理を実行する。REC2処理が実行されると、CPU10は図8に図示するステップSE1に進み、ルーパー状態フラグSLPが「1」、すなわち動作中であるか否かを判断する。録音ボタンREC2を押下操作した時に、ルーパー状態フラグSLPが「0」(停止中)ならば、上記ステップSE1の判断結果は「NO」になり、REC2処理を終える。
c. When the recording button REC2 is pressed down When the recording button REC2 is pressed down, the determination result in step SB5 shown in FIG. 5 is “YES”, and the process proceeds to step SB6 to execute the REC2 process. When the REC2 process is executed, the CPU 10 proceeds to step SE1 shown in FIG. 8, and determines whether or not the looper state flag SLP is “1”, that is, whether it is operating. If the looper state flag SLP is “0” (stopped) when the recording button REC2 is pressed, the determination result in step SE1 is “NO”, and the REC2 process is terminated.

一方、録音ボタンREC2を押下操作した時に、ルーパー状態フラグSLPが「1」(動作中)であると、上記ステップSE1の判断結果は「YES」になり、ステップSE2に進む。ステップSE2では、入力2状態フラグSI2が「0」、すなわち入力2が未録音の状態であるか否かを判断する。入力2が未録音の状態であると、判断結果は「YES」になり、ステップSE3に進み、入力2状態フラグSI2に「1」にセットして録音中を表し、続くステップSE4では、入力2の録音開始を表示部14に表示する録音開始処理を実行した後、REC2処理を終える。   On the other hand, if the looper state flag SLP is “1” (in operation) when the recording button REC2 is pressed, the determination result in Step SE1 is “YES”, and the process proceeds to Step SE2. In step SE2, it is determined whether or not the input 2 state flag SI2 is “0”, that is, whether or not the input 2 is in an unrecorded state. If the input 2 is in an unrecorded state, the determination result is “YES”, and the process proceeds to step SE3, where the input 2 state flag SI2 is set to “1” to indicate that recording is being performed. After executing the recording start process for displaying the start of recording on the display unit 14, the REC2 process is terminated.

これに対し、入力2状態フラグSI1が「1」(入力2の録音中)ならば、上記ステップSE2の判断結果は「NO」になり、ステップSE5に進み、入力2状態フラグSI2に「2」をセットして録音済みを表し、続くステップSE6では、入力2の録音停止を表示部14に表示する録音停止処理を実行した後、REC2処理を終える。   On the other hand, if the input 2 state flag SI1 is “1” (during recording of input 2), the determination result in step SE2 is “NO”, the process proceeds to step SE5, and the input 2 state flag SI2 is “2”. In step SE6, a recording stop process for displaying the recording stop of input 2 on the display unit 14 is executed, and then the REC2 process ends.

d.ループボタンLOOPを押下操作した場合
ループボタンLOOPを押下操作すると、図5に図示するステップSB7の判断結果が「YES」になり、ステップSB8に進み、LOOP処理を実行する。LOOP処理が実行されると、CPU10は図9に図示するステップSF1に進み、ルーパー状態フラグSLPが「1」、すなわち動作中であるか否かを判断する。ループボタンLOOPを押下操作した時に、ルーパー状態フラグSLPが「0」(停止中)ならば、上記ステップSF1の判断結果は「NO」になり、LOOP処理を終える。
d. When the loop button LOOP is pressed down When the loop button LOOP is pressed down, the determination result in step SB7 shown in FIG. 5 is “YES”, and the process proceeds to step SB8 to execute the LOOP process. When the LOOP process is executed, the CPU 10 proceeds to step SF1 shown in FIG. 9, and determines whether or not the looper state flag SLP is “1”, that is, whether it is operating. If the looper state flag SLP is “0” (stopped) when the loop button LOOP is pressed, the determination result in step SF1 is “NO”, and the LOOP process ends.

一方、ループボタンLOOPを押下操作した時に、ルーパー状態フラグSLPが「1」(動作中)であると、上記ステップSF1の判断結果は「YES」になり、ステップSF2に進む。ステップSF2では、ループアドレスLPがバッファ終端アドレス(バッファサイズ−1)であるか否かを判断する。ループアドレスLPがバッファ終端アドレス(バッファサイズ−1)でなければ、判断結果は「NO」になり、本処理を終えるが、ループアドレスLPがバッファ終端アドレス(バッファサイズ−1)であると、判断結果が「YES」になり、ステップSF3に進む。   On the other hand, when the loop button LOOP is pressed, if the looper state flag SLP is “1” (operating), the determination result in step SF1 is “YES”, and the process proceeds to step SF2. In step SF2, it is determined whether or not the loop address LP is a buffer end address (buffer size-1). If the loop address LP is not the buffer end address (buffer size −1), the determination result is “NO”, and the present process is terminated, but it is determined that the loop address LP is the buffer end address (buffer size −1). The result is “YES”, and the process proceeds to Step SF3.

ステップSF3では、現在のアクセスポインタAをループアドレスLPにセットし、続くステップSF4では、ループポイント(繰り返し再生時の折り返し点)が決定された旨を表示部14に表示するループ決定処理を実行する。次いで、ステップSF5では、入力2状態フラグSI1が「1」(入力2の録音中)であるか否かを判断する。入力2の録音中でなければ、判断結果は「NO」になり、本処理を終えるが、入力2の録音中であると、上記ステップSF5の判断結果は「YES」になり、ステップSF6に進み、入力2の録音を停止させると共に、入力2状態フラグSI1に「2」をセットして録音済みを表し後、LOOP処理を終える。   In step SF3, the current access pointer A is set to the loop address LP, and in the subsequent step SF4, a loop determination process for displaying on the display unit 14 that the loop point (turning point during repeated reproduction) has been determined is executed. . Next, in step SF5, it is determined whether or not the input 2 status flag SI1 is “1” (recording of input 2). If the input 2 is not being recorded, the determination result is “NO”, and the process is completed. If the input 2 is being recorded, the determination result in step SF5 is “YES”, and the process proceeds to step SF6. The recording of the input 2 is stopped and the input 2 status flag SI1 is set to “2” to indicate that the recording has been completed, and then the LOOP process is finished.

e.消去ボタンDELETEを押下操作した場合
消去ボタンDELETEを押下操作すると、図5に図示するステップSB9の判断結果が「YES」になり、ステップSB10に進み、DELETE処理を実行する。DELETE処理が実行されると、CPU10は図10に図示するステップSG1に進み、ルーパー状態フラグSLPが「1」、すなわち動作中であるか否かを判断する。ルーパー状態フラグSLPが「0」(停止中)であれば、判断結果は「NO」になり、本処理を終える。
e. When the delete button DELETE is pressed down When the delete button DELETE is pressed down, the determination result in step SB9 shown in FIG. 5 is “YES”, the process proceeds to step SB10, and the DELETE process is executed. When the DELETE process is executed, the CPU 10 proceeds to step SG1 shown in FIG. 10, and determines whether the looper state flag SLP is “1”, that is, whether the operation is in progress. If the looper state flag SLP is “0” (stopped), the determination result is “NO”, and the present process ends.

一方、消去ボタンDELETEを押下操作した時に、ルーパー状態フラグSLPが「1」(動作中)であると、上記ステップSG1の判断結果は「YES」になり、ステップSG2を介して前述した初期化処理(図4参照)を実行する。次いで、ステップSG3に進み、バッファクリアを表示部14に表示する消去表示処理を実行してDELETE処理を終える。   On the other hand, when the delete button DELETE is pressed, if the looper state flag SLP is “1” (in operation), the determination result in step SG1 is “YES”, and the initialization process described above is performed via step SG2. (See FIG. 4). Next, the process proceeds to step SG3, an erase display process for displaying buffer clear on the display unit 14 is executed, and the DELETE process is completed.

(3)サンプリング周期処理の動作
図11はサンプリング周期処理の動作を示すフローチャートである。サンプリング周期処理は、録音再生装置100がパワーオンされた時点からサンプリング周期毎に割り込み実行される。割り込み実行タイミングになると、CPU10は図11に図示するステップSH1に進み、A/D変換器15a−1から出力される入力1のA/D変換値ADC(1)に、ボリューム値V1(乗算器15b−1の乗算係数に相当)を乗算して得られる入力1データをレジスタI1にストアする。以下、レジスタI1の値を入力1データI1と称す。
(3) Operation of Sampling Period Processing FIG. 11 is a flowchart showing the operation of sampling period processing. The sampling period process is interrupted and executed every sampling period from the time when the recording / reproducing apparatus 100 is powered on. When the interrupt execution timing is reached, the CPU 10 proceeds to step SH1 shown in FIG. 11, and the volume value V1 (multiplier) is added to the A / D conversion value ADC (1) of the input 1 output from the A / D converter 15a-1. The input 1 data obtained by multiplication by the multiplication coefficient of 15b-1 is stored in the register I1. Hereinafter, the value of the register I1 is referred to as input 1 data I1.

続いて、ステップSH2では、入力2状態フラグSI2が「2」、すなわち入力2が録音済みであるか否かを判断する。入力2が録音済みでなければ、判断結果は「NO」になり、ステップSH3に進む。ステップSH3では、A/D変換器15a−2から出力される入力2のA/D変換値ADC(2L)に、ボリューム値V2(乗算器15b−2の乗算係数に相当)を乗算して得られる入力2LデータをレジスタI2Lにストアする。以下、レジスタI2Lの値を入力2データI2Lと称す。   Subsequently, in step SH2, it is determined whether or not the input 2 state flag SI2 is “2”, that is, whether or not the input 2 has been recorded. If the input 2 is not recorded, the determination result is “NO”, and the flow advances to step SH3. In step SH3, the A / D conversion value ADC (2L) output from the A / D converter 15a-2 is multiplied by the volume value V2 (corresponding to the multiplication coefficient of the multiplier 15b-2). The input 2L data to be stored is stored in the register I2L. Hereinafter, the value of the register I2L is referred to as input 2 data I2L.

また、ステップSH3では、A/D変換器15a−3から出力される入力2のA/D変換値ADC(2R)に、ボリューム値V2(乗算器15b−3の乗算係数に相当)を乗算して得られる入力2RデータをレジスタI2Rにストアする。以下、レジスタI2Rの値を入力2データI2Rと称す。そして、ステップSH3が完了すると、後述のステップSH5に進む。   In step SH3, the input 2 A / D conversion value ADC (2R) output from the A / D converter 15a-3 is multiplied by the volume value V2 (corresponding to the multiplication coefficient of the multiplier 15b-3). The input 2R data obtained in this way is stored in the register I2R. Hereinafter, the value of the register I2R is referred to as input 2 data I2R. When step SH3 is completed, the process proceeds to step SH5 described later.

一方、入力2が録音済みならば、上記ステップSH2の判断結果は「YES」になり、ステップSH4に進み、入力2データI2Lおよび入力2データI2Rをそれぞれゼロクリアした後、ステップSH5に進む。ステップSH5では、入力データI1と入力2データI2Lとの加算値(I1+I2L)をレジスタOLにストアし、入力データI1と入力2データI2Rとの加算値(I1+I2R)をレジスタORにストアする。以下、レジスタOLの値を出力データOL、レジスタORの値を出力データORと称する。   On the other hand, if the input 2 has been recorded, the determination result in step SH2 is “YES”, the process proceeds to step SH4, the input 2 data I2L and the input 2 data I2R are cleared to zero, and then the process proceeds to step SH5. In step SH5, the addition value (I1 + I2L) of the input data I1 and the input 2 data I2L is stored in the register OL, and the addition value (I1 + I2R) of the input data I1 and the input 2 data I2R is stored in the register OR. Hereinafter, the value of the register OL is referred to as output data OL, and the value of the register OR is referred to as output data OR.

続いて、ステップSH6では、ルーパー状態フラグSLPが「1」(動作中)であるか否かを判断する。ルーパー状態フラグSLPが「0」(停止中)であると、判断結果は「NO」になり、ステップSH19に進み、出力データOLをD/A変換器15f−1(DAC(L))に入力し、出力データORをD/A変換器15f−2(DAC(R))に入力する。つまり、録音再生装置100が停止中であると、入力1に入力2を加算した信号をスルー出力する。   Subsequently, in step SH6, it is determined whether or not the looper state flag SLP is “1” (operating). If the looper state flag SLP is “0” (stopped), the determination result is “NO”, the process proceeds to step SH19, and the output data OL is input to the D / A converter 15f-1 (DAC (L)). Then, the output data OR is input to the D / A converter 15f-2 (DAC (R)). That is, when the recording / reproducing apparatus 100 is stopped, a signal obtained by adding the input 2 to the input 1 is output through.

これに対し、ルーパー状態フラグSLPが「1」(動作中)であると、上記ステップSH6の判断結果が「YES」になり、ステップSH7に進む。ステップSH7では、アクセスポインタAに応じてRAM12のバッファエリアBLから読み出されるデータBL[A]を出力データOLに加算して当該出力データOLを更新する。また、ステップSH7では、アクセスポインタAに応じてRAM12のバッファエリアBRから読み出されるデータBR[A]を出力データORに加算して当該出力データORを更新する。   On the other hand, if the looper state flag SLP is “1” (in operation), the determination result in step SH6 is “YES”, and the process proceeds to step SH7. In step SH7, the data BL [A] read from the buffer area BL of the RAM 12 according to the access pointer A is added to the output data OL to update the output data OL. In step SH7, the data BR [A] read from the buffer area BR of the RAM 12 according to the access pointer A is added to the output data OR to update the output data OR.

続いて、ステップSH8では、アクセスポインタAに応じてRAM12のバッファエリアBLから読み出されるデータBL[A]をレジスタRLにストアし、アクセスポインタAに応じてRAM12のバッファエリアBRから読み出されるデータBR[A]をレジスタRRにストアする。以下、レジスタRLの値を録音データRL、レジスタRRの値を録音データRRと称す。   Subsequently, in step SH8, data BL [A] read from the buffer area BL of the RAM 12 according to the access pointer A is stored in the register RL, and data BR [] read from the buffer area BR of the RAM 12 according to the access pointer A is stored. A] is stored in the register RR. Hereinafter, the value of the register RL is referred to as recording data RL, and the value of the register RR is referred to as recording data RR.

次いで、ステップSH9では、入力1状態フラグSI1が「1」、つまり入力1が録音中であるか否かを判断する。入力1状態フラグSI1が「0」(入力1が非録音状態)ならば、判断結果は「NO」になり、後述のステップSH11に進むが、入力1が録音中であると、判断結果が「YES」になり、ステップSH10に進み、録音データRLに入力1データI1を加算して当該録音データRLを更新すると共に、録音データRRに入力1データI1を加算して当該録音データRRを更新する。   Next, in step SH9, it is determined whether or not the input 1 state flag SI1 is “1”, that is, whether or not the input 1 is being recorded. If the input 1 state flag SI1 is “0” (input 1 is in the non-recording state), the determination result is “NO” and the process proceeds to step SH11 described later. If the input 1 is being recorded, the determination result is “ "YES", the process proceeds to step SH10, and the recorded data RL is updated by adding the input 1 data I1 to the recorded data RL, and the recorded data RR is updated by adding the input 1 data I1 to the recorded data RR. .

そして、ステップSH11に進むと、入力2状態フラグSI2が「1」、つまり入力2が録音中であるか否かを判断する。入力2が録音中でない場合、すなわち入力2状態フラグSI2が「0」(入力2が未録音)又は入力2状態フラグSI2が「2」(入力2が録音済み)であると、判断結果は「NO」になり、後述のステップSH13に進む。   Then, when the process proceeds to step SH11, it is determined whether or not the input 2 state flag SI2 is “1”, that is, the input 2 is being recorded. If the input 2 is not being recorded, that is, if the input 2 status flag SI2 is “0” (input 2 is not recorded) or the input 2 status flag SI2 is “2” (input 2 has been recorded), the determination result is “ "NO", the flow proceeds to step SH13 described later.

一方、入力2が録音中であると、上記ステップSH11の判断結果が「YES」になり、ステップSH12に進む。ステップSH12では、録音データRLに入力2データI2Lを加算して当該録音データRLを更新すると共に、録音データRRに入力2データI2Rを加算して当該録音データRRを更新する。続いて、ステップSH13では、録音データRLと録音データRRとの平均値(RL+RR/2)にリミッタ処理を施して音量係数に相当する出力定数Mを算出する。   On the other hand, if input 2 is being recorded, the determination result in step SH11 is “YES”, and the flow proceeds to step SH12. In step SH12, the recording data RL is updated by adding the input 2 data I2L to the recording data RL, and the recording data RR is updated by adding the input 2 data I2R to the recording data RR. Subsequently, in step SH13, a limiter process is performed on the average value (RL + RR / 2) of the recording data RL and the recording data RR to calculate an output constant M corresponding to the volume coefficient.

次いで、ステップSH14では、上記ステップSH13で算出された出力定数Mを録音データRLおよび録音データRRにそれぞれ乗算して録音データRLおよび録音データRRを更新し、続くステップSH15では、更新された録音データRLをアクセスポインタAで指定されるRAM12のバッファエリアBL[A]にストアすると共に、更新された録音データRRをアクセスポインタAで指定されるRAM12のバッファエリアBR[A]にストアする。   Next, in step SH14, the recording data RL and the recording data RR are respectively multiplied by the output constant M calculated in step SH13 to update the recording data RL and the recording data RR. In the subsequent step SH15, the updated recording data is updated. The RL is stored in the buffer area BL [A] of the RAM 12 specified by the access pointer A, and the updated recording data RR is stored in the buffer area BR [A] of the RAM 12 specified by the access pointer A.

そして、ステップSH16に進むと、アクセスポインタAとループアドレスLPとが一致したか否か、つまりアクセスポインタAがループポイント(繰り返し再生時の折り返し点)に達したかどうかを判断する。アクセスポインタAがループポイントに達していなければ、判断結果は「NO」になり、ステップSH18に進み、アクセスポインタAをインクリメントして歩進させた後、ステップSH19に進み、出力データOLをD/A変換器15f−1(DAC(L))に入力し、出力データORをD/A変換器15f−2(DAC(R))に入力して本処理を終える。   In step SH16, it is determined whether or not the access pointer A matches the loop address LP, that is, whether or not the access pointer A has reached the loop point (turning point at the time of repeated reproduction). If the access pointer A has not reached the loop point, the determination result is “NO”, the process proceeds to step SH18, the access pointer A is incremented and incremented, and then the process proceeds to step SH19 where the output data OL is changed to D / D. This is input to the A converter 15f-1 (DAC (L)), and the output data OR is input to the D / A converter 15f-2 (DAC (R)), thus completing this processing.

一方、アクセスポインタAがループポイントに達すると、上記ステップSH16の判断結果は「YES」になり、ステップSH17に進み、アクセスポインタAをゼロリセットした後、ステップSH19に進み、出力データOLをD/A変換器15f−1(DAC(L))に入力し、出力データORをD/A変換器15f−2(DAC(R))に入力して本処理を終える。   On the other hand, when the access pointer A reaches the loop point, the determination result in step SH16 is “YES”, and the process proceeds to step SH17. After the access pointer A is reset to zero, the process proceeds to step SH19 and the output data OL is changed to D / D. This is input to the A converter 15f-1 (DAC (L)), and the output data OR is input to the D / A converter 15f-2 (DAC (R)), thus completing this processing.

C.具体的な動作例
次に、上述した各処理に基づく録音再生装置100の具体的な動作の一例として、バッキング(伴奏演奏)と単独演奏とを同時にサンプリングする動作について説明する。先ず、単独演奏を収音するために設けたマイクロフォンの出力信号を入力1に、ポータブルプレーヤなどから出力され、バッキング(伴奏演奏)として収録しようとする音楽の再生信号(ステレオ信号)を入力2にそれぞれ供給する。そして、再生されている音楽の小節の頭など、ユーザ所望のタイミングで録音ボタンREC1および録音ボタンREC2を同時に押下操作したとする。
C. Specific Operation Example Next, as an example of a specific operation of the recording / reproducing apparatus 100 based on the above-described processes, an operation of simultaneously sampling a backing (accompaniment performance) and a single performance will be described. First, an output signal of a microphone provided for collecting a single performance is input 1 and a playback signal (stereo signal) of music to be recorded as a backing (accompaniment performance) output from a portable player or the like is input 2. Supply each. Then, it is assumed that the recording button REC1 and the recording button REC2 are simultaneously pressed at a timing desired by the user, such as the head of a musical measure being played.

そうすると、入力1状態フラグSI1が「1」(入力1の録音中)、入力2状態フラグSI2が「1」(入力2の録音中)となる為、入力データI1と入力2データI2Lとを加算した録音データRLが、アクセスポインタAで指定されるバッファエリアBL[A]に録音され、入力データI1と入力2データI2Rとを加算した録音データRRが、アクセスポインタAで指定されるバッファエリアBR[A]に録音される。また、録音と同時に、入力データI1と入力2データI2Lとを加算した出力データOLおよび入力データI1と入力2データI2Rとを加算した出力データORがそれぞれD/A変換されて出力される。   Then, since the input 1 state flag SI1 is “1” (recording of input 1) and the input 2 state flag SI2 is “1” (recording of input 2), the input data I1 and the input 2 data I2L are added. The recorded data RL is recorded in the buffer area BL [A] designated by the access pointer A, and the recorded data RR obtained by adding the input data I1 and the input 2 data I2R is the buffer area BR designated by the access pointer A. Recorded in [A]. Simultaneously with recording, the output data OL obtained by adding the input data I1 and the input 2 data I2L and the output data OR obtained by adding the input data I1 and the input 2 data I2R are D / A converted and output.

そして、入力2に供給される音楽の再生信号が何小節か進んだ後の小節の最後のタイミングでユーザがループボタンLOOPを押下操作してループポイント(繰り返し再生時の折り返し点)を決定したとする。すると、入力2状態フラグSI2が「2」(入力2が録音済み)となり、これにより入力2データI2L、I2Rがゼロクリア(図11のステップSH3参照)される。つまり、ループボタンLOOPの押下操作でループポイントを決めると、入力2がミュート(消音)される。具体的には、前述したセレクタ15cのスイッチSW1、SW2(図3参照)をオフして入力2データI2L、I2Rの信号経路を遮断することでミュートさせる。   When the user presses the loop button LOOP at the last timing of the measure after the music playback signal supplied to the input 2 has advanced by several measures, the loop point (turning point at repeated playback) is determined. To do. Then, the input 2 status flag SI2 becomes “2” (input 2 has been recorded), thereby clearing the input 2 data I2L and I2R to zero (see step SH3 in FIG. 11). That is, when the loop point is determined by pressing the loop button LOOP, the input 2 is muted (silenced). Specifically, muting is performed by turning off the switches SW1 and SW2 (see FIG. 3) of the selector 15c to cut off the signal paths of the input 2 data I2L and I2R.

こうして、ループポイントが決定されると、アドレスポインタAはゼロリセットされてバッファ先頭に戻り、このバッファ先頭からループポイントまでのループ区間においてバッファエリアBL、BRの内容を繰り返し再生する。繰り返し再生が進行している間は入力2の録音が停止するが、入力1については録音状態が維持される為、入力1のオーバーダブが可能になる。つまり、録音ボタンREC1、REC2を同時に押下操作した後にループボタンLOOPを押下してループポイントを決めるだけの簡単な操作でバッキング(伴奏演奏)と単独演奏とを同時にサンプリングすることが可能になる。   Thus, when the loop point is determined, the address pointer A is reset to zero and returns to the head of the buffer, and the contents of the buffer areas BL and BR are repeatedly reproduced in the loop section from the head of the buffer to the loop point. While the repeated playback is in progress, the recording of the input 2 is stopped. However, since the recording state is maintained for the input 1, the input 1 can be overdubbed. That is, the backing (accompaniment performance) and the solo performance can be sampled simultaneously by a simple operation of pressing the recording buttons REC1 and REC2 and then pressing the loop button LOOP to determine the loop point.

そして、録音REC1ボタンを押下すると、入力1の録音が停止してオーバダブ機能が完了する。この状態では、ループ区間の繰り返し再生が継続しているので、その再生される音楽をバッキング(伴奏演奏)にして、入力1に供給される信号(例えばマイクロフォンで収音した単独演奏音や歌唱音など)を出力することができる。この時、単独演奏音や歌唱音などを再びオーバーダブしたい場合には、録音REC1ボタンを押下操作すればよい。   When the recording REC1 button is pressed, recording of input 1 is stopped and the overdub function is completed. In this state, since the loop section continues to be played repeatedly, the music to be played back is a backing (accompaniment performance), and a signal supplied to the input 1 (for example, a single performance sound or singing sound collected by a microphone) Etc.) can be output. At this time, if it is desired to overdub the solo performance sound or the singing sound again, the recording REC1 button may be pressed.

この後、再生/停止ボタンPLAY/STOPを押下操作すると、入力1状態フラグSI1が「0」(入力1が非録音状態)、入力2状態フラグSI2が「0」(入力2が未録音状態)となって再生停止となる。なお、入力2の録音をやり直す場合には、消去ボタンDELETEを押下操作してRAM12のバッファエリアBL、BRを初期化した後、再び上述した録音ボタンREC1、REC2の同時押下操作からやり直すことになる。   Thereafter, when the play / stop button PLAY / STOP is pressed, the input 1 state flag SI1 is “0” (input 1 is not recorded), and the input 2 state flag SI2 is “0” (input 2 is not recorded). And playback is stopped. When re-recording the input 2, the delete button DELETE is pressed to initialize the buffer areas BL and BR of the RAM 12, and then restarted from the simultaneous press of the recording buttons REC1 and REC2. .

以上説明したように、本実施形態では、入力1に入力された信号をサンプリングした第1の入力データと入力2に入力された信号をサンプリングした第2の入力データとを加算した録音データをRAM12のバッファエリアに書き込んで録音している最中に、当該バッファエリアに録音された録音データの中から繰り返し再生するループ区間を指定すると、第2の入力データをミュートすると共に、RAM12のバッファエリアにおいて指定されたループ区間の録音データを繰り返し再生し、この繰り返し再生される録音データに第1の入力データをオーバーダブするので、簡単な操作でバッキング(伴奏演奏)と単独演奏とを同時にサンプリングすることが出来る。   As described above, in the present embodiment, the recording data obtained by adding the first input data obtained by sampling the signal input to the input 1 and the second input data obtained by sampling the signal input to the input 2 is stored in the RAM 12. When a loop section to be repeatedly reproduced is specified from the recorded data recorded in the buffer area while writing and recording in the buffer area, the second input data is muted and the buffer area of the RAM 12 Since the recorded data of the specified loop section is repeatedly played, and the first input data is overdubbed to the repeatedly played back recorded data, the backing (accompaniment performance) and the solo performance can be sampled simultaneously with a simple operation. I can do it.

また、バッキング(伴奏演奏)を録音する際に、ループ再生する区間の先頭から末尾に丁度合わせてサンプリングするというタイミング的に非常に難しい従来の操作を不要にした為、ユーザが演奏に集中できるという効果も奏する。加えて、単独演奏用のバッファエリアと、バッキング(伴奏演奏)用のバッファエリアとを別途用意する必要が無く製品コスト低減にも寄与することができる。   In addition, when recording a backing (accompaniment performance), the user can concentrate on the performance because it eliminates the need for conventional operations that are very difficult in terms of timing, just sampling from the beginning to the end of the loop playback section. There is also an effect. In addition, it is not necessary to separately prepare a buffer area for independent performance and a buffer area for backing (accompaniment performance), which can contribute to reduction in product cost.

以上、本発明の実施の一形態について説明したが、本発明はそれに限定されるものではなく、本願出願の特許請求の範囲に記載された発明とその均等の範囲に含まれる。以下では、本願出願当初の特許請求の範囲に記載された各発明について付記する。   As mentioned above, although one Embodiment of this invention was described, this invention is not limited to it, It is included in the invention described in the claim of this-application, and its equivalent range. Hereinafter, each invention described in the scope of claims at the beginning of the present application will be additionally described.

(付記)
[請求項1]
第1及び第2入力部に入力されたデータを加算する加算手段と、
この加算手段からの出力を録音データとしてメモリ部に録音する録音手段と、
前記録音手段により前記メモリ部に録音データを録音中に、当該録音データの中から繰り返し再生するループ区間を設定するループ区間設定手段と、
前記ループ区間設定手段によるループ区間の設定に応答して、前記第2の入力部からのデータをミュートすると共に、前記設定されたループ区間に含まれる録音データを前記メモリ部から読み出して繰り返し再生する再生手段と、
前記再生手段により繰り返し再生されているループ区間の録音データを、前記第2の入力部からのデータに代えて前記加算手段に入力させる入力制御手段と、
を具備することを特徴とする録音再生装置。
[請求項2]
前記ループ区間設定手段は、前記録音手段がメモリ部に録音データを録音中に、繰り返し再生時の折り返し点となるループポイントを指定するループポイント指定手段を備え、このループポイント指定手段により指定されたループポイントに対応する前記メモリ部の書き込みアドレスから先頭アドレスまでをループ区間に設定することを特徴とする請求項1記載の録音再生装置。
[請求項3]
前記再生手段は、前記ループ区間設定手段がループ区間を設定した時に、前記第2の入力部からのデータを遮断することにより、ミュートすることを特徴とする請求項1記載の録音再生装置。
[請求項4]
第1及び第2入力部に入力されたデータを加算する加算手段を有するコンピュータに、
この加算手段からの出力を録音データとしてメモリ部に録音する録音ステップと、
前記録音ステップによりメモリ部に録音データを録音中に、当該録音データの中から繰り返し再生するループ区間を設定するループ区間設定ステップと、
前記ループ区間設定ステップによるループ区間の設定に応答して、前記第2の入力部からのデータをミュートすると共に、前記設定されたループ区間に含まれる録音データを前記メモリ部から読み出して繰り返し再生する再生ステップと、
前記再生ステップにより繰り返し再生されているループ区間の録音データを、前記第2の入力部からのデータに代えて前記加算手段に入力させる入力制御ステップと、
を実行させることを特徴とするプログラム。
(Appendix)
[Claim 1]
Adding means for adding data input to the first and second input units;
Recording means for recording the output from the adding means as recording data in the memory unit;
Loop section setting means for setting a loop section to be repeatedly reproduced from the recorded data while recording the recorded data in the memory unit by the recording means;
In response to the setting of the loop section by the loop section setting means, the data from the second input section is muted, and the recording data included in the set loop section is read from the memory section and repeatedly reproduced. Reproduction means;
Input control means for causing the addition means to input the recording data of the loop section being repeatedly reproduced by the reproduction means, instead of the data from the second input unit;
A recording / reproducing apparatus comprising:
[Claim 2]
The loop section setting means includes a loop point designating means for designating a loop point that becomes a turning point at the time of repeated playback while the recording means is recording the recording data in the memory unit, and is designated by the loop point designation means 2. The recording / reproducing apparatus according to claim 1, wherein a loop section is set from a write address to a head address of the memory unit corresponding to a loop point.
[Claim 3]
2. The recording / reproducing apparatus according to claim 1, wherein when the loop section setting means sets a loop section, the playback section mutes the data from the second input unit.
[Claim 4]
In a computer having addition means for adding data input to the first and second input units,
A recording step of recording the output from the adding means as recording data in a memory unit;
A loop section setting step for setting a loop section to be repeatedly reproduced from the recorded data while recording the recorded data in the memory unit by the recording step;
In response to the setting of the loop section in the loop section setting step, the data from the second input section is muted and the recording data included in the set loop section is read from the memory section and repeatedly reproduced. Playback step,
An input control step of causing the adding means to input the recording data of the loop section that is repeatedly reproduced by the reproduction step, instead of the data from the second input unit;
A program characterized by having executed.

10 CPU
11 ROM
12 RAM
13 操作部
14 表示部
15 入出力部
100 録音再生装置
10 CPU
11 ROM
12 RAM
13 Operation unit 14 Display unit 15 Input / output unit 100 Recording / playback device

Claims (4)

第1及び第2入力部に入力されたデータを加算する加算手段と、
この加算手段からの出力を録音データとしてメモリ部に録音する録音手段と、
前記録音手段により前記メモリ部に録音データを録音中に、当該録音データの中から繰り返し再生するループ区間を設定するループ区間設定手段と、
前記ループ区間設定手段によるループ区間の設定に応答して、前記第2の入力部からのデータをミュートすると共に、前記設定されたループ区間に含まれる録音データを前記メモリ部から読み出して繰り返し再生する再生手段と、
前記再生手段により繰り返し再生されているループ区間の録音データを、前記第2の入力部からのデータに代えて前記加算手段に入力させる入力制御手段と、
を具備することを特徴とする録音再生装置。
Adding means for adding data input to the first and second input units;
Recording means for recording the output from the adding means as recording data in the memory unit;
Loop section setting means for setting a loop section to be repeatedly reproduced from the recorded data while recording the recorded data in the memory unit by the recording means;
In response to the setting of the loop section by the loop section setting means, the data from the second input section is muted, and the recording data included in the set loop section is read from the memory section and repeatedly reproduced. Reproduction means;
Input control means for causing the addition means to input the recording data of the loop section being repeatedly reproduced by the reproduction means, instead of the data from the second input unit;
A recording / reproducing apparatus comprising:
前記ループ区間設定手段は、前記録音手段がメモリ部に録音データを録音中に、繰り返し再生時の折り返し点となるループポイントを指定するループポイント指定手段を備え、このループポイント指定手段により指定されたループポイントに対応する前記メモリ部の書き込みアドレスから先頭アドレスまでをループ区間に設定することを特徴とする請求項1記載の録音再生装置。   The loop section setting means includes a loop point designating means for designating a loop point that becomes a turning point at the time of repeated playback while the recording means is recording the recording data in the memory unit, and is designated by the loop point designating means. 2. The recording / reproducing apparatus according to claim 1, wherein a loop section is set from a write address to a head address of the memory unit corresponding to a loop point. 前記再生手段は、前記ループ区間設定手段がループ区間を設定した時に、前記第2の入力部からのデータを遮断することにより、ミュートすることを特徴とする請求項1記載の録音再生装置。   2. The recording / reproducing apparatus according to claim 1, wherein when the loop section setting means sets a loop section, the playback section mutes the data from the second input unit. メ第1及び第2入力部に入力されたデータを加算する加算手段を有するコンピュータに、
この加算手段からの出力を録音データとしてメモリ部に録音する録音ステップと、
前記録音ステップによりメモリ部に録音データを録音中に、当該録音データの中から繰り返し再生するループ区間を設定するループ区間設定ステップと、
前記ループ区間設定ステップによるループ区間の設定に応答して、前記第2の入力部からのデータをミュートすると共に、前記設定されたループ区間に含まれる録音データを前記メモリ部から読み出して繰り返し再生する再生ステップと、
前記再生ステップにより繰り返し再生されているループ区間の録音データを、前記第2の入力部からのデータに代えて前記加算手段に入力させる入力制御ステップと、
を実行させることを特徴とするプログラム。
In a computer having addition means for adding data input to the first and second input units,
A recording step of recording the output from the adding means as recording data in a memory unit;
A loop section setting step for setting a loop section to be repeatedly reproduced from the recorded data while recording the recorded data in the memory unit by the recording step;
In response to the setting of the loop section in the loop section setting step, the data from the second input section is muted and the recording data included in the set loop section is read from the memory section and repeatedly reproduced. Playback step,
An input control step of causing the adding means to input the recording data of the loop section that is repeatedly reproduced by the reproduction step, instead of the data from the second input unit;
A program characterized by having executed.
JP2012063579A 2012-03-21 2012-03-21 Recording and reproducing apparatus and program Pending JP2013195772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012063579A JP2013195772A (en) 2012-03-21 2012-03-21 Recording and reproducing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012063579A JP2013195772A (en) 2012-03-21 2012-03-21 Recording and reproducing apparatus and program

Publications (1)

Publication Number Publication Date
JP2013195772A true JP2013195772A (en) 2013-09-30

Family

ID=49394780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012063579A Pending JP2013195772A (en) 2012-03-21 2012-03-21 Recording and reproducing apparatus and program

Country Status (1)

Country Link
JP (1) JP2013195772A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016052274A1 (en) * 2014-09-29 2016-04-07 ヤマハ株式会社 Performance information processing device and method
JP2016180947A (en) * 2015-03-25 2016-10-13 ヤマハ株式会社 Electronic music device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02173800A (en) * 1988-12-27 1990-07-05 Sony Corp Digital sound signal generating device
JPH10190408A (en) * 1996-12-24 1998-07-21 Yamaha Corp Digital filtering means
JPH11109968A (en) * 1992-01-14 1999-04-23 Yamaha Corp Sound source system
JPH11327550A (en) * 1998-05-08 1999-11-26 Kawai Musical Instr Mfg Co Ltd Overdubbing edition device fur electronic instrument
JP2006091804A (en) * 2004-08-26 2006-04-06 Yamaha Corp Automatic music player and program
JP2012093491A (en) * 2010-10-26 2012-05-17 Roland Corp Electronic musical instrument

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02173800A (en) * 1988-12-27 1990-07-05 Sony Corp Digital sound signal generating device
JPH11109968A (en) * 1992-01-14 1999-04-23 Yamaha Corp Sound source system
JPH10190408A (en) * 1996-12-24 1998-07-21 Yamaha Corp Digital filtering means
JPH11327550A (en) * 1998-05-08 1999-11-26 Kawai Musical Instr Mfg Co Ltd Overdubbing edition device fur electronic instrument
JP2006091804A (en) * 2004-08-26 2006-04-06 Yamaha Corp Automatic music player and program
JP2012093491A (en) * 2010-10-26 2012-05-17 Roland Corp Electronic musical instrument

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016052274A1 (en) * 2014-09-29 2016-04-07 ヤマハ株式会社 Performance information processing device and method
CN106796777A (en) * 2014-09-29 2017-05-31 雅马哈株式会社 Playing information processing unit and method
EP3203466A4 (en) * 2014-09-29 2018-03-21 Yamaha Corporation Performance information processing device and method
US10354630B2 (en) 2014-09-29 2019-07-16 Yamaha Corporation Performance information processing device and method
CN106796777B (en) * 2014-09-29 2020-11-24 雅马哈株式会社 Performance information processing apparatus and method
JP2016180947A (en) * 2015-03-25 2016-10-13 ヤマハ株式会社 Electronic music device

Similar Documents

Publication Publication Date Title
US10741154B2 (en) Synthesized percussion pedal and looping station
US8772618B2 (en) Mixing automatic accompaniment input and musical device input during a loop recording
JP5610235B2 (en) Recording / playback apparatus and program
US10741155B2 (en) Synthesized percussion pedal and looping station
TW201835894A (en) Electronic device and processing method for instant multi-track editing allowing musicians to record and edit anytime and anywhere without being restricted to certain locations or equipment
JP3778024B2 (en) Information processing apparatus, information processing method, and storage medium
US7570770B2 (en) Mixing apparatus for audio data, method of controlling the same, and mixing control program
JP2013195772A (en) Recording and reproducing apparatus and program
JP5700351B2 (en) Automatic performance device and program
US7977563B2 (en) Overdubbing device
JP2010139592A (en) Musical tone generating apparatus and musical tone generating program
JP7011032B2 (en) Audio equipment
JP6945655B2 (en) Sound reproduction control device
JP3213389U (en) Electronic devices used for instant editing of multi-sound tracks
JP6528752B2 (en) Tone reproduction apparatus, tone reproduction method, program and electronic musical instrument
JP5632559B2 (en) Music playback device, music playback method, music playback program, and recording medium storing music playback program
JP2005107285A (en) Musical piece reproducing apparatus
JP6280714B2 (en) Control device, command generation method, program
JP6175804B2 (en) Performance device, performance method and program
JP2001265335A (en) Device and method for inputting performance information
JP5949859B2 (en) Electronic musical instruments and programs
JP2014119723A (en) Program and device for editing musical performance dataset
JPH0962258A (en) Playing information compiling device
JP5899865B2 (en) Acoustic signal processing apparatus and program
JP5133314B2 (en) CONTENT REPRODUCTION DEVICE, CONTENT REPRODUCTION METHOD, AND PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150310

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151009

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151019

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151216

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160526