JP2008027552A - Music reproducing device - Google Patents
Music reproducing device Download PDFInfo
- Publication number
- JP2008027552A JP2008027552A JP2006201893A JP2006201893A JP2008027552A JP 2008027552 A JP2008027552 A JP 2008027552A JP 2006201893 A JP2006201893 A JP 2006201893A JP 2006201893 A JP2006201893 A JP 2006201893A JP 2008027552 A JP2008027552 A JP 2008027552A
- Authority
- JP
- Japan
- Prior art keywords
- music
- buffer
- fade
- song
- stored
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
本発明は、音楽再生装置にかかり、特に曲と曲の間を途切れさせることなく再生することのできる音楽再生装置に関する。 The present invention relates to a music playback device, and more particularly to a music playback device that can play music without interruption between songs.
近年では、ユーザは、音楽データをパーソナルコンピュータ(PC)に取り込み、取り込んだ音楽データを再生ソフトで再生する、あるいは、前記取り込んだ音楽データをデジタルオーディオプレーヤに転送して再生する、というスタイルで音楽を楽しむ傾向にある。 In recent years, music has been used in a style in which a user captures music data into a personal computer (PC) and plays the captured music data with playback software, or transfers the captured music data to a digital audio player for playback. Tend to enjoy.
前記再生ソフトあるいはデジタルオーディオプレーヤの中には、再生中の曲から次の曲へと再生する曲を繋ぎ変えるとき、再生中の曲の再生が全て終了してから次の曲の再生を始めるのではなく、再生中の曲の終盤期間の音量を徐々に低減し、この期間(クロスフェード期間)に次に再生する曲をその音量を徐々に増加させながら重ねて再生する機能、すなわちクロスフェード機能を備えるものがある。 In the playback software or digital audio player, when the song to be played is switched from the song being played to the next song, playback of the next song is started after all of the songs being played are finished. Rather than gradually reducing the volume of the currently playing song during the last half of the period, and the next song to be played during this period (crossfade period) is gradually increased while increasing the volume, that is, the crossfade function There is something with.
再生中の曲の再生が全て終了してから、次の曲の再生を開始する場合、一般的に無音の状態ができる。この無音状態は、ダンスミュージックなどの場合にはグルーヴ感(リズムに感じる生き生きとした表情)を損ねてしまう。そこで、前記クロスフェード機能を用いることで、グルーヴ感を維持しつつ再生を継続することが可能となる。 When the reproduction of the next song is started after the reproduction of the music being reproduced is completed, a silent state is generally generated. This silent state damages the groove feeling (the lively expression felt in the rhythm) in the case of dance music and the like. Therefore, by using the crossfade function, it is possible to continue the reproduction while maintaining the groove feeling.
ところで、前記クロスフェード機能を持たせて再生する場合において、再生中の曲の小節の途中で、次の曲を1拍目から再生すると、小節ごとのリズムが乱れて不快な繋ぎになる。このため、再生中の曲の小節の1拍目に合わせて、次の曲の小節の1拍目を再生する方法が知られている(特許文献1)。 By the way, in the case of playing with the crossfade function, if the next song is played from the first beat in the middle of the measure of the song being played, the rhythm of each measure is disturbed, resulting in an unpleasant connection. For this reason, there is known a method of reproducing the first beat of the measure of the next song in accordance with the first beat of the measure of the song being reproduced (Patent Document 1).
なお、クロスフェード機能を持たせて再生する場合、再生中の曲と次の曲のBPM(Beat Per Minutes)が異なっていると、再生中の曲の小節の1拍目に合わせて、次の曲の1拍目を再生したとしても、徐々にビートが乱れてくる。特許文献2には、双方の曲のBPMを一致させる為に、BPMを自動で検出することが記載されている。
前述のようにクロスフェード機能を持たせて、再生中の曲から次の曲に再生を継続する場合において、双方の曲のビートパターンが異なっている場合、双方の曲のビートがズレて入り混じることとなり、不快な印象を与えてしまう。ビートパターンが異なるということは、例えば、一方の曲が等間隔の4つ打ちのビートパターンに対して、他方の曲が等間隔な4つ打ちのビートでない部分でビートを取るような変則的なビートパターンとなる状態のことである。 As described above, when playing from the currently playing song to the next song with the crossfade function, if the beat patterns of both songs are different, the beats of both songs are mixed and mixed. This gives an unpleasant impression. The difference in the beat pattern means that, for example, one song is an irregular four-beat beat pattern, and the other song is an irregular one that takes a beat at a portion that is not an equal four-beat. It is a state that becomes a beat pattern.
なお、音楽の再生に際して、再生中の曲および次に再生する曲の1拍目を検出し、タイミングを合わせて前記各曲を再生を再生するため、あるいはBPMを検出するためには、多くのメモリを必要とする。また、プログラム工程数あるいは演算量も多くなり、再生装置における演算負荷が大きくなる。またプログラムの開発負担も大きくなる。 When playing music, it is often necessary to detect the first beat of the song being played and the next song to be played, and to play back each song at the same time or to detect BPM. Requires memory. In addition, the number of program steps or the amount of calculation increases, and the calculation load on the playback device increases. In addition, the burden of program development increases.
本発明はこれらの問題点に鑑みてなされたもので、ユーザに不快感を与えることなく再生中の曲から次の曲に再生を継続することのできる音楽再生装置を提供するものである。 The present invention has been made in view of these problems, and provides a music playback device capable of continuing playback from a song being played to the next song without causing discomfort to the user.
本発明は上記課題を解決するため、次のような手段を採用した。 In order to solve the above problems, the present invention employs the following means.
記憶部から先に再生する曲を読み出して記憶する第1のバッファと、記憶部から後に再生する曲を読み出して記憶する第2のバッファと、前記第1のバッファに記憶した曲にフェードアウト処理を施し、前記第2のバッファに記憶された曲にフェードイン処理を施し、前記フェードアウト処理およびフェードイン処理を施した曲を加算して第3のバッファに記憶する演算部と、前記第3のバッファに記憶された曲を出力する出力部と、前記第1のバッファ、第2のバッファ、演算部、および出力部を制御する制御部を備え、前記制御部は、前記フェードイン処理およびフェードアウト処理を行う際、前記先に再生する曲および後に再生する曲の低域成分の合計レベルを、中域成分の合計レベルおよび高域成分の合計レベルよりも小になるように設定し、再生されるビート成分を抑制する。 A first buffer for reading and storing a song to be reproduced first from the storage unit; a second buffer for reading and storing a song to be reproduced later from the storage unit; and a fade-out process for the song stored in the first buffer. An arithmetic unit that applies a fade-in process to the music stored in the second buffer, adds the music subjected to the fade-out process and the fade-in process, and stores the result in a third buffer; and the third buffer And an output unit that outputs the music stored in the control unit, and a control unit that controls the first buffer, the second buffer, the calculation unit, and the output unit, wherein the control unit performs the fade-in process and the fade-out process. When performing, the total level of the low frequency component of the song to be played first and the song to be played later is set to be lower than the total level of the middle frequency component and the total level of the high frequency component. Set, suppressing a beat component to be reproduced.
本発明は、以上の構成を備えるため、ユーザに不快感を与えることなく再生中の曲から次の曲に再生を継続することのできる音楽再生装置を提供することができる。 Since the present invention has the above-described configuration, it is possible to provide a music playback device that can continue playback from the song being played to the next song without causing discomfort to the user.
以下、最良の実施形態を添付図面を参照しながら説明する。図1は、本発明の実施形態にかかる音楽再生装置の構成を示すブロック図である。図において、2は複数の曲を記憶する記憶部であり、ハードディスク、フラッシュメモリ等の記憶装置で構成する。3は第1のバッファ(INPUTバッファA)であり、先に再生する曲を記憶している。4は第2のバッファ(INPUTバッファB)であり、次に再生する曲を記憶している。5は演算部であり、前記第1のバッファに記憶した曲にフェードアウト処理を施し、第2のバッファに記憶された曲にフェードイン処理を施し、フェードアウト処理およびフェードイン処理を施した曲を加算して第3のバッファ(OUTPUTバッファ)6に記憶する。また、演算部5は、前記フェードイン処理およびフェードアウト処理を行う際、前記先に再生する曲および後に再生する曲の低域成分のレベルを低減するイコライザ処理を施す。7は出力部であり、第3のバッファ6に記憶した曲を再生してオーディオ信号として出力する。1は制御部であり、前記記憶部2,第1のバッファ3、第2のバッファ4、演算部5、第3のバッファ6および出力部7を制御する。
Hereinafter, the best embodiment will be described with reference to the accompanying drawings. FIG. 1 is a block diagram showing a configuration of a music playback device according to an embodiment of the present invention. In the figure, reference numeral 2 denotes a storage unit for storing a plurality of music pieces, which is composed of a storage device such as a hard disk or a flash memory.
図2は、図1に示す音楽再生装置におけるクロスフェード再生処理を説明する図である。図2において、まず、ユーザは音楽再生装置の操作部9を用いてクロスフェード時間(例えば、2秒)を設定する。制御部1は、設定されたクロスフェード時間を内蔵メモリ8に記憶する。次に、ユーザは、操作部を操作して記憶部2に記憶されている曲の中から複数の曲を選択し、選択した曲の間で再生順序を設定し、再生開始の指示を入力する。このとき、制御部1は、ユーザからの前記指示入力に応じて、先に再生する曲のデータAl(例えば先頭の一部)を記憶部2から読み出し、第1のバッファ(INPUTバッファA)3に転送する。また、このとき記憶部2に曲のデータと共に記憶されている曲に関する情報(その曲の再生時間などの曲情報)を記憶部2から取得し、内蔵メモリ8に記憶する(ステップ1)。
FIG. 2 is a diagram for explaining crossfade playback processing in the music playback device shown in FIG. In FIG. 2, first, the user sets a crossfade time (for example, 2 seconds) using the operation unit 9 of the music playback device. The
制御部1は、第1のバッファ3から演算部5に入力するデータAlの現時点までに再生した再生時間を演算により求め、当該現時点までの再生時間と内蔵メモリ8に記憶されている曲情報(再生時間)とから曲の残りの再生時間を求める。そして、求めた残りの再生時間と内蔵メモリ8に記憶されているクロスフェード時間とを比較し、残りの再生時間が内蔵メモリに記憶されているクロスフェード時間より短くなったか否かを監視し、残りの再生時間が内蔵メモリに記憶されているクロスフェード時間以上である場合にはステップ3に進む。また、残りの再生時間が内蔵メモリに記憶されているクロスフェード時間より短くなるとステップ7に進む(ステップ2)。
The
ステップ2において、残りの再生時間が内蔵メモリ8に記憶されているクロスフェード時間以上であると判断した場合、制御部1は、先に再生する曲のデータAl(例えば残りの一部)を記憶部2から読み出し、第1のバッファ(INPUTバッファA)3に転送する(ステップ3)。制御部1は、第1のバッファ3からデータAlを読み出し、演算部5に入力する。演算部5は、入力されたデータAlをデコードし(ステップ4)、デコードしたデータAlを第3のバッファ(OUTPUTバッファ)6に転送する(ステップ5)。
If it is determined in step 2 that the remaining reproduction time is equal to or longer than the crossfade time stored in the built-in memory 8, the
第3のバッファ6は、制御部1の制御に基づいて、演算部5がデコードしたデータAlを一定の転送速度で出力部7に出力する。出力部7は、データAをデジタル信号からアナログオーディオ信号に変換した後、出力部7に接続されているスピーカ(図示せず)に出力する(ステップ6)。
The third buffer 6 outputs the data Al decoded by the calculation unit 5 to the
ステップ2において残りの再生時間が内蔵メモリ8に記憶されているクロスフェード時間より短くなったと判断した場合、制御部1は、先に再生する曲のデータAlを引き続き記憶部2から第1のバッファ3に転送すると共に、次に再生する曲のデータBlを記憶部2から読み出し、第2のバッファ4に転送する(ステップ7)。
If it is determined in step 2 that the remaining reproduction time has become shorter than the crossfade time stored in the internal memory 8, the
制御部1は、演算部5を制御し、データAlおよびデータBlをデコードする(ステップ8)。演算部5は、デコードしたデータAlにフェードアウト処理および後述するイコライジング処理を施してデータA2を生成する。また、デコードしたデータBlにフェードイン処理およびイコライジング処理を施してデータB2を生成する(ステップ9)。
The
そして、演算部5は、データA2とデータB2とを加算しデータB3を生成し(ステップ10)、生成したデータB3を第3のバッファ6に転送する(ステップ11)。 Then, the arithmetic unit 5 adds the data A2 and the data B2 to generate the data B3 (step 10), and transfers the generated data B3 to the third buffer 6 (step 11).
第3のバッファ6は、制御部1の制御に基づいて、先に再生する曲(データA2)、クロスフェーダ期間に再生する曲(データB3)、および次に再生する曲(データB2)を一定の転送速度で出力部7に出力する。出力部7は、データA2,データB3,およびデータB2をデジタル信号からアナログオーディオ信号に変換した後、出力部7に接続されているスピーカ(図示せず)に出力する(ステップ12)。
Based on the control of the
このように、クロスフェード時間の間、データA2とデータB2が加算されたデータB3が出力され、クロスフェード時間を経過した後、すなわち、先に再生する曲のデータAlの再生が終了した後は、次に再生する曲のデータBlについて図2のステップ2からの処理が行われる。 In this way, during the crossfade time, data B3 obtained by adding data A2 and data B2 is output, and after the crossfade time has elapsed, that is, after the reproduction of the data Al of the song to be reproduced first is completed. Then, the processing from step 2 in FIG. 2 is performed on the data B1 of the music to be reproduced next.
図3は、クロスフェードを含むイコライジング処理を説明する図であり、図3(a)高域成分の減衰を説明する図。図3(b)は中域成分の減衰を説明する図、図3(c)波低域成分の減衰を説明する図である。 FIG. 3 is a diagram for explaining equalizing processing including cross fading, and FIG. 3 (a) is a diagram for explaining attenuation of a high frequency component. FIG. 3B is a diagram for explaining the attenuation of the mid-frequency component, and FIG. 3C is a diagram for explaining the attenuation of the wave low-frequency component.
イコライジング処理は、バスドラムの音などのビート楽器の周波数帯域(略200Hz以下の帯域)のレベルを減衰させる処理である。減衰させる処理に際して、前記周波数帯域を完全に減衰させてしてしまうと軽すぎる音色となる。このため、−24dB程度を減衰レベルの上限とし、ミキシングされるもうひとつのデータとの低域レベルの総和が0dB未満となるレベルを保ちながら、再生中の曲は0dBから徐々に減衰を大きくするように、次に再生する曲は大きな減衰から徐々に0dBへと減衰がなくなるように、それぞれのイコライジング処理の程度を調整する。 The equalizing process is a process for attenuating the level of a beat instrument frequency band (approximately 200 Hz or less) such as a bass drum sound. In the attenuation process, if the frequency band is completely attenuated, the tone becomes too light. For this reason, the upper limit of the attenuation level is set to about −24 dB, and the attenuation of the music being played is gradually increased from 0 dB while maintaining the level where the sum of the low frequency level with the other data to be mixed is less than 0 dB. As described above, the degree of equalizing processing is adjusted so that the music to be reproduced next is gradually attenuated from a large attenuation to 0 dB.
図3の例では、高域および中域のオーディオ信号については、クロスフェード時間に比例して直線的に低域の減衰レベルを変化させる。また、低域のオーディオ信号については、低域成分の合計レベルを、中域成分の合計レベルおよび高域成分の合計レベルよりも小になるように設定し、再生されるビート成分を抑制する。これにより、ビート成分のずれに伴う不快感を抑制することができる。なお、イコライジングのレベルの変化のさせ方は、図3(c)に示すような曲線だけでなく、直線またはクロスフェード時間中、全て一定レベルに減衰させる処理であっても良い。 In the example of FIG. 3, for the high frequency and mid frequency audio signals, the low level attenuation level is linearly changed in proportion to the crossfade time. For the low-frequency audio signal, the total level of the low-frequency components is set to be lower than the total level of the mid-frequency components and the total level of the high-frequency components, and the reproduced beat components are suppressed. Thereby, the discomfort accompanying the shift | offset | difference of a beat component can be suppressed. Note that the method of changing the equalizing level is not limited to a curve as shown in FIG. 3C, but may be a process in which the level is all attenuated to a constant level during a straight line or crossfade time.
以上説明したように、本実施形態によれば、先に再生する曲および次に再生する曲にクロスフェード処理を施して、曲と曲の間を途切れさせることなく連続して再生するに際して、双方の曲に対して、そのビート楽器の周波数帯域である低域部分にイコライジング処理を施して、そのレベルを減衰させた上で、クロスフェード処理を施す。このため、先に再生する曲と次に再生する曲のビートパターンが異なっていてもユーザに不快感を与えることなく再生を継続することができる。 As described above, according to the present embodiment, when a song to be played first and a song to be played next are subjected to cross-fading processing and are continuously played without interruption between songs, Is subjected to an equalizing process on the low frequency portion of the beat musical instrument to attenuate the level, and then subjected to a crossfade process. For this reason, even if the beat pattern of the music to be reproduced first and the music to be reproduced next are different, the reproduction can be continued without causing discomfort to the user.
1 制御部
2 記憶部
3 第1のバッファ
4 第2のバッファ
5 演算部
6 第3のバッファ
5 演算部
7 出力部
8 メモリ
9 操作部
DESCRIPTION OF
Claims (3)
記憶部から後に再生する曲を読み出して記憶する第2のバッファと、
前記第1のバッファに記憶した曲にフェードアウト処理を施し、前記第2のバッファに記憶された曲にフェードイン処理を施し、前記フェードアウト処理およびフェードイン処理を施した曲を加算して第3のバッファに記憶する演算部と、
前記第3のバッファに記憶された曲を出力する出力部と、
前記第1のバッファ、第2のバッファ、演算部、および出力部を制御する制御部を備え、 前記制御部は、前記フェードイン処理およびフェードアウト処理を行う際、前記先に再生する曲および後に再生する曲の低域成分の合計レベルを、中域成分の合計レベルおよび高域成分の合計レベルよりも小になるように設定し、再生されるビート成分を抑制することを特徴とする音楽再生装置。 A first buffer for reading and storing a song to be played first from the storage unit;
A second buffer for reading and storing a song to be played later from the storage unit;
The music stored in the first buffer is faded out, the music stored in the second buffer is faded in, and the music subjected to the fade-out processing and the fade-in processing is added to add a third An arithmetic unit to be stored in the buffer;
An output unit for outputting the music stored in the third buffer;
A control unit that controls the first buffer, the second buffer, a calculation unit, and an output unit, wherein the control unit plays the first song and the later song when performing the fade-in process and the fade-out process; A music playback device characterized in that the total level of the low frequency components of the music to be played is set to be lower than the total level of the mid frequency components and the total level of the high frequency components, and the beat component to be played back is suppressed .
前記先に再生する曲および後に再生する曲の低域成分は、前記曲のビート楽器の周波数帯域成分であることを特徴とする音楽再生装置。 The music playback device according to claim 1, wherein
The music reproducing apparatus according to claim 1, wherein the low frequency components of the first and subsequent music are the frequency band components of the beat musical instrument of the music.
前記フェードアウト処理は、第1のバッファに記憶した曲の再生残り時間が予め設定した時間になったとき開始することを特徴とする音楽再生装置。 The music playback device according to claim 1, wherein
The fade-out process is started when the remaining reproduction time of the song stored in the first buffer reaches a preset time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006201893A JP2008027552A (en) | 2006-07-25 | 2006-07-25 | Music reproducing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006201893A JP2008027552A (en) | 2006-07-25 | 2006-07-25 | Music reproducing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008027552A true JP2008027552A (en) | 2008-02-07 |
Family
ID=39118021
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006201893A Pending JP2008027552A (en) | 2006-07-25 | 2006-07-25 | Music reproducing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008027552A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014202892A (en) * | 2013-04-04 | 2014-10-27 | パイオニア株式会社 | Acoustic equipment |
CN105843561A (en) * | 2016-04-25 | 2016-08-10 | 浪潮(北京)电子信息产业有限公司 | Storage space buffer method and device |
WO2018029740A1 (en) * | 2016-08-08 | 2018-02-15 | パイオニア株式会社 | Playback device and playback method |
-
2006
- 2006-07-25 JP JP2006201893A patent/JP2008027552A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014202892A (en) * | 2013-04-04 | 2014-10-27 | パイオニア株式会社 | Acoustic equipment |
CN105843561A (en) * | 2016-04-25 | 2016-08-10 | 浪潮(北京)电子信息产业有限公司 | Storage space buffer method and device |
CN105843561B (en) * | 2016-04-25 | 2018-11-16 | 浪潮(北京)电子信息产业有限公司 | A kind of way to play for time and device of memory space |
WO2018029740A1 (en) * | 2016-08-08 | 2018-02-15 | パイオニア株式会社 | Playback device and playback method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100283134B1 (en) | Karaoke apparatus and method for generating speech effects matching music | |
JP2008065039A (en) | Audio playback device | |
JP5919683B2 (en) | Multi-track recorder device | |
White | Basic mixing techniques | |
JP2008209903A (en) | Reproduction device, reproduction method and reproduction program | |
JP2004240077A (en) | Musical tone controller, video controller and program | |
JP2008027552A (en) | Music reproducing device | |
US10688393B2 (en) | Sound engine for video games | |
JP6171503B2 (en) | Audio equipment | |
JP2010113278A (en) | Music processing device and program | |
JP2007089896A (en) | Music player and music playing back program | |
JP4107212B2 (en) | Music playback device | |
JP2013046661A (en) | Music switching device in game machine | |
JP3908719B2 (en) | Karaoke device, singing ability determination method, and program | |
JP3731470B2 (en) | Waveform data generation method, waveform data generation apparatus, and recording medium | |
TW200304124A (en) | Audio frequency shifting during video trick modes | |
JP4089713B2 (en) | Waveform data reproducing apparatus and recording medium | |
JP2003058192A (en) | Music data reproducing device | |
JP3123908U (en) | A way to appreciate contemporary music with the sound quality of the era before CDs spread | |
JP2007257771A (en) | Reproducing device, reproducing method, program, and recording medium | |
JP4216312B2 (en) | Karaoke device, singing ability determination method, and program | |
JP2013105085A (en) | Information processing program, information processing device, information processing system, and information processing method | |
JP3432771B2 (en) | Karaoke equipment | |
JP2008003269A (en) | Musical piece connection device | |
JP2004290501A (en) | Music performance control method for video game, program, storage medium, and game device |