JP2012098375A - Musical device and program realizing its control method - Google Patents
Musical device and program realizing its control method Download PDFInfo
- Publication number
- JP2012098375A JP2012098375A JP2010244176A JP2010244176A JP2012098375A JP 2012098375 A JP2012098375 A JP 2012098375A JP 2010244176 A JP2010244176 A JP 2010244176A JP 2010244176 A JP2010244176 A JP 2010244176A JP 2012098375 A JP2012098375 A JP 2012098375A
- Authority
- JP
- Japan
- Prior art keywords
- clip
- memory
- store
- loop
- stored
- 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
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
Description
本発明は、入力した音響信号をループ再生する音楽装置およびその制御方法を実現するためのプログラムに関する。 The present invention relates to a music apparatus for loop-playing an input acoustic signal and a program for realizing a control method thereof.
入力した音響信号をループ再生する音楽装置は、従来から知られている。 2. Description of the Related Art Music devices that perform loop reproduction of input acoustic signals are conventionally known.
このような装置として、記録媒体に記録された楽曲信号を再生し、再生した楽曲信号をメモリに蓄積し、メモリに蓄積される楽曲信号の無音区間を検出し、無音区間を検出したとき、当該無音区間より前の一定区間の楽曲信号を自動ループ区間としてループ再生するようにした再生装置がある(たとえば、特許文献1参照)。 As such a device, when a music signal recorded on a recording medium is reproduced, the reproduced music signal is stored in a memory, a silent section of the music signal stored in the memory is detected, and a silent section is detected, There is a playback device in which music signals in a certain section before a silent section are loop-played as an automatic loop section (see, for example, Patent Document 1).
しかし、上記従来の再生装置では、入力される楽曲信号に対して途切れのないループ再生を行うことはできるが、そのループ区間を常に無音区間を基準にして決定しているために、ループ区間の選択の幅(自由度)が限定的であり、かつ、複数の楽曲信号を重ねてループ再生することは困難である。また、決定されるループ区間も無音区間より前の一定区間であり、さらに、無音区間が検出されると自動的に、当該一定区間におけるループ再生が開始されるので、無音区間より前の適当な区間をループ再生することは困難である。 However, the conventional playback device can perform continuous loop playback on the input music signal, but since the loop section is always determined based on the silent section, The range of selection (degree of freedom) is limited, and it is difficult to reproduce a loop by overlapping a plurality of music signals. Further, the determined loop section is also a fixed section before the silent section, and when a silent section is detected, loop playback in the fixed section is automatically started. It is difficult to loop-play the section.
本発明は、この点に着目してなされたものであり、入力した音響信号を予め設定された時間長毎に重ねて容易にループ再生することが可能となる音楽装置およびその制御方法を実現するためのプログラムを提供することを目的とする。 The present invention has been made paying attention to this point, and realizes a music apparatus and a control method thereof that can easily loop-play input sound signals for each preset time length. It aims at providing the program for.
上記目的を達成するため、請求項1に記載の音楽装置は、周囲の音声を集音し、音響信号として入力する入力手段と、前記入力手段によって入力された音響信号を予め設定された時間長分、順次クリッピングしておく複数のクリップメモリと、前記複数のクリップメモリにそれぞれ格納された音響信号を規定された回数、ループ再生するとともに、規定回数ループ再生された音響信号がクリッピングされているクリップメモリをクリアするように制御する制御手段とを有することを特徴とする。 In order to achieve the above object, the music apparatus according to claim 1 is characterized in that an ambient sound is collected and input as an acoustic signal, and an acoustic signal input by the input means is set for a preset time length. A plurality of clip memories to be clipped sequentially, and a clip in which the sound signals stored in the plurality of clip memories are loop-played a specified number of times and the sound signals that have been loop-played a specified number of times are clipped Control means for controlling to clear the memory.
請求項2に記載の音楽装置は、請求項1の音楽装置において、ユーザ指示に応じて、前記複数のクリップメモリにクリッピングされている音響信号をストアするストアメモリと、前記ストアメモリにストアされた音響信号をループ再生する再生手段とを有することを特徴とする。
The music device according to
請求項3に記載の音楽装置は、請求項2の音楽装置において、前記ストアメモリは、複数のストア領域を備え、前記再生手段は、ユーザ操作に応じて、前記複数のストア領域にストアされた複数の音響信号のいずれかを選択し、選択した音響信号をループ再生することを特徴とする。
The music apparatus according to
上記目的を達成するため、請求項4に記載のプログラムは、請求項1と同様の技術的思想によって実現できる。
In order to achieve the above object, the program according to
請求項1または4に記載の発明によれば、周囲の音声が集音されて、音響信号として入力され、該入力された音響信号が予め設定された時間長分、順次クリッピングされて複数のクリップメモリに格納され、該格納された各音響信号が規定された回数、ループ再生されるとともに、規定回数ループ再生された音響信号がクリッピングされているクリップメモリがクリアされるので、入力した音響信号を予め設定された時間長毎に重ねて容易にループ再生することが可能となる。 According to the first or fourth aspect of the present invention, the surrounding sound is collected and input as an acoustic signal, and the input acoustic signal is sequentially clipped for a preset time length to be a plurality of clips. Since the stored sound signal is loop-reproduced for a specified number of times, and the clip memory in which the sound signal that has been loop-reproduced for the specified number of times is cleared, the input sound signal is It is possible to easily perform loop reproduction by overlapping each preset time length.
以下、本発明の実施の形態を図面に基づいて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施の形態に係る音楽装置100の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a
同図に示すように、音楽装置100は、周囲の音響を集音し、集音して得られたアナログ音響信号をデジタル音響信号(以下、「音響データ」という)に変換して入力する音響入力部101と、各種情報を表示および入力するための表示・操作インターフェース(I/F)102と、装置全体の制御を司るCPU103と、該CPU103が実行する制御プログラムや、各種テーブルデータ等を記憶するROM104と、各種入力情報および演算結果等を一時的に記憶するRAM105と、通信ネットワーク200を介して、サーバコンピュータ(以下、「サーバ」と略していう)300、他の音楽装置400やPC(パーソナルコンピュータ)500などとデータの送受信を行う通信インターフェース(I/F)106と、音響データをアナログ音響信号に変換し、さらに音響に変換して外部に出力する音響出力部107とにより構成されている。
As shown in the figure, the
上記構成要素101〜107は、バス108を介して相互に接続され、通信I/F106には通信ネットワーク200が接続されている。
The
音響入力部101は、集音マイクやアンプ、ADC(analog-to-digital converter)等によって構成されている。音響入力部101から入力された音響データは、バス108を通ってRAM105に供給され、RAM105内に設けられたバッファメモリ(図3参照)に一時的に格納される。ここで、音響入力部101から音響データとして入力する音響は、音であればどのような種類のものでも構わないが、たとえば、楽器の演奏音、身近にあるものを叩いたり擦ったりしたときに発生する音、歌声、動物の鳴き声などを挙げることができる。
The
表示・操作I/F102は、表示器としてLCD(liquid crystal display)およびLED(light emitting diode)を、入力操作子として複数のスイッチ(SW)を備えている。図2は、表示・操作I/F102の具体的な構成例を示す図である。同図に示すように、表示・操作I/F102は、1分間当たりの拍数(BPM)で定義したテンポの値を表示する小型LCD102aと、現在設定されているテンポを点滅間隔の長短で表示するLED102bと、ストアメモリ(図3参照)内に設けられた4つの領域(領域1〜4)にそれぞれ記憶(ストア)された各ストアクリップが再生中であるかどうかを点灯(再生中)/消灯(停止中)で表示するLED102c1〜102c4と、「テンポを速く/遅く」を指示するためのテンポアップ/ダウン(BPM)SW102d1,102d2と、クリップメモリ(図3参照)に記憶されているクリップをストアメモリに書き込む(ストアする)ストア(STORE)SW102eと、上記各ストアクリップの再生/停止をトグルで指示可能なクリップ(CLIP)1〜4SW102f1〜102f4とを備えている。
The display / operation I /
図1に戻り、CPU103は内蔵タイマを備えている。内蔵タイマは、本実施の形態では、割込み処理(図6参照)の起動間隔である割込み間隔の計時に用いられるが、もちろん、前記LED102bの点滅間隔などのその他の時間の計時にも用いられる。
Returning to FIG. 1, the
RAM105には、少なくとも、バッファメモリ105a、クリップメモリ105bおよびストアメモリ105cが設けられている。バッファメモリ105aは、音響入力部101が出力した音響データを、たとえば4拍分格納可能な容量を備えている。ただし、1拍の時間長はテンポによって変動するので、バッファメモリ105aには、当該時間長を最長に指定した場合でも、その4拍分の音響データを格納できる十分な容量が予め採られている。クリップメモリ105bは、バッファメモリ105aに格納された4拍分の音響データ(以下、「クリップ」という)を5つ格納可能なメモリ領域(以下、「クリップメモリA〜E」という)を備えている。ストアメモリ105cは、前述のように4つの領域(領域1〜4)を備え、クリップメモリ105bに格納された5つのクリップのうちの4つを記憶する。本実施の形態では説明の便宜上、4拍が1小節に相当するものとするが、この拍数は任意に選択し得るものである。上記クリップは、1小節分の音響データのことである。
The
なおRAM105としては、通常通り揮発性のものを採用すればよいが、これに限らず、不揮発性のもの、たとえばフラッシュメモリを採用してもよい。フラッシュメモリを採用した場合には、ROM104に記憶するプログラムやデータもフラッシュメモリに格納するようにして、各内容を書き換え可能にしてもよい。
The
音響出力部107は、DAC(digital-to-analog converter)、アンプおよびスピーカ等によって構成されている。音響出力部107は、本実施の形態では、クリップメモリ105b(ストアメモリ105cが加わることがある)に格納されているクリップが重ねて(ループ)再生されて生成された音響データをアナログ音響信号に変換し、さらに音響に変換して外部に出力する。
The
本発明は、音楽装置100のみによって実現できるので、音楽装置100と協働して用いられるもの、つまり図1の構成例では、通信I/F106、通信ネットワーク200、サーバ300、他の音楽装置400やPC500などは、省略することができる。このため、各ブロック106,200,300,400および500は、破線で表現されている。省略可能なものについては、これ以上説明しない。
Since the present invention can be realized only by the
なお音楽装置100は、本実施の形態では単体の装置として構成したが、これに限らず、複数の装置を組み合わせて構成してもよい。たとえば、音響入力部101および音響出力部107からなる入出力デバイスと、CPU103、ROM104、RAM105および通信I/F106からなるクレードルとによって構成し、両者を無線または有線などの任意の接続方法で接続するという実施形態が考えられる。
The
以上のように構成された音楽装置100が実行する制御処理を、まず図3を参照してその概要を説明し、次に図4〜図6を参照して詳細に説明する。
The control process executed by the
図3は、音楽装置100の機能構成を示すブロック図であり、同図において、制御部100aは、CPU103、ROM104およびRAM105によって構成されている。制御部100aは、主として、
クリップメモリ書込み処理:バッファメモリ105aにクリップが格納される度に、格納されたクリップを読み出して、クリップメモリA〜Eのうちのいずれか1つに順次書き込んで行く処理;
第1のループ再生開始処理:クリップメモリ書込み処理によってクリップメモリA〜Eに書き込まれたクリップのループ再生を開始する処理;
ストアメモリ書込み処理:前記ストアSW102eが押下されたことに応じて、クリップメモリA〜Eに記憶された5つのクリップのうちの4つ(制御処理の詳細で後述するように、4つ未満の場合もある)を読み出して、ストアメモリ105cに書き込む処理;
第2のループ再生開始処理:ストアメモリ書込み処理によってストアメモリ105cに記憶された4つのストアクリップのうち、前記クリップ1〜4SW102f1〜102f4の押下に応じて指定されたストアクリップのループ再生を開始する処理;
第2のループ再生停止処理:第2のループ再生開始処理によってループ再生が開始したストアクリップのループ再生を、クリップ1〜4SW102f1〜102f4のうちの対応するSWの再押下に応じて停止する処理;
を実行する。
FIG. 3 is a block diagram showing a functional configuration of the
Clip memory writing process: a process of reading the stored clip and writing it sequentially to any one of the clip memories A to E each time the clip is stored in the
First loop reproduction start processing: processing for starting loop reproduction of clips written to the clip memories A to E by the clip memory writing processing;
Store memory write processing: Four of the five clips stored in the clip memories A to E in response to the press of the
Second loop reproduction start process: Among the four store clips stored in the
Second loop playback stop process: A process of stopping loop playback of a store clip whose loop playback has been started by the second loop playback start process in response to re-pressing of the corresponding SW among the clips 1 to 4SWs 102f1 to 102f4;
Execute.
第1のループ再生開始処理によってループ再生が開始されたクリップを含む再生中の各クリップは、加算器100bによって加算(ミキシング)され、加算器100cを通って音響出力部107に供給される。なおクリップメモリA〜Eには、合計5つのクリップが格納されるので、5つのクリップが同時に再生されてミキシングされるが、5つのクリップのうち、1つはフェードイン再生され、1つはフェードアウト再生されるので、同時に再生されるクリップの個数は、実質的には4つである。
Each clip that is being played back, including the clip for which loop playback has been started by the first loop playback start process, is added (mixed) by the
ストアメモリ書込み処理によって、ストアメモリ105cに上記5つのクリップのうち4つのクリップがストアクリップとして格納され、この状態で、クリップ1〜4SW102f1〜102f4のいずれかが押下されると、第1のループ再生開始処理に第2のループ再生開始処理が加わって、両処理が実行される。第2のループ再生開始処理によってループ再生が開始されたストアクリップは、加算器100cによって加算器100bからの出力と加算されて、音響出力部107に供給される。このとき加算器100bには、第2のループ再生開始処理によってループ再生が開始されたストアクリップの個数だけ減らされたクリップがクリップメモリ105bから供給されるよう制御され、加算器100cからは、再生された5つ(実質的には、上述のように4つ)のクリップが出力される。
As a result of the store memory writing process, four of the five clips are stored as store clips in the
このように本実施の形態では、ユーザは、音響入力部101の周辺で音響を発生させるだけで、自動的にその音響に応じた音響データが入力され、予め設定された時間長毎にクリッピングされて、クリップとして複数保持するとともに、各クリップを重ねてループ再生するようにしたので、入力した音響信号を予め設定された時間長毎に重ねて容易にループ再生することができる。
As described above, in this embodiment, the user simply generates sound around the
次に、この制御処理を詳細に説明する。 Next, this control process will be described in detail.
図5は、音楽装置100、特にCPU103が実行するメインルーチンの手順を示すフローチャートであり、本メインルーチンは、音楽装置100への電源がオンされたときに起動する。
FIG. 5 is a flowchart showing a procedure of a main routine executed by the
本メインルーチンが起動すると、起動時処理(ステップS1,S2)が1回実行された後、SWイベントの検知処理(ステップS3,S4)により、いずれかのSWが押下されるまで待機状態となる。そして、SWイベントが検知されると、そのSWイベントの発生原因である押下SWに応じた処理(ステップS5〜S11)が実行された後、再度SWイベントの検知処理に戻って、新たなSWイベントの待機状態となる。その後、これらの処理が、電源がオフされるまで適宜繰り返し実行される。 When this main routine is started, the startup process (steps S1 and S2) is executed once, and then a standby state is entered until any SW is pressed by the SW event detection process (steps S3 and S4). . When a SW event is detected, the process corresponding to the pressed SW that is the cause of the SW event (steps S5 to S11) is executed, and then the process returns to the SW event detection process again to create a new SW event. It will be in the standby state. Thereafter, these processes are repeatedly executed as appropriate until the power is turned off.
起動時処理では、まずCPU103は、初期化処理(ステップS1)を実行する。この初期化処理では、CPU103は、前記RAM105をクリアした後、RAM105の所定位置に確保したBPM記憶領域(図示せず)にBPMの初期値(たとえば“120”)を記憶させるとともに、このBPM記憶領域に記憶されたBPM値に基づいて、割込み処理(後述)の割込み間隔を算出し、RAM105の所定位置に確保した割込み間隔記憶領域(図示せず)に、算出した割込み間隔を記憶させる。
In the startup process, first, the
今、BPM記憶領域には“120”が記憶されているので、割込み間隔=1小節分の時間=4拍×1拍当たりの時間(秒)=4×(60÷120)=2(秒)と算出され、“2”が割込み間隔記憶領域に記憶される。なお、割込み間隔は算出せずに、BPMの各値に割込み間隔を対応付けたテーブルを設け、このテーブルからBPM記憶領域に記憶されたBPM値に対応する割込み間隔を読み出して、割込み間隔記憶領域に記憶するようにしてもよい。 Since “120” is stored in the BPM storage area now, interrupt interval = time of one measure = 4 beats × time per beat (seconds) = 4 × (60 ÷ 120) = 2 (seconds) And “2” is stored in the interrupt interval storage area. An interrupt interval is not calculated, and a table in which an interrupt interval is associated with each BPM value is provided. An interrupt interval corresponding to the BPM value stored in the BPM storage area is read from the table, and an interrupt interval storage area is read out. You may make it memorize.
次にCPU103は、クリップ&出力処理を開始させる(ステップS2)。このクリップ&出力処理では、CPU103は、タイマ割込みを許可して、前記内蔵タイマによる割込み間隔の計時を開始させる。内蔵タイマは、自己の計時時間と割込み間隔記憶領域に記憶された割込み間隔とを比較し、一致すると、割込み信号を出力するとともに計時時間をリセットする。CPU103は、割込み信号が出力される度に割込み処理を起動する。
Next, the
図6は、この割込み処理の手順を示すフローチャートであり、本割込み処理は、上述のように計時時間と割込み間隔とに基づいて、1小節分の時間毎に起動されて実行される。本割込み処理では、CPU103は、前記クリップメモリ書込み処理(ステップS21,S22)および前記第1のループ再生開始処理(ステップS22,S23)を実行する。
FIG. 6 is a flowchart showing the procedure of this interrupt process. This interrupt process is started and executed every time corresponding to one bar based on the time measurement time and the interrupt interval as described above. In this interrupt process, the
本割込み処理が終了すると、CPU103は、本割込み処理が起動される直前に実行していたメインルーチンの処理に戻る。
When this interrupt process ends, the
図5に戻り、前記SWイベントの検知処理によってSWイベントが検知されると、CPU103は、検知されたSWイベントに従った処理に、次のように分岐する。すなわち、
ストアSW102eの押下イベント:前記ストアメモリ書込み処理(ステップS5)
クリップ1〜4SW102f1〜102f4の押下イベント:前記第2のループ再生開始処理(ステップS7,S8)または前記第2のループ再生停止処理(ステップS9,S10)のいずれか一方
テンポアップ/ダウン(BPM)SW102d1,102d2の押下イベント:BPM値更新処理(ステップS11)
というように分岐する。
Returning to FIG. 5, when the SW event is detected by the SW event detection process, the
Press event of the
Press event of clips 1 to 4 SW102f1 to 102f4: one of the second loop reproduction start process (steps S7 and S8) and the second loop reproduction stop process (steps S9 and S10) Tempo up / down (BPM) SW102d1, 102d2 pressing event: BPM value update processing (step S11)
Branch like this.
上記BPM値更新処理では、CPU103は、テンポアップ/ダウン(BPM)SW102d1,102d2によって変更指示されたBPM値で前記BPM記憶領域の記憶値を更新するとともに、前述のようにして、このBPM値に基づいて割込み間隔を算出し、算出した割込み間隔で前記割込み間隔記憶領域の記憶値を更新する。BMP値更新処理が実行されて、BPM値が変更されると、CPU103は、割込み処理でなされる処理、つまりクリップメモリ書込み処理および第1のループ再生開始処理を一旦停止して、バッファメモリ105aおよびクリップメモリ105bをクリアした後、変更後の割込み間隔に従って、割込み処理を再スタートする。なお、このような処理を採るのは、専ら制御処理の簡単化のためであり、このような処理を採らずに、BPM値が変更されても、割込み処理でなされる処理をそのまま継続して行うこともできる。ただしこの場合には、図5および図6のフローチャートに追加して、再生対象のクリップ(あるいはストアクリップ)に対して、タイムストレッチやリサンプリングなどの処理を施し、そのピッチが変動しないようにした上で、変更後のBPM値に対応する再生時間(BPM値変更後の1小節分の時間)にて再生されるように制御することが望ましい。
In the BPM value update process, the
以下、クリップメモリ書込み処理、第1のループ再生開始処理、ストアメモリ書込み処理、第2のループ再生開始処理および第2のループ再生停止処理を、図4の具体例に基づいて説明する。 Hereinafter, the clip memory write process, the first loop reproduction start process, the store memory write process, the second loop reproduction start process, and the second loop reproduction stop process will be described based on the specific example of FIG.
図4は、音楽装置100が実行する制御処理を説明するための図であり、同図(a)は、第2のループ再生開始処理が実行されていない場合の制御処理を説明するためのものであり、同図(b)は、第2のループ再生開始処理が実行された場合の制御処理を説明するためのものである。
FIG. 4 is a diagram for explaining a control process executed by the
図4(a)において、CL1〜CL10の入力音声のブロック列は、バッファメモリ105aに格納される各1小節(=4拍)分の音響データ、つまりクリップを示している。図示例では、クリップCL1より古いものがあるように描かれているが、ここでは、クリップCL1が(メインルーチンの起動後)最初に取得されたクリップとする。
In FIG. 4A, the input audio block sequence of CL1 to CL10 indicates acoustic data for one bar (= 4 beats) stored in the
タイマ割込みが最初に許可されてから、4拍の時間長(=2秒)が経過すると、割込み処理が起動される。割込み処理では、まずCPU103は、処理をクリップメモリ書込み処理に進め、バッファメモリ105aから直前1小節分のクリップを取得する(ステップS21)。これにより、クリップCL1が取得される。そしてCPU103は、最も古いクリップメモリ105bの内容を、取得したクリップCL1で上書きする(ステップS22の前段)。このとき、クリップメモリ105bはクリア状態であるので、取得されたクリップCL1は、書き込み順位が最初のクリップメモリAに書き込まれる。なお、取得したクリップをクリップメモリ105bに書き込むとき、そのクリップに付随させて現在のBPM値も書き込まれる。
When a time length of 4 beats (= 2 seconds) has elapsed since the timer interrupt was first permitted, the interrupt process is started. In the interrupt process, first, the
次にCPU103は、処理を第1のループ再生開始処理に進め、ループ再生を開始する(ステップS22の後段)。これにより、クリップCL1のクリップメモリAへの書き込みと並行して、クリップCL1のループ再生が開始される。このとき、クリップCL1はフェードイン再生される。図示例では、「フェードイン再生」は“★”で表現されている。そしてCPU103は、2番目に古いクリップ(次のタイミングの割込み処理にて、取得したクリップにて内容が上書きされるクリップメモリに保持されているクリップ)の再生をフェードアウトした(ステップS23)後、割込み処理を終了する。今、クリップメモリ105bにはクリップCL1が1つ格納されているだけなので、実質的にはステップS23の処理はなされない。
Next, the
割込み処理が終了すると、処理はメインルーチンに復帰するが、いずれのSWも押下されないので、SWイベントの待機状態となる(ステップS3)。この待機状態で、内蔵タイマは次の割込み間隔を計時するので、再び割込み処理が起動されて、クリップメモリ書込み処理および第1のループ再生開始処理が実行される。これにより、クリップCL2がクリップメモリBに書き込まれ、クリップCL2がフェードイン再生される一方、クリップCL1は先頭からの通常再生となる。つまり、クリップCL1は第1回目のループ再生となる。なお、ループ再生の開始が指示された後のフェードイン再生処理(上記通常再生やフェードアウト再生も含む)は、図示されていないが、図6の割込み処理とは別の割込み処理で実行されているものとする。 When the interrupt process is completed, the process returns to the main routine, but since no SW is pressed, a standby state for the SW event is entered (step S3). In this standby state, since the built-in timer measures the next interrupt interval, the interrupt process is started again, and the clip memory write process and the first loop reproduction start process are executed. As a result, the clip CL2 is written into the clip memory B and the clip CL2 is faded-in reproduced, while the clip CL1 is normally reproduced from the beginning. That is, the clip CL1 is the first loop reproduction. Note that the fade-in reproduction process (including the normal reproduction and the fade-out reproduction) after the start of the loop reproduction is instructed is performed in an interrupt process different from the interrupt process of FIG. Shall.
このような処理が繰り返し実行され、第5回目の割込み処理が起動されると、クリップCL5がクリップメモリEに書き込まれて、クリップCL5がフェードイン再生され、クリップCL2〜CL4は通常再生されるが、前記ステップS23の処理により、クリップCL1はフェードアウト再生される。図示例では、「フェードアウト再生」は“☆”で表現されている。 When such a process is repeatedly executed and the fifth interrupt process is started, the clip CL5 is written into the clip memory E, the clip CL5 is faded-in and the clips CL2 to CL4 are normally reproduced. The clip CL1 is faded out by the process of step S23. In the illustrated example, “fade-out playback” is represented by “☆”.
次の割込み処理が起動されるまでの期間中の時刻t1に、前記ストアSW102eが押下されると、CPU103は、処理をストアメモリ書込み処理(ステップS4)に進める。このストアメモリ書込み処理では、CPU103は、クリップメモリ105bの内容を、ストアメモリ105c内の前記4領域のうち、非再生中の領域に書き込む。時刻t1(の直前)では、ストアメモリ105cはクリア状態で、どの領域にもストアクリップは記憶されていないので、領域1〜4はすべて、非再生中の領域である。このため、ストアメモリ105cの領域1〜4のすべてに、クリップメモリ105bの内容が書き込まれる。ただし前述のように、クリップメモリ105bはクリップメモリA〜Eの5領域を備えており、その5領域のすべてに1つずつクリップが記憶されているので、この中から4つを選択して、逆に言えば、いずれか1つのクリップを除外してストアメモリ105cに書き込む。本実施の形態では、フェードイン再生中のもの、つまりクリップCL5を除外している。これは、ユーザは1回以上ループ再生したものをストアメモリ105cに記憶しておきたいと推測されるからである。その結果、ストアメモリ105cの領域1〜4にはそれぞれ、クリップCL1〜CL4が記憶される。もちろんこれに限らず、フェードアウト再生中のものを除外するようにしてもよい。
When the
この後、第7回目の割込み処理が起動されると、最も古いクリップを保持するクリップメモリ105bの領域はクリップメモリBであるので、取得したクリップCL7がクリップメモリBに書き込まれ(上書きされ)、フェードイン再生が開始される。また2番目に古いクリップは、クリップメモリCのクリップCL3であるので、そのクリップCL3のフェードアウト再生が開始される。そして、時刻t2に、ストアSW102eが押下されると、前記時刻t1におけるストアSW102eの押下に応じた処理と同様にして、クリップメモリ105bに記憶されているクリップCL3〜CL7のうち、フェードイン再生中のクリップCL7を除外した4つのクリップがストアメモリ105cに書き込まれる。
Thereafter, when the seventh interrupt process is started, the area of the
このように、クリップされた音響データは、それぞれ4回ずつループ再生されるとともに、他のクリップと混合して出力される。 In this way, the clipped sound data is loop-reproduced four times and mixed with other clips and output.
次に図4(b)においては、時刻t1に、ストアSW102e、クリップ1SW102f1、クリップ3SW102f3が押下され、時刻t2に、ストアSW102eが押下され、時刻t3に、クリップ1SW102f1が押下された場合の例を示す。
Next, in FIG. 4B, an example in which the
図4(b)の時刻t1で、ストアSW102eが押下された場合の処理は、前記図4(a)の時刻t1で、ストアSW102eが押下された場合の処理と同じであるので、その説明は省略する。
The process when the
ストアSW102eに続いてクリップ1SW102f1が押下されると、CPU103は、処理を第2のループ再生開始処理に進める。この第2のループ再生開始処理では、まずCPU103は、ストアメモリ105c内の領域1〜4のうち、再生開始が指示されたSW番号に対応する領域内のストアクリップのフェードイン再生を開始する(ステップS7)。これにより、ストアメモリ105cの領域1に記憶されているストアクリップ(クリップCL1)のフェードイン再生が開始される。次にCPU103は、クリップメモリ105bのうち、最も古いクリップを保持している領域(この場合、クリップメモリA)への書き込みを停止し、併せてそのクリップ(この場合、クリップCL1)の再生をフェードアウトする(ステップS8)。クリップメモリAへの書き込みが停止されたので、次の割込み処理が起動された場合、取得したクリップCL6は、書き込み可能なクリップメモリ105bのうち、最も古いクリップを保持している領域(クリップメモリB)に書き込まれることになる。クリップメモリBが次にクリップが上書きされる領域となるので、クリップメモリBのクリップCL2のフェードアウト再生が開始される。この結果、クリップループ回数は“4”から“3”に減少する。
When the clip 1SW 102f1 is pressed subsequent to the
クリップ1SW102f1に続いて、クリップ3SW102f3が押下されると、クリップ1SW102f1が押下されたときの処理と同様の処理が実行される。その結果、ストアメモリ105cの領域3に記憶されているクリップCL3のフェードイン再生が開始される。また、クリップメモリBへの書き込みが停止され、書き込み可能なクリップメモリ105bのうち、クリップメモリCが次にクリップが上書きされる領域となり、クリップメモリCのクリップCL3のフェードアウト再生が開始され、クリップループ回数は“3”から“2”に減少する。したがって、次の割込み処理が起動された場合、書き込み可能なクリップメモリ105bのうち、最も古いクリップを保持したクリップメモリCのクリップCL3が、取得したクリップCL6で上書きされた後、フェードイン再生が開始され、その次に古いクリップメモリDのクリップCL4のフェードアウト再生が開始される。
When the clip 3SW 102f3 is pressed after the clip 1SW 102f1, the same processing as that when the clip 1SW 102f1 is pressed is executed. As a result, fade-in reproduction of the clip CL3 stored in the
なお、ストアメモリ105cのストアクリップの再生が開始される場合、そのストアクリップに付随して記憶されているBPM値が現在のBPM値と異なることがある。このときは、クリップメモリ105bのクリップが再生中にBPM値が変更された場合について前述した処理、つまり、そのストアクリップに対して、タイムストレッチやリサンプリングなどの処理を施して、ピッチが変動しないようにした上で、現在のBPM値に対応する再生時間(BPM値変更後の1小節分の時間)にて再生されるように制御する。
When playback of a store clip in the
次に時刻t2で、図4(a)の時刻t2と同様に、ストアSW102eが押下されると、CPU103は、処理を前記ストアメモリ書込み処理(ステップS5)に進める。このとき、ストアメモリ105cの領域1および3にそれぞれ記憶されているクリップCL1およびCL3は再生中であるので、非再生中の領域2および4に、フェードイン再生中のクリップCL7を除外した2つのクリップCL5およびCL6が書き込まれる。
Next, when the
次に時刻t3で、クリップ1SW102f1が押下されると、このとき、ストアメモリ105cの領域1のストアクリップ(クリップCL1)はループ再生中であるので、CPU103は、処理を第2のループ再生停止処理に進める。この第2のループ再生停止処理では、まずCPU103は、ストアメモリ105c内の領域1〜4のうち、再生停止が指示されたSW番号に対応する領域内のストアクリップのフェードアウト再生を開始する(ステップS9)。これにより、ストアメモリ105cの領域1に記憶されているストアクリップ(クリップCL1)のフェードアウト再生が開始される。
Next, at time t3, when the clip 1SW 102f1 is pressed, the store clip (clip CL1) in the area 1 of the
次にCPU103は、割込み処理におけるクリップメモリ105bに保持されているクリップのうち、フェードアウト再生されているものをフェードイン再生に切り替え、さらに、書き込みが停止されていたクリップメモリ105bの領域のうち1への書き込みを再開する(ステップS10)。この結果、クリップループ回数は“2”から“3”に増加する。
Next, the
時刻t3において、フェードアウト再生されているクリップは、クリップメモリCのクリップCL6であるので、クリップCL6がフェードイン再生に切り替えられる。図示例では、「フェードアウト再生からフェードイン再生への切り替え」は“◆”で表現されている。 At time t3, the clip that is faded out is the clip CL6 of the clip memory C, and therefore the clip CL6 is switched to fade-in reproduction. In the illustrated example, “switching from fade-out playback to fade-in playback” is represented by “♦”.
なお、図4(b)の時刻t1に例示したように、クリップメモリ105bの各領域に保持されたクリップのうち、フェードアウト再生されているクリップが複数ある場合、最も若いクリップ(時刻t1の場合であれば、クリップメモリCのクリップCL3)がフェードイン再生に切り替えられる。
Note that, as exemplified at time t1 in FIG. 4B, among the clips held in each area of the
また、時刻t2において、書き込みが停止されていた領域はクリップメモリAおよびBである。このように書き込みを再開し得る領域が複数ある場合、いずれか1つへの書き込みを再開する。書き込みを再開する領域の選択は、たとえば、最も古く書き込みが停止された領域、あるいは予め設定された優先順位に基づいて選択する等、任意の方法を用いればよい。 At time t2, the areas where writing was stopped are the clip memories A and B. Thus, when there are a plurality of areas where writing can be resumed, writing to any one is resumed. The selection of the area where writing is to be resumed may be performed using any method, for example, the oldest area where writing has been stopped, or selection based on a preset priority order.
なお、ストアメモリ105c内の領域1〜4すべてのストアクリップが再生されている状態においては、クリップメモリ105bの領域A〜Eのうち1の領域のみが書き込み可能であるが、バッファメモリ105aの内容が順次この1の領域に上書きされる。そのため、クリップメモリ105bにはループ再生すべきクリップが存在しない状態となり、ループ回数は“0”となる。この場合、CPU103は、図6の割込み処理のうち、クリップメモリ書込み処理(ステップS21およびS22の前段)のみを実行することになる。
In the state where all the store clips in the areas 1 to 4 in the
以上の説明から明らかな通り、本実施の形態では、クリップのループ回数は、書き込み可能なクリップメモリ105bの領域の個数に基づいて規定される(ループ回数=書き込み可能な領域数−1)。これに代えて、ループ回数を規定するパラメータを設け、当該パラメータの値を適宜設定・更新することにより、各クリップのループ回数を制御するようにしてもよい。
As is apparent from the above description, in the present embodiment, the number of clip loops is defined based on the number of
また本実施の形態では、フェードイン再生処理およびフェードアウト再生処理におけるフェード時間については、特に言及されていないが、1〜4拍の間で適宜選択すればよい。選択される値は、固定であってもよいし、ユーザが変更可能としてもよい。 In this embodiment, the fade time in the fade-in reproduction process and the fade-out reproduction process is not particularly mentioned, but may be appropriately selected between 1 to 4 beats. The selected value may be fixed or may be changeable by the user.
さらに本実施の形態では、本発明を音楽装置100のみによって実現するようにしたが、これに限らず、前記通信I/F106を介して、他の音楽装置(前記サーバ300あるいは他の音楽装置400あるいはPC500)に対してストアしたデータを送信し、また、他の音楽装置からデータを受信し、音楽セッションを行うようにしてもよい。この場合、ストアメモリ105cが拡張され、受信したクリップを保持するメモリが追加される。もちろん任意の記憶媒体に、ストアしたデータを書き出すようにしてもよい。
Furthermore, in the present embodiment, the present invention is realized only by the
さらに、エコー、リバーブ、コーラス、ディストーション他、各種エフェクタを備えるようにしてもよい。エフェクタを複数備え、各クリップメモリA〜Eやストアメモリ105cの領域1〜4毎に異なるエフェクタをかけるようにしてもよい。
Further, various effectors such as echo, reverb, chorus, distortion may be provided. A plurality of effectors may be provided, and different effectors may be applied to each of the clip memories A to E and the areas 1 to 4 of the
また本実施の形態では、表示・操作I/F102を一般的な表示器とハードウェアSWによって構成したが、これに限らず、タッチパネルによって構成してもよい。
In this embodiment, the display / operation I /
なお、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。 A program in which a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus is stored in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the code.
この場合、記憶媒体から読出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードおよび該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the program code and the storage medium storing the program code constitute the present invention.
プログラムコードを供給するための記憶媒体としては、たとえば、フレキシブルディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。また、通信ネットワークを介してサーバコンピュータからプログラムコードが供給されるようにしてもよい。 As a storage medium for supplying the program code, for example, a flexible disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic A tape, a non-volatile memory card, a ROM, or the like can be used. Further, the program code may be supplied from a server computer via a communication network.
また、コンピュータが読出したプログラムコードを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. It goes without saying that a case where the functions of the above-described embodiment are realized by performing part or all of the above and the processing thereof is included.
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。 Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
101…音響入力部(入力手段),103…CPU(制御手段、再生手段),105…RAM(入力手段、クリップメモリ、ストアメモリ),105b…クリップメモリ,105c…ストアメモリ
DESCRIPTION OF
Claims (4)
前記入力手段によって入力された音響信号を予め設定された時間長分、順次クリッピングしておく複数のクリップメモリと、
前記複数のクリップメモリにそれぞれ格納された音響信号を規定された回数、ループ再生するとともに、規定回数ループ再生された音響信号がクリッピングされているクリップメモリをクリアするように制御する制御手段と
を有することを特徴とする音楽装置。 Input means for collecting surrounding sounds and inputting them as acoustic signals;
A plurality of clip memories that sequentially clip the acoustic signal input by the input means for a preset time length;
Control means for performing loop reproduction of the acoustic signals respectively stored in the plurality of clip memories for a specified number of times, and controlling to clear a clip memory in which the sound signals that have been reproduced for the specified number of loops are clipped. A music device characterized by that.
前記ストアメモリにストアされた音響信号をループ再生する再生手段と
を有することを特徴とする請求項1に記載の音楽装置。 A store memory for storing an audio signal clipped to the plurality of clip memories in response to a user instruction;
The music apparatus according to claim 1, further comprising: a reproducing unit that reproduces an acoustic signal stored in the store memory in a loop.
前記再生手段は、ユーザ操作に応じて、前記複数のストア領域にストアされた複数の音響信号のいずれかを選択し、選択した音響信号をループ再生する
ことを特徴とする請求項2に記載の音楽装置。 The store memory includes a plurality of store areas,
The said reproduction | regeneration means selects any one of several acoustic signals stored in these several store area | region according to user operation, The looped reproduction of the selected acoustic signal is given. Music device.
前記制御方法は、
前記複数のクリップメモリにそれぞれ格納された音響信号を規定された回数、ループ再生するとともに、規定回数ループ再生された音響信号がクリッピングされているクリップメモリをクリアするように制御する制御ステップを有する
ことを特徴とするプログラム。 A music apparatus comprising: input means for collecting ambient sounds and inputting them as acoustic signals; and a plurality of clip memories for sequentially clipping the acoustic signals input by the input means for a preset time length A program for causing a computer to execute a control method for controlling
The control method is:
A control step of performing loop playback of the sound signals respectively stored in the plurality of clip memories a specified number of times, and controlling to clear a clip memory in which the sound signals that have been loop-played the specified number of times are clipped A program characterized by
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010244176A JP2012098375A (en) | 2010-10-29 | 2010-10-29 | Musical device and program realizing its control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010244176A JP2012098375A (en) | 2010-10-29 | 2010-10-29 | Musical device and program realizing its control method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2012098375A true JP2012098375A (en) | 2012-05-24 |
Family
ID=46390382
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010244176A Pending JP2012098375A (en) | 2010-10-29 | 2010-10-29 | Musical device and program realizing its control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2012098375A (en) |
-
2010
- 2010-10-29 JP JP2010244176A patent/JP2012098375A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9336764B2 (en) | Recording and playback device, storage medium, and recording and playback method | |
| US8772618B2 (en) | Mixing automatic accompaniment input and musical device input during a loop recording | |
| US9165546B2 (en) | Recording and playback device capable of repeated playback, computer-readable storage medium, and recording and playback method | |
| JP6252088B2 (en) | Program for performing waveform reproduction, waveform reproducing apparatus and method | |
| US7977563B2 (en) | Overdubbing device | |
| JP6024722B2 (en) | Musical sound control device, musical sound control method, program, and electronic musical instrument | |
| JP4801029B2 (en) | REPRODUCTION DEVICE, REPRODUCTION METHOD, RECORDING MEDIUM, AND PROGRAM | |
| JP2012098375A (en) | Musical device and program realizing its control method | |
| US7385129B2 (en) | Music reproducing system | |
| JP3591227B2 (en) | Karaoke equipment | |
| JP4816177B2 (en) | Electronic musical instruments and programs | |
| JP6531432B2 (en) | Program, sound source device and acoustic signal generation device | |
| JP2013105085A (en) | Information processing program, information processing device, information processing system, and information processing method | |
| JP7250132B2 (en) | recording and playback device | |
| JP6681240B2 (en) | Electronic musical instrument system, music reproduction control device, and electronic musical instrument | |
| JP2007264034A (en) | Musical performance recorder and program | |
| JP4452666B2 (en) | Karaoke equipment | |
| JP6427439B2 (en) | Karaoke device | |
| JP4332737B2 (en) | CONTENT DATA CONTROL METHOD, CONTENT DATA CONTROL DEVICE, AND PROGRAM | |
| WO2025057336A1 (en) | Acoustic device, program, and method for controlling acoustic device | |
| JP5034602B2 (en) | Electronic music apparatus and program | |
| JP4973215B2 (en) | Performance device and program | |
| JP2005165357A (en) | Remix system, slice system, and storage medium | |
| JP4301190B2 (en) | Automatic performance data processing apparatus and program for realizing automatic performance data processing method | |
| JP3617329B2 (en) | Karaoke equipment |