JP2010165444A - Music playback controller, music playback system, and program - Google Patents

Music playback controller, music playback system, and program Download PDF

Info

Publication number
JP2010165444A
JP2010165444A JP2009009377A JP2009009377A JP2010165444A JP 2010165444 A JP2010165444 A JP 2010165444A JP 2009009377 A JP2009009377 A JP 2009009377A JP 2009009377 A JP2009009377 A JP 2009009377A JP 2010165444 A JP2010165444 A JP 2010165444A
Authority
JP
Japan
Prior art keywords
music
acceleration
reproduction
performance
cpu
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.)
Withdrawn
Application number
JP2009009377A
Other languages
Japanese (ja)
Inventor
Yoshiki Nishitani
善樹 西谷
Yuhei Kobayashi
雄平 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2009009377A priority Critical patent/JP2010165444A/en
Publication of JP2010165444A publication Critical patent/JP2010165444A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To achieve a music performance without using the turn table not poor than the case of using a turn table for the music performance. <P>SOLUTION: When a disk jockey starts waving a performance operator 10L from a state in which both of performance operator 10L and 10R are not waved, a performance controlling section 44 of a performance controller 20 executes forward reproduction by output of a series of audio data in the tune data read out from a tune data memory 41 to a RAM 46 to a sound system 60 in the time-series order. Alternatively, when the disk jockey starts waving the performance operator 10R from the state in which both of performance operator 10L and 10R are not waved, the performance controlling section executes reverse reproduction by output of the series of audio data in the tune data to the sound system 60 in the reverse time-series order. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、ディスクジョッキーによる音楽パフォーマンスを支援する技術に関する。   The present invention relates to a technique for supporting music performance by a disc jockey.

ディスクジョッキーによる音楽パフォーマンスは、一台または複数台のターンテーブル(レコードプレーヤ)とその再生音を出力する音響設備とを用いて行われる。ディスクジョッキーは、ディスコやクラブ、野外ライブなどの会場において、その会場の雰囲気にマッチした曲を選び、即興の歌詞や台詞を織り交ぜながらその曲をターンテーブルにより再生することにより、その会場内の雰囲気を盛り上げる。
ディスクジョッキーの中には、DJ支援ソフトウェアを実装したパーソナルコンピュータをターンテーブルの代わりに用いて音楽パフォーマンスを行う者もいる。このディスクジョッキーは、MP3(MPEG Audio Layer-3)などのファイルフォーマットの曲データを自らのパーソナルコンピュータ内に準備し、操作子の操作を通じて各種音響効果を付与しながらその曲データを再生する。特許文献1には、ディスクジョッキーによるパーソナルコンピュータを用いた音楽パフォーマンスを支援する技術が開示されている。この特許文献1に開示された伴奏付加装置は、ターンテーブルがレコードからピックアップした演奏音が入力されると、その演奏音のピッチや音量を検出し、そのピッチや音量とマッチする伴奏音を生成する。そして、演奏音と伴奏音をミキシングした合成音を、所定のクオンタイズタイミングに合わせて発音する。
A music performance by a disc jockey is performed using one or a plurality of turntables (record players) and an audio facility that outputs the reproduced sound. Disc jockeys choose venues such as discos, clubs, and outdoor concerts that match the atmosphere of the venue and play them on the turntable while intermingling improvised lyrics and dialogue. Enliven the atmosphere.
Some disc jockeys perform music performances using personal computers with DJ support software instead of turntables. This disc jockey prepares music data in a file format such as MP3 (MPEG Audio Layer-3) in its own personal computer, and reproduces the music data while applying various sound effects through the operation of an operator. Patent Document 1 discloses a technique for supporting music performance using a personal computer by a disc jockey. When the performance sound picked up from the record by the turntable is input, the accompaniment adding device disclosed in Patent Document 1 detects the pitch and volume of the performance sound and generates an accompaniment sound that matches the pitch and volume. To do. Then, a synthesized sound obtained by mixing the performance sound and the accompaniment sound is generated in accordance with a predetermined quantization timing.

特開2005−338602号公報JP 2005-338602 A

ところで、ターンテーブルを用いた音楽パフォーマンスにおいてディスクジョッキーが頻繁に行う動作の1つにスクラッチがある。スクラッチは、レコード盤を直接手指で回転させて曲の同じ部分を前後方向に反復再生させ、リズムを刻んでいるかのようなスクラッチ音を奏でる動作である。このスクラッチによれば、他の楽器では表現できないような刺激的な音を表現することが可能である。しかしながら、ターンテーブルを用いない音楽パフォーマンスの場合、スクラッチのような動作ができないため、ターンテーブルを用いた場合と同じような音楽パフォーマンスを実現できないという問題があった。
本発明は、このような背景の下に案出されたものであり、ターンテーブルを使わずに、ターンテーブルを使った音楽パフォーマンスに見劣りしない音楽パフォーマンスを実現できるようにすることを目的とする。
Incidentally, scratching is one of the operations frequently performed by disc jockeys in music performance using a turntable. Scratching is an operation of producing a scratch sound as if the rhythm is engraved by rotating the record board directly with fingers and repeatedly playing the same part of the music in the front-rear direction. According to this scratch, it is possible to express a stimulating sound that cannot be expressed by other musical instruments. However, in the case of a music performance that does not use a turntable, there is a problem that a music performance similar to that in the case of using a turntable cannot be realized because it cannot operate like a scratch.
The present invention has been devised under such a background, and an object thereof is to realize a music performance that is not inferior to a music performance using a turntable without using a turntable.

本発明は、曲データを記憶する記憶手段と、操作子の挙動を示す物理量を取得する取得手段と、前記記憶手段に記憶された曲データを再生する手段であって、前記取得手段が取得した物理量の波形に現れる特徴に基づき、前記曲データの再生の方向を制御する再生制御手段とを具備する曲再生制御装置を提供する。
本発明では、操作子の挙動を示す物理量の波形に現れる特徴に基づき、曲データの再生の方向を制御する。よって、この曲再生制御装置を利用するディスクジョッキーは、曲データの再生の方向を切り換えるような操作子の操作を行うことにより、他の楽器によっては表現できない刺激的な音を表現し、ターンテーブルを用いた音楽パフォーマンスに劣らない音楽パフォーマンスを実現することができる。
The present invention is a storage means for storing song data, an acquisition means for acquiring a physical quantity indicating the behavior of an operator, and a means for reproducing the song data stored in the storage means, the acquisition means acquiring There is provided a music piece reproduction control device comprising reproduction control means for controlling the reproduction direction of the music piece data based on characteristics appearing in a physical quantity waveform.
In the present invention, the reproduction direction of the music data is controlled based on the feature appearing in the waveform of the physical quantity indicating the behavior of the operation element. Therefore, a disc jockey that uses this music playback control device expresses an exciting sound that cannot be expressed by other instruments by operating an operator that switches the playback direction of the music data. Music performance that is not inferior to music performance using can be realized.

この発明の第1実施形態である曲再生制御装置を含む曲再生システムの構成を示すブロック図である。It is a block diagram which shows the structure of the music reproduction system containing the music reproduction control apparatus which is 1st Embodiment of this invention. 演奏操作子を振る動作と図1に示す曲再生制御装置による曲データの再生の態様の関係を示す図である。。It is a figure which shows the relationship between the operation | movement which shakes a performance operator, and the mode of reproduction | regeneration of music data by the music reproduction control apparatus shown in FIG. . 図1に示す曲再生制御装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the music reproduction control apparatus shown in FIG. 図1に示す曲再生制御装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the music reproduction control apparatus shown in FIG. この発明の第2実施形態である曲再生制御装置を含む曲再生システムの構成を示すブロック図である。It is a block diagram which shows the structure of the music reproduction system containing the music reproduction control apparatus which is 2nd Embodiment of this invention. 演奏操作子を振る動作と図2に示す曲再生制御装置による曲データの再生の態様の関係を示す図である。It is a figure which shows the relationship between the operation | movement which shakes a performance operator, and the mode of reproduction | regeneration of music data by the music reproduction control apparatus shown in FIG. 図2に示す曲再生制御装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the music reproduction control apparatus shown in FIG. 図2に示す曲再生制御装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the music reproduction control apparatus shown in FIG.

(第1実施形態)
以下、図面を参照し、この発明の第1実施形態を説明する。
図1は、この発明の第1実施形態である曲再生制御装置20を含む曲再生システムの構成を示すブロック図である。この曲再生システムは、ディスクジョッキーによる音楽パフォーマンスを支援するものである。
図1において、演奏操作子10L,10Rは、ディスクジョッキーが左右の手にそれぞれ把持し、振る、ひねるなどの動作をする棒状の操作子である。演奏操作子10Lには、加速度センサ11Lおよび無線信号送信部12Lが内蔵され、演奏操作子10Rには、加速度センサ11Rおよび無線信号送信部12Rが内蔵される。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a music playback system including a music playback control device 20 according to the first embodiment of the present invention. This music playback system supports music performance by a disc jockey.
In FIG. 1, performance operators 10L and 10R are rod-like operators that a disc jockey grips with left and right hands, and performs operations such as shaking and twisting. The performance operator 10L includes an acceleration sensor 11L and a radio signal transmission unit 12L, and the performance operator 10R includes an acceleration sensor 11R and a radio signal transmission unit 12R.

加速度センサ11L,11Rは、演奏操作子10L,10Rを振ったときの演奏操作子10L,10Rの挙動を示す物理量である加速度を検出する手段である。より具体的に説明すると、加速度センサ11Lは、当該加速度センサ11Lに加わる加速度ベクトルを3つの検出軸x,y,z方向に分解して検出し、それらの検出軸x,y,zに加わる正方向または負方向の加速度成分al,al,alを示す各アナログ信号を各々出力する。加速度センサ11Rは、当該加速度センサ11Rに加わる加速度ベクトルを3つの検出軸x,y,z方向に分解して検出し、それらの検出軸x,y,zに加わる正方向または負方向の加速度成分ar,ar,arを示す各アナログ信号を各々出力する。 The acceleration sensors 11L and 11R are means for detecting acceleration, which is a physical quantity indicating the behavior of the performance operators 10L and 10R when the performance operators 10L and 10R are shaken. More specifically, the acceleration sensor 11L detects the acceleration vector applied to the acceleration sensor 11L by decomposing it into the three detection axes x, y, and z directions, and detects the acceleration vector applied to the detection axes x, y, and z. Each analog signal indicating the acceleration component al x , al y , al z in the direction or negative direction is output. The acceleration sensor 11R detects the acceleration vector applied to the acceleration sensor 11R by decomposing it into the three detection axes x, y, and z, and detects positive or negative acceleration components applied to the detection axes x, y, and z. Each analog signal indicating ar x , ar y , ar z is output.

無線信号送信部12Lは、一定時間長(例えば5ms)のサンプリング周期ごとに、加速度センサ11Lから出力されるアナログ信号をサンプリングしてデジタル化することにより、加速度成分al,al,alを示すデータを生成し、加速度成分al,al,alを示すデータを含むパケットを無線区間を介して曲再生制御装置20に送信する。また、無線信号送信部12Rは、一定時間長(例えば5ms)のサンプリング周期ごとに、加速度センサ11Rから出力されるアナログ信号をサンプリングしてデジタル化することにより、加速度成分ar,ar,arを示すデータを生成し、加速度成分ar,ar,arを示すデータを含むパケットを無線区間を介して曲再生制御装置20に送信する。 Radio signal transmission section 12L, for each sampling period of a predetermined time length (for example 5 ms), by digitizing samples analog signals outputted from the acceleration sensor 11L, acceleration component al x, al y, the al z It generates data indicating transmits acceleration component al x, al y, the packet including data indicating al z song reproduction control apparatus 20 via the radio section. Further, the radio signal transmission unit 12R samples and digitizes an analog signal output from the acceleration sensor 11R for each sampling period of a certain time length (for example, 5 ms), thereby digitizing the acceleration components ar x , ar y , ar. Data indicating z is generated, and a packet including data indicating the acceleration components ar x , ar y , and ar z is transmitted to the music reproduction control device 20 via the wireless section.

曲再生制御装置20は、操作表示部31、無線信号受信部32、制御部30、およびインターフェース33を有する。
操作表示部31は、ユーザから各種の指示を受け取るとともに、ユーザに各種の情報を提供する。
無線信号受信部32は、一定時間長(例えば5ms)のサンプリング周期ごとに、演奏操作子10L,10Rから無線区間を介して送信されたパケットを受信する。そして、無線信号受信部32は、演奏操作子10Lから受信したパケットから加速度成分al,al,alを示すデータを取り出すとともに、演奏操作子10Rから受信したパケットから加速度成分ar,ar,arを示すデータを取り出し、取り出したデータを制御部30に引き渡す。
The music reproduction control device 20 includes an operation display unit 31, a radio signal reception unit 32, a control unit 30, and an interface 33.
The operation display unit 31 receives various instructions from the user and provides various information to the user.
The wireless signal receiving unit 32 receives packets transmitted from the performance operators 10L and 10R through the wireless section at a sampling period of a certain length of time (for example, 5 ms). Then, the radio signal receiving unit 32, an acceleration component al x from the received packet from the performance operator 10L, al y, is taken out of the data indicating the al z, acceleration component ar x from the received packet from the performance operator 10R, ar Data indicating y and ar z is extracted, and the extracted data is delivered to the control unit 30.

制御部30は、曲データ記憶メモリ41、加速度取得部42、リングバッファ43、および再生制御部44を有する。
曲データ記憶メモリ41は、曲データを記憶した読み出し専用メモリである。曲データは、音楽パフォーマンスにおいて再生する曲を所定のサンプリングレートでサンプリングしたデジタル信号(「オーディオデータ」という)を時系列順に並べたデータである。
The control unit 30 includes a song data storage memory 41, an acceleration acquisition unit 42, a ring buffer 43, and a playback control unit 44.
The song data storage memory 41 is a read-only memory that stores song data. The song data is data in which digital signals (referred to as “audio data”) obtained by sampling songs to be reproduced in a music performance are arranged in time series.

加速度取得部42は、無線信号受信部32から加速度成分al,al,alおよび加速度成分ar,ar,arを示すデータを取得すると、加速度成分al,al,alを次式(1)に代入することにより加速度絶対値salを求めるとともに、加速度成分ar,ar,arを次式(2)に代入することにより加速度絶対値sarを求める。そして、加速度取得部42は、加速度絶対値sal,sarの対を求めるたび、リングバッファ43の書き込み先アドレスを歩進させ、リングバッファ43の書き込み先アドレスにその対を書き込む。
sal=(al +al +al 1/2 …(1)
sar=(ar +ar +ar 1/2 …(2)
Acceleration obtaining unit 42, an acceleration component al x from the radio signal receiving unit 32, al y, al z and acceleration components ar x, ar y, obtains the data indicating the ar z, acceleration component al x, al y, al z with obtaining the acceleration absolute value sal by substituting the following equation (1) to determine an acceleration absolute value sar by substituting acceleration component ar x, ar y, the ar z in equation (2). Each time the acceleration acquisition unit 42 obtains a pair of acceleration absolute values sal and sar, it advances the write destination address of the ring buffer 43 and writes the pair to the write destination address of the ring buffer 43.
sal = (al x 2 + al y 2 + al z 2 ) 1/2 (1)
sar = (ar x 2 + ar y 2 + ar z 2 ) 1/2 (2)

再生制御部44は、ROM45、RAM46、CPU47を有する。
ROM45は、制御プログラム50を記憶した読み出し専用メモリである。CPU47は、RAM46をワークエリアとして利用しつつ、ROM45に記憶された制御プログラム50を実行する。制御プログラム50は、再生制御機能を有する。再生制御機能は、加速度取得部42によってリングバッファ43に書き込まれた加速度絶対値sal,sarの各々の加速度波形から閾値thasを超える加速度の大きさをもったローカルピーク(「有効ピーク」という)を検出し、曲データのオーディオデータ列をサウンドシステム60へ時系列順に出力する処理(「順方向再生処理」という)とそのオーディオデータ列をサウンドシステム60へ逆時系列順に出力する処理(「逆方向再生処理」という)を、加速度波形からの有効ピークの検出内容に基づいて切り換えながら実行する機能である。
インターフェース33には、発音手段たるサウンドシステム60が接続される。サウンドシステム60は、曲再生制御装置20からオーディオデータを受け取ってアナログ信号に変換するD/A変換器61、そのアナログ信号を増幅するアンプ62、およびアンプ62による増幅を経たアナログ信号を音として放音するスピーカ63を有する。
The reproduction control unit 44 includes a ROM 45, a RAM 46, and a CPU 47.
The ROM 45 is a read-only memory that stores the control program 50. The CPU 47 executes the control program 50 stored in the ROM 45 while using the RAM 46 as a work area. The control program 50 has a playback control function. The reproduction control function is a local peak (referred to as an “effective peak”) having an acceleration magnitude exceeding a threshold th as from the acceleration waveforms of the acceleration absolute values sal and sar written in the ring buffer 43 by the acceleration acquisition unit 42. And a process of outputting the audio data sequence of the song data to the sound system 60 in time series order (referred to as “forward playback process”) and a process of outputting the audio data sequence to the sound system 60 in reverse time series order (“reverse” This is a function of executing “direction reproduction processing” while switching based on the detected content of the effective peak from the acceleration waveform.
The interface 33 is connected to a sound system 60 as sounding means. The sound system 60 receives audio data from the music playback control device 20 and converts it into an analog signal, a D / A converter 61 that amplifies the analog signal, and an analog signal that has been amplified by the amplifier 62 as sound. A sounding speaker 63 is provided.

以上が、本実施形態における曲再生システムの構成である。この曲再生システムにおける曲再生制御装置20は、ディスクジョッキーが演奏操作子10L,10Rを振る動作を検出し、その動作の組み合わせに応じて、以下に説明する態様で曲データの再生を行う。図2(A),(B),(C),(D)は、演奏操作子10L,10Rを振る動作が行われた時刻Pとそれらの動作が行われたときの曲データの再生の態様とを示す図であり、これらの図における横軸は、時間に対応する。
図2(A)に示すように、演奏操作子10L,10Rを両方とも振っていない状態から演奏操作子10Lを振り始めた場合、曲再生制御装置20では、曲データの通常再生(順方向再生)を始める。以後、曲再生制御装置20では、演奏操作子10Lを所定時間T(例えば、3秒間とする)より短い間隔で振っている限りその通常再生を続ける。
図2(B)に示すように、演奏操作子10L,10Rを両方とも振っていない状態から演奏操作子10Rを振り始めた場合、曲再生制御装置20では、曲データの逆再生(逆方向再生)を始める。以後、再生制御装置20では、演奏操作子10Rを所定時間Tより短い間隔で振っている限りその逆再生を続ける。
図2(C)に示すように、演奏操作子10Lを振り始めた後に演奏操作子10Rを振り始めてそのまま演奏操作子10L,10Rの両方を振り続けた場合、曲再生制御装置20では、先に開始した通常再生を排他的に継続し、演奏操作子10Lの振りを先に止めて所定時間Tが経過した時からはそれまで継続していた通常再生を逆再生に切り換えて再生する。
図2(D)に示すように、演奏操作子10Rを振り始めた後に演奏操作子10Lを振り始めてそのまま演奏操作子10L,10Rの両方を振り続けた場合、曲再生制御装置20では、先に開始した逆再生を排他的に継続し、演奏操作子10Rの振りを先に止めて所定時間Tが経過した時からはそれまで継続していた逆再生を通常再生に切り換えて再生する。
The above is the configuration of the music playback system in the present embodiment. The music playback control device 20 in this music playback system detects the operation of the disc jockey shaking the performance operators 10L and 10R, and plays back the music data in the manner described below in accordance with the combination of the operations. 2A, 2B, 2C, and 2D show the time P at which the operations of the performance operators 10L and 10R are performed, and the manner in which the music data is reproduced when these operations are performed. The horizontal axis in these figures corresponds to time.
As shown in FIG. 2A, when the performance operator 10L is started from a state in which neither of the performance operators 10L and 10R is shaken, the music playback control device 20 performs normal playback (forward playback) of music data. ). Thereafter, the music playback control device 20 continues the normal playback as long as the performance operator 10L is swung at an interval shorter than a predetermined time T (for example, 3 seconds).
As shown in FIG. 2 (B), when the performance operator 10R is started to swing from the state where neither of the performance operators 10L and 10R is shaken, the music playback control device 20 performs reverse playback (reverse playback) of the music data. ). Thereafter, the playback control device 20 continues the reverse playback as long as the performance operator 10R is swung at intervals shorter than the predetermined time T.
As shown in FIG. 2 (C), when the performance operator 10R is started and then the performance operators 10L and 10R are continuously shaken after starting to swing the performance operator 10L, the music reproduction control device 20 first performs the operation. The normal reproduction that has been started is exclusively continued, and the normal operation that has been continued until the predetermined time T has elapsed after the swing of the performance operator 10L is first switched to reverse reproduction.
As shown in FIG. 2 (D), when the performance operator 10L is started and then the performance operator 10L is started and then both the performance operators 10L and 10R are continuously shaken, the music reproduction control device 20 first performs the operation. The reverse playback that has been started is continued exclusively, and after the predetermined time T has elapsed after the performance controller 10R has been swung first, the reverse playback that has been continued until then is switched to normal playback and played back.

次に、本実施形態の動作を説明する。本実施形態において、CPU47は、図3に示す一連の処理を実行する処理タスクと、図4に示す一連の処理を実行する処理タスクとを立ち上げる。CPU47は、これらの両処理タスクを立ち上げるにあたり、曲データ記憶メモリ41に記憶された曲データをRAM46に読み出すとともに、RAM46の記憶領域の一部を読み出し先アドレス記憶領域およびフラグ記憶領域として確保する。読み出し先アドレス記憶領域は、RAM46における曲データの読み出し先アドレスを記憶するための領域として利用される。フラグ記憶領域は、以下に示す2種類のフラグを記憶するための領域として利用される。
a.通常再生フラグ
これは、曲データを通常再生している間は「オン」にし、通常再生していない間は「オフ」にするフラグである。
b.逆再生フラグ
これは、曲データを逆再生している間は「オン」にし、逆再生していない間は「オフ」にするフラグである。
CPU47は、RAM46における曲データの先頭のオーディオデータを記憶したアドレスを読み出し先アドレス記憶領域に記憶するとともに、フラグ記憶領域における2種類のフラグを初期値である「オフ」にした後、加速度絶対値sal,sarの対が加速度取得部42によってリングバッファ43へ書き込まれるたび、図3および図4に示す処理タスクの繰り返しを並行して行う。
Next, the operation of this embodiment will be described. In the present embodiment, the CPU 47 starts up a processing task for executing a series of processes shown in FIG. 3 and a processing task for executing a series of processes shown in FIG. When starting both these processing tasks, the CPU 47 reads the song data stored in the song data storage memory 41 to the RAM 46 and secures a part of the storage area of the RAM 46 as a read destination address storage area and a flag storage area. . The read destination address storage area is used as an area for storing a read destination address of music data in the RAM 46. The flag storage area is used as an area for storing the following two types of flags.
a. Normal playback flag This is a flag that is set to “on” during normal playback of music data and “off” during normal playback.
b. Reverse playback flag This is a flag that is set to “ON” while the song data is being played back in reverse and “OFF” while the song data is not played back in reverse.
The CPU 47 stores the address at which the first audio data of the song data in the RAM 46 is stored in the read destination address storage area, and after setting the two types of flags in the flag storage area to “off” as initial values, the acceleration absolute value Each time a pair of sal and sar is written into the ring buffer 43 by the acceleration acquisition unit 42, the processing tasks shown in FIGS. 3 and 4 are repeated in parallel.

図3において、CPU47は、加速度絶対値salの波形に有効ピークが出現したかを判定する(S100)。より具体的には、CPU47は、リングバッファ43に閾値thsaを上回る加速度絶対値salが書き込まれると、閾値thsaを上回った加速度絶対値salとその前後の加速度絶対値salとを比較する。そして、閾値thsaを上回った加速度絶対値salがその前後の加速度絶対値salより大きい場合、有効ピークが出現したとみなし、これを波形に現れた特徴とする。
CPU47は、ステップS100において、加速度絶対値salの波形に有効ピークが出現したと判定した場合(S100:Yes)、逆再生フラグが「オン」であるかそれとも「オフ」であるかを判定する(S110)。
In FIG. 3, the CPU 47 determines whether an effective peak has appeared in the waveform of the acceleration absolute value sal (S100). More specifically, when the acceleration absolute value sal exceeding the threshold th sa is written in the ring buffer 43, the CPU 47 compares the acceleration absolute value sal exceeding the threshold th sa with the acceleration absolute values sal before and after that. When the acceleration absolute value sal exceeding the threshold th sa is larger than the acceleration absolute value sal before and after that, it is considered that an effective peak has appeared, and this is a feature that appears in the waveform.
If the CPU 47 determines in step S100 that an effective peak has appeared in the waveform of the acceleration absolute value sal (S100: Yes), the CPU 47 determines whether the reverse regeneration flag is “on” or “off” ( S110).

CPU47は、ステップS110において、逆再生フラグが「オフ」であると判定した場合(S110:Yes)、順方向再生処理を開始した後(S120)、通常再生フラグを「オン」にする(S130)。ステップS120における順方向再生処理において、CPU47は、読み出し先アドレス記憶領域に記憶されているアドレスをRAM46から探索し、そのアドレスよりも後のアドレスに記憶されている一連のオーディオデータをRAM46から1つずつ読み出し、インターフェース33を介してサウンドシステム60のD/A変換器61へ出力する。
CPU47は、通常再生フラグを「オン」にした後、ステップS100に戻り、加速度絶対値sal,sarの次の対がリングバッファ43に書き込まれると、以降の処理を繰り返す。
If the CPU 47 determines in step S110 that the reverse reproduction flag is “off” (S110: Yes), after starting the forward reproduction process (S120), the CPU 47 sets the normal reproduction flag to “on” (S130). . In the forward reproduction process in step S120, the CPU 47 searches the RAM 46 for an address stored in the read destination address storage area, and one series of audio data stored in an address after the address is stored in the RAM 46. The data are read out one by one and output to the D / A converter 61 of the sound system 60 via the interface 33.
After setting the normal reproduction flag “on”, the CPU 47 returns to step S100, and when the next pair of acceleration absolute values sal and sar is written in the ring buffer 43, the subsequent processing is repeated.

CPU47は、ステップS100において、加速度絶対値salの波形に有効ピークが出現していないと判定した場合(S100:No)、その波形に前回の有効ピークが出現した時からの経過時間が所定時間Tを超えたかを判定する(S140)。CPU47は、ステップS140において、加速度絶対値salの波形に前回の有効ピークが出現した時からの経過時間が所定時間Tを超えたと判定した場合(S140:Yes)、順方向再生処理を停止し(S150)、通常再生フラグを「オフ」にし(S160)、順方向再生処理の停止の直前に出力したオーディオデータの読み出し先であったRAM46のアドレスを読み出し先アドレス記憶領域に上書した後(S170)、ステップS100に戻る。
CPU47は、ステップS140において、前回の有効ピークが出現した時からの経過時間が所定時間Tを超えていないと判定した場合(S140:No)、ステップS150からステップS170を実行することなく、ステップS100に戻る。
If the CPU 47 determines in step S100 that an effective peak does not appear in the waveform of the acceleration absolute value sal (S100: No), the elapsed time from when the previous effective peak appears in the waveform is a predetermined time T. (S140). If the CPU 47 determines in step S140 that the elapsed time since the last effective peak appeared in the waveform of the acceleration absolute value sal has exceeded the predetermined time T (S140: Yes), the CPU 47 stops the forward reproduction process ( After the normal playback flag is set to “OFF” (S160), the address of the RAM 46 that is the read destination of the audio data output immediately before the forward playback process is stopped is overwritten in the read destination address storage area (S170). ), The process returns to step S100.
If the CPU 47 determines in step S140 that the elapsed time from the time when the last effective peak appears does not exceed the predetermined time T (S140: No), the CPU 47 does not execute steps S150 to S170, but executes step S100. Return to.

図4において、CPU47は、加速度絶対値sarの波形に有効ピークが出現したかを判定する(S200)。より具体的には、CPU47は、リングバッファ43に閾値thsaを上回る加速度絶対値sarが書き込まれると、閾値thsaを上回った加速度絶対値sarとその前後の加速度絶対値sarとを比較する。そして、閾値thsaを上回った加速度絶対値sarがその前後の加速度絶対値sarより大きい場合、有効ピークが出現したとみなす。
CPU47は、ステップS200において、加速度絶対値sarの波形に有効ピークが出現したと判定した場合(S200:Yes)、通常再生フラグが「オン」であるかそれとも「オフ」であるかを判定する(S210)。
In FIG. 4, the CPU 47 determines whether an effective peak has appeared in the waveform of the acceleration absolute value sar (S200). More specifically, when the acceleration absolute value sar exceeding the threshold th sa is written in the ring buffer 43, the CPU 47 compares the acceleration absolute value sar exceeding the threshold th sa with the acceleration absolute values sar before and after the acceleration. If the acceleration absolute value sar exceeding the threshold th sa is larger than the acceleration absolute value sar before and after that, it is considered that an effective peak has appeared.
If the CPU 47 determines in step S200 that an effective peak has appeared in the waveform of the acceleration absolute value sar (S200: Yes), the CPU 47 determines whether the normal reproduction flag is “on” or “off” ( S210).

CPU47は、ステップS210において、通常再生フラグが「オフ」であると判定した場合(S210:Yes)、逆方向再生処理を開始した後(S220)、逆再生フラグを「オン」にする(S230)。ステップS220における逆方向再生処理において、CPU47は、読み出し先アドレス記憶領域に記憶されているアドレスをRAM46から探索し、そのアドレスよりも前のアドレスに記憶されている一連のオーディオデータをRAM46から1つずつ読み出し、インターフェース33を介してサウンドシステム60のD/A変換器61へ出力する。
CPU47は、逆再生フラグを「オン」にした後、ステップS200に戻り、加速度絶対値sal,sarの次の対がリングバッファ43に書き込まれると、以降の処理を繰り返す。
If the CPU 47 determines in step S210 that the normal reproduction flag is “off” (S210: Yes), after starting the reverse reproduction process (S220), the CPU 47 sets the reverse reproduction flag to “on” (S230). . In the backward reproduction process in step S220, the CPU 47 searches the RAM 46 for an address stored in the read destination address storage area, and one series of audio data stored in an address before the address is stored in the RAM 46. The data are read out one by one and output to the D / A converter 61 of the sound system 60 via the interface 33.
After the CPU 47 sets the reverse regeneration flag to “ON”, the process returns to step S200, and when the next pair of acceleration absolute values sal and sar is written in the ring buffer 43, the subsequent processing is repeated.

CPU47は、ステップS200において、加速度絶対値sarの波形に有効ピークが出現していないと判定した場合(S200:No)、その波形に前回の有効ピークが出現した時からの経過時間が所定時間Tを超えたかを判定する(S240)。CPU47は、ステップS240において、加速度絶対値sarの波形に前回の有効ピークが出現した時からの経過時間が所定時間Tを超えたと判定した場合(S240:Yes)、逆方向再生処理を停止し(S250)、逆再生フラグを「オフ」にし(S260)、逆方向再生処理の停止の直前に出力したオーディオデータの読み出し先であったRAM46のアドレスを読み出し先アドレス記憶領域に上書した後(S270)、ステップS200に戻る。
CPU47は、ステップS240において、前回の有効ピークが出現した時からの経過時間が所定時間Tを超えていないと判定した場合(S240:No)、ステップS250からステップS270を実行することなく、ステップS200に戻る。
If the CPU 47 determines in step S200 that an effective peak has not appeared in the waveform of the acceleration absolute value sar (S200: No), the elapsed time since the previous effective peak appeared in the waveform is a predetermined time T. (S240). If the CPU 47 determines in step S240 that the elapsed time since the last effective peak appeared in the waveform of the acceleration absolute value sar has exceeded the predetermined time T (S240: Yes), the CPU 47 stops the reverse reproduction process ( After the reverse playback flag is set to “OFF” (S260), the address of the RAM 46 that is the read destination of the audio data output immediately before the reverse playback process is stopped is overwritten in the read destination address storage area (S270). ), The process returns to step S200.
If the CPU 47 determines in step S240 that the elapsed time from when the last effective peak appears does not exceed the predetermined time T (S240: No), the CPU 47 does not execute step S250 to step S270, but executes step S200. Return to.

以上説明した本実施形態では、ディスクジョッキーが左手に把持した演奏操作子10Lを振り続けている間は、曲データが通常再生され、右手に把持した演奏操作子10Rを振り続けている間は、曲データが逆再生される。よって、ディスクジョッキーは、演奏操作子10Lを振る動作と演奏操作子10Rを振る動作を交互に繰り返すことにより、音楽パフォーマンスを行う会場内の雰囲気を盛り上げるような刺激的な音を表現することができる。また、ディスクジョッキーが演奏操作子10L,10Rを振る動きは、ターンテーブルを用いた音楽パフォーマンスには見られない斬新なものであるため、この動き自体が見る者を惹きつけ、会場内の雰囲気をより効果的に盛り上げることができる。   In the present embodiment described above, while the disc jockey keeps swinging the performance operator 10L held by the left hand, the music data is normally reproduced, and while the performance operator 10R held by the right hand is kept swinging, The song data is played back in reverse. Therefore, the disc jockey can express a stimulating sound that excites the atmosphere in the venue where the music performance is performed by alternately repeating the operation of shaking the performance operator 10L and the operation of shaking the performance operator 10R. . In addition, the movement that the disc jockey swings the performance controls 10L and 10R is a novel thing that cannot be seen in the music performance using the turntable, so this movement itself attracts viewers and creates an atmosphere in the venue. It can be raised more effectively.

(第2実施形態)
以下、図面を参照し、この発明の第2実施形態を説明する。
図5は、本発明の第2実施形態である曲再生制御装置20Aを含む曲再生システムの構成を示すブロック図である。なお、この図5において、上記第1実施形態の曲再生制御装置20(図1)の各部と共通する部分には、同じ符号が付されている。
図5において、サウンドシステム60Aは、曲再生制御装置20Aから左右2チャネルのオーディオデータをそれぞれ受け取ってアナログ信号に変換するD/A変換器61L,61R、そのアナログ信号を増幅するアンプ62L,62R、およびアンプ62L,62Rによる増幅を経たアナログ信号を音として放音するスピーカ63L,63Rを有する。
(Second Embodiment)
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings.
FIG. 5 is a block diagram showing a configuration of a music playback system including a music playback control device 20A according to the second embodiment of the present invention. In FIG. 5, the same reference numerals are given to parts common to the respective parts of the music reproduction control device 20 (FIG. 1) of the first embodiment.
In FIG. 5, a sound system 60A receives D / A converters 61L and 61R that receive audio data of two left and right channels from the music playback control device 20A and converts them into analog signals, and amplifiers 62L and 62R that amplify the analog signals. And speakers 63L and 63R for emitting analog signals amplified by the amplifiers 62L and 62R as sound.

曲再生制御装置20Aの加速度取得部42は、無線信号受信部32から加速度成分al,al,alおよび加速度成分ar,ar,arを示すデータを取得すると、加速度成分al,al,alを前掲の式(1)に代入することによって求めた加速度絶対値sal、加速度成分ar,ar,arを前掲の式(2)に代入することによって求めた加速度絶対値sar、および加速度成分ar,ar,arのセットをリングバッファ43の書き込み先アドレスに書き込む。 Acceleration obtaining unit 42 of the music playback control unit 20A, a radio signal receiving unit 32 from the acceleration component al x, al y, al z and acceleration components ar x, ar y, obtains the data indicating the ar z, acceleration component al x , Al y , al z obtained by substituting acceleration absolute value sal and acceleration components ar x , ar y , ar z into the above formula (2) by substituting into the above formula (1). absolute value sar, and writes the acceleration components ar x, ar y, the set of ar z to the write destination address of the ring buffer 43.

また、曲再生制御装置20Aの再生制御部44は、ROM45、RAM46、CPU47、ピッチシフタ51、乗算器52L,52R、および加算器55を有する。ピッチシフタ51は、曲データを通常再生または逆再生させた再生音に、そのピッチを高周波側または低周波側にシフトさせる音響効果(「ピッチシフト効果」という)を付与する役割を果たす回路である。このピッチシフタ51は、CPU47から出力されるオーディオデータにそのピッチを高周波側または低周波側へシフトする信号処理を施し、信号処理を施したオーディオデータを出力する。ピッチシフタ51がオーディオデータのピッチを高周波側と低周波側のどちらへどの程度シフトするかは、CPU47から出力されるピッチシフトパラメータに応じて決まる。詳しくは、後述する。   The playback control unit 44 of the music playback control device 20A includes a ROM 45, a RAM 46, a CPU 47, a pitch shifter 51, multipliers 52L and 52R, and an adder 55. The pitch shifter 51 is a circuit that plays a role of imparting an acoustic effect (referred to as a “pitch shift effect”) that shifts the pitch to the high frequency side or the low frequency side to the reproduced sound obtained by normal reproduction or reverse reproduction of the music data. The pitch shifter 51 performs signal processing on the audio data output from the CPU 47 to shift the pitch to the high frequency side or the low frequency side, and outputs the audio data subjected to the signal processing. How much the pitch shifter 51 shifts the pitch of the audio data to the high frequency side or the low frequency side is determined according to the pitch shift parameter output from the CPU 47. Details will be described later.

乗算器52L,52Rは、曲データを通常再生または逆再生させた再生音に、その左右の音量バランスを左または右に偏らせる音響効果(「パニング効果」という)を付与する役割を果たす回路である。乗算器52L,52Rは、ピッチシフタ51から出力されるオーディオデータから左右2チャネルのオーディオデータを発生し、これら左右2チャネルのオーディオデータに個別の係数を乗算する信号処理を施し、信号処理を施したオーディオデータを出力する。乗算器52L,52Rがオーディオデータに乗算する係数は、CPU47から出力されるパニング係数パラメータに応じて決まる。詳しくは、後述する。   The multipliers 52L and 52R are circuits that play a role of adding an acoustic effect (referred to as “panning effect”) that biases the left and right volume balance to the left or right to the reproduced sound obtained by normal reproduction or reverse reproduction of the music data. is there. The multipliers 52L and 52R generate left and right channel audio data from the audio data output from the pitch shifter 51, perform signal processing for multiplying the left and right channel audio data by individual coefficients, and perform signal processing. Output audio data. The coefficient by which the multipliers 52L and 52R multiply the audio data is determined according to the panning coefficient parameter output from the CPU 47. Details will be described later.

以上が、本実施形態における曲再生システムの構成である。この曲再生システムにおける曲再生制御装置20Aは、第1実施形態における曲再生制御装置20と同様に、ディスクジョッキーが演奏操作子10L,10Rを振る動作を検出する。そして、演奏操作子10Lを所定時間T(たとえば、3秒とする)より短い間隔で任意の方向へ振る動作を基本動作とし、この基本動作と演奏操作子10Rを振る動作の組み合わせに応じて、以下に示す態様で曲データの再生を行う。
図6(A),(B),(C),(D)は、演奏操作子10L,10Rを振る動作が行われた時刻Pとそれらの動作が行われたときの曲データの再生の態様とを示す図であり、これらの図における横軸は、時間に対応する。
The above is the configuration of the music playback system in the present embodiment. Similar to the music reproduction control device 20 in the first embodiment, the music reproduction control device 20A in this music reproduction system detects an operation in which the disc jockey swings the performance operators 10L and 10R. Then, an operation of shaking the performance operator 10L in an arbitrary direction at an interval shorter than a predetermined time T (for example, 3 seconds) is a basic operation, and according to a combination of the basic operation and the operation of shaking the performance operator 10R, The music data is reproduced in the following manner.
6 (A), 6 (B), 6 (C), and 6 (D) show the time P at which the operations of the performance operators 10L and 10R are performed, and the manner in which the music data is reproduced when these operations are performed. The horizontal axis in these figures corresponds to time.

図6(A)に示すように、演奏操作子10L,10Rを両方とも振っていない状態から演奏操作子10Lの基本動作を始め、その基本動作を行いつつ演奏操作子10Rを加速度センサ11Rの検出軸xの正の方向に振った場合、曲再生制御装置20Aでは、曲データの通常再生を始める。以後、曲再生制御装置20Aでは、所定時間Tより短い間隔で演奏操作子10L,10Rのうち少なくとも一方を任意の方向へ振っている限り、その通常再生を続ける。
図6(B)に示すように、演奏操作子10L,10Rを両方とも振っていない状態から演奏操作子10Lの基本動作を始め、その基本動作を行いつつ演奏操作子10Rを加速度センサ11Rの検出軸xの負の方向に振った場合、曲再生制御装置20Aでは、曲データの逆再生を始める。以後、曲再生制御装置20Aでは、所定時間Tより短い間隔で演奏操作子10L,10Rのうち少なくとも一方を任意の方向へ振っている限り、その逆再生を続ける。
図6(C)に示すように、曲データの通常再生または逆再生を開始した後、演奏操作子10Lの基本動作を行いつつ演奏操作子10Rを加速度センサ11Rの検出軸yの正または負の方向に振った場合、曲再生制御装置20Aでは、その時から演奏操作子10Lの基本動作が止まるまでの間の曲データの再生音にピッチシフト効果を付与する。
図6(D)に示すように、曲データの通常再生または逆再生を開始した後、演奏操作子10Lの基本動作を行いつつ演奏操作子10Rを加速度センサ11Rの検出軸zの正または負の方向に振った場合、曲再生制御装置20Aでは、その時から演奏操作子10Lの基本動作が止まるまでの間の曲データの再生音にパニング効果を付与する。
As shown in FIG. 6A, the basic operation of the performance operator 10L is started from the state where neither of the performance operators 10L and 10R is shaken, and the performance operator 10R is detected by the acceleration sensor 11R while performing the basic operation. When it is shaken in the positive direction of the axis x, the music reproduction control device 20A starts normal reproduction of the music data. Thereafter, the music reproduction control device 20A continues normal reproduction as long as at least one of the performance operators 10L and 10R is swung in an arbitrary direction at intervals shorter than the predetermined time T.
As shown in FIG. 6B, the basic operation of the performance operator 10L is started from the state where neither of the performance operators 10L and 10R is shaken, and the performance operator 10R is detected by the acceleration sensor 11R while performing the basic operation. When it is shaken in the negative direction of the axis x, the music reproduction control device 20A starts reverse reproduction of the music data. Thereafter, as long as at least one of the performance operators 10L and 10R is swung in an arbitrary direction at intervals shorter than the predetermined time T, the music reproduction control device 20A continues the reverse reproduction.
As shown in FIG. 6C, after the normal reproduction or reverse reproduction of the music data is started, the performance operator 10R is made positive or negative on the detection axis y of the acceleration sensor 11R while performing the basic operation of the performance operator 10L. In the case of swinging in the direction, the music playback control device 20A gives a pitch shift effect to the playback sound of the music data from that time until the basic operation of the performance operator 10L stops.
As shown in FIG. 6D, after the normal reproduction or reverse reproduction of the music data is started, the performance operator 10R is made positive or negative on the detection axis z of the acceleration sensor 11R while performing the basic operation of the performance operator 10L. In the case of swinging in the direction, the music playback control device 20A gives a panning effect to the playback sound of the music data from that time until the basic operation of the performance operator 10L stops.

次に、本実施形態の動作を説明する。本実施形態において、CPU47は、図7に示す一連の処理を実行する処理タスクと、図8に示す一連の処理を実行する処理タスクを立ち上げる。CPU47は、これらの両処理タスクを立ち上げるにあたり、曲データ記憶メモリ41に記憶された曲データをRAM46に読み出すとともに、RAM46の記憶領域の一部を読み出し先アドレス記憶領域およびフラグ記憶領域として確保する。読み出し先アドレス記憶領域の用途は第1実施形態における同記憶領域の用途と同様である。また、本実施形態において、フラグ記憶領域には、以下に示す4種類のフラグを記憶する。
a.基本動作フラグ
これは、基本動作が行われている間は「オン」にし、基本動作が行われていない間は「オフ」にするフラグである。
b.再生フラグ
これは、曲データを通常再生または逆再生している間は「オン」にし、通常再生と逆再生のいずれも行っていない間は「オフ」にするフラグである。
c.ピッチシフトフラグ
これは、曲データを通常再生または逆再生した再生音にピッチシフト効果を付与している間は「オン」にし、ピッチシフト効果を付与していない間は「オフ」にするフラグである。
d.パニングフラグ
これは、曲データを通常再生または逆再生した再生音にパニング効果を付与している間は「オン」にし、パニング効果を付与していない間は「オフ」にするフラグである。
Next, the operation of this embodiment will be described. In the present embodiment, the CPU 47 starts up a processing task for executing a series of processes shown in FIG. 7 and a processing task for executing a series of processes shown in FIG. When starting both these processing tasks, the CPU 47 reads the song data stored in the song data storage memory 41 to the RAM 46 and secures a part of the storage area of the RAM 46 as a read destination address storage area and a flag storage area. . The usage of the read destination address storage area is the same as that of the storage area in the first embodiment. In the present embodiment, the following four types of flags are stored in the flag storage area.
a. Basic operation flag This is a flag that is set to “ON” while the basic operation is being performed, and is set to “OFF” while the basic operation is not being performed.
b. This is a flag that is set to “ON” during normal reproduction or reverse reproduction of music data and “OFF” while neither normal reproduction nor reverse reproduction is performed.
c. Pitch shift flag This is a flag that is set to “on” while the pitch shift effect is being applied to the playback sound of normal or reverse playback of song data, and “off” when the pitch shift effect is not being applied. is there.
d. Panning flag This is a flag that is set to “on” while a panning effect is applied to a playback sound obtained by normal reproduction or reverse reproduction of music data, and “off” while a panning effect is not applied.

CPU47は、RAM46における曲データの先頭のオーディオデータを記憶したアドレスを読み出し先アドレス記憶領域に記憶するとともに、フラグ記憶領域における4種類のフラグを初期値である「オフ」にした後、加速度絶対値sal,sar、および加速度成分ar,ar,arのセットが加速度取得部42によってリングバッファ43に書き込まれるたび、図7および図8に示す処理タスクの繰り返しを並行して行う。 The CPU 47 stores the address where the head audio data of the song data in the RAM 46 is stored in the read destination address storage area, and after setting the four types of flags in the flag storage area to “off” which is the initial value, the acceleration absolute value sal, sar, and every time the acceleration component ar x, ar y, the set of ar z are written to the ring buffer 43 by the acceleration obtaining unit 42, performed in parallel repetitive processing task shown in FIGS.

図7において、CPU47は、加速度絶対値salの波形に有効ピークが出現したかを判定する(S300)。
CPU47は、ステップS300において、加速度絶対値salの波形に有効ピークが出現したと判定した場合(S300:Yes)、基本動作フラグを「オン」にした後(S310)、ステップS300に戻り、加速度絶対値sal,sar、および加速度成分ar,ar,arの次のセットがリングバッファ43に書き込まれると、以降の処理を行う。ディスクジョッキーが、演奏操作子10Lを任意の方向に振る動作である基本動作を行っている間は、図7の処理タスクにおけるステップS300からステップS310が繰り返され、基本動作フラグは「オン」であり続ける。
In FIG. 7, the CPU 47 determines whether an effective peak has appeared in the waveform of the acceleration absolute value sal (S300).
When the CPU 47 determines in step S300 that an effective peak has appeared in the waveform of the acceleration absolute value sal (S300: Yes), the CPU 47 sets the basic operation flag to “on” (S310), returns to step S300, and returns to absolute acceleration. When the next set of values sal, sar and acceleration components ar x , ar y , ar z is written into the ring buffer 43, the following processing is performed. While the disc jockey is performing a basic operation that is an operation of swinging the performance operator 10L in an arbitrary direction, steps S300 to S310 in the processing task of FIG. 7 are repeated, and the basic operation flag is “ON”. to continue.

図8において、CPU47は、基本動作フラグが「オン」であるかそれとも「オフ」であるかを判定する(S400)。CPU47は、ステップS400において、基本動作フラグが「オン」であると判定した場合(S400:Yes)、加速度絶対値sarの波形に有効ピークが出現したかを判定する(S410)。
ディスクジョッキーが、基本動作を続けながら、演奏操作子10Rを検出軸x,y,zの正または負のいずれかの方向に振った場合、このステップS410の判定結果は「Yes」になり、基本動作を続けているものの、演奏操作子10Rを検出軸x,y,zの正負のいずれの方向にも振っていない場合、このステップS410の判定結果は「No」になる。
CPU47は、ステップS410において、加速度絶対値sarの波形に有効ピークが出現したと判定した場合(S410:Yes)、再生フラグが「オン」であるかそれとも「オフ」であるかを判定する(S420)。
In FIG. 8, the CPU 47 determines whether the basic operation flag is “ON” or “OFF” (S400). If the CPU 47 determines in step S400 that the basic operation flag is “ON” (S400: Yes), the CPU 47 determines whether an effective peak appears in the waveform of the acceleration absolute value sar (S410).
If the disc jockey swings the performance operator 10R in either the positive or negative direction of the detection axes x, y, z while continuing the basic operation, the determination result in step S410 is “Yes”, and the basic If the performance operator 10R is not swung in any of the positive and negative directions of the detection axes x, y, and z although the operation is continued, the determination result in step S410 is “No”.
When the CPU 47 determines in step S410 that an effective peak has appeared in the waveform of the acceleration absolute value sar (S410: Yes), the CPU 47 determines whether the reproduction flag is “on” or “off” (S420). ).

CPU47は、ステップS420において、再生フラグが「オフ」であると判定した場合(S420:No)、加速度絶対値sarの波形に出現した有効ピークにおける加速度成分arをリングバッファ43から読み出し、その加速度成分arの絶対値が閾値tharよりも大きいかを判定する(S430)。
CPU47は、ステップS430において、有効ピークにおける加速度成分arの絶対値が閾値tharよりも大きいと判定した場合(S430:Yes)、順方向再生処理および逆方向再生処理のうちその加速度成分arの符号の向きに応じた一方を開始する(S440)。より具体的には、CPU47は、加速度絶対値sarに出現した有効ピークにおける加速度成分arの符号が正である場合には順方向再生処理を開始し、その符号が負である場合は逆方向再生処理を開始する。
If the CPU 47 determines in step S420 that the regeneration flag is “OFF” (S420: No), the CPU 47 reads the acceleration component ar x at the effective peak that appears in the waveform of the acceleration absolute value sar from the ring buffer 43, and determines the acceleration. It is determined whether the absolute value of the component ar x is larger than the threshold th ar (S430).
If the CPU 47 determines in step S430 that the absolute value of the acceleration component ar x at the effective peak is greater than the threshold th ar (S430: Yes), the acceleration component ar x of the forward reproduction process and the reverse reproduction process. Is started according to the direction of the sign (S440). More specifically, the CPU 47 starts the forward reproduction process when the sign of the acceleration component ar x at the effective peak that appears in the acceleration absolute value sar is positive, and the reverse direction when the sign is negative. Start the playback process.

CPU47は、順方向再生処理または逆方向再生処理を開始した後、再生フラグを「オン」にし(S450)、ステップS400に戻る。
CPU47は、ステップS430において、有効ピークにおける加速度成分arの絶対値が閾値tharよりも大きくないと判定した場合(S430:No)、ステップS440およびステップS450を実行することなく、ステップS400に戻る。
After starting the forward reproduction process or the reverse reproduction process, the CPU 47 turns the reproduction flag “ON” (S450), and returns to step S400.
If the CPU 47 determines in step S430 that the absolute value of the acceleration component ar x at the effective peak is not greater than the threshold th ar (S430: No), the process returns to step S400 without executing steps S440 and S450. .

また、CPU47は、ステップS420において、再生フラグが「オン」であると判定した場合(S420:Yes)、加速度絶対値sarの波形に出現した有効ピークにおける加速度成分arをリングバッファ43から読み出し、その加速度成分arの絶対値が閾値tharよりも大きいかを判定する(S460)。
CPU47は、ステップS460において、加速度成分arの絶対値が閾値tharよりも大きいと判定した場合(S460:Yes)、ピッチシフト効果付与処理を開始する(S470)。
より詳細に説明すると、CPU47は、有効ピークにおける加速度成分arの符号が正である場合は、その加速度成分arの絶対値をピッチの高周波側へのシフト量+sに換算し、換算したシフト量+sを示すピッチシフトパラメータを出力する。また、CPU47は、有効ピークにおける加速度成分arの符号が負である場合は、その加速度成分arの絶対値をピッチの低周波側へのシフト量−sに換算し、換算したシフト量−sを示すピッチシフトパラメータを出力する。CPU47から出力されたピッチシフトパラメータは、ピッチシフタ51へ入力される。
Further, CPU 47 in step S420, if the regeneration flag is determined to be "ON" (S420: Yes), reads out the acceleration component ar y in the effective peak appearing in the waveform of the acceleration absolute value sar from the ring buffer 43, It determines that the absolute value of the acceleration component ar y is greater than the threshold value th ar (S460).
CPU47 at step S460, if the absolute value of the acceleration component ar y is determined to be greater than the threshold value th ar (S460: Yes), starts the pitch shift effect imparting processing (S470).
More particularly, CPU 47 may shift the sign of the acceleration component ar y in the effective peak if positive, which converts the absolute value of the acceleration component ar y to the shift amount + s to the high frequency side of the pitch was converted A pitch shift parameter indicating the amount + s is output. Further, CPU 47, when the sign of the acceleration component ar y in the effective peak is negative, the absolute value of the acceleration component ar y in terms of the shift amount -s to the low frequency side of the pitch, in terms the shift amount - A pitch shift parameter indicating s is output. The pitch shift parameter output from the CPU 47 is input to the pitch shifter 51.

ピッチシフタ51は、CPU47から高周波側へのシフト量+sを示すピッチシフトパラメータが入力されると、以後にCPU47から出力されるオーディオデータに、そのピッチをピッチシフトパラメータが示す分だけ高周波側へシフトさせる信号処理を施し、信号処理を施したオーディオデータを出力する。また、ピッチシフタ51は、CPU47から低周波側へのシフト量−sを示すピッチシフトパラメータが入力されると、以後にCPU47から出力されるオーディオデータに、そのピッチをピッチシフトパラメータが示す分だけ低周波側へシフトさせる信号処理を施し、信号処理を施したオーディオデータを出力する。ピッチシフタ51の出力信号は、乗算器52L,52Rからインターフェース33を介してサウンドシステム60のD/A変換器61L,61Rへ入力される。よって、加速度成分arの符号が正であった場合におけるピッチシフト効果付与処理が行われている間は、曲データの本来の再生音よりもピッチが高周波側にシフトされた再生音がサウンドシステム60のスピーカ63L,63Rから放音され、加速度成分arの符号が負であった場合におけるピッチシフト効果付与処理が行われている間は、曲データの本来の再生音よりもピッチが低周波側にシフトされた再生音がサウンドシステム60のスピーカ63L,63Rから放音される。 When the pitch shift parameter indicating the shift amount + s from the CPU 47 to the high frequency side is input from the CPU 47, the pitch shifter 51 shifts the pitch to the high frequency side by the amount indicated by the pitch shift parameter in the audio data output from the CPU 47 thereafter. Signal processing is performed, and audio data subjected to signal processing is output. Further, when the pitch shift parameter indicating the shift amount −s from the CPU 47 to the low frequency side is input to the pitch shifter 51, the pitch is reduced by the amount indicated by the pitch shift parameter in the audio data output from the CPU 47 thereafter. Signal processing for shifting to the frequency side is performed, and audio data subjected to signal processing is output. The output signal of the pitch shifter 51 is input from the multipliers 52L and 52R to the D / A converters 61L and 61R of the sound system 60 via the interface 33. Therefore, while the playback sound sound system pitch is shifted to the high frequency side than the original reproduced sound of the music data pitch shifting effect imparting process is performed when the sign of the acceleration component ar y is positive 60 speakers 63L, sound is emitted from the 63R, while the pitch shift effect imparting processing when the sign of the acceleration component ar y is negative is being performed, the original pitch than the reproduction sound is low frequency of the music data The reproduced sound shifted to the side is emitted from the speakers 63L and 63R of the sound system 60.

CPU47は、ピッチシフト効果付与処理を開始した後、ピッチシフトフラグを「オン」にし(S480)、次のステップへ進む。
また、CPU47は、ステップS460において、加速度成分arの絶対値が閾値tharよりも大きくないと判定した場合(S460:No)、ステップS470およびステップS480を実行することなく、次のステップへ進む。
After starting the pitch shift effect applying process, the CPU 47 turns on the pitch shift flag (S480), and proceeds to the next step.
Further, CPU 47 in step S460, if the absolute value of the acceleration component ar y is not greater than the threshold value th ar: proceeds (S460 No), without executing the step S470 and step S480, to step .

次に、CPU47は、加速度絶対値sarの波形に出現した有効ピークにおける加速度成分arをリングバッファ43から読み出し、その加速度成分arが閾値tharよりも大きいかを判定する(S490)。
CPU47は、ステップS490において、有効ピークにおける加速度成分arが閾値tharよりも大きいと判定した場合(S490:Yes)、パニング効果付与処理を開始する(S500)。より詳細に説明すると、CPU47は、有効ピークにおける加速度成分arの符号が正である場合は、その最新の加速度成分arの絶対値をその大きさに比例した係数c(0≦c≦1.0)に換算し、換算した係数cを示すパニング係数パラメータを出力する。また、CPU47は、最新の加速度成分arの符号が負である場合は、その最新の加速度成分arの絶対値をその大きさに反比例した係数c(0≦c≦1.0)に換算し、換算した係数cを示すパニング係数パラメータを出力する。CPU47から出力されたパニング係数パラメータは、乗算器52Lと加算器55へ入力される。
Next, CPU 47 reads the acceleration component ar z in the effective peak appearing in the waveform of the acceleration absolute value sar from the ring buffer 43, determines that or acceleration component ar z is greater than the threshold value th ar (S490).
If the CPU 47 determines in step S490 that the acceleration component ar z at the effective peak is larger than the threshold th ar (S490: Yes), the CPU 47 starts the panning effect applying process (S500). More specifically, when the sign of the acceleration component ar z at the effective peak is positive, the CPU 47 calculates a coefficient c (0 ≦ c ≦ 1) proportional to the absolute value of the latest acceleration component ar z. 0.0) and a panning coefficient parameter indicating the converted coefficient c is output. If the sign of the latest acceleration component ar z is negative, the CPU 47 converts the absolute value of the latest acceleration component ar z into a coefficient c (0 ≦ c ≦ 1.0) that is inversely proportional to the magnitude thereof. The panning coefficient parameter indicating the converted coefficient c is output. The panning coefficient parameter output from the CPU 47 is input to the multiplier 52L and the adder 55.

加算器55は、このパニング係数パラメータを1から減算した数値を乗算器52Rへ出力する。乗算器52L,52Rは、パニング係数パラメータが入力されると、以後にピッチシフタ51から入力されるオーディオデータにそのパニング係数パラメータが示す係数cを乗算する信号処理を施し、信号処理を施したオーディオ信号を出力する。乗算器52Lの出力信号はサウンドシステム60のD/A変換器61Lに入力され、乗算器52Rの出力信号はサウンドシステム60のD/A変換器61Rに入力される。よって、加速度成分arの符号が正であった場合におけるパニング効果付与処理では、左右2チャネルの音量バランスが左に偏った再生音がスピーカ63L,63Rから放音され、加速度成分arの符号が負であった場合におけるパニング効果付与処理では、左右2チャネルの音量バランスが右に偏った再生音がスピーカ63L,63Rから放音される。 The adder 55 outputs a numerical value obtained by subtracting the panning coefficient parameter from 1 to the multiplier 52R. When the panning coefficient parameter is input, the multipliers 52L and 52R perform signal processing for multiplying audio data input from the pitch shifter 51 by the coefficient c indicated by the panning coefficient parameter, and then perform the signal processing. Is output. The output signal of the multiplier 52L is input to the D / A converter 61L of the sound system 60, and the output signal of the multiplier 52R is input to the D / A converter 61R of the sound system 60. Therefore, in the panning effect imparting process in the case where the sign of the acceleration component ar z is positive, the reproduction sound with the left and right channel volume balance biased to the left is emitted from the speakers 63L and 63R, and the sign of the acceleration component ar z In the panning effect imparting process in the case where is negative, a reproduction sound in which the volume balance of the left and right two channels is biased to the right is emitted from the speakers 63L and 63R.

CPU47は、パニング効果付与処理を開始した後、パニングフラグを「オン」にし(S510)、ステップS400に戻る。
また、CPU47は、ステップS490において、加速度成分arの絶対値が閾値tharよりも大きくないと判定した場合(S490:No)、ステップS500およびステップS510を実行することなく、ステップS400に戻る。
After starting the panning effect imparting process, the CPU 47 turns the panning flag “ON” (S510), and returns to step S400.
If the CPU 47 determines in step S490 that the absolute value of the acceleration component ar z is not greater than the threshold th ar (S490: No), the CPU 47 returns to step S400 without executing steps S500 and S510.

図7において、CPU47は、加速度絶対値salの波形に有効ピークが出現していないと判定した場合(S300:No)、加速度絶対値salの波形に前回の有効ピークが出現した時からの経過時間が所定時間Tを超えたかを判定する(S320)。CPU47は、ステップS320において、前回の有効ピークが出現した時からの経過時間が所定時間Tを超えていないと判定した場合(S320:No)、ステップS300に戻る。
CPU47は、ステップS320において、加速度絶対値salの波形に前回の有効ピークが出現した時からの経過時間が所定時間Tを超えていると判定した場合(S320:Yes)、基本動作フラグを「オフ」にする(S330)。
In FIG. 7, when the CPU 47 determines that an effective peak does not appear in the waveform of the acceleration absolute value sal (S300: No), the elapsed time from when the previous effective peak appears in the waveform of the acceleration absolute value sal. It is determined whether or not the predetermined time T has been exceeded (S320). CPU47 returns to step S300, when it determines with the elapsed time from the time of the last effective peak appearing not exceeding predetermined time T in step S320 (S320: No).
If the CPU 47 determines in step S320 that the elapsed time since the last effective peak appeared in the waveform of the acceleration absolute value sal exceeds the predetermined time T (S320: Yes), the basic operation flag is set to “off”. (S330).

次に、CPU47は、ピッチシフトフラグが「オン」であるかそれとも「オフ」であるかを判定する(S340)。
CPU47は、ステップS340において、ピッチシフトフラグが「オン」であると判定した場合(S340:Yes)、ピッチシフト効果付与処理を停止した後(S350)、ピッチシフトフラグを「オフ」にする(S360)。
CPU47は、ステップS340において、ピッチシフトフラグが「オフ」であると判定した場合(S340:No)、ステップS350およびステップS360を実行することなく、次のステップへ進む。
Next, the CPU 47 determines whether the pitch shift flag is “ON” or “OFF” (S340).
If the CPU 47 determines in step S340 that the pitch shift flag is “ON” (S340: Yes), the CPU 47 stops the pitch shift effect applying process (S350), and then turns the pitch shift flag “OFF” (S360). ).
If the CPU 47 determines in step S340 that the pitch shift flag is “OFF” (S340: No), the CPU 47 proceeds to the next step without executing steps S350 and S360.

次に、CPU47は、パニングフラグが「オン」であるかそれとも「オフ」であるかを判定する(S370)。
CPU47は、ステップS370において、パニングフラグが「オン」であると判定した場合(S370:Yes)、パニング効果付与処理を停止した後(S380)、パニングフラグを「オフ」にする(S390)。
CPU47は、パニングフラグを「オフ」にした後、ステップS300に戻る。
CPU47は、ステップS370において、パニングフラグが「オフ」であると判定した場合(S370:No)、ステップS380およびステップS390を実行することなく、ステップS300に戻る。
Next, the CPU 47 determines whether the panning flag is “ON” or “OFF” (S370).
If the CPU 47 determines in step S370 that the panning flag is “ON” (S370: Yes), the CPU 47 stops the panning effect applying process (S380), and then turns the panning flag “OFF” (S390).
After setting the panning flag “off”, the CPU 47 returns to step S300.
If the CPU 47 determines in step S370 that the panning flag is “OFF” (S370: No), the CPU 47 returns to step S300 without executing steps S380 and S390.

図8において、CPU47は、基本動作フラグが「オフ」であると判定した場合(S400:No)、加速度絶対値sarの波形に前回の有効ピークが出現した時からの経過時間が所定時間Tを超えたかを判定する(S520)。ディスクジョッキーが、演奏操作子10Lを所定時間T以上振っておらず、演奏操作子10Rも所定時間T以上振っていない場合、ステップS400からステップS520に進み、ステップS520の判定結果は「Yes」になる。また、ディスクジョッキーが、演奏操作子10Lを所定時間T以上振っていないものの、演奏操作子10Rを振っている場合、ステップS400からステップS520に進み、ステップS520の判定結果は「No」になる。
CPU47は、ステップS520において、前回の有効ピークが出現した時からの経過時間が所定時間Tを超えていると判定した場合(S520:Yes)、ステップS440において開始した順方向再生処理または逆方向再生処理を停止し(S530)、再生フラグを「オフ」にし(S540)、順方向再生処理または逆方向再生処理の停止の直前に出力したオーディオデータの読み出し先であったRAM46のアドレスを読み出し先アドレス記憶領域に上書した後(S550)、ステップS400に戻る。
In FIG. 8, when the CPU 47 determines that the basic operation flag is “off” (S400: No), the elapsed time from the time when the last effective peak appears in the waveform of the acceleration absolute value sar is a predetermined time T. It is determined whether it has been exceeded (S520). If the disc jockey has not swung the performance operator 10L for a predetermined time T or more and the performance operator 10R has not swung for the predetermined time T or more, the process proceeds from step S400 to step S520, and the determination result in step S520 is “Yes”. Become. If the disc jockey has not swung the performance operator 10L for a predetermined time T or more but has swung the performance operator 10R, the process proceeds from step S400 to step S520, and the determination result in step S520 is “No”.
If the CPU 47 determines in step S520 that the elapsed time from the time when the last effective peak appears exceeds the predetermined time T (S520: Yes), the forward reproduction process or reverse reproduction started in step S440. The processing is stopped (S530), the reproduction flag is set to “OFF” (S540), and the address of the RAM 46 that is the read destination of the audio data output immediately before the stop of the forward reproduction process or the reverse reproduction process is read out address. After overwriting the storage area (S550), the process returns to step S400.

以上説明した本実施形態では、演奏操作子10Lを任意の方向に振り続ける動作を基本動作とし、ディスクジョッキーが、基本動作を行いながら演奏操作子10Rを検出軸xの正の方向に振ったときに曲データが通常再生され、検出軸xの負の方向に振ったときに曲データが逆再生される。また、ディスクジョッキーが、基本動作を行いながら演奏操作子10Rを検出軸yの正または負の方向に振ったときに、曲データの再生音にピッチシフト効果が与えられ、検出軸zの正または負の方向に振ったときに、曲データの再生音にパニング効果が与えられる。よって、第1実施形態の曲再生制御装置20よりも豊かな音楽的表情の再生音を表現することができる。   In the present embodiment described above, an operation of continuously swinging the performance operator 10L in an arbitrary direction is a basic operation, and the disc jockey swings the performance operator 10R in the positive direction of the detection axis x while performing the basic operation. The music data is normally reproduced at the same time, and the music data is reversely reproduced when the music data is shaken in the negative direction of the detection axis x. Also, when the disc jockey swings the performance operator 10R in the positive or negative direction of the detection axis y while performing the basic operation, a pitch shift effect is given to the reproduced sound of the music data, and the positive or negative of the detection axis z When shaken in the negative direction, a panning effect is given to the playback sound of the song data. Therefore, it is possible to express a reproduction sound with a richer musical expression than the music reproduction control device 20 of the first embodiment.

(他の実施形態)
以上、この発明の実施形態について説明したが、この発明には他にも実施形態があり得る。例えば、以下の通りである。
(1)上記第1および第2実施形態では、加速度絶対値sal,sarの波形における閾値thasを超える加速度の大きさをもったローカルピークを波形に現れる特徴である有効ピークとし、曲再生制御装置20,20AのCPU47は、加速度絶対値sal,sarの波形に有効ピークが現れたことをトリガーとして、通常再生と逆再生の間の切り換えやその再生音への音響効果の付与を行った。しかし、閾値thasを超える加速度の大きさをもったローカルピークとは異なる所定の特徴が加速度絶対値sal,sarの波形に現れたことをトリガーとして、通常再生と逆再生の間の切り換えやその再生音への音響効果の付与を行ってもよい。たとえば、ディスクジョッキーが演奏操作子10L,10Rを把持した手をある方向に振ったとき、演奏操作子10L,10Rには、その方向の力が加わる直前に逆向きの反動力が加わる。このため、演奏操作子10L,10Rの挙動がそれを把持した人の手の動きによるものであるならば、厳密には、加速度絶対値sal,sarの波形にある僅かな時間差Δtをもった2つのローカルピークが連続して発生するはずである。よって、CPU47は、加速度絶対値sal,sarの波形に閾値thback(thback<thas)を超えるローカルピークが発生し、そのローカルピークからΔtだけ遅れて閾値thasを超えるローカルピークが発生している場合に、これを波形の特徴として検出し、通常再生と逆再生の間の切り換えやその再生音への音響効果の付与を行うようにしてもよい。この態様によれば、ディスクジョッキーの手の動きによる演奏操作子10L,10Rの挙動とそうでない挙動の違いを認識し、ディスクジョッキーの意図によりマッチした音楽パフォーマンスを実現することができる。
(Other embodiments)
As mentioned above, although embodiment of this invention was described, this invention can have other embodiment. For example, it is as follows.
(1) In the first and second embodiments, a local peak having an acceleration magnitude exceeding the threshold value th as in the waveform of the acceleration absolute values sal and sar is set as an effective peak that is a feature that appears in the waveform, and music reproduction control is performed. The CPU 47 of the devices 20 and 20A uses the occurrence of an effective peak in the waveforms of the acceleration absolute values sal and sar as triggers to switch between normal reproduction and reverse reproduction and to add an acoustic effect to the reproduced sound. However, when a predetermined feature different from the local peak having the magnitude of acceleration exceeding the threshold th as appears in the waveform of the absolute acceleration values sal and sar, the switching between normal reproduction and reverse reproduction and the An acoustic effect may be imparted to the reproduced sound. For example, when the disc jockey shakes the hand holding the performance operators 10L and 10R in a certain direction, a reverse reaction force is applied to the performance operators 10L and 10R immediately before a force in that direction is applied. Therefore, if the behavior of the performance operators 10L and 10R is due to the movement of the hand of the person holding the performance operators 10L and 10R, strictly speaking, there is a slight time difference Δt 2 in the waveforms of the acceleration absolute values sal and sar. Two local peaks should occur in succession. Therefore, the CPU 47 generates a local peak exceeding the threshold th back (th back <th as ) in the waveform of the acceleration absolute values sal and sar, and generates a local peak exceeding the threshold th as with a delay of Δt from the local peak. If this is the case, this may be detected as a feature of the waveform, and switching between normal reproduction and reverse reproduction, or adding an acoustic effect to the reproduced sound. According to this aspect, it is possible to recognize the difference between the behavior of the performance operators 10L and 10R due to the movement of the disc jockey's hand and the behavior that is not, and to realize a music performance that matches the intention of the disc jockey.

(2)上記第2実施形態において、曲再生制御装置20Aは、有効ピークにおける加速度成分arが閾値tharよりも大きくなったときに、曲データの再生音にピッチシフト効果を付与し、有効ピークにおける加速度成分arが閾値tharよりも大きくなったときに、曲データの再生音にパニング効果を付与した。しかし、リバーブやディストーションなどの他の種類の音響効果を付与してもよい。 (2) In the second embodiment, the song playback control unit 20A, when the acceleration components ar y in the effective peak is larger than the threshold value th ar, pitch shifting effect imparted to the reproduced sound of the music data, the effective When the acceleration component ar z at the peak was larger than the threshold th ar , a panning effect was added to the reproduced sound of the music data. However, other types of sound effects such as reverb and distortion may be applied.

(3)上記第1および第2実施形態において、演奏操作子の数を1つにしてもよいし、3つ以上にしてもよい。演奏操作子を1つにする場合、曲再生制御装置20,20Aは、その演奏操作子に加わる加速度ベクトルを3つの検出軸x,y,z方向に分解して検出した加速度成分a,a,aを取得し、それらの3種類の加速度成分a,a,aのうちの1つ(たとえば、加速度成分a)の波形に閾値を超える大きさの正のローカルピークが出現したときに曲データを通常再生し、閾値を超える大きさの負のローカルピークが出現したときに曲データを逆再生するとよい。さらに、残りの1つまたは2つの加速度成分の波形に閾値thを超える大きさの正または負のローカルピークが出現したときにその曲データの再生音に各種音響効果を付与するとよい。また、演奏操作子を1つにする場合、曲再生制御装置20,20Aは、その演奏操作子に加わる加速度ベクトルを合成した加速度絶対値を取得し、その加速度絶対値の波形に閾値を超える大きさの正または負のローカルピークが出現するたびに、通常再生から逆再生、または、逆再生から通常再生へと曲データの再生の方向を制御するようにしてもよい。 (3) In the first and second embodiments, the number of performance operators may be one, or may be three or more. When one performance operator is used, the music reproduction control devices 20 and 20A detect acceleration components a x and a detected by decomposing acceleration vectors applied to the performance operators in the three detection axes x, y, and z directions. y 1 and a z are acquired, and a positive local peak having a magnitude exceeding the threshold is present in the waveform of one of the three types of acceleration components a x , a y , and a z (for example, acceleration component a x ). The music data may be normally reproduced when it appears, and the music data may be reversely reproduced when a negative local peak whose size exceeds a threshold value appears. Furthermore, when a positive or negative local peak having a magnitude exceeding the threshold th appears in the waveform of the remaining one or two acceleration components, various acoustic effects may be given to the reproduced sound of the song data. In addition, when the number of performance operators is one, the music reproduction control devices 20 and 20A acquire an acceleration absolute value obtained by synthesizing an acceleration vector applied to the performance operator, and the waveform of the acceleration absolute value exceeds a threshold value. Each time a positive or negative local peak appears, the direction of music data playback may be controlled from normal playback to reverse playback, or from reverse playback to normal playback.

(4)上記第1および第2実施形態において、磁気センサ、ジャイロセンサ、圧力センサ、傾斜センサ、速度センサ、振幅センサなどの加速度センサ11L,11R以外の種類のセンサを演奏操作子10L,10Rに内蔵させ、そのセンサが検出した演奏操作子の挙動を示す物理量の波形に有効ピークが出現したことをトリガーとして、通常再生と逆再生の間の切り換えやその再生音への音響効果の付与を行ってもよい。 (4) In the first and second embodiments, sensors other than the acceleration sensors 11L and 11R such as a magnetic sensor, a gyro sensor, a pressure sensor, a tilt sensor, a speed sensor, and an amplitude sensor are used as the performance operators 10L and 10R. Built-in and triggered by the appearance of an effective peak in the physical quantity waveform indicating the behavior of the performance controller detected by the sensor, switching between normal playback and reverse playback and applying an acoustic effect to the playback sound May be.

(5)上記第1および第2実施形態において、曲データ記憶メモリ41に記憶された曲データは、音楽パフォーマンスにおいて再生する曲を所定のサンプリングレートでサンプリングしたデジタル信号を時系列順に並べたデータであった。しかし、音楽パフォーマンスにおいて再生する曲の演奏内容を示すMIDI(Musical Instrument Digital Interface)イベントを時系列順に並べたMIDIデータを曲データとして再生させてもよい。 (5) In the first and second embodiments, the song data stored in the song data storage memory 41 is data in which digital signals obtained by sampling songs to be reproduced in a music performance are arranged in time series. there were. However, MIDI data in which MIDI (Musical Instrument Digital Interface) events indicating the performance of a song to be played back in a music performance are arranged in chronological order may be played back as song data.

(6)第1および第2実施形態において、無線信号送信部12L,12Rは演奏操作子10L,10Rに内蔵されていた。しかし、無線信号送信部12L,12Rを演奏操作子10L,10Rとは別の筐体に内蔵させ、その無線信号送信部12L,12Rを内蔵させた筐体をディスクジョッキーの身体に装着させるようにしてもよい。 (6) In the first and second embodiments, the radio signal transmitters 12L and 12R are built in the performance operators 10L and 10R. However, the wireless signal transmitters 12L and 12R are built in a housing separate from the performance operators 10L and 10R, and the housing containing the wireless signal transmitters 12L and 12R is attached to the body of the disc jockey. May be.

(7)上記第1および第2実施形態における演奏制御装置20,20Aの加速度取得部42、リングバッファ43、および再生制御部44と同様の機能を実現させるプログラムを、コンピュータにインストールさせ、そのコンピュータを演奏制御装置20として動作させてもよい。この場合において、たとえば、加速度センサ11L,11Rと音源を内蔵する携帯電話機に制御プログラム50をインストールさせ、携帯電話機そのものの筺体を演奏操作子として機能させるようにするとよい。 (7) A program for realizing the same functions as those of the acceleration acquisition unit 42, the ring buffer 43, and the reproduction control unit 44 of the performance control devices 20 and 20A in the first and second embodiments is installed in a computer, and the computer May be operated as the performance control device 20. In this case, for example, the control program 50 may be installed in a mobile phone incorporating the acceleration sensors 11L and 11R and the sound source so that the casing of the mobile phone itself functions as a performance operator.

(8)第2実施形態では、演奏操作子10Lを所定時間T(たとえば、3秒とする)より短い間隔で任意の方向へ振る動作を基本動作とし、この基本動作と演奏操作子10Rを振る動作の組み合わせに応じて、順方向再生処理、逆方向再生処理、ピッチシフト効果付与処理、およびパニング効果付与処理の実行の有無を決定した。しかし、演奏操作子10L,10Rのうち一方(たとえば、演奏操作子10Lとする)の操作に応じて順方向再生処理と逆方向再生処理の実行の有無を決定し、他方の操作に応じてピッチシフト効果付与処理とパニング効果付与処理の実行の有無を決定するようにしてもよい。この態様では、演奏制御装置20AのCPU47は、たとえば、以下のような処理を行う。CPU47は、静止状態になっていた演奏操作子10Lがその加速度センサ11Lの検出軸xの正の方向に振られると順方向再生処理を開始し、検出軸xの負の方向に振られると逆向再生処理を開始する。そして、CPU47は、順方向再生処理または逆方向再生処理を開始した後、演奏操作子10Lが所定時間Tより短い間隔で振られている限りその再生処理を続ける。さらに、CPU47は、順方向再生処理または逆方向再生処理を行っている間に演奏操作子10Rがその加速度センサ11Rの検出軸yの正または負の方向に振られるとピッチシフト効果付与処理を行う。また、CPU47は、順方向再生処理または逆方向再生処理を行っている間に演奏操作子10Rがその加速度センサ11Rの検出軸zの正または負の方向に振られるとパニング効果付与処理を行う。 (8) In the second embodiment, the basic operation is an operation in which the performance operator 10L is shaken in an arbitrary direction at an interval shorter than a predetermined time T (for example, 3 seconds), and the basic operation and the performance operator 10R are shaken. Whether or not to execute forward reproduction processing, backward reproduction processing, pitch shift effect application processing, and panning effect application processing is determined according to the combination of operations. However, whether or not to perform the forward reproduction process and the reverse reproduction process is determined according to the operation of one of the performance operators 10L and 10R (for example, the performance operator 10L), and the pitch is determined according to the other operation. Whether to execute the shift effect applying process and the panning effect applying process may be determined. In this aspect, the CPU 47 of the performance control device 20A performs the following processing, for example. The CPU 47 starts the forward reproduction process when the performance operator 10L that has been in a stationary state is swung in the positive direction of the detection axis x of the acceleration sensor 11L, and reverses when it is swung in the negative direction of the detection axis x. Start the playback process. Then, after starting the forward reproduction process or the reverse reproduction process, the CPU 47 continues the reproduction process as long as the performance operator 10L is swung at intervals shorter than the predetermined time T. Further, the CPU 47 performs a pitch shift effect applying process when the performance operator 10R is swung in the positive or negative direction of the detection axis y of the acceleration sensor 11R during the forward reproduction process or the reverse reproduction process. . Further, the CPU 47 performs a panning effect applying process when the performance operator 10R is swung in the positive or negative direction of the detection axis z of the acceleration sensor 11R during the forward reproduction process or the reverse reproduction process.

(9)第2実施形態では、演奏操作子10Rがその加速度センサ11Rの検出軸yの正または負の方向に振られたときの振りの大きさ(具体的には、加速度成分arの絶対値)に応じてピッチシフト効果付与処理におけるピッチのシフト量を決定した。しかし、演奏操作子10Lの振りの大きに応じてそのシフト量を決定してもよい。この態様では、演奏制御装置20AのCPU47は、たとえば、以下のような処理を行う。CPU47は、静止状態になっていた演奏操作子10Lがその加速度センサ11Lの検出軸xの正(負)の方向に振られると、そのときの加速度成分alの絶対値|al|をRAM46に記憶するとともに順方向再生処理(逆方向再生処理)を開始する。その後、CPU47は、演奏操作子10Rがその加速度センサ11Rの検出軸yの正(負)の方向に振られると、RAM46に記憶されている加速度成分alの絶対値|al|をピッチの高周波側(低周波側)へのシフト量+s(−s)に換算し、換算したシフト量+s(−s)を示すピッチシフトパラメータをピッチシフタ51に出力する。 (9) In the second embodiment, the swing of the size (specifically when the performance operators 10R is swung to the positive or negative direction of the detection axis y of the acceleration sensor 11R, the absolute acceleration component ar y The pitch shift amount in the pitch shift effect applying process is determined according to the value. However, the shift amount may be determined according to the swing of the performance operator 10L. In this aspect, the CPU 47 of the performance control device 20A performs the following processing, for example. When the performance operator 10L in a stationary state is swung in the positive (negative) direction of the detection axis x of the acceleration sensor 11L, the CPU 47 calculates the absolute value | al x | of the acceleration component al x at that time as the RAM 46 And the forward reproduction process (reverse reproduction process) is started. Thereafter, when the performance operator 10R is swung in the positive (negative) direction of the detection axis y of the acceleration sensor 11R, the CPU 47 calculates the absolute value | al x | of the acceleration component al x stored in the RAM 46 as the pitch. The pitch shift parameter indicating the shift amount + s (−s) converted to the shift amount + s (−s) toward the high frequency side (low frequency side) is output to the pitch shifter 51.

10…演奏操作子、11…加速度センサ、12…無線信号送信部、20…曲再生制御装置、30…制御部、31…操作表示部、32…無線信号受信部、33…インターフェース、41…曲データ記憶メモリ、42…加速度取得部、43…リングバッファ、44…再生制御部、45…ROM、46…RAM、47…CPU、50…制御プログラム、51…ピッチシフタ、52…乗算器、53…加算器、60…サウンドシステム、61…D/A変換器、62…アンプ、63…スピーカ。

DESCRIPTION OF SYMBOLS 10 ... Performance operator, 11 ... Acceleration sensor, 12 ... Radio signal transmission part, 20 ... Music reproduction control apparatus, 30 ... Control part, 31 ... Operation display part, 32 ... Radio signal reception part, 33 ... Interface, 41 ... Music Data storage memory 42 ... Acceleration acquisition unit 43 ... Ring buffer 44 ... Reproduction control unit 45 ... ROM 46 ... RAM 47 ... CPU 50 ... Control program 51 ... Pitch shifter 52 ... Multiplier 53 ... Addition 60 ... sound system, 61 ... D / A converter, 62 ... amplifier, 63 ... speaker.

Claims (7)

曲データを記憶する記憶手段と、
操作子の挙動を示す物理量を取得する取得手段と、
前記記憶手段に記憶された曲データを再生する手段であって、前記取得手段が取得した物理量の波形に現れる特徴に基づき、前記曲データの再生の方向を制御する再生制御手段と
を具備することを特徴とする曲再生制御装置。
Storage means for storing song data;
An acquisition means for acquiring a physical quantity indicating the behavior of the operator;
Replay control means for replaying music data stored in the storage means, and for controlling the direction of replay of the music data based on features appearing in the waveform of the physical quantity obtained by the obtaining means. A music reproduction control device characterized by the above.
前記取得手段は、前記操作子の挙動を示す複数の種類の物理量を取得し、
前記再生制御手段は、前記取得手段が取得した複数の種類の物理量のうち第1の種類の物理量の波形に所定の特徴が現れたとき、前記曲データを順方向に再生し、前記取得手段が取得した複数の種類の物理量のうち第2の種類の物理量の波形に所定の特徴が現れたとき、前記曲データを逆方向に再生することを特徴とする請求項1に記載の曲再生制御装置。
The acquisition means acquires a plurality of types of physical quantities indicating the behavior of the operation element,
The reproduction control means reproduces the music piece data in the forward direction when a predetermined characteristic appears in the waveform of the first type of physical quantity among the plurality of types of physical quantities acquired by the acquisition means, and the acquisition means 2. The music piece reproduction control device according to claim 1, wherein when a predetermined characteristic appears in a waveform of a second type of physical quantity among a plurality of obtained types of physical quantity, the music piece data is reproduced in a reverse direction. .
前記取得手段は、前記複数の種類の物理量のうち第3の種類の物理量の波形に所定の特徴が現れたとき、前記曲データの再生音に所定の音響効果を付与することを特徴とする請求項2に記載の曲再生制御装置。   The acquisition means, when a predetermined feature appears in a waveform of a third type of physical quantity among the plurality of types of physical quantity, gives a predetermined acoustic effect to the reproduced sound of the song data. Item 3. The music playback control device according to Item 2. 前記取得手段は、複数の操作子の各々に加わる加速度を前記複数の種類の物理量として取得することを特徴とする請求項1から3のいずれか1項に記載の曲再生制御装置。   4. The music reproduction control apparatus according to claim 1, wherein the acquisition unit acquires acceleration applied to each of the plurality of operators as the plurality of types of physical quantities. 5. 前記取得手段は、複数の操作子の各々に加わる加速度を互いに異なる複数の軸方向に分解した加速度成分を前記複数の種類の物理量として取得することを特徴とする請求項1から3のいずれか1項に記載の曲再生制御装置。   The acquisition unit acquires an acceleration component obtained by resolving acceleration applied to each of the plurality of operators in a plurality of different axial directions as the plurality of types of physical quantities. The music reproduction control device according to item. 前記操作子に内蔵され、当該操作子に加わる加速度を検出するセンサと、
前記センサが検出した加速度を送信する送信手段と、
請求項4または5に記載の曲再生制御装置と、
前記曲再生制御装置から曲データの再生音を示す信号を受け取り、その信号が示す音を発音する発音手段と
を有する曲再生システム。
A sensor that is built in the operator and detects acceleration applied to the operator;
Transmitting means for transmitting the acceleration detected by the sensor;
A music reproduction control device according to claim 4 or 5,
A music reproduction system comprising: a sound generation means for receiving a signal indicating a reproduction sound of music data from the music reproduction control device and generating a sound indicated by the signal.
コンピュータに、
記憶手段に記憶された曲データを再生する手段であって、操作子の挙動を示す物理量の波形に現れる特徴に基づき、前記曲データの再生の方向を制御する再生制御手段
を実現させるプログラム。


On the computer,
A program that realizes reproduction control means for reproducing the music data stored in the storage means, and for controlling the reproduction direction of the music data based on features appearing in the waveform of the physical quantity indicating the behavior of the operation element.


JP2009009377A 2009-01-19 2009-01-19 Music playback controller, music playback system, and program Withdrawn JP2010165444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009009377A JP2010165444A (en) 2009-01-19 2009-01-19 Music playback controller, music playback system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009009377A JP2010165444A (en) 2009-01-19 2009-01-19 Music playback controller, music playback system, and program

Publications (1)

Publication Number Publication Date
JP2010165444A true JP2010165444A (en) 2010-07-29

Family

ID=42581477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009009377A Withdrawn JP2010165444A (en) 2009-01-19 2009-01-19 Music playback controller, music playback system, and program

Country Status (1)

Country Link
JP (1) JP2010165444A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013101570A (en) * 2011-11-09 2013-05-23 Nintendo Co Ltd Information processing program, information processing device, information processing system, and information processing method
JP2016065903A (en) * 2014-09-22 2016-04-28 カシオ計算機株式会社 Musical sound control device, musical sound control method, program, and electronic musical instrument

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013101570A (en) * 2011-11-09 2013-05-23 Nintendo Co Ltd Information processing program, information processing device, information processing system, and information processing method
JP2016065903A (en) * 2014-09-22 2016-04-28 カシオ計算機株式会社 Musical sound control device, musical sound control method, program, and electronic musical instrument

Similar Documents

Publication Publication Date Title
JP2009168911A (en) Keyboard instrument, piano, and automatic player piano
JP2005219631A (en) Reproduction control device, its method, its program, and recording medium recording the program
JP6024077B2 (en) Signal transmitting apparatus and signal processing apparatus
JP2009251477A (en) Electronic drum
JP2011180470A (en) Sound visualizing device
JP2010165444A (en) Music playback controller, music playback system, and program
JP7367835B2 (en) Recording/playback device, control method and control program for the recording/playback device, and electronic musical instrument
JP6176372B2 (en) Musical instruments and signal processing devices
JP4107212B2 (en) Music playback device
JP4244338B2 (en) SOUND OUTPUT CONTROL DEVICE, MUSIC REPRODUCTION DEVICE, SOUND OUTPUT CONTROL METHOD, PROGRAM THEREOF, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP5375869B2 (en) Music playback device, music playback method and program
JP4158443B2 (en) Playback control device and program
JP4134624B2 (en) Playback control information creation device and program
JP2005283774A (en) Musical sound synthesizer
JP4075560B2 (en) Musical sound parameter control apparatus, method and program
JP3592373B2 (en) Karaoke equipment
JP2000214866A (en) Small-sized audio information processing device
JP3778361B2 (en) Sound source device and electronic device equipped with sound source device
JP3166670B2 (en) Karaoke device and automatic performance device
JP2011053321A (en) Mobile information device
JP2007160065A (en) Game machine
JP5648836B2 (en) Musical sound control device and program
JP2013205621A (en) Midi performance device
JP4786981B2 (en) Controller device
WO2007105534A1 (en) Game device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120403