JP2010160453A - Musical tone reproduction device and control circuit - Google Patents

Musical tone reproduction device and control circuit Download PDF

Info

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
Application number
JP2009004117A
Other languages
Japanese (ja)
Inventor
Shin Akamatsu
伸 赤松
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.)
Panasonic Corp
Original Assignee
Panasonic 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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2009004117A priority Critical patent/JP2010160453A/en
Publication of JP2010160453A publication Critical patent/JP2010160453A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a musical tone reproduction device for continuously reproducing a musical tone while suppressing a sense of incongruity arising from tempo misalignment. <P>SOLUTION: The musical tone reproduction device includes: a tempo analysis section for analyzing tempo information in a first musical tone and a second musical tone, wherein a tempo is different from each other; a determination section for determining a first number which is the number of tempo peak intervals of the first musical tone included in a first cycle which is constituted by one or more tempo peak intervals, and a second number which is the number of tempo peak intervals of the second musical tone in a second cycle which is constituted by one or more tempo peak intervals, based on the analyzed tempo information; a tempo change section for changing each tempo speed of the first musical tone and the second musical tone so that the first cycle constituted by the determined first number may match the second cycle constituted by the determined second number; a musical tone synthesis section for synthesizing the first musical tone and the second musical tone, in which the tempo speeds are changed; and a musical tone output section for outputting the synthesized first musical tone and second musical tone. <P>COPYRIGHT: (C)2010,JPO&INPIT

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の連続再生方法は、前の楽音におけるテンポピークの位置と、後の楽音におけるテンポピークの位置とを合わせながら、連続再生する楽音同士を接続する。
特許第3799360号公報
The continuous reproduction method of Patent Document 1 connects musical tones that are continuously reproduced while matching the position of the tempo peak in the previous musical tone and the position of the tempo peak in the subsequent musical tone.
Japanese Patent No. 3799360

しかしながら、従来の方法では、楽音同士のテンポ差異が大きい場合に、テンポピークを合わせて再生すると、再生された楽音は元のテンポから大きくずれた楽音になる。そのため、視聴者は、再生された楽音が元の楽音とは違う楽音に聞こえてしまい、逆に違和感が増加してしまう。   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 sound reproducing device 100 includes a musical sound input unit 10, a tempo analysis unit 30, a tempo change unit 40, a musical sound synthesis unit 50, and a musical sound output unit 60. The musical sound input unit 10 includes a first musical sound input unit 11 and a second musical sound input unit 12 to which digital data of musical sounds are input, and a first tempo information input unit 21 to which digital data indicating the tempo information is input. And a second tempo information input unit 22. The tempo changing unit 40 includes a first tempo changing unit 41 and a second tempo changing unit 42. Hereinafter, each block will be described.

楽音入力部10は、外部からPCM(Pulse Coded Module)データなどからなる例えば2つの楽音とそれらのテンポ情報が入力される。そして、楽音入力部10は、入力された2つの楽音をテンポ変更部40に出力し、入力された2つの楽音のテンポ情報をテンポ解析部30に出力する。   The musical sound input unit 10 receives, for example, two musical sounds composed of PCM (Pulse Coded Module) data and their tempo information from the outside. Then, the musical sound input unit 10 outputs the two input musical sounds to the tempo changing unit 40, and outputs the tempo information of the two input musical sounds to the tempo analysis unit 30.

具体的には、第1楽音入力部11は、連続再生される予定の楽音のうちで例えば前の楽音のデジタルデータ(以下、第1楽音と記載。)が入力される。第1楽音入力部11は、入力された第1楽音をテンポ変更部40の第1テンポ変更部41に出力する。また、第2楽音入力部12は、連続再生される予定の楽音のうちで例えば後の楽音のデジタルデータ(以下、第2楽音と記載)が入力される。第2楽音入力部12は、入力された第2楽音をテンポ変更部40の第2テンポ変更部42に出力する。   Specifically, the first musical sound input unit 11 receives, for example, digital data of the previous musical sound (hereinafter referred to as the first musical sound) among the musical sounds scheduled to be continuously reproduced. The first musical sound input unit 11 outputs the input first musical sound to the first tempo changing unit 41 of the tempo changing unit 40. The second musical sound input unit 12 receives, for example, digital data (hereinafter referred to as a second musical sound) of subsequent musical sounds among the musical sounds scheduled to be continuously reproduced. The second musical sound input unit 12 outputs the input second musical sound to the second tempo changing unit 42 of the tempo changing unit 40.

また、第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 information input unit 21 receives digital data indicating the tempo information of the first musical tone input to the first musical tone input unit 11 (hereinafter referred to as tempo information of the first musical tone). The first tempo information input unit 21 outputs the tempo information of the input first musical sound to the tempo analysis unit 30. The second tempo information input unit 22 receives digital data indicating the tempo information of the second musical sound input to the second musical sound input unit 12 (hereinafter referred to as tempo information of the second musical sound). The second tempo information input unit 22 outputs the tempo information of the input second musical sound to the tempo analysis unit 30. Here, the first tempo information input unit 21 and the second tempo information input unit 22 receive digital data representing tempo information from the outside. The tempo information is information relating to the tempo including at least the tempo speed.

なお、第1テンポ情報入力部21および第2テンポ情報入力部22は、外部から入力される代わりに、第1楽音入力部11および第2楽音入力部12に入力された楽音データを信号処理してそれぞれのテンポ情報を生成し、テンポ解析部30に出力してもよい。   The first tempo information input unit 21 and the second tempo information input unit 22 perform signal processing on the musical tone data input to the first musical tone input unit 11 and the second musical tone input unit 12 instead of being input from the outside. Each tempo information may be generated and output to the tempo analysis unit 30.

テンポ解析部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 tempo analysis unit 30 analyzes the tempo information of the first tone and the second tone input from the first tempo information input unit 21 and the second tempo information input unit 22, respectively, and tempo peaks of the first tone and the second tone. Determine how to match. Specifically, based on the analyzed tempo information, the tempo analysis unit 30 determines the number of tempo peak intervals of the first musical tone included in the period constituted by one or more tempo peak intervals of the first musical tone, and the second The number of tempo peak intervals of the second musical tone included in a cycle composed of one or more tempo peak intervals of the musical tone is determined. Here, the tempo analysis unit 30 includes an analysis unit for analyzing the tempo information of the first musical tone and the second musical tone input from the first tempo information input unit 21 and the second tempo information input unit 22, respectively, A determination unit that determines how to match the tempo peak of the second musical sound may be provided.

また、テンポ解析部30は、決定したテンポピークの合わせ方をテンポ変更部40に指示する。   In addition, the tempo analysis unit 30 instructs the tempo change unit 40 on how to match the determined tempo peak.

例えば、テンポ解析部30は、第1楽音および第2楽音のテンポ情報をそれぞれ解析し、どちらの楽音のテンポが遅いかを判定する。そして、テンポ解析部30は、テンポの変化比率が最小限になるように、テンポの遅い楽音の一定のテンポピーク間隔数で構成される周期を基本周期として、基本周期と近似する周期を構成するテンポの早い楽音のテンポピーク間隔数を決定する。このようにして、テンポ解析部30は、第1楽音および第2楽音のテンポピークの合わせ方を決定する。   For example, the tempo analysis unit 30 analyzes the tempo information of the first musical tone and the second musical tone, respectively, and determines which musical tone has the slower tempo. Then, the tempo analysis unit 30 configures a period that approximates the basic period, with a period formed by a fixed number of tempo peak intervals of a slow-tempo musical tone as a basic period so that the change rate of the tempo is minimized. Determine the number of tempo peak intervals for fast-paced music. In this way, the tempo analysis unit 30 determines how to match the tempo peaks of the first musical sound and the second musical sound.

テンポ変更部40は、テンポ解析部30からの指示を受けて、第1楽音および第2楽音の周期における初頭および末尾のテンポピークを合わせるように楽音入力部10から入力された2つの楽音のテンポを変更する。そして、テンポ変更部40は、テンポを変更した2つの楽音を楽音合成部50に出力する。   Upon receiving an instruction from the tempo analysis unit 30, the tempo change unit 40 tempos of the two musical sounds input from the musical sound input unit 10 so as to match the initial and final tempo peaks in the period of the first musical tone and the second musical tone. To change. Then, the tempo changing unit 40 outputs the two musical sounds whose tempos have been changed to the musical sound synthesizing unit 50.

例えば、第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 tempo analysis unit 30, the first tempo change unit 41 changes the tempo of the first musical sound input from the first musical sound input unit 11. That is, the first tempo changing unit 41 adjusts the first tempo peak at the beginning and end of the first musical tone constituting the cycle and the tempo peak at the beginning and end of the second musical tone constituting the basic cycle. Change the tempo of the tone. Then, the first tempo changing unit 41 outputs the first musical sound with the changed tempo to the musical sound synthesizing unit 50. The second tempo changing unit 42 receives an instruction from the tempo analyzing unit 30 and changes the tempo of the second musical tone input from the second musical tone input unit 12. That is, the second tempo changing unit 42 adjusts the tempo peak between the beginning and end of the second musical sound constituting the basic period and the tempo peak at the beginning and end of the first musical sound constituting the period. Change the tempo of the tone. Then, the second tempo changing unit 42 outputs the second musical sound with the changed tempo to the musical sound synthesizing unit 50. In this way, the first tempo changing unit 41 and the second tempo changing unit 42 match the periods of the first musical tone and the second musical tone by matching the tempo peaks at the beginning and the end of the first musical tone, and then the musical tone synthesis unit 50. Output to.

楽音合成部50は、テンポ変更部40、すなわち第1テンポ変更部41および第2テンポ変更部42から出力され、テンポが変更された第1楽音および第2楽音をミキシングして、楽音出力部60を介して出力する。   The musical tone synthesizing unit 50 is output from the tempo changing unit 40, that is, the first tempo changing unit 41 and the second tempo changing unit 42, mixes the first musical sound and the second musical tone whose tempo has been changed, and outputs the musical sound output unit 60. Output via.

以上のように、楽音再生装置100は構成される。
次に、楽音再生装置100の動きについて説明する。ここでは、本発明の特徴的な部分であるテンポ解析部30およびテンポ変更部40の処理の一例について説明する。
As described above, the musical sound reproducing device 100 is configured.
Next, the movement of the music sound reproducing device 100 will be described. Here, an example of processing of the tempo analysis unit 30 and the tempo change unit 40, which is a characteristic part of the present invention, will be described.

まず、テンポ解析部30がテンポピークの合わせ方を決定する処理の例を説明する。
図2は、実施の形態1におけるテンポ解析部がテンポピークの合わせ方を決定する処理について説明するためのフローチャートである。ここで、T1とT2とはそれぞれ、第1楽音のテンポと第2楽音のテンポとを示す。N1とN2とはそれぞれ、上記で説明した周期を構成する第1楽音のテンポピーク間隔数と第2楽音のテンポピーク間隔数を示し、整数である。なお、テンポピーク間隔数は、あるテンポピークを基準とすれば時間的に続くテンポピーク数と等価として扱えるので、同様の意味となる。
First, an example of processing in which the tempo analysis unit 30 determines how to match tempo peaks will be described.
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 tempo analysis unit 30 analyzes the tempo information of the first musical tone and the second musical tone inputted from the first tempo information input unit 21 and the second tempo information input unit 22, and determines the tempo (T1) of the first musical tone. The tempo (T2) of the second musical tone is acquired (S101).

次に、テンポ解析部30は、どちらの楽音のテンポが遅いかを調べる。すなわち、第2楽音のテンポ(T2)の方が第1楽音のテンポ(T1)よりも遅いか(T1>T2)を判定する(S103)。   Next, the tempo analysis unit 30 checks which musical tone has the slower tempo. That is, it is determined whether the tempo (T2) of the second musical tone is slower than the tempo (T1) of the first musical tone (T1> T2) (S103).

テンポ解析部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 tempo analysis unit 30 determines that the tempo (T2) of the second musical tone is not slower than the tempo (T1) of the first musical tone, that is, the tempo (T1) of the first musical tone is slower (No in S103). ), The tempo peak interval number (N1) of the first musical tone constituting the cycle is 1, and the tempo peak interval number (N2) constituting the cycle of the second musical tone having a fast tempo is set to N2 = [T2 / T1 + 0.5]. (S105). Here, [N] indicates a maximum integer not exceeding N, for example, [3.5] = 3.

一方、テンポ解析部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 tempo analysis unit 30 determines the tempo peak interval of the second musical tone constituting the cycle. The number (N2) is set to 1, and the number of tempo peak intervals (N1) constituting the cycle of the first musical tone having a fast tempo is determined from N1 = [T1 / T2 + 0.5] (S107).

以上のようにして、テンポ解析部30は、一定の時間におけるテンポの遅い楽音のテンポピーク間隔数から構成される周期を基本周期として、基本周期と近似する周期を構成するテンポの早い楽音のテンポピーク間隔数を決定することにより、第1楽音および第2楽音のテンポピークの合わせ方を決定する。   As described above, the tempo analysis unit 30 uses the period composed of the number of tempo peak intervals of a slow-tempo musical tone at a certain time as the basic period, and the tempo of the fast-sounding musical sound that constitutes a period approximating the basic period. By determining the number of peak intervals, how to match the tempo peaks of the first musical tone and the second musical tone is determined.

次に、テンポ変更部40すなわち第1テンポ変更部41および第2テンポ変更部42が、テンポピークの合わせるためにテンポを変更する処理の例について説明する。   Next, an example of processing in which the tempo changing unit 40, that is, the first tempo changing unit 41 and the second tempo changing unit 42 change the tempo to match the tempo peak will be described.

図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 sound input unit 10 on a time axis, and shows a state in which the tempo of the first musical sound and the second musical sound are shifted. Yes. FIG. 3B shows the changed tempo peak of the musical sound input from the musical sound input unit 10 (tempo peak after the change) on the time axis.

また、図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 tempo changing unit 41 and the second tempo changing unit 42 in the tempo changing unit 40 are the number of tempo peaks between two first musical sounds and the tempo peak of one second musical sound. The tempo analysis unit 30 receives an instruction so that the number of intervals constitutes a period. Then, the first tempo change unit 41 and the second tempo change unit 42 respectively perform the first musical tone and the second musical tone so that the first and second tempo peaks of the first musical tone and the second musical tone coincide with each other. Change the tempo. Here, the tempo of the first musical tone and the second musical tone is changed so that one tempo peak interval of the second musical tone is matched with two tempo peak intervals of the first musical tone.

図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 tempo changing unit 41 obtains the tempo after the change of the first musical tone by (2 × T1 × T2 × N1) / (T1 × N2 + T2 × N1). The second tempo changing unit 42 obtains the changed tempo of the second musical sound by (2 × T1 × T2 × N2) / (T1 × N2 + T2 × N1). 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 indicate 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 designated by the tempo analysis unit 30.

なお、変更後の第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 tempo changing unit 40 receives the instruction from the tempo analyzing unit 30 and performs the first musical sound and the second musical sound so that the tempo peaks of the first musical sound and the second musical sound are matched in the basic cycle. Change the tempo.

以上、実施の形態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 tempo analysis unit 30 determines how to match the tempo peaks of the first musical sound and the second musical sound based on which tempo is slower between the first musical sound and the second musical sound. Explained. In the second embodiment, a case will be described in which the tempo analysis unit 30 determines a case where there is a large difference in tempo between the first musical tone and the second musical tone. The configuration of the music sound reproducing device 100 is the same as that in FIG.

図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 tempo analysis unit 30 analyzes the tempo information of the first musical tone and the second musical tone input from the first tempo information input unit 21 and the second tempo information input unit 22 (S201), and the tempo of the first musical tone ( T1) is compared with the tempo (T2) of the second musical tone. Here, the tempo analysis unit 30 will be described below on the assumption that the tempo (T1) of the first musical tone is faster than the tempo (T2) of the second musical tone (T1> T2).

次に、テンポ解析部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 tempo analysis unit 30 determines whether or not there is a large difference in the tempo between the first musical tone and the second musical tone. That is, it is determined whether the tempo (T1) of the first musical tone is 1.5 times slower than the tempo (T2) of the second musical tone (T1 <1.5 × T2) (S203). In step (Yes), it is further determined whether the tempo (T2) of the second musical tone is slower than 1.5 times the tempo (T1) of the first musical tone (1.5 × T1> T2) (S205).

テンポ解析部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 tempo analysis unit 30 performs the tempo between the first musical tone and the second musical tone. Is determined that there is no significant difference, and the tempo changing unit 40 is instructed to turn off the tempo changing function indicating that the musical sounds are synthesized without changing the tempo.

なお、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 tempo analysis unit 30 determines how to match the tempo peaks of the first musical sound and the second musical sound in consideration of the case where the tempos of the first musical sound and the second musical sound are greatly shifted.

それにより、テンポの大きくずれている楽音同士であっても、元のテンポから大きくずれることを防ぎながら、テンポを合わせることが可能となる。   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 tempo analysis unit 30 is described as having obtained a comparison result that the tempo (T1) of the first musical tone is faster than the tempo (T2) of the second musical tone (T1> T2). The same applies when the comparison result is obtained that the tempo (T2) of the second musical tone is faster than the tempo (T1) of the first musical tone (T2> T1). In that case, S209 and S211 are the same as S105 of FIG. That is, the number of tempo peak intervals included in a predetermined time of the first musical sound having a slow tempo is set as a basic period so that the change rate of the tempo is minimized, The number of tempo peak intervals may be determined.

(実施の形態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 sound reproducing device 100 is the same as that in FIG.

図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 tempo analysis unit 30 analyzes the tempo information of the first musical tone and the second musical tone input from the first tempo information input unit 21 and the second tempo information input unit 22 and acquires the first tempo information. A tempo ratio (T1 / T2) between the tempo (T1) of the musical tone and the tempo (T2) of the second musical tone is calculated (S301).

次に、テンポ解析部30は、図6に示すテーブルを参照し、算出したテンポ比率(T1/T2)からN1およびN2を決定する。   Next, the tempo analysis unit 30 refers to the table shown in FIG. 6 and determines N1 and N2 from the calculated tempo ratio (T1 / T2).

ここで、図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 tempo analysis unit 30 determines how to match the tempo peaks of the first musical sound and the second musical sound.

以上のように、テンポ解析部30は、第1楽音および第2楽音のテンポ比率から予め作成されたテーブルにあるテンポピーク間隔数の組み合わせを決定することで、第1楽音および第2楽音のテンポピークの合わせ方を決定する。   As described above, the tempo analysis unit 30 determines the combination of the number of tempo peak intervals in the table created in advance from the tempo ratio of the first musical tone and the second musical tone, and thereby the tempo of the first musical tone and the second musical tone. Decide how to match the peaks.

それにより、テンポのずれによる違和感とテンポの合わせ方による違和感の両方を抑えたテンポの合わせ方が可能となる。   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 tempo analysis unit 30 that determines how to match the tempo peaks of the first musical tone and the second musical tone will be described.

図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 tone reproduction device 200 shown in FIG. 7 differs from the tempo analysis unit 30 of the tone reproduction device 100 according to the first embodiment in the configuration of the tempo analysis function unit 35.

テンポ解析機能部35は、テンポ解析部31と、第1楽音音量取得部32と、第2楽音音量取得部33とを備え、実施の形態1におけるテンポ解析部30に追加機能を備えた構成となっている。   The tempo analysis function unit 35 includes a tempo analysis unit 31, a first musical sound volume acquisition unit 32, and a second musical sound volume acquisition unit 33. The tempo analysis unit 30 in the first embodiment has an additional function. It has become.

第1楽音音量取得部32は、第1楽音入力部11から入力された第1楽音の音量を取得し、テンポ解析部31に出力する。   The first musical sound volume acquisition unit 32 acquires the volume of the first musical sound input from the first musical sound input unit 11 and outputs it to the tempo analysis unit 31.

また、第2楽音音量取得部33は、第2楽音入力部12から入力された第2楽音の音量を取得し、テンポ解析部31に出力する。   In addition, the second musical sound volume acquisition unit 33 acquires the volume of the second musical sound input from the second musical sound input unit 12 and outputs it to the tempo analysis unit 31.

テンポ解析部31は、第1楽音音量取得部32から入力された第1楽音の音量により、第1楽音のテンポピーク位置での音量と平均音量の比である第1楽音テンポ強度比(TI1)を算出する。テンポ解析部31は、同様に、第2楽音音量取得部33から入力された第2楽音の音量により、第2楽音のテンポピーク位置での音量と平均音量の比である第2楽音テンポ強度比(TI2)を算出する。   The tempo analysis unit 31 uses the first musical tone volume input from the first musical tone volume acquisition unit 32 to determine the first musical tone tempo intensity ratio (TI1) which is the ratio of the volume of the first musical tone at the tempo peak position to the average volume. Is calculated. Similarly, the tempo analysis unit 31 uses the second musical tone volume input from the second musical tone volume acquisition unit 33 to determine the second musical tone tempo intensity ratio, which is the ratio between the volume at the tempo peak position of the second musical tone and the average volume. (TI2) is calculated.

テンポ解析部31は、第1テンポ情報入力部21および第2テンポ情報入力部22から入力された第1楽音および第2楽音のテンポ情報をそれぞれ解析し、第1楽音および第2楽音のテンポピークの合わせ方を決定する。   The tempo analysis unit 31 analyzes the tempo information of the first musical tone and the second musical tone inputted from the first tempo information input unit 21 and the second tempo information input unit 22, respectively, and the tempo peaks of the first musical tone and the second musical tone. Determine how to match.

ここで、テンポ解析部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 tempo analysis unit 31 has a tempo peak that is small enough to ignore the original musical tone. Judge that there is no need to match. That is, it determines how to match the tempo peaks of the first tone and the second tone that synthesize the tone without changing the tempo. The tempo analysis unit 31 then instructs the tempo change unit 40 how to match the determined tempo peak.

以上のように、楽音再生装置200は構成される。
図8は、実施の形態4におけるテンポピークの合わせ方を決定するテンポ解析部の追加機能の処理について説明するためのフローチャートである。ここで、TI1とTI2とはそれぞれ、第1の楽音のテンポ強度比と第2の楽音のテンポ強度比とを示し、テンポ強度比とは、テンポピーク位置での音量と平均音量との比を示す。
As described above, the musical sound reproducing device 200 is configured.
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 tempo analysis unit 31 calculates the first musical tone tempo intensity ratio (TI1) based on the volume of the first musical sound input from the first musical sound volume acquisition unit 32, and is input from the second musical sound volume acquisition unit 33. A second musical tone tempo intensity ratio (TI2) is calculated from the volume of the second musical tone (S401).

次に、テンポ解析部31は、算出した第1楽音テンポ強度比(TI1)または第2楽音テンポ強度比(TI1)が閾値より低いかを判定する(S403)。   Next, the tempo analysis unit 31 determines whether the calculated first musical tone tempo intensity ratio (TI1) or the second musical tone tempo intensity ratio (TI1) is lower than a threshold (S403).

テンポ解析部31は、TI1またはTI2が閾値より低い場合(S403のYesの場合)、元の楽音が無視できるほど小さく、テンポピークを合わせる必要がないと判断する。そして、テンポ解析部31は、テンポの変更を行うことなく楽音を合成する旨を示すテンポ変更機能オフをテンポ変更部40に指示する。   When TI1 or TI2 is lower than the threshold value (Yes in S403), the tempo analysis unit 31 determines that the original musical sound is so small that it can be ignored and it is not necessary to match the tempo peak. Then, the tempo analysis unit 31 instructs the tempo change unit 40 to turn off the tempo change function indicating that the musical sound is synthesized without changing the tempo.

なお、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 tempo analysis unit 31 proceeds to S405 and determines how to match the tempo peaks.
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 tempo analysis unit 31 determines how to match the tempo peaks of the first tone and the second tone in consideration of the tempo intensity ratio.

こうすることで、テンポのずれから生じる違和感がもともとない楽音の場合にテンポ変更を行わないことで、テンポを変えることで生じる違和感をなくすことが可能となる。   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 tempo changing unit 40 of the musical sound reproducing device 100 receives an instruction from the tempo analyzing unit 30 and inputs the musical sound so that the tempo peaks at the beginning and the end of the two musical sounds in the respective periods are matched. The example in the case of changing the tempo of two musical sounds input from the unit 10 has been described. In the fifth embodiment, an example of a method of gradually changing the tempo while matching the tempo peaks at the beginning and the end of each cycle will be described as one aspect of the method of changing the tempo between the first musical tone and the second musical tone. . The configuration of the music sound reproducing device 100 is the same as that in FIG.

図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 tempo changing unit 40 is 60 BPM and the tempo of the second musical sound is 160 BPM.

図9(a)では、テンポ変更部40は、1個の第1楽音のテンポピーク間隔と、2個の第2楽音のテンポピーク間隔とがそれぞれ周期を構成するようテンポ解析部30によりテンポピークの合わせ方の指示を受けて、第1楽音と第2楽音とのテンポを変更する場合の例を示している。   In FIG. 9 (a), the tempo changing unit 40 causes the tempo analysis unit 30 to set the tempo peak so that the tempo peak interval of one first musical tone and the tempo peak interval of two second musical tones constitute a cycle. In this example, the tempo between the first musical tone and the second musical tone is changed in response to an instruction on how to match the first musical tone.

すなわち、時間軸の前半に第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 tempo changing unit 40 continuously adjusts the tempo from 60 BPM to 80 BPM for the first musical tone and from 120 BPM to 160 BPM for the second musical tone, while keeping the tempo peak alignment received from the instruction from the tempo analyzing unit 30. change. In the musical tone synthesizing unit 50, the tempo changing unit 40 synthesizes the first musical tone and the second musical tone whose tempos are continuously changed, and outputs the synthesized musical tone to the musical tone output unit 60 to reproduce the synthesized musical tone.

次に、時間軸の後半の第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 tone synthesizing unit 50 synthesizes the input first musical tone and the second musical tone while gradually changing the volume. FIG. 9B shows an example in which the musical tone synthesis unit 50 has a crossfade function and crossfades the first musical tone and the second musical tone. FIG. 9C shows an example in which the musical tone synthesis unit 50 has a cut-in function and cuts in the first musical tone and the second musical tone. Even in this way, both of the uncomfortable feeling caused by the tempo shift and the uncomfortable feeling caused by the rapid change of the tempo can be suppressed during the continuous reproduction.

以上のように、実施の形態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 tone synthesis unit 50 may have a function other than the crossfade or cut-in function, and may have a mixing function for changing the ratio of the musical tone between the first musical tone and the second musical tone.

その場合、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.

本発明における楽音再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the musical tone reproduction apparatus in this invention. 実施の形態1におけるテンポ解析部がテンポピークの合わせ方を決定する処理について説明するためのフローチャートである。10 is a flowchart for explaining a process in which the tempo analysis unit according to the first embodiment determines how to match tempo peaks. 実施の形態1におけるテンポ変更部がテンポピークの合わせるためにテンポを変更する処理を概念的に示した図である。It is the figure which showed notionally the process which changes the tempo in order that the tempo change part in Embodiment 1 may match a tempo peak. 実施の形態2におけるテンポ解析部がテンポピークの合わせ方を決定する処理について説明するためのフローチャートである。FIG. 10 is a flowchart for explaining a process in which a tempo analysis unit in the second embodiment determines how to match tempo peaks. 実施の形態3におけるテンポ解析部がテンポピークの合わせ方を決定する処理について説明するためのフローチャートである。FIG. 10 is a flowchart for explaining a process in which a tempo analysis unit in Embodiment 3 determines how to match tempo peaks. 第1楽音および第2楽音のテンポの比率における第1楽音および第2楽音の最適なテンポピーク間隔数を示すテーブルである。It is a table which shows the optimal number of tempo peak intervals of the 1st musical tone and the 2nd musical tone in the ratio of the tempo of the 1st musical tone and the 2nd musical tone. 実施の形態4における楽音再生装置の構成を示すブロック図である。FIG. 10 is a block diagram showing a configuration of a music sound reproducing device in a fourth embodiment. 実施の形態4におけるテンポピークの合わせ方を決定するテンポ解析部の追加機能の処理について説明するためのフローチャートである。15 is a flowchart for explaining processing of an additional function of a tempo analysis unit that determines how to match tempo peaks in the fourth embodiment. 第1楽音と第2楽音とが連続再生される場合の態様の例を示す図である。It is a figure which shows the example of the aspect in case a 1st musical tone and a 2nd musical tone are reproduced | regenerated continuously. 従来の楽音再生装置における連続再生する処理を示すフローチャートである。It is a flowchart which shows the process which carries out the continuous reproduction in the conventional musical sound reproduction apparatus.

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 SYMBOLS 10 Musical sound input part 11 1st music sound input part 12 2nd music sound input part 21 1st tempo information input part 22 2nd tempo information input part 30, 31 Tempo analysis part 32 1st music sound volume acquisition part 33 2nd music sound volume acquisition part 35 Tempo analysis function unit 40 Tempo change unit 41 First tempo change unit 42 Second tempo change unit 50 Music sound synthesis unit 60 Music sound output unit 100, 200 Music reproduction device

Claims (20)

テンポの異なる第1および第2の楽音を連続して再生する楽音再生装置であって、
前記第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の楽音のテンポ速度を変更する第2テンポ変更部とを備え、
前記第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の楽音と前記第2の楽音とカットインの方式で合成する
請求項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の楽音と前記第2の楽音とクロスフェードの方式で合成する
請求項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の楽音と前記第2の楽音とミキシングの方式で合成する
請求項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の楽音および前記第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の楽音のテンポ速度を変更する第2テンポ変更部とを備え、
前記第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.
前記楽音合成部は、前記テンポ変更部によりテンポ速度が変更された前記第1の楽音と前記第2の楽音とカットインの方式で合成する
請求項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.
前記楽音合成部は、前記テンポ変更部によりテンポ速度が変更された前記第1の楽音と前記第2の楽音とクロスフェードの方式で合成する
請求項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.
前記楽音合成部は、前記テンポ変更部によりテンポ速度が変更された前記第1の楽音と前記第2の楽音とミキシングの方式で合成する
請求項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. .
JP2009004117A 2009-01-09 2009-01-09 Musical tone reproduction device and control circuit Pending JP2010160453A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
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