JP2021085952A - Music playback device, music playback method and music playback program - Google Patents
Music playback device, music playback method and music playback program Download PDFInfo
- Publication number
- JP2021085952A JP2021085952A JP2019213761A JP2019213761A JP2021085952A JP 2021085952 A JP2021085952 A JP 2021085952A JP 2019213761 A JP2019213761 A JP 2019213761A JP 2019213761 A JP2019213761 A JP 2019213761A JP 2021085952 A JP2021085952 A JP 2021085952A
- Authority
- JP
- Japan
- Prior art keywords
- beat
- playback
- change
- closest
- nearest
- 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
Abstract
Description
本発明は、音楽等を再生する音楽再生装置、音楽再生方法、及び、音楽再生プログラムに関する。 The present invention relates to a music playback device for playing music and the like, a music playback method, and a music playback program.
音楽等を再生する音楽再生装置(オーディオプレイヤー)には、ユーザーが、楽曲の再生地点を、所望の地点まで移動させることができる、シーク機能を有するものがある。ユーザーは、このシーク機能を再生中にも利用できるのが一般的である。しかしながら、ユーザーが、再生中にシークを行うと、突然、ユーザー所望の地点に再生が飛ぶため、再生中の音楽がぶつ切り、言い換えれば、繋がりを欠くという問題があった。なお、特許文献1には、コンテンツのシーク再生について記載されている。 Some music playback devices (audio players) that play music or the like have a seek function that allows the user to move the playback point of the music to a desired point. The user generally can use this seek function even during playback. However, when the user seeks during playback, the playback suddenly jumps to a point desired by the user, so that the music being played is cut off, in other words, there is a problem that the connection is lost. In addition, Patent Document 1 describes seek reproduction of contents.
上述したように、楽曲の再生中に、再生位置が変更となると、楽曲再生が繋がりを欠くという問題がある。 As described above, if the playback position is changed during the playback of the music, there is a problem that the music playback is not connected.
本発明の目的は、楽曲の再生中に再生位置が変更となっても、違和感のない再生を可能とすることである。 An object of the present invention is to enable a comfortable reproduction even if the reproduction position is changed during the reproduction of the music.
第1の発明の音楽再生装置は、現在の再生位置から最も近い拍である、再生最寄拍を求め、変更を受け付けた再生位置から最も近い拍である、変更最寄拍を求め、変更最寄拍から最も近い、再生最寄拍と同じ小節内の位置にある拍である、変更候補拍を求め、現在の再生位置から再生最寄拍までの距離を求め、求めた距離を、変更候補拍から差し引いた位置を、変更後の再生位置とすることを特徴とする。 The music playback device of the first invention finds the nearest beat to be played, which is the closest beat from the current playback position, finds the nearest beat to be played, which is the closest beat to the playback position where the change is accepted, and finds the nearest beat to be changed. Find the change candidate beat, which is the beat closest to the beat and located in the same bar as the playback nearest beat, find the distance from the current playback position to the playback nearest beat, and set the found distance as the change candidate. The feature is that the position subtracted from the beat is used as the changed playback position.
本発明では、変更最寄拍から最も近い、再生最寄拍と同じ小節内の位置にある、変更候補拍が求められる。そして、現在の再生位置から再生最寄拍までの距離が求められ、求められた距離が、変更候補拍から差し引いた位置が、変更位置とされる。このため、現在の再生位置と、変更後の再生位置と、が揃う。これにより、楽曲の再生中に再生位置が変更となっても、違和感のない再生を行うことができる。 In the present invention, a change candidate beat that is closest to the change nearest beat and is located in the same bar as the reproduction nearest beat is required. Then, the distance from the current reproduction position to the nearest reproduction beat is obtained, and the position where the obtained distance is subtracted from the change candidate beat is defined as the change position. Therefore, the current playback position and the changed playback position are aligned. As a result, even if the reproduction position is changed during the reproduction of the music, the reproduction can be performed without a sense of discomfort.
第2の発明の音楽再生装置は、第1の発明の音楽再生装置において、更に、楽曲の再生中に、再生位置の変更を受け付けることを特徴とする。 The music playback device of the second invention is characterized in that the music playback device of the first invention further accepts a change in the playback position during the playback of a musical piece.
第3の発明の音楽再生装置は、第2の発明の音楽再生装置において、楽曲の再生中に、再生位置の変更を受け付けた場合に、再生最寄拍を求めることを特徴とする。 The music playback device of the third invention is characterized in that, in the music playback device of the second invention, when a change in the playback position is received during the playback of a musical piece, the nearest playback beat is obtained.
第4の発明の音楽再生装置は、第1〜第3のいずれかの発明の音楽再生装置において、更に、楽曲内に存在する拍の位置を求めることを特徴とする。 The music playback device of the fourth invention is characterized in that, in the music playback device of any one of the first to third inventions, the position of a beat existing in the music is further determined.
第5の発明の音楽再生装置は、第1〜第4のいずれかの発明の音楽再生装置において、更に、再生最寄拍が、ファイル開始位置から、何番目の拍であるかを求めることを特徴とする。 The music playback device of the fifth invention further determines, in the music playback device of any one of the first to fourth inventions, which beat the nearest playback beat is from the file start position. It is a feature.
第6の発明の音楽再生装置は、第5の発明の音楽再生装置において、更に、任意の拍数で剰余演算を行って、再生最寄拍の小節内の位置を推定することを特徴とする。 The music playback device of the sixth invention is characterized in that, in the music playback device of the fifth invention, the remainder calculation is further performed at an arbitrary number of beats to estimate the position of the nearest beat to be played in the bar. ..
第7の発明の音楽再生装置は、第1〜第6のいずれかの発明の音楽再生装置において、更に、変更最寄拍が、ファイル開始位置から、何番目の拍であるかを求めることを特徴とする。 The music playback device of the seventh invention further determines, in the music playback device of any one of the first to sixth inventions, which beat the change nearest beat is from the file start position. It is a feature.
第8の発明の音楽再生装置は、第7の発明の音楽再生装置において、更に、任意の拍数で剰余演算を行って、変更最寄拍の小節内の位置を推定することを特徴とする。 The music playback device of the eighth invention is characterized in that, in the music playback device of the seventh invention, the remainder calculation is further performed at an arbitrary number of beats to estimate the position of the changed nearest beat in the bar. ..
第9の発明の音楽再生装置は、第1〜第8のいずれかの発明の音楽再生装置において、変更後の再生位置から再生を再開することを特徴とする。 The music playback device of the ninth invention is characterized in that, in the music playback device of any one of the first to eighth inventions, playback is restarted from the changed playback position.
第10の発明の音楽再生方法は、現在の再生位置から最も近い拍である、再生最寄拍を求め、変更を受け付けた再生位置から最も近い拍である、変更最寄拍を求め、変更最寄拍から最も近い、再生最寄拍と同じ小節内の位置にある拍である、変更候補拍を求め、現在の再生位置から再生最寄拍までの距離を求め、求めた距離を、変更候補拍から差し引いた位置を、変更後の再生位置とすることを特徴とする。 In the music reproduction method of the tenth invention, the nearest beat to be reproduced, which is the closest beat from the current reproduction position, is obtained, and the nearest beat to be changed, which is the nearest beat from the reproduction position where the change is accepted, is obtained, and the most modified beat is obtained. Find the change candidate beat, which is the beat closest to the beat and located in the same bar as the playback nearest beat, find the distance from the current playback position to the playback nearest beat, and set the found distance as the change candidate. The feature is that the position subtracted from the beat is used as the changed playback position.
第11の発明の音楽再生プログラムは、現在の再生位置から最も近い拍である、再生最寄拍を求め、変更を受け付けた再生位置から最も近い拍である、変更最寄拍を求め、変更最寄拍から最も近い、再生最寄拍と同じ小節内の位置にある拍である、変更候補拍を求め、現在の再生位置から再生最寄拍までの距離を求め、求めた距離を、変更候補拍から差し引いた位置を、変更後の再生位置とすることを実行させる。 The music playback program of the eleventh invention finds the nearest beat to be played, which is the closest beat from the current playback position, finds the nearest beat to be played, which is the closest beat to the playback position where the change is accepted, and finds the nearest beat to be changed. Find the change candidate beat, which is the beat closest to the beat and located in the same bar as the playback nearest beat, find the distance from the current playback position to the playback nearest beat, and set the found distance as the change candidate. The position subtracted from the beat is set as the changed playback position.
本発明によれば、楽曲の再生中に再生位置が変更となっても、違和感のない再生を行うことができる。 According to the present invention, even if the reproduction position is changed during the reproduction of the music, the reproduction can be performed without a sense of discomfort.
以下、本発明の実施形態について説明する。図1は、本実施形態に係るデジタルオーディオプレーヤー(以下、「DAP」という。)1の構成を示すブロック図である。図1に示すように、DAP1(音楽再生装置)は、CPU2、記憶部3、表示部4、操作部5、DSP6、D/Aコンバーター(以下、「DAC」という。)7、増幅回路8、無線モジュール9、USBインターフェース(以下、「USB I/F」という。)10を備える。DAP1には、ヘッドホン101が接続される。
Hereinafter, embodiments of the present invention will be described. FIG. 1 is a block diagram showing a configuration of a digital audio player (hereinafter, referred to as “DAP”) 1 according to the present embodiment. As shown in FIG. 1, the DAP 1 (music playback device) includes a
CPU(Central Processing Unit)2(制御部)は、制御プログラム、OSプログラム、音楽再生プログラムPを含むアプリケーションプログラムに従って、DAP1を構成する各部を制御する。記憶部3は、CPU2の主メモリとして機能するRAM(Random Access Memory)、制御プログラムを記憶するROM(Read Only Memory)、OSプログラム、音楽再生プログラムPを含むアプリケーションプログラム等のプログラム、デジタルオーディオデータ等の各種データを記憶するフラッシュメモリから構成されている。なお、記憶部3は、例示する構成に限られず、HDD(Hard Disk Drive)等を含んでいてもよい。
The CPU (Central Processing Unit) 2 (control unit) controls each unit constituting the DAP 1 according to an application program including a control program, an OS program, and a music playback program P. The
表示部4は、電源のオン/オフ等を表示するLED、種々の画像(静止画像、動画像を含む)を表示する液晶パネル等から、構成されている。操作部5は、各種設定を行うための操作キー、及び、表示部4と連動したタッチパネルを備えている。ユーザーは、操作部5を介して、各種の文字入力、設定、シークの指示等を行うことが可能である。DSP(Digital Signal Processor)6は、デジタルオーディオデータに、イコライザー処理等の信号処理を行う。DAC7は、デジタルオーディオデータをアナログオーディオデータにD/A変換する。増幅回路8は、DAC7がD/A変換したアナログオーディオデータを増幅し、ヘッドホン101に出力する。ヘッドホン101は、増幅回路8が出力したアナログオーディオデータに基づいて、音声を出力する。
The
無線モジュール9は、Bluetooth(登録商標)規格、Wi-Fi規格に従った無線通信を行うためのものである。なお、音声を再生するためのデジタルオーディオデータは、記憶部3に記憶されているデータであってもよいし、無線モジュール9を介して、外部の機器から送信されるデータであってもよい。USB I/F10は、USB規格に従った通信を行うためのものである。
The
DAP1は、楽曲の再生中に、楽曲の再生位置の変更(指定)を受け付け、受け付けた再生位置から再生を再開するシーク機能を有する。ユーザーは、操作部5から、再生位置の変更(指定)を行うことができる。
The DAP1 has a seek function of accepting a change (designation) of the reproduction position of the music during the reproduction of the music and restarting the reproduction from the accepted reproduction position. The user can change (designate) the playback position from the
本実施形態では、楽曲の再生中に再生位置が変更となっても、違和感のない再生を可能とするため、CPU2は、楽曲を解析して、拍位置情報を算出し、楽曲の再生中に、楽曲の再生位置の変更(シーク)を受け付けた場合、算出した拍位置情報に基づいて、再生開始位置(シーク先の地点)を補正する。
In the present embodiment, even if the playback position is changed during the playback of the music, the
図2は、DAP1のシーク時の処理動作を説明するための図である。
(1)CPU2は、楽曲内に存在する拍の位置を求める。なお、拍位置を求めることは、既存技術である。
(2)CPU2は、楽曲の再生位置の変更(シーク)を受け付けた場合、現在の再生位置(再生地点)から最も近い(最寄りとなる)拍(再生最寄拍)を求め、小節内の位置を推定する。なお、ここで、「最も近い」とは、時間的に最も近いことを意味する。
(3)CPU2は、変更を受け付けた再生位置(指定(先の)地点)から最も近い(最寄りとなる)拍(変更最寄拍)を求め、小節内の位置を推定する。
(4)CPU2は、(3)で求めた拍(変更最寄拍)から最も近い(2)と同じ拍(変更候補拍)を探す。すなわち、CPU2は、変更最寄拍から最も近い、再生最寄拍と同じ小節内の位置にある拍である、変更候補拍を求める。
(5)CPU2は、変更を受け付ける前の再生位置(再生地点)と(2)で利用した最も近い拍(再生最寄拍)までの距離を求め、(3)から差し引いた位置を、再生の再開位置(シーク地点)とする。すなわち、CPU2は、現在の再生位置から再生最寄拍までの距離を求め、求めた距離を、変更候補拍から差し引いた位置を、変更後の再生位置とする。
FIG. 2 is a diagram for explaining a processing operation at the time of seeking of DAP1.
(1) The
(2) When the
(3) The
(4) The
(5) The
CPU2は、変更後の再生位置から再生を再開する。
The
以下、DAP1のシーク時の処理動作を、図3に示すフローチャートに基づいて説明する。CPU2は、再生楽曲について、既存の拍位置検出アルゴリズムを実行し、拍位置を求める(S1)。次に、ユーザーは、音楽再生をDAP1に開始させるために、再生ボタン等を操作し、CPU2は、ユーザーによる再生ボタンの操作等を受け付け、音楽再生を開始する(S2)。次に、ユーザーは、シークをDAP1に実施させるために、任意のシーク地点をシークバー等で指定し、CPU2は、ユーザーによるシークバーの移動によるシーク地点の指定を受け付ける(S3)。
Hereinafter, the processing operation at the time of seeking of DAP1 will be described with reference to the flowchart shown in FIG. The
次に、CPU2は、現在の再生地点から、最寄りとなる拍(再生最寄拍)を求める(S4)。次に、CPU2は、S4で求めた拍が、ファイルの開始位置から、何番目の拍であるかを求め、小節内の位置を推定するために、任意の拍数で、剰余演算を行う(S5)。拍数は、例えば、4拍子の曲を想定して、8拍、16拍等にしたり、既存の拍子検出アルゴリズムを用いることで、楽曲毎に、動的にその拍子数の倍数を用いたりする。次に、CPU2は、S3で指定された先の地点から、最寄りとなる拍(変更最寄拍)を求める(S6)。次に、CPU2は、S6で求めた拍が、ファイルの開始位置から何番目の拍であるかを求め、小節内の位置を推定するために、任意の拍数で剰余演算を行う(S7)。
Next, the
次に、CPU2は、S7で求めた拍から一番近い所にあるS5で求めた拍数の地点(変更候補拍)を探す(S8)。次に、CPU2は、再生地点とS4で求めた最寄りとなる拍(再生最寄拍)までの距離を求める(S9)。次に、CPU2は、S8で求めた拍数の地点(変更候補拍)から、S9で求めた距離を差し引いた地点を、シーク地点(変更後の再生位置)とする(S10)。
Next, the
以上説明したように、本実施形態では、更最寄拍から最も近い、再生最寄拍と同じ小節内の位置にある、変更候補拍が求められる。そして、現在の再生位置から再生最寄拍までの距離が求められ、求められた距離が、変更候補拍から差し引いた位置が、変更位置とされる。このため、現在の再生位置と、変更後の再生位置と、が揃う。これにより、楽曲の再生中に再生位置が変更となっても、違和感のない再生を行うことができる。言い換えれば、再生中にシークが行った際に生じる、音楽がぶつ切りになる違和感を緩和することができる。 As described above, in the present embodiment, a change candidate beat that is closest to the further nearest beat and is located in the same bar as the reproduction nearest beat is required. Then, the distance from the current reproduction position to the nearest reproduction beat is obtained, and the position where the obtained distance is subtracted from the change candidate beat is defined as the change position. Therefore, the current playback position and the changed playback position are aligned. As a result, even if the reproduction position is changed during the reproduction of the music, the reproduction can be performed without a sense of discomfort. In other words, it is possible to alleviate the discomfort that occurs when the seek is performed during playback, which causes the music to be chopped.
以上、本発明の実施形態について説明したが、本発明を適用可能な形態は、上述の実施形態には限られるものではなく、以下に例示するように、本発明の趣旨を逸脱しない範囲で適宜変更を加えることが可能である。 Although the embodiments of the present invention have been described above, the embodiments to which the present invention can be applied are not limited to the above-described embodiments, and as illustrated below, appropriate as long as the gist of the present invention is not deviated. It is possible to make changes.
上述の実施形態においては、DAP1に音楽再生プログラムPがインストールされている場合について説明した。これに限らず、音楽再生装置として機能させる機器として、スマートフォン、タブレットPC、フィーチャーフォン、携帯メディアプレーヤー、携帯ゲーム機、スピーカー装置等であってもよい。 In the above-described embodiment, the case where the music playback program P is installed in DAP1 has been described. Not limited to this, the device that functions as a music playback device may be a smartphone, a tablet PC, a feature phone, a portable media player, a portable game machine, a speaker device, or the like.
本発明は、音楽等を再生する音楽再生装置、音楽再生方法、及び、音楽再生プログラムに好適に採用され得る。 The present invention can be suitably adopted in a music reproduction device for reproducing music or the like, a music reproduction method, and a music reproduction program.
1 DAP(音楽再生装置)
2 CPU(制御部)
3 記憶部
4 表示部
5 操作部
P 音楽再生プログラム
1 DAP (Music Player)
2 CPU (control unit)
3
Claims (11)
変更を受け付けた再生位置から最も近い拍である、変更最寄拍を求め、
変更最寄拍から最も近い、再生最寄拍と同じ小節内の位置にある拍である、変更候補拍を求め、
現在の再生位置から再生最寄拍までの距離を求め、求めた距離を、変更候補拍から差し引いた位置を、変更後の再生位置とすることを特徴とする音楽再生装置。 Find the closest beat to the playback position, which is the closest beat to the current playback position.
Find the closest beat to the change, which is the closest beat to the playback position where the change was accepted.
Find the change candidate beat, which is the beat closest to the change nearest beat and located in the same bar as the playback nearest beat.
A music playback device characterized in that the distance from the current playback position to the nearest playback beat is obtained, and the position obtained by subtracting the obtained distance from the change candidate beat is used as the changed playback position.
変更を受け付けた再生位置から最も近い拍である、変更最寄拍を求め、
変更最寄拍から最も近い、再生最寄拍と同じ小節内の位置にある拍である、変更候補拍を求め、
現在の再生位置から再生最寄拍までの距離を求め、求めた距離を、変更候補拍から差し引いた位置を、変更後の再生位置とすることを特徴とする音楽再生方法。 Find the closest beat to the playback position, which is the closest beat to the current playback position.
Find the closest beat to the change, which is the closest beat to the playback position where the change was accepted.
Find the change candidate beat, which is the beat closest to the change nearest beat and located in the same bar as the playback nearest beat.
A music playback method characterized in that the distance from the current playback position to the nearest playback beat is obtained, and the position obtained by subtracting the obtained distance from the change candidate beat is used as the changed playback position.
変更を受け付けた再生位置から最も近い拍である、変更最寄拍を求め、
変更最寄拍から最も近い、再生最寄拍と同じ小節内の位置にある拍である、変更候補拍を求め、
現在の再生位置から再生最寄拍までの距離を求め、求めた距離を、変更候補拍から差し引いた位置を、変更後の再生位置とすることを実行させるための音楽再生プログラム。 Find the closest beat to the playback position, which is the closest beat to the current playback position.
Find the closest beat to the change, which is the closest beat to the playback position where the change was accepted.
Find the change candidate beat, which is the beat closest to the change nearest beat and located in the same bar as the playback nearest beat.
A music playback program for finding the distance from the current playback position to the nearest beat to play, and setting the position obtained by subtracting the found distance from the change candidate beat as the changed playback position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019213761A JP2021085952A (en) | 2019-11-27 | 2019-11-27 | Music playback device, music playback method and music playback program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019213761A JP2021085952A (en) | 2019-11-27 | 2019-11-27 | Music playback device, music playback method and music playback program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021085952A true JP2021085952A (en) | 2021-06-03 |
Family
ID=76087416
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019213761A Pending JP2021085952A (en) | 2019-11-27 | 2019-11-27 | Music playback device, music playback method and music playback program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021085952A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024024105A1 (en) * | 2022-07-29 | 2024-02-01 | AlphaTheta株式会社 | Sound reproduction device, program, and reproduction control method |
-
2019
- 2019-11-27 JP JP2019213761A patent/JP2021085952A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024024105A1 (en) * | 2022-07-29 | 2024-02-01 | AlphaTheta株式会社 | Sound reproduction device, program, and reproduction control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5856525B2 (en) | System and program for music playback control | |
JP2015026069A (en) | Program for implementing display recording method for recording audio correspondingly to display contents, the display recording method and display recording device | |
JP6717940B2 (en) | Audio file rerecording method, device and storage medium | |
JP2019158933A (en) | Audio reproduction apparatus, controller and control method | |
JP2021085952A (en) | Music playback device, music playback method and music playback program | |
US8032241B2 (en) | Apparatus for playing back audio files and method of navigating through audio files using the apparatus | |
WO2020133376A1 (en) | Multimedia information processing method, devices, electronic equipment and computer-readable storage medium | |
WO2015078923A1 (en) | Interactive media system | |
US9087503B2 (en) | Sampling device and sampling method | |
JP2017181724A (en) | Musical score display control method, musical score display control unit, and musical score display control program | |
JP5485641B2 (en) | Program and information storage medium | |
US9202447B2 (en) | Persistent instrument | |
JP2014202892A (en) | Acoustic equipment | |
JP2013046661A (en) | Music switching device in game machine | |
JP2012217083A (en) | Volume control apparatus and volume control method | |
US10981063B2 (en) | Video game processing apparatus and video game processing program product | |
KR102112048B1 (en) | An electronic device supportting musical instrument performance and a method for controlling the electronic device | |
JP6474292B2 (en) | Karaoke equipment | |
US20050172787A1 (en) | Music reproducing system | |
JP4648707B2 (en) | Program, information storage medium, and game system | |
JP6330619B2 (en) | Music editing apparatus and music editing program | |
KR20080039704A (en) | Portable audio player and controlling method thereof | |
JP2021085951A (en) | Beat detection device, beat detection method and beat detection program | |
JP2012220969A (en) | Terminal device and program | |
JP5217280B2 (en) | Sound processing apparatus and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20210928 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20220701 |