JP2008243345A - Audio device, play list preparing device, and audio playback program - Google Patents

Audio device, play list preparing device, and audio playback program Download PDF

Info

Publication number
JP2008243345A
JP2008243345A JP2007086736A JP2007086736A JP2008243345A JP 2008243345 A JP2008243345 A JP 2008243345A JP 2007086736 A JP2007086736 A JP 2007086736A JP 2007086736 A JP2007086736 A JP 2007086736A JP 2008243345 A JP2008243345 A JP 2008243345A
Authority
JP
Japan
Prior art keywords
audio
audio file
area
track
time
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.)
Granted
Application number
JP2007086736A
Other languages
Japanese (ja)
Other versions
JP4957326B2 (en
Inventor
Shuntaro Kashi
俊太郎 樫
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.)
Onkyo Corp
Original Assignee
Onkyo 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 Onkyo Corp filed Critical Onkyo Corp
Priority to JP2007086736A priority Critical patent/JP4957326B2/en
Publication of JP2008243345A publication Critical patent/JP2008243345A/en
Application granted granted Critical
Publication of JP4957326B2 publication Critical patent/JP4957326B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To change a melody close to a desired melody as a track is reproduced, also to reduce variation of the melody. <P>SOLUTION: In an audio device, coordinate points Ptr of respective audio files are arranged in an xy coordinate system based on feature quantity in which tempo of a track and sound quality are indexed. Further in the audio device, a vector VC connecting a head track Pstr and a tail track Petr is divided into a plurality of vectors, also a plurality of areas A1 to A24 and sections S1 to S4 arranged in a line in the direction of the vector VC are prepared. Then, tracks are selected from respective sections so that at the section closer to the tail track Petr out of the sections S1 to S4, more tracks are selected. The audio device plays successively the selected plurality of tracks in the ascending order of section number of the track and area number. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、オーディオ装置、プレイリスト作成装置及びオーディオ再生プログラムに関し、さらに詳しくは、複数のオーディオファイルを蓄積可能なオーディオ装置、プレイリスト作成装置及びオーディオ再生プログラムに関する。   The present invention relates to an audio device, a playlist creation device, and an audio playback program, and more particularly to an audio device, a playlist creation device, and an audio playback program that can store a plurality of audio files.

最近、大量のオーディオファイル(以下、トラックという)を格納可能な大容量ハードディスクを備えたオーディオ装置が登場している。これらのオーディオ装置は、大量のトラックからユーザの要望に合ったトラックを連続して再生する仕組みを備える。たとえば、特開2002−55993号公報(特許文献1)に開示されたオーディオ装置では、トラックと、そのトラックのジャンル及び曲調を分類したデータベースを格納し、予め指定されたジャンル及び曲調のトラックを選択して再生する。   Recently, audio devices equipped with a large-capacity hard disk capable of storing a large amount of audio files (hereinafter referred to as tracks) have appeared. These audio apparatuses have a mechanism for continuously reproducing a track that meets a user's request from a large number of tracks. For example, in the audio device disclosed in Japanese Patent Application Laid-Open No. 2002-55993 (Patent Document 1), a track and a database in which the genre and tone of the track are classified are stored, and a track of a genre and tone specified in advance is selected. And play it.

また、各トラックのテンポや音質、リズムといった曲調を解析して音楽的な特徴量として指標化し、指標化された特徴量に基づいてユーザの要望に合ったトラックを選択する技術も種々開発されている。たとえば、特開2006−39704号公報(特許文献2)に開示されたオーディオ装置は、特徴量を軸に持つ座標系に各トラックの座標点を分布した検索空間を作成してディスプレイに表示する。そして、ユーザが検索空間内の所定の範囲を指定することにより、その範囲に含まれるトラックをプレイリストに列挙し、再生する。   In addition, various techniques have been developed to analyze the tone of each track, such as the tempo, sound quality, and rhythm, and index it as a musical feature, and select a track that meets the user's request based on the indexed feature. Yes. For example, the audio apparatus disclosed in Japanese Patent Application Laid-Open No. 2006-39704 (Patent Document 2) creates a search space in which coordinate points of each track are distributed in a coordinate system having a feature amount as an axis, and displays the search space on a display. Then, when the user designates a predetermined range in the search space, the tracks included in the range are listed in the playlist and reproduced.

ところで、就寝時や起床時等に、トラックを連続して再生する場合、トラックを再生するごとに、再生されるトラックの曲調を所望の曲調に変化させるのが好ましい。また、再生初期には、曲調の変化が大きく、再生するにしたがって、曲調の変化が徐々に小さくなるのが好ましい。たとえば、就寝時にトラックを連続して再生する場合、最初は動的(アクティブ)な曲調のトラックを再生しても、トラックを再生するにしたがって、徐々に静的な(落ち着いた)曲調に移行するのが好ましい。さらに、再生初期は動的な曲調から静的な曲調への変化が大きく、かつ、再生末期には曲調の変化が小さく静的な曲調のトラックが連続して再生される方が、就寝時に適する。また、起床時では、最初は静的な曲調のトラックが再生され、トラックを再生するにしたがって、徐々に動的な曲調に移行し、かつ、再生にともなって曲調の変化が小さくなり、再生末期には、動的な曲調のトラックが連続して再生されるのが好ましい。
特開2002−55993号公報 特開2006−39704号公報 実開平6−77082号公報 特開平10−162025号公報
By the way, when a track is reproduced continuously at bedtime or when waking up, it is preferable to change the tone of the reproduced track to a desired tone every time the track is reproduced. Further, the change in tune is large at the beginning of playback, and it is preferable that the change in tune gradually decreases as playback is performed. For example, when playing a track continuously at bedtime, even if a track with a dynamic (active) tone is played at first, the track gradually changes to a static (calm) tone as the track is played. Is preferred. Furthermore, it is better to sleep at the beginning of playback when there is a large change from dynamic to static tones, and at the end of playback there is little change in tones and static tracks are played continuously. . In addition, when waking up, a track with a static tone is played at the beginning, and as the track is played, the track gradually changes to a dynamic tone, and the change in tone decreases with the playback, and the end of playback In this case, it is preferable that a track having a dynamic tone is continuously reproduced.
JP 2002-55993 A JP 2006-39704 A Japanese Utility Model Publication No. 6-77082 Japanese Patent Laid-Open No. 10-162025

本発明の目的は、複数のトラックを再生する場合、トラックを再生するにしたがって、曲調を所望の曲調に近づけ、かつ、再生が進むにつれ、曲調の変化を小さくすることができるオーディオ装置を提供することである。   An object of the present invention is to provide an audio apparatus capable of reducing the change in tune as the playback progresses as the tune is brought closer to a desired tune as the tracks are played back. That is.

課題を解決するための手段及び発明の効果Means for Solving the Problems and Effects of the Invention

本発明によるオーディオ装置は、記憶手段と、配置手段と、区域作成手段と、選択手段と、再生手段とを備える。記憶手段は、複数のオーディオファイルと、オーディオファイルの特徴量とを記憶する。配置手段は、特徴量に基づいて、特徴量に対応する座標軸を有する座標系に、オーディオファイルの座標点を配置する。特定手段は、先頭オーディオファイル及び末尾オーディオファイルを特定する。区域作成手段は、座標系において、先頭オーディオファイルの座標点から末尾オーディオファイルの座標点までを結ぶベクトルを複数に分割し、ベクトル方向に一列に配列される複数の区域を作成する。選択手段は、作成された複数の区域のうち、末尾オーディオファイルの座標点に近い区域ほど、選択されるオーディオファイル数が多くなるように、各区域に含まれる座標点で特定される1又は複数のオーディオファイルを選択する。再生手段は、選択された複数のオーディオファイルを、オーディオファイルの座標点を含む区域が先頭オーディオファイルの座標点に近い順に、順次再生する。ここで、特徴量とは、オーディオファイルのテンポや音質、リズム等に代表される曲調を、数値により指標化したものである。   The audio apparatus according to the present invention comprises storage means, arrangement means, area creation means, selection means, and playback means. The storage means stores a plurality of audio files and feature amounts of the audio files. The arrangement unit arranges the coordinate points of the audio file in a coordinate system having a coordinate axis corresponding to the feature amount based on the feature amount. The specifying means specifies a head audio file and a tail audio file. The area creating means divides a vector connecting the coordinate point of the first audio file to the coordinate point of the last audio file into a plurality of areas in the coordinate system, and creates a plurality of areas arranged in a line in the vector direction. The selection means includes one or more specified by the coordinate points included in each area so that the closer to the coordinate point of the last audio file among the plurality of created areas, the larger the number of audio files to be selected. Select an audio file. The reproduction means sequentially reproduces the plurality of selected audio files in an order in which the area including the coordinate point of the audio file is close to the coordinate point of the head audio file. Here, the feature amount is a numerical index of the tune represented by the tempo, sound quality, rhythm, etc. of the audio file.

本発明によるオーディオ装置は、オーディオファイルを再生するにしたがって、曲調を末尾オーディオファイルの曲調に近づける。さらに、末尾オーディオファイルに近い区域ほど、選択されるオーディオファイル数が多いため、再生初期では曲調の変化が大きいものの、再生するにしたがって、曲調の変化が小さくなる。   The audio device according to the present invention brings the tune closer to that of the last audio file as the audio file is played back. Furthermore, since the number of audio files selected in the area closer to the end audio file is larger, the change in tune is large at the beginning of playback, but the change in tune becomes smaller as playback is performed.

好ましくは、オーディオ装置はさらに、領域作成手段を備える。領域作成手段は、各区域を複数に分割し、ベクトル方向に一列に配列される複数の領域を作成する。再生手段は、選択された複数のオーディオファイルを、オーディオファイルの座標点を含む領域が先頭オーディオファイルの座標点に近い順に、順次再生する。   Preferably, the audio apparatus further includes an area creating unit. The area creating means divides each section into a plurality of areas and creates a plurality of areas arranged in a line in the vector direction. The reproduction means sequentially reproduces the plurality of selected audio files in the order in which the area including the coordinate point of the audio file is close to the coordinate point of the head audio file.

この場合、区間を複数の領域で構成し、先頭オーディオファイルの座標点に近い領域に含まれるオーディオファイルから順番に再生される。そのため、オーディオファイルが再生されるごとに、曲調を末尾ファイルにより正確に近づけることができ、かつ、曲調の変化を除々に小さくすることができる。   In this case, the section is composed of a plurality of areas, and the audio files included in the area close to the coordinate point of the first audio file are reproduced in order. Therefore, every time an audio file is played, the tune can be made closer to the end file more accurately, and the change in tune can be gradually reduced.

好ましくは、記憶手段はさらに、複数のオーディオファイルの各々の再生時間を記憶する。オーディオ装置はさらに、タイマ設定手段と、配分設定手段とを備える。タイマ設定手段は、タイマ時間を設定する。配分設定手段は、各区域の配分時間の合計がタイマ時間以下となり、かつ、複数の区域のうち末尾オーディオファイルの座標点に近い区域ほど、配分時間が長くなるように、各区域の配分時間を設定する。選択手段は、各区域で選択されたオーディオファイルの再生時間の合計が、配分設定手段により設定された配分時間以内となるように、オーディオファイルを選択する。   Preferably, the storage unit further stores a reproduction time of each of the plurality of audio files. The audio device further includes timer setting means and distribution setting means. The timer setting means sets a timer time. The allocation setting means sets the allocation time of each area so that the total allocation time of each area is equal to or less than the timer time, and the allocation time becomes longer for the area closer to the coordinate point of the end audio file among the plurality of areas. Set. The selection means selects the audio file so that the total reproduction time of the audio file selected in each area is within the distribution time set by the distribution setting means.

この場合、タイマ時間に合わせて、各区域からオーディオファイルを選択できる。   In this case, an audio file can be selected from each area according to the timer time.

好ましくは、オーディオ装置はさらに、総再生時間算出手段と、差分演算手段と、曲間時間算出手段とを備える。算出手段は、総再生時間は、選択手段により選択されたオーディオファイルの総再生時間を算出する。差分演算手段は、タイマ時間と選択されたオーディオファイルの総再生時間との差分値を算出する。曲間時間算出手段は、差分値と、選択されたオーディオファイル数とに基づいて、曲間時間を算出する。再生手段は、オーディオファイルの再生を完了した後、曲間時間が経過してから次のオーディオファイルを再生する。   Preferably, the audio apparatus further includes a total reproduction time calculation unit, a difference calculation unit, and an inter-song time calculation unit. The calculation means calculates the total reproduction time of the audio file selected by the selection means as the total reproduction time. The difference calculation means calculates a difference value between the timer time and the total playback time of the selected audio file. The inter-music time calculating means calculates the inter-music time based on the difference value and the number of selected audio files. The reproduction means reproduces the next audio file after the inter-song time has elapsed after completing the reproduction of the audio file.

この場合、タイマ時間の終了とともに、選択されたオーディオファイルの再生を全て完了することができる。   In this case, the reproduction of the selected audio file can be completed with the end of the timer time.

好ましくは、特定手段は、オーディオファイルが再生中であるとき、再生中のオーディオファイルを先頭オーディオファイルに特定する。   Preferably, when the audio file is being played back, the specifying unit specifies the audio file being played back as the first audio file.

この場合、オーディオファイルを再生中であっても、再生中のオーディオファイルから末尾オーディオファイルの曲調に近づくように、オーディオファイルを順次再生することができる。   In this case, even when the audio file is being reproduced, the audio file can be sequentially reproduced so as to approach the tone of the tail audio file from the audio file being reproduced.

本発明によるプレイリスト作成装置は、複数のオーディオファイルが列挙されたプレイリストに基づいてオーディオファイルを再生するためのプレイリストを作成する。プレイリスト作成装置は、取得手段と、配置手段と、特定手段と、区域作成手段と、選択手段と、プレイリスト作成手段とを備える。取得手段は、複数のオーディオファイルの特徴量を取得する。配置手段は、特徴量に基づいて、特徴量に対応する座標軸を有する座標系に、オーディオファイルの座標点を配置する。特定手段は、先頭オーディオファイル及び末尾オーディオファイルを特定する。区域作成手段は、座標系において、先頭オーディオファイルの座標点から末尾オーディオファイルの座標点までを結ぶベクトルを複数に分割し、ベクトル方向に一列に配列される複数の区域を作成する。選択手段は、作成された複数の区域のうち、末尾オーディオファイルの座標点に近い区域ほど、選択されるオーディオファイル数が多くなるように、各区域に含まれる座標点で特定される1又は複数のオーディオファイルを選択する。プレイリスト作成手段は、選択された複数のオーディオファイルを、オーディオファイルの座標点を含む区域が先頭オーディオファイルの座標点に近い順に再生されるように、選択された複数のオーディオファイルを列挙したプレイリストを作成する。   The playlist creation device according to the present invention creates a playlist for playing back an audio file based on a playlist in which a plurality of audio files are listed. The playlist creation device includes an acquisition unit, an arrangement unit, an identification unit, a zone creation unit, a selection unit, and a playlist creation unit. The acquisition unit acquires feature amounts of a plurality of audio files. The arrangement unit arranges the coordinate points of the audio file in a coordinate system having a coordinate axis corresponding to the feature amount based on the feature amount. The specifying means specifies a head audio file and a tail audio file. The area creating means divides a vector connecting the coordinate point of the first audio file to the coordinate point of the last audio file into a plurality of areas in the coordinate system, and creates a plurality of areas arranged in a line in the vector direction. The selection means includes one or more specified by the coordinate points included in each area so that the closer to the coordinate point of the last audio file among the plurality of created areas, the larger the number of audio files to be selected. Select an audio file. The playlist creation means enumerates a plurality of selected audio files so that the selected audio files are played in the order in which the area including the coordinate point of the audio file is close to the coordinate point of the first audio file. Create a list.

本発明によるプレイリスト作成装置は、上述のプレイリストを作成する。そのため、プレイリストに基づいて再生する場合、オーディオファイルが再生されるにしたがって、曲調が末尾オーディオファイルの曲調に近づく。さらに、末尾オーディオファイルに近い区域ほど、選択されるオーディオファイル数が多いため、オーディオファイルが再生されるにしたがって、曲調の変化が除々に小さくなる。   The playlist creation apparatus according to the present invention creates the above-described playlist. Therefore, when reproducing based on a playlist, the tune approaches the tune of the last audio file as the audio file is played. Furthermore, since the number of audio files to be selected is larger in the area closer to the end audio file, the change in tune gradually becomes smaller as the audio file is played back.

好ましくは、プレイリスト作成装置はさらに、領域作成手段を備える。領域作成手段は、各区域を複数に分割し、ベクトル方向に配列される複数の領域を作成する。プレイリスト作成手段は、選択された複数のオーディオファイルが、オーディオファイルの座標点を含む領域が先頭オーディオファイルの座標点に近い順に再生されるように、選択された複数のオーディオファイルをプレイリストに列挙する。   Preferably, the playlist creation device further includes area creation means. The area creating means divides each section into a plurality of areas and creates a plurality of areas arranged in the vector direction. The playlist creation means adds the selected audio files to the playlist so that the selected audio files are played in the order in which the area including the coordinate point of the audio file is close to the coordinate point of the first audio file. Enumerate.

この場合、区間を複数の領域で構成し、先頭オーディオファイルの座標点に近い領域に含まれるオーディオファイルから順番に再生される。そのため、オーディオファイルが再生されるごとに、曲調を末尾ファイルにより正確に近づけることができ、かつ、曲調の変化を除々に小さくすることができる。   In this case, the section is composed of a plurality of areas, and the audio files included in the area close to the coordinate point of the first audio file are reproduced in order. Therefore, every time an audio file is played, the tune can be made closer to the end file more accurately, and the change in tune can be gradually reduced.

本発明によるオーディオ再生プログラムは、複数のオーディオファイルとオーディオファイルの特徴量とを記憶するコンピュータが実行可能なプログラムであり、コンピュータを上述のオーディオ装置として機能させる。   The audio reproduction program according to the present invention is a program that can be executed by a computer that stores a plurality of audio files and feature amounts of the audio file, and causes the computer to function as the above-described audio device.

以下、図面を参照し、本発明の実施の形態を詳しく説明する。図中同一又は相当部分には同一符号を付してその説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.

[全体構成]
図1を参照して、オーディオ装置1は、中央演算処理装置(CPU)11と、メモリ12と、ハードディスクドライブ(HDD)13と、入力部14と、D/Aコンバータ15と、スピーカ16とを備える。
[overall structure]
Referring to FIG. 1, audio device 1 includes a central processing unit (CPU) 11, a memory 12, a hard disk drive (HDD) 13, an input unit 14, a D / A converter 15, and a speaker 16. Prepare.

入力部14は、ユーザにより選択されたコマンドを受け付ける。入力部14はたとえば、キーボードやマウス、操作キーボタン等である。   The input unit 14 receives a command selected by the user. The input unit 14 is, for example, a keyboard, a mouse, an operation key button or the like.

HDD13は、複数のオーディオファイル(以下、トラックという)を蓄積する。HDD13はさらに、複数のトラックに関する情報を含むトラックテーブルを記憶する。トラックテーブルは、図2に示すとおり、トラックの識別子であるトラックIDと、トラックの再生時間と、トラックの特徴量とを含む。特徴量は、そのトラックのテンポや音質、リズムといった特徴を指標化したものであり、たとえば、トラックのオーディオ信号を分析することにより得られる。本実施の形態では、特徴量は、図2に示すとおり、テンポ値及び音質値の2種類である。各特長量は、最大値を+100、最小値を−100として、指標化される。テンポ値が大きいほど曲調は動的(アクティブな曲調)であり、テンポ値が小さいほど曲調は静的(落ち着いた曲調)である。また、音質値が小さいほど曲調はハードであり、音質値が大きいほど曲調はソフトである。   The HDD 13 stores a plurality of audio files (hereinafter referred to as tracks). The HDD 13 further stores a track table including information on a plurality of tracks. As shown in FIG. 2, the track table includes a track ID, which is a track identifier, a track reproduction time, and a track feature amount. The feature amount is an index of features such as the tempo, sound quality, and rhythm of the track, and can be obtained, for example, by analyzing the audio signal of the track. In the present embodiment, there are two types of feature amounts, a tempo value and a sound quality value, as shown in FIG. Each feature amount is indexed with a maximum value of +100 and a minimum value of −100. The greater the tempo value, the more dynamic the tune is (active tune), and the smaller the tempo value, the tune is the static (calm tune). Further, the smaller the sound quality value, the harder the tone, and the higher the sound quality value, the softer the tone.

各トラックの特徴量は、各トラックと共に、HDD13に登録される。各トラックをHDD13に登録するときに、オーディオ装置1が、トラックのオーディオ信号を分析して特徴量を決定してもよいし、予め決まっている特徴量が入力部14から入力されてもよい。   The feature amount of each track is registered in the HDD 13 together with each track. When each track is registered in the HDD 13, the audio apparatus 1 may analyze the audio signal of the track to determine the feature amount, or a predetermined feature amount may be input from the input unit 14.

HDD13はさらに、オーディオ再生プログラムが格納されている。オーディオ再生プログラムは、メモリ12にロードされ、CPU11で実行される。   The HDD 13 further stores an audio playback program. The audio playback program is loaded into the memory 12 and executed by the CPU 11.

CPU11は、メモリ12にロードされたオーディオ再生プログラムに基づいて、再生すべきトラックを選択し、プレイリストを作成する。そのため、CPU11と、メモリ12とで、プレイリスト作成装置を構成するともいえる。CPU11はまた、プレイリストに基づいて、トラックを再生する。   The CPU 11 selects a track to be reproduced based on the audio reproduction program loaded in the memory 12 and creates a playlist. Therefore, it can be said that the CPU 11 and the memory 12 constitute a playlist creation device. The CPU 11 also reproduces a track based on the playlist.

メモリ12は、ROM(Read Only Memory)及びRAM(Random Access Memory)を含む。D/Aコンバータ15は、選択されたトラックをデジタル信号からアナログ信号に変換してスピーカ16に出力する。スピーカ16は、D/Aコンバータ15からアナログ信号を受け、音声として外部に出力する。   The memory 12 includes a ROM (Read Only Memory) and a RAM (Random Access Memory). The D / A converter 15 converts the selected track from a digital signal to an analog signal and outputs it to the speaker 16. The speaker 16 receives an analog signal from the D / A converter 15 and outputs it as sound.

[動作概要]
オーディオ装置1は、オーディオ再生処理を実行するとき、予め複数のトラックを選択する。このとき、オーディオ装置1は、トラックが順次再生されるにしたがって、曲調が次第にユーザ所望の曲調に近づくように、かつ、トラック間の曲調の変化が小さくなるように、選択されたトラックの再生順を決定する。そのため、ユーザが就寝のときに、オーディオ装置1は、再生する曲を、テンポが動的であり音質がハードである曲調の曲から、次第にテンポが静的で音質がソフトな曲調の曲へと移行することができる。さらに、再生初期では、連続して再生されるトラックの曲調の変化が大きいが、次第に曲調の変化が小さくなる。そのため、ユーザは、アップテンポの曲から次第に落ち着いた曲を聴くことができる。一方、ユーザが起床する時には、オーディオ装置1は、再生するトラックを、落ち着いた曲から次第にアップテンポな曲に移行でき、かつ、次第に曲調の変化を小さくできる。以下、オーディオ再生処理について説明する。
[Operation overview]
The audio device 1 selects a plurality of tracks in advance when executing the audio reproduction process. At this time, the audio device 1 plays back the selected tracks in order of reproduction so that the tune gradually approaches the tune desired by the user and the change in tune between tracks becomes small as the tracks are sequentially reproduced. To decide. Therefore, when the user goes to bed, the audio apparatus 1 changes the music to be reproduced from a song having a dynamic tempo and a hard tone to a song having a static tempo and a soft tone. Can be migrated. Furthermore, in the initial stage of reproduction, the change in the tone of the track that is continuously played is large, but the change in the tone is gradually reduced. Therefore, the user can listen to gradually calmed songs from up-tempo songs. On the other hand, when the user wakes up, the audio device 1 can gradually shift the track to be reproduced from a calm song to an up-tempo song and gradually reduce the change in the tone of the song. The audio playback process will be described below.

[オーディオ再生処理フロー]
オーディオ装置1は、タイマ時間を設定して上記オーディオ再生処理を実行する。オーディオ再生処理には、テンポ値が小さく音質値が大きいトラックからテンポ値が大きく音質値が小さいトラックを順次再生するウェイクアップ再生処理と、テンポ値が大きく音質値が小さいトラックからテンポ値が小さく音質値が大きいトラックを順次再生するスリープ再生処理とがある。以下、一例として、スリープ再生処理を説明する。
[Audio playback processing flow]
The audio apparatus 1 sets the timer time and executes the audio reproduction process. The audio playback process includes a wake-up playback process that sequentially plays a track with a large tempo value and a small sound quality value from a track with a small tempo value and a large sound quality value, and a sound quality with a small tempo value from a track with a large tempo value and a small sound quality value. There is a sleep reproduction process in which tracks having large values are sequentially reproduced. Hereinafter, the sleep reproduction process will be described as an example.

図3を参照して、まず初めに、オーディオ装置1のユーザは、入力部14を用いてスリープ再生処理を指示する。続いて、ユーザは、タイマ時間Trefをセットする。このとき、ユーザ操作に基づいて、入力部14はタイマ時間Tref(たとえば90分)の入力を受け付ける(S1)。   Referring to FIG. 3, first, the user of audio device 1 instructs sleep reproduction processing using input unit 14. Subsequently, the user sets a timer time Tref. At this time, based on a user operation, the input unit 14 receives an input of a timer time Tref (for example, 90 minutes) (S1).

続いて、オーディオ装置1は、スリープ再生処理の先頭トラックSTRを特定する(S2)。このとき、オーディオ装置1は、現在再生中のトラックを先頭トラックSTRに特定する。再生中のトラックのトラック番号は、メモリ12に登録されている。なお、トラックが再生中でない場合、オーディオ装置1は、ユーザに先頭トラックSTRの選択を促す。たとえば、オーディオ装置1は、図示しないディスプレイに選択可能なトラックの情報を表示し、入力部14を用いてユーザに先頭トラックSTRを選択させる。オーディオトラックが予めスリープ再生処理に対応した複数の先頭トラックSTRをメモリ12に登録しておき、スリープ再生処理の指示を受けたとき、メモリ12に登録されている複数の先頭トラックSTRから任意のトラックを選択してもよい。   Subsequently, the audio apparatus 1 specifies the first track STR of the sleep reproduction process (S2). At this time, the audio apparatus 1 identifies the currently playing track as the first track STR. The track number of the track being reproduced is registered in the memory 12. If the track is not being played back, the audio apparatus 1 prompts the user to select the first track STR. For example, the audio apparatus 1 displays information on selectable tracks on a display (not shown), and causes the user to select the first track STR using the input unit 14. A plurality of head tracks STR corresponding to the sleep playback process are registered in the memory 12 in advance, and when an instruction for the sleep playback process is received, an arbitrary track is selected from the plurality of head tracks STR registered in the memory 12. May be selected.

続いて、CPU11は、最後に再生されるトラック(以下、末尾トラックETRという)を特定する(S3)。CPU11は、オーディオ再生処理の種類に応じて末尾トラックを選択する。CPU11はまず、選択された再生処理がスリープ処理であることを確認する。メモリ12は、選択された再生処理に関する情報を記憶しており、CPU11は、メモリ12からその情報を読み出すことで、再生処理の種類がスリープ再生処理であることを確認する。続いて、CPU11は、各トラックの特徴量に基づいて、末尾トラックの候補となる複数のトラックを選択する。具体的には、CPU11は、以下の式(A)で示されるスリープ特徴量SFQ(Sleep Feature Quantity)の値が大きい順に、所定数のトラックを選択する。   Subsequently, the CPU 11 specifies a track to be reproduced last (hereinafter referred to as an end track ETR) (S3). The CPU 11 selects the last track according to the type of audio playback processing. First, the CPU 11 confirms that the selected reproduction process is a sleep process. The memory 12 stores information related to the selected reproduction process, and the CPU 11 reads out the information from the memory 12 to confirm that the type of the reproduction process is the sleep reproduction process. Subsequently, the CPU 11 selects a plurality of tracks that are candidates for the end track based on the feature amount of each track. Specifically, the CPU 11 selects a predetermined number of tracks in descending order of a sleep feature quantity SFQ (Sleep Feature Quantity) represented by the following formula (A).

スリープ特徴量SFQ=音質値x−テンポ値y (A)
すなわち、スリープ特徴量SFQが大きいトラックほど、静的でソフトな曲調を有する。CPU11は、選択されたトラックのうち、1つのトラックを選択し、末尾トラックETRに特定する。このような処理手順により、末尾トラックETRが常に一定にならないようにすることができる。
Sleep feature value SFQ = sound quality value x-tempo value y (A)
That is, a track with a larger sleep feature value SFQ has a static and soft tone. The CPU 11 selects one of the selected tracks and identifies it as the end track ETR. By such a processing procedure, it is possible to prevent the end track ETR from being always constant.

なお、ウェイクアップ再生処理時に、末尾トラックを選択するために利用されるウェイクアップ特徴量WFCは、以下の式(B)で示される。   Note that the wakeup feature value WFC used to select the last track during the wakeup playback process is expressed by the following equation (B).

ウェイクアップ特徴量WFC=−音質値x+テンポ値y (B)
この場合、ウェイクアップ特徴量WFCが大きいトラックほど、動的でハードな曲調を有する。
Wake-up feature value WFC = −sound quality value x + tempo value y (B)
In this case, the track having a larger wakeup feature value WFC has a dynamic and harder tone.

上述の説明では、末尾トラックをスリープ特徴量SRQにより決定したが、入力部14を用いてユーザが任意のトラックを末尾トラックとして特定してもよい。   In the above description, the end track is determined by the sleep feature value SRQ. However, the user may specify an arbitrary track as the end track using the input unit 14.

ステップS3で末尾トラックETRを特定後、CPU11は、再生中の先頭トラックSTRの残りの再生時間ΔTstrを算出する(S4)。CPU11は、トラックテーブル内の再生時間及び現在までの再生が終了した時間に基づいて、先頭トラックの残りの再生時間を算出する。残り再生時間ΔTstrを算出後、CPU11は、残り再生時間ΔTstrをタイマ時間Trefと比較する(S5)。残り再生時間ΔTstrがタイマ時間Trefよりも大きい場合(S5でYES)、タイマ時間Trefが経過した後(S9でYES)、オーディオ再生処理を終了する。つまりこのとき、先頭トラックSTRの再生途中で再生が停止される。   After identifying the end track ETR in step S3, the CPU 11 calculates the remaining reproduction time ΔTstr of the first track STR being reproduced (S4). The CPU 11 calculates the remaining playback time of the first track based on the playback time in the track table and the time when playback up to the present time has ended. After calculating the remaining reproduction time ΔTstr, the CPU 11 compares the remaining reproduction time ΔTstr with the timer time Tref (S5). If the remaining playback time ΔTstr is greater than the timer time Tref (YES in S5), the audio playback process is terminated after the timer time Tref has elapsed (YES in S9). That is, at this time, the reproduction is stopped during the reproduction of the first track STR.

また、残り再生時間ΔTstrがタイマ時間Trefよりも小さいとき(S5でNO)、CPU11はさらに、残り再生時間ΔTstrと末尾トラックETRの再生時間Tetrとの合計値が、タイマ時間Trefよりも大きいか否かを判断する(S6)。CPU11は、末尾トラックETRの再生時間Tetrをトラックテーブルから読み出す。ΔTstrとTetrとの合計値が、タイマ時間Trefよりも大きいとき(S6でYES)、CPU11はプレイリストPLに末尾トラックETRのみを登録する(S8)。その結果、先頭トラックSTRの再生が完了した後(S10でYES)、CPU11は、プレイリストPLに登録された末尾トラックETRの再生を開始する(S11でYES、S12)。なお、末尾トラックETRの再生中にタイマが終了するため、末尾トラックETRは再生途中で再生が停止される。   When the remaining reproduction time ΔTstr is smaller than the timer time Tref (NO in S5), the CPU 11 further determines whether the total value of the remaining reproduction time ΔTstr and the reproduction time Tetr of the end track ETR is larger than the timer time Tref. (S6). The CPU 11 reads the playback time Tetr of the end track ETR from the track table. When the total value of ΔTstr and Tetr is larger than the timer time Tref (YES in S6), the CPU 11 registers only the end track ETR in the playlist PL (S8). As a result, after the reproduction of the first track STR is completed (YES in S10), the CPU 11 starts reproduction of the last track ETR registered in the playlist PL (YES in S11, S12). Since the timer ends during playback of the end track ETR, playback of the end track ETR is stopped during playback.

一方、ステップS6での判断の結果、残り再生時間ΔTstrと末尾トラックETRの再生時間Tetrとの合計値が、タイマ時間Trefよりも小さいとき(S6でNO)、CPU11は、スリープ再生準備処理を実行する(S7)。   On the other hand, as a result of the determination in step S6, when the total value of the remaining reproduction time ΔTstr and the reproduction time Tetr of the end track ETR is smaller than the timer time Tref (NO in S6), the CPU 11 executes sleep reproduction preparation processing. (S7).

CPU11は、スリープ再生準備処理により、再生時間の合計がタイマ時間Tref以内となるように、プレイリストPLに列挙する複数のトラックを選択する。このとき、タイマ時間が進むにつれて、テンポ値が小さくなり、かつ、音質値が大きくなるように、トラックの再生順を決定する。CPU11はさらに、タイマ前半では、テンポ値及び音質値の変化量が大きく、タイマ後半に進むにつれ、その変化量が小さくなるように、トラックの再生順を決定する。以下、スリープ再生準備処理について説明する。   The CPU 11 selects a plurality of tracks listed in the playlist PL so that the total reproduction time is within the timer time Tref by the sleep reproduction preparation process. At this time, the playback order of the tracks is determined so that the tempo value decreases and the sound quality value increases as the timer time advances. Further, the CPU 11 determines the reproduction order of the tracks so that the change amount of the tempo value and the sound quality value is large in the first half of the timer, and the change amount becomes smaller as the second half of the timer is advanced. Hereinafter, the sleep reproduction preparation process will be described.

[スリープ再生準備処理]
図4を参照して、CPU11はまず、エリア作成処理(S701)、セクション作成処理(S702)及び選択トラック数設定処理(S703)を実行する。これらの処理を実行することにより、CPU11は、プレイリストPLに登録すべきトラック及びその列挙順をある程度絞り込む。CPU11はまた、プレイリストPLに列挙されたトラックの特徴量が、再生順にほぼ一定に変化するのではなく、プレイリストPLの前半では特徴量の変化量が大きく、プレイリストの後半では特徴量の変化量が小さくなるように、登録すべきトラック及びその列挙順をある程度絞り込む。
[Sleep playback preparation process]
Referring to FIG. 4, CPU 11 first executes area creation processing (S701), section creation processing (S702), and selected track number setting processing (S703). By executing these processes, the CPU 11 narrows down to some extent the tracks to be registered in the playlist PL and their enumeration order. Further, the CPU 11 does not change the feature amount of the tracks listed in the playlist PL almost in the order of reproduction, but the feature amount change amount is large in the first half of the playlist PL, and the feature amount is changed in the second half of the playlist. The tracks to be registered and their enumeration order are narrowed down to some extent so that the change amount becomes small.

CPU11はさらに、プレイリスト作成処理(S704)により、複数のトラックを列挙したプレイリストPLを作成する。以下、エリア作成処理(S701)、セクション作成処理(S702)、選択トラック数設定処理(S703)及びプレイリスト作成処理(S704)について説明する。   The CPU 11 further creates a playlist PL listing a plurality of tracks by a playlist creation process (S704). The area creation process (S701), section creation process (S702), selected track number setting process (S703), and playlist creation process (S704) will be described below.

[エリア作成処理]
エリア作成処理(S701)では、CPU11は、トラックテーブルから各トラックの特徴量を取得し、特徴量に対応するxy座標軸を有する座標系に複数のトラックTRを分布する。そして、複数のトラックTRが分布された座標系を1列に配列された複数の領域(以下、エリアA1〜Anという)に分割する。このとき、CPU11は、同じエリアAn内の複数のトラックTRは、曲調が類似しているトラックTRとみなす。以下、エリア作成処理の詳細を説明する。
[Area creation processing]
In the area creation process (S701), the CPU 11 acquires the feature amount of each track from the track table, and distributes a plurality of tracks TR in a coordinate system having xy coordinate axes corresponding to the feature amount. Then, the coordinate system in which the plurality of tracks TR are distributed is divided into a plurality of regions (hereinafter referred to as areas A1 to An) arranged in one row. At this time, the CPU 11 regards a plurality of tracks TR in the same area An as tracks TR having similar tunes. Details of the area creation process will be described below.

図5を参照して、CPU11はまず、x軸が音質値に対応し、y軸がテンポ値に対応するxy座標系を作成する(S101)。CPU11は、トラックテーブル内の音質値、テンポ値に基づいて、HDD13に格納された各トラックTRの座標点Ptrをxy座標系にプロットする。図6に、各トラックの座標点Ptrをxy座標系にプロットした様子を示す。図6中の座標点Pstrは、先頭トラックSTRの座標点であり、座標点Petrは、末尾トラックETRの座標点である。   Referring to FIG. 5, the CPU 11 first creates an xy coordinate system in which the x axis corresponds to the sound quality value and the y axis corresponds to the tempo value (S101). The CPU 11 plots the coordinate point Ptr of each track TR stored in the HDD 13 in the xy coordinate system based on the sound quality value and the tempo value in the track table. FIG. 6 shows a state in which the coordinate point Ptr of each track is plotted in the xy coordinate system. The coordinate point Pstr in FIG. 6 is the coordinate point of the head track STR, and the coordinate point Petr is the coordinate point of the end track ETR.

CPU11は続いて、HDD13内に格納されたトラックの平均再生時間Taveを求める(S102)。CPU11は、トラックテーブル内の全てのトラックTRの再生時間を合計し、合計値をトラックテーブルに登録されたトラック数で除する。これにより、オーディオ装置1が蓄積する複数のトラックTRの平均再生時間Taveが決定される。平均再生時間Taveはメモリ12に格納される。以下、平均再生時間Taveを5分として、説明を続ける。   Subsequently, the CPU 11 obtains the average reproduction time Tave of the tracks stored in the HDD 13 (S102). The CPU 11 sums the reproduction times of all the tracks TR in the track table, and divides the total value by the number of tracks registered in the track table. Thereby, the average reproduction time Tave of the plurality of tracks TR stored in the audio device 1 is determined. The average playback time Tave is stored in the memory 12. Hereinafter, the description will be continued assuming that the average reproduction time Tave is 5 minutes.

続いて、CPU11は、タイマ時間Tref及び平均再生時間Taveをメモリ12から読み出す(S103)。そして、タイマ時間Tref及び平均再生時間Taveを用いて、以下の式(1)により総エリア数TAN(Total Area Number)を決定する(S104)。   Subsequently, the CPU 11 reads out the timer time Tref and the average reproduction time Tave from the memory 12 (S103). Then, using the timer time Tref and the average reproduction time Tave, the total area number TAN (Total Area Number) is determined by the following equation (1) (S104).

総エリア数TAN=タイマ時間Tref/平均再生時間Tave (1)
なお、総エリア数TANは自然数であるため、式(1)で算出された値の小数点以下は四捨五入する。以下、算出されたTAN=24として、説明を続ける。
Total area number TAN = timer time Tref / average playback time Tave (1)
Since the total area number TAN is a natural number, the value after the decimal point of the value calculated by Expression (1) is rounded off. Hereinafter, the description will be continued assuming that the calculated TAN = 24.

CPU11は、図7に示すように、xy座標系上に、先頭トラックSTRの座標点Pstrから末尾トラックETRの座標点Petrまでを結ぶベクトルVCを描画する(S105)。続いて、CPU11は、ベクトルVCを総エリア数TANで等分割する(S106)。具体的には、CPU11は、図7に示すように、分割点P1〜P23により、ベクトルVCを24等分する。CPU11は、各分割点P1〜P23の座標点をメモリ12に格納する。   As shown in FIG. 7, the CPU 11 draws a vector VC connecting the coordinate point Pstr of the first track STR to the coordinate point Petr of the last track ETR on the xy coordinate system (S105). Subsequently, the CPU 11 equally divides the vector VC by the total area number TAN (S106). Specifically, as shown in FIG. 7, the CPU 11 divides the vector VC into 24 equal parts by dividing points P1 to P23. The CPU 11 stores the coordinate points of the division points P1 to P23 in the memory 12.

CPU11はさらに、図8に示すように、Pstr、各分割点P1〜P23及びPetrを通過する分割線関数f0(x)〜f24(x)を座標系に作成する(S106)。ここで、各分割線関数f0(x)〜f24(x)は互いに平行とする。つまり、隣り合う分割線関数の間の距離は等しい。CPU11は、分割線関数f0(x)〜f24(x)をメモリ12に登録する。   Further, as shown in FIG. 8, the CPU 11 creates dividing line functions f0 (x) to f24 (x) passing through Pstr, the dividing points P1 to P23 and Petr in the coordinate system (S106). Here, the dividing line functions f0 (x) to f24 (x) are parallel to each other. That is, the distance between adjacent dividing line functions is equal. The CPU 11 registers the dividing line functions f0 (x) to f24 (x) in the memory 12.

分割線関数f1(x)〜f23(x)を作成した後、CPU11は、複数のエリアA1〜A24を作成する。CPU11は、隣り合う分割線関数fn−1(x)〜fn(x)間の領域を1つのエリアAnとする(S107)。たとえば、図8を参照して、関数f0(x)とf1(x)間の領域をエリアA1とし、関数f1(x)と関数f2(x)との間の領域をエリアA2とする。これにより、作成されたエリアA1〜A24は、ベクトルVCを複数に分割し、かつ、ベクトル方向に一列に配列される。   After creating the dividing line functions f1 (x) to f23 (x), the CPU 11 creates a plurality of areas A1 to A24. The CPU 11 sets a region between adjacent dividing line functions fn-1 (x) to fn (x) as one area An (S107). For example, referring to FIG. 8, the area between functions f0 (x) and f1 (x) is area A1, and the area between functions f1 (x) and f2 (x) is area A2. Thus, the created areas A1 to A24 divide the vector VC into a plurality and are arranged in a line in the vector direction.

CPU11は、関数fn(x)とエリアAnとの関係を図9に示すエリアテーブルに登録する。図9を参照して、たとえば、エリアA1に対応する関数として、f0(x)及びf1(x)が登録されている。   The CPU 11 registers the relationship between the function fn (x) and the area An in the area table shown in FIG. Referring to FIG. 9, for example, f0 (x) and f1 (x) are registered as functions corresponding to area A1.

複数のエリアA1〜A24を作成した後、CPU11は、各トラックTRの座標点Ptrが属するエリアAnを特定する(S108)。CPU11は、各関数f0(x)〜f24(x)と各トラックTRの座標点Ptrとに基づいて、各トラックTRが属するエリアAnを特定できる。たとえば、図10中の座標点Ptr10に相当するトラックTR10が属するエリアは、以下の方法で特定できる。まず、CPU11は、座標点Ptr10のx座標=x10における各関数f0(x)〜f24(x)の値を算出する。そして、算出された値と、座標点Ptr10のy座標=y10とを比較する。図10に示すとおり、y10はf4(x10)とf5(x10)との間に位置する。以上の結果、CPU11は、座標点Ptr10が関数f4(x)と関数f5(x)との間に位置すると判断し、エリアテーブルを参照して、トラックTR10の属するエリアをA4と特定する。   After creating the plurality of areas A1 to A24, the CPU 11 identifies the area An to which the coordinate point Ptr of each track TR belongs (S108). The CPU 11 can specify the area An to which each track TR belongs based on the functions f0 (x) to f24 (x) and the coordinate point Ptr of each track TR. For example, the area to which the track TR10 corresponding to the coordinate point Ptr10 in FIG. 10 belongs can be specified by the following method. First, the CPU 11 calculates the values of the functions f0 (x) to f24 (x) at the x coordinate = x10 of the coordinate point Ptr10. Then, the calculated value is compared with the y coordinate = y10 of the coordinate point Ptr10. As shown in FIG. 10, y10 is located between f4 (x10) and f5 (x10). As a result, the CPU 11 determines that the coordinate point Ptr10 is located between the function f4 (x) and the function f5 (x), and refers to the area table to identify the area to which the track TR10 belongs as A4.

上述の方法により、CPU11は、HDD13内に蓄積された全てのトラックについて、属するエリアを特定する。そして、図9に示すエリアテーブルに登録する。   With the above-described method, the CPU 11 specifies an area to which all tracks stored in the HDD 13 belong. Then, it is registered in the area table shown in FIG.

以上の動作により、CPU11は、先頭トラックSTR及び末尾トラックETRに基づいて、ベクトルVCを複数に分割し、かつ、ベクトル方向に一列に配列された複数のエリアA1〜A24を作成する。そして、各エリアA1〜A24に属するトラックTRを特定する。CPU11は、同じエリア内のトラックTRは互いに類似した曲調を有するとみなす。   With the above operation, the CPU 11 divides the vector VC into a plurality of areas based on the head track STR and the tail track ETR, and creates a plurality of areas A1 to A24 arranged in a line in the vector direction. Then, the track TR belonging to each of the areas A1 to A24 is specified. The CPU 11 considers that the tracks TR in the same area have similar tunes.

上述の説明では、関数f(x)は曲線としたが、直線であってもよい。また、図11に示すように、エリアA1〜A24の幅を所定の範囲に制限してもよい。   In the above description, the function f (x) is a curved line, but may be a straight line. Further, as shown in FIG. 11, the widths of the areas A1 to A24 may be limited to a predetermined range.

[セクション作成処理]
エリア作成処理を完了後、CPU11はセクション作成処理を実行する(S702)。
[Section creation processing]
After completing the area creation processing, the CPU 11 executes section creation processing (S702).

本実施の形態では、セクション(区域)は、エリアよりも大きい概念であり、各セクションは複数のエリアを含む。要するに、複数のエリアは、各セクションを複数に分割し、ベクトル方向に一列に配列される。   In the present embodiment, a section (area) is a concept larger than an area, and each section includes a plurality of areas. In short, in the plurality of areas, each section is divided into a plurality of sections and arranged in a line in the vector direction.

セクション作成処理では、CPU11は、エリアA1〜A24を予め決められた数の複数のセクションS1〜Snに割り当てる。これにより、CPU11は、先頭トラックの座標点Pstrから末尾トラックの座標点Petrを結ぶベクトルscを複数に分割し、ベクトル方向に一列に配列される複数のセクションを作成する。以下、セクション作成処理について説明する。   In the section creation process, the CPU 11 assigns the areas A1 to A24 to a predetermined number of sections S1 to Sn. As a result, the CPU 11 divides the vector sc connecting the coordinate point Pstr of the leading track and the coordinate point Petr of the trailing track into a plurality of sections, and creates a plurality of sections arranged in a line in the vector direction. The section creation process will be described below.

図12を参照して、CPU11はまず、セクション数SNを取得する(S201)。セクション数SNは、予め設定された所定の数(自然数)であり、HDD13又はメモリ12に記憶されている。セクション数SNは、ユーザが入力部14を利用して設定してもよいし、メモリ12に予め設定されていてもよい。以下、設定されたセクション数SNを「4」として説明を続ける。CPU11はさらに、メモリ12から総エリア数TANを読み出す。   Referring to FIG. 12, CPU 11 first acquires the number of sections SN (S201). The section number SN is a predetermined number (natural number) set in advance, and is stored in the HDD 13 or the memory 12. The number of sections SN may be set by the user using the input unit 14 or may be set in the memory 12 in advance. Hereinafter, the description will be continued assuming that the set section number SN is “4”. The CPU 11 further reads the total area number TAN from the memory 12.

CPU11は、読み出されたセクション数SN及び総エリア数TANを用いて、以下の式(2)に基づいて、各セクションに割り当てるエリア数(以下、エリア割当数という)ANを算出する(S202)。   The CPU 11 calculates the number of areas (hereinafter referred to as area allocation number) AN allocated to each section based on the following equation (2) using the read section number SN and total area number TAN (S202). .

エリア割当数AN=総エリア数TAN/セクション数SN (2)
上述の例では、TAN=24、SN=4であるため、エリア割当数AN=6となる。なお、エリア割当数ANは式(2)で算出された値の小数点以下を四捨五入した自然数とする。
Area allocation number AN = total area number TAN / section number SN (2)
In the above example, since TAN = 24 and SN = 4, the area allocation number AN = 6. The area allocation number AN is a natural number obtained by rounding off the decimal point of the value calculated by the equation (2).

エリア割当数ANを算出した後、CPU11は、エリアA1〜A24を各セクションS1〜S4に割り当てる(S203)。上述の例では、エリア割当数ANは6であるため、各セクションに6つのエリアをそれぞれ割り当てる。具体的には、図13に示すように、CPU11はエリアA1〜A6をセクションS1に、エリアA7〜A12をセクションS2に、エリアA13〜A18をセクションS3に、エリアA19〜A24をセクションS4にそれぞれ割り当てる。   After calculating the area allocation number AN, the CPU 11 allocates the areas A1 to A24 to the sections S1 to S4 (S203). In the above example, since the area allocation number AN is 6, 6 areas are allocated to each section. Specifically, as shown in FIG. 13, the CPU 11 includes areas A1 to A6 as section S1, areas A7 through A12 as section S2, areas A13 through A18 as section S3, and areas A19 through A24 as section S4. assign.

CPU11は、各セクションに割り当てられたエリアに関する情報を図14に示すセクションテーブルに登録する。セクションテーブルには、各セクションの識別子であるセクションIDと、各セクションが含むエリアのエリアIDとが対応付けて登録される。以上の動作によりセクションS1〜S4が作成される。   The CPU 11 registers information regarding the area allocated to each section in the section table shown in FIG. In the section table, a section ID that is an identifier of each section and an area ID of an area included in each section are registered in association with each other. Sections S1 to S4 are created by the above operation.

なお、ステップS202において、式(2)での算出の結果、四捨五入によりエリア割当数ANを決定した場合、各セクションに割り当てる割り当てエリア数は以下のとおりに決定する。セクションS1から順に、ステップS202で決定されたエリア割当数ANを順次割り当てる。そして、最終セクションSnには、以下の式(3)により決定されたエリア割当数ANeが割り当てられる。   In step S202, when the area allocation number AN is determined by rounding off as a result of the calculation in equation (2), the allocation area number allocated to each section is determined as follows. The area allocation number AN determined in step S202 is sequentially allocated in order from the section S1. Then, the area allocation number ANe determined by the following equation (3) is allocated to the final section Sn.

エリア割当数ANe=総エリア数TAN−エリア割当数AN×(SN−1) (3)
たとえば、セクション数SN=4、総エリア数TAN=25、ステップS202で決定されたエリア割当数AN=6である場合、式(3)により、最終セクションS4のエリア割当数ANeは7となる。
Area allocation number ANe = total area number TAN−area allocation number AN × (SN−1) (3)
For example, when the number of sections SN = 4, the total number of areas TAN = 25, and the area allocation number AN = 6 determined in step S202, the area allocation number ANe of the final section S4 is 7 according to the equation (3).

[選択トラック数設定処理]
セクション作成処理を完了した後、CPU11は、選択トラック数設定処理を実行する(S703)。選択トラック数設定処理では、CPU11は、セクションごとに、プレイリストに列挙すべきトラック数を設定する。これにより、連続して再生される複数のトラックの曲調の変化を調整できる。具体的には、スリープ再生初期では、連続して再生するトラックの曲調の変化を大きくし、スリープ再生末期に向かうにしたがって、曲調の変化を小さくすることができる。これにより、スリープタイマ末期に再生されるトラック間の曲調変化を抑え、タイマ時間中、睡眠時に適した静的でソフトな曲が再生される割合を多くすることができる。
[Selected track count setting process]
After completing the section creation processing, the CPU 11 executes selection track number setting processing (S703). In the selected track number setting process, the CPU 11 sets the number of tracks to be listed in the playlist for each section. This makes it possible to adjust the change in tune of a plurality of tracks that are continuously played back. Specifically, at the initial stage of sleep reproduction, the change in the tune of the continuously reproduced track can be increased, and the change in the tune can be reduced toward the end of the sleep reproduction. As a result, it is possible to suppress a change in the tune between tracks played at the end of the sleep timer, and to increase the proportion of the static soft music suitable for sleep during the timer time.

図15を参照して、CPU11は初めに、ステップS1で設定されたタイマTrefを各セクションに配分する(S301)。このとき、CPU11は、各セクションSnの配分時間Tsnが以下の式(4)を満たすように、タイマTrefを配分する。   Referring to FIG. 15, first, CPU 11 distributes timer Tref set in step S1 to each section (S301). At this time, the CPU 11 distributes the timer Tref so that the distribution time Tsn of each section Sn satisfies the following formula (4).

Tsn>Tsn−1 (4)
要するに、CPU11は、セクションS1の配分時間Ts1を最も短く設定し、セクションSnのnが増加するにしたがい、配分時間Tsnを順次長く設定する。そして、最終セクションS4の配分時間Ts4を最も長く設定する。以下、配分時間Tsnの設定方法の一例を説明する。
Tsn> Tsn-1 (4)
In short, the CPU 11 sets the distribution time Ts1 of the section S1 as shortest as possible, and sequentially sets the distribution time Tsn as the n of the section Sn increases. Then, the allocation time Ts4 of the final section S4 is set to be the longest. Hereinafter, an example of a method for setting the distribution time Tsn will be described.

図16を参照して、x軸がエリア番号を示す配分時間座標系で、一次関数y=g(x)を設定する。このとき、y=g(x)の傾きは正とする。CPU11は、一次関数g(x)のx=0からx=24(つまり、末尾エリア番号)までの積分値がステップS1で設定されたタイマ時間Trefと等しくなるように、一次関数g(x)を設定する。   Referring to FIG. 16, a linear function y = g (x) is set in an allocation time coordinate system in which the x-axis indicates an area number. At this time, the slope of y = g (x) is positive. The CPU 11 calculates the linear function g (x) so that the integral value of the linear function g (x) from x = 0 to x = 24 (that is, the end area number) is equal to the timer time Tref set in step S1. Set.

一次関数g(x)を設定後、各セクションSn(n=1〜4)の配分時間Tsnを以下の式(5)に基づいて算出する。

Figure 2008243345
ここで、ANnは、セクションSnでの末尾エリア番号である。たとえば、セクションS4の配分時間Ts4(n=4)を算出する場合、AN4=24であり、AN3=18である。なお、セクションS1の場合、ANn−1は「0」とする。 After setting the linear function g (x), the allocation time Tsn of each section Sn (n = 1 to 4) is calculated based on the following equation (5).
Figure 2008243345
Here, ANn is the end area number in section Sn. For example, when calculating the allocation time Ts4 (n = 4) of the section S4, AN4 = 24 and AN3 = 18. In the case of section S1, ANn−1 is “0”.

以上の方法により算出された配分時間Tsnは、nの増加にともない増大する。これにより、配分時間Tsnは式(4)を満たす。算出された配分時間Tsnは、メモリ12に格納される。   The allocation time Tsn calculated by the above method increases as n increases. Thereby, the allocation time Tsn satisfies the formula (4). The calculated distribution time Tsn is stored in the memory 12.

なお、上述の説明では、g(x)を一次関数としたが、二次関数としてもよい。また、図17に示すように、タイマTrefに対する各配分時間Tsnの比率を予め設定しておき、メモリ12内に記憶しておいてもよい。以降、ステップS301にて、配分時間Ts1は10分、Ts2は20分、Ts3は35分、Ts4は55分に設定されたと仮定し、説明を続ける。   In the above description, g (x) is a linear function, but may be a quadratic function. Further, as shown in FIG. 17, the ratio of each distribution time Tsn to the timer Tref may be set in advance and stored in the memory 12. Hereinafter, in step S301, it is assumed that the distribution time Ts1 is set to 10 minutes, Ts2 is set to 20 minutes, Ts3 is set to 35 minutes, and Ts4 is set to 55 minutes.

CPU11は、プレイリストPLの作成のために、選択されるトラック数をセクションごとに設定する(S302〜S307)。S302でCPU11は、メモリ12内に設定されたセクションカウンタn=1とする。続いて、CPU11は、セクションSn(ここではS1)の配分時間Ts1をメモリ12から読み出す(S303)。そして、以下の式(6)に基づいて、セクションSnで選択されるトラック数(以下、選択トラック数という)TRNsnを決定する。   The CPU 11 sets the number of tracks to be selected for each section in order to create the playlist PL (S302 to S307). In S <b> 302, the CPU 11 sets the section counter n = 1 set in the memory 12. Subsequently, the CPU 11 reads the allocation time Ts1 of the section Sn (here, S1) from the memory 12 (S303). Based on the following equation (6), the number of tracks selected in the section Sn (hereinafter referred to as the number of selected tracks) TRNsn is determined.

選択トラック数TRNsn=配分時間Tsn/平均再生時間Tave (6)
上述の例では、TRNs1は2(=10/5)となる。なお、式(6)で算出された選択トラック数TRNsnの値は、小数点以下を四捨五入される。
Number of selected tracks TRNsn = allocation time Tsn / average playback time Tave (6)
In the above example, TRNs1 is 2 (= 10/5). Note that the value of the number of selected tracks TRNsn calculated by Expression (6) is rounded off to the nearest decimal point.

決定された選択トラック数TRNs1は、図18に示すプレイリスト条件テーブルに登録される(S305)。図18を参照して、選択トラック数TRNsnは、セクションIDと対応付けて登録される。   The determined number of selected tracks TRNs1 is registered in the playlist condition table shown in FIG. 18 (S305). Referring to FIG. 18, the selected track number TRNsn is registered in association with the section ID.

続いて、CPU11は、ステップS305で登録された選択トラック数TRNs1が、セクションテーブル(図14)内に登録されているセクションS1のエリア数ANs1よりも小さいか否かを判断する(S306)。選択トラック数TRNs1(=2)は、エリア数ANs1(=6)よりも小さいため(S306でYES)、CPU11は、セクションS1に割り当てられたエリアA1〜A6のうち、選択トラック数TRNs1と同じ数のエリアを選択する。つまり、CPU11は、エリアA1〜A6から、2つのエリアを選択する(S307)。たとえば、CPU11は、エリアA2とA5とを選択する。選択されたエリアA2及びA5は、プレイリスト条件テーブルに登録される。以下、プレイリスト条件テーブルに登録されたエリアを登録エリアをいう。CPU11は、プレイリストPLに列挙されるトラックをセクションS1から選択するとき、登録エリアA2及びA5からそれぞれトラックを選択する。   Subsequently, the CPU 11 determines whether or not the selected track number TRNs1 registered in step S305 is smaller than the area number ANs1 of the section S1 registered in the section table (FIG. 14) (S306). Since the selected track number TRNs1 (= 2) is smaller than the area number ANs1 (= 6) (YES in S306), the CPU 11 has the same number as the selected track number TRNs1 among the areas A1 to A6 allocated to the section S1. Select the area. That is, the CPU 11 selects two areas from the areas A1 to A6 (S307). For example, the CPU 11 selects areas A2 and A5. The selected areas A2 and A5 are registered in the playlist condition table. Hereinafter, an area registered in the playlist condition table is referred to as a registered area. When the CPU 11 selects a track listed in the playlist PL from the section S1, the CPU 11 selects a track from each of the registration areas A2 and A5.

CPU11は、セクションカウンタnが設定されたセクション数SN(ここでは4)と同じか否かを判断し(S308)、異なる場合はセクションカウンタn=1をインクリメントしてn=2として(S309)、ステップS303に戻る。これにより、CPU11は、全てのセクションS1〜S4に対して、選択トラック数TRNs1〜TRNs4を算出し、プレイリスト条件テーブルに登録する。   The CPU 11 determines whether or not the section counter n is equal to the set section number SN (here, 4) (S308). If the section counter n is different, the section counter n = 1 is incremented and n = 2 is set (S309). The process returns to step S303. Thereby, the CPU 11 calculates the selected track numbers TRNs1 to TRNs4 for all the sections S1 to S4 and registers them in the playlist condition table.

なお、選択トラック数TRNs3は7となり、選択トラック数TRNs4は11となるため、いずれもエリア数ANs3(=6)、ANs4(=6)よりも大きい(S306でNO)。この場合、CPU11はステップS307を実行せず、代わりにセクションS3及びセクションS4に所属する全てのエリアA13〜A18及びA19〜A24を登録する(S310)。   Since the selected track number TRNs3 is 7 and the selected track number TRNs4 is 11, both are larger than the area numbers ANs3 (= 6) and ANs4 (= 6) (NO in S306). In this case, the CPU 11 does not execute step S307, but instead registers all the areas A13 to A18 and A19 to A24 belonging to the sections S3 and S4 (S310).

後述するように、プレイリストを構築するとき、CPU11はセクションS3及びS4に割当られた全てのエリアA13〜24の各々から、少なくとも1つのトラックを選択するためである。なお、選択トラック数TRNs2は4であるため(S304)、CPU11は、セクションS2の登録エリアとして、4つのエリア(図18ではA7、A8、A10、A11)を選択してプレイリスト条件テーブルに登録する。   As will be described later, when the playlist is constructed, the CPU 11 selects at least one track from each of all the areas A13 to A24 allocated to the sections S3 and S4. Since the selected track number TRNs2 is 4 (S304), the CPU 11 selects four areas (A7, A8, A10, A11 in FIG. 18) as registration areas of the section S2 and registers them in the playlist condition table. To do.

以上の動作により、CPU11は、選択トラック数設定処理により、セクションS1〜S4から選択されるトラック数を設定する。このとき、CPU11は、セクションS1の選択トラック数を最小とし、セクション番号が大きくなるほど、選択トラック数を増やす。そして、セクションS4で選択トラック数を最大とする。これにより、末尾トラックと曲調の近いトラックを再生する割合を多くすることができ、スリープ再生が進むにつれ、曲調の変化を抑えることができる。   With the above operation, the CPU 11 sets the number of tracks selected from the sections S1 to S4 by the selected track number setting process. At this time, the CPU 11 minimizes the number of selected tracks in the section S1, and increases the number of selected tracks as the section number increases. Then, the number of selected tracks is maximized in section S4. As a result, it is possible to increase the ratio of playing back tracks that are close in tone to the last track, and to suppress changes in tone as sleep playback progresses.

[プレイリスト作成処理]
プレイリスト作成処理では、CPU11は、スリープ再生用のプレイリストPLを作成する。このとき、プレイリストPLの先頭から末尾に進むに従って、テンポが動的から静的に変化し、かつ、音質がハードからソフトに変化するようにトラックをプレイリストPLに配列する。さらに、プレイリスト初期に連続して再生されるトラックの曲調の変化が大きく、プレイリスト末期に向かうにしたがって、曲調の変化が小さくなるように、トラックを配列する。
[Playlist creation process]
In the playlist creation process, the CPU 11 creates a playlist PL for sleep reproduction. At this time, the tracks are arranged in the playlist PL so that the tempo changes from dynamic to static and the sound quality changes from hardware to software as the playlist PL progresses from the beginning to the end. Furthermore, the tracks are arranged so that the change in the tune of the track continuously reproduced at the beginning of the play list is large and the change in the tune is reduced toward the end of the play list.

図19を参照して、CPU11はまず、メモリ12内のセクションカウンタnを「1」に設定する(S401)。また、メモリ12内に格納されているプレイリスト累積再生時間PPTをリセットして「0」にする(S402)。   Referring to FIG. 19, CPU 11 first sets section counter n in memory 12 to “1” (S401). Also, the playlist cumulative playback time PPT stored in the memory 12 is reset to “0” (S402).

続いてCPU11は、図18のプレイリスト条件テーブルを参照して、セクションSn(ここではS1)の登録エリアのうち、エリア番号が最大のエリアを選択する(S403)。CPU11は、エリア番号が最大の登録エリアとして、エリアA5を選択する。以下、ステップS403、S420〜S422で選択されたエリアを選択エリアという。   Subsequently, the CPU 11 refers to the playlist condition table of FIG. 18 and selects the area with the largest area number from the registered areas of the section Sn (here, S1) (S403). CPU11 selects area A5 as a registration area with the largest area number. Hereinafter, the area selected in steps S403 and S420 to S422 is referred to as a selection area.

CPU11は、メモリ12に格納されたセクション累積再生時間SPTをリセットして「0」とした後(S404)、セクションS1から選択トラック数(ここでは2)のトラックを選択する。   The CPU 11 resets the section cumulative playback time SPT stored in the memory 12 to “0” (S404), and then selects a track of the number of selected tracks (here, 2) from the section S1.

CPU11は、図9のエリアテーブルを参照して、選択エリアA5内にトラックが存在するか否かを判断する(S405)。選択エリアA5内にトラックが存在しない場合(S405でNO)、ステップS424に進む。一方、選択エリアA5内にトラックが存在する場合(S405でYES)、CPU11は、選択エリアA5内から1つのトラックを選択する(S406)。以下、ステップS406で選択されたトラックを選択トラックという。ここで、CPU11は選択エリアA5からトラックTR5を選択したと仮定して、説明を続ける。   The CPU 11 refers to the area table of FIG. 9 and determines whether or not there is a track in the selected area A5 (S405). If no track exists in the selection area A5 (NO in S405), the process proceeds to step S424. On the other hand, when there is a track in the selection area A5 (YES in S405), the CPU 11 selects one track from the selection area A5 (S406). Hereinafter, the track selected in step S406 is referred to as a selected track. Here, the description is continued assuming that the CPU 11 has selected the track TR5 from the selection area A5.

続いて、CPU11は、選択トラックTR5の再生時間をトラックテーブルから読み出し、以下の式(7)に基づいてセクション累積再生時間SPTを算出する。   Subsequently, the CPU 11 reads the reproduction time of the selected track TR5 from the track table, and calculates the section cumulative reproduction time SPT based on the following equation (7).

SPT=SPT+選択トラックの再生時間 (7)
ここでは、式(7)で算出されたセクション累積再生時間SPTは4分30秒となる。CPU11は、セクション累積再生時間SPTが、メモリ12内に格納されたセクションS1の配分時間Ts1(=10分)よりも大きいか否かを判断する(S408)。ここでは、SPTはTs1よりも小さいため(S408でNO)、CPU11は、選択トラックTR5を図20に示すプレイリスト準備テーブルに登録する(S415)。CPU11はさらに、選択トラッTR5の属するエリア(つまり、選択エリアA5)をトラックIDと対応付けてプレイリスト準備テーブルに登録する。
SPT = SPT + Selected track playback time (7)
Here, the section cumulative reproduction time SPT calculated by the equation (7) is 4 minutes 30 seconds. The CPU 11 determines whether or not the section cumulative reproduction time SPT is longer than the distribution time Ts1 (= 10 minutes) of the section S1 stored in the memory 12 (S408). Here, since SPT is smaller than Ts1 (NO in S408), the CPU 11 registers the selected track TR5 in the playlist preparation table shown in FIG. 20 (S415). Further, the CPU 11 registers the area to which the selected track TR5 belongs (that is, the selected area A5) in the playlist preparation table in association with the track ID.

CPU11はさらに、選択トラックTR5のスリープ特徴量SFQを算出する(S416)。CPU11は、トラックTR5の音質値及びテンポ値をトラックテーブルから読み出し、式(A)に基づいてスリープ特徴量SFQを求める。求めたスリープ特徴量SFQ(=−181)は、プレイリスト準備テーブルに登録される。後述するとおり、CPU11は、プレイリスト準備テーブル内の所属エリア又はスリープ特徴量SFQに基づいて、トラックTRを再生する順番(つまり、プレイリストに列挙する順番)を決定する。   The CPU 11 further calculates the sleep feature amount SFQ of the selected track TR5 (S416). The CPU 11 reads the sound quality value and tempo value of the track TR5 from the track table, and obtains the sleep feature value SFQ based on the formula (A). The obtained sleep feature value SFQ (= −181) is registered in the playlist preparation table. As will be described later, the CPU 11 determines the order of reproducing the tracks TR (that is, the order listed in the playlist) based on the belonging area in the playlist preparation table or the sleep feature value SFQ.

続いて、CPU11は、メモリ12内に格納されたエリアA5の選択済フラグを「0」から「1」に変更する(S424)。選択済フラグが「1」の場合、そのエリアは既に選択されたことを示す。メモリ12は、各エリアA1〜A24の選択済フラグを格納している。プレイリスト作成処理の開始時に、全ての選択済みフラグがリセットされ「0」となっている。   Subsequently, the CPU 11 changes the selected flag of the area A5 stored in the memory 12 from “0” to “1” (S424). When the selected flag is “1”, this indicates that the area has already been selected. The memory 12 stores selected flags for the areas A1 to A24. At the start of the playlist creation process, all selected flags are reset to “0”.

続いて、CPU11は、プレイリスト準備テーブルを参照して、セクションS1の登録エリアのうち、選択済フラグが0のエリアが存在するか否か判断する(S417)。ここでは、登録エリアA2の選択済フラグが0である(S418でYES)。そのため、CPU11は、未選択のエリアのうち、エリア番号が最大の登録エリアを選択し(S421)、ステップS405に進む。ここでは、CPU11はエリアA2を選択する。   Subsequently, the CPU 11 refers to the playlist preparation table and determines whether or not there is an area with the selected flag being 0 among the registration areas of the section S1 (S417). Here, the selected flag in the registration area A2 is 0 (YES in S418). Therefore, the CPU 11 selects a registration area with the largest area number among unselected areas (S421), and proceeds to step S405. Here, the CPU 11 selects area A2.

再びステップS405に戻り、CPU11は、選択エリアA2内にトラックが存在するか否かを判断し(S405)、トラックが存在する場合は、任意の1つのトラックを選択する(S406)。ここでは、CPU11が登録エリアA2内からトラックTR4を選択したとして、説明を続ける。   Returning to step S405 again, the CPU 11 determines whether or not there is a track in the selection area A2 (S405), and if there is a track, selects any one track (S406). Here, the description will be continued assuming that the CPU 11 selects the track TR4 from the registration area A2.

CPU11は、トラックTR4の再生時間(3分50秒)をトラックテーブルから読み出し、式(7)に基づいてセクション累積再生時間SPTを8分20秒(=4分30秒+3分50秒)とする。ステップS408での判断の結果、SPTはTs1よりも小さいため(S408でNO)、CPU11は、トラックTR4及び登録エリアA2をプレイリスト準備テーブルに登録し(S415)、トラックTR4のスリープ特徴量SFQを算出して登録する(S416)。   The CPU 11 reads the playback time (3 minutes 50 seconds) of the track TR4 from the track table, and sets the section cumulative playback time SPT to 8 minutes 20 seconds (= 4 minutes 30 seconds + 3 minutes 50 seconds) based on the equation (7). . As a result of the determination in step S408, since SPT is smaller than Ts1 (NO in S408), the CPU 11 registers the track TR4 and the registration area A2 in the playlist preparation table (S415), and sets the sleep feature amount SFQ of the track TR4. Calculate and register (S416).

ステップS417でCPU11は、セクションS1の全ての登録エリアA2及びA5の選択済フラグが1であると判断する(S417でNO)。このとき、CPU11は、セクションテーブルを参照して、セクションS1内にプレイリスト条件テーブルに登録された登録エリア(A2及びA5)以外のエリア(以下、未登録エリアという)が存在するか否かを判断する(S418)。セクションS1には、登録エリアA2及びA5の他に、未登録エリアA1、A3、A4及びA6が存在するため(S418でYES)、CPU11は、未登録エリアの中から1つのエリアを選択し(S420)、ステップS405に進む。ここでは、未登録エリアA3を選択したと仮定して、説明を続ける。   In step S417, the CPU 11 determines that the selected flags of all the registration areas A2 and A5 in the section S1 are 1 (NO in S417). At this time, the CPU 11 refers to the section table to determine whether or not an area (hereinafter referred to as an unregistered area) other than the registered areas (A2 and A5) registered in the playlist condition table exists in the section S1. Judgment is made (S418). Since there are unregistered areas A1, A3, A4 and A6 in addition to the registered areas A2 and A5 in section S1 (YES in S418), the CPU 11 selects one area from the unregistered areas ( S420), the process proceeds to step S405. Here, the description will be continued assuming that the unregistered area A3 is selected.

CPU11が、ステップS406で選択エリアA3内のトラックTR1000を選択した場合、CPU11は、トラックTR1000の再生時間(4分30秒)を読み出し、ステップS407を実行する。その結果、CPU11は、セクション累積再生時間SPTがセクションS1の配分時間Ts1を超えると判断する(S408でYES)。そのため、CPU11は、選択されたトラックTR1000及びエリアA3をプレイリスト準備テーブルに登録することなく、ステップS409に進む。   When the CPU 11 selects the track TR1000 in the selection area A3 in step S406, the CPU 11 reads the reproduction time (4 minutes 30 seconds) of the track TR1000, and executes step S407. As a result, the CPU 11 determines that the section cumulative reproduction time SPT exceeds the distribution time Ts1 of the section S1 (YES in S408). Therefore, the CPU 11 proceeds to step S409 without registering the selected track TR1000 and area A3 in the playlist preparation table.

ステップS409で、CPU11は、以下の式(10)に基づき、余剰時間RTを算出する(S409)。   In step S409, the CPU 11 calculates a surplus time RT based on the following equation (10) (S409).

余剰時間RT=配分時間Tsn−セクション累積再生時間SPT (10)
CPU11は、算出された余剰時間RTが所定時間ΔTmin(たとえば2分)よりも大きいか否かを判断する(S410)。余剰時間RTがΔTminよりも小さい場合(S410でNO)、ステップS411に進む。一方、余剰時間RTがΔTminよりも大きい場合(S410でYES)、CPU11は、余剰時間調整処理を実行する(S430)。余剰時間調整処理では、セクションS1内のトラックのうち、その再生時間が余剰時間RT以内のものを検索する処理である。以下、余剰時間調整処理について説明する。
Surplus time RT = allocation time Tsn-section cumulative playback time SPT (10)
The CPU 11 determines whether or not the calculated surplus time RT is longer than a predetermined time ΔTmin (for example, 2 minutes) (S410). If the surplus time RT is smaller than ΔTmin (NO in S410), the process proceeds to step S411. On the other hand, when the surplus time RT is larger than ΔTmin (YES in S410), the CPU 11 executes a surplus time adjustment process (S430). The surplus time adjustment process is a process of searching for tracks within the section S1 whose playback time is within the surplus time RT. Hereinafter, the surplus time adjustment process will be described.

図21を参照して、CPU11は、現在選択されているエリア内で再生時間が余剰時間RT以内のトラックを検索する(S501)。CPU11は、エリアテーブルを参照して、選択エリア(ここではエリアA3)に属するトラックを特定し、トラックテーブルを参照して、再生時間を調査する。ステップS501の検索の結果、再生時間が余剰時間RT以内のトラックを見つけた場合(S501でYES)、ステップS502に進む。一方、再生時間が余剰時間RT以内のトラックが見つからなかった場合(S501でNO)、CPU11は、セクションS1で未選択のエリアが存在するか否かを判断する(S507)。未選択エリアが存在しない場合(S507でNO)、S509に進む。   Referring to FIG. 21, CPU 11 searches for a track whose playback time is within surplus time RT in the currently selected area (S501). The CPU 11 refers to the area table, identifies a track belonging to the selected area (here, area A3), and refers to the track table to check the reproduction time. As a result of the search in step S501, if a track whose playback time is within the surplus time RT is found (YES in S501), the process proceeds to step S502. On the other hand, when a track whose reproduction time is within the surplus time RT is not found (NO in S501), the CPU 11 determines whether there is an unselected area in the section S1 (S507). If there is no unselected area (NO in S507), the process proceeds to S509.

ステップS507で判断の結果、未選択エリアが存在する場合(S507でYES)、CPU11は、未選択エリア内で、再生時間が余剰時間RTよりも短いトラックを検索する(S508)。再生時間が余剰時間RTよりも短いトラックを見つけた場合(S508でYES)、ステップS502に進む。一方、再生時間が余剰時間RTよりも短いトラックが見つからなかった場合(S508でNO)、CPU11は、プレイリスト条件テーブル内のセクションS1の登録エリアA2及びA5内で、再生時間が余剰時間RTよりも短いトラックを検索する(S509)。再生時間が余剰時間RTよりも短いトラックを見つけた場合はステップS502へ、見つからなかった場合は余剰時間調整処理を終了する。   If the result of determination in step S507 is that there is an unselected area (YES in S507), the CPU 11 searches for a track whose playback time is shorter than the surplus time RT in the unselected area (S508). If a track whose playback time is shorter than the surplus time RT is found (YES in S508), the process proceeds to step S502. On the other hand, when a track whose playback time is shorter than the surplus time RT is not found (NO in S508), the CPU 11 determines that the playback time is longer than the surplus time RT in the registration areas A2 and A5 of the section S1 in the playlist condition table. The short track is searched (S509). If a track whose playback time is shorter than the surplus time RT is found, the process proceeds to step S502. If no track is found, the surplus time adjustment process is terminated.

CPU11は、選択されたトラックのトラックID及びそのトラックが属するエリアIDをプレイリスト準備テーブルに登録し(S502)、かつ、そのトラックのスリープ特徴量SFQを算出して登録する(S503)。登録後、CPU11は、セクション累積再生時間SPTを算出し(S504)、ステップS409に進む。   The CPU 11 registers the track ID of the selected track and the area ID to which the track belongs in the playlist preparation table (S502), and calculates and registers the sleep feature value SFQ of the track (S503). After registration, the CPU 11 calculates the section cumulative playback time SPT (S504), and proceeds to step S409.

以上の動作により、CPU11は、セクションS1内のトラックのうち、再生時間が余剰時間RTよりも短いトラックを検索する。これにより、各セクションSnに配分された配分時間Tsnについて、過剰な余剰時間が発生するのを抑制できる。さらに、CPU11は、既にトラックを選択したエリアを除くエリアから、トラックをなるべく選択する。これにより、曲調が類似したトラックが選択されるのをなるべく抑制する。   With the above operation, the CPU 11 searches for a track whose reproduction time is shorter than the surplus time RT among the tracks in the section S1. Thereby, it is possible to suppress the occurrence of excessive surplus time for the allocation time Tsn allocated to each section Sn. Further, the CPU 11 selects a track as much as possible from an area excluding the area where the track has already been selected. As a result, it is possible to suppress selection of tracks having similar tunes as much as possible.

図19に戻って、余剰時間RTが所定時間ΔTmin以下となった場合(S410でNO)、CPU11は、プレイリスト累積再生時間PPTを以下の式(11)に基づいて算出する(S411)。   Returning to FIG. 19, when the surplus time RT becomes equal to or shorter than the predetermined time ΔTmin (NO in S410), the CPU 11 calculates the playlist cumulative reproduction time PPT based on the following equation (11) (S411).

PPT=PPT+SPTsn (11)
SPTsnとは、セクションsnのセクション累積再生時間である。ここでは、セクションS1のセクション累積再生時間が代入される。算出されたプレリスト累積再生時間PPTは、メモリ12に登録される。
PPT = PPT + SPTsn (11)
SPTsn is the section cumulative playback time of section sn. Here, the section cumulative playback time of section S1 is substituted. The calculated pre-list cumulative playback time PPT is registered in the memory 12.

CPU11は、セクションカウンタnをインクリメントし、n=2とする(S412)。そして、セクションカウンタがセクション数SNを超えたか否かを判断する(S413)。セクションカウンタ(=2)はセクション数SN(=4)を超えていないため(S413でNO)、CPU11は、セクションS2の配分時間Ts2を読み出し、以下の式(12)に基づいて、配分時間Ts2を再調整する(S414)。   The CPU 11 increments the section counter n and sets n = 2 (S412). Then, it is determined whether or not the section counter has exceeded the section number SN (S413). Since the section counter (= 2) does not exceed the number of sections SN (= 4) (NO in S413), the CPU 11 reads the allocation time Ts2 of the section S2, and based on the following equation (12), the allocation time Ts2 Is readjusted (S414).

配分時間Tsn=Tsn+RT (12)
要するに、現在メモリ12に格納されている配分時間Ts2に余剰時間RTを加算した値を新たな配分時間Ts2とする。算出された配分時間Ts2はメモリ12に格納される。これにより、プレイリスト作成後に、過剰な余剰時間が発生するのを抑制できる。
Allocation time Tsn = Tsn + RT (12)
In short, a value obtained by adding the surplus time RT to the distribution time Ts2 currently stored in the memory 12 is set as a new distribution time Ts2. The calculated distribution time Ts2 is stored in the memory 12. Thereby, it can suppress that excessive surplus time generate | occur | produces after playlist creation.

以上の動作を実行した後、CPU11は、ステップS403に戻って、セクションS2から少なくとも4つ(セクションS2の選択トラック数)のトラックを選択する。   After executing the above operation, the CPU 11 returns to step S403 and selects at least four tracks (the number of selected tracks in the section S2) from the section S2.

以上の動作を繰り返し、CPU11は、プレイリストに登録するためのトラックをセクションS1〜S4から選択する。なお、図18に示すとおり、セクションS3及びS4では、選択トラック数TRNsnが登録エリア数を上回っている。そのため、CPU11は、全てのエリアで1つのトラックを選択した後、いずれかのエリアで再び新たなトラックを選択する。たとえば、セクションS3のトラックを選択している場合であって、各登録エリアA13〜A18からそれぞれ1つずつトラックを選択したとき、ステップS418でCPU11は、セクションS3に選択済フラグが0のエリアはないと判断する(S418でNO)。この場合、CPU11は、メモリ12に格納されたエリアA13〜A18の選択済フラグをリセットして0とし(S419)、エリア番号が最大のエリアA18を選択エリアとする(S422)。そして、S405に戻って、エリアA18について再びトラックを選択する。   By repeating the above operation, the CPU 11 selects a track to be registered in the playlist from the sections S1 to S4. As shown in FIG. 18, in sections S3 and S4, the number of selected tracks TRNsn exceeds the number of registered areas. Therefore, after selecting one track in all areas, the CPU 11 selects a new track again in any area. For example, when the track of section S3 is selected and one track is selected from each of the registration areas A13 to A18, the CPU 11 determines in step S418 that the area where the selected flag is 0 in section S3. It is determined that there is not (NO in S418). In this case, the CPU 11 resets the selected flag of the areas A13 to A18 stored in the memory 12 to 0 (S419), and sets the area A18 having the largest area number as the selected area (S422). Then, returning to S405, the track is selected again for the area A18.

以上の動作により、セクションS3では、エリアA18から2つのトラックが選択される。同様の処理により、セクションS4では、エリアA20〜A24からそれぞれ2つのトラックが選択される。なお、図示していないが、同じトラックが選択されないように、CPU11は、ステップS408でNOとなったとき、選択トラックがプレイリスト準備テーブルに既に登録されているか否かを判断する。登録されていない場合、ステップS415に進むが、既に登録されている場合、ステップS406に戻り、再びトラックを選択する。   With the above operation, two tracks are selected from the area A18 in the section S3. By the same processing, two tracks are selected from the areas A20 to A24 in the section S4. Although not shown, the CPU 11 determines whether or not the selected track has already been registered in the playlist preparation table when the result of step S408 is NO so that the same track is not selected. If it is not registered, the process proceeds to step S415. If it is already registered, the process returns to step S406, and a track is selected again.

また、セクションS4内のエリアA24には、末尾トラックが属するが、CPU11は末尾トラックを選択してもよいし、選択しなくてもよい。また、エリアA24内のトラックを選択する場合、末尾トラックを選択するように予め設定されていてもよい。   The end track belongs to the area A24 in the section S4. However, the CPU 11 may or may not select the end track. Further, when a track in the area A24 is selected, it may be set in advance so that the last track is selected.

全てのセクションS1〜S4でトラックの選択が完了した後(S413でYES)、CPU11は、プレイリスト準備テーブルに基づいて、図22に示されるプレイリストPLを作成する(S423)。このとき、CPU11は、トラックTRを、プレイリスト準備テーブルに登録された所属エリアの番号の小さい順に、プレイリストPLに登録する。つまり、トラックは、xy座標系におけるその座標点が属するエリアが、先頭トラックSTRの座標点Pstrに近い順に、プレイリストに登録される。換言すれば、トラックの座標点が属するセクションが、先頭オーディオファイルの座標点に近い順に、プレイリストに登録される。これにより、CPU11は、テンポが動的から静的に変化し、かつ、音質がハードからソフトに変化するように、プレイリストPL上にトラックを列挙する。さらに、プレイリストPL上に列挙された複数のトラックの曲調の変化は、プレイリストの先頭部分で大きく、プレイリスト末尾に向かうにしたがって、曲調の変化は小さくなる。そのため、スリープ再生初期のトラックでは、次のトラックが再生されるごとに、曲調が大きく変化するものの、プレイリストの再生が進むにつれ、曲調の変化が小さくなる。そのため、スリープ再生の末期では、静かでソフトが曲を再生し、かつ、曲ごとの曲調の変化を小さくすることができる。   After the selection of tracks in all sections S1 to S4 is completed (YES in S413), the CPU 11 creates the playlist PL shown in FIG. 22 based on the playlist preparation table (S423). At this time, the CPU 11 registers the track TR in the playlist PL in ascending order of the number of the belonging area registered in the playlist preparation table. That is, the tracks are registered in the playlist in the order in which the area to which the coordinate point in the xy coordinate system belongs is closer to the coordinate point Pstr of the first track STR. In other words, the section to which the coordinate point of the track belongs is registered in the playlist in the order from the closest coordinate point of the first audio file. Thus, the CPU 11 lists tracks on the playlist PL so that the tempo changes from dynamic to static and the sound quality changes from hardware to software. Furthermore, the change in the tune of a plurality of tracks listed on the playlist PL is large at the beginning of the playlist, and the change in the tune is reduced toward the end of the playlist. Therefore, in the track in the early stage of sleep reproduction, the tune changes greatly every time the next track is played, but the change in tune decreases as the play list reproduction progresses. Therefore, at the end of sleep reproduction, the music can be reproduced quietly by software, and the change in the tone of each song can be reduced.

また、ステップS423で、CPU11は、トラックTRを、スリープ特徴量SFQの小さい順に、プレイリストPLに登録してもよい。この場合、同じエリアで複数トラックが選択された場合であっても、スリープ特徴量SFQに基づいて、曲調を、動的から静的に、かつ、ハードからソフトに、正確に順次変化させることができる。   In step S423, the CPU 11 may register the tracks TR in the playlist PL in ascending order of the sleep feature amount SFQ. In this case, even when a plurality of tracks are selected in the same area, the tone of music can be accurately and sequentially changed from dynamic to static and from hardware to software based on the sleep feature value SFQ. it can.

プレイリスト再生処理の最後に、CPU11は、曲間時間を算出する(S425)。CPU11は、メモリ12に登録されたプレイリスト累積再生時間PPTと、タイマ時間Trefを読み出す。CPU11はさらに、プレイリストPLに登録されたトラック数を特定する。CPU11は、プレイリストPL上の再生番号の最大値によりトラック数を特定する。CPU11は、プレイリスト累積再生時間PPT、タイマTref及びトラック数を用いて、以下の式(13)に基づいて、曲間時間を算出する。   At the end of the playlist reproduction process, the CPU 11 calculates the time between songs (S425). The CPU 11 reads the playlist cumulative reproduction time PPT and the timer time Tref registered in the memory 12. The CPU 11 further specifies the number of tracks registered in the playlist PL. The CPU 11 specifies the number of tracks by the maximum value of the reproduction number on the playlist PL. The CPU 11 calculates the inter-song time based on the following equation (13) using the playlist cumulative playback time PPT, the timer Tref, and the number of tracks.

曲間時間=(Tref−PPT)/(トラック数−1) (13)
これにより、CPU11は、余剰時間を曲間時間に割り振ることができる。そのため、タイマ時間Trefの経過時に、曲の再生を完了することができ、余りの時間の発生を抑制できる。以上の動作を実行した後、CPU11はプレイリスト作成処理を完了する。
Time between songs = (Tref−PPT) / (number of tracks−1) (13)
Thereby, CPU11 can allocate the surplus time to the time between music. For this reason, when the timer time Tref elapses, the reproduction of the music can be completed, and the occurrence of excessive time can be suppressed. After executing the above operation, the CPU 11 completes the playlist creation process.

[プレイリスト作成処理以降の動作]
再び図3に戻って、CPU11は、先頭トラックの再生が完了したとき(S10でYES)、プレイリストに基づいて再生を開始する(S11でYES及びS12)。このとき、オーディオ装置1は、テンポが動的から静的に変化し、かつ、音質がハードからソフトに変化するように、トラックを順次再生できる。さらに、スリープ再生初期では、トラックを再生するにしたがい、曲調の変化が大きく、再生が進むにつれ、曲調の変化が小さくなる。そのため、スリープ再生末期に近づくほど、曲調が類似したトラックが再生され、眠りにつきたいというユーザの心理に適した曲の再生ができる。
[Operation after playlist creation processing]
Returning to FIG. 3 again, when the reproduction of the first track is completed (YES in S10), the CPU 11 starts reproduction based on the playlist (YES in S11 and S12). At this time, the audio apparatus 1 can sequentially reproduce the tracks so that the tempo changes from dynamic to static and the sound quality changes from hardware to software. Furthermore, at the initial stage of sleep reproduction, as the track is reproduced, the change in the tune is large, and as the reproduction proceeds, the change in the tune is reduced. For this reason, as the end of sleep playback approaches, tracks with similar tunes are played, and a song suitable for the user's psychology of wanting to fall asleep can be played.

なお、CPU11は、トラックの再生が完了したとき、ステップS425で算出された曲間時間が経過した後、次のトラックの再生を開始する。これにより、タイマ時間の終了時にトラックの再生がちょうど完了することができ、タイマ時間に余りが発生しない。   Note that when the reproduction of the track is completed, the CPU 11 starts the reproduction of the next track after the time between songs calculated in step S425 has elapsed. Thereby, the reproduction of the track can be just completed at the end of the timer time, and there is no remainder in the timer time.

以上、本実施の形態では、特徴量を音質値及びテンポ値の2つとしたが、特徴量を1つとしてもよいし、3以上としてもよい。また、複数の特徴量のうち、1つの特徴量(たとえばテンポ値)のみを選択して、一次元の座標系を作成し、上述の方法によりセクション及びエリアを作成してもよい。また、3以上の特徴量に対応する座標軸を設定した多次元座標系を用いて、上述の方法によりセクション及びエリアを作成してもよい。   As described above, in the present embodiment, the feature amount is two, that is, the sound quality value and the tempo value. However, the feature amount may be one, or may be three or more. Alternatively, only one feature amount (for example, tempo value) among a plurality of feature amounts may be selected to create a one-dimensional coordinate system, and sections and areas may be created by the above-described method. Further, sections and areas may be created by the above-described method using a multidimensional coordinate system in which coordinate axes corresponding to three or more feature quantities are set.

また、上述の実施の形態では、セクション及びエリアを作成したが、セクションのみを作成し、各セクション単位でトラックを選択してもよい。   In the above embodiment, sections and areas are created. However, only sections may be created, and tracks may be selected in units of sections.

本実施の形態では、先にエリアを作成してからセクションを作成したが、先にセクションを作成し、その後各セクションを分割する複数のエリアを作成してもよい。   In this embodiment, the section is created after the area is created first, but a section may be created first, and then a plurality of areas may be created to divide each section.

本実施の形態では、オーディオ装置1がプレイリストPLを作成し、プレイリストPLに基づいて曲を再生したが、プレイリストの作成は再生装置ではなく、他の装置で行われてもよい。たとえば、複数のトラックを蓄積するサーバと、曲を再生するレンダラと、サーバ及びレンダラをコントロールするコントローラとがネットワーク接続されたネットワークAVシステムの場合、コントローラが、サーバに蓄積されている各トラックの特徴量を取得し、上述の方法によりプレイリストを作成して、プレイリストに基づく再生をレンダラに指示してもよい。   In the present embodiment, the audio apparatus 1 creates the playlist PL and reproduces the music based on the playlist PL, but the creation of the playlist may be performed by another apparatus instead of the reproduction apparatus. For example, in the case of a network AV system in which a server that stores a plurality of tracks, a renderer that reproduces music, and a server and a controller that controls the renderer are connected to the network, the controller is characterized by each track stored in the server. The amount may be acquired, a playlist may be created by the above-described method, and playback based on the playlist may be instructed to the renderer.

以上、本発明の実施の形態を説明したが、上述した実施の形態は本発明を実施するための例示に過ぎない。よって、本発明は上述した実施の形態に限定されることなく、その趣旨を逸脱しない範囲内で上述した実施の形態を適宜変形して実施することが可能である。   While the embodiments of the present invention have been described above, the above-described embodiments are merely examples for carrying out the present invention. Therefore, the present invention is not limited to the above-described embodiment, and can be implemented by appropriately modifying the above-described embodiment without departing from the spirit thereof.

本発明の実施の形態によるオーディオ装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the audio apparatus by embodiment of this invention. 図1に示したハードディスクに記憶されたトラックテーブルのデータ構造を示す図である。It is a figure which shows the data structure of the track table memorize | stored in the hard disk shown in FIG. 図1に示したオーディオ装置が実行するスリープ再生処理の動作フロー図である。FIG. 6 is an operation flowchart of sleep reproduction processing executed by the audio device shown in FIG. 1. 図3中のステップS7の詳細を示すフロー図である。It is a flowchart which shows the detail of step S7 in FIG. 図4中のステップS701の詳細を示すフロー図である。It is a flowchart which shows the detail of step S701 in FIG. 図5中のステップS101を説明するための模式図である。It is a schematic diagram for demonstrating step S101 in FIG. 図5中のステップS105を説明するための模式図である。It is a schematic diagram for demonstrating step S105 in FIG. 図7と異なる、図5中のステップS105を説明するための他の模式図である。FIG. 10 is another schematic diagram for explaining step S105 in FIG. 5, which is different from FIG. 図5中のステップS107及びS108でデータが登録されるエリアテーブルのデータ構造を示す図である。It is a figure which shows the data structure of the area table in which data are registered by step S107 and S108 in FIG. 図5中のステップS108を説明するための模式図である。It is a schematic diagram for demonstrating step S108 in FIG. 図7及び図8と異なる、図5中のステップS105を説明するための他の模式図である。FIG. 9 is another schematic diagram for explaining step S105 in FIG. 5, which is different from FIG. 7 and FIG. 図4中のステップS702の詳細を示すフロー図である。It is a flowchart which shows the detail of step S702 in FIG. 図12中のステップS203を説明するための模式図である。It is a schematic diagram for demonstrating step S203 in FIG. 図12中のステップS203でデータが登録されるセクションテーブルのデータ構造を示す図である。It is a figure which shows the data structure of the section table in which data are registered by step S203 in FIG. 図4中のステップS703の詳細を示すフロー図である。It is a flowchart which shows the detail of step S703 in FIG. 図15中のステップS301を説明するための模式図である。It is a schematic diagram for demonstrating step S301 in FIG. 図15中のステップS301で使用可能な時間配分テーブルのデータ構造を示す図である。It is a figure which shows the data structure of the time allocation table which can be used by step S301 in FIG. 図15中のステップS305及びS307でデータが登録されるプレイリスト条件テーブルのデータ構造を示す図である。FIG. 16 is a diagram illustrating a data structure of a playlist condition table in which data is registered in steps S305 and S307 in FIG. 図4中のステップS704の詳細を示すフロー図である。It is a flowchart which shows the detail of step S704 in FIG. 図19中のステップS415でデータが登録されるプレイリスト準備テーブルのデータ構造を示す図である。It is a figure which shows the data structure of the play list preparation table in which data are registered by step S415 in FIG. 図19中のステップS430の詳細を示すフロー図である。It is a flowchart which shows the detail of step S430 in FIG. 図19中のステップS423で作成されるプレイリストのデータ構造を示す図である。It is a figure which shows the data structure of the play list produced by step S423 in FIG.

符号の説明Explanation of symbols

1 オーディオ装置
11 CPU
12 メモリ
13 HDD
14 入力部
1 Audio device 11 CPU
12 Memory 13 HDD
14 Input section

Claims (8)

複数のオーディオファイルと、前記オーディオファイルの特徴量とを記憶する記憶手段と、
前記特徴量に基づいて、前記特徴量に対応する座標軸を有する座標系に、前記オーディオファイルの座標点を配置する配置手段と、
先頭オーディオファイル及び末尾オーディオファイルを特定する特定手段と、
前記座標系において、前記先頭オーディオファイルの座標点から前記末尾オーディオファイルの座標点までを結ぶベクトルを複数に分割し、前記ベクトル方向に一列に配列される複数の区域を作成する区域作成手段と、
前記作成された複数の区域のうち、前記末尾オーディオファイルの座標点に近い区域ほど、選択されるオーディオファイル数が多くなるように、各区域に含まれる座標点で特定される1又は複数のオーディオファイルを選択する選択手段と、
前記選択された複数のオーディオファイルを、前記オーディオファイルの座標点を含む区域が前記先頭オーディオファイルの座標点に近い順に、順次再生する再生手段とを備えることを特徴とするオーディオ装置。
Storage means for storing a plurality of audio files and feature amounts of the audio files;
Arrangement means for arranging coordinate points of the audio file in a coordinate system having coordinate axes corresponding to the feature amount based on the feature amount;
A specifying means for specifying the first audio file and the last audio file;
In the coordinate system, an area creating means for dividing a vector connecting the coordinate point of the head audio file to the coordinate point of the tail audio file into a plurality of areas and creating a plurality of areas arranged in a line in the vector direction;
Among the plurality of created areas, one or a plurality of audio specified by the coordinate points included in each area so that the area closer to the coordinate point of the end audio file has a larger number of selected audio files. A selection means for selecting a file;
An audio apparatus comprising: playback means for sequentially playing the selected plurality of audio files in an order in which an area including the coordinate point of the audio file is close to the coordinate point of the head audio file.
請求項1に記載のオーディオ装置であってさらに、
前記各区域を複数に分割し、前記ベクトル方向に一列に配列される複数の領域を作成する領域作成手段を備え、
前記再生手段は、前記選択された複数のオーディオファイルを、前記オーディオファイルの座標点を含む領域が前記先頭オーディオファイルの座標点に近い順に、順次再生することを特徴とするオーディオ装置。
The audio device of claim 1, further comprising:
An area creating unit that divides each area into a plurality of areas and creates a plurality of areas arranged in a line in the vector direction,
The audio apparatus is characterized in that the reproduction means sequentially reproduces the selected plurality of audio files in an order in which an area including the coordinate point of the audio file is close to the coordinate point of the head audio file.
請求項2に記載のオーディオ装置であって、
前記記憶手段はさらに、前記複数のオーディオファイルの各々の再生時間を記憶し、
前記オーディオ装置はさらに、
タイマ時間を設定するタイマ設定手段と、
前記各区域の配分時間の合計が前記タイマ時間以下となり、かつ、前記複数の区域のうち前記末尾オーディオファイルの座標点に近い区域ほど、前記配分時間が長くなるように、各区域の配分時間を設定する配分設定手段とを備え、
前記選択手段は、前記各区域で選択されたオーディオファイルの再生時間の合計が、前記配分設定手段により設定された配分時間以内となるように、前記オーディオファイルを選択することを特徴とするオーディオ装置。
The audio device according to claim 2,
The storage means further stores a playback time of each of the plurality of audio files,
The audio device further includes
Timer setting means for setting the timer time;
The allocation time of each area is set such that the total of the allocation time of each area is equal to or less than the timer time and the allocation time is longer in the area closer to the coordinate point of the end audio file among the plurality of areas. Distribution setting means for setting,
The audio device is characterized in that the selection means selects the audio file so that the total reproduction time of the audio files selected in the respective areas is within the distribution time set by the distribution setting means. .
請求項3に記載のオーディオ装置であってさらに、
前記選択手段により選択されたオーディオファイルの総再生時間を算出する総再生時間算出手段と、
前記タイマ時間と前記総再生時間との差分値を算出する差分演算手段と、
前記差分値と、前記選択されたオーディオファイル数とに基づいて、曲間時間を算出する曲間時間算出手段とを備え、
前記再生手段は、前記オーディオファイルの再生を完了した後、前記曲間時間が経過してから次のオーディオファイルを再生することを特徴とするオーディオ装置。
The audio device according to claim 3, further comprising:
Total playback time calculating means for calculating the total playback time of the audio file selected by the selection means;
Difference calculating means for calculating a difference value between the timer time and the total reproduction time;
Based on the difference value and the selected number of audio files, inter-song time calculating means for calculating a time between songs,
The audio device is characterized in that, after the reproduction of the audio file is completed, the reproduction means reproduces the next audio file after the time between the songs has elapsed.
請求項1に記載のオーディオ装置であって、
前記特定手段は、オーディオファイルが再生中であるとき、前記再生中のオーディオファイルを前記先頭オーディオファイルに特定することを特徴とするオーディオ装置。
The audio device according to claim 1,
The audio device is characterized in that, when an audio file is being played back, the specifying means specifies the audio file being played back as the head audio file.
複数のオーディオファイルが列挙されたプレイリストに基づいてオーディオファイルを再生するための前記プレイリストを作成するプレイリスト作成装置であって、
複数のオーディオファイルの特徴量を取得する取得手段と、
前記特徴量に基づいて、前記特徴量に対応する座標軸を有する座標系に、前記オーディオファイルの座標点を配置する配置手段と、
先頭オーディオファイル及び末尾オーディオファイルを特定する特定手段と、
前記座標系において、前記先頭オーディオファイルの座標点から前記末尾オーディオファイルの座標点までを結ぶベクトルを複数に分割し、前記ベクトル方向に一列に配列される複数の区域を作成する区域作成手段と、
前記作成された複数の区域のうち、前記末尾オーディオファイルの座標点に近い区域ほど、選択されるオーディオファイル数が多くなるように、各区域に含まれる座標点で特定される1又は複数のオーディオファイルを選択する選択手段と、
前記選択された複数のオーディオファイルを、前記オーディオファイルの座標点を含む区域が前記先頭オーディオファイルの座標点に近い順に再生されるように、前記選択された複数のオーディオファイルを列挙したプレイリストを作成するプレイリスト作成手段を備えることを特徴とするプレイリスト作成装置。
A playlist creation device that creates the playlist for playing an audio file based on a playlist in which a plurality of audio files are listed,
Acquisition means for acquiring feature quantities of a plurality of audio files;
Arrangement means for arranging coordinate points of the audio file in a coordinate system having coordinate axes corresponding to the feature amount based on the feature amount;
A specifying means for specifying the first audio file and the last audio file;
In the coordinate system, an area creating means for dividing a vector connecting the coordinate point of the head audio file to the coordinate point of the tail audio file into a plurality of areas and creating a plurality of areas arranged in a line in the vector direction;
Among the plurality of created areas, one or a plurality of audio specified by the coordinate points included in each area so that the area closer to the coordinate point of the end audio file has a larger number of selected audio files. A selection means for selecting a file;
A playlist that lists the selected audio files so that the selected audio files are played back in the order that the area including the coordinate points of the audio file is closest to the coordinate points of the first audio file. A playlist creation device comprising playlist creation means for creating.
請求項6に記載のプレイリスト作成装置であってさらに、
前記各区域を複数に分割し、前記ベクトル方向に配列される複数の領域を作成する領域作成手段を備え、
前記プレイリスト作成手段は、前記選択された複数のオーディオファイルが、前記オーディオファイルの座標点を含む領域が前記先頭オーディオファイルの座標点に近い順に再生されるように、前記選択された複数のオーディオファイルを前記プレイリストに列挙することを特徴とするプレイリスト作成装置。
The playlist creation device according to claim 6, further comprising:
An area creating unit that divides each section into a plurality and creates a plurality of areas arranged in the vector direction,
The playlist creating means is configured to reproduce the selected plurality of audio files so that an area including the coordinate point of the audio file is played back in an order close to the coordinate point of the first audio file. A playlist creating apparatus, wherein files are listed in the playlist.
複数のオーディオファイルと前記オーディオファイルの特徴量とを記憶するコンピュータが実行可能なオーディオ再生プログラムであって、
前記特徴量に基づいて、前記特徴量に対応する座標軸を有する座標系に、前記オーディオファイルの座標点を配置するステップと、
先頭オーディオファイル及び末尾オーディオファイルを特定するステップと、
前記座標系において、前記先頭オーディオファイルの座標点から前記末尾オーディオファイルの座標点までを結ぶベクトルを複数に分割し、前記ベクトル方向に一列に配列される複数の区域を作成するステップと、
前記作成された複数の区域のうち、前記末尾オーディオファイルの座標点に近い区域ほど、選択されるオーディオファイル数が多くなるように、各区域に含まれる座標点で特定される1又は複数のオーディオファイルを選択するステップと、
前記選択された複数のオーディオファイルを、前記オーディオファイルの座標点を含む区域が前記先頭オーディオファイルの座標点に近い順に、順次再生するステップとを前記コンピュータに実行させることを特徴とするオーディオ再生プログラム。
An audio playback program executable by a computer that stores a plurality of audio files and feature quantities of the audio files,
Arranging coordinate points of the audio file in a coordinate system having a coordinate axis corresponding to the feature amount based on the feature amount;
Identifying the first and last audio files;
Dividing the vector connecting the coordinate point of the leading audio file to the coordinate point of the trailing audio file in the coordinate system into a plurality, and creating a plurality of areas arranged in a line in the vector direction;
Among the plurality of created areas, one or a plurality of audio specified by the coordinate points included in each area so that the area closer to the coordinate point of the end audio file has a larger number of selected audio files. Selecting a file;
An audio playback program that causes the computer to execute the step of sequentially playing the selected plurality of audio files in an order in which an area including the coordinate point of the audio file is close to the coordinate point of the head audio file. .
JP2007086736A 2007-03-29 2007-03-29 Audio device, playlist creation device, and audio playback program Active JP4957326B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007086736A JP4957326B2 (en) 2007-03-29 2007-03-29 Audio device, playlist creation device, and audio playback program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007086736A JP4957326B2 (en) 2007-03-29 2007-03-29 Audio device, playlist creation device, and audio playback program

Publications (2)

Publication Number Publication Date
JP2008243345A true JP2008243345A (en) 2008-10-09
JP4957326B2 JP4957326B2 (en) 2012-06-20

Family

ID=39914478

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007086736A Active JP4957326B2 (en) 2007-03-29 2007-03-29 Audio device, playlist creation device, and audio playback program

Country Status (1)

Country Link
JP (1) JP4957326B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210047378A (en) * 2016-01-04 2021-04-29 그레이스노트, 인코포레이티드 Generating and distributing playlists with music and stories having related moods

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003005756A (en) * 2001-06-21 2003-01-08 Shinsuke Ohira System for automatically preparing music selection order list accompanied by change of desired music with lapse of time in reproducing, delivering and broadcasting music file data in electronic apparatus and reproducing and delivering system for the same
JP2003323180A (en) * 2002-05-02 2003-11-14 Fujitsu Ltd Method for automatically scheduling program, and program for executing processing in the method by computer
JP2006039704A (en) * 2004-07-23 2006-02-09 Matsushita Electric Ind Co Ltd Play list generation device
JP2006201389A (en) * 2005-01-19 2006-08-03 Yamaha Corp Play-back apparatus and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003005756A (en) * 2001-06-21 2003-01-08 Shinsuke Ohira System for automatically preparing music selection order list accompanied by change of desired music with lapse of time in reproducing, delivering and broadcasting music file data in electronic apparatus and reproducing and delivering system for the same
JP2003323180A (en) * 2002-05-02 2003-11-14 Fujitsu Ltd Method for automatically scheduling program, and program for executing processing in the method by computer
JP2006039704A (en) * 2004-07-23 2006-02-09 Matsushita Electric Ind Co Ltd Play list generation device
JP2006201389A (en) * 2005-01-19 2006-08-03 Yamaha Corp Play-back apparatus and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210047378A (en) * 2016-01-04 2021-04-29 그레이스노트, 인코포레이티드 Generating and distributing playlists with music and stories having related moods
KR102393704B1 (en) 2016-01-04 2022-05-04 그레이스노트, 인코포레이티드 Generating and distributing playlists with music and stories having related moods

Also Published As

Publication number Publication date
JP4957326B2 (en) 2012-06-20

Similar Documents

Publication Publication Date Title
CN101385086B (en) Content reproduction device and content reproduction method
JP2005321668A (en) Device and method for processing information, and program
RU2410769C2 (en) Device and method for reproducing content
JP3797547B2 (en) PLAYLIST GENERATION DEVICE, AUDIO INFORMATION PROVIDING DEVICE, AUDIO INFORMATION PROVIDING SYSTEM AND METHOD, PROGRAM, AND RECORDING MEDIUM
US20090006353A1 (en) Method and Apparatus for Selecting Items from a Number of Items
US20120185070A1 (en) Personalized playlist arrangement and stream selection
JP4775626B2 (en) Information processing apparatus and method, and program
JP2009217551A (en) Media player and play method
JP2006526826A (en) Content recommendation device having an array engine
JP2007164545A (en) Preference profile generator, preference profile generation method, and profile generation program
JP3879545B2 (en) Music reproduction control device, music reproduction control program, and recording medium
GB2379076A (en) Method and apparatus for composing a song
KR20070110085A (en) Method and apparatus to store content and a query on a device
JP4957326B2 (en) Audio device, playlist creation device, and audio playback program
JP4496478B2 (en) Information processing apparatus and method, and program
JP6288197B2 (en) Evaluation apparatus and program
JP6102076B2 (en) Evaluation device
JP2005032409A (en) Device and method for reproducing musical piece
US7053290B2 (en) Music reproducing apparatus and music reproducing method
JP6733240B2 (en) How to update the content list
JP5943020B2 (en) Information processing apparatus and program
JP6074835B2 (en) Music practice support device
JP3988795B2 (en) Music reproduction control device and music reproduction control program
JP4477159B2 (en) Karaoke equipment
JP5949808B2 (en) Information processing apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091208

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20101227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110330

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20110401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110719

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110916

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120221

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120305

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150330

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150