JP2007011136A - Music data editing device and program - Google Patents

Music data editing device and program Download PDF

Info

Publication number
JP2007011136A
JP2007011136A JP2005193947A JP2005193947A JP2007011136A JP 2007011136 A JP2007011136 A JP 2007011136A JP 2005193947 A JP2005193947 A JP 2005193947A JP 2005193947 A JP2005193947 A JP 2005193947A JP 2007011136 A JP2007011136 A JP 2007011136A
Authority
JP
Japan
Prior art keywords
sound
song
highlight
data
music 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
Application number
JP2005193947A
Other languages
Japanese (ja)
Other versions
JP4626851B2 (en
Inventor
Tatsuya Dejima
達也 出嶌
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2005193947A priority Critical patent/JP4626851B2/en
Publication of JP2007011136A publication Critical patent/JP2007011136A/en
Application granted granted Critical
Publication of JP4626851B2 publication Critical patent/JP4626851B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To realize a music data editing device improving the expression power of performance. <P>SOLUTION: In response to execution of editing processing, a target musical piece to be edited is selected by musical piece selection processing executed through a step SB3. Thereafter, in execution processing executed through a step SB8, maximum sounds wherein the sound pitch is changed maximally and minimum sounds wherein the sound pitch is changed minimally are detected from music data representing respective sounds constituting the selected musical piece, and sounds immediately before maximum sounds wherein the sound pitch is increased continuously in a plurality of sounds to be changed maximally and sounds immediately before minimum sounds wherein the sound pitch is decreased continuously in a plurality of sounds to be changed minimally, out of detected maximum sounds and minimum sounds are designated as highlight sounds, and velocities VEL (sound volumes) in music data corresponding to the highlight sounds are increased so as to emphasize the designated highlight sounds. Since parts characterizing an impression of the musical piece are emphasized, the expression power of performance is improved. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、例えばシーケンサに用いて好適な曲データ編集装置および曲データ編集プログラムに関する。   The present invention relates to a song data editing apparatus and a song data editing program suitable for use in, for example, a sequencer.

演奏すべき各音の音高や発音タイミングから構成される曲データを再生する自動演奏装置では、曲データの内容を編集する曲データ編集装置を備えることが多い。例えば、特許文献1に開示の自動演奏装置では、演奏トラック単位およびイベント単位で非ドラム系/ドラム系の音色を識別する音色識別データを含む曲データを編集して、一つの演奏トラックにドラム音色と非ドラム音色とを混在可能にする曲データ編集装置を備える。   In many cases, an automatic performance apparatus that reproduces music data composed of pitches and sound generation timings of each sound to be performed includes a music data editing apparatus that edits the contents of the music data. For example, in the automatic performance device disclosed in Patent Document 1, song data including timbre identification data for identifying non-drum / drum timbres is edited in units of performance tracks and events, and drum timbres are recorded on one performance track. And a non-drum timbre can be mixed.

特開2002−169547号公報JP 2002-169547 A

ところで、上記特許文献1に開示の技術は、一つの演奏トラックにドラム音色と非ドラム音色とを混在可能にするだけであり、演奏表現力を向上させることができない、という問題がある。
本発明は、このような事情に鑑みてなされたもので、演奏表現力を向上させることができる曲データ編集装置および曲データ編集プログラムを提供することを目的としている。
By the way, the technique disclosed in Patent Document 1 has a problem that it is only possible to mix drum timbres and non-drum timbres in one performance track, and performance expressiveness cannot be improved.
The present invention has been made in view of such circumstances, and an object thereof is to provide a song data editing apparatus and a song data editing program capable of improving performance expression.

上記目的を達成するため、請求項1に記載の発明では、曲を構成する各音を表す曲データを記憶する曲データ記憶手段と、前記曲データ記憶手段に記憶される曲データの中から曲の印象を特徴付けるハイライト音を抽出するハイライト音抽出手段と、前記曲データ記憶手段に記憶される曲データの内、前記ハイライト音抽出手段により抽出されたハイライト音に対応する曲データの楽音要素を強調変更する曲データ変更手段とを具備することを特徴とする。   In order to achieve the above object, according to the first aspect of the present invention, there is provided music data storage means for storing music data representing each sound constituting music, and music data stored in the music data storage means. Highlight sound extraction means for extracting a highlight sound that characterizes the impression of the song, and of song data corresponding to the highlight sound extracted by the highlight sound extraction means among the song data stored in the song data storage means And music data changing means for emphasizing and changing musical tone elements.

請求項2に記載の発明では、曲を構成する各音を表す曲データを記憶する曲データ記憶手段と、前記曲データ記憶手段に記憶される曲データの中から曲の印象を特徴付けるハイライト音を抽出するハイライト音抽出手段と、前記曲データ記憶手段に記憶される曲データを再生する再生手段と、前記再生手段により再生される曲データがハイライト音に対応する場合、その曲データの楽音要素を強調変更する曲データ変更手段とを具備することを特徴とする。   According to a second aspect of the present invention, song data storage means for storing song data representing each sound constituting a song, and a highlight sound characterizing the impression of the song from the song data stored in the song data storage means Highlight sound extracting means for extracting the song data, reproducing means for reproducing the song data stored in the song data storage means, and when the song data reproduced by the reproducing means corresponds to the highlight sound, And music data changing means for emphasizing and changing musical tone elements.

上記請求項1乃至2のいずれかに従属する請求項3に記載の発明では、前記曲データ記憶手段に記憶される曲データに含まれる音高の変化が極大となる位置にある音高である極大音と極小となる位置にある音高である極小音とを検出し、検出された極大音および極小音の内から所定音連続的に極大に向かって増加した極大音の1つ前の音と、所定音連続的に極小に向かって減少した極小音の1つ前の音とをそれぞれ曲の印象を特徴付けるハイライト音として抽出することを特徴とする。   According to a third aspect of the present invention, which is dependent on any one of the first and second aspects, the pitch is at a position where a change in pitch included in the song data stored in the song data storage means is maximized. Detects the maximum sound and the minimum sound that is the pitch at the minimum position, and detects the maximum sound and the sound immediately before the maximum sound that has increased continuously from the minimum sound to the maximum from the predetermined sound. And a sound immediately before the minimum sound that decreases continuously toward a minimum for a predetermined sound is extracted as a highlight sound that characterizes the impression of the song.

上記請求項1乃至2のいずれかに従属する請求項4に記載の発明では、前記曲データ記憶手段に記憶される曲データ中から音高の変化が所定期間連続して極大に向かって増加した場合に極大の位置にある音の1つの前の音と、音高の変化が所定期間連続して極小に向かって減少した場合に極小の位置にある音の1つの前の音とをそれぞれ曲の印象を特徴付けるハイライト音として抽出することを特徴とする。   In the invention according to claim 4 that depends on any one of claims 1 to 2, the change in pitch from the song data stored in the song data storage means increases continuously to a maximum for a predetermined period. In this case, the tune is composed of one sound before the sound at the maximum position and one sound before the sound at the minimum position when the change in pitch decreases toward the minimum continuously for a predetermined period. It is characterized by being extracted as a highlight sound that characterizes the impression.

上記請求項1乃至2のいずれかに従属する請求項5に記載の発明では、前記曲データ変更手段は、ハイライト音に対応する曲データの音量を増加させて強調することを特徴とする。   The invention according to claim 5 that depends on any one of claims 1 to 2 is characterized in that the music data changing means emphasizes the music data corresponding to the highlight sound by increasing the volume.

上記請求項1乃至2のいずれかに従属する請求項6に記載の発明では、前記曲データ変更手段は、ハイライト音が和音を構成している場合には、当該ハイライト音以外の他の和音構成音に各々対応する曲データの音量を減少させて和音中のハイライト音を強調させることを特徴とする。   In the invention according to claim 6 that depends on any one of claims 1 and 2, the music data changing means, when the highlight sound constitutes a chord, It is characterized in that the highlight sound in the chord is emphasized by decreasing the volume of the music data corresponding to each chord constituent sound.

請求項7に記載の発明では、曲を構成する各音を表すと共に、エクスクルーシブメッセージを備える曲データを記憶する曲データ記憶手段と、前記曲データ記憶手段に記憶される曲データ中から曲の印象を特徴付けるハイライト音を抽出するハイライト音抽出手段と、前記曲データ記憶手段に記憶される曲データの内、前記ハイライト音抽出手段により抽出されたハイライト音に対応する曲データのエクスクルーシブメッセージとして曲データ再生時の周波数特性を高域強調させるフィルタ特性データを設定する曲データ変更手段とを具備することを特徴とする。   According to the seventh aspect of the present invention, the song data storage means for storing each piece of music constituting the song and storing the song data including the exclusive message, and the impression of the song from the song data stored in the song data storage means. A highlight sound extracting means for extracting a highlight sound characterizing the music, and an exclusive message of music data corresponding to the highlight sound extracted by the highlight sound extracting means among the music data stored in the music data storage means And music data changing means for setting filter characteristic data for emphasizing the frequency characteristics at the time of music data reproduction.

請求項8に記載の発明では、曲を構成する各音を表す曲データの中から曲の印象を特徴付けるハイライト音を抽出するハイライト音抽出処理と、曲を構成する各音を表す曲データの内、前記ハイライト音抽出処理にて抽出されたハイライト音に対応する曲データの楽音要素を強調させるように変更する曲データ変更処理とをコンピュータで実行させることを特徴とする。   According to the eighth aspect of the present invention, highlight sound extraction processing for extracting a highlight sound characterizing the impression of a song from song data representing each sound constituting the song, and song data representing each sound constituting the song Among them, the computer executes a music data change process for changing so as to emphasize a musical tone element of music data corresponding to the highlight sound extracted by the highlight sound extraction process.

請求項1、8に記載の発明によれば、曲を構成する各音を表す曲データの中から曲の印象を特徴付けるハイライト音を抽出し、抽出されたハイライト音に対応する曲データの楽音要素を強調変更するので、曲の印象を特徴付けるハイライト音が強調されて演奏表現力を向上させることができる。   According to the first and eighth aspects of the invention, the highlight sound characterizing the impression of the song is extracted from the song data representing each sound constituting the song, and the song data corresponding to the extracted highlight sound is extracted. Since the musical tone element is emphasized and changed, the highlight sound that characterizes the impression of the song is emphasized and the performance expression can be improved.

請求項2に記載の発明によれば、曲を構成する各音を表す曲データの中から曲の印象を特徴付けるハイライト音を抽出しておき、曲データを再生する際に、その再生される曲データがハイライト音に対応する場合、当該曲データの楽音要素を強調変更するので、曲の印象を特徴付けるハイライト音が強調されて演奏表現力を向上させることができる。   According to the second aspect of the present invention, the highlight sound characterizing the impression of the song is extracted from the song data representing each sound constituting the song, and is reproduced when the song data is reproduced. When the song data corresponds to the highlight sound, the musical tone element of the song data is emphasized and changed, so that the highlight sound that characterizes the impression of the song is emphasized and the performance expression can be improved.

請求項5に記載の発明によれば、ハイライト音に対応する曲データの音量を増加させて強調するので、演奏表現力を向上させることができる。   According to the fifth aspect of the present invention, since the volume of the song data corresponding to the highlight sound is increased and emphasized, the performance expression can be improved.

請求項6に記載の発明では、ハイライト音が和音を構成している場合には、当該ハイライト音以外の他の和音構成音に各々対応する曲データの音量を減少させて和音中のハイライト音を強調させるので、演奏表現力を向上させることができる。   According to the sixth aspect of the present invention, when the highlight sound constitutes a chord, the volume of the song data corresponding to each of the other chord constituent sounds other than the highlight sound is reduced to increase the high sound in the chord. Since the light sound is emphasized, the performance expression can be improved.

請求項7に記載の発明では、曲を構成する各音を表すと共に、エクスクルーシブメッセージを備える曲データを記憶しておき、記憶された曲データの中から曲の印象を特徴付けるハイライト音を抽出し、抽出されたハイライト音に対応する曲データのエクスクルーシブメッセージとして曲データ再生時の周波数特性を高域強調させるフィルタ特性データを設定するので、曲の印象を特徴付けるハイライト音が強調されて演奏表現力を向上させることができる。   According to the seventh aspect of the present invention, music data including an exclusive message is stored while representing each sound constituting the music, and a highlight sound characterizing the impression of the music is extracted from the stored music data. In addition, filter characteristic data that emphasizes the frequency characteristics during song data playback is set as an exclusive message of the song data corresponding to the extracted highlight sound, so the highlight sound that characterizes the impression of the song is emphasized for performance expression The power can be improved.

以下では、最初に発明の概要を説明した後、図面を参照して本発明の実施の形態について説明する。   In the following, the outline of the present invention will be described first, and then embodiments of the present invention will be described with reference to the drawings.

A.発明の概要
本発明は、曲を構成する各音を表す曲データから曲のハイライト箇所を検出し、検出したハイライト箇所を強調するように、対応する曲データを自動的に編集する。ハイライト箇所とは、例えば曲中の所謂「サビ」と呼ばれる部分など、曲の印象を特徴付ける音を指す。ハイライト箇所の強調とは、本実施形態においては、後述するように、ハイライト箇所に対応する曲データのベロシティ(音量)レベルを増加(あるいは減少)させる処理操作を指す。そうした編集が施された曲データを自動演奏すれば、曲の印象を特徴付ける箇所が強調される為、演奏表現力の向上を図ることができるようになる。
A. Summary of the Invention
The present invention detects a highlight portion of a song from song data representing each sound constituting the song, and automatically edits the corresponding song data so as to emphasize the detected highlight portion. The highlight portion refers to a sound that characterizes the impression of a song, such as a so-called “rust” portion of the song. In the present embodiment, highlighting a highlight location refers to a processing operation that increases (or decreases) the velocity (volume) level of music data corresponding to a highlight location, as will be described later. If music data with such editing is automatically played, points that characterize the impression of the music are emphasized, so that performance expression can be improved.

B.第1実施形態
(1)構成
図1は、本発明の第1実施形態の構成を示すブロック図である。この図において、操作部10は、電源スイッチの他、キー入力用のキーボードやマウス等の入力操作子を備え、入力操作に対応したイベントを発生する。このイベントはCPU11に取り込まれる。CPU11は、ROM12に記憶される各種制御プログラムを実行し、操作部10が発生するイベントに対応して装置各部を制御するものであり、その特徴的な処理動作については追って詳述する。ROM12は、CPU11にロードされる各種制御プログラムや各種画面データを記憶する。各種制御プログラムとは、後述するメインルーチン、編集処理、曲選択処理および実行処理を含む。各種画面データは、後述する初期画面SG、編集初期画面HSG、実行画面JGおよび終了画面EGを表示部16に画面表示させるデータである。
B. First Embodiment (1) Configuration FIG. 1 is a block diagram showing a configuration of a first embodiment of the present invention. In this figure, the operation unit 10 includes input operation elements such as a key input keyboard and a mouse in addition to the power switch, and generates an event corresponding to the input operation. This event is captured by the CPU 11. The CPU 11 executes various control programs stored in the ROM 12 and controls each part of the apparatus in response to an event generated by the operation unit 10, and its characteristic processing operation will be described in detail later. The ROM 12 stores various control programs and various screen data loaded into the CPU 11. The various control programs include a main routine, editing process, song selection process, and execution process, which will be described later. The various screen data is data that causes the display unit 16 to display an initial screen SG, an editing initial screen HSG, an execution screen JG, and an end screen EG described later.

RAM13は、CPU11の処理に用いる各種レジスタ/フラグデータを一時記憶するワークエリアと、MIDIインタフェース17を介して外部から供給される曲データを保存するデータエリアとを備える。ここで、図2を参照してRAM13のデータエリアに格納される曲データの構成について説明する。RAM13のデータエリアには、図2に示すように、複数の曲[0]〜曲[N]が格納される。1つの曲は、読み出しアドレスADに対応した曲データ[AD]〜[AD+n]および曲終了を表すデータENDから形成される。1つの曲データ[AD]は、前イベントからの経過時間(相対時間)を表すデルタタイムΔT、ノートオンあるいはノートオフなどのイベント内容を識別するイベントEV、発音(又は消音)する音高を指定するノートNOTEおよび音量を表すベロシティVELから構成される。   The RAM 13 includes a work area for temporarily storing various register / flag data used for processing of the CPU 11 and a data area for storing music data supplied from the outside via the MIDI interface 17. Here, the configuration of music data stored in the data area of the RAM 13 will be described with reference to FIG. In the data area of the RAM 13, a plurality of songs [0] to [N] are stored as shown in FIG. One song is formed from song data [AD] to [AD + n] corresponding to the read address AD and data END indicating the song end. One piece of music data [AD] designates a delta time ΔT representing an elapsed time (relative time) from the previous event, an event EV for identifying event contents such as note-on or note-off, and a pitch for sounding (or muting). The note NOTE to be played and the velocity VEL representing the sound volume.

音源14は、周知の波形メモリ読み出し方式で構成され、RAM13のデータエリアからCPU10が順次読み出す曲データを、指定テンポに同期して再生して楽音信号を出力する。サウンドシステム15は、音源14から出力される楽音信号をD/A変換した後に増幅してスピーカSPから発音する。表示部16は、CPU11から供給される表示制御信号に応じて、装置の動作状態や操作部10の入力操作に応じた各種画面(初期画面SG、編集初期画面HSG、実行画面JGおよび終了画面EG等)を表示する。MIDIインタフェース17は、CPU11の制御の下で、外部MIDI機器とMIDI形式の曲データを授受する。MIDIインタフェース17を介して外部MIDI機器から供給される曲データは、RAM13のデータエリア(図2参照)に格納される。   The sound source 14 is configured by a well-known waveform memory reading method, and reproduces music data that the CPU 10 sequentially reads from the data area of the RAM 13 in synchronization with a specified tempo and outputs a musical sound signal. The sound system 15 D / A converts the musical tone signal output from the sound source 14 and then amplifies it to generate sound from the speaker SP. The display unit 16 displays various screens (initial screen SG, editing initial screen HSG, execution screen JG, and end screen EG) according to the operation state of the apparatus and the input operation of the operation unit 10 in accordance with a display control signal supplied from the CPU 11. Etc.). The MIDI interface 17 exchanges music data in the MIDI format with an external MIDI device under the control of the CPU 11. Music data supplied from an external MIDI device via the MIDI interface 17 is stored in the data area of the RAM 13 (see FIG. 2).

(2)動作
次に、図3〜図17を参照して第1実施形態の動作について説明する。以下では、先ず最初に全体動作としてメインルーチンの動作を説明した後、続いてメインルーチンからコールされる編集処理を形成する各種処理(曲選択処理、実行処理、和音検出処理、極大・極小検出処理、音高検出処理およびベロシティ変換処理)の動作を説明する。
(2) Operation Next, the operation of the first embodiment will be described with reference to FIGS. In the following, first, the operation of the main routine will be described as the overall operation, and then various processing (music selection processing, execution processing, chord detection processing, maximum / minimum detection processing) that will form an editing process called from the main routine. , Operations of pitch detection processing and velocity conversion processing) will be described.

<メインルーチンの動作>
上記構成による第1実施形態に電源が投入されると、CPU11は図3に図示するメインルーチンを実行してステップSA1に処理を進め、RAM13に格納される各種レジスタ/フラグ類をリセットしたり、初期値セットするイニシャライズを行う。そして、イニシャライズが完了すると、ステップSA2に進み、ROM12から読み出す画面データに基づき初期画面SGを表示部16に画面表示する。初期画面SGとは、図4に図示する一例のように、再生アイコンIC1および編集アイコンIC2を備える画面である。
<Main routine operation>
When power is turned on in the first embodiment having the above configuration, the CPU 11 executes the main routine shown in FIG. 3 and proceeds to step SA1, resets various registers / flags stored in the RAM 13, Initialize the initial value. When the initialization is completed, the process proceeds to step SA2, and the initial screen SG is displayed on the display unit 16 based on the screen data read from the ROM 12. The initial screen SG is a screen including a reproduction icon IC1 and an edit icon IC2 as in the example illustrated in FIG.

初期画面SGにおいて、再生アイコンIC1や編集アイコンIC2を選択操作しなければ、ステップSA3、SA5の各判断結果は「NO」になり、ステップSA2に処理を戻し、初期画面表示状態が維持される。初期画面表示状態において、例えば操作部10のマウスを用いて再生アイコンIC1を選択操作すると、ステップSA3の判断結果が「YES」になり、ステップSA5に進む。ステップSA5では、例えば後述の編集処理によってハイライト箇所を強調するように編集された曲データを自動演奏する再生処理を実行した後、ステップSA2に処理を戻し、初期画面表示状態に復帰する。   If the reproduction icon IC1 and the edit icon IC2 are not selected on the initial screen SG, the determination results in steps SA3 and SA5 are “NO”, the process returns to step SA2, and the initial screen display state is maintained. In the initial screen display state, for example, when the reproduction icon IC1 is selected and operated using the mouse of the operation unit 10, the determination result in step SA3 becomes “YES”, and the process proceeds to step SA5. In step SA5, for example, a reproduction process for automatically playing music data edited so as to emphasize a highlight portion by an editing process described later is executed, and then the process returns to step SA2 to return to the initial screen display state.

一方、初期画面表示状態において、編集アイコンIC2を選択操作すると、ステップSA5の判断結果が「YES」になり、ステップSA6に進む。ステップSA6では、複数曲の内から編集対象として選曲した曲の曲データからハイライト箇所を検出し、そのハイライト箇所を強調させるように曲データを自動的に編集する編集処理を実行した後、ステップSA2に処理を戻し、初期画面表示状態に復帰する。以後、パワーオフされるまで上述したステップSA2〜SA6を繰り返す。   On the other hand, if the edit icon IC2 is selected and operated in the initial screen display state, the determination result in step SA5 becomes “YES”, and the process proceeds to step SA6. In step SA6, after performing highlighting from the song data of a song selected as an object to be edited from among a plurality of songs and automatically editing the song data so as to highlight the highlighted portion, The process returns to step SA2 to return to the initial screen display state. Thereafter, the above steps SA2 to SA6 are repeated until the power is turned off.

<編集処理の動作>
次に、図5〜図6を参照して編集処理の動作を説明する。上述したメインルーチンのステップSA6(図3参照)を介して編集処理が実行されると、CPU11は図5に図示するステップSB1に進み、ROM12から読み出す画面データに基づき編集初期画面HSGを表示部16に画面表示する。編集初期画面HSGとは、図6(a)に図示する一例のように、曲選択アイコンIC3および戻るアイコンIC4を備える画面である。編集初期画面HSGが画面表示されている状態で戻るアイコンIC4を選択操作すると、ステップSB4の判断結果が「YES」になり、本処理を完了させてメインルーチンに処理を戻し、初期画面表示状態に復帰させる。
<Operation of editing process>
Next, the editing process will be described with reference to FIGS. When the editing process is executed via step SA6 (see FIG. 3) of the main routine described above, the CPU 11 proceeds to step SB1 shown in FIG. 5 and displays the editing initial screen HSG on the display unit 16 based on the screen data read from the ROM 12. Display on the screen. The editing initial screen HSG is a screen including a song selection icon IC3 and a return icon IC4, as in the example illustrated in FIG. If the return icon IC4 is selected and operated while the editing initial screen HSG is displayed, the determination result in step SB4 becomes "YES", this processing is completed and the processing is returned to the main routine to return to the initial screen display state. Return.

一方、編集初期画面HSGが画面表示されている状態で曲選択アイコンIC4を選択操作すると、ステップSB2の判断結果が「YES」になり、ステップSB3を介して、複数曲の内から編集対象とする曲を選曲する曲選択処理(後述する)を実行する。曲選択処理により編集対象とする曲を選曲し終えると、ステップSB5に進み、図6(b)に図示する一例のように、実行アイコンIC5および戻るアイコンIC6を備える実行画面JGを画面表示する。   On the other hand, when the music selection icon IC4 is selected and operated while the editing initial screen HSG is displayed on the screen, the determination result in step SB2 is “YES”, and the editing target is selected from a plurality of songs through step SB3. A song selection process (described later) for selecting a song is executed. When the selection of the music to be edited by the music selection process is completed, the process proceeds to step SB5, and an execution screen JG including an execution icon IC5 and a return icon IC6 is displayed on the screen as shown in FIG. 6B.

実行画面JGが画面表示されている状態で戻るアイコンIC6を選択操作した場合には、ステップSB7の判断結果が「YES」になり、ステップSB1に処理を戻し、編集初期画面表示状態に復帰させる。これに対し、実行画面JGが画面表示されている状態で実行アイコンIC5を選択操作すると、ステップSB6の判断結果が「YES」になり、ステップSB8を介して実行処理を行う。実行処理では、後述するように、編集対象曲の曲データからハイライト箇所を検出し、検出したハイライト箇所を強調させるように曲データのベロシティVELを変更する。   If the return icon IC6 is selected and operated while the execution screen JG is displayed on the screen, the determination result in step SB7 is “YES”, the process returns to step SB1, and the editing initial screen display state is restored. On the other hand, when the execution icon IC5 is selected and operated while the execution screen JG is displayed on the screen, the determination result in step SB6 is “YES”, and the execution process is performed via step SB8. In the execution process, as will be described later, a highlight portion is detected from the song data of the song to be edited, and the velocity VEL of the song data is changed so as to emphasize the detected highlight portion.

そして、ステップSB8の実行処理にて曲データを編集し終えると、ステップSB9に進み、図6(c)に図示する一例のように、戻るアイコンIC7および終了アイコンIC8を備える終了画面EGを画面表示する。終了画面EGが画面表示されている状態で戻るアイコンIC7を選択操作した場合には、ステップSB10の判断結果が「YES」になり、ステップSB1に処理を戻し、編集初期画面表示状態に復帰させる。これに対し、終了アイコンIC8を選択操作すると、ステップSB11の判断結果が「YES」になり、本処理を完了させてメインルーチンに処理を戻し、初期画面表示状態に復帰させる。   When the song data has been edited in the execution process of step SB8, the process proceeds to step SB9, and an end screen EG including a return icon IC7 and an end icon IC8 is displayed on the screen as shown in FIG. 6C. To do. When the return icon IC7 is selected and operated while the end screen EG is displayed on the screen, the determination result in step SB10 is “YES”, and the process returns to step SB1 to return to the editing initial screen display state. On the other hand, when the end icon IC8 is selected and operated, the determination result in step SB11 is “YES”, this process is completed, the process is returned to the main routine, and the initial screen display state is restored.

<曲選択処理の動作>
次に、図7〜図8を参照して曲選択処理の動作を説明する。上述した編集処理のステップSB3(図5参照)を介して本処理が実行されると、CPU1は図7に図示するステップSC1に進み、曲リスト画面LGを作成して表示部16に画面表示する。曲リスト画面LGとは、図8に図示する一例のように、RAM13のデータエリアに格納される複数の曲[0]〜曲[N]の曲番号や曲名などを一覧表示する画面である。次いで、ステップSC2では、この曲リスト画面LGに一覧表示される曲の内から編集対象曲が選択されるまで待機する。そして、編集対象曲が選択されると、ステップSC2の判断結果が「YES」になり、ステップSC3に進み、選択された編集対象曲の曲番号をポインタnにストアして本処理を終える。以後、ポインタnの値を曲番号nと記す。
<Operation of song selection process>
Next, the music selection process will be described with reference to FIGS. When this process is executed via the above-described editing process step SB3 (see FIG. 5), the CPU 1 proceeds to step SC1 shown in FIG. 7 to create a song list screen LG and display it on the display unit 16. . The song list screen LG is a screen that displays a list of song numbers, song names, and the like of a plurality of songs [0] to [N] stored in the data area of the RAM 13, as in the example illustrated in FIG. Next, in step SC2, the process waits until an edit target song is selected from the songs displayed in a list on the song list screen LG. When the edit target song is selected, the determination result in step SC2 is “YES”, the process proceeds to step SC3, the song number of the selected edit target song is stored in the pointer n, and the process is terminated. Hereinafter, the value of the pointer n is described as a music number n.

<実行処理の動作>
次に、図9を参照して実行処理の動作を説明する。前述した編集処理のステップSB8(図5参照)を介して本処理が実行されると、CPU1は図9に図示するステップSD1に進み、編集対象として選曲された曲番号nの曲データの内からノートオンイベントを有する曲データのアドレスAD(読み出しアドレス)、経過時間TおよびノートNOTEを抽出し、それらを和音と非和音とに区別して保持する和音検出処理を実行する。和音検出処理の詳細については追って述べる。
<Operation of execution processing>
Next, the operation of the execution process will be described with reference to FIG. When this processing is executed through the above-described editing processing step SB8 (see FIG. 5), the CPU 1 proceeds to step SD1 shown in FIG. 9 and selects from the song data of the song number n selected as the editing target. A chord detection process is performed in which the address AD (read address), elapsed time T, and note NOTE of the song data having a note-on event are extracted, and these are discriminated and held as chords and non-chords. Details of the chord detection process will be described later.

次いで、ステップSD2では、曲データ中で隣接するノートオンイベント同士のノートNOTEから音高変化の傾きを表す差分値を算出し、その差分値により極小となる位置に対応するノートオンイベントが記憶された極小値アドレスおよびそれに対応する差分値である極小差分値と、極大となる位置に対応するノートオンイベントが記憶された極大値アドレスおよびそれに対応する差分値である極大差分値とを検出する極大・極小検出処理を実行する。極大・極小検出処理の詳細については追って述べる。   Next, in step SD2, a difference value representing the slope of the pitch change is calculated from the note NOTE between adjacent note-on events in the song data, and the note-on event corresponding to the position where the difference is minimized is stored. The local maximum value for detecting the local minimum value address and the local minimum difference value corresponding to the local maximum value, the local maximum value address storing the note-on event corresponding to the local maximum position, and the local maximum difference value corresponding to the difference value are detected. -Perform minimum detection processing. Details of the maximum / minimum detection processing will be described later.

続いて、ステップSD3では、上記ステップSD2の極大・極小検出処理にて検出された極大値アドレスで指定される極大音の内、前5音が連続して増加した極大音の1つ前の音を「極大側ハイライト音」として指定するハイライトアドレスVELAD[a]と、極小値アドレスで指定される極小音の内、前5音が連続して減少した極小音の1つ前の音を「極小側ハイライト音」として指定するハイライトアドレスVELAD[a]とを決定する音高検出処理を実行する。音高検出処理の詳細については追って述べる。   Subsequently, in step SD3, the sound immediately preceding the maximum sound in which the previous five sounds continuously increased among the maximum sounds specified by the maximum value address detected in the maximum / minimum detection processing of step SD2 above. The highlight address VELAD [a] that designates the “maximum side highlight sound” and the minimum sound specified by the minimum address are the sounds immediately before the minimum sound that the previous five sounds have decreased continuously. A pitch detection process for determining a highlight address VELAD [a] designated as “minimum side highlight sound” is executed. Details of the pitch detection process will be described later.

そして、ステップSD4では、上記ステップSD3の音高検出処理において検出されたハイライト音の読み出しアドレス(ハイライトアドレスVELAD[a])で指定される曲データ中のベロシティVELを増加させてハイライト音を強調させる一方、ハイライト音が和音を構成していれば、ハイライト音以外の他の和音構成音のベロシティVELを減少させ、和音中のハイライト音を強調させるベロシティ変換処理を行った後、本処理を完了させる。ベロシティ変換処理の詳細については追って述べる。   In step SD4, the velocity VEL in the music data designated by the highlight sound read address (highlight address VELAD [a]) detected in the pitch detection process in step SD3 is increased to increase the highlight sound. On the other hand, if the highlight sound constitutes a chord, after performing velocity conversion processing that reduces the velocity VEL of other chord constituent sounds other than the highlight sound and emphasizes the highlight sound in the chord This process is completed. Details of the velocity conversion process will be described later.

<和音検出処理の動作>
次に、図10〜図12を参照して和音検出処理の動作を説明する。前述した実行処理のステップSD1(図9参照)を介して実行される和音検出処理は、図10に図示するように、ステップSE1を介して実行されるノートオン検出処理と、ステップSE2を介して実行される重ね合わせ検出処理とから構成される。以下、ノートオン検出処理および重ね合わせ検出処理の各動作について述べる。
<Operation of chord detection processing>
Next, the operation of the chord detection process will be described with reference to FIGS. The chord detection process executed through step SD1 (see FIG. 9) of the execution process described above includes the note-on detection process executed through step SE1 and the step SE2 as shown in FIG. And an overlay detection process to be executed. Hereinafter, each operation of the note-on detection process and the overlay detection process will be described.

<ノートオン検出処理の動作>
図10のステップSE1を介してノートオン検出処理が実行されると、CPU11は図11に図示するステップSF1に進み、曲開始時点からの経過時間を計時するレジスタTおよびポインタaをゼロリセットする。続いて、ステップSF2では、曲番号nの曲データの先頭アドレスをレジスタADにストアする。次いで、ステップSF3では、レジスタADで指定される曲データ[AD]をRAM13のデータエリアから読み出す。続いて、ステップSF4では、読み出した曲データ[AD]中のデルタタイムΔTをレジスタTに加算して曲開始時点からの経過時間(絶対時間)を算出する。以後、レジスタTの値を経過時間Tと記す。そして、ステップSF5では、読み出した曲データ[AD]中のイベントEVが「ノートオンイベント」であるか否かを判断する。
<Operation of note-on detection processing>
When the note-on detection process is executed via step SE1 in FIG. 10, the CPU 11 proceeds to step SF1 shown in FIG. 11, and resets the register T and the pointer a for measuring the elapsed time from the music start point to zero. Subsequently, in step SF2, the head address of the music data of music number n is stored in the register AD. Next, in step SF3, the music data [AD] specified by the register AD is read from the data area of the RAM 13. Subsequently, in step SF4, the delta time ΔT in the read music data [AD] is added to the register T to calculate the elapsed time (absolute time) from the music start time. Hereinafter, the value of the register T is referred to as elapsed time T. In step SF5, it is determined whether or not the event EV in the read music data [AD] is a “note on event”.

曲データ[AD]中のイベントEVが「ノートオフイベント」であると、判断結果は「NO」になり、ステップSF9に進む。ステップSF9〜SF10では、ポインタaおよびレジスタADを歩進させる。そして、ステップSF11では、歩進されたレジスタADの値が最終アドレスを超えたか否かを判断する。なお、ここで言う最終アドレスとは、曲終端を表すデータENDが読み出されるアドレスを指す。曲終端を表すデータENDが読み出されなければ、判断結果は「NO」になり、上記ステップSF3に処理を戻す。   If the event EV in the song data [AD] is a “note-off event”, the determination result is “NO”, and the flow proceeds to step SF9. In steps SF9 to SF10, the pointer a and the register AD are incremented. In step SF11, it is determined whether or not the value of the incremented register AD exceeds the final address. Note that the final address here refers to the address from which the data END representing the end of the song is read. If the data END representing the end of the song is not read, the determination result is “NO”, and the process returns to step SF3.

一方、曲データ[AD]中のイベントEVが「ノートオンイベント」であると、上記ステップSF5の判断結果は「YES」となり、ステップSF6に進む。ステップSF6では、「ノートオンイベント」を有する曲データ[AD]のアドレスADを、ポインタaにて指定されるアドレスレジスタAD[a]にストアする。次に、ステップSF7では、レジスタTの値、すなわち「ノートオンイベント」を有する曲データ[AD]の経過時間Tを、ポインタaにより指定されるレジスタTIME[a]にストアする。次いで、ステップSF8では、「ノートオンイベント」を有する曲データ[AD]のノートNOTEを、ポインタaにより指定されるレジスタNOTE[a]にストアする。   On the other hand, if the event EV in the song data [AD] is a “note on event”, the determination result in step SF5 is “YES”, and the process proceeds to step SF6. In step SF6, the address AD of the music piece data [AD] having the “note on event” is stored in the address register AD [a] designated by the pointer a. Next, in step SF7, the value of the register T, that is, the elapsed time T of the music piece data [AD] having the “note on event” is stored in the register TIME [a] designated by the pointer a. Next, in step SF8, the note NOTE of the song data [AD] having the “note on event” is stored in the register NOTE [a] designated by the pointer a.

こうして、「ノートオンイベント」を有する曲データ[AD]のアドレスAD(読み出しアドレス)、経過時間TおよびノートNOTEを検出し終えると、上述したステップSF9〜SF11を実行する。以後、歩進されたレジスタADが最終アドレスを超えるまで上述したステップSF3〜SF11を繰り返し、「ノートオンイベント」を有する曲データ[AD]を検出する毎に、そのアドレスAD(読み出しアドレス)、経過時間TおよびノートNOTEを、それぞれアドレスレジスタAD[a]、レジスタTIME[a]およびレジスタNOTE[a]にストアする。そして、歩進されたレジスタADの値が最終アドレスを超え、曲データ[AD]の読み出しが完了すると、ステップSF11の判断結果が「YES」になり、本処理を完了させる。   Thus, when the detection of the address AD (read address), the elapsed time T and the note NOTE of the song data [AD] having the “note on event” is completed, the above-described steps SF9 to SF11 are executed. Thereafter, the above steps SF3 to SF11 are repeated until the incremented register AD exceeds the final address, and each time the song data [AD] having the “note on event” is detected, the address AD (read address), progress The time T and the note NOTE are stored in the address register AD [a], the register TIME [a], and the register NOTE [a], respectively. When the value of the incremented register AD exceeds the final address and the reading of the music piece data [AD] is completed, the determination result in step SF11 is “YES”, and this process is completed.

このように、ノートオン検出処理では、曲選択処理(図7参照)により編集対象として選曲された曲番号nの曲データ[AD]から「ノートオンイベント」を有する曲データ[AD]を検索し、該当する曲データ[AD]のアドレスAD(読み出しアドレス)、経過時間TおよびノートNOTEを、それぞれアドレスレジスタAD[a]、レジスタTIME[a]およびレジスタNOTE[a]に保持する。   As described above, in the note-on detection process, the song data [AD] having “note-on event” is searched from the song data [AD] of the song number n selected as the editing object by the song selection process (see FIG. 7). The address AD (read address), elapsed time T and note NOTE of the corresponding music piece data [AD] are held in the address register AD [a], register TIME [a] and register NOTE [a], respectively.

<重ね合わせ検出処理の動作>
図10のステップSE2を介して重ね合わせ検出処理が実行されると、CPU11は、図12に図示するステップSG1に進み、ポインタa、ポインタbおよびポインタcをそれぞれゼロリセットする。次いで、ステップSG2では、上述のノートオン検出処理にて検出されたアドレスレジスタAD[a]の内容を、ポインタbおよびポインタcで指定される2次元アドレスレジスタAD[b][c]に格納し直す。同様に、ステップSG3では、レジスタNOTE[a]の内容を、ポインタbおよびポインタcで指定される2次元レジスタNOTE[b][c]に格納し直す。
<Operation of overlay detection processing>
When the overlay detection process is executed via step SE2 in FIG. 10, the CPU 11 proceeds to step SG1 illustrated in FIG. 12, and resets the pointer a, the pointer b, and the pointer c to zero. Next, in step SG2, the contents of the address register AD [a] detected in the above-described note-on detection process are stored in the two-dimensional address register AD [b] [c] specified by the pointer b and the pointer c. cure. Similarly, in step SG3, the contents of the register NOTE [a] are stored again in the two-dimensional register NOTE [b] [c] designated by the pointers b and c.

次に、ステップSG4では、ポインタdに初期値「1」をセットし、続くステップSG5では、ポインタaで指定されるレジスタTIME[a]に格納される経過時間Tと、ポインタaとポインタdとの加算値a+dで指定されるレジスタTIME[a+d]に格納される経過時間Tとが略一致するか否か、つまり隣接するノートオンイベント同士の経過時間Tが略一致する和音であるかどうかを判断する。以下、和音の場合と非和音の場合とに分けて動作説明を進める。   Next, in step SG4, an initial value “1” is set in the pointer d, and in the subsequent step SG5, the elapsed time T stored in the register TIME [a] designated by the pointer a, the pointer a and the pointer d, Whether or not the elapsed time T stored in the register TIME [a + d] specified by the added value a + d is substantially the same, that is, whether or not the elapsed time T between adjacent note-on events is a substantially matching chord. to decide. In the following, the description of the operation is divided into a chord case and a non-chord case.

a.非和音の場合
非和音であると、上記ステップSG5の判断結果が「NO」となり、ステップSG6に進む。ステップSG6〜SG7では、ポインタcをゼロリセットすると共に、ポインタbを歩進させる。次いで、ステップSG8では、ポインタbおよびポインタcで指定される2次元アドレスレジスタAD[b][c]に、ポインタaとポインタdとの加算値a+dで指定されるアドレスレジスタAD[a+d]の値をストアし、続くステップSG9では、ポインタbとポインタcとで指定される2次元レジスタNOTE[b][c]に、ポインタaとポインタdとの加算値a+dで指定されるレジスタNOTE[a+d]の値をストアする。
a. In the case of a non-chord, if it is a non-chord, the determination result in step SG5 is “NO”, and the process proceeds to step SG6. In steps SG6 to SG7, the pointer c is reset to zero and the pointer b is incremented. Next, in step SG8, the value of the address register AD [a + d] specified by the addition value a + d of the pointer a and the pointer d is added to the two-dimensional address register AD [b] [c] specified by the pointer b and the pointer c. In the subsequent step SG9, the two-dimensional register NOTE [b] [c] specified by the pointer b and the pointer c is added to the register NOTE [a + d] specified by the addition value a + d of the pointer a and the pointer d. Store the value of.

そして、ステップSG10に進み、ポインタaを歩進させる。続いて、ステップSG11では、歩進されたポインタaがノートオンイベント総数を超えた否かを判断する。歩進されたポインタaがノートオンイベント総数を超えなければ、判断結果は「NO」になり、上述のステップSG4に処理を戻す。これに対し、歩進されたポインタaがノートオンイベント総数を超えると、上記ステップSG11の判断結果が「YES」となり、本処理を終える。   Then, the process proceeds to step SG10 and the pointer a is incremented. Subsequently, in step SG11, it is determined whether or not the incremented pointer a has exceeded the total number of note-on events. If the incremented pointer a does not exceed the total number of note-on events, the determination result is “NO”, and the process returns to step SG4 described above. On the other hand, if the incremented pointer a exceeds the total number of note-on events, the determination result in step SG11 is “YES”, and the present process ends.

b.和音の場合
一方、隣接するノートオンイベント同士の経過時間Tが略一致する和音が検索されると、上記ステップSG5の判断結果が「YES」になり、ステップSG12に進み、ポインタcを歩進させる。次いで、ステップSG13では、ポインタbとポインタcとで指定される2次元アドレスレジスタAD[b][c]に、ポインタaとポインタdとの加算値a+dで指定されるアドレスレジスタAD[a+d]の値をストアする。
b. In the case of chords On the other hand, when a chord whose elapsed time T between adjacent note-on events substantially matches is found, the determination result in step SG5 is “YES”, and the process proceeds to step SG12 and the pointer c is incremented. . Next, in step SG13, the two-dimensional address register AD [b] [c] designated by the pointer b and the pointer c is added to the address register AD [a + d] designated by the addition value a + d of the pointer a and the pointer d. Store the value.

続いて、ステップSG14では、ポインタbとポインタcとで指定される2次元レジスタNOTE[b][c]に、ポインタaとポインタdとの加算値a+dで指定されるレジスタNOTE[a+d]の値をストアする。そして、ステップSG15では、ポインタdを歩進させ、続くステップSG16では、ポインタaと歩進されたポインタdとの加算値a+dがノートオンイベント総数を超えた否かを判断する。ノートオンイベント総数を超えなければ、判断結果は「NO」になり、上述のステップSG5に処理を戻すが、ノートオンイベント総数を超えると、判断結果が「YES」になり、本処理を終える。   Subsequently, in step SG14, the value of the register NOTE [a + d] specified by the addition value a + d of the pointer a and the pointer d is added to the two-dimensional register NOTE [b] [c] specified by the pointer b and the pointer c. Store. In step SG15, the pointer d is incremented, and in the subsequent step SG16, it is determined whether or not the added value a + d of the pointer a and the incremented pointer d exceeds the total number of note-on events. If the total number of note-on events is not exceeded, the determination result is “NO”, and the process returns to step SG5 described above. However, if the total number of note-on events is exceeded, the determination result is “YES”, and this process ends.

以上のように、重ね合わせ検出処理では、前述のノートオン検出処理(図11参照)にて検出されたレジスタTIME[a]の内容(経過時間T)に基づき、隣り合うノートオンイベント同士の経過時間Tが略一致する和音であるか否かを判断する。そして、非和音であれば、アドレスレジスタAD[a]の内容を2次元アドレスレジスタAD[b][0]に、レジスタNOTE[a]の内容を2次元レジスタNOTE[b][0]にストアし直し、一方、和音であると、アドレスレジスタAD[a]の内容を2次元アドレスレジスタAD[b][c]に、レジスタNOTE[a]の内容を2次元レジスタNOTE[b][c]にストアし直すようになっている。   As described above, in the overlay detection process, the progress of adjacent note-on events is based on the content (elapsed time T) of the register TIME [a] detected in the above-described note-on detection process (see FIG. 11). It is determined whether or not the chords are substantially coincident with time T. If it is a non-chord, the contents of the address register AD [a] are stored in the two-dimensional address register AD [b] [0], and the contents of the register NOTE [a] are stored in the two-dimensional register NOTE [b] [0]. On the other hand, if it is a chord, the contents of the address register AD [a] are stored in the two-dimensional address register AD [b] [c], and the contents of the register NOTE [a] are stored in the two-dimensional register NOTE [b] [c]. To store again.

したがって、例えばレジスタTIME[0]〜TIME[2]にそれぞれ格納される経過時間Tが非和音のものであると、
AD[0][0]←AD[0]、NOTE[0][0]←NOTE[0]
AD[1][0]←AD[1]、NOTE[1][0]←NOTE[1]
AD[2][0]←AD[2]、NOTE[2][0]←NOTE[2]のようにストアし直す。
Therefore, for example, when the elapsed times T stored in the registers TIME [0] to TIME [2] are non-chords,
AD [0] [0] ← AD [0], NOTE [0] [0] ← NOTE [0]
AD [1] [0] ← AD [1], NOTE [1] [0] ← NOTE [1]
Store again as AD [2] [0] ← AD [2], NOTE [2] [0] ← NOTE [2].

一方、例えばレジスタTIME[0]〜TIME[2]にそれぞれ格納される経過時間Tが和音のものであると、
AD[0][0]←AD[0]、NOTE[0][0]←NOTE[0]
AD[0][1]←AD[1]、NOTE[0][1]←NOTE[1]
AD[0][2]←AD[2]、NOTE[0][2]←NOTE[2]のようにストアし直す。
On the other hand, for example, if the elapsed times T stored in the registers TIME [0] to TIME [2] are chords,
AD [0] [0] ← AD [0], NOTE [0] [0] ← NOTE [0]
AD [0] [1] ← AD [1], NOTE [0] [1] ← NOTE [1]
Store again as AD [0] [2] ← AD [2], NOTE [0] [2] ← NOTE [2].

<極大・極小検出処理の動作>
次に、図13〜図14を参照して極大・極小検出処理の動作を説明する。前述した実行処理のステップSD2(図9参照)を介して本処理が実行されると、CPU11は、図13に図示するステップSH1に進み、ポインタa、ポインタbおよびポインタcをそれぞれゼロリセットする。続いて、ステップSH2〜SH7では、ポインタaを歩進させながら、そのポインタaが指定する2次元レジスタNOTE[a+1][0]と2次元レジスタNOTE[a][0]との差、つまり隣り合うノートオンイベント同士のノートNOTEの差分を算出し、算出した差分が「+(正)」の場合には「+差分値」を、算出した差分が「0」の場合には「0」を、算出した差分が「−(負)」の場合には「−差分値」をそれぞれレジスタDIF[a]にストアする処理を、ポインタaに「1」を加算した値a+1がノート総数(曲データの数)を超えるまで繰り返す。なお、ここで言う「+差分値」とは音高変化の傾きが増加していることを表し、「−差分値」とは音高変化の傾きが減少していることを表す。
<Operation of maximum / minimum detection processing>
Next, the operation of maximum / minimum detection processing will be described with reference to FIGS. When this process is executed through step SD2 (see FIG. 9) of the execution process described above, the CPU 11 proceeds to step SH1 shown in FIG. 13 and resets the pointer a, the pointer b, and the pointer c to zero. Subsequently, in steps SH2 to SH7, while advancing the pointer a, the difference between the two-dimensional register NOTE [a + 1] [0] specified by the pointer a and the two-dimensional register NOTE [a] [0], that is, adjacent to it. The difference between the note NOTEs of the matching note-on events is calculated. If the calculated difference is “+ (positive)”, “+ difference value” is calculated. If the calculated difference is “0”, “0” is calculated. When the calculated difference is “− (negative)”, the process of storing “−difference value” in the register DIF [a] is performed. The value a + 1 obtained by adding “1” to the pointer a is the total number of notes (music data). Repeat until the number exceeds. Here, “+ difference value” indicates that the slope of the pitch change is increasing, and “− difference value” indicates that the slope of the pitch change is decreasing.

こうして、曲データ中のノートオンイベント毎の音高変化の傾きを表す差分値をレジスタDIF[a]にストアし終えると、上記ステップSH2の判断結果が「NO」になり、ステップSH8に進み、ポインタaをゼロリセットする。そして、ステップSH9〜SH12では、ポインタaに「1」を加算した値a+1がデータ総数を超えるまで、ポインタaを歩進させながら、それに応じてレジスタDIF[a]の差分値を読み出す。読み出されたレジスタDIF[a]の差分値又はレジスタDIF[a+1]の差分値のいずれかが「0」であると、ステップSH10、SH11のいずれかの判断結果が「YES」になり、ステップSH12に進み、ポインタaを歩進させて上述のステップSH9に処理を戻す。   Thus, when the difference value indicating the slope of the pitch change for each note-on event in the song data has been stored in the register DIF [a], the determination result in step SH2 is “NO”, and the flow proceeds to step SH8. The pointer a is reset to zero. In steps SH9 to SH12, the pointer a is incremented until the value a + 1 obtained by adding “1” to the pointer a exceeds the total number of data, and the difference value of the register DIF [a] is read accordingly. If either the read difference value of the register DIF [a] or the difference value of the register DIF [a + 1] is “0”, the determination result of either step SH10 or SH11 is “YES”. Proceeding to SH12, the pointer a is incremented, and the process returns to step SH9 described above.

これに対し、読み出されたレジスタDIF[a]およびレジスタDIF[a+1]の各差分値が「0」以外であると、ステップSH10、SH11の各判断結果が「NO」となり、図14に図示するステップSH13に処理を進める。ステップSH13では、連続して読み出されたレジスタDIF[a]およびレジスタDIF[a+1]の差分極性が同一でないかどうかを判断する。双方の差分極性が同一であると、判断結果が「NO」になり、ステップSH18に進み、ポインタaを歩進させて上述のステップSH9(図13参照)に処理を戻す。   On the other hand, if the difference values of the read register DIF [a] and register DIF [a + 1] are other than “0”, the determination results of steps SH10 and SH11 are “NO”, which is shown in FIG. The process proceeds to step SH13. In step SH13, it is determined whether or not the differential polarities of the register DIF [a] and the register DIF [a + 1] read continuously are not the same. If the difference polarities are the same, the determination result is “NO”, the process proceeds to step SH18, the pointer a is incremented, and the process returns to step SH9 (see FIG. 13).

一方、双方の差分極性が同一でない場合、すなわちレジスタDIF[a]の差分極性が「+(増加)」、レジスタDIF[a+1]の差分極性が「−(減少)」となる極大変化の場合あるいはレジスタDIF[a]の差分極性が「−(減少)」、レジスタDIF[a+1]の差分極性が「+(増加)」となる極小場合には、上記ステップSH13の判断結果が「NO」になり、ステップSH14に進む。ステップSH14では、レジスタDIF[a]の差分極性が「−(減少)」であるか否かを判断する。   On the other hand, when the differential polarities of both are not the same, that is, when the differential polarity of the register DIF [a] is “+ (increase)” and the differential polarity of the register DIF [a + 1] is “− (decrease)” or When the difference polarity of the register DIF [a] is “− (decrease)” and the difference polarity of the register DIF [a + 1] is “+ (increase)”, the determination result in step SH13 is “NO”. The process proceeds to step SH14. In step SH14, it is determined whether or not the differential polarity of the register DIF [a] is “− (decrease)”.

レジスタDIF[a]の差分極性が「−(減少)」、レジスタDIF[a+1]の差分極性が「+(増加)」となる極小変化では、上記ステップSH14の判断結果が「YES」になり、ステップSH15に進む。ステップSH15では、ポインタaで指定される2次元アドレスレジスタAD[a][0]の値を、極小音を指定する極小値アドレスとしてレジスタMINAD[b][0]にストアする。そして、ステップSH16では、レジスタDIF[a]を極小差分値としてレジスタMINDIF[b]にストアする。この後、ステップSH17に進み、ポインタbを歩進させ、ステップSH18では、ポインタaを歩進させて前述のステップSH9(図13参照)に処理を戻す。   In a minimal change where the differential polarity of the register DIF [a] is “− (decrease)” and the differential polarity of the register DIF [a + 1] is “+ (increase)”, the determination result in step SH14 is “YES”. Proceed to step SH15. In step SH15, the value of the two-dimensional address register AD [a] [0] designated by the pointer a is stored in the register MINAD [b] [0] as a minimal value address designating a minimal sound. In step SH16, the register DIF [a] is stored in the register MINDIF [b] as a minimum difference value. Thereafter, the process proceeds to step SH17, and the pointer b is incremented. In step SH18, the pointer a is incremented, and the process returns to the above-described step SH9 (see FIG. 13).

これに対し、レジスタDIF[a]の差分極性が「+(増加)」、レジスタDIF[a+1]の差分極性が「−(減少)」となる極大変化では、上記ステップSH14の判断結果が「NO」になり、ステップSH19に進む。ステップSH19では、ポインタaで指定される2次元アドレスレジスタAD[a][0]の値を、極大音を指定する極大値アドレスとしてレジスタMAXAD[c][0]にストアする。次いで、ステップSH20では、レジスタDIF[a]を極大差分値としてレジスタMAXDIF[c]にストアする。この後、ステップSH21に進み、ポインタcを歩進させ、続くステップSH18では、ポインタaを歩進させて前述のステップSH9(図13参照)に処理を戻す。   On the other hand, in the maximum change where the differential polarity of the register DIF [a] is “+ (increase)” and the differential polarity of the register DIF [a + 1] is “− (decrease)”, the determination result in step SH14 is “NO”. The process proceeds to step SH19. In step SH19, the value of the two-dimensional address register AD [a] [0] specified by the pointer a is stored in the register MAXAD [c] [0] as a maximum value address specifying the maximum sound. Next, in step SH20, the register DIF [a] is stored in the register MAXDIF [c] as a maximum difference value. Thereafter, the process proceeds to step SH21, and the pointer c is incremented. In the subsequent step SH18, the pointer a is incremented, and the process returns to the above-described step SH9 (see FIG. 13).

このように、極大・極小検出処理では、曲データ中で隣接するノートオンイベント同士のノートNOTEから音高変化の傾きを表す差分値を算出し、その差分値により極小となる位置に対応するノートオンイベントが記憶された極小値アドレスおよびそれに対応する差分値である極小差分値と、極大となる位置に対応するノートオンイベントが記憶された極大値アドレスおよびそれに対応する差分値である極大差分値とを検出するようになっている。   In this way, in the maximum / minimum detection processing, a difference value representing the slope of the pitch change is calculated from the note NOTE between adjacent note-on events in the song data, and the note corresponding to the position where the difference is the minimum is calculated. The local minimum address where the on-event is stored and the corresponding local differential value, the local maximum address where the note-on event corresponding to the position where the local maximum is stored, and the local maximum difference value corresponding thereto And are to be detected.

<音高検出処理の動作>
次に、図15〜図16を参照して音高検出処理の動作を説明する。前述した実行処理のステップSD3(図9参照)を介して本処理が実行されると、CPU11は、図15に図示するステップSJ1〜SJ11において極大側ハイライト音を検出した後、図16に図示するステップSJ12〜SJ22において極小側ハイライト音を検出する。
<Operation of pitch detection processing>
Next, the operation of the pitch detection process will be described with reference to FIGS. When this process is executed through step SD3 (see FIG. 9) of the execution process described above, the CPU 11 detects the maximum side highlight sound in steps SJ1 to SJ11 shown in FIG. In steps SJ12 to SJ22, the minimal highlight sound is detected.

本実施形態では、極大値アドレス(MAXAD[a])で指定される極大音に至る前5音が連続して増加し、かつその極大音の1つ前の音(MAXAD[a−1])を「極大側ハイライト音」と定義し、極小値アドレス(MINAD[a])で指定される極小音に至る前5音が連続して減少し、かつその極小音の1つ前の音(MINAD[a−1])を「極小側ハイライト音」と定義している。以下では、ステップSJ1〜SJ11からなる極大側ハイライト音検出動作と、ステップSJ12〜SJ22からなる極小側ハイライト音検出動作とに分けて説明する。   In the present embodiment, the five sounds before the maximum sound designated by the maximum address (MAXAD [a]) continuously increase and the sound one previous to the maximum sound (MAXAD [a-1]). Is defined as the “maximum side highlight sound”, and the five sounds before the minimum sound designated by the minimum address (MINAD [a]) are continuously reduced and the sound before the minimum sound ( MINAD [a-1]) is defined as “minimum side highlight sound”. The following description will be divided into a maximum highlight sound detection operation consisting of steps SJ1 to SJ11 and a minimum highlight sound detection operation consisting of steps SJ12 to SJ22.

a.極大側ハイライト音検出動作(ステップSJ1〜SJ11の動作)
ステップSJ1では、ポインタaおよびポインタbをそれぞれゼロリセットする。次いで、ステップSJ2では、歩進されたポインタaがデータ総数を超えたか否かを判断する。ポインタaがデータ総数を超えなければ、判断結果は「YES」になり、ステップSJ3に進む。一方、ポインタaがデータ総数を超えると、判断結果が「NO」になり、後述する極小側ハイライト音検出動作に移行する。
a. Maximum side highlight sound detection operation (operations of steps SJ1 to SJ11)
In step SJ1, pointers a and b are reset to zero. Next, in step SJ2, it is determined whether or not the incremented pointer a has exceeded the total number of data. If the pointer a does not exceed the total number of data, the determination result is “YES”, and the flow proceeds to step SJ3. On the other hand, when the pointer a exceeds the total number of data, the determination result is “NO”, and the operation shifts to the minimum side highlight sound detection operation described later.

ステップSJ3では、前述の極大・極小検出処理にて検出したレジスタMAXDIF[a]の値、すなわち極大差分値をポインタbにセットし、続くステップSJ4では、音数ポインタmに初期値「1」をセットする。そして、ステップSJ5では、ポインタbから音数ポインタmを減算した値b−mで指定されるレジスタDIF[b−m]に格納される差分値の極性が「+(増加)」であるか否かを判断する。レジスタDIF[b−m]に格納される差分値の極性が「−(減少)」になると、判断結果は「NO」になり、ステップSJ11に進み、ポインタaを歩進させた後、上述のステップSJ2に処理を戻す。   In step SJ3, the value of the register MAXDIF [a] detected in the above-described maximum / minimum detection processing, that is, the maximum difference value is set in the pointer b, and in the subsequent step SJ4, the initial value “1” is set in the sound number pointer m. set. In step SJ5, the polarity of the difference value stored in the register DIF [b−m] specified by the value b−m obtained by subtracting the sound number pointer m from the pointer b is “+ (increase)”. Determine whether. When the polarity of the difference value stored in the register DIF [b−m] becomes “− (decrease)”, the determination result becomes “NO”, the process proceeds to step SJ11, and the pointer a is incremented. The process returns to step SJ2.

一方、レジスタDIF[b−m]に格納される差分値の極性が「+(増加)」であれば、上記ステップSJ5の判断結果は「YES」になり、ステップSJ6に進む。ステップSJ6では、音数ポインタmの値が「5」、すなわち極大音(MAXAD[a])から前5音の差分極性が連続して増加したかどうかを判断する。前5音の差分極性が連続して増加していなければ、判断結果は「NO」になり、ステップSJ7に進み、音数ポインタmを歩進させる。次いで、ステップSJ8では、ポインタbから音数ポインタmを減算した値b−mが「0」であるか否かを判断する。値b−mが「0」でなければ、判断結果は「NO」になり、上述のステップSJ5に処理を戻す。値b−mが「0」になると、判断結果が「YES」となり、ステップSJ11に進み、ポインタaを歩進させた後、上述のステップSJ2に処理を戻す。   On the other hand, if the polarity of the difference value stored in the register DIF [b−m] is “+ (increase)”, the determination result in Step SJ5 is “YES”, and the process proceeds to Step SJ6. In step SJ6, it is determined whether or not the value of the sound number pointer m is “5”, that is, whether or not the differential polarity of the previous five sounds from the maximum sound (MAXAD [a]) has increased continuously. If the difference polarities of the previous five sounds are not continuously increased, the determination result is “NO”, and the process proceeds to step SJ7 to increment the sound number pointer m. Next, in step SJ8, it is determined whether or not a value b−m obtained by subtracting the sound number pointer m from the pointer b is “0”. If the value b−m is not “0”, the determination result is “NO”, and the process returns to step SJ5 described above. When the value b−m becomes “0”, the determination result becomes “YES”, the process proceeds to step SJ11, the pointer a is incremented, and the process returns to step SJ2.

このように、ステップSJ5〜SJ8では、前5音の差分極性が連続して増加した極大音(MAXAD[a])を検索する。そして、該当する極大音(MAXAD[a])が検索されると、ステップSJ6の判断結果が「YES」になり、ステップSJ9に進み、レジスタMAXAD[a−1][0]に格納される極大音の1つ前の音を指定するアドレスを、極大側ハイライト音を指定するアドレスとしてレジスタVELAD[c]にストアする。以後、レジスタVELAD[c]の値を、ハイライトアドレスVELAD[c]と称す。次いで、ステップSJ10〜SJ11では、ポインタcおよびポインタaをそれぞれ歩進させた後、上述のステップSJ2に処理を戻す。   As described above, in steps SJ5 to SJ8, the maximum sound (MAXAD [a]) in which the differential polarity of the previous five sounds is continuously increased is searched. When the corresponding maximum sound (MAXAD [a]) is searched, the determination result in step SJ6 is “YES”, the process proceeds to step SJ9, and the maximum stored in the register MAXAD [a−1] [0]. The address that designates the previous sound is stored in the register VELAD [c] as the address that designates the maximum highlight sound. Hereinafter, the value of the register VELAD [c] is referred to as a highlight address VELAD [c]. Next, in steps SJ10 to SJ11, the pointer c and the pointer a are incremented, respectively, and then the process returns to step SJ2.

b.極小側ハイライト音検出動作(ステップSJ12〜SJ22の動作)
上述した極大側ハイライト音検出動作を処理し終えると、CPU11は図16に図示するステップSJ12に進み、ポインタaおよびポインタbをそれぞれゼロリセットする。次いで、ステップSJ13では、歩進されたポインタaがデータ総数を超えたか否かを判断し、ポインタaがデータ総数を超えなければ、判断結果は「YES」になり、ステップSJ3に進み、ポインタaがデータ総数を超えると、判断結果が「NO」になり、本処理を完了させる。
b. Minimal side highlight sound detection operation (operations of steps SJ12 to SJ22)
When the above-mentioned maximum side highlight sound detection operation has been processed, the CPU 11 proceeds to step SJ12 shown in FIG. 16, and resets the pointer a and the pointer b to zero. Next, in step SJ13, it is determined whether or not the incremented pointer a exceeds the total number of data. If the pointer a does not exceed the total number of data, the determination result is “YES”, and the flow proceeds to step SJ3. When the number exceeds the total number of data, the determination result is “NO”, and this processing is completed.

ステップSJ14では、前述の極大・極小検出処理にて検出した極小差分値(MINDIF[a])をポインタbにセットし、続くステップSJ15では、音数ポインタmに初期値「1」をセットする。そして、ステップSJ16〜SJ19では、前5音の差分極性が連続して減少した極小音(MINAD[a])を検索する。そして、該当する極小音(MINAD[a])が検索されると、ステップSJ17の判断結果が「YES」になり、ステップSJ20に進み、レジスタMINAD[a−1][0]に格納される極小音の1つ前の音を指定するアドレスを、極小側ハイライト音を指定するアドレスとしてレジスタVELAD[c]にストアする。次いで、ステップSJ21〜SJ22では、ポインタcおよびポインタaをそれぞれ歩進させた後、上述のステップSJ13に処理を戻す。   In step SJ14, the minimum difference value (MINDIF [a]) detected in the above-described maximum / minimum detection processing is set in the pointer b, and in the subsequent step SJ15, an initial value “1” is set in the sound number pointer m. In steps SJ16 to SJ19, a search is made for a minimal sound (MINAD [a]) in which the differential polarities of the previous five sounds are continuously reduced. When the corresponding minimum sound (MINAD [a]) is searched, the determination result in step SJ17 becomes “YES”, and the process proceeds to step SJ20, where the minimum value stored in the register MINAD [a−1] [0] is obtained. An address that designates the sound immediately before the sound is stored in the register VELAD [c] as an address that designates the minimal highlight sound. Next, in steps SJ21 to SJ22, the pointer c and the pointer a are incremented, respectively, and then the process returns to step SJ13 described above.

このように、音高検出処理では、極大・極小検出処理にて検出された極大値アドレスで指定される極大音の内、前5音が連続して増加した極大音の1つ前の音を「極大側ハイライト音」として指定するハイライトアドレスVELAD[c]と、極大・極小検出処理にて検出された極小値アドレスで指定される極小音の内、前5音が連続して減少した極小音の1つ前の音を「極小側ハイライト音」として指定するハイライトアドレスVELAD[c]とを発生する。   In this way, in the pitch detection process, the sound immediately before the maximum sound in which the previous five sounds continuously increased among the maximum sounds specified by the maximum value address detected in the maximum / minimum detection process. Of the minimum sounds specified by the highlight address VELAD [c] specified as the “maximum side highlight sound” and the minimum address detected by the maximum / minimum detection processing, the previous five sounds decreased continuously. A highlight address VELAD [c] for designating the sound immediately before the minimum sound as the “minimum side highlight sound” is generated.

<ベロシティ変換処理>
次に、図17を参照してベロシティ変換処理の動作を説明する。前述した実行処理のステップSD4(図9参照)を介して本処理が実行されると、CPU11は、図17に図示するステップSK1〜SK2においてポインタaおよびポインタbをそれぞれゼロリセットする。次いで、ステップSK3〜SK4では、ポインタbを歩進させて、ハイライトアドレスVELAD[a]に一致する2次元アドレスレジスタAD[b][0]を検索する。つまり、ハイライト音の読み出しアドレスを保持する2次元アドレスレジスタAD[b][0]を探し出す。そして、該当する2次元アドレスレジスタAD[b][0]が見つかると、ステップSK3の判断結果が「YES」になり、ステップSK5に進み、2次元アドレスレジスタAD[b][0]にて指定される曲データ中のベロシティVELを増加させ、ハイライト音を強調させる。
<Velocity conversion processing>
Next, the operation of the velocity conversion process will be described with reference to FIG. When this process is executed through step SD4 (see FIG. 9) of the execution process described above, the CPU 11 resets the pointer a and the pointer b to zero in steps SK1 to SK2 shown in FIG. Next, in steps SK3 to SK4, the pointer b is incremented to search for a two-dimensional address register AD [b] [0] that matches the highlight address VELAD [a]. That is, the two-dimensional address register AD [b] [0] holding the highlight sound read address is searched for. When the corresponding two-dimensional address register AD [b] [0] is found, the determination result in step SK3 is “YES”, and the process proceeds to step SK5, which is designated by the two-dimensional address register AD [b] [0]. The velocity VEL in the music data to be played is increased to emphasize the highlight sound.

そして、ステップSK6では、ポインタcに初期値「1」をセットする。続いて、ステップSK7では、2次元アドレスレジスタAD[b][c]が存在するか否か、すなわち2次元アドレスレジスタAD[b][0]で指定されるハイライト音が和音であるかどうかを判断する。ハイライト音が和音でなければ、判断結果は「NO」になり、ステップSK8に進み、ポインタaを歩進させる。次いで、ステップSK9では、歩進されたポインタaがデータ総数を超えたか否か、つまり全てのハイライト音について音量変更し終えたかどうかを判断する。音量変更し終えていなければ、判断結果は「NO」になり、上述のステップSK2に処理を戻す。   In step SK6, an initial value “1” is set to the pointer c. Subsequently, in step SK7, whether or not the two-dimensional address register AD [b] [c] exists, that is, whether or not the highlight sound specified by the two-dimensional address register AD [b] [0] is a chord. Judging. If the highlight sound is not a chord, the determination result is “NO”, the process proceeds to step SK8, and the pointer a is incremented. Next, in step SK9, it is determined whether or not the incremented pointer a has exceeded the total number of data, that is, whether or not the volume has been changed for all highlight sounds. If the volume has not been changed, the determination result is “NO”, and the process returns to step SK2.

一方、ハイライト音が和音であると、上記ステップSK7の判断結果は「YES」になり、ステップSK10に進む。ステップSK10では、ポインタbおよびポインタcで指定される2次元アドレスレジスタAD[b][c]の読み出しアドレスが指定する曲データ中のベロシティVELを減少させる。そして、ステップSK11に進み、ポインタcを歩進させた後、上記ステップSK7に処理を戻す。これにより、ハイライト音が和音である場合には、2次元アドレスレジスタAD[b][c]において、ポインタcを歩進させてハイライト音以外の他の和音構成音を検索し、該当する和音構成音が存在すると、その和音構成音のベロシティVELを減少させ、和音中のハイライト音を強調させる。   On the other hand, if the highlight sound is a chord, the determination result in step SK7 is “YES”, and the flow proceeds to step SK10. In step SK10, the velocity VEL in the music data designated by the read address of the two-dimensional address register AD [b] [c] designated by the pointers b and c is decreased. In step SK11, the pointer c is incremented, and the process returns to step SK7. Thereby, when the highlight sound is a chord, the chord constituent sound other than the highlight sound is searched by moving the pointer c in the two-dimensional address register AD [b] [c], and the corresponding sound corresponds. If a chord constituent sound is present, the velocity VEL of the chord constituent sound is decreased, and the highlight sound in the chord is emphasized.

こうして、ハイライト音以外の他の和音構成音の音量を低減し終えると、上記ステップSK7の判断結果が「NO」になり、前述のステップSK8〜SK9を実行する。そして、歩進されたポインタaがデータ総数を超え、全てのハイライト音について音量変更し終えると、ステップSK9の判断結果が「YES」になり、本処理を完了させる。   Thus, when the volume of chord constituent sounds other than the highlight sound has been reduced, the determination result in step SK7 is “NO”, and the above-described steps SK8 to SK9 are executed. When the incremented pointer a exceeds the total number of data and the volume change is completed for all highlight sounds, the determination result in step SK9 is “YES”, and this process is completed.

このように、ベロシティ変換処理では、ハイライト音の読み出しアドレス(ハイライトアドレスVELAD[a])で指定される曲データ中のベロシティVELを増加させてハイライト音を強調させる一方、ハイライト音が和音を構成していれば、ハイライト音以外の他の和音構成音のベロシティVELを減少させ、和音中のハイライト音を強調させる。   In this way, in the velocity conversion process, the velocity VEL in the music data specified by the highlight sound read address (highlight address VELAD [a]) is increased to emphasize the highlight sound, while the highlight sound is If a chord is formed, the velocity VEL of other chord constituent sounds other than the highlight sound is reduced, and the highlight sound in the chord is emphasized.

以上説明したように、第1実施形態では、曲を構成する各音を表す曲データ中から音高が極大変化する極大音と極小変化する極小音とを検出し、検出された極大音および極小音の内、複数音連続的に増加して極大変化した極大音の1つ前の音と、複数音連続的に減少して極小変化した極小音の1つ前の音とをそれぞれ曲の印象を特徴付けるハイライト音に指定し、指定されたハイライト音の強調させるように、当該ハイライト音に対応する曲データ中のベロシティVEL(音量)を増加させる。これにより、曲の印象を特徴付ける箇所が強調される為、演奏表現力を向上させることが可能になる。   As described above, in the first embodiment, a maximum sound whose maximum pitch changes and a minimum sound whose minimum change varies from music data representing each sound constituting the music, and the detected maximum sound and minimum sound are detected. Among the sounds, the impression of the song is the sound immediately before the maximum sound that has been changed maximally by multiple increases, and the sound that is immediately before the minimum sound that has been continuously decreased by multiple sounds. And the velocity VEL (volume) in the music data corresponding to the highlight sound is increased so that the specified highlight sound is emphasized. As a result, the part that characterizes the impression of the song is emphasized, so that it is possible to improve the performance expression.

C.第2実施形態
次に、図18〜図21を参照して第2実施形態について説明する。第2実施形態の構成は、第1実施形態と共通するので、その説明については省略する。第2実施形態が第1実施形態と相違する点は、ベロシティ変換処理(図17参照)を再生処理(メインルーチンのステップSA4)中に実行させることにある。
C. Second Embodiment Next, a second embodiment will be described with reference to FIGS. Since the configuration of the second embodiment is common to the first embodiment, the description thereof is omitted. The second embodiment is different from the first embodiment in that the velocity conversion process (see FIG. 17) is executed during the reproduction process (step SA4 of the main routine).

すなわち、第1実施形態では、図5に図示する編集処理のステップSB8を介して実行される実行処理により「和音検出処理」、「極大・極小検出処理」、「音高検出処理」および「ベロシティ変換処理」を行ってハイライト音の強調させるように曲データ編集する。これに対し、第2実施形態は、図5に図示する編集処理のステップSB8を介して実行される実行処理によって、図18に図示するように、ステップSL1を介して和音検出処理を、ステップSL2を介して極大・極小検出処理を、ステップSL3を介して音高検出処理をそれぞれ順次実行して曲データ中のハイライト音を求めておく。そして、メインルーチンのステップSA4(図3参照)を介して実行される再生処理にて曲データ再生する際に、編集処理にて求めておいたハイライト音に対応する曲データのベロシティVELを増加させてハイライト音の再生を強調させるベロシティ変換処理を実行する。以下、こうした第2実施形態による再生処理の動作について図19〜図21を参照して説明する。   That is, in the first embodiment, the “chord detection process”, the “maximum / minimum detection process”, the “pitch detection process”, and the “velocity detection process” are executed by the execution process executed through the step SB8 of the editing process illustrated in FIG. The song data is edited so that the highlight sound is emphasized by performing “conversion processing”. On the other hand, in the second embodiment, the chord detection process is performed via step SL1 as shown in FIG. 18 by the execution process executed via step SB8 of the editing process shown in FIG. The maximum / minimum detection processing is sequentially performed through the step S3, and the pitch detection processing is sequentially performed through the step SL3 to obtain the highlight sound in the music data. Then, when the music data is reproduced by the reproduction process executed through step SA4 (see FIG. 3) of the main routine, the velocity VEL of the music data corresponding to the highlight sound obtained by the editing process is increased. The velocity conversion process is executed to emphasize the reproduction of the highlight sound. The operation of the reproduction process according to the second embodiment will be described below with reference to FIGS.

<再生処理の動作>
メインルーチンのステップSA4(図3参照)を介して再生処理が実行されると、CPU11は図19に図示するステップSM1に進み、曲リスト画面LGを作成して表示部16に画面表示する。曲リスト画面LGとは、図8に図示する一例のように、RAM13のデータエリアに格納される複数の曲[0]〜曲[N]の曲番号や曲名などを一覧表示する画面である。次いで、ステップSM2では、この曲リスト画面LGに一覧表示される曲の内から再生する曲を選択し、選択した曲の曲番号nをポインタnにセットする曲選択処理を実行する。
<Operation of playback processing>
When the reproduction process is executed through step SA4 (see FIG. 3) of the main routine, the CPU 11 proceeds to step SM1 shown in FIG. 19 to create a song list screen LG and display it on the display unit 16. The song list screen LG is a screen that displays a list of song numbers, song names, and the like of a plurality of songs [0] to [N] stored in the data area of the RAM 13, as in the example illustrated in FIG. Next, in step SM2, a song selection process is performed in which a song to be reproduced is selected from the songs displayed in a list on the song list screen LG, and the song number n of the selected song is set to the pointer n.

曲選択処理を実行し終えると、ステップSM3に進み、開始画面を表示部16に画面表示する。開始画面とは、図示していないが、スタートアイコンおよび戻るアイコンを備える画面である。開始画面が画面表示されている状態で戻るアイコンを選択操作すると、ステップSM5の判断結果が「YES」になり、本処理を完了させてメインルーチンに処理を戻し、初期画面表示状態に復帰させる。   When the music selection process is finished, the process proceeds to step SM3, where a start screen is displayed on the display unit 16. The start screen is a screen including a start icon and a return icon (not shown). If the return icon is selected and operated while the start screen is displayed on the screen, the determination result in step SM5 is “YES”, this processing is completed, the processing is returned to the main routine, and the initial screen display state is restored.

一方、開始画面が画面表示されている状態でスタートアイコンを選択操作すると、ステップSM4の判断結果が「YES」になり、ステップSM6に進み、曲番号nの曲データの先頭アドレスをレジスタADにストアする。次いで、ステップSM7では、レジスタADに格納される読み出しアドレスが終了アドレスを超えたかどうかを判断する。終了アドレスを超えると、判断結果は「YES」になり、本処理を完了させるが、終了アドレスを超えていなければ、判断結果は「NO」になり、ステップSM8に進む。ステップSM8では、レジスタADに格納される読み出しアドレスで指定される曲データ[AD]の内からデルタタイムΔTを読み出し、続くステップSM9では、読み出したデルタタイムΔTをレジスタtにストアする。   On the other hand, if the start icon is selected and operated while the start screen is displayed, the determination result in step SM4 is “YES”, and the process proceeds to step SM6 to store the start address of the song data of song number n in the register AD. To do. Next, in step SM7, it is determined whether or not the read address stored in the register AD exceeds the end address. If the end address is exceeded, the determination result is “YES”, and this process is completed. If the end address is not exceeded, the determination result is “NO”, and the process proceeds to step SM8. In step SM8, the delta time ΔT is read from the music piece data [AD] specified by the read address stored in the register AD, and in the subsequent step SM9, the read delta time ΔT is stored in the register t.

次に、ステップSM10では、一定時間経過するまで待機する。なお、この一定時間とは、図示されていないタイマ割込み処理にて生成されるタイマクロック1周期分(最小分解能時間)の時間を指す。そして、一定時間が経過すると、ステップSM10の判断結果が「YES」になり、ステップSM11に進み、レジスタtの値をデクリメントする。次いで、ステップSM12では、デクリメントされたレジスタtの値が「0」以下であるか否か、つまり再生タイミングに達したかどうかを判断する。再生タイミングに達していなければ、判断結果は「NO」になり、上記ステップSM10に処理を戻す。以後、再生タイミングに達するまでステップSM10〜SM12を繰り返す。   Next, in step SM10, the process waits until a predetermined time elapses. The fixed time refers to a time corresponding to one cycle of the timer clock (minimum resolution time) generated by a timer interrupt process (not shown). Then, when a certain time has elapsed, the determination result in step SM10 becomes “YES”, the process proceeds to step SM11, and the value of the register t is decremented. Next, in step SM12, it is determined whether or not the value of the decremented register t is “0” or less, that is, whether or not the reproduction timing has been reached. If the reproduction timing has not been reached, the determination result is “NO”, and the process returns to step SM10. Thereafter, steps SM10 to SM12 are repeated until the reproduction timing is reached.

そして、再生タイミングに達すると、ステップSM12の判断結果が「YES」になり、図20に図示するステップSM13に進み、レジスタADに格納される読み出しアドレスで指定される曲データ[AD]の内からイベントEV、ノートNOTEおよびベロシティVELを読み出す。続いて、ステップSM14では、読み出したイベントEVがノートオンイベントであるか否かを判断する。イベントEVがノートオンイベント以外であると、判断結果は「NO」になり、ステップSM15に進み、例えばイベントEVがノートオフイベントであれば、ノートNOTEに対応した楽音の消音を指示するノートオフ処理等、イベントEVに対応した処理を実行して後述のステップSM22に進む。   When the reproduction timing is reached, the determination result in step SM12 is “YES”, the process proceeds to step SM13 shown in FIG. 20, and the music data [AD] specified by the read address stored in the register AD is selected. Read event EV, note NOTE, and velocity VEL. Subsequently, in step SM14, it is determined whether or not the read event EV is a note-on event. If the event EV is other than a note-on event, the determination result is “NO”, and the process proceeds to step SM15. For example, if the event EV is a note-off event, note-off processing for instructing to mute the musical sound corresponding to the note NOTE The process corresponding to the event EV is executed and the process proceeds to Step SM22 described later.

一方、読み出したイベントEVがノートオンイベントであると、上記ステップSM14の判断結果が「YES」になり、ステップSM16に進み、ポインタaをゼロリセットする。次いで、ステップSM17〜SM19では、データ総数を超えるまでポインタaを歩進させながら、レジスタADに格納される現在の読み出しアドレスに一致するハイライトアドレスVELAD[a]を検索する。   On the other hand, if the read event EV is a note-on event, the determination result in step SM14 is “YES”, the process proceeds to step SM16, and the pointer a is reset to zero. Next, in steps SM17 to SM19, the highlight address VELAD [a] that matches the current read address stored in the register AD is searched while incrementing the pointer a until the total number of data is exceeded.

つまり、現在読み出している曲データ[AD]がハイライト音であるかどうかを判断する。現在読み出している曲データ[AD]がハイライト音であると、ステップSM17の判断結果が「YES」になり、ステップSM20に進み、ハイライト音を強調させるべく、現在読み出されているベロシティVELを増加させる。続いて、ステップSM21では、現在読み出されているノートNOTEで指定される音高の楽音を、増加されたベロシティVELで発音するよう音源14に指示する。この後、ステップSM22に進み、レジスタADに格納される読み出しアドレスを歩進させてから図19に図示するステップSM7に処理を戻す。   That is, it is determined whether or not the currently read music data [AD] is a highlight sound. If the currently read song data [AD] is a highlight sound, the determination result in step SM17 is “YES”, and the process proceeds to step SM20 to emphasize the highlight sound. Increase. Subsequently, in step SM21, the sound source 14 is instructed to sound a musical tone having a pitch specified by the currently read note NOTE with the increased velocity VEL. Thereafter, the process proceeds to step SM22, the read address stored in the register AD is incremented, and the process returns to step SM7 shown in FIG.

これに対し、現在読み出している曲データ[AD]がハイライト音でない場合には、上述したステップSM19の判断結果が「YES」になり、図21に図示するステップSM23に進む。ステップSM23〜SM24では、ポインタaおよびポインタbをそれぞれゼロリセットする。続いて、ステップSM25〜SM26では、ポインタbを歩進させて、ハイライトアドレスVELAD[a]に一致する2次元アドレスレジスタAD[b][0]を検索する。つまり、ハイライト音の読み出しアドレスを保持する2次元アドレスレジスタAD[b][0]を探し出す。そして、該当する2次元アドレスレジスタAD[b][0]が見つかると、ステップSM25の判断結果が「YES」になり、ステップSM27に進み、ポインタcに初期値「1」をセットする。   On the other hand, if the currently read song data [AD] is not a highlight sound, the determination result in step SM19 is “YES”, and the process proceeds to step SM23 shown in FIG. In steps SM23 to SM24, the pointer a and the pointer b are each reset to zero. Subsequently, in steps SM25 to SM26, the pointer b is incremented to search for a two-dimensional address register AD [b] [0] that matches the highlight address VELAD [a]. That is, the two-dimensional address register AD [b] [0] holding the highlight sound read address is searched for. When the corresponding two-dimensional address register AD [b] [0] is found, the determination result in step SM25 is “YES”, the process proceeds to step SM27, and the initial value “1” is set to the pointer c.

次に、ステップSM28では、2次元アドレスレジスタAD[b][c]が存在するか否か、すなわち2次元アドレスレジスタAD[b][0]で指定されるハイライト音が和音であるかどうかを判断する。ハイライト音が和音でなければ、判断結果は「NO」になり、ステップSM29に進み、ポインタaを歩進させる。次いで、ステップSM30では、歩進されたポインタaがデータ総数を超えたか否か、すなわち全てのハイライト音について和音であるか否かをチェックし終えたかどうかを判断する。   Next, in step SM28, whether or not the two-dimensional address register AD [b] [c] exists, that is, whether or not the highlight sound specified by the two-dimensional address register AD [b] [0] is a chord. Judging. If the highlight sound is not a chord, the determination result is “NO”, the process proceeds to step SM29, and the pointer a is incremented. Next, in step SM30, it is determined whether or not the incremented pointer a has exceeded the total number of data, that is, whether or not all highlight sounds are chords.

ここで、全てのハイライト音について和音であるか否かをチェックし終えたとする。そうすると、ステップSM30の判断結果が「YES」となり、前述したステップSM21(図20参照)に処理を戻す。したがって、現在読み出している曲データ[AD]がハイライト音に該当せず、しかも全てのハイライト音について和音であるか否かをチェックし終え、これにより現在読み出している曲データ[AD]が、ハイライト音を有する和音の構成音に含まれていないと判定された場合には、曲データ[AD]中のノートNOTEおよびベロシティVELに基づき音源14に発音指示する。   Here, it is assumed that all the highlight sounds are checked for chords. If it does so, the judgment result of step SM30 will be "YES", and will return a process to step SM21 (refer FIG. 20) mentioned above. Therefore, the currently read song data [AD] does not correspond to the highlight sound, and it is checked whether or not all the highlight sounds are chords. If it is determined that it is not included in the constituent sound of the chord having the highlight sound, the sound source 14 is instructed to generate sound based on the note NOTE and the velocity VEL in the song data [AD].

さて一方、全てのハイライト音について和音であるか否かをチェックし終えていない場合には、上記ステップSM30の判断結果が「NO」になり、上述のステップSM24以降を実行する。そして、ハイライト音が和音であれば、上述したステップSM28の判断結果が「YES」になり、ステップSM31に進み、ポインタbおよびポインタcで指定される2次元アドレスレジスタAD[b][c]が、レジスタADに格納される現在の読み出しアドレスに一致するか否かを判断する。一致しなければ、判断結果は「NO」になり、ステップSM32に進み、ポインタcを歩進させた後、ステップSM28に処理を戻す。   On the other hand, if it has not been checked whether or not all the highlight sounds are chords, the determination result in step SM30 is “NO”, and the above-described steps SM24 and subsequent steps are executed. If the highlight sound is a chord, the determination result in step SM28 described above is “YES”, the process proceeds to step SM31, and the two-dimensional address register AD [b] [c] designated by the pointer b and the pointer c. Determines whether it matches the current read address stored in the register AD. If they do not match, the determination result is “NO”, the process proceeds to step SM32, the pointer c is incremented, and the process returns to step SM28.

つまり、ステップSM28、SM31およびSM32では、現在読み出している曲データ[AD]が、ハイライト音を有する和音の構成音に含まれているかどうかを判定する。そして、現在読み出している曲データ[AD]が、ハイライト音を有する和音の構成音に含まれていると、ステップSM31の判断結果が「YES」になり、ステップSM33に進む。ステップSM33では、現在読み出している曲データ[AD]中のベロシティVELを減少させた後、前述のステップSM21(図20参照)に処理を戻す。   That is, in steps SM28, SM31, and SM32, it is determined whether or not the currently read song data [AD] is included in a chord component having a highlight sound. If the currently read song data [AD] is included in a chord component having a highlight sound, the determination result in step SM31 is “YES”, and the flow advances to step SM33. In step SM33, the velocity VEL in the currently read music data [AD] is decreased, and then the process returns to step SM21 (see FIG. 20).

このように、第2実施形態では、編集処理を実行して、曲を構成する各音を表す曲データ中から音高が極大変化する極大音と極小変化する極小音とを検出し、検出された極大音および極小音の内、複数音連続的に増加して極大変化した極大音の1つ前の音と、複数音連続的に減少して極小変化した極小音の1つ前の音とをそれぞれ曲の印象を特徴付けるハイライト音を求めておき、再生処理により曲データを再生する際に、再生する曲データがハイライト音であれば、当該ハイライト音に対応する曲データ中のベロシティVEL(音量)を増加させて曲の印象を特徴付ける箇所を強調するので、演奏表現力を向上させることができる。また、第2実施形態においても、再生する曲データがハイライト音であって、しかも当該ハイライト音が和音を構成している場合には、ハイライト音以外の他の和音構成音のベロシティVELを減少させ、和音中のハイライト音を強調させて曲の印象を特徴付ける箇所を強調することができる。   As described above, in the second embodiment, the editing process is executed to detect and detect the maximum sound whose pitch changes maximum and the minimum sound whose minimum change from the music data representing each sound constituting the music. Among the maximum and minimum sounds, the sound immediately before the maximum sound that has been changed maximally by multiple notes and the sound immediately before the minimum sound that has been changed continuously by multiple sounds If the song data to be played is a highlight sound when playing the song data with the playback process, the velocity in the song data corresponding to the highlight sound is determined. Since the VEL (volume) is increased to emphasize the part that characterizes the impression of the song, the performance expression can be improved. Also in the second embodiment, when the music data to be reproduced is a highlight sound and the highlight sound constitutes a chord, the velocity VEL of other chord constituent sounds other than the highlight sound is also included. Can be emphasized, and highlights in chords can be emphasized to highlight points that characterize the impression of the song.

なお、上述した第1および第2実施形態では、複数音連続的に増加して極大変化した極大音の1つ前の音と、複数音連続的に減少して極小変化した極小音の1つ前の音とをそれぞれハイライト音と定義したが、一定期間連続して増加してなる極大音の1つの前の音あるいは一定期間連続して減少してなる極小音の1つの前の音をハイライト音と定義することも可能である。また、本発明では、曲データの音高変化からハイライト音を決定するようにしたが、これに限らず曲の調性に応じてハイライト音を決定することも可能である。   In the first and second embodiments described above, the sound immediately before the maximum sound that has been continuously increased by a plurality of sounds and one minimum sound that has been continuously decreased by a plurality of sounds continuously decreased. Each previous sound is defined as a highlight sound, but one sound before a maximum sound that increases continuously for a certain period or one sound before a minimum sound that decreases continuously for a certain period of time It can also be defined as a highlight sound. In the present invention, the highlight sound is determined from the pitch change of the music data. However, the present invention is not limited to this, and the highlight sound can be determined according to the tonality of the music.

さらに、上述した第1および第2実施形態では、ハイライト音の音量を増加させて曲の印象を特徴付ける箇所を強調させる態様としたが、これに替えて、例えば周知のエクスクルーシブメッセージを備える曲データを用い、ハイライト音に対応する曲データのエクスクルーシブメッセージとして高域強調させるフィルタ特性データを設定すれば、音源14側がそのフィルタ特性データに従ってハイライト音の周波数特性を高域強調させるように楽音形成すれば、音量増加させずとも曲の印象を特徴付ける箇所を強調させることが可能になり、このようにしても演奏表現力の向上を図ることができる。   Furthermore, in the first and second embodiments described above, the highlight sound volume is increased to emphasize the portion characterizing the impression of the song, but instead of this, song data including a known exclusive message, for example. If the filter characteristic data for high frequency emphasis is set as the exclusive message of the music data corresponding to the highlight sound, the tone generator 14 side generates the musical tone so that the frequency characteristic of the highlight sound is emphasized in the high frequency according to the filter characteristic data. By doing so, it is possible to emphasize the part that characterizes the impression of the song without increasing the volume, and in this way, it is possible to improve the performance expression.

本発明による第1実施形態の構成を示すブロック図である。It is a block diagram which shows the structure of 1st Embodiment by this invention. RAM13のデータエリアに格納される曲データの構成を示す図である。It is a figure which shows the structure of the music data stored in the data area of RAM13. メインルーチンの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a main routine. 初期画面SGの一例を示す図である。It is a figure which shows an example of the initial screen SG. 編集処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of an edit process. 編集初期画面HSG、実行画面JGおよび終了画面EGの各一例を示す図である。It is a figure which shows each example of the edit initial screen HSG, the execution screen JG, and the completion | finish screen EG. 曲選択処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a music selection process. 曲リスト画面LGの一例を示す図である。It is a figure which shows an example of the music list screen LG. 実行処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of an execution process. 和音検出処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a chord detection process. ノートオン検出処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a note-on detection process. 重ね合わせ検出処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of an overlay detection process. 極大・極小検出処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a maximum / minimum detection process. 極大・極小検出処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a maximum / minimum detection process. 音高検出処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a pitch detection process. 音高検出処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a pitch detection process. ベロシティ変換処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a velocity conversion process. 第2実施形態による実行処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the execution process by 2nd Embodiment. 第2実施形態による再生処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the reproduction | regeneration processing by 2nd Embodiment. 第2実施形態による再生処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the reproduction | regeneration processing by 2nd Embodiment. 第2実施形態による再生処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the reproduction | regeneration processing by 2nd Embodiment.

符号の説明Explanation of symbols

10 操作部
11 CPU
12 ROM
13 RAM
14 音源
15 サウンドシステム
16 表示部
17 MIDIインタフェース
10 Operation unit 11 CPU
12 ROM
13 RAM
14 sound source 15 sound system 16 display unit 17 MIDI interface

Claims (8)

曲を構成する各音を表す曲データを記憶する曲データ記憶手段と、
前記曲データ記憶手段に記憶される曲データの中から曲の印象を特徴付けるハイライト音を抽出するハイライト音抽出手段と、
前記曲データ記憶手段に記憶される曲データの内、前記ハイライト音抽出手段により抽出されたハイライト音に対応する曲データの楽音要素を強調変更する曲データ変更手段と
を具備することを特徴とする曲データ編集装置。
Song data storage means for storing song data representing each sound constituting the song;
Highlight sound extraction means for extracting a highlight sound characterizing the impression of the song from the song data stored in the song data storage means;
Song data changing means for emphasizing and changing musical tone elements of song data corresponding to the highlight sound extracted by the highlight sound extraction means among the song data stored in the song data storage means. Song data editing device.
曲を構成する各音を表す曲データを記憶する曲データ記憶手段と、
前記曲データ記憶手段に記憶される曲データの中から曲の印象を特徴付けるハイライト音を抽出するハイライト音抽出手段と、
前記曲データ記憶手段に記憶される曲データを再生する再生手段と、
前記再生手段により再生される曲データがハイライト音に対応する場合、その曲データの楽音要素を強調変更する曲データ変更手段と
を具備することを特徴とする曲データ編集装置。
Song data storage means for storing song data representing each sound constituting the song;
Highlight sound extraction means for extracting a highlight sound characterizing the impression of the song from the song data stored in the song data storage means;
Playback means for playing back the song data stored in the song data storage means;
A music data editing apparatus comprising: music data changing means for emphasizing and changing musical tone elements of music data when the music data reproduced by the reproducing means corresponds to a highlight sound.
前記ハイライト音抽出手段は、前記曲データ記憶手段に記憶される曲データに含まれる音高の変化が極大となる位置にある音高である極大音と極小となる位置にある音高である極小音とを検出し、検出された極大音および極小音の内から所定音連続的に極大に向かって増加した極大音の1つ前の音と、所定音連続的に極小に向かって減少した極小音の1つ前の音とをそれぞれ曲の印象を特徴付けるハイライト音として抽出することを特徴とする請求項1乃至2のいずれかに記載の曲データ編集装置。 The highlight sound extracting means is a maximum sound that is at a position where the change in the pitch included in the music data stored in the music data storage means is a maximum, and a pitch that is at a minimum. Detects the minimum sound, and the detected maximum sound and the sound from the minimum sound, the sound immediately before the maximum sound that increased continuously toward the maximum from the predetermined sound, and the predetermined sound continuously decreased toward the minimum 3. The music data editing apparatus according to claim 1, wherein the sound immediately before the minimum sound is extracted as a highlight sound that characterizes the impression of the music. 前記ハイライト音抽出手段は、前記曲データ記憶手段に記憶される曲データ中から音高の変化が所定期間連続して極大に向かって増加した場合に極大の位置にある音の1つの前の音と、音高の変化が所定期間連続して極小に向かって減少した場合に極小の位置にある音の1つの前の音とをそれぞれ曲の印象を特徴付けるハイライト音として抽出することを特徴とする請求項1乃至2のいずれかに記載の曲データ編集装置。 The highlight sound extraction means is the one before the sound at the maximum position when the change in the pitch increases from the song data stored in the song data storage means toward the maximum continuously for a predetermined period. Extracting the sound and the previous sound of the sound at the minimum position as the highlight sound that characterizes the impression of the song when the change in pitch decreases toward the minimum continuously for a predetermined period The music data editing apparatus according to claim 1. 前記曲データ変更手段は、ハイライト音に対応する曲データの音量を増加させて強調することを特徴とする請求項1乃至2のいずれかに記載の曲データ編集装置。 3. The music data editing apparatus according to claim 1, wherein the music data changing means emphasizes the music data corresponding to the highlight sound by increasing the volume. 前記曲データ変更手段は、ハイライト音が和音を構成している場合には、当該ハイライト音以外の他の和音構成音に各々対応する曲データの音量を減少させて和音中のハイライト音を強調させることを特徴とする請求項1乃至2のいずれかに記載の曲データ編集装置。 If the highlight sound constitutes a chord, the song data changing means decreases the volume of the song data corresponding to each other chord constituent sound other than the highlight sound to increase the highlight sound in the chord. The music data editing apparatus according to claim 1, wherein the music data editing apparatus according to claim 1 is emphasized. 曲を構成する各音を表すと共に、エクスクルーシブメッセージを備える曲データを記憶する曲データ記憶手段と、
前記曲データ記憶手段に記憶される曲データの中から曲の印象を特徴付けるハイライト音を抽出するハイライト音抽出手段と、
前記曲データ記憶手段に記憶される曲データの内、前記ハイライト音抽出手段により抽出されたハイライト音に対応する曲データのエクスクルーシブメッセージとして曲データ再生時の周波数特性を高域強調させるフィルタ特性データを設定する曲データ変更手段と
を具備することを特徴とする曲データ編集装置。
A song data storage means for storing each song constituting the song and storing song data including an exclusive message;
Highlight sound extraction means for extracting a highlight sound characterizing the impression of the song from the song data stored in the song data storage means;
A filter characteristic for high-frequency emphasizing the frequency characteristic at the time of reproduction of music data as an exclusive message of music data corresponding to the highlight sound extracted by the highlight sound extraction means among the music data stored in the music data storage means A song data editing apparatus comprising: song data changing means for setting data.
曲を構成する各音を表す曲データから曲の印象を特徴付けるハイライト音を抽出するハイライト音抽出処理と、
曲を構成する各音を表す曲データの内、前記ハイライト音抽出処理にて抽出されたハイライト音に対応する曲データの楽音要素を強調させるように変更する曲データ変更処理と
をコンピュータで実行させることを特徴とする曲データ編集プログラム。
Highlight sound extraction processing for extracting highlight sounds that characterize the impression of the song from song data representing each sound constituting the song;
A song data change process for changing the music data of the song data corresponding to the highlight sound extracted by the highlight sound extraction process among the song data representing each sound constituting the song by a computer. A song data editing program characterized by being executed.
JP2005193947A 2005-07-01 2005-07-01 Song data editing device and song data editing program Expired - Fee Related JP4626851B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005193947A JP4626851B2 (en) 2005-07-01 2005-07-01 Song data editing device and song data editing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005193947A JP4626851B2 (en) 2005-07-01 2005-07-01 Song data editing device and song data editing program

Publications (2)

Publication Number Publication Date
JP2007011136A true JP2007011136A (en) 2007-01-18
JP4626851B2 JP4626851B2 (en) 2011-02-09

Family

ID=37749714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005193947A Expired - Fee Related JP4626851B2 (en) 2005-07-01 2005-07-01 Song data editing device and song data editing program

Country Status (1)

Country Link
JP (1) JP4626851B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756843A (en) * 1993-08-17 1995-03-03 Roland Corp Control information transfer system
JPH07175476A (en) * 1993-12-20 1995-07-14 Nec Corp Effect setter for musical instrument
JPH07334157A (en) * 1994-06-14 1995-12-22 Roland Corp Electronic musical instrument
JP2001159892A (en) * 1999-08-09 2001-06-12 Yamaha Corp Performance data preparing device and recording medium
JP2002268699A (en) * 2001-03-09 2002-09-20 Sony Corp Device and method for voice synthesis, program, and recording medium
JP2003099056A (en) * 2001-09-25 2003-04-04 Yamaha Corp Electronic musical instrument
JP2005173632A (en) * 1999-08-09 2005-06-30 Yamaha Corp Performance data generating apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756843A (en) * 1993-08-17 1995-03-03 Roland Corp Control information transfer system
JPH07175476A (en) * 1993-12-20 1995-07-14 Nec Corp Effect setter for musical instrument
JPH07334157A (en) * 1994-06-14 1995-12-22 Roland Corp Electronic musical instrument
JP2001159892A (en) * 1999-08-09 2001-06-12 Yamaha Corp Performance data preparing device and recording medium
JP2005173632A (en) * 1999-08-09 2005-06-30 Yamaha Corp Performance data generating apparatus
JP2002268699A (en) * 2001-03-09 2002-09-20 Sony Corp Device and method for voice synthesis, program, and recording medium
JP2003099056A (en) * 2001-09-25 2003-04-04 Yamaha Corp Electronic musical instrument

Also Published As

Publication number Publication date
JP4626851B2 (en) 2011-02-09

Similar Documents

Publication Publication Date Title
JP3598598B2 (en) Karaoke equipment
US5939654A (en) Harmony generating apparatus and method of use for karaoke
KR20080023199A (en) Audio reproduction apparatus and method and storage medium
JP5151245B2 (en) Data reproducing apparatus, data reproducing method and program
JP4650182B2 (en) Automatic accompaniment apparatus and program
JP2551245B2 (en) Automatic accompaniment device
JP2005107333A (en) Karaoke machine
JP4204941B2 (en) Karaoke equipment
JP4222915B2 (en) Singing voice evaluation device, karaoke scoring device and programs thereof
JP4201679B2 (en) Waveform generator
EP3373289B1 (en) Electronic musical instrument, musical sound generating method, and storage medium
JP2009031549A (en) Melody display control device and karaoke device
JP4626851B2 (en) Song data editing device and song data editing program
JP2005249844A (en) Device and program for performance indication
JP3613935B2 (en) Performance practice device and medium recording program
JP2007086571A (en) Music information display device and program
JP6528752B2 (en) Tone reproduction apparatus, tone reproduction method, program and electronic musical instrument
JP2005107332A (en) Karaoke machine
JP2007225916A (en) Authoring apparatus, authoring method and program
JP4552769B2 (en) Musical sound waveform synthesizer
JP4159961B2 (en) Karaoke equipment
JP2000259154A (en) Code judging device
JP2007316416A (en) Karaoke machine and karaoke processing program
JP2007086572A (en) Image display device and program
JPH05204297A (en) Syllable name generator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080627

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090909

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091105

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: 20101015

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: 20101028

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

Free format text: PAYMENT UNTIL: 20131119

Year of fee payment: 3

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees