JP3714271B2 - Melody system with timer function - Google Patents

Melody system with timer function Download PDF

Info

Publication number
JP3714271B2
JP3714271B2 JP2002084457A JP2002084457A JP3714271B2 JP 3714271 B2 JP3714271 B2 JP 3714271B2 JP 2002084457 A JP2002084457 A JP 2002084457A JP 2002084457 A JP2002084457 A JP 2002084457A JP 3714271 B2 JP3714271 B2 JP 3714271B2
Authority
JP
Japan
Prior art keywords
time
sound data
reproduction
loop
playback
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.)
Expired - Fee Related
Application number
JP2002084457A
Other languages
Japanese (ja)
Other versions
JP2003279672A (en
Inventor
清志 山木
和成 深谷
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2002084457A priority Critical patent/JP3714271B2/en
Publication of JP2003279672A publication Critical patent/JP2003279672A/en
Application granted granted Critical
Publication of JP3714271B2 publication Critical patent/JP3714271B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Predetermined Time Intervals (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、タイマー機能を有するメロディシステムに関する。
【0002】
【従来の技術】
いわゆるタイマーと称される従来からある一般的なタイマー機能を有する装置は、利用者が指定した時間が経過すると、例えば「チン」というような簡単な単発音やブザー等が鳴って、指定された時間が経過したことを利用者に知らせている。このように従来のタイマーは、単機能であり、指定された時間(計時時間)の経過後、このことを知らせる音や振動等を発する動作を行うのみであった。したがって、利用者は、終了を知らせる音が鳴るまで、このタイマーからは有用な情報やその他の利益は得られず、また、もうすぐ終わるかな、というような情報は、タイマーの目盛等を見なければわからなかった。
【0003】
こうしたことから、特開平3年150491号公報に開示された発明では、所定の時間で終了する連続音を予め記憶し電源を入れてからあるいは所定の時間から終了するまで、この連続音を鳴らし、所定時間の経過や到達を知らせる機能をタイマーに持たせている。この発明では、さらに、調理する種類及び内容によって、材料の内容が理解される音楽を使用したり、1分間隔で連続音を変化させ、経過時間、残り時間がわかるようにしており、終了時まで、利用者はこのような付加的な情報が得ることができ、従来のタイマーにはない機能を持たせている。
【0004】
【発明が解決しようとする課題】
しかし、特開平3年150491号公報に開示された発明は、ある程度大まかな時間単位(例えば1分単位)で使用されるタイマーに関するものであり、細かい時間設定ができるものではない。この発明において細かい時間設定を可能とするには、設定可能な時間のすべてについて、各時間に対応する連続音を予め記憶しなければならず、この連続音を記憶するために大きな記憶容量が必要となる。
【0005】
本発明は、上記の点に鑑みてなされたもので、細かい計時時間の設定が可能で、単に時間の経過を待たせるのではなく、利用者が待ち時間を楽しくあるいはリラックスして過ごせるタイマー機能を有するメロディシステムを提供するものである。
【0006】
【課題を解決するための手段】
請求項1に記載の発明は、タイマー機能を有するメロディシステムにおいて、繰り返し再生するためのループ用音データと、終了の少し前から終了時までに再生する終了時用音データと、各音データの再生時間情報とを記憶する記憶手段と、前記各音データを再生する再生手段と、計時時間の指定および計時開始の指示を受ける入力手段と、指定された前記計時時間と前記各音データの再生時間情報に基づき、繰り返し再生された場合のループ用音データの全再生時間と終了時用音データの再生時間の総和が指定された計時時間に一致するか最も近い値となる様に、ループ用音データの繰り返し回数を算出し、計時開始の指示を受けると、最初に前記算出された繰り返し回数分前記ループ用音データを、続いて前記終了時用音データを、順次前記再生手段に再生させる制御手段と、を具備することを特徴とするタイマー機能を有するメロディシステムである。
【0007】
また、請求項2に記載の発明は、請求項1に記載のタイマー機能を有するメロディシステムにおいて、前記ループ用音データの繰り返し回数を算出する際、繰り返し再生された場合のループ用音データの全再生時間と終了時用音データの再生時間の総和が、指定された計時時間に一致しない場合、前記制御手段は、さらに、前記各音データの全部または一部の再生テンポの調整または終了間際の音量の調整をすることにより、各音データの全再生時間を指定された計時時間に一致させることを特徴とする。
【0008】
また、請求項3に記載の発明は、請求項1または請求項2に記載のタイマー機能を有するメロディシステムにおいて、前記記憶手段が、さらに、残り時間を知らせるための音データを該残り時間に対応づけ記憶し、前記制御手段は、所定の残り時間のタイミングに、該残り時間に対応する前記残り時間を知らせるための音データを前記再生手段に再生させることを特徴とする。
【0009】
なお、上記ループ用音データと終了時用音データは、その再生時にそれぞれのつながりが違和感なくつながる様に作成されることが望ましい。同様にループ用音データについても、その繰り返し再生が違和感なくつながるように作成されることが望ましい。また、使用される音データは、利用者が待ち時間を楽しくあるいはリラックスして過ごせるような音楽等に基づくものであることが望ましい。
【0010】
さて、請求項1に記載の発明では、指定された計時時間に基づき、各音データの再生時間情報から、繰り返し再生された場合のループ用音データの全再生時間と終了時用音データの再生時間の総和が指定された計時時間に一致するか最も近い値となる様に、ループ用音データの繰り返し回数を算出する。そして、計時開始の指示を受けると、最初に、算出された繰り返し回数分だけループ用音データを再生し、さらに続いて終了時用音データを再生する。このようにして、各音データが連続して再生される。
また、請求項2に記載の発明では、各音データの全再生時間が指定された計時時間に一致するように、各音データの全部または一部の再生テンポの調整または終了間際の音量の調整をする。
また、請求項3に記載の発明では、所定の残り時間のタイミングに、このタイミングに対応する残り時間を知らせるための音データを再生する。
【0011】
【発明の実施の形態】
以下、本発明の実施の形態を、図面を参照して説明する。
図1は、本発明の一実施の形態であるメロディシステムの概略構成を示すブロック図である。
【0012】
図1において、符号1aは、CPU(中央処理装置)であり、予め用意された制御プログラムを実行することによりメロディシステム1の各部の動作を制御する。このCPU1aによる制御の詳細は後述する。
符号1bは、メモリであり、ROM(Read Only Memory)およびRAM(Random Access Memory)により構成されている。このROMには、CPU1aが実行する制御プログラムや、楽曲再生処理や音声再生処理を補助するプログラムや、予め記憶される、計時開始時に再生する開始時用音データと、繰り返し再生するためのループ用音データと、終了の少し前から終了時までに再生する終了時用音データの3種の音データと、この3種の音データの再生時間(再生時間情報)が格納されるとともに、残り時間を知らせるための音データ(以下、音声データと称す)が所定の残り時間(例えば、10分(すなわち10分前)、1分(すなわち1分前)等)に対応づけられ格納されている。また、RAMには、CPU1aのワークエリア等が設定される。
【0013】
なお、本実施の形態では、開始時用音データ、ループ用音データ、終了時用音データの各音データは、MIDI(Musical Instrument Digital Interface )データとして作成され、音声データは、別途デジタルサンプリングされた音声のデータを用いるものとする。
また、本実施の形態では、上記のように計時開始時に再生する開始時用音データと、繰り返し再生するためのループ用音データと、終了の少し前から終了時までに再生する終了時用音データの3種の音データと、この3種の音データの再生時間を用いることとするが、上記開始時用音データを省略し、繰り返し再生するためのループ用音データと、終了の少し前から終了時までに再生する終了時用音データの2種の音データと、この2種の音データの再生時間とを用いる形態として構成してもよい。なお、この場合、後述する開始時用音データの再生時間tsは0(ゼロ)となる。
【0014】
符号1cは、入力部であり、メロディシステム1の本体に設けられ、計時時間を設定するためのダイヤルあるいは同様に計時時間を設定するための「0」〜「9」からなる設定ボタンや、計時開始を指示するタイマースタート・ボタンからなり、これらのボタン等からの入力を検知する入力手段である。この入力部1cにて検知された入力値等はCPU1aに与えられる。
また、符号1dは、LCD(Liquid Crystal Display)等から構成される表示部であり、設定された計時時間や、計時中の残り時間等を表示する。なお、上記入力部1cがダイヤル式の場合には、この表示部1dは、本体表面にプリントされる計時時間/残り時間を示す数値と、ダイヤル上に印される指示部(例えば、突起等)とで構成されるものとする。
【0015】
また、符合1eは、タイマ部であり、時間を計り所定の時間間隔でCPU1aに割り込みをかける。CPU1aは、このタイマ部1eからの割り込みに基づき、経過時間や残り時間等を求める。
音源1fは、CPU1aによる制御を受け、上記開始時用音データまたはループ用音データまたは終了時用音データに基づき、それぞれの楽音信号を生成しスピーカ1hにそれぞれの楽音を再生・出力させる。なお、この音源1fは、ここではMIDI対応であるものとする。音源1fは、前述のようにMIDIデータとして作成された各音データを再生する。
【0016】
また、符合1gは、音声再生部であり、CPU1aによる制御を受け、上記音声データに基づき音声信号を生成する。この音声再生部1gは、デジタルサンプリングされ作成された音声データを、アナログの音声信号に復元する。生成された音声信号は、上記音源1fが生成する楽音信号にミックスされスピーカ1hから再生・出力される。
なお、各機能ブロックはバス10を介してデータや命令の授受を行っている。
【0017】
図2に、メロディシステム1の外観(表側)の1例を示している。この例では、計時時間を設定するためのダイヤルと、スピーカ1hからの再生音が出力される開口部が設けられている。なお、この例では、表面に印字された数字と目盛部分とダイヤル突起部分が表示部1dに相当するものである。また、本例では、上記スタート・ボタンが無いが、ダイヤルによる計時時間の設定の終了と同時に計時が開始される。
【0018】
次に、このように構成された本実施形態のメロディシステム1の動作について、図3を参照し説明する。
【0019】
まず、利用者による、メロディシステム1本体の入力部1cの設定ボタンを使った計時時間の設定(タイマー設定)の入力と、さらに、タイマースタート・ボタンにより計時開始の指示入力を受ける(ステップS11)。
次に、ステップS11で入力・設定された計時時間から、ループ用音データの繰り返し再生回数(ループ回数=n)を算出するとともに、計時終了時の終了方法を決定する(ステップS12)。なお、この処理の詳細は後述する。
【0020】
次に、CPU1aは、メモリ1bから開始時用音データを取得し、この開始時用音データを音源1fに与える。そして音源1fが、この開始時用音データに基づくスタート曲を再生する(ステップS13)。
さらに、CPU1aは、開始時用音データの再生時間が経過するとメモリ1bからループ用音データを取得し、音源1fに与える。音源1fは、このループ用音データに基づくループ曲を再生する(ステップS14)。
次に、CPU1aは、終了10秒前であるか判断する(ステップS15)。なお、この終了10秒前は一例であり、どのタイミングにするかは別途定められるものである。
【0021】
ステップS15の判断で、終了10秒前であると判定されると(ステップS15でYesの判定)、CPU1aは、メモリ1bから残り時間として10秒前を知らせる音データを取得し、この音データを音声再生部1gに与える。音声再生部1gは、この音データに基づく音声(例えば、「あと10秒です」)を再生する(ステップS16)。このように、所定のタイミングで残り時間に応じたお知らせの音声を残り時間に同期させ再生する。これは、例えば、ループ曲の再生が何回目であるかという情報を基に、終了時までの残り時間としてきりのいい残り時間のタイミングで行う。もちろんCPU1aにてタイマ部1eからの信号に基づき計時される任意の時間に、このタイミングを設定することは可能である。
【0022】
一方、ステップS15の判断で、終了10秒前でないと判定されると(ステップS15でNoの判定)、ステップS17へ移る。
ステップS17では、現時点の繰り返し回数が、ステップS12で算出されたループ回数nに到達したか判断する。現段階では、繰り返し回数は1回であるので、Noと判定されステップS14に戻り、再度ループ曲の再生を実行する。
以上のように、ループ曲再生の繰り返し回数がループ回数nに到達するまで、ステップS14からステップS17までの処理を繰り返す。
【0023】
ここで、ループ曲再生の繰り返し回数がループ回数nに到達したとする。
すると、ステップS17の判断でYesと判定され、ステップS18へ移る。
ステップS18では、CPU1aは、メモリ1bから終了時用音データを取得し、この終了時用音データを音源1fに与える。音源1fは、この終了時用音データに基づく終了曲を、ステップS12で決定された終了方法にて再生する。
ステップS18における終了曲の再生が終わると、CPU1aは、メモリ1bから、残り時間がなくたったこと(終了したこと)を知らせる音データを取得し、この音データに基づく音声(例えば、「終了しました」)を再生する(ステップS19)。
以上が、本実施の形態のメロディシステム1の動作フローである。
【0024】
なお、以上では、ループ回数と終了方法の決定をするための処理時間が無視できるものとする。このループ回数と終了方法の決定をするための処理時間が無視できない場合は、利用者によるタイマー設定後にその処理を行い、そしてループ回数と終了方法の決定後にタイマースタートの指示を受け付け、スタート曲を再生するようにする。あるいは、タイマースタートの指示を受けた後、まずスタート曲を再生し、このスタート曲の再生中にループ回数と終了方法の決定を行うようにしてもよい。
【0025】
ここで、上記ステップS12における、ループ回数と終了方法を決定するための処理の詳細について、図4を参照して説明する。
以下では、
T:タイマーの計時時間、
ts:開始時用音データの再生時間、
te:終了時用音データの再生時間、
tl:ループ用音データの再生時間、
とする。また、終了方法の種類として、下記の通常モードとテンポスローモードとフェードアウトモードを設ける(詳細は後述する)ものとする。
【0026】
図4に示すように、はじめに(T−ts−te)/tlを計算し、商nと余りαを求める(ステップS121)。
そして、ステップS121で求められた余りαが0(ゼロ)であるか否か判断する(ステップS122)。
次に、ステップS122の判断で、α=0であると判定されると(ステップS122でYesの判定)、ステップS123へ移る。
ステップS123では、ループ回数を、ステップS121で求められたnとし、終了方法として通常モードを選択する。
一方、ステップS122の判断で、α=0でないと判定された場合(ステップS122でNoの判定)、ステップS124の判断に移る。
【0027】
ステップS124では、さらに、ステップS121で求めた余りαが、α≦tl/2であるか否か判断する。
そして、ステップS124の判断で、α≦tl/2であると判定されると(ステップS124でYesの判定)、ステップS125へ移る。
次に、ステップS125では、ループ回数を、ステップS121で求められたnとし、終了方法としてテンポスローモードを選択する。
一方、ステップS124の判断で、α≦tl/2でないと判定されると(ステップS124でNoの判定)、ステップS126へ移る。
そして、ステップS126では、ループ回数を、ステップS121で求められたnに1を加算したn+1とし、終了方法としてフェードアウトモードを選択する。
【0028】
上記処理の具体例として、ts=10秒、tl=2秒、te=10秒、T=1分(=60秒)の場合は、(T−ts−te)/tl=(60−10−10)/2=20となり、商nとして20、余りαとして0が求まる。この例では、開始時用音データに基づくスタート曲が10秒間再生され、続いてループ用音データに基づくループ曲が20回、2秒×20=40秒間再生され、続いて終了用音データに基づく終了曲が10秒間再生され終了する。また、開始から終了までの所定のタイミングで、残り時間に応じたお知らせの音声が残り時間に同期して再生される。
以上が、ステップS12における、ループ回数と終了方法を決定するための処理の詳細である。
【0029】
次に、上記通常モード、テンポスローモード、フェードアウトモードについて説明する。
(1)通常モードとは、図5に示すように、開始時用音データの再生時間tsとループ用音データの全再生時間tl×nと終了時用音データの再生時間teの総和が、指定されたタイマーの計時時間Tに一致する場合、すなわち、ts+tl×n+te=Tとなる場合で、最初に開始時用音データを再生し、続いて算出されたループ回数分(すなわちn回)だけループ用音データを再生し、続いて終了時用音データを再生して終了するモードである。したがって、通常モードにおける各音データの全再生時間は、ts+tl×n+teであり、計時時間T=全再生時間ts+tl×n+teとなる。
【0030】
(2)テンポスローモードとは、図6に示すように、開始時用音データの再生時間tsとループ用音データの全再生時間tl×nと終了時用音データの再生時間teの総和が、指定されたタイマーの計時時間Tに一致しない場合であって、さらに、前述のステップS121で算出される余りαがtl/2以下である場合、すなわち、α≦tl/2である場合、開始時用音データの再生とループ用音データの再生は、通常モードと同じであるが、終了時用音データを再生する際、そのテンポを延ばし、その再生時間te’を元の再生時間teにαを加えた、te+αとなるように、終了時用音データを再生し終了するモードである。したがって、テンポスローモードにおける各音データの全再生時間は、ts+tl×n+te’、ただし、te’=te+αであり、計時時間T=全再生時間ts+tl×n+te’となる。
【0031】
(3)フェードアウトモードとは、図7に示すように、開始時用音データの再生時間tsとループ用音データの全再生時間tl×nと終了時用音データの再生時間teの総和が、指定されたタイマーの計時時間Tに一致しない場合であって、さらに、前述のステップS121で算出される余りαがtl/2を越える場合、すなわち、α>tl/2である場合、ループ回数をステップS121で求めた商nに1を加えたn+1とし、このモードにおける終了時用音データの再生時間te”を、te−(tl−α)となるようにし、この終了時用音データを再生するにあたり、その音量を徐々に減衰させ終了時点で消音し終了するモードである。したがって、フェードアウトモードにおける各音データの全再生時間は、ts+tl×(n+1)+te”、ただし、te”=te−(tl−α)であり、計時時間T=全再生時間ts+tl×(n+1)+te”となる。
【0032】
なお、本実施の形態では、MIDIによる音データを用いている。MIDIでは、テンポの変更やボリュームの変更(フェードアウト等を含む)を自在に行える。本実施の形態における上記テンポスローモードおよびフェードアウトモードは、MIDI規格に基づき、音源1fに与える終了時用音データに含まれるテンポ情報、ボリューム情報等を変更することで実現するものとする。
【0033】
また、他の実施例として、開始時用音データとループ用音データと終了時用音データの3種の音データを別々にもつのではなく、設定可能な(利用者が入力部1cから入力設定可能な)計時時間のそれぞれを再生時間としてもつ、開始時用音データとループ用音データと終了時用音データの3種の音データを1つにまとめた音データを予め複数用意するとともに、設定可能な計時時間に対応して記憶しておき、再生時には、指定された計時時間に対応する音データを再生するように構成してもよい。この場合、ループ用音データの繰り返し回数の算出のための処理を省くことができ、また再生テンポや音量の調整をする必要もなく指定された計時時間に再生を終了できる。
【0034】
以上、この発明の実施形態を、図面を参照して詳述してきたが、具体的な構成および各動作フローはこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の構成等も含まれる。例えば、上記実施の形態では、指定された計時時間で終了させるために、終了時用音データの再生に関して、その再生テンポを調整したり、音量を調整しているが、開始時用音データおよびループ用音データおよび終了時用音データに基づく再生音全体にわたりテンポを調整することにより、指定された計時時間を満たすようにしてもよい。
【0035】
【発明の効果】
以上、詳細に説明したように、本発明によれば、指定された計時時間の計時中に、最初に、算出された繰り返し回数分ループ用音データを再生し、続いて終了時用音データを再生するので、再生される音が順に変化する。このようにして終了時用音データに基づく再生音に変わることで、残りの時間があと少しであることがわかり、残り時間を意識して確認する必要がなくなる。また、ただ待つだけであった時間が、楽しい時間やリラックスの時間になる。
また、本発明によれば、各音データの全再生時間が指定された計時時間に一致するように、各音データの全部または一部の再生テンポの調整または終了間際の音量の調整をするので、細かい計時時間の設定が行える。
また、本発明によれば、所定の残り時間のタイミングに、このタイミングに対応する残り時間を知らせるための音データを再生するので、もっと詳しく残りの時間がわかるようになる。
【図面の簡単な説明】
【図1】 本発明の一実施の形態であるメロディシステムの概略構成を示す図である。
【図2】 同実施の形態のメロディシステムの外観(表側)の一例である。
【図3】 同実施の形態のメロディシステムの動作フローチャートである。
【図4】 同動作フローチャートにおけるループ回数と終了方法を決定するための処理フローである。
【図5】 ループ回数と終了方法を決定するための処理フローにおける通常モードを補足説明するための図である。
【図6】 ループ回数と終了方法を決定するための処理フローにおけるテンポスローモードを補足説明するための図である。
【図7】 ループ回数と終了方法を決定するための処理フローにおけるフェードアウトモードを補足説明するための図である。
【符号の説明】
1…メロディシステム、1a…CPU(制御手段)、1b…メモリ(記憶手段)、1c…入力部(入力手段)、1d…表示部、1e…タイマ部、1f…音源(再生手段の一部)、1g…音声再生部(再生手段の一部)、1h…スピーカ(再生手段の一部)、10…バス
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a melody system having a timer function.
[0002]
[Prior art]
A device having a conventional general timer function called a so-called timer is designated by a simple single tone or buzzer such as “Chin” when the time specified by the user has elapsed. The user is informed that time has passed. As described above, the conventional timer has a single function, and only performs an operation of generating a sound, vibration, or the like to notify this after a lapse of a designated time (time keeping time). Therefore, the user will not get useful information or other benefits from this timer until the end is sounded, and information such as whether it will soon be over must be seen on the timer scale. I did not understand.
[0003]
For this reason, in the invention disclosed in Japanese Patent Laid-Open No. 150491, a continuous sound that ends at a predetermined time is stored in advance and the continuous sound is played after the power is turned on or until the predetermined time ends. The timer has a function of notifying the elapse and arrival of a predetermined time. Further, according to the present invention, depending on the kind and content of cooking, the music that understands the content of the material is used, or the continuous sound is changed at intervals of 1 minute so that the elapsed time and the remaining time are known. Up to this point, the user can obtain such additional information, and has a function that the conventional timer does not have.
[0004]
[Problems to be solved by the invention]
However, the invention disclosed in Japanese Patent Laid-Open No. 150491 is related to a timer used in a somewhat rough time unit (for example, 1 minute unit), and does not allow fine time setting. In order to enable fine time setting in the present invention, continuous sounds corresponding to each time must be stored in advance for all of the settable times, and a large storage capacity is required to store these continuous sounds. It becomes.
[0005]
The present invention has been made in view of the above points, and it is possible to set a fine timekeeping time and not to simply wait for the passage of time, but to provide a timer function that allows the user to enjoy the waiting time or relax and spend time. A melody system is provided.
[0006]
[Means for Solving the Problems]
According to the first aspect of the present invention, in a melody system having a timer function, loop sound data for repetitive reproduction, end sound data reproduced from a short time before the end to the end time, and each sound data Storage means for storing playback time information, playback means for playing back each of the sound data, input means for receiving an instruction to specify a clock time and start the clock, playback of the specified clock time and each of the sound data Based on the time information, the loop time is set so that the sum of the total playback time of the loop sound data and the playback time of the end time sound data when it is played repeatedly matches or is the closest to the specified time. Calculate the number of repetitions of sound data, and upon receiving an instruction to start timing, first the sound data for the loop for the calculated number of repetitions, and then the sound data for the end time sequentially And control means for reproducing the serial reproduction means is a melody system having a timer function, characterized by comprising.
[0007]
The invention according to claim 2 is the melody system having the timer function according to claim 1, wherein when calculating the number of repetitions of the loop sound data, all of the loop sound data when repeatedly played is calculated. If the sum of the reproduction time and the reproduction time of the end time sound data does not match the designated timing time, the control means further adjusts the reproduction tempo of all or part of each sound data or immediately before the end. By adjusting the volume, the total reproduction time of each piece of sound data is made to coincide with a designated time measurement time.
[0008]
According to a third aspect of the present invention, in the melody system having the timer function according to the first or second aspect, the storage means further corresponds to sound data for informing the remaining time corresponding to the remaining time. The control means causes the reproduction means to reproduce sound data for informing the remaining time corresponding to the remaining time at a predetermined remaining time.
[0009]
It is desirable that the loop sound data and the end sound data be created so that the respective connections are connected without a sense of incongruity at the time of reproduction. Similarly, it is desirable that the loop sound data is created so that repeated reproduction is connected without a sense of incongruity. Moreover, it is desirable that the sound data used is based on music or the like that allows the user to enjoy the waiting time or relax.
[0010]
According to the first aspect of the present invention, based on the designated time measurement, the total reproduction time of the loop sound data and the reproduction of the end-time sound data when repeatedly reproduced from the reproduction time information of each sound data. The number of loop sound data repetitions is calculated so that the sum of the time matches or is the closest to the specified time keeping time. When receiving an instruction to start timing, loop sound data is first reproduced for the calculated number of repetitions, and then end-time sound data is reproduced. In this way, each sound data is reproduced continuously.
According to the second aspect of the present invention, the reproduction tempo of all or part of each sound data is adjusted or the volume just before the end is adjusted so that the total reproduction time of each sound data coincides with the specified time. do.
According to the third aspect of the present invention, sound data for notifying the remaining time corresponding to this timing is reproduced at the timing of the predetermined remaining time.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a schematic configuration of a melody system according to an embodiment of the present invention.
[0012]
In FIG. 1, reference numeral 1a denotes a CPU (Central Processing Unit), which controls the operation of each part of the melody system 1 by executing a control program prepared in advance. Details of the control by the CPU 1a will be described later.
Reference numeral 1b denotes a memory, which includes a ROM (Read Only Memory) and a RAM (Random Access Memory). In this ROM, a control program executed by the CPU 1a, a program for assisting music reproduction processing and voice reproduction processing, sound data for start time to be reproduced at the start of timing, and a loop for repeated reproduction are stored. Three types of sound data, sound data for end time to be played from shortly before the end to the end time, and playback times (playback time information) of the three types of sound data are stored, and the remaining time Is stored in association with predetermined remaining time (for example, 10 minutes (that is, 10 minutes before), 1 minute (that is, 1 minute before), etc.). In addition, a work area of the CPU 1a is set in the RAM.
[0013]
In the present embodiment, each sound data of the start sound data, the loop sound data, and the end sound data is created as MIDI (Musical Instrument Digital Interface) data, and the sound data is separately digitally sampled. Audio data is used.
In this embodiment, as described above, the start sound data to be reproduced at the start of timing, the loop sound data to be repeatedly reproduced, and the end sound to be reproduced from a short time before the end to the end time. The three types of sound data and the reproduction time of these three types of sound data are used, but the start sound data is omitted, loop sound data for repeated reproduction, and a little before the end. It is also possible to use a configuration in which two types of sound data for end time data to be reproduced from the end to the end time and a reproduction time of the two types of sound data are used. In this case, the reproduction time ts of start-time sound data described later is 0 (zero).
[0014]
Reference numeral 1c denotes an input unit provided on the main body of the melody system 1, and a dial for setting the timekeeping or a setting button composed of “0” to “9” for setting the timekeeping time, The input means comprises a timer start button for instructing start and detects input from these buttons. An input value or the like detected by the input unit 1c is given to the CPU 1a.
Reference numeral 1d denotes a display unit composed of an LCD (Liquid Crystal Display) or the like, which displays a set time count, a remaining time during time count, and the like. When the input unit 1c is a dial type, the display unit 1d displays a numerical value indicating the time / remaining time printed on the surface of the main body and an instruction unit (for example, a protrusion) marked on the dial. It shall consist of.
[0015]
Reference numeral 1e denotes a timer unit that measures time and interrupts the CPU 1a at predetermined time intervals. The CPU 1a obtains the elapsed time, the remaining time, and the like based on the interrupt from the timer unit 1e.
The sound source 1f is controlled by the CPU 1a to generate each tone signal based on the start sound data, the loop sound data, or the end sound data, and cause the speaker 1h to reproduce and output each tone. The sound source 1f is assumed to be MIDI compatible here. The sound source 1f reproduces each sound data created as MIDI data as described above.
[0016]
Reference numeral 1g denotes an audio reproduction unit, which receives control from the CPU 1a and generates an audio signal based on the audio data. The audio reproduction unit 1g restores audio data created by digital sampling to an analog audio signal. The generated audio signal is mixed with the musical sound signal generated by the sound source 1f and reproduced / output from the speaker 1h.
Each functional block exchanges data and commands via the bus 10.
[0017]
FIG. 2 shows an example of the appearance (front side) of the melody system 1. In this example, there are provided a dial for setting the time keeping time and an opening for outputting reproduced sound from the speaker 1h. In this example, the numbers, scales, and dial protrusions printed on the surface correspond to the display portion 1d. In this example, the start button is not provided, but the timing is started simultaneously with the end of the setting of the timing time by the dial.
[0018]
Next, the operation of the melody system 1 of the present embodiment configured as described above will be described with reference to FIG.
[0019]
First, a user inputs a time setting (timer setting) using the setting button of the input unit 1c of the melody system 1 body, and further receives a time start instruction input from the timer start button (step S11). .
Next, the number of repeated reproductions of the loop sound data (number of loops = n) is calculated from the time measured and input at step S11, and an end method at the end of time measurement is determined (step S12). Details of this process will be described later.
[0020]
Next, the CPU 1a acquires the start time sound data from the memory 1b, and gives the start time sound data to the sound source 1f. Then, the sound source 1f reproduces the start song based on the start sound data (step S13).
Further, the CPU 1a acquires the loop sound data from the memory 1b when the reproduction time of the start time sound data elapses, and gives it to the sound source 1f. The sound source 1f reproduces a loop song based on the loop sound data (step S14).
Next, the CPU 1a determines whether it is 10 seconds before the end (step S15). In addition, 10 seconds before the end is an example, and the timing is determined separately.
[0021]
If it is determined in step S15 that it is 10 seconds before the end (Yes in step S15), the CPU 1a acquires sound data that informs 10 seconds before as the remaining time from the memory 1b. This is given to the audio reproduction unit 1g. The sound reproducing unit 1g reproduces sound (for example, “10 seconds left”) based on the sound data (step S16). In this way, the notification sound corresponding to the remaining time is reproduced in synchronization with the remaining time at a predetermined timing. This is performed, for example, at the timing of the remaining remaining time as the remaining time until the end based on the information on how many times the loop music is reproduced. Of course, this timing can be set at an arbitrary time measured by the CPU 1a based on the signal from the timer unit 1e.
[0022]
On the other hand, if it is determined in step S15 that it is not 10 seconds before the end (determination of No in step S15), the process proceeds to step S17.
In step S17, it is determined whether the current number of repetitions has reached the number of loops n calculated in step S12. At the present stage, since the number of repetitions is one, it is determined No and the process returns to step S14 to replay the loop music.
As described above, the processing from step S14 to step S17 is repeated until the number of loop music reproductions reaches the number of loops n.
[0023]
Here, it is assumed that the loop music reproduction repeat count reaches the loop count n.
Then, it determines with Yes by judgment of step S17, and moves to step S18.
In step S18, the CPU 1a obtains end-time sound data from the memory 1b, and provides this end-time sound data to the sound source 1f. The sound source 1f reproduces the end song based on the end-time sound data by the end method determined in step S12.
When the playback of the end song in step S18 is finished, the CPU 1a acquires sound data notifying that the remaining time has run out (finished) from the memory 1b, and a sound based on this sound data (for example, “finished” ") Is reproduced (step S19).
The above is the operation flow of the melody system 1 of the present embodiment.
[0024]
In the above, it is assumed that the processing time for determining the number of loops and the termination method can be ignored. If the processing time for determining the number of loops and the end method cannot be ignored, perform the processing after setting the timer by the user, and accept the timer start instruction after determining the number of loops and the end method. Try to play. Alternatively, after receiving the timer start instruction, the start song may be played first, and the number of loops and the end method may be determined during playback of the start song.
[0025]
Here, the details of the process for determining the number of loops and the termination method in step S12 will be described with reference to FIG.
Below,
T: Timer timing,
ts: playback time of start sound data,
te: Playback time of end sound data,
tl: Loop sound data playback time,
And In addition, the following normal mode, tempo slow mode, and fade-out mode are provided as types of termination methods (details will be described later).
[0026]
As shown in FIG. 4, first, (T-ts-te) / tl is calculated to obtain a quotient n and a remainder α (step S121).
Then, it is determined whether or not the remainder α obtained in step S121 is 0 (zero) (step S122).
Next, if it is determined in step S122 that α = 0 (Yes in step S122), the process proceeds to step S123.
In step S123, the loop count is set to n obtained in step S121, and the normal mode is selected as the end method.
On the other hand, if it is determined in step S122 that α = 0 is not satisfied (No in step S122), the process proceeds to step S124.
[0027]
In step S124, it is further determined whether or not the remainder α obtained in step S121 is α ≦ tl / 2.
If it is determined in step S124 that α ≦ tl / 2 (Yes in step S124), the process proceeds to step S125.
Next, in step S125, the loop count is set to n obtained in step S121, and the tempo slow mode is selected as the end method.
On the other hand, if it is determined in step S124 that α ≦ tl / 2 is not satisfied (No in step S124), the process proceeds to step S126.
In step S126, the loop count is set to n + 1 obtained by adding 1 to n obtained in step S121, and the fade-out mode is selected as the end method.
[0028]
As a specific example of the above processing, when ts = 10 seconds, tl = 2 seconds, te = 10 seconds, and T = 1 minute (= 60 seconds), (T−ts−te) / tl = (60−10−) 10) / 2 = 20, 20 is obtained as the quotient n, and 0 is obtained as the remainder α. In this example, the start song based on the start sound data is reproduced for 10 seconds, and then the loop song based on the loop sound data is reproduced 20 times, 2 seconds × 20 = 40 seconds, and then the end sound data is obtained. The end music based is played for 10 seconds and finished. In addition, at a predetermined timing from the start to the end, a notification sound corresponding to the remaining time is reproduced in synchronization with the remaining time.
The above is the details of the process for determining the loop count and the termination method in step S12.
[0029]
Next, the normal mode, tempo slow mode, and fade-out mode will be described.
(1) In normal mode, as shown in FIG. 5, the sum of the reproduction time ts of the start sound data, the total reproduction time tl × n of the loop sound data, and the reproduction time te of the end sound data is When the measured time T of the designated timer coincides, that is, when ts + tl × n + te = T, the start-time sound data is first reproduced, and then the calculated number of loops (ie, n times) In this mode, the loop sound data is reproduced, and then the end sound data is reproduced and terminated. Therefore, the total reproduction time of each sound data in the normal mode is ts + tl × n + te, and the measured time T = total reproduction time ts + tl × n + te.
[0030]
(2) In the tempo slow mode, as shown in FIG. 6, the sum of the reproduction time ts of the start sound data, the total reproduction time tl × n of the loop sound data, and the reproduction time te of the end sound data. Start when the time count T of the designated timer does not match and the remainder α calculated in step S121 is equal to or less than tl / 2, that is, α ≦ tl / 2. The reproduction of the time sound data and the reproduction of the loop sound data are the same as in the normal mode. However, when the end time sound data is reproduced, the tempo is extended and the reproduction time te ′ is set to the original reproduction time te. In this mode, the end-time sound data is reproduced and ended so that te + α is added. Therefore, the total reproduction time of each sound data in the tempo slow mode is ts + tl × n + te ′, where te ′ = te + α, and the measured time T = total reproduction time ts + tl × n + te ′.
[0031]
(3) In the fade-out mode, as shown in FIG. 7, the sum of the reproduction time ts of the start sound data, the total reproduction time tl × n of the loop sound data, and the reproduction time te of the end sound data is If the time count T of the designated timer does not match, and if the remainder α calculated in the above step S121 exceeds tl / 2, that is, α> tl / 2, the number of loops is set. The quotient n obtained in step S121 is set to n + 1, and the reproduction time te ”of the end sound data in this mode is set to te− (tl−α), and the end sound data is reproduced. In this mode, the volume is gradually attenuated, and the sound is muted and terminated at the end, so the total reproduction time of each sound data in the fade-out mode is ts + tl × (n + 1) + te. “However, te” = te− (tl−α), and the measured time T = total reproduction time ts + tl × (n + 1) + te ”.
[0032]
In this embodiment, MIDI sound data is used. In MIDI, tempo change and volume change (including fade-out) can be freely performed. The tempo slow mode and the fade-out mode in the present embodiment are realized by changing tempo information, volume information, and the like included in end sound data to be given to the sound source 1f based on the MIDI standard.
[0033]
As another embodiment, three types of sound data, that is, start sound data, loop sound data, and end sound data can be set instead of separately (the user can input from the input unit 1c). A plurality of pieces of sound data are prepared in advance, in which three types of sound data of start time sound data, loop sound data and end time sound data are combined into one, each of which can be set as a reproduction time. Alternatively, it may be configured to store in correspondence with a settable time and reproduce sound data corresponding to the designated time when reproducing. In this case, the processing for calculating the number of repetitions of the loop sound data can be omitted, and the reproduction can be terminated at the designated timed time without the need to adjust the reproduction tempo or volume.
[0034]
The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration and each operation flow are not limited to this embodiment, and the configuration and the like without departing from the gist of the present invention. Is also included. For example, in the above-described embodiment, the playback tempo and the volume are adjusted with respect to the playback of the end-time sound data in order to end at the designated time, but the start-time sound data and The specified time measurement may be satisfied by adjusting the tempo over the entire reproduced sound based on the loop sound data and the end sound data.
[0035]
【The invention's effect】
As described above in detail, according to the present invention, during the time measurement of the designated time measurement, the loop sound data is first reproduced for the calculated number of repetitions, and then the end time sound data is reproduced. Since playback is performed, the played sound changes in order. By changing to the reproduced sound based on the end-time sound data in this way, it can be seen that the remaining time is short, and there is no need to confirm the remaining time. Also, the time you just waited becomes a fun and relaxing time.
In addition, according to the present invention, the playback tempo of all or part of each sound data is adjusted or the volume just before the end is adjusted so that the total playback time of each sound data matches the specified time. , Fine time setting can be set.
According to the present invention, the sound data for notifying the remaining time corresponding to this timing is reproduced at the timing of the predetermined remaining time, so that the remaining time can be understood in more detail.
[Brief description of the drawings]
FIG. 1 is a diagram showing a schematic configuration of a melody system according to an embodiment of the present invention.
FIG. 2 is an example of an appearance (front side) of the melody system according to the embodiment;
FIG. 3 is an operation flowchart of the melody system according to the embodiment;
FIG. 4 is a processing flow for determining a loop count and an end method in the operation flowchart.
FIG. 5 is a diagram for supplementarily explaining a normal mode in a processing flow for determining a loop count and an end method.
FIG. 6 is a diagram for supplementarily explaining a tempo slow mode in a processing flow for determining a loop count and an end method.
FIG. 7 is a diagram for supplementarily explaining a fade-out mode in a processing flow for determining a loop count and an end method.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Melody system, 1a ... CPU (control means), 1b ... Memory (storage means), 1c ... Input part (input means), 1d ... Display part, 1e ... Timer part, 1f ... Sound source (a part of reproduction | regeneration means) 1g ... sound reproduction part (part of reproduction means), 1h ... speaker (part of reproduction means), 10 ... bus

Claims (3)

タイマー機能を有するメロディシステムにおいて、
繰り返し再生するためのループ用音データと、終了の少し前から終了時までに再生する終了時用音データと、各音データの再生時間情報とを記憶する記憶手段と、
前記各音データを再生する再生手段と、
計時時間の指定および計時開始の指示を受ける入力手段と、
指定された前記計時時間と前記各音データの再生時間情報に基づき、繰り返し再生された場合のループ用音データの全再生時間と終了時用音データの再生時間の総和が指定された計時時間に一致するか最も近い値となる様に、ループ用音データの繰り返し回数を算出し、計時開始の指示を受けると、最初に前記算出された繰り返し回数分前記ループ用音データを、続いて前記終了時用音データを、順次前記再生手段に再生させる制御手段と、を具備する
ことを特徴とするタイマー機能を有するメロディシステム。
In a melody system with a timer function,
Storage means for storing loop sound data for repetitive reproduction, end sound data to be reproduced from a short time before the end to the end time, and reproduction time information of each sound data;
Playback means for playing back each sound data;
An input means for receiving a designation of timing time and an instruction to start timing,
Based on the specified time count and the playback time information of each sound data, the sum of the total playback time of the loop sound data and the playback time of the end time sound data in the case of repeated playback is the specified time count. Calculate the number of repetitions of the loop sound data so as to match or be the closest value, and when receiving an instruction to start timing, first the loop sound data is calculated for the calculated number of repetitions, and then the end A melody system having a timer function, comprising: control means for causing the reproduction means to sequentially reproduce the time sound data.
前記ループ用音データの繰り返し回数を算出する際、繰り返し再生された場合のループ用音データの全再生時間と終了時用音データの再生時間の総和が、指定された計時時間に一致しない場合、前記制御手段は、さらに、前記各音データの全部または一部の再生テンポの調整または終了間際の音量の調整をすることにより、各音データの全再生時間を指定された計時時間に一致させる
ことを特徴とする請求項1に記載のタイマー機能を有するメロディシステム。
When calculating the number of repetitions of the sound data for loop, if the total of the reproduction time of the sound data for loop and the reproduction time of the sound data for end time when repeatedly reproduced does not match the specified timing time, The control means further adjusts the playback tempo of all or a part of each sound data or the volume just before the end to match the total playback time of each sound data with a specified time keeping time. The melody system having a timer function according to claim 1.
前記記憶手段は、さらに、残り時間を知らせるための音データを該残り時間に対応づけ記憶し、
前記制御手段は、所定の残り時間のタイミングに、該残り時間に対応する前記残り時間を知らせるための音データを前記再生手段に再生させる
ことを特徴とする請求項1または請求項2に記載のタイマー機能を有するメロディシステム。
The storage means further stores sound data for informing the remaining time in association with the remaining time,
The said control means makes the said reproduction | regeneration means reproduce | regenerate the sound data for notifying the said remaining time corresponding to this remaining time at the timing of predetermined remaining time. Melody system with timer function.
JP2002084457A 2002-03-25 2002-03-25 Melody system with timer function Expired - Fee Related JP3714271B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002084457A JP3714271B2 (en) 2002-03-25 2002-03-25 Melody system with timer function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002084457A JP3714271B2 (en) 2002-03-25 2002-03-25 Melody system with timer function

Publications (2)

Publication Number Publication Date
JP2003279672A JP2003279672A (en) 2003-10-02
JP3714271B2 true JP3714271B2 (en) 2005-11-09

Family

ID=29231803

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002084457A Expired - Fee Related JP3714271B2 (en) 2002-03-25 2002-03-25 Melody system with timer function

Country Status (1)

Country Link
JP (1) JP3714271B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4815494B2 (en) * 2009-01-16 2011-11-16 株式会社コナミデジタルエンタテインメント Time limit notification device, time limit notification method, and program

Also Published As

Publication number Publication date
JP2003279672A (en) 2003-10-02

Similar Documents

Publication Publication Date Title
JPH0990965A (en) Karaoke sing-alone machine
JP4048630B2 (en) Performance support device, performance support method, and recording medium recording performance support program
JP3714271B2 (en) Melody system with timer function
EP1077548A2 (en) Method of and apparatus for mixing and reproducing audio information from two sources, and computer program for implementing the method
JP3861381B2 (en) Karaoke equipment
JPH09244666A (en) Karaoke device
JP4025446B2 (en) Waveform playback device
JPH09281970A (en) Electronic instrument
JPH05333890A (en) Karaoke device
JP3743364B2 (en) Performance practice device
JP3741088B2 (en) Automatic performance device
JP3770227B2 (en) Musical sound generating device and medium recording program
JP2674452B2 (en) Music player
JP3404818B2 (en) Automatic performance device
JP3975528B2 (en) Karaoke equipment
JPH0413192A (en) Electronic musical instrument
JP2548723Y2 (en) Music playback device
JP2007163815A (en) Recorder
JP3899654B2 (en) Karaoke equipment
JP3770226B2 (en) Musical sound generating device and medium recording program
JPH07311584A (en) Karaoke device
JPH10222176A (en) Karaoke device
JP3480001B2 (en) Automatic performance data editing device
JP3637782B2 (en) Data generating apparatus and recording medium
JP4278733B2 (en) Waveform data performance control device

Legal Events

Date Code Title Description
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: 20050802

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050815

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090902

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100902

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees