JP2004279497A - Device and program for music data conversion - Google Patents
Device and program for music data conversion Download PDFInfo
- Publication number
- JP2004279497A JP2004279497A JP2003067490A JP2003067490A JP2004279497A JP 2004279497 A JP2004279497 A JP 2004279497A JP 2003067490 A JP2003067490 A JP 2003067490A JP 2003067490 A JP2003067490 A JP 2003067490A JP 2004279497 A JP2004279497 A JP 2004279497A
- Authority
- JP
- Japan
- Prior art keywords
- music data
- data
- volume
- music
- song data
- 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
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、記憶装置に異なるフォーマットで記憶されていて楽音を含む音声信号を生成するための複数組の曲データを、再生時の音量レベルが所定レベルになるように変換する曲データ変換装置および曲データ変換プログラムに関する。
【0002】
【従来の技術】
従来から、コンパクトディスクの記録信号のピークレベルを探し出してテープデッキに送り、テープデッキがこのピークレベルに基づいて録音ボリュームを所定レベルにセットして、コンパクトディスクを再生状態にするとともにテープデッキを録音状態にし、コンパクトディスクに記録された音声信号を最適レベルでテープに記録する技術は知られている(特許文献1参照)。
【0003】
【特許文献1】
特開平5−135545号公報
【0004】
【発明が解決しようとする課題】
しかし、上記従来の技術は音声信号自体の音量レベルを変更するものであり、上記特許文献1には、一連の楽音の発生を制御するためのMIDIフォーマットに従った一連の演奏データからなる曲データ、音声信号のサンプリング値を表すMP3(MPEG−1 Audio Layer−3)、WAVEなどのフォーマットに従った一連のサンプリングデータからなる曲データを変換することを開示するものではない。
【0005】
近年、MIDI、MP3、WAVEなどの異なるフォーマットで作成した複数組の曲データを製作して、CD、FD、DVD、フラッシュメモリなどの記録媒体に記録することが行なわれるようになってきている。そして、記録媒体に記録されている曲データを再生する場合、曲データの製作条件が異なっていたり、再生するためのアプリケーションプログラムが異なっていたりするなどの理由により、再生される音楽の音量がまちまちとなる。したがって、複数組の曲データを順次再生して聴く場合、ユーザは曲変更のたびに音量をボリュームで調整する必要があった。
【0006】
【発明の概要】
本発明は、上記問題に対処するためになされたもので、その目的は、異なるフォーマットで記憶されている曲データを再生する場合でも、複数組の曲データの再生音量が等しくなるように曲データを変換可能な曲データ変換装置および曲データ変換プログラムを提供することにある。
【0007】
上記目的を達成するために、本発明の構成上の特徴は、楽音を含む音声信号を生成するための複数組の曲データを異なるフォーマットで記憶可能な記憶装置と、記憶装置に記憶されている複数組の曲データのうちのいずれかを選択する選択手段と、前記選択された曲データの一部または全部を、同選択された曲データの記憶フォーマットに対応するアプリケーションプログラムを用いて読み出す読み出し手段と、前記読み出された曲データの一部または全部に基づいて、前記選択された曲データを再生したときの楽音を含む音声信号の音量レベルが所定レベルになるような音量補正値を計算する音量補正値計算手段と、前記計算された音量補正値を用いて前記選択された曲データを変換して出力する出力手段とを備えたことにある。
【0008】
この場合、曲データのフォーマットは、例えば、MIDI、MP3、WAVEなどのフォーマットである。MIDIフォーマットは、一連の楽音の発生を制御するようにコード化されたデータ形式である。MP3フォーマットは、音声のサンプリング値を圧縮した状態で表すデータ形式である。WAVEフォーマットは、音声のサンプリング値を非圧縮の状態で表すデータ形式である。
【0009】
また、前記出力手段を、例えば、変換された曲データを記録媒体に記録する記録手段で構成することができる。この場合、記録手段は複数の変換された曲データを異なるフォーマットで一つの記録媒体に記録するように構成するとよい。また、前記出力手段は、変換された曲データを楽音信号を含む音声信号に再生する再生手段であってもよい。この場合、曲データがMIDIフォーマットであれば、再生手段は、曲データを用いて楽音信号を発生する楽音信号発生回路を含む。
【0010】
また、前記音量補正値計算手段は、1曲分の曲データ中の特定区間の曲データまたは特定パートの曲データ、すなわち曲データの特定部分のデータに基づいて音量補正値を計算するとよい。そして、音量補正値の計算においては、前記特定部分の平均音量または最大音量に基づいて音量補正値を計算するとよい。特定パートの曲データは、例えば、バスドラ音およびベース音に関するデータを含むバッキングパートであったり、ドラムパートであったり、ベースパートであったり、ピアノ、ボーカル、ギターまたはストリングスのパートであったりする。また、前記パートに代えて、音色名で音量補正値を計算するデータを決定してもよい。さらに、MIDIフォーマットの曲データの場合には、ノートオン・オフデータ中のベロシティデータおよび/またはボリュームを表すコントロールデータを用いて音量補正値を計算できる。
【0011】
また、前記音量補正値計算手段は、曲データまたは記憶フォーマットごとに音量補正値を計算することができる。そして、音量補正値としては、再生機器によるが、例えば、曲データの再生音が歪まない程度の音量となるように決定するとよい。
【0012】
このように構成した本発明によれば、曲データの製作条件が異なっていたり、再生するためのアプリケーションプログラム(すなわち記憶フォーマット)が異なっていたりしても、複数組の曲データの再生音量を等しくできる。したがって、複数組の曲データを順次再生して聴くような場合でも、ユーザは曲変更のたびに音量をボリュームで調整する必要がなくなる。
【0013】
また、本発明は、上記機能を実現する曲データ変換プログラムおよび曲データ変換方法にも適用できる。
【0014】
【発明の実施の形態】
以下、本発明の一実施形態に係る曲データ変換装置について説明する。この曲データ変換装置は、図1に示すように、バス10に接続されたCPU11、ROM12、RAM13、内部記憶装置14、設定操作子群15、表示器16、楽音信号発生回路17a、D/A変換器17bおよびメディアドライブ18を備えている。
【0015】
CPU11、ROM12およびRAM13はコンピュータ本体部を構成するもので、特に、CPU11は図2の曲データ変換プログラムを実行する。内部記憶装置14は、この曲データ変換装置に予め組み込まれているハードディスクHDからなり、大量のデータ及びプログラムを記憶及び読み出し可能にしている。本実施形態の場合、ハードディスクHDには、曲データ変換プログラムを含む各種プログラム、および同プログラムの実行時に利用される複数組の曲データなどが記憶されている。また、各種プログラムの中には、特に曲データを再生するための各種アプリケーションプログラムも含まれている。
【0016】
設定操作子群15は、スイッチ操作子、ボリューム操作子、マウスなど、この曲データ変換装置の作動を入力指示するための複数の操作子からなる。表示器16は、液晶ディスプレイ、CRTなどで構成され、文字、数字、図形などを表示する。
【0017】
楽音信号発生回路17aは、供給される演奏データに基づいてディジタル楽音信号を形成し、内蔵のD/A変換器にてアナログ楽音信号に変換してサウンドシステム17cに出力する。D/A変換器17bは、バス10を介して供給されたディジタル音声信号をアナログ音声信号に変換してサウンドシステム17cに出力する。サウンドシステム17cは、スピーカ、アンプなどを含んでいて、楽音信号発生回路17aからのアナログ楽音信号およびD/A変換器17bからのアナログ音声信号に対応した楽音を含む音声を出力する。メディアドライブ18は、コンパクトディスクCD、フレキシブルディスクFD、フラッシュメモリなどの外部記録媒体へのデータおよびプログラムの書込みと、前記外部記録媒体からのデータおよびプログラムの読み出しとを可能とする。
【0018】
また、バス10には、第1および第2インターフェース回路21,22も接続されている。第1インターフェース回路21には、マイク31と、CDプレイヤ、カセットプレイヤなどのプレイヤ32が接続されるようになっている。第1インターフェース回路21は、マイク31およびプレイヤ32からアナログおよびディジタルの音声信号を入力するもので、入力音声信号がアナログ信号であれば、A/D変換器23で入力音声信号を所定のサンプリングレートでディジタル変換してバス10に供給する。また、ディジタル信号の場合、そのフォーマットはMP3,WAVEなど、どのようなものでもよい。
【0019】
第2インターフェース回路22は、他の電子楽器、パーソナルコンピュータなどの外部機器41に接続可能となっていて、この曲データ変換装置が外部機器41と各種プログラム及びデータを交信可能となっている。また、第2インターフェース回路22は、インターネットなどの通信ネットワーク42を介してサーバコンピュータ43との接続も可能となっていて、この曲データ変換装置がサーバコンピュータ43と各種プログラム及びデータを交信可能にしている。
【0020】
次に、上記のように構成した曲データ変換装置の作動を説明するが、その前に、内部記憶装置14に記憶されている複数組の曲データについて説明しておく。なお、曲データのフォーマットは、例えば、MIDI、MP3、WAVEなどのフォーマットである。MIDIフォーマットは、一連の楽音の発生を制御するようにコード化されたデータ形式であり、一連の演奏イベントデータおよびタイミングデータからなる。演奏イベントデータは、各楽音の発生音量レベルを表すベロシティデータを含むノートオン・オフデータ、パートごとまたは曲全体の音量ボリュームを表すコントロールデータ、音色を表すプログラムチェンジデータなどからなる。MP3フォーマットは、音声のサンプリング値を圧縮した状態で表すデータ形式である。WAVEフォーマットは、音声のサンプリング値を非圧縮の状態で表すデータ形式である。
【0021】
これらの曲データは、1曲ずつを単位としており、各曲データはタイトルを含むとともにフォーマット形式はファイル名の拡張子によって定義されている。さらに、これらの曲データは、バスドラ音およびベース音に関するデータを含むバッキングパート、ドラムパート、ベースパート、ピアノパート、ボーカルパート、ギターパート、ストリングスパートなどのように、パートごとに区別可能になっている。
【0022】
また、これらの曲データは、図示しないプログラムの実行により、マイク31、プレイヤ32、外部機器41およびサーバコンピュータ43から入力される。マイク31およびプレイヤ32から入力される曲データは、例えば、MP3またはWAVEフォーマットに従った音声データである。また、外部機器41およびサーバコンピュータ43から入力される曲データは、例えば、MIDIフォーマットに従った演奏データ、またはMP3もしくはWAVEフォーマットに従った音声データである。さらに、メディアドライブ18からFD,CD,DVDに記録された種々の曲データを入力して内部記憶装置14に記憶しておいてもよい。
【0023】
次に、上記のように構成した実施形態において、内部記憶装置14に記憶されている曲データを変換して出力する逆変換装置の動作を説明する。まず、ユーザは、設定操作子群15を操作して曲データ変換プログラムをCPU11に実行させる。このプログラムの実行は、図2のステップS10にて開始され、ステップS12にて内部記憶装置14に記憶されている曲データのタイトルを表示器16に表示させる。そして、ステップS14にて、ユーザに1組または複数組の曲データを選択させる。この選択においては、ユーザは、表示器16の表示を見ながら設定操作子群15を操作して、所望の曲データを選択する。なお、これらのステップS12,S14の処理時に、外部機器41、サーバコンピュータ43またはメディアドライブ18にセットしたFD、CD、DVDから曲データを読み込んで内部記憶装置14に記憶させた後、同記憶させた曲データを選択してもよい。
【0024】
前記ステップS14の処理後、CPU11は、ステップS16にて、予め決められている標準的な曲データの出力条件を表示器16に表示する。出力条件とは、音量自動調整の有無、音量自動調整の際の基準音量レベル、音量の自動調整の際の最大音量レベル、変換後の曲データの記録フォーマット(例えば、MIDI、MP3、WAVEなどのフォーマット)などである。次に、ステップS16にて、ユーザに出力条件の修正を許容する。ユーザは、設定操作子群15を用いて出力条件を変更する。ユーザが変更終了または変更無しを設定操作子群15を用いて指示すれば、CPU11はプログラムをステップS20に進める。
【0025】
CPU11は、ステップS20の判定処理により、前記選択された全ての曲データが変換されるまで、ステップS22〜S30の処理を繰返す。ステップS22においては、前記選択された複数組の曲データのうちで、未だ変換されていない1組の曲データをRAM13内に取り込み、ファイル名の拡張子を用いて、前記取り込んだ曲データに対応するアプリケーションプログラムを起動する。前記取り込んだ曲データに対応するアプリケーションプログラムが既に起動されていれば、同起動されているアプリケーションプログラムをそのまま利用する。
【0026】
次に、ステップS24にて、RAM13内に取り込んだ1組の曲データを構成する複数のデータを、起動したアプリケーションプログラムを用いて順次読み出して、同読み出したデータを解析することにより1組の曲データの解析音量レベルを計算する。この解析音量レベルの計算においては、1曲分の曲データ中の特定区間の複数のデータまたは特定のパートの複数のデータ、すなわち曲データの特定部分のデータを用いて、それらのデータが表す音量レベルの平均値または最大値を解析音量レベルとして計算する。なお、曲データの特定部分でなく、全ての曲データを用いて解析音量レベルを計算してもよい。
【0027】
また、前記選択曲データの解析音量レベルの計算においては、MP3およびWAVEフォーマットの場合、曲データは音声の各サンプリング値のレベルを表しているので、そのまま音量レベルの計算に利用できる。一方、MIDIフォーマットの曲データの場合には、ノートオン・オフデータ中のベロシティデータおよび/またはボリュームを表すコントロールデータによって解析音量レベルを決定できる。また、特定パートの曲データとは、例えば、バスドラ音およびベース音に関するデータを含むバッキングパートであったり、ドラムパートであったり、ベースパートであったり、ピアノ、ボーカル、ギターまたはストリングスのパートであったりする。また、前記パートに代えて、音色名で解析音量レベルを計算するデータを決定してもよい。
【0028】
前記ステップS24の処理後、ステップS26にて、前記計算した解析音量レベルと前記ステップS16、S18の処理によって決定した出力条件(特に、音量自動調整の際の基準音量レベルまたは最大音量レベル)とを用いて、音量補正値を計算する。具体的には、前記ステップS24の処理によって曲データが表す音量レベルの平均値を解析音量レベルとして計算した場合には、同計算した音量レベルが前記設定した基準音量レベルに一致するように音量補正値を計算する。また、前記ステップS24の処理によって曲データが表す音量レベルの最大値を解析音量レベルとして計算した場合には、同計算した音量レベルが前記設定した最大音量レベルに一致するように音量補正値を計算する。
【0029】
次に、ステップS28にて、前記計算した音量補正値を用いて前記1組の曲データ中の音量レベルに関する全てのデータを、曲データを再生した場合の音声信号の音量レベルが前記設定した基準音量レベルまたは最大音量レベルとなるように変換する。具体的には、MP3およびWAVEフォーマットの場合、曲データ中の各サンプリング値のレベルに音量補正値を乗算する。MIDIフォーマットの曲データの場合には、ノートオン・オフデータ中のベロシティデータおよび/またはボリュームを表すコントロールデータ中のボリュームデータに音量補正値を乗算する。なお、前記ステップS14の処理によって「音量の自動調整無し」が選択されていれば、前記ステップS24〜S28の処理は実行されない。
【0030】
次に、ステップS30にて、変換した曲データを第1および第2の形態で出力する。第1の出力形態は、前記ステップS28の処理によって変換した曲データを、前記ステップS14の処理により設定した出力条件中の記録フォーマットに従って変換して、メディアドライブ18に出力する。これにより、メディアドライブ18にセットされたCD、FD、DVD、フラッシュメモリに、音量補正された曲データが、前記指定された記録フォーマットで記録される。なお、このようにして記録した曲データを再生する場合でも、再生機器により再生音のトータル音量を調整できる。
【0031】
第2の出力形態は、曲データを再生することである。前記ステップS28の処理によって変換された曲データが、対応するアプリケーションプログラムの実行により音声信号に変換されて再生される。なお、このアプリケーションプログラムは、前記ステップS22の処理により起動したものと同じである。
【0032】
この再生においては、MIDIフォーマットの曲データ(演奏イベントデータおよびタイミングデータ)であれば、音楽の進行に合わせて読み出された演奏イベントデータが楽音信号発生回路17aに出力される。そして、楽音信号発生回路17aは、供給された演奏イベントデータに従ってディジタル楽音信号を生成するとともに同ディジタル楽音信号をアナログ楽音信号に変換し、同生成された楽音信号に対応した楽音がサウンドシステム17cから発生される。また、MP3またはWAVEフォーマットの曲データであれば、音声信号のサンプリングデータがD/A変換器17bに供給される。そして、D/A変換器17bは、ディジタル音声信号をアナログ音声信号に変換し、同変換されたアナログ音声信号に対応した音声がサウンドシステム17cから発生される。なお、この場合でも、ユーザは設定操作子群15を操作することにより、再生音のトータル音量を調整できる。
【0033】
前記ステップS30の処理後、プログラムはステップS20に戻される。そして、ユーザによって選択された全ての曲データが変換されるまで、ステップS22〜S30の処理が繰り返し実行される。このステップS22〜S30の繰り返し処理により、第1の出力形態によれば、複数組の曲データが同一または異なるフォーマットで一つの記録媒体に次々に記録される。また、第2の出力形態によれば、複数組の曲データが次々に再生される。そして、ユーザによって選択された全ての曲データが変換されると、ステップS20の判定処理のもとにステップS32にてこの曲データ変換プログラムの実行が終了される。
【0034】
上記説明からも理解できるとおり、上記実施形態によれば、ステップS22,S24の処理により、曲データに合致するアプリケーションプログラムが起動されて、曲データ中の一部または全部のデータに基づいて曲データによる再生音声信号の音量レベルが解析される。ステップS26の処理により、前記解析された音量レベルを用いて、曲データを再生したときの楽音を含む音声信号の音量レベルが、ステップS16、S88の処理によって設定された条件により規定される所定レベルになるような音量補正値が計算される。そして、ステップS28,S30の処理により、前記計算された音量補正値を用いて曲データが変換されて出力される。その結果、上記実施形態によれば、曲データの製作条件が異なっていたり、再生するためのアプリケーションプログラム(すなわち記憶フォーマット)が異なっていたりしても、複数組の曲データの再生音量を等しくできる。したがって、複数組の曲データを順次再生して聴くような場合でも、ユーザは曲変更のたびに音量をボリュームで調整する必要がなくなる。
【0035】
さらに、本発明の実施にあたっては、上記実施形態及びその変形例に限定されるものではなく、本発明の目的を逸脱しない限りにおいて種々の変更が可能である。
【図面の簡単な説明】
【図1】本発明の一実施形態に係る曲データ変換装置の全体ブロック図である。
【図2】図1のCPUにより実行される曲データ変換プログラムを示すフローチャートである。
【符号の説明】
11…CPU,14…内部記憶装置、15…設定操作子群、16…表示器、17a…楽音信号発生回路,17b…D/A変換器、17c…サウンドシステム、18…メディアドライブ。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention provides a music data conversion device for converting a plurality of sets of music data stored in different formats in a storage device to generate an audio signal including a musical tone so that a volume level upon reproduction becomes a predetermined level, and It relates to a song data conversion program.
[0002]
[Prior art]
Conventionally, the peak level of the recording signal of the compact disc is searched for and sent to the tape deck, and the tape deck sets the recording volume to a predetermined level based on the peak level, makes the compact disc play, and records the tape deck. 2. Description of the Related Art There is known a technique for recording an audio signal recorded on a compact disc at an optimum level on a tape (see Patent Document 1).
[0003]
[Patent Document 1]
JP-A-5-135545
[Problems to be solved by the invention]
However, the above-mentioned conventional technique changes the volume level of an audio signal itself, and Japanese Patent Application Laid-Open No. H11-163873 discloses music data composed of a series of performance data according to a MIDI format for controlling generation of a series of musical tones. It does not disclose converting music data composed of a series of sampling data in accordance with a format such as MP3 (MPEG-1 Audio Layer-3) or WAVE representing a sampling value of an audio signal.
[0005]
In recent years, a plurality of sets of music data created in different formats such as MIDI, MP3, and WAVE have been produced and recorded on recording media such as CDs, FDs, DVDs, and flash memories. When reproducing the music data recorded on the recording medium, the volume of the music to be reproduced varies due to different production conditions of the music data and different application programs for reproduction. It becomes. Therefore, when sequentially reproducing and listening to a plurality of sets of music data, the user has to adjust the volume with the volume every time the music is changed.
[0006]
Summary of the Invention
SUMMARY OF THE INVENTION The present invention has been made to address the above problem, and has as its object to reproduce music data in a plurality of sets so that the reproduction volume of the music data is equal even when reproducing music data stored in different formats. To provide a music data conversion device and a music data conversion program capable of converting music data.
[0007]
In order to achieve the above object, the configurational features of the present invention include a storage device capable of storing a plurality of sets of music data for generating audio signals including musical sounds in different formats, and a storage device. Selecting means for selecting any of a plurality of sets of song data; reading means for reading a part or all of the selected song data using an application program corresponding to a storage format of the selected song data And calculating a volume correction value based on a part or all of the read song data such that a volume level of an audio signal including a musical tone when the selected song data is reproduced becomes a predetermined level. There is provided a sound volume correction value calculating means, and an output means for converting and outputting the selected music data using the calculated sound volume correction value.
[0008]
In this case, the format of the music data is, for example, a format such as MIDI, MP3, or WAVE. The MIDI format is a data format coded to control generation of a series of musical tones. The MP3 format is a data format that represents a sampled value of audio in a compressed state. The WAVE format is a data format that represents audio sampling values in an uncompressed state.
[0009]
Further, the output means may be constituted by, for example, a recording means for recording the converted music data on a recording medium. In this case, it is preferable that the recording means be configured to record a plurality of converted music data in a different format on one recording medium. The output means may be a reproducing means for reproducing the converted music data into an audio signal including a tone signal. In this case, if the song data is in the MIDI format, the reproducing means includes a tone signal generating circuit for generating a tone signal using the song data.
[0010]
The sound volume correction value calculating means may calculate the sound volume correction value based on music data of a specific section or music data of a specific part in music data of one music, that is, data of a specific portion of the music data. In calculating the volume correction value, the volume correction value may be calculated based on the average volume or the maximum volume of the specific portion. The music data of the specific part is, for example, a backing part including data relating to bass drum sound and bass sound, a drum part, a bass part, a piano, vocal, guitar or strings part. In place of the part, data for calculating a volume correction value based on a tone color name may be determined. Furthermore, in the case of music data in the MIDI format, a volume correction value can be calculated using velocity data and / or control data representing volume in the note-on / off data.
[0011]
Further, the volume correction value calculating means can calculate a volume correction value for each piece of music data or storage format. The volume correction value depends on the playback device, but may be determined, for example, such that the playback sound of the music data does not distort.
[0012]
According to the present invention configured as described above, even if the production conditions of the music data are different or the application program (that is, the storage format) for reproduction is different, the reproduction volume of the plural sets of music data is made equal. it can. Therefore, even when a plurality of sets of music data are sequentially reproduced and listened, the user does not need to adjust the volume with the volume every time the music is changed.
[0013]
Further, the present invention can be applied to a music data conversion program and a music data conversion method for realizing the above functions.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a music data conversion device according to an embodiment of the present invention will be described. As shown in FIG. 1, the music data conversion device includes a CPU 11, a
[0015]
The CPU 11, the
[0016]
The setting
[0017]
The tone
[0018]
The
[0019]
The
[0020]
Next, the operation of the music data conversion device configured as described above will be described. Before that, a plurality of sets of music data stored in the
[0021]
These pieces of music data are in units of one piece of music, and each piece of music data includes a title and the format is defined by an extension of a file name. Furthermore, these song data can be distinguished for each part, such as a backing part, a drum part, a bass part, a piano part, a vocal part, a guitar part, a string part, etc., including data on bass drum sounds and bass sounds. I have.
[0022]
These pieces of music data are input from the
[0023]
Next, the operation of the inverse conversion device that converts and outputs the music data stored in the
[0024]
After the processing in step S14, the CPU 11 displays predetermined output conditions of standard music data on the
[0025]
The CPU 11 repeats the processing of steps S22 to S30 until all the selected music data is converted by the determination processing of step S20. In step S22, of the plurality of sets of selected music data, one set of music data that has not been converted is fetched into the
[0026]
Next, in step S24, a plurality of data making up a set of music data taken into the
[0027]
In the calculation of the analysis volume level of the selected music data, in the case of the MP3 and WAVE formats, the music data represents the level of each sampling value of the sound, and thus can be used as it is for calculating the volume level. On the other hand, in the case of MIDI format music data, the analysis volume level can be determined by the velocity data and / or the control data indicating the volume in the note-on / off data. The song data of a specific part is, for example, a backing part including bass drum sound and bass sound data, a drum part, a bass part, a piano, vocal, guitar or strings part. Or In place of the part, data for calculating the analysis volume level based on the timbre name may be determined.
[0028]
After the processing in step S24, in step S26, the calculated analysis volume level and the output condition (particularly, the reference volume level or the maximum volume level in the automatic volume adjustment) determined by the processing in steps S16 and S18 are compared. To calculate a sound volume correction value. Specifically, when the average value of the volume level represented by the music data is calculated as the analysis volume level by the process of step S24, the volume correction is performed so that the calculated volume level matches the set reference volume level. Calculate the value. When the maximum value of the volume level represented by the music data is calculated as the analysis volume level by the processing in step S24, the volume correction value is calculated so that the calculated volume level matches the set maximum volume level. I do.
[0029]
Next, in step S28, using the calculated volume correction value, all the data relating to the volume level in the set of music data is converted to the volume level of the audio signal when the music data is reproduced according to the set reference level. Convert to the volume level or maximum volume level. Specifically, in the case of the MP3 and WAVE formats, the level of each sampling value in the music data is multiplied by the volume correction value. In the case of music data in the MIDI format, velocity data in note-on / off data and / or volume data in control data representing volume are multiplied by a volume correction value. If "no automatic volume adjustment" is selected in the process of step S14, the processes of steps S24 to S28 are not executed.
[0030]
Next, in step S30, the converted music data is output in the first and second forms. In the first output mode, the music data converted by the process of step S28 is converted according to the recording format in the output condition set by the process of step S14, and output to the
[0031]
The second output mode is to reproduce music data. The music data converted by the process of step S28 is converted into an audio signal by the execution of the corresponding application program and reproduced. This application program is the same as the one started by the processing in step S22.
[0032]
In this reproduction, if the music data is MIDI format music data (performance event data and timing data), the performance event data read out along with the progress of the music is output to the tone
[0033]
After the processing in step S30, the program returns to step S20. Then, the processing of steps S22 to S30 is repeatedly executed until all the music data selected by the user is converted. According to the first output mode, a plurality of sets of music data are sequentially recorded in one recording medium in the same or different formats by the repetition of steps S22 to S30. According to the second output mode, a plurality of sets of music data are reproduced one after another. When all the music data selected by the user is converted, the execution of the music data conversion program is terminated in step S32 based on the determination processing in step S20.
[0034]
As can be understood from the above description, according to the above-described embodiment, an application program that matches the song data is started by the processes of steps S22 and S24, and the song data is determined based on a part or all of the song data. Is analyzed for the volume level of the reproduced audio signal. By the processing of step S26, using the analyzed volume level, the volume level of the audio signal including the musical tone when the music data is reproduced is set to the predetermined level defined by the conditions set by the processing of steps S16 and S88. Is calculated. Then, the music data is converted and output by using the calculated volume correction value by the processing of steps S28 and S30. As a result, according to the above-described embodiment, even if the production conditions of the music data are different or the application program (that is, storage format) for reproduction is different, the reproduction volume of the plural sets of music data can be made equal. . Therefore, even when a plurality of sets of music data are sequentially reproduced and listened, the user does not need to adjust the volume with the volume every time the music is changed.
[0035]
Furthermore, the implementation of the present invention is not limited to the above embodiment and its modifications, and various modifications can be made without departing from the purpose of the present invention.
[Brief description of the drawings]
FIG. 1 is an overall block diagram of a music data conversion device according to an embodiment of the present invention.
FIG. 2 is a flowchart showing a music data conversion program executed by the CPU of FIG. 1;
[Explanation of symbols]
11 CPU, 14 internal storage device, 15 setting operator group, 16 display, 17a musical tone signal generation circuit, 17b D / A converter, 17c sound system, 18 media drive.
Claims (3)
前記記憶装置に記憶されている複数組の曲データのうちのいずれかを選択する選択手段と、
前記選択された曲データの一部または全部を、同選択された曲データの記憶フォーマットに対応するアプリケーションプログラムを用いて読み出す読み出し手段と、
前記読み出された曲データの一部または全部に基づいて、前記選択された曲データを再生したときの楽音を含む音声信号の音量レベルが所定レベルになるような音量補正値を計算する音量補正値計算手段と、
前記計算された音量補正値を用いて前記選択された曲データを変換して出力する出力手段と
を備えたことを特徴とする曲データ変換装置。A storage device capable of storing a plurality of sets of music data in different formats for generating an audio signal including a musical tone,
Selecting means for selecting any of a plurality of sets of song data stored in the storage device;
Reading means for reading a part or all of the selected song data using an application program corresponding to a storage format of the selected song data;
Volume correction for calculating a volume correction value based on a part or all of the read song data such that a volume level of an audio signal including a musical tone when the selected song data is reproduced becomes a predetermined level. Value calculation means;
Output means for converting the selected music data using the calculated volume correction value and outputting the converted music data.
前記記憶装置に記憶されている複数組の曲データのうちのいずれかを選択する選択ステップと、
前記選択された曲データの一部または全部を、同選択された曲データの記憶フォーマットに対応するアプリケーションプログラムを用いて読み出す読み出しステップと、
前記読み出された曲データの一部または全部に基づいて、前記選択された曲データを再生したときの楽音を含む音声信号の音量レベルが所定レベルになるような音量補正値を計算する音量補正値計算ステップと、
前記計算された音量補正値を用いて前記選択された曲データを変換して出力する出力ステップと
を含むことを特徴とする曲データ変換プログラム。The present invention is applied to a music data conversion device having a storage device capable of storing a plurality of sets of music data for generating audio signals including musical tones in different formats, and converts music data stored in the storage device. A song data conversion program to be output,
A selecting step of selecting any of a plurality of sets of song data stored in the storage device;
A reading step of reading a part or all of the selected song data using an application program corresponding to a storage format of the selected song data;
Volume correction for calculating a volume correction value based on a part or all of the read song data such that a volume level of an audio signal including a musical tone when the selected song data is reproduced becomes a predetermined level. A value calculation step;
An output step of converting and outputting the selected music data using the calculated volume correction value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003067490A JP3879684B2 (en) | 2003-03-13 | 2003-03-13 | Song data conversion apparatus and song data conversion program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003067490A JP3879684B2 (en) | 2003-03-13 | 2003-03-13 | Song data conversion apparatus and song data conversion program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004279497A true JP2004279497A (en) | 2004-10-07 |
JP3879684B2 JP3879684B2 (en) | 2007-02-14 |
Family
ID=33285068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003067490A Expired - Fee Related JP3879684B2 (en) | 2003-03-13 | 2003-03-13 | Song data conversion apparatus and song data conversion program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3879684B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110088721A (en) * | 2010-01-29 | 2011-08-04 | 삼성전자주식회사 | Method and apparatus for controlling volume during voice source playing |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06274164A (en) * | 1993-03-18 | 1994-09-30 | Kawai Musical Instr Mfg Co Ltd | Automatic playing device |
JPH0836864A (en) * | 1994-07-22 | 1996-02-06 | Nippon Steel Corp | Acoustic reproduction device |
JP2002073059A (en) * | 1995-09-29 | 2002-03-12 | Yamaha Corp | Text data processor and auxiliary data processor |
JP2002109824A (en) * | 2000-09-29 | 2002-04-12 | Matsushita Electric Ind Co Ltd | Method for recording digital audio signal and its device |
JP2002258841A (en) * | 2001-02-28 | 2002-09-11 | Daiichikosho Co Ltd | Method, device and program for midi data conversion |
JP2003007038A (en) * | 2001-06-19 | 2003-01-10 | Sony Corp | Music file processor, music file processing method and program for the method |
-
2003
- 2003-03-13 JP JP2003067490A patent/JP3879684B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06274164A (en) * | 1993-03-18 | 1994-09-30 | Kawai Musical Instr Mfg Co Ltd | Automatic playing device |
JPH0836864A (en) * | 1994-07-22 | 1996-02-06 | Nippon Steel Corp | Acoustic reproduction device |
JP2002073059A (en) * | 1995-09-29 | 2002-03-12 | Yamaha Corp | Text data processor and auxiliary data processor |
JP2002109824A (en) * | 2000-09-29 | 2002-04-12 | Matsushita Electric Ind Co Ltd | Method for recording digital audio signal and its device |
JP2002258841A (en) * | 2001-02-28 | 2002-09-11 | Daiichikosho Co Ltd | Method, device and program for midi data conversion |
JP2003007038A (en) * | 2001-06-19 | 2003-01-10 | Sony Corp | Music file processor, music file processing method and program for the method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110088721A (en) * | 2010-01-29 | 2011-08-04 | 삼성전자주식회사 | Method and apparatus for controlling volume during voice source playing |
KR101644314B1 (en) | 2010-01-29 | 2016-08-01 | 삼성전자주식회사 | Method and apparatus for controlling volume during voice source playing |
Also Published As
Publication number | Publication date |
---|---|
JP3879684B2 (en) | 2007-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5834670A (en) | Karaoke apparatus, speech reproducing apparatus, and recorded medium used therefor | |
US8198525B2 (en) | Collectively adjusting tracks using a digital audio workstation | |
JP3885587B2 (en) | Performance control apparatus, performance control program, and recording medium | |
JP2011100156A (en) | Automatic playing and recording apparatus for acoustic/electric guitar | |
JP7367835B2 (en) | Recording/playback device, control method and control program for the recording/playback device, and electronic musical instrument | |
JP3925349B2 (en) | Apparatus and method for synchronous reproduction of audio data and performance data | |
JP3879684B2 (en) | Song data conversion apparatus and song data conversion program | |
JP5338312B2 (en) | Automatic performance synchronization device, automatic performance keyboard instrument and program | |
Rudolph et al. | Recording in the digital world: complete guide to studio gear and software | |
JP6690165B2 (en) | Output control device, electronic musical instrument, output control method, and program | |
JP3969249B2 (en) | Apparatus and method for synchronous reproduction of audio data and performance data | |
JP2797644B2 (en) | Karaoke device with vocalization function | |
JP4063048B2 (en) | Apparatus and method for synchronous reproduction of audio data and performance data | |
JP4501639B2 (en) | Acoustic signal reading apparatus and program | |
White | Desktop Digital Studio | |
JP2001318670A (en) | Device and method for editing, and recording medium | |
JP2004045871A (en) | Electronic musical sound producing device with rehearsal function | |
JP4496927B2 (en) | Acoustic signal recording apparatus and program | |
US20180286363A1 (en) | Systems and methods for recording and transcribing music | |
JP4345010B2 (en) | Pitch change amount determination method, pitch change amount determination device, and program | |
JP4147407B2 (en) | Computer program for musical expression and musical expression apparatus | |
JP3518392B2 (en) | Performance information setting device and computer-readable recording medium storing performance information setting program | |
JP2003208166A (en) | Musical sound reproducing/recording apparatus, recording apparatus, and recording method | |
JP2000214852A (en) | Waveform reproducing apparatus and waveform storage medium | |
JPH0962280A (en) | 'karaoke' device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050927 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060810 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060822 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060926 |
|
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: 20061017 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061030 |
|
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: 20101117 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101117 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111117 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111117 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121117 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121117 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131117 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |