JP6464853B2 - Audio playback apparatus and audio playback program - Google Patents

Audio playback apparatus and audio playback program Download PDF

Info

Publication number
JP6464853B2
JP6464853B2 JP2015057504A JP2015057504A JP6464853B2 JP 6464853 B2 JP6464853 B2 JP 6464853B2 JP 2015057504 A JP2015057504 A JP 2015057504A JP 2015057504 A JP2015057504 A JP 2015057504A JP 6464853 B2 JP6464853 B2 JP 6464853B2
Authority
JP
Japan
Prior art keywords
reproduction
music
unit
sound
attenuation
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.)
Expired - Fee Related
Application number
JP2015057504A
Other languages
Japanese (ja)
Other versions
JP2016177146A (en
Inventor
陽 前澤
陽 前澤
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 JP2015057504A priority Critical patent/JP6464853B2/en
Publication of JP2016177146A publication Critical patent/JP2016177146A/en
Application granted granted Critical
Publication of JP6464853B2 publication Critical patent/JP6464853B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

本発明は、音響波形を表わすオーディオデータに基づいて音楽(楽曲、伴奏など)を再生するオーディオ再生装置及びオーディオ再生プログラムに関する。   The present invention relates to an audio playback apparatus and an audio playback program for playing back music (music, accompaniment, etc.) based on audio data representing an acoustic waveform.

従来から、例えば、特許文献1に記載されているように、鍵盤演奏の練習機能を備えた電子楽器(例えば、電子ピアノ)は知られている。この電子楽器は、楽曲の演奏を表す楽曲データを記憶している。楽曲データは、所謂MIDIデータである。すなわち、楽曲データは、鍵番号及び押鍵(離鍵)強さを含むノート情報、及び押鍵(離鍵)するタイミングを表すタイミング情報を含む。楽曲データは、各演奏パートに対応した複数のトラックデータからなる。この電子楽器は複数の鍵からなる鍵盤装置と、前記複数の御鍵にそれぞれ対応して設けられた複数のガイドランプを有する。練習モードにおいて、ユーザが主旋律パートを演奏すると、この電子楽器の制御部(音源回路)は、前記楽曲データを構成する伴奏パートのトラックデータに基づいて、伴奏パートの演奏を再生する。さらに、前記制御部は、前記楽曲データを構成する主旋律パートのトラックデータに基づいて、各タイミングにおいて、ユーザが押鍵すべき鍵に対応したガイドランプを発光させる。発光したガイドランプに対応する鍵が押されない場合、前記制御部は、前記楽曲データの再生を一時停止する。これにより、伴奏パートの演奏が一時停止する。そして、ユーザが前記発光したガイドランプに対応する鍵を押すと、前記制御部は、前記楽曲データの再生を再開する。   2. Description of the Related Art Conventionally, as described in Patent Document 1, for example, an electronic musical instrument (for example, an electronic piano) having a keyboard performance practice function is known. This electronic musical instrument stores music data representing the performance of music. The music data is so-called MIDI data. In other words, the music data includes note information including the key number and key pressing (key release) strength, and timing information indicating the timing of key pressing (key release). The music data is composed of a plurality of track data corresponding to each performance part. This electronic musical instrument has a keyboard device composed of a plurality of keys and a plurality of guide lamps provided corresponding to the plurality of keys. In the practice mode, when the user plays the main melody part, the control unit (sound source circuit) of the electronic musical instrument reproduces the performance of the accompaniment part based on the track data of the accompaniment part constituting the music data. Further, the control unit emits a guide lamp corresponding to a key to be depressed by the user at each timing based on the track data of the main melody part constituting the music data. When the key corresponding to the emitted guide lamp is not pressed, the control unit pauses the reproduction of the music data. Thereby, the performance of the accompaniment part is paused. When the user presses the key corresponding to the emitted guide lamp, the control unit resumes the reproduction of the music data.

また、従来から、例えば、特許文献2及び3に記載されているように、演奏者による主旋律パートの演奏進行度に同期して、伴奏パートの演奏を再生する電子楽器は知られている。この電子楽器の制御部は、伴奏パートの演奏を表す伴奏データに基づいて、伴奏パートの演奏を再生する。伴奏データは、所謂オーディオデータである。つまり、伴奏データは、楽器(例えば、ドラム、ベース、ギターなど)を演奏して発せられた音(フレーズ)を所定のサンプリング周期でサンプリングして得られた複数のサンプル値から構成されている。前記制御部は、前記サンプル値を順次読み出して、音響信号に変換することにより、伴奏パートの演奏を再生する。   Conventionally, as described in Patent Documents 2 and 3, for example, electronic musical instruments that reproduce the performance of the accompaniment part in synchronization with the performance progress of the main melody part by the performer are known. The control unit of the electronic musical instrument reproduces the performance of the accompaniment part based on the accompaniment data representing the performance of the accompaniment part. Accompaniment data is so-called audio data. That is, the accompaniment data is composed of a plurality of sample values obtained by sampling a sound (phrase) generated by playing a musical instrument (for example, drum, bass, guitar, etc.) at a predetermined sampling period. The controller reproduces the performance of the accompaniment part by sequentially reading out the sample values and converting them into acoustic signals.

さらに、この電子楽器は、前記主旋律パートの楽譜に相当する主旋律データを有している。主旋律データは、所謂MIDIデータである。主旋律データは、複数のノートデータからなる。ノートデータは、押鍵(離鍵)する鍵の番号を表す鍵番号及び押鍵(離鍵)するタイミングを表すタイミング情報を含む。主旋律データが表す主旋律パートのテンポは、伴奏パートのテンポに一致している。前記制御部は、主旋律データと伴奏データを同時に再生する。具体的には、前記制御部は、前記所定のサンプリング周期で前記サンプル値を順次読み出して、音響信号に変換するとともに、前記タイミング情報に基づいてノート情報を順次選択する。そして、前記制御部は、前記選択したノート情報に対応する鍵が所定の時間内に押されない(離されない)場合、伴奏データの一部の区間を繰り返し再生する。このようにして、前記制御部は、主旋律パートの演奏進行度と、伴奏パートの演奏進行度を同期させる。   Further, the electronic musical instrument has main melody data corresponding to the score of the main melody part. The main melody data is so-called MIDI data. The main melody data consists of a plurality of note data. The note data includes a key number indicating the key number to be pressed (released) and timing information indicating the timing to press (release key). The tempo of the main melody part represented by the main melody data matches the tempo of the accompaniment part. The controller reproduces main melody data and accompaniment data simultaneously. Specifically, the control unit sequentially reads the sample values at the predetermined sampling period, converts the sample values into acoustic signals, and sequentially selects note information based on the timing information. When the key corresponding to the selected note information is not pressed (released) within a predetermined time, the control unit repeatedly reproduces a part of the accompaniment data. In this way, the control unit synchronizes the performance progress of the main melody part and the performance progress of the accompaniment part.

また、音響波形を表すオーディオデータに基づいて音楽(楽曲)を再生するオーディオ再生装置(例えば、CDプレーヤ)は知られている。従来のオーディオ再生装置においては、音楽の再生を一時停止させることができる。   An audio playback device (for example, a CD player) that plays back music (music) based on audio data representing an acoustic waveform is known. In the conventional audio playback apparatus, music playback can be paused.

特開2004−101979号公報JP 2004-101979 A 特開2013−47713号公報JP 2013-47713 A 特開2012−220593号公報JP 2012-220593 A

複数の演奏者がアコースティック楽器を演奏する場合、各演奏者は他の演奏者の演奏を聴きながら自分の演奏の進行度(又はテンポ)を調整する。例えば、楽曲の演奏を練習する際、一人の演奏者が演奏途中で一時的に演奏を停止した場合、他の演奏者も一時的に演奏を停止し、一時停止した演奏進行位置(例えば、一時停止した小節の冒頭)から練習を再開することがある。この場合、例えば打楽器の演奏者が前記打楽器を打奏した直後にその演奏を一時停止したとしても、演奏者が前記打楽器の打面の振動を意図的に静止(チョーク奏法)させない限り、打奏音は、減衰してその音量が「0」になるまで発せられ続ける。   When a plurality of performers play an acoustic instrument, each performer adjusts the progress (or tempo) of his / her performance while listening to the performances of other performers. For example, when practicing the performance of a song, if one player temporarily stops playing during the performance, the other performers also stop playing temporarily, and the paused performance progress position (for example, temporary The practice may be resumed from the beginning of the stopped measure. In this case, for example, even if the percussion instrument player pauses the performance immediately after playing the percussion instrument, unless the performer intentionally stops the percussion instrument's percussion vibration (choke performance), The sound continues to be emitted until it decays and its volume is “0”.

特許文献1の電子楽器の制御部は、発光させたガイドランプに対応する鍵が押されない場合、前記楽曲データの再生を一時停止する。ここで、1つのノート情報が音源回路に供給されることにより楽音の発生が開始され、その直後に前記楽曲データの再生が一時停止されたという状況を想定する。前記楽音が所定の減衰速度で減衰するように設定されていれば、制御部(音源回路)は、前記楽音をすぐに消音するのではなく、前記所定の減衰速度で減衰させる。したがって、この場合、アコースティック楽器(減衰音を発する楽器)の演奏を一時停止した際の音の発生態様を模擬できる。   The control unit of the electronic musical instrument of Patent Document 1 pauses the reproduction of the music data when the key corresponding to the lighted guide lamp is not pressed. Here, a situation is assumed in which the generation of a musical sound is started by supplying one note information to the sound source circuit, and the reproduction of the music data is paused immediately after that. If the musical sound is set to attenuate at a predetermined attenuation rate, the control unit (sound source circuit) does not immediately mute the musical sound but attenuates it at the predetermined attenuation rate. Therefore, in this case, it is possible to simulate the sound generation mode when the performance of an acoustic instrument (a musical instrument that emits a decaying sound) is paused.

これに対し、特許文献2及び3の電子楽器の制御部は、主旋律の演奏が一時停止されたとしても、伴奏データの再生を一時停止させるのではなく、伴奏データのうちの一部の区間を繰り返し再生する。つまり、演奏者が主旋律の演奏を一時停止したとしても、伴奏音は減衰することなく発生され続ける。伴奏データのうちの一部の区間が繰り返されることにより発生される音は、アコースティック楽器では発生され得ない音であることが多い。そのため、演奏者は、伴奏音の発生態様が不自然であると感じることがある。   On the other hand, even if the performance of the main melody is paused, the control unit of the electronic musical instruments of Patent Documents 2 and 3 does not pause the reproduction of the accompaniment data, but does not suspend a part of the accompaniment data. Play repeatedly. That is, even if the performer pauses the performance of the main melody, the accompaniment sound continues to be generated without being attenuated. In many cases, the sound generated by repeating a part of the accompaniment data is a sound that cannot be generated by an acoustic instrument. Therefore, the performer may feel that the accompaniment sound is generated in an unnatural manner.

また、上記従来のオーディオ再生装置では、音が減衰している途中(例えば、打楽器を打奏して発せられた音のアタック部分を経過した後の区間であって、音量が徐々に小さくなっていく区間)でその再生を一時停止したとき、図6Bに破線で示すように、一時停止を指示した瞬間に音量が「0」になる。そして、音楽の再生を再開したとき、前記一時停止した箇所から音楽が再生される。つまり、同図に示すように、前記音が少し減衰した部分から再生される。このように、上記従来のオーディオ再生装置において音楽の再生を一時停止したとき及び音楽の再生を再開したときの音の発生態様は、アコースティック楽器(減衰音を発する楽器)の演奏を一時停止したとき及びその演奏を再開したときの音の発生態様とは異なる。したがって、演奏者は、上記従来のオーディオ再生装置による音楽の再生の一時停止時及び再開時の音の発生態様が不自然であると感じることがある。   Further, in the above-described conventional audio reproduction apparatus, the sound volume is gradually reduced in the section where the sound is being attenuated (for example, the section after the attack portion of the sound emitted by percussion is performed). When the playback is paused in (interval), the volume becomes “0” at the moment when the pause is instructed, as indicated by a broken line in FIG. 6B. When the music reproduction is resumed, the music is reproduced from the paused position. That is, as shown in the figure, the sound is reproduced from a portion where the sound is slightly attenuated. As described above, when music playback is paused and when music playback is resumed in the above-described conventional audio playback device, the sound generation mode is when the performance of an acoustic instrument (a musical instrument that emits attenuated sound) is paused. And the sound generation mode when the performance is resumed. Therefore, the performer may feel that the sound generation mode at the time of pause and restart of music playback by the conventional audio playback device is unnatural.

本発明は上記問題に対処するためになされたもので、その目的は、音楽の再生を一時停止したときの音の発生態様が自然に感じられるオーディオ再生装置を提供することにある。なお、下記本発明の各構成要件の記載においては、本発明の理解を容易にするために、実施形態の対応箇所の符号を括弧内に記載しているが、本発明の各構成要件は、実施形態の符号によって示された対応箇所の構成に限定解釈されるべきものではない。   The present invention has been made to address the above-described problems, and an object of the present invention is to provide an audio playback apparatus that can naturally feel the sound generation mode when music playback is paused. In addition, in the description of each constituent element of the present invention below, in order to facilitate understanding of the present invention, reference numerals of corresponding portions of the embodiment are described in parentheses, but each constituent element of the present invention is The present invention should not be construed as being limited to the configurations of the corresponding portions indicated by the reference numerals of the embodiments.

上記目的を達成するために、本発明の特徴は、音楽の音響波形を表すオーディオ信号に基づいて音楽を再生する再生手段であって、前記オーディオ信号のいずれかのタイミングにおいて前記オーディオ信号に基づく音楽の再生を一時停止可能な再生手段(RD、WF、TR、SG、SW、IT、SY、16、17)と、前記音楽の一時停止タイミング以前の区間における周波数特性の変化に基づいて、前記オーディオ信号の各周波数成分の減衰特性を推定する推定手段(ES)と、を備え、前記再生手段は、前記減衰特性に基づいて、前記一時停止タイミングより後の区間において前記各周波数成分が減衰していく様子を表す減衰音を再生する減衰音再生手段(DG、SW、IT、SY、16、17)を備えたオーディオ再生装置(10)としたことにある。なお、再生手段は、所定のトリガ条件が満たされたとき、音楽の再生を一時的に停止するとよい。例えば、ユーザのマニュアル演奏に同期して伴奏パターンを再生する装置において、前記マニュアル演奏が一時的に停止されているとき、再生手段は音楽の再生を一時的に停止するとよい。また、例えば、オーディオ信号が再生手段に逐次供給される装置において、オーディオ信号の供給が一時的に滞っているとき、再生手段は音楽の再生を一時的に停止するとよい。   In order to achieve the above object, a feature of the present invention is reproduction means for reproducing music based on an audio signal representing an acoustic waveform of music, wherein the music based on the audio signal is at any timing of the audio signal. Based on the change in the frequency characteristics in the section before the music pause timing and the playback means (RD, WF, TR, SG, SW, IT, SY, 16, 17) Estimating means (ES) for estimating the attenuation characteristic of each frequency component of the signal, and the reproducing means attenuates each frequency component in an interval after the pause timing based on the attenuation characteristic. An audio reproduction device (10) provided with attenuation sound reproduction means (DG, SW, IT, SY, 16, 17) for reproducing the attenuation sound representing the state of going; It lies in the fact was. Note that the playback means may temporarily stop the music playback when a predetermined trigger condition is satisfied. For example, in an apparatus for reproducing an accompaniment pattern in synchronization with a user's manual performance, when the manual performance is temporarily stopped, the playback means may temporarily stop the music playback. Also, for example, in an apparatus in which audio signals are sequentially supplied to the playback means, the playback means may temporarily stop playing music when the supply of audio signals is temporarily stagnant.

上記のように構成したオーディオ再生装置は、音楽の再生の一時停止期間中において、前記一時停止した箇所の直前に発音開始した音を減衰させる。これにより、アコースティック楽器(減衰音を発する楽器)の演奏を一時停止した際の音の発生態様を模擬できる。   The audio playback apparatus configured as described above attenuates the sound that has started to be sounded immediately before the paused portion during the pause of music playback. As a result, it is possible to simulate the sound generation mode when the performance of the acoustic instrument (the instrument that emits the attenuated sound) is paused.

また、本発明の他の特徴は、前記再生手段は、前記一時停止を解除して前記音楽の再生を再開するとき、前記減衰特性、及び前記減衰音の長さに応じて、前記オーディオ信号における前記一時停止タイミングより後の区間を修正する修正手段(SG)を有することにある。   Another feature of the present invention is that, when the playback unit releases the pause and restarts the playback of the music, the playback unit determines whether or not the audio signal corresponds to the attenuation characteristic and the length of the attenuated sound. The present invention has a correction means (SG) for correcting a section after the pause timing.

これによれば、一時停止期間中に発生された減衰成分が、前記音楽の再生を再開した際にもう一度再生されてしまうことを防止できる。したがって、再生再開時の音の発生態様が自然に感じられる。なお、一時停止期間が比較的長く、前記一時停止した箇所の直前に発音開始した楽音が完全に減衰した場合には、前記音楽の再生を再開する際、前記オーディオデータのうち、前記音楽の再生を一時停止した箇所の直後の区間に相当する部分から、前記一時停止した箇所の直前の区間において発音開始した楽音の減衰成分が削除される。   According to this, it is possible to prevent the attenuation component generated during the pause period from being reproduced again when the music reproduction is resumed. Therefore, the sound generation mode at the time of resuming reproduction can be felt naturally. In the case where the pause period is relatively long and the musical sound that has started to sound immediately before the paused position is completely attenuated, when the music playback is resumed, the music playback of the audio data is resumed. The decay component of the musical tone that starts sounding in the section immediately before the paused position is deleted from the portion corresponding to the section immediately after the paused position.

また、本発明の他の特徴は、前記再生制御手段は、前記減衰特性の推定誤差に基づいて、前記一時停止タイミングを決定する決定手段(CT)を有することにある。   Another feature of the present invention resides in that the reproduction control means has a determination means (CT) for determining the temporary stop timing based on the estimation error of the attenuation characteristic.

これによれば、一時停止位置に適した再生進行位置が検出されるまで、一時停止の開始を延期させることができる。すなわち、例えば、音の立ち上がり部分(アタック)のように、各周波数成分が激しく変動していて、減衰速度を決定し難い部分(誤差が大きい部分)にて一時停止を開始することを防止できる。   According to this, the start of the pause can be postponed until the reproduction progress position suitable for the pause position is detected. That is, for example, it is possible to prevent a pause from being started at a portion where the frequency component is fluctuating violently and where it is difficult to determine an attenuation rate (a portion where the error is large), such as a sound rising portion (attack).

なお、本発明は、オーディオ再生装置としての実施に限られず、オーディオ再生装置が備えるコンピュータに適用されるコンピュータプログラム(オーディオ再生プログラム)としても実施可能である。   Note that the present invention is not limited to implementation as an audio playback device, but can also be implemented as a computer program (audio playback program) applied to a computer provided in the audio playback device.

本発明の一実施形態に係るオーディオ再生装置が適用された電子楽器の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an electronic musical instrument to which an audio playback device according to an embodiment of the present invention is applied. コンピュータ部がオーディオ再生装置として機能した状態を示すブロック図である。It is a block diagram which shows the state from which the computer part functioned as an audio reproduction apparatus. オーディオデータから切り出されたフレームに対して実行される窓掛け処理を示す概念図である。It is a conceptual diagram which shows the windowing process performed with respect to the frame cut out from audio data. 各フレームの振幅特性を表すグラフである。It is a graph showing the amplitude characteristic of each frame. オーディオデータの1つの周波数ビンに関する振幅の変動と、その変動を最も尤もらしく表す近似曲線を示すグラフである。It is a graph which shows the fluctuation | variation of the amplitude regarding one frequency bin of audio data, and the approximate curve which represents the fluctuation | variation most likely. オーディオデータの1つの周波数ビンに関する振幅の変動を示すグラフである。It is a graph which shows the fluctuation | variation of the amplitude regarding one frequency bin of audio data. 再生信号の1つの周波数ビンに関する振幅の変動を示すグラフである。It is a graph which shows the fluctuation | variation of the amplitude regarding one frequency bin of a reproduction | regeneration signal.

本発明の一実施形態に係るオーディオ再生装置が適用された電子楽器10について説明する。まず、電子楽器10の概略について説明する。電子楽器10は、複数種類の楽曲にそれぞれ対応した複数の楽曲データを記憶している。楽曲データは、楽曲の主旋律パートの楽譜に相当する主旋律データと、伴奏パートの演奏音の音響波形を表す伴奏データからなる。主旋律データは、所謂MIDIデータである。つまり、主旋律データは、複数のノートデータからなる。ノートデータは、押鍵(離鍵)する鍵の番号を表す鍵番号及び押鍵(離鍵)するタイミングを表すタイミング情報を含む。伴奏データは、所謂オーディオデータである。つまり、各伴奏データは、伴奏パートの楽器(例えば、ドラム、ベース及びギター)を演奏して発せられた音を所定のサンプリング周期(例えば、1/44100秒)でサンプリングして得られた複数のサンプル値からなる。なお、前記演奏において、複数の楽音が同時に発音されていても良い。主旋律データが表す主旋律パートのテンポは、伴奏パートのテンポに一致している。なお、伴奏データは本発明のオーディオ信号に相当する。   An electronic musical instrument 10 to which an audio playback device according to an embodiment of the present invention is applied will be described. First, an outline of the electronic musical instrument 10 will be described. The electronic musical instrument 10 stores a plurality of music data corresponding to a plurality of types of music. The music data is composed of main melody data corresponding to the score of the main melody part of music and accompaniment data representing the acoustic waveform of the performance sound of the accompaniment part. The main melody data is so-called MIDI data. That is, the main melody data is composed of a plurality of note data. The note data includes a key number indicating the key number to be pressed (released) and timing information indicating the timing to press (release key). Accompaniment data is so-called audio data. In other words, each accompaniment data is obtained by sampling a sound generated by playing an instrument of an accompaniment part (for example, drum, bass and guitar) at a predetermined sampling period (for example, 1/444100 seconds). Consists of sample values. In the performance, a plurality of musical sounds may be pronounced simultaneously. The tempo of the main melody part represented by the main melody data matches the tempo of the accompaniment part. The accompaniment data corresponds to the audio signal of the present invention.

電子楽器10は、演奏操作子(例えば鍵盤装置)及び設定操作子を備える。ユーザは、設定操作子を操作して、楽曲データを1つ選択し、伴奏パートの再生を開始させるとともに、鍵盤装置を操作して、主旋律パートを演奏(手動演奏)する。電子楽器10は、前記タイミング情報を参照して、主旋律データを構成するノートデータのうち、現在のタイミング(演奏進行度)に対応するノートデータを選択する。そして、電子楽器10は、前記選択したノートデータの鍵番号に対応する鍵が所定の時間内(例えば、1秒以内)に押されない(離されない)場合、ユーザによる手動演奏が一時停止されたと判定し、伴奏パートの再生を一時停止する。その際、電子楽器10は、すぐに伴奏パートの音量を「0」にするのではなく、伴奏パートの楽音が減衰していく様子を再現する。具体的には、電子楽器10は、伴奏データのうちの前記一時停止した箇所の直前の区間(複数のフレーム)を構成する複数のサンプル値に基づいて、伴奏パートの楽音が減衰していく様子を表す減衰成分を推定し、前記推定した減衰成分を再生する。   The electronic musical instrument 10 includes a performance operator (for example, a keyboard device) and a setting operator. The user operates the setting operator to select one piece of music data, starts playing the accompaniment part, and operates the keyboard device to perform the main melody part (manual performance). The electronic musical instrument 10 refers to the timing information, and selects note data corresponding to the current timing (performance progress) from the note data constituting the main melody data. If the key corresponding to the key number of the selected note data is not pressed (not released) within a predetermined time (for example, within one second), the electronic musical instrument 10 determines that the manual performance by the user has been paused. Then, playback of the accompaniment part is paused. At this time, the electronic musical instrument 10 does not immediately set the volume of the accompaniment part to “0”, but reproduces a state in which the musical sound of the accompaniment part is attenuated. Specifically, the electronic musical instrument 10 attenuates the musical sound of the accompaniment part based on a plurality of sample values constituting a section (a plurality of frames) immediately before the paused portion of the accompaniment data. Is estimated, and the estimated attenuation component is reproduced.

また、電子楽器10は、ユーザによる手動演奏が再開されたことを検出して、前記一時停止した箇所から伴奏パートの演奏の再生を再開する。その際、伴奏データをそのまま用いて伴奏パートの演奏の再生を再開した場合には、図6Bに破線で示すように、前記一時停止した箇所の直前に発音開始した楽音の途中(減衰成分の途中)から再生されてしまう。電子楽器10は、伴奏パートの演奏の再生を一時停止したとき、減衰成分を推定して再生するので、伴奏データをそのまま用いて伴奏パートの再生を再開した場合には、演奏者(又は聴取者)は、減衰成分が2度再生されたように感じる。そこで、電子楽器10は、減衰成分が2度再生されないように、伴奏データのうち、前記一時停止した箇所の直後の区間のデータを修正する。言い換えれば、電子楽器10は、伴奏パートの再生を再開する際、伴奏データのうち、伴奏パートの再生を一時停止した箇所の直後の区間に相当する部分を、前記一時停止した箇所の直前の区間において発音開始した楽音が前記一時停止期間中に減衰した状態を表すように修正する。そして、電子楽器10は、前記修正した伴奏データに基づいて伴奏パートの再生を再開する。   Further, the electronic musical instrument 10 detects that the manual performance by the user has been resumed, and resumes the reproduction of the performance of the accompaniment part from the paused position. At that time, when the accompaniment part performance is resumed using the accompaniment data as it is, as shown by the broken line in FIG. ) Will be played. When the electronic musical instrument 10 pauses the reproduction of the performance of the accompaniment part, the attenuation component is estimated and reproduced. Therefore, when the reproduction of the accompaniment part is resumed using the accompaniment data as it is, the player (or listener) ) Feels that the attenuation component has been reproduced twice. Therefore, the electronic musical instrument 10 corrects the data in the section immediately after the paused portion of the accompaniment data so that the attenuation component is not reproduced twice. In other words, when the electronic musical instrument 10 resumes the playback of the accompaniment part, the section corresponding to the section immediately after the position where the playback of the accompaniment part is paused in the accompaniment data is the section immediately before the paused position. The musical tone that has started to be sounded is corrected so as to represent a state in which the musical sound has attenuated during the pause period. Then, the electronic musical instrument 10 resumes the reproduction of the accompaniment part based on the modified accompaniment data.

つぎに、電子楽器10の具体的構成について説明する。電子楽器10は、図1に示すように、入力操作子11、コンピュータ部12、表示器13、記憶装置14、外部インターフェース回路15、及び音源回路16を備えており、これらがバスBUSを介して接続されている。また、音源回路16には、波形メモリWM及びサウンドシステム17が接続されている。   Next, a specific configuration of the electronic musical instrument 10 will be described. As shown in FIG. 1, the electronic musical instrument 10 includes an input operator 11, a computer unit 12, a display 13, a storage device 14, an external interface circuit 15, and a sound source circuit 16, which are connected via a bus BUS. It is connected. A waveform memory WM and a sound system 17 are connected to the sound source circuit 16.

入力操作子11は、設定操作子及び演奏操作子を含む。設定操作子は、オン・オフ操作に対応したスイッチ、回転操作に対応したボリューム又はロータリーエンコーダ、スライド操作に対応したボリューム又はリニアエンコーダ、マウス、タッチパネルなどから構成される。これらの設定操作子は、例えば、楽曲データを選択する際に用いられる。演奏操作子は、鍵盤装置、ペダル装置などから構成される。演奏者が入力操作子11を操作すると、その操作内容を表す操作情報がバスBUSを介して、次に説明するコンピュータ部12に供給される。   The input operator 11 includes a setting operator and a performance operator. The setting operator includes a switch corresponding to an on / off operation, a volume or rotary encoder corresponding to a rotation operation, a volume or linear encoder corresponding to a slide operation, a mouse, a touch panel, and the like. These setting operators are used, for example, when selecting music data. The performance operator includes a keyboard device, a pedal device, and the like. When the performer operates the input operator 11, operation information indicating the operation content is supplied to the computer unit 12 described below via the bus BUS.

コンピュータ部12は、バスBUSにそれぞれ接続されたCPU12a、ROM12b、RAM12c及びタイマー12dを有する。CPU12aは、各種プログラムをROM12bから読み出して実行する。例えば、CPU12aは、演奏者によって押された鍵に関するノート情報(鍵番号、押鍵強さなど)を、後述する音源回路16に供給して楽音を発生させる手動演奏プログラムを実行する。また、CPU12aは、伴奏パートを再生する伴奏再生プログラムを実行する。CPU12aが伴奏再生プログラムを実行することにより、電子楽器10がオーディオ再生装置として機能する。伴奏パートの再生シーケンスについては後述する。ROM12bには、前記各種プログラムに加えて、初期設定パラメータ、表示器13に表示される画像を表わす表示データを生成するための図形データ、文字データなどが記憶されている。RAM12cには、各種プログラムの実行時に、各種データが一時的に記憶される。タイマー12dは、時間を計測するカウンタ回路を備える。タイマー12dは、例えば、音源回路16にノート情報を供給するタイミング、伴奏データを構成するサンプル値を読み出すタイミングなどを決定する際に用いられる。   The computer unit 12 includes a CPU 12a, a ROM 12b, a RAM 12c, and a timer 12d connected to the bus BUS. The CPU 12a reads various programs from the ROM 12b and executes them. For example, the CPU 12a executes a manual performance program that supplies note information (key number, key pressing strength, etc.) relating to a key pressed by the performer to a tone generator circuit 16 described later to generate a musical sound. Further, the CPU 12a executes an accompaniment reproduction program for reproducing the accompaniment part. When the CPU 12a executes the accompaniment playback program, the electronic musical instrument 10 functions as an audio playback device. The accompaniment part playback sequence will be described later. In addition to the various programs, the ROM 12b stores initial setting parameters, graphic data for generating display data representing an image displayed on the display 13, character data, and the like. Various data are temporarily stored in the RAM 12c when various programs are executed. The timer 12d includes a counter circuit that measures time. The timer 12d is used, for example, when determining the timing for supplying note information to the tone generator circuit 16, the timing for reading the sample values constituting the accompaniment data, and the like.

表示器13は、液晶ディスプレイ(LCD)によって構成される。コンピュータ部12は、図形データ、文字データなどを用いて表示すべき内容を表わす表示データを生成して表示器13に供給する。表示器13は、コンピュータ部12から供給された表示データに基づいて画像を表示する。例えば、現在選択されている楽曲データの名称が表示される。   The display 13 is configured by a liquid crystal display (LCD). The computer unit 12 generates display data representing contents to be displayed using graphic data, character data, and the like, and supplies the display data to the display unit 13. The display device 13 displays an image based on the display data supplied from the computer unit 12. For example, the name of the currently selected music data is displayed.

また、記憶装置14は、HDD、CD、DVDなどの大容量の不揮発性記録媒体と、各記録媒体に対応するドライブユニットから構成されている。上記の伴奏データは、記憶装置14に記憶されている。   The storage device 14 includes a large-capacity nonvolatile recording medium such as an HDD, a CD, and a DVD, and a drive unit corresponding to each recording medium. The accompaniment data is stored in the storage device 14.

外部インターフェース回路15は、電子楽器10を他の電子楽器、パーソナルコンピュータなどの外部機器に接続可能とする接続端子を備えている。電子楽器10は、外部インターフェース回路15を介して、LAN(Local Area Network)、インターネットなどの通信ネットワークにも接続可能である。   The external interface circuit 15 includes a connection terminal that allows the electronic musical instrument 10 to be connected to an external device such as another electronic musical instrument or a personal computer. The electronic musical instrument 10 can be connected to a communication network such as a LAN (Local Area Network) or the Internet via the external interface circuit 15.

波形メモリWMには、ピアノ、オルガン、バイオリン、トランペットなどの楽音の音響波形をそれぞれ表す複数の音色波形データが記憶されている。音源回路16は、CPU12aから指定された音色波形データを波形メモリWMから読み出して、前記読み出した音色波形データを用いてノート情報に対応する楽音の音響波形を表す音響波形データを生成し、サウンドシステム17に供給する。また、音源回路16は、CPU12aから音響波形データを取得し、前記ノート情報に対応する音響波形データと重畳加算してサウンドシステム17に供給するミキシング回路を備えている。   The waveform memory WM stores a plurality of timbre waveform data representing the acoustic waveforms of musical sounds such as piano, organ, violin, trumpet and the like. The tone generator circuit 16 reads the timbre waveform data designated by the CPU 12a from the waveform memory WM, generates acoustic waveform data representing the acoustic waveform of the musical sound corresponding to the note information using the read timbre waveform data, and generates a sound system. 17 is supplied. The sound source circuit 16 includes a mixing circuit that acquires acoustic waveform data from the CPU 12a, and superimposes and adds the acoustic waveform data corresponding to the note information to the sound system 17.

サウンドシステム17は、ディジタル音信号をアナログ音信号に変換するD/A変換器、前記変換したアナログ音信号を増幅するアンプ、及び増幅されたアナログ音信号を音響信号に変換して出力する左右一対のスピーカを備えている。なお、サウンドシステム17は、各種楽音にリバーブ、コーラスなどの効果を付与する効果回路を含んでもよい。   The sound system 17 includes a D / A converter that converts a digital sound signal into an analog sound signal, an amplifier that amplifies the converted analog sound signal, and a left and right pair that converts the amplified analog sound signal into an acoustic signal and outputs the sound signal. The speaker is provided. Note that the sound system 17 may include an effect circuit that imparts effects such as reverb and chorus to various musical sounds.

つぎに、上記のように構成された電子楽器10による伴奏パートの再生シーケンスについて説明する。とくに、伴奏パートの再生を一時停止させる際のコンピュータ部12の動作、及び前記一時停止を解除して伴奏パートの再生を再開する際のコンピュータ部12の動作について説明する。CPU12aが伴奏再生プログラムを実行することにより、図2に示すように、コンピュータ部12は、読み出し部RD、窓掛け部WF、変換部TR、バッファ部BF、推定部ES、減衰信号生成部DG、再生信号生成部SG、切り替え部SW、逆変換部IT、再合成部SY及び再生制御部CTを含む伴奏再生装置(オーディオ再生装置)として機能する。   Next, an accompaniment part playback sequence by the electronic musical instrument 10 configured as described above will be described. In particular, the operation of the computer unit 12 when pausing reproduction of the accompaniment part and the operation of the computer unit 12 when releasing the pause and restarting reproduction of the accompaniment part will be described. When the CPU 12a executes the accompaniment playback program, as shown in FIG. 2, the computer unit 12 has a reading unit RD, a windowing unit WF, a conversion unit TR, a buffer unit BF, an estimation unit ES, an attenuation signal generation unit DG, It functions as an accompaniment playback device (audio playback device) including a playback signal generation unit SG, a switching unit SW, an inverse conversion unit IT, a resynthesis unit SY, and a playback control unit CT.

読み出し部RDは、伴奏データを構成するサンプル値を記憶装置14から順次読み出して、窓掛け部WFに供給する。ただし、読み出し部RDは、後述する再生制御部CTから一時停止信号psが供給されると、サンプル値の読み出し処理及び供給処理を一時停止する。これにより、伴奏パートの再生が一時停止する。また、読み出し部RDは、再生制御部CTから再生開始信号ssが供給されると、サンプル値の読み出し処理及び供給処理を再開する。   The reading unit RD sequentially reads sample values constituting the accompaniment data from the storage device 14 and supplies them to the windowing unit WF. However, the reading unit RD temporarily stops the sample value reading process and the supply process when a pause signal ps is supplied from a reproduction control unit CT described later. Thereby, the reproduction of the accompaniment part is paused. In addition, when the reproduction start signal ss is supplied from the reproduction control unit CT, the reading unit RD restarts the sample value reading process and the supply process.

窓掛け部WFは、読み出し部RDから供給されたサンプル値を、それらの供給順に記憶する。窓掛け部WFは、所定数(例えば、512個)のサンプル値が供給されるごとに、直近の所定数(例えば、2048個)のサンプル値を選択する。つまり、窓掛け部WFは、図3に示すように、伴奏データの一部を切り出す。以下、前記切り出された部分をフレームFRと呼ぶ。以下、各フレームを区別して説明する必要があるときは、フレーム番号t(=1,2,・・・)を用いて、「フレームFR」と記載する。フレーム番号tは、伴奏の再生進行位置に相当する。フレームFRの切り出し位置は、順次後方(伴奏データの末尾側)へシフトする。以下、フレームFRの切り出し位置をシフトする周期をフレーム周期と呼ぶ。フレームFRt=nの先頭側の部分(例えば、フレームFRt=nの4分の3に相当する部分)は、その1つ前のフレームFRt=n−1の末尾側の部分(例えば、フレームFRt=n−1の4分の3に相当する部分)と重なっている。窓掛け部WFは、フレームFRを切り出すごとに、前記切り出したフレームFRに窓掛け処理を実行(窓関数(例えば、ハニング窓)を適用)し、その演算結果を変換部TRへ供給する。なお、フレーム周期及び1つのフレームの長さ(つまり、フレームを構成するサンプル数)は、上記の例に限られない。 The windowing unit WF stores the sample values supplied from the reading unit RD in the order of supply. Each time a predetermined number (for example, 512) of sample values is supplied, the windowing unit WF selects the latest predetermined number (for example, 2048) of sample values. That is, the windowing unit WF cuts out part of the accompaniment data as shown in FIG. Hereinafter, the cut out portion is referred to as a frame FR. Hereinafter, when it is necessary to distinguish and explain each frame, the frame number t (= 1, 2,...) Is used and described as “frame FR t ”. The frame number t corresponds to the accompaniment playback progress position. The cut-out position of the frame FR is sequentially shifted backward (end side of accompaniment data). Hereinafter, the period for shifting the cutout position of the frame FR is referred to as a frame period. Frame FR t = n top-side portion (e.g., a portion corresponding to 3/4 of the frame FR t = n), the previous frame FR t = n-1 at the end side portion thereof (e.g., And a portion corresponding to three quarters of the frame FR t = n−1 ). Each time the windowing unit WF cuts out the frame FR, it performs a windowing process on the cutout frame FR (applies a window function (for example, Hanning window)) and supplies the calculation result to the conversion unit TR. Note that the frame period and the length of one frame (that is, the number of samples constituting the frame) are not limited to the above example.

変換部TRは、窓掛け部WFから供給されたフレームFRをフーリエ変換(FFT)して、バッファ部BF及び再生信号生成部SGへ供給する。つまり、変換部TRは、各周波数ビンfに関する振幅X及び位相φを計算して、バッファ部BF及び再生信号生成部SGへ供給する(図4参照)。なお、「f」は周波数ビンのインデックスである。つまり、「周波数ビンf」は、周波数自体を表しているのではなく、周波数特性図における複数の周波数ビンのうち、周波数が最も低い(又は最も高い)周波数ビンから数えて「f」番目の周波数ビンであることを表す。以下の説明において、振幅X及び位相φの周波数ビンf及びフレーム番号tを区別して説明する必要があるときは、「振幅X(f,t)」、「位相φ(f,t)」と表記する。つまり、「振幅X(f,t)」及び「位相(f,t)」は、伴奏データの先頭から数えて「t」番目のフレームの周波数特性図における低周波側から数えて「f」番目の周波数ビンに関する、振幅の大きさ及び位相をそれぞれ表す。   The conversion unit TR performs a Fourier transform (FFT) on the frame FR supplied from the windowing unit WF, and supplies the result to the buffer unit BF and the reproduction signal generation unit SG. That is, the conversion unit TR calculates the amplitude X and the phase φ related to each frequency bin f and supplies them to the buffer unit BF and the reproduction signal generation unit SG (see FIG. 4). “F” is an index of the frequency bin. That is, the “frequency bin f” does not represent the frequency itself, but the “f” -th frequency counted from the frequency bin having the lowest (or highest) frequency among the plurality of frequency bins in the frequency characteristic diagram. Represents a bin. In the following explanation, when it is necessary to distinguish between the frequency bin f and the frame number t of the amplitude X and the phase φ, they are expressed as “amplitude X (f, t)” and “phase φ (f, t)”. To do. That is, “amplitude X (f, t)” and “phase (f, t)” are “f” -th counted from the low frequency side in the frequency characteristic diagram of the “t” -th frame counted from the head of the accompaniment data. Represents the magnitude and phase of the amplitude for each frequency bin.

バッファ部BFは、変換部TRから供給された振幅X及び位相φを一時的に(所定数(例えば50個)のフレームの処理時間だけ)記憶する。バッファ部BFは、後述するように、振幅X及び位相φを推定部ESへ供給する。例えば、バッファ部BFは、各フレームにおいて(1つのフレームに関する振幅X及び位相φが新たに供給されたとき)、直近の50個のフレームに関する振幅X及び直近の2個のフレームに関する位相φを推定部ESへ供給する。つまり、現在のフレーム番号tの値が「n」であるとき、バッファ部BFは、フレームFRt=n,FRt=n−1,・・・,FRt=n−49の各周波数ビンfに関する振幅X及びフレームFRt=n,FRt=n−1に関する位相φを推定部ESへ供給する。 The buffer unit BF temporarily stores the amplitude X and the phase φ supplied from the conversion unit TR (for a processing time of a predetermined number (for example, 50) frames). As will be described later, the buffer unit BF supplies the amplitude X and the phase φ to the estimation unit ES. For example, the buffer unit BF estimates the amplitude X for the last 50 frames and the phase φ for the two most recent frames in each frame (when the amplitude X and the phase φ for one frame are newly supplied). Supply to the ES. That is, when the value of the current frame number t is “n”, the buffer unit BF sets the frequency bins f of the frames FR t = n , FR t = n−1 ,..., FR t = n−49. And the phase φ related to the frames FR t = n and FR t = n−1 are supplied to the estimation unit ES.

推定部ESは、各フレームにおいて、各周波数ビンfに関する振幅Xの減衰速度を推定する。具体的には、推定部ESは、図5に示すように、現在のフレーム番号tの値が「n」であるとき、バッファ部BFから取得したフレームFRt=n,FRt=n−1,・・・,FRt=n−49間における振幅Xの変動を最も尤もらしく表す近似曲線を推定する。なお、図5においては、観測値としてのフレームFRt=n,FRt=n−1,・・・,FRt=n−49間における周波数ビンf(=k)の振幅Xの変動を破線で示す。また、同図において、前記近似曲線を実線で示す。本実施形態では、振幅Xの減衰の態様が指数関数的であるとみなす。したがって、近似曲線F(f,t)は、周波数ビンfに関する減衰係数a(f)及びゲインg(f)を用いて、下記の式(1)のように表される。

Figure 0006464853
The estimation unit ES estimates the attenuation rate of the amplitude X with respect to each frequency bin f in each frame. Specifically, as illustrated in FIG. 5, when the value of the current frame number t is “n”, the estimation unit ES receives the frames FR t = n and FR t = n−1 acquired from the buffer unit BF. ,..., FR t = n−49, an approximate curve representing the variation of the amplitude X most likely is estimated. In FIG. 5, the frame FR t = n as observed values, FR t = n-1, ···, a variation in the amplitude X of frequency bins f (= k) between FR t = n-49 dashed lines It shows with. In the figure, the approximate curve is indicated by a solid line. In the present embodiment, it is assumed that the aspect of attenuation of the amplitude X is exponential. Therefore, the approximate curve F (f, t) is expressed as the following equation (1) using the attenuation coefficient a (f) and the gain g (f) regarding the frequency bin f.
Figure 0006464853

推定部ESは、回帰分析法を用いて、減衰係数a(f)及びゲインg(f)を計算する。この減衰係数a(f)が、振幅Xの減衰速度に相当する。推定部ESは、減衰係数a(f)を減衰信号生成部DG、再生信号生成部SG及び再生制御部CTへ供給する。また、推定部ESは、ゲインg(f)を再生制御部CTへ供給する。なお、減衰係数a(f)の計算において、「a(f)>0」という制約を課すとよい。   The estimation unit ES calculates an attenuation coefficient a (f) and a gain g (f) using a regression analysis method. This attenuation coefficient a (f) corresponds to the attenuation rate of the amplitude X. The estimation unit ES supplies the attenuation coefficient a (f) to the attenuation signal generation unit DG, the reproduction signal generation unit SG, and the reproduction control unit CT. Further, the estimation unit ES supplies the gain g (f) to the reproduction control unit CT. In the calculation of the attenuation coefficient a (f), a constraint “a (f)> 0” may be imposed.

また、推定部ESは、各フレームにおいて、直近の2つのフレームの各周波数ビンfに関する位相φをバッファBFから取得し、前記直近の2つのフレーム間の位相差Δφ(f)を計算する。現在のフレーム番号tの値が「n」であるとき、位相差Δφ(f)は、下記の式(2)のように表される。

Figure 0006464853
Further, in each frame, the estimation unit ES obtains the phase φ related to each frequency bin f of the two most recent frames from the buffer BF, and calculates the phase difference Δφ (f) between the two most recent frames. When the value of the current frame number t is “n”, the phase difference Δφ (f) is expressed as the following equation (2).
Figure 0006464853

推定部ESは、位相差Δφ(f)を減衰信号生成部DG及び再生信号生成部SGへ供給する。   The estimation unit ES supplies the phase difference Δφ (f) to the attenuation signal generation unit DG and the reproduction signal generation unit SG.

減衰信号生成部DGは、推定部ESから供給された最新の減衰係数a(f)に基づいて、伴奏パートの再生が一時停止している期間中の各フレームに関する振幅X´を計算して、切り替え部SWへ供給する。具体的には、フレーム番号tの値が「n」であるときに一時停止を開始した場合、減衰信号生成部DGは、各周波数ビンfに関する振幅X(f,n)を推定部ESから取得する。そして、減衰信号生成部DGは、一時停止開始からの経過時間がフレーム周期にフレーム数mを乗算した時間に相当するとき(つまり、一時停止開始から数えて「m」番目のフレーム)の各周波数ビンfに関する振幅X´(f,n+m)を、下記の式(3)に基づいて計算する。

Figure 0006464853
Based on the latest attenuation coefficient a (f) supplied from the estimation unit ES, the attenuation signal generation unit DG calculates the amplitude X ′ for each frame during the period in which the reproduction of the accompaniment part is paused, Supply to the switching unit SW. Specifically, when the pause is started when the value of the frame number t is “n”, the attenuation signal generation unit DG acquires the amplitude X (f, n) regarding each frequency bin f from the estimation unit ES. To do. Then, the attenuation signal generation unit DG uses each frequency when the elapsed time from the pause start corresponds to the time obtained by multiplying the frame period by the number of frames m (that is, the “m” th frame counted from the pause start). The amplitude X ′ (f, n + m) for the bin f is calculated based on the following equation (3).
Figure 0006464853

また、減衰信号生成部DGは、推定部ESから供給された最新の位相差Δφ(f)に基づいて、伴奏パートの再生が一時停止している期間中の各フレームに関する位相φ´(f,t)を計算して、切り替え部SWへ供給する。減衰信号生成部DGは、一時停止開始からの経過時間がフレーム周期にフレーム数mを乗算した時間に相当するとき(つまり、一時停止開始から数えて「m」番目のフレーム)の各周波数ビンfに関する位相φ´(f,n+m)を、下記の式(4)に基づいて計算する。

Figure 0006464853
In addition, the attenuation signal generation unit DG, based on the latest phase difference Δφ (f) supplied from the estimation unit ES, the phase φ ′ (f, f, f) for each frame during the period in which the reproduction of the accompaniment part is paused. t) is calculated and supplied to the switching unit SW. The attenuation signal generation unit DG uses each frequency bin f when the elapsed time from the pause start corresponds to a time obtained by multiplying the frame period by the number of frames m (that is, the “m” th frame counted from the pause start). The phase φ ′ (f, n + m) is calculated based on the following equation (4).
Figure 0006464853

減衰信号生成部DGは、前記計算した振幅X´及び位相φ´を切り替え部SWへ供給する。   The attenuation signal generation unit DG supplies the calculated amplitude X ′ and phase φ ′ to the switching unit SW.

再生信号生成部SGは、一時停止が解除されている期間の各フレームに関する振幅X´を計算する。ここで、原波形データ(つまり、伴奏データ)における、フレーム番号tの値が「t」である第1フレームとフレーム番号tの値が「t」である第2フレームについて考察する(図6A参照)。第2フレームは第1フレームよりも後のフレームである。すると、第2フレームの周波数ビンfの振幅X(f,t)は、第1フレームの周波数ビンfの振幅X(f,t)及び第1フレームにおける減衰係数a(f)を用いて、下記の式(5)のように表される。

Figure 0006464853
The reproduction signal generator SG calculates the amplitude X ′ for each frame in the period in which the pause is cancelled. Here, consider the first frame in which the value of the frame number t is “t 1 ” and the second frame in which the value of the frame number t is “t 2 ” in the original waveform data (that is, accompaniment data) (FIG. 6A). The second frame is a frame after the first frame. Then, the amplitude X (f, t 2 ) of the frequency bin f of the second frame is obtained by using the amplitude X (f, t 1 ) of the frequency bin f of the first frame and the attenuation coefficient a (f) in the first frame. Is expressed as the following equation (5).
Figure 0006464853

なお、式(5)において、第1フレームから第2フレームに至るまでの間に、減衰係数a(f)に相当する速度で振幅Xが減衰すると仮定している。すなわち、式(5)の右辺第2項は、減衰後の振幅に相当する。「s(f,t)」は、前記右辺第2項が表す振幅と、実際の振幅(伴奏データから切り出したフレームをフーリエ変換して得られる振幅)との差分である。 In Equation (5), it is assumed that the amplitude X attenuates at a speed corresponding to the attenuation coefficient a (f) from the first frame to the second frame. That is, the second term on the right side of Equation (5) corresponds to the amplitude after attenuation. “S (f, t 2 )” is a difference between the amplitude represented by the second term on the right side and the actual amplitude (amplitude obtained by Fourier transform of a frame cut out from accompaniment data).

つぎに、第1フレームにおいて一時停止を開始した場合について考察する(同図参照)。一時停止開始からの経過時間がフレーム周期にフレーム数mを乗算した時間に相当するとき、再生を再開すると仮定する。この場合、原波形データの第2フレームに至るまで(つまり、第2フレームを構成する全てのサンプル値が読み出されるまで)に、振幅Xは、一時停止しない場合に比べて、一時停止中に減衰した分だけ大きく減衰している(図6B参照)。したがって、伴奏パートの再生を再開するとき、下記の式(6)に示すような、振幅X´(f,t+m)が生成されれば良い。

Figure 0006464853
Next, a case where a temporary stop is started in the first frame will be considered (see the figure). It is assumed that the playback is resumed when the elapsed time from the start of the pause corresponds to the time obtained by multiplying the frame period by the number of frames m. In this case, before reaching the second frame of the original waveform data (that is, until all sample values constituting the second frame are read), the amplitude X is attenuated during the pause as compared with the case where the pause is not performed. It is greatly attenuated by the amount (see FIG. 6B). Therefore, when the reproduction of the accompaniment part is resumed, an amplitude X ′ (f, t 2 + m) as shown in the following equation (6) may be generated.
Figure 0006464853

すると、式(5)及び式(6)から、差分s(f,t)に依存しない式(7)が導かれる。

Figure 0006464853
Then, Expression (7) that does not depend on the difference s (f, t 2 ) is derived from Expression (5) and Expression (6).
Figure 0006464853

再生信号生成部SGは、式(7)に基づいて振幅X´(f,t+m)を計算する。なお、後述するように、一時停止した期間の長さを表すフレーム数mは、再生制御部CTから再生信号生成部SGに供給される。前記計算した振幅X´(f,t+m)の値が「0」より小さい場合、再生信号生成部SGは、振幅X´(f,t+m)の値を「0」に設定する。再生信号生成部SGは、振幅X´(f,t+m)を切り替え部SWに供給する。 The reproduction signal generator SG calculates the amplitude X ′ (f, t 2 + m) based on the equation (7). As will be described later, the frame number m representing the length of the paused period is supplied from the reproduction control unit CT to the reproduction signal generation unit SG. When the calculated value of the amplitude X ′ (f, t 2 + m) is smaller than “0”, the reproduction signal generating unit SG sets the value of the amplitude X ′ (f, t 2 + m) to “0”. The reproduction signal generator SG supplies the amplitude X ′ (f, t 2 + m) to the switching unit SW.

また、再生信号生成部SGは、変換部TRから供給された位相φを位相φ´として、切り替え部SWへ供給する。   Further, the reproduction signal generation unit SG supplies the phase φ supplied from the conversion unit TR as the phase φ ′ to the switching unit SW.

切り替え部SWは、一時停止中(一時停止信号psが供給されてから再生開始信号ssが供給されるまでの間)において、減衰信号生成部DGから供給された振幅X´及び位相φ´を逆変換部ITへ供給する。一方、切り替え部SWは、再生中(再生開始信号ssが供給されてから一時停止信号psが供給されるまでの間)において、再生信号生成部SGから供給された振幅X´及び位相φ´を逆変換部ITへ供給する。   The switching unit SW reverses the amplitude X ′ and the phase φ ′ supplied from the attenuation signal generation unit DG during the pause (from when the pause signal ps is supplied to when the reproduction start signal ss is supplied). Supplied to the conversion unit IT. On the other hand, the switching unit SW displays the amplitude X ′ and the phase φ ′ supplied from the reproduction signal generation unit SG during reproduction (from the time when the reproduction start signal ss is supplied to the time when the pause signal ps is supplied). Supply to the inverse transform unit IT.

逆変換部ITは、切り替え部SWから供給された振幅X´及び位相φ´を逆フーリエ変換して、1つのフレームに対応する音響波形データ(複数のサンプル値)を生成する。   The inverse transform unit IT performs inverse Fourier transform on the amplitude X ′ and the phase φ ′ supplied from the switching unit SW to generate acoustic waveform data (a plurality of sample values) corresponding to one frame.

再合成部SYは、逆変換部ITから順次供給された直近の所定数のフレームの音響波形データを、フレーム周期に相当するサンプル数だけずらして重畳加算する。そして、前記重畳加算して得られた音響波形データのうち、前記重畳加算に用いた全てのフレームが重なった部分を音源回路16のミキシング回路へ供給する。例えば、各フレームが2048個のサンプル値から構成され、フレーム周期に相当するサンプル数が512個である場合、直近の4つのフレーム(FRt=n−3,FRt=n−2,FRt=n−1,FRt=n,)を512サンプルずつずらして重畳加算する。そして、前記重畳加算して得られた音響波形データのうち、上記の4つのフレームが重なった部分を音源回路16のミキシング回路へ供給する。音源回路16は、再合成部SYから供給された音響波形データと、他の音響波形データ(例えば、ノート情報に対応する楽音を表す音響波形データ)とを重畳加算して、サウンドシステム17へ供給する。 The resynthesizing unit SY superimposes and adds the acoustic waveform data of the most recent predetermined number of frames sequentially supplied from the inverse converting unit IT by shifting the number of samples corresponding to the frame period. Then, of the acoustic waveform data obtained by the superposition addition, a portion where all the frames used for the superposition addition overlap is supplied to the mixing circuit of the sound source circuit 16. For example, when each frame is composed of 2048 sample values and the number of samples corresponding to the frame period is 512, the latest four frames (FR t = n−3 , FR t = n−2 , FR t = N−1 , FR t = n ) are shifted by 512 samples and superimposed. Then, of the acoustic waveform data obtained by the superposition addition, the portion where the above four frames overlap is supplied to the mixing circuit of the sound source circuit 16. The sound source circuit 16 superimposes and adds the acoustic waveform data supplied from the re-synthesis unit SY and other acoustic waveform data (for example, acoustic waveform data representing a musical sound corresponding to note information), and supplies the resultant to the sound system 17. To do.

再生制御部CTは、上記のように、ユーザによる手動演奏が、一時停止されたか否か、及び再開されたか否かを判定する。ユーザによる手動演奏が一時停止されたとき、現在の伴奏パートの再生進行位置(現在のフレーム)が一時停止するのに適しているか否かを判定する。具体的には、再生制御部CTは、推定誤差εを下記の式(8)に基づいて計算する。なお、例えば、「i」の範囲は「0」〜「5」である。すなわち、現在のフレームから5個前のフレームまでの区間に関する推定誤差を計算する。

Figure 0006464853
As described above, the reproduction control unit CT determines whether or not the manual performance by the user has been paused and resumed. When the manual performance by the user is paused, it is determined whether or not the playback progress position (current frame) of the current accompaniment part is suitable for pause. Specifically, the reproduction control unit CT calculates the estimation error ε based on the following equation (8). For example, the range of “i” is “0” to “5”. That is, the estimation error for the section from the current frame to the 5th previous frame is calculated.
Figure 0006464853

推定誤差εが所定の閾値(例えば、「1.0」)より小さければ、現在のフレームの近傍は、各周波数成分がある程度定常的であると考えられる。この場合、再生制御部CTは、現在のフレーム(実際には、現在のフレームと次のフレームとの境界のタイミング)が伴奏パートの再生を一時停止するのに適していると判定し、一時停止信号psを読み出し部RD、減衰信号生成部DG及び切り替え部SWへ供給する。そして、再生制御部CTは、1つのフレーム周期が経過するごとに、フレーム数mをカウントアップする。一方、推定誤差εが前記所定の閾値以上であれば、現在のフレームの近傍は各周波数成分が激しく変動していると考えられる。この場合、再生制御部CTは、伴奏パートの再生進行位置を後続のフレームへ進め、推定誤差εが前記所定の閾値よりも小さいフレームにて、一時停止信号psを読み出し部RD、減衰信号生成部DG及び切り替え部SWへ供給する。上記のようにして、再生制御部CTは、一時停止するフレーム(タイミング)を決定する。なお、再生制御部CTは、本発明の決定手段に相当する。   If the estimation error ε is smaller than a predetermined threshold (for example, “1.0”), it is considered that each frequency component is steady to some extent in the vicinity of the current frame. In this case, the playback control unit CT determines that the current frame (actually, the timing of the boundary between the current frame and the next frame) is suitable for pausing playback of the accompaniment part, and pauses. The signal ps is supplied to the reading unit RD, the attenuation signal generation unit DG, and the switching unit SW. The reproduction control unit CT counts up the number m of frames every time one frame period elapses. On the other hand, if the estimation error ε is equal to or greater than the predetermined threshold, it is considered that each frequency component fluctuates violently in the vicinity of the current frame. In this case, the reproduction control unit CT advances the reproduction progress position of the accompaniment part to the subsequent frame, and reads the pause signal ps in the frame where the estimation error ε is smaller than the predetermined threshold value RD, the attenuation signal generation unit Supply to DG and switching unit SW. As described above, the reproduction control unit CT determines a frame (timing) to be paused. Note that the reproduction control unit CT corresponds to the determining means of the present invention.

ユーザによる手動演奏が再開されたとき、再生制御部CTは、フレーム数mのカウントを終了する。そして、再生制御部CTは、再生開始信号ssを読み出し部RD、減衰信号生成部DG及び切り替え部SWへ供給するとともに、フレーム数mを再生信号生成部SGへ供給する。   When the manual performance by the user is resumed, the reproduction control unit CT ends the counting of the number of frames m. Then, the reproduction control unit CT supplies the reproduction start signal ss to the reading unit RD, the attenuation signal generation unit DG, and the switching unit SW, and supplies the number m of frames to the reproduction signal generation unit SG.

上記のように、電子楽器10は、伴奏パートの一時停止期間中において、前記一時停止した箇所の直前に発音開始した楽音を減衰させる。これにより、アコースティック楽器(減衰音を発する楽器)の演奏を一時停止した際の音の発生態様を模擬できる。   As described above, the electronic musical instrument 10 attenuates the musical sound that starts to be sounded immediately before the paused part during the pause period of the accompaniment part. As a result, it is possible to simulate the sound generation mode when the performance of the acoustic instrument (the instrument that emits the attenuated sound) is paused.

また、一時停止位置に適した再生進行位置が検出されるまで、一時停止の開始が延期される。すなわち、ユーザによる手動演奏が一時停止されたと判定された瞬間に伴奏パートが一時停止して減衰音が生成され始めるとは限られず、僅かに遅れて伴奏パートが一時停止して減衰音が生成され始めることもある。これによれば、より適切な位置で伴奏パートが一時停止されて減衰音が生成され始める。言い代えれば、例えば、音の立ち上がり部分(アタック)のように、各周波数成分が激しく変動していて、前記近似曲線(式(1))を決定し難い部分にて一時停止を開始することを防止できる。   Also, the start of the pause is postponed until a playback progress position suitable for the pause position is detected. That is, the accompaniment part is not temporarily stopped and the decay sound starts to be generated at the moment when it is determined that the manual performance by the user is paused, but the accompaniment part is paused and the decay sound is generated with a slight delay. Sometimes it starts. According to this, the accompaniment part is paused at a more appropriate position, and an attenuation sound starts to be generated. In other words, for example, a pause is started at a portion where each frequency component fluctuates violently and the approximate curve (formula (1)) is difficult to determine, such as a sound rising portion (attack). Can be prevented.

また、再生再開時に、伴奏データのうち、伴奏パートの再生を一時停止した箇所の直後の区間に相当する部分が、前記一時停止した箇所の直前の区間において発音開始した楽音が前記一時停止期間中に減衰した状態を表すように修正される。なお、一時停止期間が比較的長く、前記一時停止した箇所の直前に発音開始した楽音が完全に減衰した場合には、伴奏パートの再生を再開する際、伴奏データのうち、前記伴奏パートの再生を一時停止した箇所の直後の区間に相当する部分から、前記一時停止した箇所の直前の区間において発音開始した楽音の減衰成分が削除される。これによれば、一時停止期間中に発生された減衰成分が、伴奏パートの再生を再開した際にも再生されてしまうことを防止できる。したがって、再生再開時の音の発生態様が自然に感じられる。   Also, at the time of resuming playback, the portion of the accompaniment data corresponding to the section immediately after the position where the playback of the accompaniment part is paused is the musical sound whose sound is started in the section immediately before the paused position. It is corrected to represent the attenuated state. In the case where the pause period is relatively long and the musical sound that has started to sound immediately before the paused position is completely attenuated, when the accompaniment part is resumed, the accompaniment part of the accompaniment data is reproduced. The decay component of the musical tone that starts sounding in the section immediately before the paused position is deleted from the portion corresponding to the section immediately after the paused position. According to this, it is possible to prevent the attenuation component generated during the pause period from being reproduced even when the accompaniment part is resumed. Therefore, the sound generation mode at the time of resuming reproduction can be felt naturally.

さらに、本発明の実施にあたっては、上記実施形態に限定されるものではなく、本発明の目的を逸脱しない限りにおいて種々の変更が可能である。   Furthermore, in carrying out the present invention, the present invention is not limited to the above embodiment, and various modifications can be made without departing from the object of the present invention.

例えば、入力操作子11の1つとして伴奏パートの再生を一時停止するスイッチを設けてもよい。この場合、再生制御部CTは、伴奏パートの再生中に前記スイッチが押されたことを検出して、一時停止信号psを読み出し部RD、切り替え部SWなどに供給すればよい。また、再生制御部CTは、伴奏パートの一時停止中に前記スイッチが押されたことを検出して、再生開始信号ssを読み出し部RD、切り替え部SWなどに供給すればよい。   For example, a switch for temporarily stopping the reproduction of the accompaniment part may be provided as one of the input operators 11. In this case, the playback control unit CT may detect that the switch has been pressed during playback of the accompaniment part, and supply the pause signal ps to the reading unit RD, the switching unit SW, and the like. Further, the reproduction control unit CT may detect that the switch has been pressed while the accompaniment part is paused, and supply the reproduction start signal ss to the reading unit RD, the switching unit SW, and the like.

また、電子楽器10は、楽曲の全体(つまり、主旋律パートも含む全ての演奏パートの演奏)を表すオーディオデータを記憶していて、前記オーディオデータに基づいて前記楽曲を再生しても良い。この場合も、上記実施形態と同様に、電子楽器10は、前記楽曲の再生の一時停止及び再生の再開を実行すればよい。   The electronic musical instrument 10 may store audio data representing the entire music (that is, performance of all performance parts including the main melody part), and may reproduce the music based on the audio data. Also in this case, similarly to the above embodiment, the electronic musical instrument 10 only needs to pause and resume playback of the music.

また、上記実施形態においては、バッファ部BFは、直近の所定数のフレーム(つまり、現在のフレーム及び過去の数フレーム)に関する振幅X及び位相φを記憶している。しかし、現在再生中のフレーム(音響波形データを生成して音源回路16へ供給するフレーム)よりも後の数フレームに関する振幅X及び位相φを事前に計算し、それらをバッファ部BFに一時的に記憶してもよい。例えば、読み出し部RDが再生中のフレームから5個後のフレームまで事前に読み出し、それらを窓掛け部WF及び変換部TRにて処理することにより得られた振幅X及び位相φをバッファ部BFに一時的に記憶するとよい。この場合、フレームFRt=n+5,FRt=n+4,・・・,FRt=n,・・・,FRt=n−44に関する振幅X及び位相φがバッファ部BFに記憶されるとよい。そして、再生制御部CTは、再生中のフレームFRt=nの前後に位置する所定数のフレームに関する振幅Xに基づいて、再生中のフレームが一時停止するのに適しているか否かを判定しても良い。すなわち、上記式(8)において、「i」の範囲を「−5」〜「+5」に設定してもよい。なお、この場合であっても、推定部ESによる減衰係数a(f)、ゲインg(f)及び位相差Δφ(f)の計算方法は、上記実施形態と同様である。すなわち、推定部ESは、現在再生中のフレーム以前のフレームに関する振幅X及び位相φを用いて、減衰係数a(f)、ゲインg(f)及び位相差Δφ(f)を計算する。 In the above embodiment, the buffer unit BF stores the amplitude X and the phase φ related to the most recent predetermined number of frames (that is, the current frame and the past several frames). However, the amplitude X and the phase φ related to several frames after the frame currently being reproduced (the frame for generating the acoustic waveform data and supplying it to the sound source circuit 16) are calculated in advance and temporarily stored in the buffer unit BF. You may remember. For example, the reading unit RD reads in advance from the frame being played back to five frames ahead, and the amplitude X and the phase φ obtained by processing them in the windowing unit WF and the conversion unit TR are stored in the buffer unit BF. It is good to memorize temporarily. In this case, the amplitude X and the phase φ related to the frames FR t = n + 5 , FR t = n + 4 ,..., FR t = n ,..., FR t = n−44 may be stored in the buffer unit BF. Then, the reproduction control unit CT determines whether or not the frame being reproduced is suitable for pausing based on the amplitude X relating to a predetermined number of frames positioned before and after the frame FR t = n being reproduced. May be. That is, in the above formula (8), the range of “i” may be set to “−5” to “+5”. Even in this case, the calculation method of the attenuation coefficient a (f), the gain g (f), and the phase difference Δφ (f) by the estimation unit ES is the same as that in the above embodiment. That is, the estimation unit ES calculates the attenuation coefficient a (f), the gain g (f), and the phase difference Δφ (f) using the amplitude X and the phase φ related to the frame before the frame currently being reproduced.

また、上記実施形態においては、直近の2つのフレームの位相差Δφを計算し、この位相差Δφを用いて、一時停止した後の各フレームの位相を推定している。しかし、これに代えて、一時停止タイミング以前のフレームであって、上記実施形態より多くのフレーム間における位相の推移の態様に基づいて、一時停止した後の各フレームの位相を推定しても良い。また、一時停止するフレーム(タイミング)を再生制御部CTが決定する際、直近の複数のフレームからなる区間において位相の進む速度が激しく変化している場合には一時停止を延期するように構成してもよい。   In the above embodiment, the phase difference Δφ between the two most recent frames is calculated, and the phase of each frame after being temporarily stopped is estimated using this phase difference Δφ. However, instead of this, the phase of each frame after the pause may be estimated based on the phase transition between frames that are before the pause timing and more than the above embodiment. . In addition, when the playback control unit CT determines the frame (timing) to be paused, the pause is postponed if the phase advance speed changes drastically in the interval composed of the most recent frames. May be.

また、上記実施形態においては、再生制御部CTは、推定誤差εが所定の閾値より小さい場合に、一時停止信号psを出力する。しかし、これに代えて、推定誤差εを評価した区間のパワーに所定の定数(例えば0.01)を乗算した値よりも推定誤差εが大きい場合(下記の式(9)参照)に、一時停止信号psを出力してもよい。

Figure 0006464853
In the above embodiment, the reproduction control unit CT outputs the pause signal ps when the estimation error ε is smaller than a predetermined threshold. However, instead of this, when the estimation error ε is larger than the value obtained by multiplying the power of the section in which the estimation error ε is evaluated by a predetermined constant (for example, 0.01) (see the following formula (9)), A stop signal ps may be output.
Figure 0006464853

また、上記実施形態においては、処理対象としてのオーディオ信号(伴奏データ)が記憶装置14に記憶されている。しかし、処理対象としてのオーディオ信号が外部インターフェース回路15を介して外部機器から読み出し部RDに逐次供給されてもよい。この場合、再生制御部CTは、読み出し回路RD又は外部インターフェース回路15の動作状態に基づいて、一時停止信号ps及び再生開始信号ssを出力しても良い。例えば、再生制御部CTは、通信障害によってオーディオ信号の供給が中断されたことを検出して、一時停止信号psを出力してもよい。そして、再生制御部CTは、前記オーディオ信号の供給が再開されたことを検出して、再生開始信号ssを出力してもよい。   In the above embodiment, an audio signal (accompaniment data) to be processed is stored in the storage device 14. However, the audio signal to be processed may be sequentially supplied from the external device to the reading unit RD via the external interface circuit 15. In this case, the reproduction control unit CT may output the pause signal ps and the reproduction start signal ss based on the operation state of the readout circuit RD or the external interface circuit 15. For example, the playback control unit CT may detect that the supply of the audio signal is interrupted due to a communication failure and output the pause signal ps. Then, the reproduction control unit CT may detect that the supply of the audio signal has been resumed and output the reproduction start signal ss.

また、上記実施形態においては、読み出した複数のサンプル値からなるフレームに窓掛け処理を実行してフーリエ変換することにより、振幅X及び位相φを計算している。しかし、これに代えて、所謂フィルタバンク分析を用いても良い。例えば、複数の双2次フィルタを用いてフィルタバンクを構成し、各フィルタに対応する帯域ごとに振幅X及び位相φを取得しても良い。また、定Qフィルタバンク分析、ウェーブレット分析を用いても良い。また、上記実施形態においては、切り替え部SWから出力された振幅X及び位相φを逆フーリエ変換し、その結果を重畳加算することにより、再生用のオーディオ信号を合成している。しかし、これに代えて、オシレータバンク再合成により、再生用のオーディオ信号を合成しても良い。   In the above-described embodiment, the amplitude X and the phase φ are calculated by performing a windowing process on a frame including a plurality of read sample values and performing Fourier transform. However, a so-called filter bank analysis may be used instead. For example, a filter bank may be configured using a plurality of biquadratic filters, and the amplitude X and phase φ may be acquired for each band corresponding to each filter. Also, constant Q filter bank analysis and wavelet analysis may be used. Further, in the above-described embodiment, the audio signal for reproduction is synthesized by performing inverse Fourier transform on the amplitude X and the phase φ output from the switching unit SW and superimposing the results. However, instead of this, an audio signal for reproduction may be synthesized by recombination of the oscillator bank.

また、本発明は、電子楽器に限られず、音響信号を再生する装置であれば、何れの装置にも適用可能である。例えば、インターネットを介して配信される音楽データを逐次受信して再生する装置(ストリーミング再生装置)において、前記音楽データの配信が中断された場合に、音楽データの再生を一時停止する際、減衰音を推定して再生しても良い。また、音楽データの再生を再開する際、一時停止期間中に再生した減衰音が再び再生されないように、音楽データを修正すればよい。また、デジタルオーディオワークステーション(DAW)、DJ機器などにおいて、ドラムパートを含む音楽データの長さを所定の時間長に変更する機能の一部に本発明を利用しても良い。また、波形データを繰り返し再生する際の周期を変更する機能の一部に本発明を利用しても良い。   The present invention is not limited to an electronic musical instrument, and can be applied to any device as long as it reproduces an acoustic signal. For example, in an apparatus (streaming reproduction apparatus) that sequentially receives and reproduces music data distributed via the Internet, when the music data distribution is interrupted, when the music data reproduction is paused, the attenuation sound May be reproduced by estimating. Further, when the reproduction of music data is resumed, the music data may be corrected so that the attenuated sound reproduced during the pause period is not reproduced again. Further, the present invention may be used for a part of a function of changing the length of music data including a drum part to a predetermined time length in a digital audio workstation (DAW), a DJ device, or the like. Further, the present invention may be used for a part of the function of changing the cycle when the waveform data is repeatedly reproduced.

10・・・電子楽器、11・・・入力操作子、12・・・コンピュータ部、13・・・表示器、14・・・記憶装置、15・・・外部インターフェース回路、16・・・音源回路、17・・・サウンドシステム、a・・・減衰係数、BF・・・バッファ部、BUS・・・バス、CT・・・再生制御部、DG・・・減衰信号生成部、ES・・・推定部、f・・・周波数ビン、FR・・・フレーム、g・・・ゲイン、IT・・・逆変換部、m・・・フレーム数、ps・・・一時停止信号、RD・・・読み出し部、s・・・差分、SG・・・再生信号生成部、ss・・・再生開始信号、SW・・・切り替え部、SY・・・再合成部、t・・・フレーム番号、TR・・・変換部、WF・・・窓掛け部、WM・・・波形メモリ、X・・・振幅、Δφ・・・位相差、ε・・・推定誤差、φ・・・位相 DESCRIPTION OF SYMBOLS 10 ... Electronic musical instrument, 11 ... Input operation element, 12 ... Computer part, 13 ... Display, 14 ... Memory | storage device, 15 ... External interface circuit, 16 ... Sound source circuit , 17 ... Sound system, a ... Attenuation coefficient, BF ... Buffer unit, BUS ... Bus, CT ... Reproduction control unit, DG ... Attenuation signal generation unit, ES ... Estimation Part, f ... frequency bin, FR ... frame, g ... gain, IT ... inverse conversion part, m ... number of frames, ps ... pause signal, RD ... reading part , S ... difference, SG ... reproduction signal generation unit, ss ... reproduction start signal, SW ... switching unit, SY ... recomposition unit, t ... frame number, TR ... Conversion unit, WF ... Windowing unit, WM ... Waveform memory, X ... Amplitude, Δφ ... Phase difference, ε ... estimation error, φ ... phase

Claims (4)

音楽の音響波形を表すオーディオ信号に基づいて音楽を再生する再生手段であって、前記オーディオ信号のいずれかのタイミングにおいて前記オーディオ信号に基づく音楽の再生を一時停止可能な再生手段と、
前記音楽の一時停止タイミング以前の区間における周波数特性の変化に基づいて、前記オーディオ信号の各周波数成分の減衰特性を推定する推定手段と、を備え、
前記再生手段は、前記減衰特性に基づいて、前記一時停止タイミングより後の区間において前記各周波数成分が減衰していく様子を表す減衰音を再生する減衰音再生手段を備えたオーディオ再生装置。
Reproduction means for reproducing music based on an audio signal representing an acoustic waveform of music, wherein the reproduction means is capable of pausing reproduction of music based on the audio signal at any timing of the audio signal;
Estimating means for estimating attenuation characteristics of each frequency component of the audio signal based on a change in frequency characteristics in a section before the music pause timing;
The audio reproduction apparatus includes an attenuation sound reproduction unit that reproduces an attenuation sound representing a state in which each frequency component is attenuated in a section after the temporary stop timing based on the attenuation characteristic.
請求項1に記載のオーディオ再生装置において、
前記再生手段は、前記一時停止を解除して前記音楽の再生を再開するとき、前記減衰特性、及び前記減衰音の長さに応じて、前記オーディオ信号における前記一時停止タイミングより後の区間を修正する修正手段を有する、オーディオ再生装置。
The audio playback device according to claim 1,
When the playback unit releases the pause and resumes playing the music, the playback unit corrects a section after the pause timing in the audio signal according to the attenuation characteristic and the length of the attenuated sound. An audio playback device having correcting means for
請求項1又は2に記載のオーディオ再生装置において、
前記減衰特性の推定誤差に基づいて、前記一時停止タイミングを決定する決定手段を有する、オーディオ再生装置。
The audio playback device according to claim 1 or 2,
An audio reproducing apparatus comprising: a determination unit that determines the pause timing based on the estimation error of the attenuation characteristic.
コンピュータを、
音楽の音響波形を表すオーディオ信号に基づいて音楽を再生する再生手段であって、前記オーディオ信号のいずれかのタイミングにおいて前記オーディオ信号に基づく音楽の再生を一時停止可能な再生手段と、
前記音楽の一時停止タイミング以前の区間における周波数特性の変化に基づいて、前記オーディオ信号の各周波数成分の減衰特性を推定する推定手段と、を備え、
前記再生手段は、前記減衰特性に基づいて、前記一時停止タイミングより後の区間において前記各周波数成分が減衰していく様子を表す減衰音を再生する減衰音再生手段と、を備えたオーディオ再生装置として機能させる、コンピュータプログラム。
Computer
Reproduction means for reproducing music based on an audio signal representing an acoustic waveform of music, wherein the reproduction means is capable of pausing reproduction of music based on the audio signal at any timing of the audio signal;
Estimating means for estimating attenuation characteristics of each frequency component of the audio signal based on a change in frequency characteristics in a section before the music pause timing;
The reproduction means comprises: an attenuation sound reproduction means for reproducing an attenuation sound representing a state in which each frequency component is attenuated in a section after the temporary stop timing based on the attenuation characteristic. As a computer program.
JP2015057504A 2015-03-20 2015-03-20 Audio playback apparatus and audio playback program Expired - Fee Related JP6464853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015057504A JP6464853B2 (en) 2015-03-20 2015-03-20 Audio playback apparatus and audio playback program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015057504A JP6464853B2 (en) 2015-03-20 2015-03-20 Audio playback apparatus and audio playback program

Publications (2)

Publication Number Publication Date
JP2016177146A JP2016177146A (en) 2016-10-06
JP6464853B2 true JP6464853B2 (en) 2019-02-06

Family

ID=57071266

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015057504A Expired - Fee Related JP6464853B2 (en) 2015-03-20 2015-03-20 Audio playback apparatus and audio playback program

Country Status (1)

Country Link
JP (1) JP6464853B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5732982B2 (en) * 2011-04-06 2015-06-10 カシオ計算機株式会社 Musical sound generation device and musical sound generation program
JP5742592B2 (en) * 2011-08-29 2015-07-01 カシオ計算機株式会社 Musical sound generation device, musical sound generation program, and electronic musical instrument

Also Published As

Publication number Publication date
JP2016177146A (en) 2016-10-06

Similar Documents

Publication Publication Date Title
US8198525B2 (en) Collectively adjusting tracks using a digital audio workstation
US9147388B2 (en) Automatic performance technique using audio waveform data
US20110015767A1 (en) Doubling or replacing a recorded sound using a digital audio workstation
WO2015053278A1 (en) Technique for reproducing waveform by switching between plurality of sets of waveform data
JP6011219B2 (en) Audio file generation program and audio file generation apparatus
JP5732982B2 (en) Musical sound generation device and musical sound generation program
JP2010113278A (en) Music processing device and program
JP3750533B2 (en) Waveform data recording device and recorded waveform data reproducing device
JP6464853B2 (en) Audio playback apparatus and audio playback program
JP2016161900A (en) Music data search device and music data search program
JP2005107332A (en) Karaoke machine
JP6149890B2 (en) Musical sound generation device and musical sound generation program
JP5151603B2 (en) Electronic musical instruments
JP5742592B2 (en) Musical sound generation device, musical sound generation program, and electronic musical instrument
JP2012118234A (en) Signal processing device and program
JP6390130B2 (en) Music performance apparatus, music performance method and program
JP5549325B2 (en) Sound processor
JP2016057389A (en) Chord determination device and chord determination program
JP2009237590A (en) Vocal effect-providing device
JP5412766B2 (en) Electronic musical instruments and programs
JP3637782B2 (en) Data generating apparatus and recording medium
JP2008058796A (en) Playing style deciding device and program
JP6102975B2 (en) Musical sound generation device, musical sound generation program, and electronic musical instrument
JP4345010B2 (en) Pitch change amount determination method, pitch change amount determination device, and program
JP2016161901A (en) Music data search device and music data search program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181116

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181211

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181224

R151 Written notification of patent or utility model registration

Ref document number: 6464853

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees