JP2010160453A - Musical tone reproduction device and control circuit - Google Patents
Musical tone reproduction device and control circuit Download PDFInfo
- Publication number
- JP2010160453A JP2010160453A JP2009004117A JP2009004117A JP2010160453A JP 2010160453 A JP2010160453 A JP 2010160453A JP 2009004117 A JP2009004117 A JP 2009004117A JP 2009004117 A JP2009004117 A JP 2009004117A JP 2010160453 A JP2010160453 A JP 2010160453A
- Authority
- JP
- Japan
- Prior art keywords
- tempo
- musical
- musical sound
- tone
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Reverberation, Karaoke And Other Acoustics (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
Description
本発明は、楽音再生装置および制御回路に関する。特に、楽音のテンポを合わせながら音切れなく連続再生する楽音再生装置および制御回路に関する。 The present invention relates to a musical sound reproducing device and a control circuit. In particular, the present invention relates to a musical sound reproducing apparatus and a control circuit that perform continuous reproduction without interruption while matching the tempo of the musical sound.
近年、楽音再生装置では、楽音が切り替わる際の音切れによって視聴者が退屈しないように、ランダム、または、予め定められた順番に楽音を連続的に再生(以下、連続再生と記載。)する方法が利用される。しかし、楽音が音切れなく連続再生されると、楽音の特徴のひとつであるテンポが急に切り替わる場合がある。その場合すなわち前後の楽音でテンポの差異が大きい場合、視聴者は違和感を覚えてしまう。 2. Description of the Related Art In recent years, in a musical sound reproducing apparatus, a method of continuously reproducing musical sounds in a random or predetermined order (hereinafter referred to as continuous reproduction) so that viewers are not bored due to sound interruption when musical sounds are switched. Is used. However, if the musical sound is played continuously without interruption, the tempo, which is one of the characteristics of the musical sound, may suddenly change. In this case, that is, when the difference in tempo between the front and rear musical sounds is large, the viewer feels uncomfortable.
その違和感を抑えるために、例えば今までDJ(Disc Jockey)が行っていたようなこと、すなわち連続再生する楽音同士の接続部分で楽音のテンポを合わせながら再生することを自動で行う連続再生方法が提案されている(例えば、特許文献1参照)。ここで、テンポとは、音楽のリズムを構成する単位である拍の長さ、すなわち拍節の速さのことである。また、拍は、一定の時間間隔をもち、その長短によりテンポが決まる。以下、拍の位置をテンポピークの位置として記載する。 In order to suppress the uncomfortable feeling, for example, there is a continuous playback method for automatically performing what is performed by DJ (Disc Jockey) until now, that is, automatically playing back the music at the same tempo at the connection part of the music to be played back continuously. It has been proposed (see, for example, Patent Document 1). Here, the tempo is the length of a beat, that is, the speed of a beat, which is a unit constituting the rhythm of music. The beat has a fixed time interval, and its tempo is determined by its length. Hereinafter, the beat position is described as the tempo peak position.
特許文献1の連続再生方法は、前の楽音におけるテンポピークの位置と、後の楽音におけるテンポピークの位置とを合わせながら、連続再生する楽音同士を接続する。
しかしながら、従来の方法では、楽音同士のテンポ差異が大きい場合に、テンポピークを合わせて再生すると、再生された楽音は元のテンポから大きくずれた楽音になる。そのため、視聴者は、再生された楽音が元の楽音とは違う楽音に聞こえてしまい、逆に違和感が増加してしまう。 However, in the conventional method, when the tempo difference between the musical sounds is large, when the tempo peaks are played back together, the reproduced musical sound becomes a musical sound greatly deviated from the original tempo. For this reason, the viewer hears the reproduced musical sound different from the original musical sound, and conversely increases the sense of discomfort.
その問題を回避するため、従来の方法では、図10に示すように、テンポの差異が大きい場合は(S902のNoの場合)、テンポを合わせずに連続再生する。ここで、図10は、従来の楽音再生装置における連続再生する処理を示すフローチャートである。また、その問題を回避するため、テンポの近い楽音を選択して連続再生することで違和感をなくす方法も考えられる。しかし、その場合、連続再生の楽音を選択する範囲すなわち選択できる楽音に制限がかかってしまうため、望む楽音順で連続再生することができない。 In order to avoid this problem, in the conventional method, as shown in FIG. 10, when the difference in tempo is large (No in S902), continuous playback is performed without matching the tempo. Here, FIG. 10 is a flowchart showing the process of continuous reproduction in the conventional musical sound reproducing apparatus. In order to avoid this problem, a method of eliminating a sense of incongruity by selecting a musical sound having a similar tempo and continuously playing it can be considered. However, in this case, since the range for selecting the music to be continuously played, that is, the selectable music is limited, it cannot be continuously played in the order of the desired music.
したがって、従来の方法では、テンポのずれから生じる違和感をなくすことはできない。 Therefore, the conventional method cannot eliminate the uncomfortable feeling caused by the tempo shift.
そこで、本発明は、上記課題を解決するためになされたもので、テンポのずれから生じる違和感を抑えて楽音を連続再生する楽音再生装置および制御回路を提供することを目的とする。 Accordingly, the present invention has been made to solve the above-described problems, and an object thereof is to provide a musical sound reproducing apparatus and a control circuit for continuously reproducing musical sounds while suppressing a sense of incongruity caused by a tempo shift.
上記課題を解決するために、本発明の楽音再生装置は、テンポの異なる第1および第2の楽音を連続して再生する楽音再生装置であって、前記第1の楽音および前記第2の楽音におけるリズムを構成する単位である拍の速さを示すテンポ速度を含むテンポ情報をそれぞれ解析するテンポ解析部と、1以上のテンポピーク間隔で構成される第1周期に含まれる前記第1の楽音のテンポピーク間隔数となる第1個数と、1以上のテンポピーク間隔で構成される第2周期に含まれる前記第2の楽音のテンポピーク間隔数となる第2個数とを、解析したテンポ情報に基づいて決定する決定部と、決定された前記第1個数のテンポピーク間隔で構成される前記第1の楽音の第1周期と決定された前記第2個数のテンポピーク間隔で構成される前記第2の楽音の第2周期とが一致するように、前記第1の楽音と前記第2の楽音とのテンポ速度をそれぞれ変更するテンポ変更部と、前記テンポ変更部によりテンポ速度が変更された前記第1の楽音と前記第2の楽音とを合成する楽音合成部と、前記合成された前記第1の楽音と前記第2の楽音とを出力する楽音出力部とを備える。 In order to solve the above-described problems, a musical tone reproducing apparatus according to the present invention is a musical tone reproducing apparatus that continuously reproduces first and second musical tones having different tempos, wherein the first musical tone and the second musical tone are reproduced. A tempo analysis unit that analyzes tempo information including a tempo speed indicating the speed of a beat that is a unit constituting a rhythm in the first tune, and the first musical sound included in a first period constituted by one or more tempo peak intervals Tempo information obtained by analyzing the first number that is the tempo peak interval number of the second musical tone and the second number that is the tempo peak interval number of the second musical sound included in the second period composed of one or more tempo peak intervals A determination unit that is determined based on the first number of tempo peak intervals, and a first period of the first musical sound that is determined by the determined first number of tempo peak intervals and the second number of tempo peak intervals that are determined Second A tempo changing unit for changing the tempo speeds of the first musical sound and the second musical sound so that the second period of the sound matches, and the first tempo speed changed by the tempo changing part. A musical tone synthesis unit that synthesizes the second musical tone and the musical tone output unit that outputs the synthesized first musical tone and the second musical tone.
この構成により、違うテンポの楽音同士を合成する場合にテンポのずれから生じる違和感を抑えることができる。すなわち、解析したテンポ情報から第1の楽音と第2の楽音とのテンポの合わせ方を決定し、再生時のテンポ変化比率を抑えるように第1の楽音と第2の楽音のテンポ速度を共に変更する。それにより、テンポのずれから生じる違和感を抑えることができる。ここでテンポ変化比率とは、元の楽音のテンポとテンポ変更後の楽音のテンポとの比を示す。 With this configuration, it is possible to suppress a sense of incongruity caused by a tempo shift when synthesizing musical sounds having different tempos. In other words, how to match the tempo of the first musical sound and the second musical sound is determined from the analyzed tempo information, and the tempo speeds of the first musical sound and the second musical sound are both set so as to suppress the tempo change ratio during reproduction. change. Thereby, the uncomfortable feeling caused by the tempo shift can be suppressed. Here, the tempo change ratio indicates the ratio between the original musical tempo and the musical tempo after the tempo change.
また、前記テンポ解析部は、前記解析した情報からテンポ速度が速い方であると判定した前記第1の楽音または前記第2の楽音の前記第1個数または前記第2個数を2以上の整数に決定してもよい。 In addition, the tempo analysis unit determines that the first number or the second number of the first musical sound or the second musical sound that is determined to be the faster tempo speed from the analyzed information is an integer of 2 or more. You may decide.
この構成により、テンポが大きく違う楽音同士を合成する場合でも、テンポ速度が速い第1または第2の楽音の周期に含まれるテンポピーク数を調整し、さらにそれぞれの周期が一致するように第1の楽音と第2の楽音とのテンポ速度を変更することでテンポのずれから生じる違和感を抑えることができる。 With this configuration, even when synthesizing musical sounds having greatly different tempos, the number of tempo peaks included in the period of the first or second musical sound having a high tempo speed is adjusted, and the first period is set so that the periods coincide with each other. By changing the tempo speed of the second musical sound and the second musical sound, it is possible to suppress a sense of incongruity caused by a tempo shift.
また、前記テンポ解析部は、前記解析した情報からテンポ速度が遅い方であると判定した前記第1の楽音または前記第2の楽音の前記第1個数または前記第2個数を1と決定してもよい。 In addition, the tempo analysis unit determines that the first number or the second number of the first musical sound or the second musical sound, which is determined from the analyzed information to be the slower tempo speed, is 1. Also good.
この構成により、テンポ速度が遅い第1または第2の楽音の周期に含まれるテンポピーク数を基準にテンポ速度が速い第1または第2の楽音の周期に含まれるテンポピーク数を調整し、さらにそれぞれの周期が一致するように第1の楽音と第2の楽音とのテンポ速度を変更する。それによりテンポのずれから生じる違和感を抑えることができる。 With this configuration, the number of tempo peaks included in the cycle of the first or second musical sound having the fast tempo speed is adjusted based on the number of tempo peaks included in the cycle of the first or second musical sound having the slow tempo speed. The tempo speeds of the first musical sound and the second musical sound are changed so that the respective periods coincide with each other. As a result, a sense of incongruity caused by a tempo shift can be suppressed.
また、前記テンポ解析部は、前記第1個数と前記第2個数との予め決められた組合せが保持されるテーブルを有し、前記解析した情報と前記テーブルの組合せとから前記第1個数と前記第2個数とを決定してもよい。 Further, the tempo analysis unit has a table in which a predetermined combination of the first number and the second number is held, and the first number and the table are determined from the analyzed information and the combination of the tables. The second number may be determined.
この構成により、第1個数と第2個数とを簡単に決定することができる。すなわち、第1個数と第2個数とには無数の組合せがあるが、実際にテンポの違いからくる違和感を抑える組合せの数は少ない。そのため、予め第1個数と第2個数の組合せを決めておくことで、第1個数と第2個数とを簡単に決定することができる。 With this configuration, the first number and the second number can be easily determined. That is, there are an infinite number of combinations of the first number and the second number, but the number of combinations that actually suppress the uncomfortable feeling caused by the difference in tempo is small. Therefore, by determining the combination of the first number and the second number in advance, the first number and the second number can be easily determined.
また、前記テンポ解析部は、前記解析した情報から前記第1の楽音のテンポ速度と前記第2の楽音のテンポ速度との比である変化比率を算出し、算出した変化比率から前記第1個数と前記第2個数とを決定してもよい。 The tempo analysis unit calculates a change ratio that is a ratio between the tempo speed of the first musical sound and the tempo speed of the second musical sound from the analyzed information, and the first number is calculated from the calculated change ratio. And the second number may be determined.
この構成により、元の楽音のテンポから大きく変わることで生じる違和感を抑えつつ、第1個数および第2個数を決定することができる。 With this configuration, it is possible to determine the first number and the second number while suppressing a sense of incongruity caused by a significant change from the original musical tone tempo.
また、前記テンポ解析部は、さらに、前記第1楽音のテンポピーク位置での音量と平均音量の比である第1楽音テンポ強度と第2楽音のテンポピーク位置での音量と平均音量の比である第2楽音テンポ強度とを算出し、算出した第1楽音テンポ強度と第2楽音テンポ強度とが閾値以下かどうかを判定するテンポ強度判定部を備え、前記テンポ強度判定部により第1楽音テンポ強度または第2楽音テンポ強度が前記閾値以下と判断された場合に、前記第1の楽音および第2の楽音とのテンポ速度を変更しない旨の決定をし、前記テンポ変更部は、前記テンポ解析部のテンポ速度を変更しない旨の決定に従い、前記第1の楽音と第2の楽音とのテンポ速度を変更せずそのままにしてもよい。 In addition, the tempo analysis unit further includes a ratio of the volume at the tempo peak position of the first musical sound and the average volume, which is a ratio between the first musical tempo intensity and the volume of the second musical sound at the tempo peak position. A tempo strength determination unit that calculates a certain second musical tone tempo strength and determines whether the calculated first musical tone tempo strength and the second musical tone tempo strength are less than or equal to a threshold value is provided, and the first musical tone tempo is determined by the tempo strength determination unit. When it is determined that the intensity or the second musical tone tempo intensity is less than or equal to the threshold, the tempo changing unit determines not to change the tempo speed between the first musical tone and the second musical tone, and the tempo changing unit The tempo speed of the first musical sound and the second musical sound may be left unchanged without changing the tempo speed of the part.
この構成により、元の楽音のテンポから変わるために生じる違和感を抑える効果を得ることができる。 With this configuration, it is possible to obtain an effect of suppressing a sense of incongruity caused by a change from the original musical tone tempo.
また、前記テンポ変更部は、前記第1の楽音のテンポ速度を変更する第1テンポ変更部と前記第2の楽音のテンポ速度を変更する第2テンポ変更部とを備え、前記第1テンポ変更部は、所定の期間において、前記第1周期と前記第2周期とを一致させながら、前記第1の楽音のテンポ速度から、前記第2の楽音のテンポ速度の(前記第1個数/前記第2個数)倍にまでテンポ速度を徐々に変化させることにより前記第1の楽音のテンポ速度を変更し、前記第2テンポ変更部は、前記所定の期間において、前記第1周期と前記第2周期とを一致させながら、前記第1の楽音のテンポ速度の(前記第2個数/前記第1個数)倍から、前記第2の楽音のテンポ速度にまでテンポ速度を徐々に変化させることにより前記第2の楽音のテンポ速度を変更してもよい。すなわち、テンポ変更部で第1の楽音と第2の楽音とのテンポピークを合わせつつ、徐々にテンポを変更しながら、連続再生するものである。 The tempo changing unit includes a first tempo changing unit that changes a tempo speed of the first musical sound and a second tempo changing unit that changes a tempo speed of the second musical sound, and the first tempo changing unit. The unit, from a tempo speed of the first musical sound, to a tempo speed of the second musical sound (the first number / the first frequency) while matching the first period and the second period in a predetermined period. The tempo speed of the first musical sound is changed by gradually changing the tempo speed to 2 times), and the second tempo changing unit is configured to change the first period and the second period in the predetermined period. , By gradually changing the tempo speed from (second number / first number) times the tempo speed of the first musical sound to the tempo speed of the second musical sound. Change the tempo speed of musical tone 2 It may be. That is, the tempo changing unit continuously reproduces the tempo peak of the first musical tone and the second musical tone while gradually changing the tempo.
この構成により、楽音同士を接続するときに、テンポの急激な変化を抑えつつ、元の楽音のテンポで再生することができる。 With this configuration, when the musical sounds are connected, it is possible to reproduce at the tempo of the original musical sound while suppressing a rapid change in the tempo.
また、前記楽音合成部は、前記テンポ変更部によりテンポ速度が変更された前記第1の楽音と前記第2の楽音とカットインの方式で合成してもよい。 The musical tone synthesizing unit may synthesize the first musical tone and the second musical tone, whose tempo speed is changed by the tempo changing unit, in a cut-in manner.
また、前記楽音合成部は、前記テンポ変更部によりテンポ速度が変更された前記第1の楽音と前記第2の楽音とクロスフェードの方式で合成してもよい。 The musical tone synthesizing unit may synthesize the first musical tone and the second musical tone whose tempo speed has been changed by the tempo changing unit in a cross-fade manner.
また、前記楽音合成部は、前記テンポ変更部によりテンポ速度が変更された前記第1の楽音と前記第2の楽音とミキシングの方式で合成してもよい。 The musical tone synthesizing unit may synthesize the first musical tone and the second musical tone, whose tempo speed is changed by the tempo changing unit, by a mixing method.
また、上記目的を達成するために、本発明の制御回路は、テンポの異なる第1および第2の楽音を連続して再生する楽音再生装置の制御回路であって、前記第1の楽音および前記第2の楽音におけるリズムを構成する単位である拍の速さを示すテンポ速度を含むテンポ情報をそれぞれ解析するテンポ解析部と、1以上のテンポピーク間隔で構成される第1周期に含まれる前記第1の楽音のテンポピーク間隔の第1個数と、1以上のテンポピーク間隔で構成される第2周期に含まれる前記第2の楽音のテンポピーク間隔の第2個数とを、解析したテンポ情報に基づいて決定する決定部と、決定された前記第1個数のテンポピーク間隔で構成される前記第1の楽音の第1周期と決定された前記第2個数のテンポピーク間隔で構成される前記第2の楽音の第2周期とが一致するように、前記第1の楽音と前記第2の楽音とのテンポ速度をそれぞれ変更するテンポ変更部と、前記テンポ変更部によりテンポ速度が変更された前記第1の楽音と前記第2の楽音とを合成する楽音合成部と、前記合成された前記第1の楽音と前記第2の楽音とを出力する楽音出力部とを備える。 In order to achieve the above object, the control circuit of the present invention is a control circuit for a musical sound reproducing apparatus for continuously reproducing first and second musical tones having different tempos, wherein the first musical sound and the first musical sound are A tempo analysis unit that analyzes tempo information including a tempo speed indicating the speed of a beat, which is a unit constituting a rhythm in the second musical sound, and the first period that is included in one or more tempo peak intervals Tempo information obtained by analyzing the first number of tempo peak intervals of the first musical sound and the second number of tempo peak intervals of the second musical tone included in the second period composed of one or more tempo peak intervals. A determination unit that is determined based on the first number of tempo peak intervals, and a first period of the first musical sound that is determined by the determined first number of tempo peak intervals and the second number of tempo peak intervals that are determined Second A tempo changing unit for changing the tempo speeds of the first musical sound and the second musical sound so that the second period of the sound matches, and the first tempo speed changed by the tempo changing part. A musical tone synthesis unit that synthesizes the second musical tone and the musical tone output unit that outputs the synthesized first musical tone and the second musical tone.
本発明によれば、テンポのずれから生じる違和感を抑えて楽音を連続再生する楽音再生装置および制御回路を実現することができる。 According to the present invention, it is possible to realize a musical sound reproducing apparatus and a control circuit that continuously reproduce musical sounds while suppressing a sense of incongruity caused by a tempo shift.
以下、本発明を実施するための最良の形態について、図面を参照しながら説明する。 The best mode for carrying out the present invention will be described below with reference to the drawings.
(実施の形態1)
図1は、本発明における楽音再生装置の構成を示すブロック図である。
(Embodiment 1)
FIG. 1 is a block diagram showing the configuration of a musical tone reproducing apparatus according to the present invention.
楽音再生装置100は、楽音入力部10と、テンポ解析部30と、テンポ変更部40と、楽音合成部50と、楽音出力部60とを備える。また、楽音入力部10は、楽音のデジタルデータが入力される第1楽音入力部11および第2楽音入力部12と、それらのテンポ情報を示すデジタルデータが入力される第1テンポ情報入力部21および第2テンポ情報入力部22とを備える。また、テンポ変更部40は、第1テンポ変更部41と、第2テンポ変更部42とを備える。以下、それらの各ブロックについて説明する。
The musical
楽音入力部10は、外部からPCM(Pulse Coded Module)データなどからなる例えば2つの楽音とそれらのテンポ情報が入力される。そして、楽音入力部10は、入力された2つの楽音をテンポ変更部40に出力し、入力された2つの楽音のテンポ情報をテンポ解析部30に出力する。
The musical
具体的には、第1楽音入力部11は、連続再生される予定の楽音のうちで例えば前の楽音のデジタルデータ(以下、第1楽音と記載。)が入力される。第1楽音入力部11は、入力された第1楽音をテンポ変更部40の第1テンポ変更部41に出力する。また、第2楽音入力部12は、連続再生される予定の楽音のうちで例えば後の楽音のデジタルデータ(以下、第2楽音と記載)が入力される。第2楽音入力部12は、入力された第2楽音をテンポ変更部40の第2テンポ変更部42に出力する。
Specifically, the first musical
また、第1テンポ情報入力部21は、第1楽音入力部11に入力された第1楽音のテンポ情報を示すデジタルデータ(以下、第1楽音のテンポ情報と記載。)が入力される。第1テンポ情報入力部21は、入力された第1楽音のテンポ情報をテンポ解析部30に出力する。また、第2テンポ情報入力部22は、第2楽音入力部12に入力された第2楽音のテンポ情報を示すデジタルデータ(以下、第2楽音のテンポ情報と記載。)が入力される。第2テンポ情報入力部22は、入力された第2楽音のテンポ情報をテンポ解析部30に出力する。ここで、第1テンポ情報入力部21と第2テンポ情報入力部22は、外部からテンポ情報を表したデジタルデータが入力される。また、テンポ情報とは、少なくともテンポ速度を含むテンポに関する情報である。
The first tempo
なお、第1テンポ情報入力部21および第2テンポ情報入力部22は、外部から入力される代わりに、第1楽音入力部11および第2楽音入力部12に入力された楽音データを信号処理してそれぞれのテンポ情報を生成し、テンポ解析部30に出力してもよい。
The first tempo
テンポ解析部30は、第1テンポ情報入力部21および第2テンポ情報入力部22から入力された第1楽音および第2楽音のテンポ情報をそれぞれ解析し、第1楽音および第2楽音のテンポピークの合わせ方を決定する。具体的には、テンポ解析部30は、解析したテンポ情報に基づいて、第1楽音の1以上のテンポピーク間隔で構成される周期に含まれる第1楽音のテンポピーク間隔の個数と、第2楽音の1以上のテンポピーク間隔で構成される周期に含まれる第2楽音のテンポピーク間隔の個数とを決定する。ここで、テンポ解析部30には、第1テンポ情報入力部21および第2テンポ情報入力部22から入力された第1楽音および第2楽音のテンポ情報をそれぞれ解析する解析部と第1楽音および第2楽音のテンポピークの合わせ方を決定する決定部とを備えるとしてもよい。
The
また、テンポ解析部30は、決定したテンポピークの合わせ方をテンポ変更部40に指示する。
In addition, the
例えば、テンポ解析部30は、第1楽音および第2楽音のテンポ情報をそれぞれ解析し、どちらの楽音のテンポが遅いかを判定する。そして、テンポ解析部30は、テンポの変化比率が最小限になるように、テンポの遅い楽音の一定のテンポピーク間隔数で構成される周期を基本周期として、基本周期と近似する周期を構成するテンポの早い楽音のテンポピーク間隔数を決定する。このようにして、テンポ解析部30は、第1楽音および第2楽音のテンポピークの合わせ方を決定する。
For example, the
テンポ変更部40は、テンポ解析部30からの指示を受けて、第1楽音および第2楽音の周期における初頭および末尾のテンポピークを合わせるように楽音入力部10から入力された2つの楽音のテンポを変更する。そして、テンポ変更部40は、テンポを変更した2つの楽音を楽音合成部50に出力する。
Upon receiving an instruction from the
例えば、第1テンポ変更部41は、テンポ解析部30からの指示を受けて、第1楽音入力部11から入力された第1楽音のテンポを変更する。すなわち、第1テンポ変更部41は、周期を構成する第1楽音の初頭と末尾とのテンポピークと基本周期を構成する第2楽音の初頭と末尾とのテンポピークとを合わせるように、第1楽音のテンポを変更する。そして、第1テンポ変更部41は、テンポを変更した第1楽音を楽音合成部50に出力する。また、第2テンポ変更部42は、テンポ解析部30から指示を受けて、第2楽音入力部12から入力された第2楽音のテンポを変更する。すなわち、第2テンポ変更部42は、基本周期を構成する第2楽音の初頭と末尾とのテンポピークと周期を構成する第1楽音の初頭と末尾とのテンポピークとを合わせるように、第2楽音のテンポを変更する。そして、第2テンポ変更部42は、テンポを変更した第2楽音を楽音合成部50に出力する。このようにして、第1テンポ変更部41および第2テンポ変更部42は、第1楽音および第2楽音を、互いの初頭および末尾のテンポピークを合わせて周期を一致させてから楽音合成部50に出力する。
For example, in response to an instruction from the
楽音合成部50は、テンポ変更部40、すなわち第1テンポ変更部41および第2テンポ変更部42から出力され、テンポが変更された第1楽音および第2楽音をミキシングして、楽音出力部60を介して出力する。
The musical
以上のように、楽音再生装置100は構成される。
次に、楽音再生装置100の動きについて説明する。ここでは、本発明の特徴的な部分であるテンポ解析部30およびテンポ変更部40の処理の一例について説明する。
As described above, the musical
Next, the movement of the music
まず、テンポ解析部30がテンポピークの合わせ方を決定する処理の例を説明する。
図2は、実施の形態1におけるテンポ解析部がテンポピークの合わせ方を決定する処理について説明するためのフローチャートである。ここで、T1とT2とはそれぞれ、第1楽音のテンポと第2楽音のテンポとを示す。N1とN2とはそれぞれ、上記で説明した周期を構成する第1楽音のテンポピーク間隔数と第2楽音のテンポピーク間隔数を示し、整数である。なお、テンポピーク間隔数は、あるテンポピークを基準とすれば時間的に続くテンポピーク数と等価として扱えるので、同様の意味となる。
First, an example of processing in which the
FIG. 2 is a flowchart for explaining processing in which the tempo analysis unit according to the first embodiment determines how to match tempo peaks. Here, T1 and T2 indicate the tempo of the first musical tone and the tempo of the second musical tone, respectively. N1 and N2 respectively represent the number of tempo peak intervals of the first musical tone and the number of tempo peak intervals of the second musical tone that constitute the period described above, and are integers. The number of tempo peak intervals has the same meaning because it can be treated as equivalent to the number of tempo peaks that continue in time if a certain tempo peak is used as a reference.
まず、テンポ解析部30は、第1テンポ情報入力部21および第2テンポ情報入力部22から入力された第1楽音および第2楽音のテンポ情報を解析し、第1楽音のテンポ(T1)と第2楽音のテンポ(T2)とを取得する(S101)。
First, the
次に、テンポ解析部30は、どちらの楽音のテンポが遅いかを調べる。すなわち、第2楽音のテンポ(T2)の方が第1楽音のテンポ(T1)よりも遅いか(T1>T2)を判定する(S103)。
Next, the
テンポ解析部30は、第2楽音のテンポ(T2)の方が第1楽音のテンポ(T1)よりも遅くない、すなわち第1楽音のテンポ(T1)の方が遅い場合(S103のNoの場合)、周期を構成する第1楽音のテンポピーク間隔数(N1)を1として、テンポの速い第2楽音の周期を構成するテンポピーク間隔数(N2)を、N2=[T2/T1+0.5]から決定する(S105)。ここで[N]は、Nを超えない最大の整数を示し、例えば、[3.5]=3を示す。
The
一方、テンポ解析部30は、第2楽音のテンポ(T2)の方が第1楽音のテンポ(T1)よりも遅い場合(S103のYesの場合)、周期を構成する第2楽音のテンポピーク間隔数(N2)を1として、テンポの速い第1楽音の周期を構成するテンポピーク間隔数(N1)を、N1=[T1/T2+0.5]から決定する(S107)。
On the other hand, when the tempo (T2) of the second musical tone is slower than the tempo (T1) of the first musical tone (Yes in S103), the
以上のようにして、テンポ解析部30は、一定の時間におけるテンポの遅い楽音のテンポピーク間隔数から構成される周期を基本周期として、基本周期と近似する周期を構成するテンポの早い楽音のテンポピーク間隔数を決定することにより、第1楽音および第2楽音のテンポピークの合わせ方を決定する。
As described above, the
次に、テンポ変更部40すなわち第1テンポ変更部41および第2テンポ変更部42が、テンポピークの合わせるためにテンポを変更する処理の例について説明する。
Next, an example of processing in which the
図3は、実施の形態1におけるテンポ変更部がテンポピークを合わせるためにテンポを変更する処理を概念的に示した図である。図3(a)は、楽音入力部10から入力される楽音のテンポピーク(元のテンポピーク)を時間軸で表しており、第1楽音と第2楽音のテンポがずれている様子を示している。図3(b)は、楽音入力部10から入力された楽音の変更されたテンポピーク(変更後のテンポピーク)を時間軸で示している。
FIG. 3 is a diagram conceptually showing a process of changing the tempo in order to adjust the tempo peak by the tempo changing unit in the first embodiment. FIG. 3A shows a tempo peak (original tempo peak) of a musical sound input from the musical
また、図3(a)では、テンポ変更部40における第1テンポ変更部41および第2テンポ変更部42は、2個の第1楽音のテンポピーク間隔数と1個の第2楽音のテンポピーク間隔数とがそれぞれ周期を構成するようテンポ解析部30より指示を受ける。そして、第1テンポ変更部41および第2テンポ変更部42は、それぞれ周期における第1楽音と第2楽音との初頭および末尾のテンポピークが一致するように、第1楽音と第2楽音とのテンポを変更する。ここでは、第1楽音のテンポピーク間隔2個に対して第2楽音のテンポピーク間隔1個を合わせるように第1楽音と第2楽音とのテンポを変更している。
In FIG. 3A, the first
図3(a)で示す例では、第1楽音のテンポは、第2楽音より早く150BPM(Beats Per Minute)であり、第2楽音のテンポは、第1楽音より遅く90BPMである。また、図3(b)で示す例では、それぞれの周期における第1楽音と第2楽音との初頭および末尾テンポピークが一致するよう(第2楽音のテンポピーク間隔1個に対して第1楽音のテンポピーク間隔2個)、第2楽音のテンポは82BPMに変更され、第1楽音のテンポは164BPMに変更されている。 In the example shown in FIG. 3A, the tempo of the first musical tone is 150 BPM (Beats Per Minute) earlier than the second musical tone, and the tempo of the second musical tone is 90 BPM later than the first musical tone. In the example shown in FIG. 3B, the first and second tempo peaks of the first musical tone and the second musical tone in the respective periods coincide with each other (the first musical tone for one tempo peak interval of the second musical tone). 2), the tempo of the second musical tone is changed to 82 BPM, and the tempo of the first musical tone is changed to 164 BPM.
実施の形態1では、変更後の第1楽音および第2楽音のテンポは、テンポの変化比率が最小限になるように、(第1の楽音の変化比率−1)と、(1−第2の楽音の変化比率)とが同じとなるように求められる。具体的には、第1テンポ変更部41は、第1楽音の変更後のテンポを、(2×T1×T2×N1)/(T1×N2+T2×N1)で求める。第2テンポ変更部42は、第2楽音の変更後のテンポを、(2×T1×T2×N2)/(T1×N2+T2×N1)で求める。ここで、T1とT2とはそれぞれ、第1楽音のテンポと第2楽音のテンポとを示す。N1とN2とはそれぞれ、上記で説明した周期を構成する第1楽音のテンポピーク間隔数と第2楽音のテンポピーク間隔数とを示し、テンポ解析部30により指示された整数である。
In the first embodiment, the tempo of the first musical tone and the second musical tone after the change is set to (first musical tone change ratio-1) and (1-second) so that the tempo change ratio is minimized. The change rate of the musical tone of the sound is required to be the same. Specifically, the first
なお、変更後の第1楽音のテンポである(2×T1×T2×N1)/(T1×N2+T2×N1)は、第1楽音の周期を構成するテンポピーク間隔数であるN1を、変更後の周期のテンポである((1/T2×N2)+(1/T1×N))/2で除したものである。同様に、変更後の第2楽音のテンポである(2×T1×T2×N2)/(T1×N2+T2×N1)は、第2楽音の周期を構成するテンポピーク間隔数であるN2を、変更後の周期のテンポである((1/T2×N2)+(1/T1×N))/2で除したものである。 Note that (2 × T1 × T2 × N1) / (T1 × N2 + T2 × N1), which is the tempo of the first musical tone after the change, is N1 which is the number of tempo peak intervals constituting the cycle of the first musical tone. Divided by ((1 / T2 × N2) + (1 / T1 × N)) / 2. Similarly, (2 × T1 × T2 × N2) / (T1 × N2 + T2 × N1), which is the tempo of the second musical tone after the change, changes N2, which is the number of tempo peak intervals constituting the cycle of the second musical tone. Divided by ((1 / T2 × N2) + (1 / T1 × N)) / 2, which is the tempo of the later cycle.
以上のようにして、テンポ変更部40は、テンポ解析部30からの指示を受けて、基本周期で第1楽音と第2楽音とのテンポピークを合わせるように第1楽音と第2楽音とのテンポを変更する。
As described above, the
以上、実施の形態1によれば、第1楽音と第2楽音とを元のテンポから大きくずれることを防ぎながら、テンポをあわせて合成して連続再生することができる。それにより、楽音のテンポ情報からテンポの合わせ方を解析し、解析したテンポ情報から第1の楽音と第2の楽音とのテンポの合わせ方を決定し、再生時のテンポ変化比率を抑えるように第1の楽音と第2の楽音のテンポ速度を共に変更する。それにより、テンポのずれから生じる違和感を抑えて楽音を連続再生する楽音再生装置が実現できる。 As described above, according to the first embodiment, the first musical tone and the second musical tone can be synthesized and continuously reproduced while being combined with the tempo while preventing a significant deviation from the original tempo. As a result, the tempo matching method is analyzed from the tempo information of the musical sound, the tempo matching method of the first musical sound and the second musical sound is determined from the analyzed tempo information, and the tempo change ratio during playback is suppressed. Both tempo speeds of the first musical sound and the second musical sound are changed. Thereby, it is possible to realize a musical sound reproducing apparatus that continuously reproduces musical sounds while suppressing a sense of incongruity caused by a tempo shift.
(実施の形態2)
実施の形態1では、テンポ解析部30が、第1楽音と第2楽音とでどちらのテンポが遅いかに基づいて、第1楽音および第2楽音のテンポピークの合わせ方を決定する場合の例について説明した。実施の形態2では、テンポ解析部30が第1楽音と第2楽音とのテンポに大きな違いがある場合をさらに考慮して決定する場合について説明する。なお、楽音再生装置100の構成については、図1と同様のため説明を省略する。
(Embodiment 2)
In the first embodiment, an example in which the
図4は、実施の形態2におけるテンポ解析部がテンポピークの合わせ方を決定する処理について説明するためのフローチャートである。ここで、T1とT2とはそれぞれ、第1楽音のテンポと第2楽音のテンポとを示す。N1とN2とはそれぞれ、上記で説明した周期を構成する第1楽音のテンポピーク間隔数と第2楽音のテンポピーク間隔数とを示し、整数である。 FIG. 4 is a flowchart for explaining processing in which the tempo analysis unit in the second embodiment determines how to match tempo peaks. Here, T1 and T2 indicate the tempo of the first musical tone and the tempo of the second musical tone, respectively. N1 and N2 respectively represent the number of tempo peak intervals of the first musical tone and the number of tempo peak intervals of the second musical tone that constitute the period described above, and are integers.
まず、テンポ解析部30は、第1テンポ情報入力部21および第2テンポ情報入力部22から入力された第1楽音および第2楽音のテンポ情報を解析し(S201)、第1楽音のテンポ(T1)と第2楽音のテンポ(T2)とを比較する。ここで、テンポ解析部30は、第1楽音のテンポ(T1)の方が第2楽音のテンポ(T2)よりも早い(T1>T2)という比較結果を得たとして以下説明する。
First, the
次に、テンポ解析部30は、第1楽音と第2楽音とのテンポに大きな違いがあるかどうかを判定する。すなわち、第1楽音のテンポ(T1)は、第2楽音のテンポ(T2)の1.5倍よりも遅いか(T1<1.5×T2)を判定し(S203)、遅い場合(S203のYes)には、さらに第2楽音のテンポ(T2)は、第1楽音のテンポ(T1)の1.5倍よりも遅いか(1.5×T1>T2)を判定する(S205)。
Next, the
テンポ解析部30は、第2楽音のテンポ(T2)が第1楽音のテンポ(T1)の1.5倍よりも遅い場合(S205のYesの場合)、第1楽音と第2楽音とのテンポに大きな違いはないと判定し、テンポを変更せずに楽音同士を合成する旨を示すテンポ変更機能オフをテンポ変更部40に指示する。
When the tempo (T2) of the second musical tone is slower than 1.5 times the tempo (T1) of the first musical tone (Yes in S205), the
なお、S203またはS205において、T1<1.5×T2または1.5×T1>T2の場合(S203のNoの場合またはS205のNoの場合)、第1楽音と第2楽音とのテンポに大きな違いがあったとして、テンポの遅い第2楽音の所定の時間に含まれるテンポピーク間隔数を基本周期として、それに近似する周期を構成するテンポの早い第1楽音のテンポピーク間隔数を決定する(S209またはS211)。なお、S209およびS211は、図2のS107と同様のため説明を省略する。 In S203 or S205, if T1 <1.5 × T2 or 1.5 × T1> T2 (No in S203 or No in S205), the tempo between the first musical tone and the second musical tone is large. If there is a difference, the number of tempo peak intervals included in a predetermined time of the second musical sound having a slow tempo is used as a basic period, and the number of tempo peak intervals of the first musical tone having a fast tempo that constitutes a period approximating it is determined ( S209 or S211). Note that S209 and S211 are the same as S107 in FIG.
以上のように、テンポ解析部30は、第1楽音および第2楽音のテンポが大きくずれている場合も考慮して第1楽音および第2楽音のテンポピークの合わせ方を決定する。
As described above, the
それにより、テンポの大きくずれている楽音同士であっても、元のテンポから大きくずれることを防ぎながら、テンポを合わせることが可能となる。 As a result, it is possible to match the tempos of musical tones that are greatly deviated from the tempo while preventing them from deviating greatly from the original tempo.
なお、図4では、テンポ解析部30は、第1楽音のテンポ(T1)の方が第2楽音のテンポ(T2)よりも早い(T1>T2)という比較結果を得たとして説明したが、第2楽音のテンポ(T2)の方が第1楽音のテンポ(T1)よりも早い(T2>T1)という比較結果を得た場合も同様である。その場合には、S209およびS211は、図2のS105と同じとなる。すなわち、テンポの変化比率が最小限になるように、テンポの遅い第1楽音の所定の時間に含まれるテンポピーク間隔数を基本周期として、それに近似する周期を構成するテンポの早い第2楽音のテンポピーク間隔数を決定すればよい。
In FIG. 4, the
(実施の形態3)
実施の形態3では、第1楽音および第2楽音のテンポピークの合わせ方を決定する別の態様について説明する。なお、楽音再生装置100の構成については、図1と同様のため説明を省略する。
(Embodiment 3)
In the third embodiment, another mode for determining how to match the tempo peaks of the first musical tone and the second musical tone will be described. The configuration of the music
図5は、実施の形態3におけるテンポ解析部がテンポピークの合わせ方を決定する処理について説明するためのフローチャートである。図6は、第1楽音および第2楽音のテンポの比率における第1楽音および第2楽音の最適なテンポピーク間隔数を示すテーブルである。ここで、T1とT2とはそれぞれ、第1楽音のテンポ、第2楽音のテンポとを示す。N1とN2とはそれぞれ、上記で説明した周期を構成する第1楽音のテンポピーク間隔数と第2楽音のテンポピーク間隔数を示し、整数である。 FIG. 5 is a flowchart for explaining processing in which the tempo analysis unit according to the third embodiment determines how to match tempo peaks. FIG. 6 is a table showing the optimum number of tempo peak intervals for the first musical sound and the second musical sound in the tempo ratio between the first musical sound and the second musical sound. Here, T1 and T2 indicate the tempo of the first musical tone and the tempo of the second musical tone, respectively. N1 and N2 respectively represent the number of tempo peak intervals of the first musical tone and the number of tempo peak intervals of the second musical tone that constitute the period described above, and are integers.
図5において、まず、テンポ解析部30は、第1テンポ情報入力部21および第2テンポ情報入力部22から入力された第1楽音および第2楽音のテンポ情報を解析して、取得した第1楽音のテンポ(T1)と第2楽音のテンポ(T2)とのテンポ比率(T1/T2)を算出する(S301)。
In FIG. 5, first, the
次に、テンポ解析部30は、図6に示すテーブルを参照し、算出したテンポ比率(T1/T2)からN1およびN2を決定する。
Next, the
ここで、図6は、テンポが変わることによる違和感と、テンポの合わせ方による違和感の両者を考慮し、第1楽音のテンポと第2楽音のテンポとの比から、最適なテンポピークの合わせ方を示したテーブルが、予め作成されている。 Here, FIG. 6 considers both the uncomfortable feeling due to the tempo change and the uncomfortable feeling due to the tempo matching, and the optimal tempo peak matching method from the ratio of the tempo of the first musical sound and the tempo of the second musical sound. Is created in advance.
以上のようにして、テンポ解析部30は、第1楽音および第2楽音のテンポピークの合わせ方を決定する。
As described above, the
以上のように、テンポ解析部30は、第1楽音および第2楽音のテンポ比率から予め作成されたテーブルにあるテンポピーク間隔数の組み合わせを決定することで、第1楽音および第2楽音のテンポピークの合わせ方を決定する。
As described above, the
それにより、テンポのずれによる違和感とテンポの合わせ方による違和感の両方を抑えたテンポの合わせ方が可能となる。 Thereby, it is possible to adjust the tempo while suppressing both the uncomfortable feeling due to the tempo shift and the uncomfortable feeling due to the tempo matching.
(実施の形態4)
実施の形態4では、第1楽音および第2楽音のテンポピークの合わせ方を決定するテンポ解析部30の追加機能について説明する。
(Embodiment 4)
In the fourth embodiment, an additional function of the
図7は、実施の形態4における楽音再生装置の構成を示すブロック図である。なお、図1と同様の要素には同一の符号を付しており、詳細な説明は省略する。図7に示す楽音再生装置200は、実施の形態1に係る楽音再生装置100のテンポ解析部30に対して、テンポ解析機能部35の構成が異なる。
FIG. 7 is a block diagram showing the configuration of the musical sound reproducing apparatus in the fourth embodiment. Elements similar to those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof is omitted. The
テンポ解析機能部35は、テンポ解析部31と、第1楽音音量取得部32と、第2楽音音量取得部33とを備え、実施の形態1におけるテンポ解析部30に追加機能を備えた構成となっている。
The tempo
第1楽音音量取得部32は、第1楽音入力部11から入力された第1楽音の音量を取得し、テンポ解析部31に出力する。
The first musical sound
また、第2楽音音量取得部33は、第2楽音入力部12から入力された第2楽音の音量を取得し、テンポ解析部31に出力する。
In addition, the second musical sound
テンポ解析部31は、第1楽音音量取得部32から入力された第1楽音の音量により、第1楽音のテンポピーク位置での音量と平均音量の比である第1楽音テンポ強度比(TI1)を算出する。テンポ解析部31は、同様に、第2楽音音量取得部33から入力された第2楽音の音量により、第2楽音のテンポピーク位置での音量と平均音量の比である第2楽音テンポ強度比(TI2)を算出する。
The
テンポ解析部31は、第1テンポ情報入力部21および第2テンポ情報入力部22から入力された第1楽音および第2楽音のテンポ情報をそれぞれ解析し、第1楽音および第2楽音のテンポピークの合わせ方を決定する。
The
ここで、テンポ解析部31は、算出した第1楽音テンポ強度比(TI1)または第2楽音テンポ強度比(TI1)が閾値より低い場合は、元の楽音のテンポが無視できるほど小さく、テンポピークを合わせる必要がないと判断する。すなわち、テンポの変更を行うことなく楽音を合成するという第1楽音および第2楽音のテンポピークの合わせ方を決定する。そして、テンポ解析部31は、決定したテンポピークの合わせ方をテンポ変更部40に指示する。
Here, when the calculated first musical tone tempo intensity ratio (TI1) or second musical tone tempo intensity ratio (TI1) is lower than the threshold, the
以上のように、楽音再生装置200は構成される。
図8は、実施の形態4におけるテンポピークの合わせ方を決定するテンポ解析部の追加機能の処理について説明するためのフローチャートである。ここで、TI1とTI2とはそれぞれ、第1の楽音のテンポ強度比と第2の楽音のテンポ強度比とを示し、テンポ強度比とは、テンポピーク位置での音量と平均音量との比を示す。
As described above, the musical
FIG. 8 is a flowchart for explaining processing of the additional function of the tempo analysis unit for determining how to match tempo peaks in the fourth embodiment. Here, TI1 and TI2 indicate the tempo intensity ratio of the first musical sound and the tempo intensity ratio of the second musical sound, respectively. The tempo intensity ratio is the ratio of the volume at the tempo peak position to the average volume. Show.
まず、テンポ解析部31は、第1楽音音量取得部32から入力された第1楽音の音量により、第1楽音テンポ強度比(TI1)を算出し、第2楽音音量取得部33から入力された第2楽音の音量により、第2楽音テンポ強度比(TI2)を算出する(S401)。
First, the
次に、テンポ解析部31は、算出した第1楽音テンポ強度比(TI1)または第2楽音テンポ強度比(TI1)が閾値より低いかを判定する(S403)。
Next, the
テンポ解析部31は、TI1またはTI2が閾値より低い場合(S403のYesの場合)、元の楽音が無視できるほど小さく、テンポピークを合わせる必要がないと判断する。そして、テンポ解析部31は、テンポの変更を行うことなく楽音を合成する旨を示すテンポ変更機能オフをテンポ変更部40に指示する。
When TI1 or TI2 is lower than the threshold value (Yes in S403), the
なお、S403において、テンポ解析部31は、TI1およびTI2が閾値より高い場合(S403のYesの場合)、S405に進み、テンポピークの合わせ方を決定する。
なお、S405については、図2のS103からS107を適用してもよいし、図4のS201〜S211を適用してもよい。
In S403, when TI1 and TI2 are higher than the threshold values (Yes in S403), the
For S405, S103 to S107 of FIG. 2 may be applied, or S201 to S211 of FIG. 4 may be applied.
以上のように、テンポ解析部31は、テンポ強度比も考慮して第1楽音および第2楽音のテンポピークの合わせ方を決定する。
As described above, the
こうすることで、テンポのずれから生じる違和感がもともとない楽音の場合にテンポ変更を行わないことで、テンポを変えることで生じる違和感をなくすことが可能となる。 In this way, it is possible to eliminate the uncomfortable feeling caused by changing the tempo by not performing the tempo change in the case of a musical sound that does not originally have a discomfort caused by a tempo shift.
(実施の形態5)
実施の形態1〜4では、楽音再生装置100のテンポ変更部40で、テンポ解析部30からの指示を受けて、それぞれの周期における2つの楽音の初頭および末尾のテンポピークを合わせるように楽音入力部10から入力された2つの楽音のテンポを変更する場合の例を説明した。実施の形態5では、第1楽音と第2楽音とのテンポを変更する方法の1態様として、それぞれの周期における初頭および末尾のテンポピークを合わせながら徐々にテンポを変更する方法の例について説明する。なお、楽音再生装置100の構成については、図1と同様のため説明を省略する。
(Embodiment 5)
In the first to fourth embodiments, the
図9は、第1楽音と第2楽音とが連続再生される場合の態様の例を示す図である。
図9(a)は、テンポ変更部が、第1楽音と第2楽音とのテンポを変更する場合の例を示す図である。
FIG. 9 is a diagram illustrating an example of a mode in which the first musical sound and the second musical sound are continuously reproduced.
FIG. 9A is a diagram illustrating an example in which the tempo changing unit changes the tempo between the first musical tone and the second musical tone.
ここで、テンポ変更部40に入力される第1楽音のテンポを60BPM、第2楽音のテンポを160BPMとする。
Here, it is assumed that the tempo of the first musical sound input to the
図9(a)では、テンポ変更部40は、1個の第1楽音のテンポピーク間隔と、2個の第2楽音のテンポピーク間隔とがそれぞれ周期を構成するようテンポ解析部30によりテンポピークの合わせ方の指示を受けて、第1楽音と第2楽音とのテンポを変更する場合の例を示している。
In FIG. 9 (a), the
すなわち、時間軸の前半に第1楽音の再生がされていた第1楽音再生期間があり、第1楽音と第2楽音とのそれぞれの周期位置(周期時点)でのテンポピークを合わせながら徐々にテンポが変更される楽音合成期間を経て、時間軸の後半に、第2楽音の再生がされる第2楽音再生期間がある。 In other words, there is a first musical sound reproduction period in which the first musical sound was reproduced in the first half of the time axis, and the tempo peaks at the respective periodic positions (periodic time points) of the first musical sound and the second musical sound are gradually adjusted. After the musical tone synthesis period in which the tempo is changed, there is a second musical tone reproduction period in which the second musical tone is reproduced in the latter half of the time axis.
具体的には、まず、時間軸の前半の第1楽音再生期間では第1楽音が元のテンポである60BPMで再生されている。 Specifically, first, in the first musical sound reproduction period in the first half of the time axis, the first musical sound is reproduced at 60 BPM, which is the original tempo.
次に、第2楽音が再生開始されるが、楽音同士を合成する時間(楽音合成期間)を決め、その時間内で第1楽音と第2楽音との周期における初頭および末尾のテンポピークを合わせながら徐々にテンポを変更する。すなわち、テンポ変更部40は、テンポ解析部30からの指示を受けたテンポピークの合わせ方を守りながら、第1楽音は60BPMから80BPMまで、第2楽音は120BPMから160BPMまで、連続的にテンポを変更する。そして、楽音合成部50では、テンポ変更部40で、連続的にテンポが変更された第1楽音および第2楽音を合成して楽音出力部60に出力されて合成された楽音が再生される。
Next, playback of the second musical sound is started. The time for synthesizing the musical sounds (musical sound synthesis period) is determined, and the initial and final tempo peaks in the period of the first musical sound and the second musical sound are matched within that time. While gradually changing the tempo. That is, the
次に、時間軸の後半の第2楽音再生期間では、第2楽音が元のテンポである160BPMで再生される。 Next, in the second musical sound reproduction period in the latter half of the time axis, the second musical sound is reproduced at the original tempo of 160 BPM.
こうすることで、テンポのずれから生じる違和感と、テンポの急激な変化からくる違和感の両方を抑え、連続再生することができる。 By doing so, it is possible to perform continuous reproduction while suppressing both the uncomfortable feeling resulting from the tempo shift and the uncomfortable feeling resulting from the rapid change in the tempo.
図9(b)および図9(c)は、楽音合成部50が入力された第1楽音と第2楽音を徐々に音量を変更しながら合成する場合の例を示している。図9(b)では、楽音合成部50がクロスフェードの機能を具備し、第1楽音と第2楽音とをクロスフェードする場合の例を示している。図9(c)では、楽音合成部50がカットインの機能を具備し、第1楽音と第2楽音とをカットインする場合の例を示している。このようにしても、連続再生時において、テンポのずれから生じる違和感と、テンポの急激な変化からくる違和感の両方を抑えることができる。
FIG. 9B and FIG. 9C show an example in which the musical
以上のように、実施の形態5によれば、第1楽音と第2楽音とのそれぞれの周期における初頭および末尾のテンポピークを合わせながら、徐々にテンポを変更しながら、連続再生する。それにより、楽音同士を接続するときに、テンポの急激な変化を抑えつつ、元の楽音のテンポで再生することができる。 As described above, according to the fifth embodiment, continuous reproduction is performed while gradually changing the tempo while matching the tempo peaks at the beginning and the end of each period of the first musical tone and the second musical tone. As a result, when the musical sounds are connected to each other, it is possible to reproduce at the tempo of the original musical sound while suppressing a rapid change of the tempo.
なお、楽音合成部50は、クロスフェードまたはカットインの機能以外の機能を具備し、第1楽音と第2楽音との楽音の割合を変化させるミキシングの機能を具備していてもよい。
Note that the musical
その場合、2つの楽音を連続再生するのに限らず複数の楽音についてミキシングすることで、新たな楽音を生成するゲームや、メドレー再生機能のあるカラオケ装置の用途にも応用できる。 In that case, the present invention can be applied not only to the continuous reproduction of two musical sounds but also to the use of a game for generating new musical sounds and a karaoke apparatus having a medley reproduction function by mixing a plurality of musical sounds.
以上のように、本発明によれば、テンポのずれから生じる違和感を抑えて楽音を連続再生する楽音再生装置を実現することができる。 As described above, according to the present invention, it is possible to realize a musical sound reproducing apparatus that continuously reproduces musical sounds while suppressing a sense of incongruity caused by a tempo shift.
以上、本発明の楽音再生装置について、実施の形態に基づいて説明したが、本発明は、この実施の形態に限定されるものではない。例えば、楽音再生装置の構成要素を備える制御装置でもよい。すなわち、本発明の趣旨を逸脱しない限り、当業者が思いつく各種変形を本実施の形態に施したものや、異なる実施の形態における構成要素を組み合わせて構築される形態も、本発明の範囲内に含まれる。 As mentioned above, although the musical sound reproducing apparatus of this invention was demonstrated based on embodiment, this invention is not limited to this embodiment. For example, it may be a control device provided with components of a musical sound reproducing device. That is, unless the spirit of the present invention departs from the scope of the present invention, various modifications conceived by those skilled in the art have been made in this embodiment, and forms constructed by combining components in different embodiments are also within the scope of the present invention. included.
本発明は、楽音再生装置とその制御回路に利用でき、特にテンポの差異から生じる違和感を抑えて楽音を連続再生する楽音再生装置として有用である。 INDUSTRIAL APPLICABILITY The present invention can be used for a musical sound reproducing apparatus and its control circuit, and is particularly useful as a musical sound reproducing apparatus that continuously reproduces musical sounds while suppressing a sense of incongruity caused by a difference in tempo.
10 楽音入力部
11 第1楽音入力部
12 第2楽音入力部
21 第1テンポ情報入力部
22 第2テンポ情報入力部
30、31 テンポ解析部
32 第1楽音音量取得部
33 第2楽音音量取得部
35 テンポ解析機能部
40 テンポ変更部
41 第1テンポ変更部
42 第2テンポ変更部
50 楽音合成部
60 楽音出力部
100、200 楽音再生装置
DESCRIPTION OF
Claims (20)
前記第1の楽音および前記第2の楽音におけるリズムを構成する単位である拍の速さを示すテンポ速度を含むテンポ情報をそれぞれ解析するテンポ解析部と、
1以上のテンポピーク間隔で構成される第1周期に含まれる前記第1の楽音のテンポピーク間隔数となる第1個数と、1以上のテンポピーク間隔で構成される第2周期に含まれる前記第2の楽音のテンポピーク間隔数となる第2個数とを、解析したテンポ情報に基づいて決定する決定部と、
決定された前記第1個数のテンポピーク間隔で構成される前記第1の楽音の第1周期と決定された前記第2個数のテンポピーク間隔で構成される前記第2の楽音の第2周期とが一致するように、前記第1の楽音と前記第2の楽音とのテンポ速度をそれぞれ変更するテンポ変更部と、
前記テンポ変更部によりテンポ速度が変更された前記第1の楽音と前記第2の楽音とを合成する楽音合成部と、
前記合成された前記第1の楽音と前記第2の楽音とを出力する楽音出力部とを備える
楽音再生装置。 A musical sound reproducing apparatus for continuously reproducing first and second musical sounds having different tempos,
A tempo analysis unit that respectively analyzes tempo information including tempo speed indicating the speed of a beat that is a unit constituting a rhythm in the first musical sound and the second musical sound;
The first number that is the number of tempo peak intervals of the first musical sound that is included in the first period that is composed of one or more tempo peak intervals, and the second period that is composed of one or more tempo peak intervals. A determination unit that determines a second number that is a tempo peak interval number of the second musical sound based on the analyzed tempo information;
A first period of the first musical sound composed of the determined first number of tempo peak intervals and a second period of the second musical sound composed of the determined second number of tempo peak intervals; Tempo changing units for changing the tempo speeds of the first musical sound and the second musical sound, respectively, so that
A tone synthesis unit that synthesizes the first tone and the second tone whose tempo speed has been changed by the tempo change unit;
A musical sound reproducing apparatus comprising: a musical sound output unit that outputs the synthesized first musical sound and the second musical sound.
前記解析した情報からテンポ速度が速い方であると判定した前記第1の楽音または前記第2の楽音の前記第1個数または前記第2個数を2以上の整数に決定する
請求項1に記載の楽音再生装置。 The tempo analysis unit
2. The first number or the second number of the first musical sound or the second musical sound determined to be a faster tempo speed from the analyzed information is determined to be an integer of 2 or more. Music sound playback device.
前記解析した情報からテンポ速度が遅い方であると判定した前記第1の楽音または前記第2の楽音の前記第1個数または前記第2個数を1と決定する
請求項1または請求項2に記載の楽音再生装置。 The tempo analysis unit
3. The first number or the second number of the first musical sound or the second musical sound that is determined to be the slower tempo speed from the analyzed information is determined to be 1. 3. Musical sound playback device.
前記第1個数と前記第2個数との予め決められた組合せが保持されるテーブルを有し、
前記解析した情報と前記テーブルの組合せとから前記第1個数と前記第2個数とを決定する
請求項1から3のいずれか1項に記載の楽音再生装置。 The tempo analysis unit
A table that holds a predetermined combination of the first number and the second number;
The music reproduction device according to any one of claims 1 to 3, wherein the first number and the second number are determined from the analyzed information and the combination of the tables.
前記解析した情報から前記第1の楽音のテンポ速度と前記第2の楽音のテンポ速度との比である変化比率を算出し、算出した変化比率から前記第1個数と前記第2個数とを決定する
請求項1から4のいずれか1項に記載の楽音再生装置。 The tempo analysis unit
A change ratio that is a ratio between the tempo speed of the first musical sound and the tempo speed of the second musical sound is calculated from the analyzed information, and the first number and the second number are determined from the calculated change ratio. The music sound reproducing device according to any one of claims 1 to 4.
前記第1楽音のテンポピーク位置での音量と平均音量の比である第1楽音テンポ強度と第2楽音のテンポピーク位置での音量と平均音量の比である第2楽音テンポ強度とを算出し、算出した第1楽音テンポ強度と第2楽音テンポ強度とが閾値以下かどうかを判定するテンポ強度判定部を備え、
前記テンポ強度判定部により第1楽音テンポ強度または第2楽音テンポ強度が前記閾値以下と判断された場合に、前記第1の楽音および第2の楽音とのテンポ速度を変更しない旨の決定をし、
前記テンポ変更部は、前記テンポ解析部のテンポ速度を変更しない旨の決定に従い、前記第1の楽音と第2の楽音とのテンポ速度を変更せずそのままにする
請求項1から5のいずれか1項に記載の楽音再生装置。 The tempo analysis unit further includes:
The first musical tone tempo intensity, which is the ratio of the volume at the tempo peak position of the first musical sound and the average volume, and the second musical tone tempo intensity, which is the ratio of the volume at the tempo peak position of the second musical sound and the average volume, are calculated. A tempo strength determination unit for determining whether the calculated first musical tone tempo strength and second musical tone tempo strength are equal to or less than a threshold value,
When the first musical tone tempo strength or the second musical tone tempo strength is determined to be equal to or lower than the threshold by the tempo strength determining unit, it is determined that the tempo speeds of the first musical tone and the second musical tone are not changed. ,
6. The tempo changing unit leaves the tempo speeds of the first musical sound and the second musical sound unchanged without changing the tempo speed of the tempo analysis part according to the determination that the tempo speed is not changed. 2. A musical sound reproducing apparatus according to item 1.
前記第1テンポ変更部は、
所定の期間において、前記第1周期と前記第2周期とを一致させながら、前記第1の楽音のテンポ速度から、前記第2の楽音のテンポ速度の(前記第1個数/前記第2個数)倍にまでテンポ速度を徐々に変化させることにより前記第1の楽音のテンポ速度を変更し、
前記第2テンポ変更部は、
前記所定の期間において、前記第1周期と前記第2周期とを一致させながら、前記第1の楽音のテンポ速度の(前記第2個数/前記第1個数)倍から、前記第2の楽音のテンポ速度にまでテンポ速度を徐々に変化させることにより前記第2の楽音のテンポ速度を変更する
請求項1から6のいずれか1項に記載の楽音再生装置。 The tempo changing unit includes a first tempo changing unit that changes a tempo speed of the first musical sound and a second tempo changing unit that changes a tempo speed of the second musical sound,
The first tempo changing unit
The tempo speed of the second musical sound is changed from the tempo speed of the first musical sound to the tempo speed of the second musical sound (the first number / the second number) while the first period and the second period are matched in a predetermined period. Changing the tempo speed of the first musical sound by gradually changing the tempo speed to double,
The second tempo changing unit
In the predetermined period, while the first period and the second period coincide with each other, the tempo speed of the first musical sound is multiplied by (the second number / the first number) times of the second musical sound. The musical sound reproducing device according to any one of claims 1 to 6, wherein the tempo speed of the second musical sound is changed by gradually changing the tempo speed to the tempo speed.
請求項1から7のいずれか1項に記載の楽音再生装置。 The musical tone according to any one of claims 1 to 7, wherein the musical tone synthesis unit synthesizes the first musical tone and the second musical tone whose tempo speed has been changed by the tempo changing unit in a cut-in manner. Playback device.
請求項1から7のいずれか1項に記載の楽音再生装置。 The musical tone according to any one of claims 1 to 7, wherein the musical tone synthesizing unit synthesizes the first musical tone and the second musical tone, the tempo speed of which has been changed by the tempo changing unit, in a crossfade manner. Playback device.
請求項1から7のいずれか1項に記載の楽音再生装置。 The musical tone reproduction according to any one of claims 1 to 7, wherein the musical tone synthesizing unit synthesizes the first musical tone and the second musical tone whose tempo speed has been changed by the tempo changing unit by a mixing method. apparatus.
前記第1の楽音および前記第2の楽音におけるリズムを構成する単位である拍の速さを示すテンポ速度を含むテンポ情報をそれぞれ解析するテンポ解析部と、
1以上のテンポピーク間隔で構成される第1周期に含まれる前記第1の楽音のテンポピーク間隔の第1個数と、1以上のテンポピーク間隔で構成される第2周期に含まれる前記第2の楽音のテンポピーク間隔の第2個数とを、解析したテンポ情報に基づいて決定する決定部と、
決定された前記第1個数のテンポピーク間隔で構成される前記第1の楽音の第1周期と決定された前記第2個数のテンポピーク間隔で構成される前記第2の楽音の第2周期とが一致するように、前記第1の楽音と前記第2の楽音とのテンポ速度をそれぞれ変更するテンポ変更部と、
前記テンポ変更部によりテンポ速度が変更された前記第1の楽音と前記第2の楽音とを合成する楽音合成部と、
前記合成された前記第1の楽音と前記第2の楽音とを出力する楽音出力部とを備える
制御回路。 A control circuit for a musical sound reproducing apparatus for continuously reproducing first and second musical sounds having different tempos,
A tempo analysis unit that respectively analyzes tempo information including tempo speed indicating the speed of a beat that is a unit constituting a rhythm in the first musical sound and the second musical sound;
The first number of tempo peak intervals of the first musical sound included in a first cycle composed of one or more tempo peak intervals and the second included in a second cycle composed of one or more tempo peak intervals. A determination unit that determines a second number of tempo peak intervals of the musical sound based on the analyzed tempo information;
A first period of the first musical sound composed of the determined first number of tempo peak intervals and a second period of the second musical sound composed of the determined second number of tempo peak intervals; Tempo changing units for changing the tempo speeds of the first musical sound and the second musical sound, respectively, so that
A tone synthesis unit that synthesizes the first tone and the second tone whose tempo speed has been changed by the tempo change unit;
A control circuit comprising: a tone output unit for outputting the synthesized first tone and the second tone.
前記解析した情報からテンポ速度が速い方であると判定した前記第1の楽音または前記第2の楽音の前記第1個数または前記第2個数を2以上の整数に決定する
請求項11に記載の制御回路。 The tempo analysis unit
The first number or the second number of the first musical sound or the second musical sound that is determined to be a faster tempo speed from the analyzed information is determined to be an integer of 2 or more. Control circuit.
前記解析した情報からテンポ速度が遅い方であると判定した前記第1の楽音または前記第2の楽音の前記第1個数または前記第2個数を1と決定する
請求項11または請求項12に記載の制御回路。 The tempo analysis unit
13. The first number or the second number of the first musical sound or the second musical sound that is determined to be a slower tempo speed from the analyzed information is determined as 1. Control circuit.
前記第1個数と前記第2個数との予め決められた組合せが保持されるテーブルを有し、
前記解析した情報と前記テーブルの組合せとから前記第1個数と前記第2個数とを決定する
請求項11から13のいずれか1項に記載の制御回路。 The tempo analysis unit
A table that holds a predetermined combination of the first number and the second number;
The control circuit according to any one of claims 11 to 13, wherein the first number and the second number are determined from the analyzed information and the combination of the tables.
前記解析した情報から前記第1の楽音のテンポ速度と前記第2の楽音のテンポ速度との比である変化比率を算出し、算出した変化比率から前記第1個数と前記第2個数とを決定する
請求項11から14のいずれか1項に記載の制御回路。 The tempo analysis unit
A change ratio that is a ratio between the tempo speed of the first musical sound and the tempo speed of the second musical sound is calculated from the analyzed information, and the first number and the second number are determined from the calculated change ratio. The control circuit according to any one of claims 11 to 14.
前記第1楽音のテンポピーク位置での音量と平均音量の比である第1楽音テンポ強度と第2楽音のテンポピーク位置での音量と平均音量の比である第2楽音テンポ強度とを算出し、算出した第1楽音テンポ強度と第2楽音テンポ強度とが閾値以下かどうかを判定するテンポ強度判定部を備え、
前記テンポ強度判定部により第1楽音テンポ強度または第2楽音テンポ強度が前記閾値以下と判断された場合に、前記第1の楽音および第2の楽音とのテンポ速度を変更しない旨の決定をし、
前記テンポ変更部は、前記テンポ解析部のテンポ速度を変更しない旨の決定に従い、前記第1の楽音と第2の楽音とのテンポ速度を変更せずそのままにする
請求項11から15のいずれか1項に記載の制御回路。 The tempo analysis unit further includes:
The first musical tone tempo intensity, which is the ratio of the volume at the tempo peak position of the first musical sound to the average volume, and the second musical tone tempo intensity, which is the ratio of the volume at the tempo peak position of the second musical sound and the average volume, are calculated. A tempo strength determination unit for determining whether the calculated first musical tone tempo strength and second musical tone tempo strength are equal to or less than a threshold value,
When the first tone tempo strength or the second tone tempo strength is determined to be equal to or less than the threshold by the tempo strength determining unit, it is determined that the tempo speeds of the first tone and the second tone are not changed. ,
The tempo changing unit leaves the tempo speed of the first musical sound and the second musical sound unchanged without changing the tempo speed of the tempo analysis part according to the decision to not change the tempo speed. 2. The control circuit according to item 1.
前記第1テンポ変更部は、
所定の期間において、前記第1周期と前記第2周期とを一致させながら、前記第1の楽音のテンポ速度から、前記第2の楽音のテンポ速度の(前記第1個数/前記第2個数)倍にまでテンポ速度を徐々に変化させることにより前記第1の楽音のテンポ速度を変更し、
前記第2テンポ変更部は、
前記所定の期間において、前記第1周期と前記第2周期とを一致させながら、前記第1の楽音のテンポ速度の(前記第2個数/前記第1個数)倍から、前記第2の楽音のテンポ速度にまでテンポ速度を徐々に変化させることにより前記第2の楽音のテンポ速度を変更する
請求項11から16のいずれか1項に記載の制御回路。 The tempo changing unit includes a first tempo changing unit that changes a tempo speed of the first musical sound and a second tempo changing unit that changes a tempo speed of the second musical sound,
The first tempo changing unit
The tempo speed of the second musical sound is changed from the tempo speed of the first musical sound to the tempo speed of the second musical sound (the first number / the second number) while the first period and the second period are matched in a predetermined period. Changing the tempo speed of the first musical sound by gradually changing the tempo speed to double,
The second tempo changing unit
In the predetermined period, while the first period and the second period coincide with each other, the tempo speed of the first musical sound is multiplied by (the second number / the first number) times of the second musical sound. The control circuit according to any one of claims 11 to 16, wherein the tempo speed of the second musical sound is changed by gradually changing the tempo speed to a tempo speed.
請求項11から17のいずれか1項に記載の制御回路。 The control according to any one of claims 11 to 17, wherein the musical tone synthesis unit synthesizes the first musical tone and the second musical tone whose tempo speed has been changed by the tempo changing unit in a cut-in manner. circuit.
請求項11から17のいずれか1項に記載の制御回路。 The control according to any one of claims 11 to 17, wherein the tone synthesis unit synthesizes the first tone and the second tone with the tempo speed changed by the tempo change unit in a crossfade manner. circuit.
請求項11から17のいずれか1項に記載の制御回路。 The control circuit according to any one of claims 11 to 17, wherein the musical tone synthesizing unit synthesizes the first musical tone whose tempo speed is changed by the tempo changing unit and the second musical tone by a mixing method. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009004117A JP2010160453A (en) | 2009-01-09 | 2009-01-09 | Musical tone reproduction device and control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009004117A JP2010160453A (en) | 2009-01-09 | 2009-01-09 | Musical tone reproduction device and control circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010160453A true JP2010160453A (en) | 2010-07-22 |
Family
ID=42577632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009004117A Pending JP2010160453A (en) | 2009-01-09 | 2009-01-09 | Musical tone reproduction device and control circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010160453A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012211981A (en) * | 2011-03-31 | 2012-11-01 | D & M Holdings Inc | Network av receiver device |
RU2574516C2 (en) * | 2012-06-18 | 2016-02-10 | Сергей Александрович Лапковский | Method of setting parameters of musical composition |
-
2009
- 2009-01-09 JP JP2009004117A patent/JP2010160453A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012211981A (en) * | 2011-03-31 | 2012-11-01 | D & M Holdings Inc | Network av receiver device |
RU2574516C2 (en) * | 2012-06-18 | 2016-02-10 | Сергей Александрович Лапковский | Method of setting parameters of musical composition |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100546095B1 (en) | Massage device, information recording medium and program writing method | |
US20060111903A1 (en) | Apparatus for and program of processing audio signal | |
JP2007316269A5 (en) | ||
JP2007160129A (en) | Massaging apparatus and information recording medium | |
JP2010160453A (en) | Musical tone reproduction device and control circuit | |
JP2006279733A (en) | Tempo signal output device, and audio mixing device | |
JP2014160156A (en) | Control device and control method, and program | |
US7834261B2 (en) | Music composition reproducing device and music composition reproducing method | |
JP6171503B2 (en) | Audio equipment | |
JP4107212B2 (en) | Music playback device | |
JP2006261920A (en) | Mixing apparatus | |
JP2005266571A (en) | Method and device for variable-speed reproduction, and program | |
JP5359203B2 (en) | Music processing apparatus and program | |
JP7028896B2 (en) | Musical tone effect imparting device and musical tone effect imparting program | |
JP4479635B2 (en) | Audio apparatus and karaoke apparatus | |
JP7160264B2 (en) | SOUND DATA PROCESSING DEVICE, SOUND DATA PROCESSING METHOD AND SOUND DATA PROCESSING PROGRAM | |
JP2006184684A (en) | Music reproducing device | |
JP2007093658A (en) | Audio device and karaoke machine | |
EP3734591B1 (en) | Musical sound effect adding device and musical sound effect adding program | |
JP3432771B2 (en) | Karaoke equipment | |
JP6524795B2 (en) | Sound material processing apparatus and sound material processing program | |
JP6060869B2 (en) | Karaoke device, program | |
JP2006319562A (en) | Mixing device | |
JP6400408B2 (en) | Music generator | |
JP2009020368A (en) | Effect creating device |