JP6168649B2 - Code detection apparatus and program - Google Patents

Code detection apparatus and program Download PDF

Info

Publication number
JP6168649B2
JP6168649B2 JP2013069641A JP2013069641A JP6168649B2 JP 6168649 B2 JP6168649 B2 JP 6168649B2 JP 2013069641 A JP2013069641 A JP 2013069641A JP 2013069641 A JP2013069641 A JP 2013069641A JP 6168649 B2 JP6168649 B2 JP 6168649B2
Authority
JP
Japan
Prior art keywords
performance
chord
sound
data
channel
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.)
Active
Application number
JP2013069641A
Other languages
Japanese (ja)
Other versions
JP2014191334A (en
Inventor
明裕 藤田
明裕 藤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing 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 Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP2013069641A priority Critical patent/JP6168649B2/en
Publication of JP2014191334A publication Critical patent/JP2014191334A/en
Application granted granted Critical
Publication of JP6168649B2 publication Critical patent/JP6168649B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、音響信号を分析し、使用されているコードを検出するコード検出装置に関し、特に、音響信号による演奏に対して、検出されたコードによるコード演奏を容易に聞き分けることが可能なコード検出装置及びプログラムに関する。   The present invention relates to a chord detection device that analyzes a sound signal and detects a chord used, and in particular, a chord detection that can easily distinguish a chord performance by a detected chord from a performance by an acoustic signal. The present invention relates to an apparatus and a program.

ポピュラーやロック系の音楽を小編成のバンドで演奏する場合、和音から構成されるコードが記載されたコード譜やリードシートと呼ばれるメロディとコード進行のみが書かれた楽譜を使用して演奏が行われる。楽曲のコード進行を採譜する作業は、特別な音楽的知識を有する専門家でないと困難であるため、演奏音が収録された音楽CD等の音源から出力される音響信号に基づいて、コンピュータを使用したコード検出装置によりコードを検出することが行われていた。   When popular or rock music is played in a small band, the chord is composed using chords composed of chords, or a sheet that contains only a melody and chord progression called a lead sheet. Is called. Since it is difficult to record the chord progression of a song unless you are an expert with special musical knowledge, a computer is used based on the sound signal output from a sound source such as a music CD that contains the performance sound. The code is detected by the code detecting device.

この種のコード検出装置は、例えば特許文献1に記載されるように、音響信号が入力されることで、所定の時間毎の各音階音のレベル、平均的なビート間隔と各ビートの位置、拍子と小節線位置、ベース音、各小節のコードをそれぞれ検出するものである。コードを検出する際には、複数のコード候補が検出され、検出されたコードはコンピュータの内蔵音源でコード演奏が可能なように構成されている。   For example, as described in Patent Document 1, this type of chord detection apparatus is configured such that an acoustic signal is input so that the level of each scale sound for every predetermined time, the average beat interval and the position of each beat, It detects the time signature, bar line position, bass sound, and chord of each bar. When detecting a chord, a plurality of chord candidates are detected, and the detected chord is configured so that a chord can be played with a built-in sound source of the computer.

コード検出装置では、図7に示すように、音響信号を波形記憶手段1に記録するとともに、波形記憶手段1のデータからコード検出部31でコードを検出してコード演奏情報ファイル3に記録する。そして、加算器6において、音響信号が記録された波形記憶手段1からデータ波形用バッファ2を介して入力されるデータに対して、ソフトウェア音源4により作成されたコードに対応する波形データがコード波形用バッファ5を介して加算されることで、重畳された音楽データが再生バッファ7を介して再生デバイス(音再生手段)8で再生される。再生デバイス(音再生手段)8による再生は、ステレオ若しくはモノラルで行われるが、ステレオの場合、右チャネル用スピーカで音響信号及びコード演奏の右チャネル側が、左チャネル用スピーカで音響信号及びコード演奏の左チャネル側が再生される。コード検出結果は表示部9で表示される。
コード検出装置で検出されたコードが誤りである場合は、前記音楽データ中の音響信号による演奏とコードによるコード演奏を聴き比べ、正しいコードを指定することによりコードの修正を行うことが必要となる。
In the chord detection device, as shown in FIG. 7, the acoustic signal is recorded in the waveform storage means 1, and the chord detection unit 31 detects the chord from the data in the waveform storage means 1 and records it in the chord performance information file 3. Then, in the adder 6, the waveform data corresponding to the code created by the software sound source 4 is the code waveform for the data input from the waveform storage means 1 in which the acoustic signal is recorded via the data waveform buffer 2. By being added through the buffer 5, the superimposed music data is reproduced by the reproduction device (sound reproduction means) 8 through the reproduction buffer 7. Playback by the playback device (sound playback means) 8 is performed in stereo or monaural, but in the case of stereo, the right channel side of the sound signal and chord performance with the right channel speaker and the sound signal and chord performance with the left channel speaker are performed. The left channel side is played back. The code detection result is displayed on the display unit 9.
If the chord detected by the chord detecting device is incorrect, it is necessary to compare the performance by the acoustic signal in the music data with the chord performance by the chord and correct the chord by specifying the correct chord. .

特許第4767691号公報Japanese Patent No. 4767691

しかしながら、上述のコード検出装置によれば、音響信号(検出元の波形)とコード演奏とが重畳されて再生される(例えば、同じスピーカで鳴らす)ため、音響信号による音と、コード演奏による音とを聴き分けることが困難な場合があるという課題が存在した。   However, according to the above chord detection device, the sound signal (detection source waveform) and the chord performance are superimposed and reproduced (for example, sounded by the same speaker), so the sound by the sound signal and the sound by the chord performance are reproduced. There is a problem that it is sometimes difficult to distinguish between and.

本発明は上記事情に鑑みて提案されたもので、検出されたコードによる演奏が音響信号に適合しているかを確認するに際して、音響信号とコード演奏の音の比較を容易に行うことができるコード検出装置及びコード検出プログラムを提供することを目的としている。   The present invention has been proposed in view of the above circumstances, and it is possible to easily compare the sound of the sound signal and the chord performance when confirming whether the performance of the detected chord is compatible with the sound signal. An object of the present invention is to provide a detection device and a code detection program.

上記目的を達成するため本発明のコード検出装置(請求項1)は、次の各構成を含むことを特徴としている。
音響信号を分析し、前記音響信号において演奏されているコードを検出するコード検出手段。
前記音響信号の特定範囲を演奏するデータ演奏手段。
前記特定範囲において検出されたコードを内蔵音源で演奏するコード演奏手段。
前記データ演奏手段及びコード演奏手段による演奏を同時に再生する第1のチャネル及び第2のチャネルを有する音再生手段。
そして、前記音再生手段による再生は、前記データ演奏手段による演奏を前記第1のチャネル(例えば左チャネル)で再生し、前記コード演奏手段による演奏を前記第2のチャネル(例えば右チャネル)で再生する。
In order to achieve the above object, a code detection apparatus according to the present invention (claim 1) is characterized by including the following components.
Chord detection means for analyzing a sound signal and detecting a chord played in the sound signal.
Data performance means for performing a specific range of the acoustic signal.
A chord playing means for playing chords detected in the specific range with a built-in sound source.
Sound reproduction means having a first channel and a second channel for simultaneously reproducing the performance by the data performance means and the chord performance means.
In the reproduction by the sound reproduction means, the performance by the data performance means is reproduced by the first channel (for example, the left channel), and the performance by the chord performance means is reproduced by the second channel (for example, the right channel). To do.

請求項2は、請求項1のコード検出装置において、前記データ演奏手段及び前記コード演奏手段による演奏が繰り返し行われることを特徴としている。   According to a second aspect of the present invention, in the chord detection device according to the first aspect, the performance by the data performance means and the chord performance means is repeatedly performed.

請求項3は、請求項1のコード検出装置において、
前記音再生手段は、
前記データ演奏手段による演奏を前記第1のチャネルで再生し、前記コード演奏手段による演奏を前記第2のチャネルで再生する個別演奏モードと、
前記データ演奏手段による演奏と前記コード演奏手段による演奏を前記第1及び第2のチャネルで重畳して再生する通常演奏モードと、
を切り換えるモード切換部を備えたことを特徴としている。
Claim 3 is the code detection device of claim 1,
The sound reproducing means includes
An individual performance mode for reproducing a performance by the data performance means on the first channel, and reproducing a performance by the chord performance means on the second channel;
A normal performance mode in which the performance by the data performance means and the performance by the chord performance means are superimposed and reproduced on the first and second channels;
It is characterized by having a mode switching section for switching between.

請求項4は、音響信号を分析し、前記音響信号において演奏されているコードを検出するコード検出プログラムであって、
指定された特定範囲の音響信号を繰り返し演奏するデータ演奏と、前記特定範囲において前記検出されたコードを内蔵音源で繰り返し演奏するコード演奏とを同時に再生するに際し、
前記データ演奏を音再生手段が有する第1のチャネルで再生する手順と、
前記コード演奏を音再生手段が有する第2のチャネルで再生する手順と、
をコンピュータに実行させることを特徴としている。
Claim 4 is a code detection program for analyzing a sound signal and detecting a chord played in the sound signal,
When simultaneously playing a data performance that repeatedly plays an acoustic signal in a specified range and a chord performance that repeatedly plays the detected chord with a built-in sound source in the specified range ,
A procedure for reproducing the data performance on a first channel of sound reproduction means;
Replaying the chord performance on the second channel of the sound replay means;
It is characterized by having a computer execute.

本発明のコード検出装置及びコード検出プログラムによれば、データ演奏手段による演奏を音再生手段の第1のチャネルで再生し、コード演奏手段による演奏を音再生手段の第2のチャネルで再生するので、データ演奏とコード演奏を同時に再生した場合に、両者の音を聴き分けて比較し易くすることができる。   According to the chord detection device and the chord detection program of the present invention, the performance by the data performance means is reproduced by the first channel of the sound reproduction means, and the performance by the chord performance means is reproduced by the second channel of the sound reproduction means. When the data performance and the chord performance are reproduced at the same time, the two sounds can be listened to and compared easily.

また、モード切換部を設け、個別演奏モードと通常演奏モードとの切り換えを可能とすることで、データ演奏とコード演奏とを聴き分けるに際して、より比較し易くすることができる。   Further, by providing a mode switching unit and enabling switching between the individual performance mode and the normal performance mode, it is possible to make comparison easier when the data performance and the chord performance are distinguished.

本発明のコード検出装置のハードウエア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the code | cord | chord detection apparatus of this invention. 本発明のコード検出装置の主要な構成を示すブロック図である。It is a block diagram which shows the main structures of the code | cord | chord detection apparatus of this invention. コード検出装置の表示部に表示される画面(コード検出時)の一例である。It is an example of the screen (at the time of code detection) displayed on the display part of a code detection apparatus. コード検出装置のコード演奏情報ファイルに記憶されるデータ例を示す表である。It is a table | surface which shows the example of data memorize | stored in the chord performance information file of a chord detection apparatus. コード検出装置の表示部に表示される画面の他の例である。It is another example of the screen displayed on the display part of a code detection apparatus. コード検出装置の表示部に表示される画面(コード修正時)の一例である。It is an example of the screen (at the time of code correction) displayed on the display part of a code detection apparatus. 従来のコード検出装置の主要な構成を示すブロック図である。It is a block diagram which shows the main structures of the conventional code detection apparatus.

以下、図面を参照しながら本発明のコード検出装置について説明する。   Hereinafter, the code detection device of the present invention will be described with reference to the drawings.

コード検出装置のハードウエアは、パーソナルコンピュータ等の汎用情報処理装置によって実現することができる。図1は、コンピュータ上に構築されたコード検出装置のハードウエア構成を示すブロック図であり、バス10に対して、ディスプレイ11、マウス12、キーボード13、ROM14、RAM15、CPU16、HDD17、ディスクドライブ18、MIDIインターフェイス19、オーディオインターフェイス20、ネットワークインターフェイス21を接続して構成されている。   The hardware of the code detection device can be realized by a general-purpose information processing device such as a personal computer. FIG. 1 is a block diagram showing a hardware configuration of a code detection apparatus constructed on a computer. A display 11, a mouse 12, a keyboard 13, a ROM 14, a RAM 15, a CPU 16, an HDD 17, and a disk drive 18 are connected to a bus 10. , A MIDI interface 19, an audio interface 20, and a network interface 21 are connected to each other.

コンピュータのHDD17には、MIDIインターフェイス19、オーディオインターフェイス20若しくはネットワークインターフェイス21を介して音響信号を取り込んでコードを検出するためのコード検出プログラムが、ディスクドライブ18に装着された記録媒体からインストールされ、若しくはインターネットを介して所定のURLよりダウンロードされている。   In the HDD 17 of the computer, a code detection program for detecting a code by capturing an acoustic signal via the MIDI interface 19, the audio interface 20, or the network interface 21 is installed from a recording medium attached to the disk drive 18, or It is downloaded from a predetermined URL via the Internet.

CPU16は、上記の手順によりインストール又はダウンロードされた所定の制御プログラム(コード検出プログラム)に従って各種処理(各ステップ)を実行し、コード検出装置全体を制御するものであり、波形記憶手段1及びコード演奏情報ファイル3を要部機能として備えることで、取り込んだ音響信号を電子情報として記憶し、記憶した情報からコードを検出してディスプレイ(表示部)11に表示可能とするとともに、再生デバイス(音再生手段)8を備えることで、ROM14に記憶されたソフトウェア音源4を使用して検出されたコードに相当するコード音を演奏(コード演奏)可能としている。
RAM15は、CPU16での処理に使用される情報を一時記憶するものである。
The CPU 16 executes various processes (each step) according to a predetermined control program (code detection program) installed or downloaded by the above procedure, and controls the entire chord detection device. By providing the information file 3 as a main function, the captured acoustic signal is stored as electronic information, a code can be detected from the stored information and displayed on the display (display unit) 11, and a playback device (sound playback) Means) 8 is provided, so that the chord sound corresponding to the chord detected using the software sound source 4 stored in the ROM 14 can be played (chord performance).
The RAM 15 temporarily stores information used for processing by the CPU 16.

図2は、コード検出プログラムを組み込むことでコンピュータ上に構築されたコード検出装置の主要構成を示すブロック図である。コード検出装置は、音響信号からコードを検出するコード検出手段30と、音響信号によるデータ演奏、及び、検出されたコードによるコード演奏を行う演奏手段40により構成されている。   FIG. 2 is a block diagram showing a main configuration of a code detection apparatus constructed on a computer by incorporating a code detection program. The chord detection device is composed of chord detection means 30 for detecting chords from acoustic signals, and performance means 40 for performing data performance with acoustic signals and chord performance with detected chords.

コード検出手段30は、演奏曲に対応する音響信号が記憶された波形記憶手段1と、音響信号に対してコードを検出するコード検出部31と、検出されたコードの情報を記憶するコード演奏情報ファイル3と、音響信号から検出されたコード等の検出結果を液晶ディスプレイ等で表示する表示部9により構成されている。
コード検出手段30は、図1のハードウエア資質との対応では、ディスプレイ11、マウス12、キーボード13、プログラムを実行するCPU16、ワーキングメモリとなるRAM15で構成される。
The chord detection means 30 includes a waveform storage means 1 in which an acoustic signal corresponding to a performance song is stored, a chord detection unit 31 for detecting a chord with respect to the acoustic signal, and chord performance information for storing information on the detected chord. The file 3 and a display unit 9 that displays a detection result of a code detected from the acoustic signal on a liquid crystal display or the like.
The code detection means 30 includes a display 11, a mouse 12, a keyboard 13, a CPU 16 for executing a program, and a RAM 15 as a working memory in correspondence with the hardware qualities shown in FIG.

演奏手段40は、音響信号の左右チャネルの各波形信号を一時的に記録する波形用バッファ2と、各波形信号同士の加算を行って左チャネル再生信号を得る加算器6aと、音源(内蔵音源)が記憶されるシフトウェア音源4と、内蔵音源によって再現される和音から成るコード音の左右チャネルの波形信号を一時的に記憶するコード波形用バッファ5と、コード音の各波形信号同士の加算を行って右チャネル再生信号を得る加算器6bと、各再生信号を一時的に記録する再生バッファ7と、各再生信号に対応する音を再生する再生デバイス(音再生手段)8を備えて構成されている。再生デバイス(音再生手段)8は、2チャネル分のスピーカを有するヘッドフォンを備えて構成されている。
演奏手段40は、図1のハードウエア資質との対応では、ディスプレイ11、マウス12、キーボード13、プログラムを実行するCPU16、ワーキングメモリとなるRAM15、オーディオインターフェイス20で構成される。
本発明の特徴的な構成は、再生デバイス(音再生手段)8において、音響信号の波形信号によるデータ演奏を左チャネル(第1のチャネル)で再生し、検出したコードに対応する波形信号によるコード演奏を右チャネル(第2のチャネル)で再生することである。
The performance means 40 includes a waveform buffer 2 that temporarily records the waveform signals of the left and right channels of the acoustic signal, an adder 6a that adds the waveform signals to obtain a left channel reproduction signal, and a sound source (built-in sound source). ) Stored therein, a chord waveform buffer 5 for temporarily storing waveform signals of left and right chords composed of chords reproduced by a built-in sound source, and addition of each waveform signal of chord sounds And an adder 6b for obtaining a right channel playback signal, a playback buffer 7 for temporarily recording each playback signal, and a playback device (sound playback means) 8 for playing back a sound corresponding to each playback signal. Has been. The playback device (sound playback means) 8 includes a headphone having speakers for two channels.
The performance means 40 includes a display 11, a mouse 12, a keyboard 13, a CPU 16 for executing a program, a RAM 15 as a working memory, and an audio interface 20 in correspondence with the hardware qualities shown in FIG.
The characteristic configuration of the present invention is that a playback device (sound playback means) 8 reproduces a data performance based on a waveform signal of an acoustic signal on the left channel (first channel), and a code based on a waveform signal corresponding to the detected code. Playing the performance on the right channel (second channel).

以下、コード検出手段30及び演奏手段40の動作について説明する。
コード検出手段30は、音楽ファイル、CD等のオーディオトラック又はオーディオインターフェイスから取り込まれた音響情報を分析し、その楽曲のテンポ、拍子、1拍目位置(各小節の開始位置)、コードを既存の技術を使用して検出する。コード検出については、例えば特許4767691号に記載された技術で行われるが、以下、簡単に説明する。
Hereinafter, operations of the chord detection means 30 and the performance means 40 will be described.
The chord detection means 30 analyzes the audio information captured from an audio track or audio interface such as a music file, CD, etc., and the tempo, time signature, first beat position (start position of each measure), and chord of the song Detect using technology. The code detection is performed by the technique described in Japanese Patent No. 4767691, for example, and will be briefly described below.

コード検出部31では、波形記憶手段1に記憶された音響信号に対してコード検出期間を設定し、コード検出音域、例えばC3からA6の各音階音のコード検出期間における周波数データの平均的なレベルを計算し、これが大きな値を持つ音階音から順に数個の音名を検出し、これと検出が行われているベース音の音名からコード候補を抽出する。
この際、必ずしもレベルが大きな音がコード構成音であるとは限らないので、複数の音名の音を例えば5つ検出し、その中の2つ以上をすべての組み合わせで抜き出して、これとベース音の音名とからコード候補の抽出が行われる。コード候補の抽出が行われた後、予め設定された基準に基づいて一つのコードが選択されて抽出される。
In the chord detection unit 31, a chord detection period is set for the acoustic signal stored in the waveform storage means 1, and the average level of the frequency data in the chord detection range, for example, the chord detection period of each tone of C3 to A6. , And several pitch names are detected in order starting from a scale note having a large value, and chord candidates are extracted from the pitch names of the detected bass sounds.
At this time, since a sound with a high level is not necessarily a chord constituent sound, for example, five sounds having a plurality of pitch names are detected, and two or more of them are extracted in all combinations, and this is used as a base. Chord candidates are extracted from the note names of the notes. After the code candidates are extracted, one code is selected and extracted based on a preset criterion.

コードの抽出が行われると、表示部9に図3に示すような検出結果の画面が表示される。
図3は、液晶画面で構成された表示部9に表示される画面例を示すもので、4/4拍子、4小節の曲からコードを検出した場合を示している。曲のテンポはBPM=120(4分音符の長さが0.5秒)であるとする。
画面例においては、1,2,3,4の小節毎に、コードであるG,F,Am,Cが表示され、小節上部に配される帯状部の任意の小節線位置に、演奏開始マーカー51と演奏終了マーカー52がそれぞれ表示されている。演奏開始マーカー51と演奏終了マーカー52の位置は、ユーザによりマウス12の操作で指定できるように構成されている。演奏開始マーカー51及び演奏終了マーカー52の上方には、演奏開始ボタン53、演奏停止ボタン54、繰り返し演奏ボタン55、個別演奏モードと通常演奏モードを切り換えるモード切換部56が表示されている。
ボタン操作による具体的な演奏の仕方については後述する。
When the code is extracted, a detection result screen as shown in FIG.
FIG. 3 shows an example of a screen displayed on the display unit 9 constituted by a liquid crystal screen, and shows a case where a chord is detected from a 4/4 time signature and a 4-bar song. The tempo of the song is BPM = 120 (quarter note length is 0.5 seconds).
In the screen example, chords G, F, Am, and C are displayed for each measure of 1, 2, 3, and 4, and a performance start marker is placed at an arbitrary measure line position of a strip portion arranged above the measure. 51 and a performance end marker 52 are respectively displayed. The positions of the performance start marker 51 and the performance end marker 52 can be designated by the user by operating the mouse 12. Above the performance start marker 51 and the performance end marker 52, a performance start button 53, a performance stop button 54, a repeated performance button 55, and a mode switching unit 56 for switching between the individual performance mode and the normal performance mode are displayed.
A specific performance method by button operation will be described later.

コード検出部31でコードの検出が行われると、検出したコードを音で確認するためのコード演奏情報ファイルが作成され、コード演奏情報ファイル3に記録される。コード演奏情報ファイルは、SMF(スタンダードMIDIファイル)に準じた公知の形式で構成される。SMFの時間分解能は480とする。
作成されたSMFの内容は、例えば図4に示すようなデータで構成される。図4の表では、上から順に1小節〜4小節が表示されている。イベントタイムは、演奏開始からの経過時間(Tick Time)を表す。ステータスは、イベントの種類とMIDIチャネルを表す。「90」は発音開始、「80」は発音停止を意味する。「ノートNo.」は音程を表す。「べロシティ」は音の強さを表す。
When chord detection is performed by the chord detector 31, a chord performance information file for confirming the detected chord with sound is created and recorded in the chord performance information file 3. The chord performance information file is configured in a known format according to SMF (standard MIDI file). The time resolution of SMF is 480.
The contents of the created SMF are composed of data as shown in FIG. 4, for example. In the table of FIG. 4, bars 1 to 4 are displayed in order from the top. The event time represents an elapsed time (Tick Time) from the start of performance. The status represents an event type and a MIDI channel. “90” means start of sound generation and “80” means stop of sound generation. “Note No.” represents a pitch. “Velocity” represents the strength of the sound.

例えば、1小節目の「ノートNo.」に現れる「2B」「3E」「43」「47」は、コード「G」の「ベース音ソ」、コード「G」の「構成音レ」、コード「G」の「構成音ソ」、コード「G」の「構成音シ」をそれぞれ示している。
また、拍子やテンポを確認するため、メトロノーム等の発音用演奏イベントのデータを含むようにしてもよい。
For example, “2B”, “3E”, “43”, “47” appearing in “note No.” in the first measure are “bass sound” of chord “G”, “component sound” of chord “G”, chord “G” “sound” and “G” “sound” are shown respectively.
In addition, in order to check the time signature and tempo, data of a performance event for sound generation such as a metronome may be included.

図5は、表示部9で表示される画面の他の例を示すもので、図4のデータに対応している。図5では、図3と同じコード、すなわち、1,2,3,4の各小節に対して、G,F,Am,Cのコードが表示されている。この表示画面によれば、コードを五線の音符及びピアノロールで示すことで、コードに対応する和音の音階が解るようになっている。   FIG. 5 shows another example of the screen displayed on the display unit 9 and corresponds to the data of FIG. In FIG. 5, the same codes as in FIG. 3, that is, the codes of G, F, Am, and C are displayed for each measure of 1, 2, 3, and 4. According to this display screen, a chord scale corresponding to a chord can be understood by indicating the chord with a staff note and a piano roll.

コード検出装置では、元の波形データ(音響信号)を再生したデータ演奏と、音響信号から検出したコードをソフトウェア音源で鳴らした音(コード演奏)を聴き比べることで、コードが正しいかどうかをユーザが確認する作業が行われる。
演奏開始ボタン53がクリックされた場合、演奏手段40により、演奏開始マーカー位置51から演奏終了マーカー位置52までの小節が演奏され、繰り返し演奏ボタン55がクリックされた場合、この間の特定範囲の小節が繰り返し演奏される。
In the chord detection device, the user can determine whether the chord is correct by comparing the data performance that reproduced the original waveform data (acoustic signal) with the sound that the chord detected from the audio signal was played by a software sound source (chord performance). Will be confirmed.
When the performance start button 53 is clicked, a bar from the performance start marker position 51 to the performance end marker position 52 is played by the performance means 40, and when the performance button 55 is clicked repeatedly, bars within a specific range between them are played. Played repeatedly.

モード切換部56がクリックされることで、個別演奏モードと通常演奏モードとが順次切り換えられる。個別演奏モードとは、再生デバイス8において、元の波形データ(音響信号)によるデータ演奏を左チャネルから、ソフトウェア音源のコード演奏を右チャネルから発音する再生形態である。通常演奏モードとは、再生デバイス8において、データ演奏及びコード演奏の左チャネルデータを左チャネルから、データ演奏及びコード演奏の右チャネルデータを右チャネルから発音する再生形態である。
演奏停止ボタン54がクリックされた場合は、演奏手段40は演奏を中止する。
When the mode switching unit 56 is clicked, the individual performance mode and the normal performance mode are sequentially switched. The individual performance mode is a reproduction form in which the data performance based on the original waveform data (acoustic signal) is reproduced from the left channel and the chord performance of the software sound source is reproduced from the right channel in the reproduction device 8. The normal performance mode is a reproduction mode in which the playback device 8 produces data performance and chord performance left channel data from the left channel and data performance and chord performance right channel data from the right channel.
When the performance stop button 54 is clicked, the performance means 40 stops the performance.

モード切換部56により個別演奏が選択されている場合、演奏手段40による音再生は以下に示す手順で行われる。
指定された所定時間分の波形(音響信号)を波形記憶手段1から読み出し、データ波形用バッファ2への書込みを行う。
同上の所定時間分のMIDIイベントをコード演奏情報ファイル3から読み出し、ソフトウェア音源4に与える。ソフトウェア音源4は、与えられた情報に対応する内蔵音源から所定時間分の波形の生成を指示する。生成された波形はコード波形用バッファ5へ書き込まれる。ソフトウェア音源4を用いての波形を作成し再生デバイス8で発音することは既存の技術で行われる。
When the individual performance is selected by the mode switching unit 56, the sound reproduction by the performance means 40 is performed according to the following procedure.
A waveform (acoustic signal) for a specified predetermined time is read from the waveform storage means 1 and written to the data waveform buffer 2.
The MIDI events for a predetermined time are read from the chord performance information file 3 and given to the software sound source 4. The software sound source 4 instructs generation of a waveform for a predetermined time from the built-in sound source corresponding to the given information. The generated waveform is written into the code waveform buffer 5. Creating a waveform using the software sound source 4 and generating a sound by the playback device 8 is performed by an existing technique.

加算器6aでデータ波形用バッファ2の左チャネルと右チャネルのデータを加算し、左チャネルのデータとして再生バッファ7に書き込む。
加算器6bでコード波形用バッファ5の左チャネルと右チャネルのデータを加算し、右チャネルのデータとして再生バッファ7に書き込む。
再生バッファ7の書込みが完了すると、再生デバイス8はそのデータの再生を行う。この時、元の波形(音響信号)を再生したデータ演奏は左チャネルで再生され、検出したコードをソフトウェア音源で鳴らしたコード演奏は右チャネルで再生される。その結果、データ演奏とコード演奏とを容易に聴き比べることができ、楽曲に対して正確なコードが検出されているかを容易に判断することができる。
また、左右チャネルで再生する音を逆にし、データ演奏を左チャネルで再生し、コード演奏を左チャネルで再生してもよい。
The adder 6a adds the data of the left channel and the right channel of the data waveform buffer 2 and writes them to the reproduction buffer 7 as the data of the left channel.
The adder 6b adds the left channel data and right channel data of the code waveform buffer 5 and writes them to the reproduction buffer 7 as right channel data.
When writing to the reproduction buffer 7 is completed, the reproduction device 8 reproduces the data. At this time, the data performance in which the original waveform (acoustic signal) is reproduced is reproduced in the left channel, and the chord performance in which the detected chord is played by the software sound source is reproduced in the right channel. As a result, the data performance and the chord performance can be easily heard and compared, and it can be easily determined whether or not an accurate chord is detected for the music.
Alternatively, the sound played back on the left and right channels may be reversed, the data performance may be played on the left channel, and the chord performance may be played on the left channel.

モード切換部56により通常演奏が選択されている場合、演奏手段40による音再生は以下に示す手順で行われる。
上述した個別演奏時と同様に、波形(音響信号)を波形記憶手段1から読み出し、データ波形用バッファへ2への書込みを行う。
個別演奏時と同様に、所定時間分のMIDIイベントをコード演奏情報ファイル3から読み出し、ソフトウェア音源4に与える。ソフトウェア音源4では、与えられた音源に対して所定時間分の波形の生成を指示する。生成された波形はコード波形用バッファ5へ書き込まれる。
When the normal performance is selected by the mode switching unit 56, the sound reproduction by the performance means 40 is performed according to the following procedure.
As in the individual performance described above, the waveform (acoustic signal) is read from the waveform storage means 1 and written to the data waveform buffer 2.
As in the individual performance, MIDI events for a predetermined time are read from the chord performance information file 3 and given to the software sound source 4. The software sound source 4 instructs the given sound source to generate a waveform for a predetermined time. The generated waveform is written into the code waveform buffer 5.

再生デバイス8により処理中ではない再生バッファ7へのデータの書き込みが行われる。この書込みは、データ波形用バッファ2とコード波形用バッファ5の同タイミングのデータを加算しながら行われる。すなわち、データ演奏の左チャネルデータとコード演奏の左チャネルデータとが左チャネルデータとして書き込まれ、データ演奏の右チャネルデータとコード演奏の右チャネルデータとが右チャネルデータとして書き込まれる。この部分の処理が個別演奏の時の処理と異なるものである。この処理に対応するブロック図は、従来例の図7と同じになる。
再生バッファ7の書込みが完了すると、再生デバイス8は書き込まれたデータの再生を行う。この時、データ演奏及びコード演奏の左チャネルデータは左チャネルで、データ演奏及びコード演奏の右チャネルデータは右チャネルで、それぞれデータ演奏とコード演奏とが重畳された再生が行われる。
The playback device 8 writes data to the playback buffer 7 that is not being processed. This writing is performed while adding data at the same timing in the data waveform buffer 2 and the code waveform buffer 5. That is, the left channel data of the data performance and the left channel data of the chord performance are written as the left channel data, and the right channel data of the data performance and the right channel data of the chord performance are written as the right channel data. This part of the process is different from the process for individual performance. A block diagram corresponding to this processing is the same as that of the conventional example shown in FIG.
When writing to the reproduction buffer 7 is completed, the reproduction device 8 reproduces the written data. At this time, the left channel data of the data performance and the chord performance is the left channel, and the right channel data of the data performance and the chord performance is the right channel, and the data performance and the chord performance are superimposed and reproduced.

続いて、演奏曲に対して正確なコードが検出されていない場合のコード修正処理について説明する。
図3の演奏開始マーカー51と演奏終了マーカー52との間の演奏(コード演奏及びデータ演奏)を試聴し、コードFについて正確なコードが検出されていないと判断した場合、変更したいコードFの小節間に演奏開始マーカー51と演奏終了マーカー52を設定するとともに、コードFの小節部分57をクリックし、ホップメニュー60を表示させる。
ホップメニュー60には、既に検出されている複数コード候補(この例の場合、F,FM7,F7,Fsus4)が表示され、現在選択中のコード(F)61の左端に印62が表示されている。
カーソル70を変更したいコード候補(F7)63に合わせると、コード(F7)に対応するコード演奏と、そのコード区間のデータ演奏が上述した要領で行われ、聴き比べることができる。試聴により正しいと判断したコード候補をクリックすると、その小節部分57について、コード(この例の場合、F7)が選択されることでコードの修正が行われる。
また、任意のコード64を選択した場合には、ダイアログボックス(図示せず)が表示され、ホップメニュー60のコード候補にないコードを手動で入力できるように構成されている。
Next, a chord correction process when an accurate chord has not been detected for a musical piece will be described.
When the performance (chord performance and data performance) between the performance start marker 51 and the performance end marker 52 in FIG. 3 is auditioned and it is determined that an accurate chord is not detected for the chord F, the measure of the chord F to be changed is determined. A performance start marker 51 and a performance end marker 52 are set between them, and the bar portion 57 of the chord F is clicked to display the hop menu 60.
The hop menu 60 displays a plurality of code candidates that have already been detected (F, FM7, F7, Fsus4 in this example), and a mark 62 is displayed at the left end of the currently selected code (F) 61. Yes.
When the cursor 70 is set to the chord candidate (F7) 63 to be changed, the chord performance corresponding to the chord (F7) and the data performance of the chord section are performed in the manner described above and can be compared. When a code candidate determined to be correct by trial listening is clicked, a chord (F7 in this example) is selected for the bar portion 57, and the chord is corrected.
When an arbitrary code 64 is selected, a dialog box (not shown) is displayed so that a code not included in the code candidate of the hop menu 60 can be manually input.

上述したコード検出装置によれば、再生バッファ7及びデータ波形用バッファ2に対応するデータ演奏手段によるデータ演奏を再生デバイス(音再生手段)8の左チャネルで再生し、再生バッファ7及びコード波形用バッファ5に対応するコード演奏手段による演奏を再生デバイス(音再生手段)8の右チャネルで再生するので、データ演奏とコード演奏が同時に再生された場合に、両者の音を聴き分けて比較し易くすることができる。
また、モード切換部56を設け、個別演奏モードと通常演奏モードとを切り換えて試聴することにより、個別演奏時における左右チャネルの音の違いを認識し易くすることで、演奏曲に対して正確なコードが検出されているかについて、より正確な判断を可能とすることができる。
According to the above-described chord detection apparatus, the data performance by the data performance means corresponding to the reproduction buffer 7 and the data waveform buffer 2 is reproduced by the left channel of the reproduction device (sound reproduction means) 8, and the reproduction buffer 7 and the code waveform are reproduced. Since the performance by the chord performance means corresponding to the buffer 5 is reproduced by the right channel of the reproduction device (sound reproduction means) 8, when the data performance and the chord performance are reproduced at the same time, it is easy to hear and compare both sounds. can do.
In addition, a mode switching unit 56 is provided, and by switching between the individual performance mode and the normal performance mode and listening, it is easy to recognize the difference in sound between the left and right channels at the time of individual performance. A more accurate determination as to whether a code has been detected can be made possible.

1…波形記憶手段、 2…データ波形用バッファ、 3…コード演奏情報ファイル、 4…ソフトウェア音源、 5…コード波形用バッファ、 6…加算器、 7…再生バッファ、 8…再生デバイス(音再生手段)、 9…表示部、 30…コード検出手段、 31…コード検出部、 40…演奏手段。   DESCRIPTION OF SYMBOLS 1 ... Waveform storage means, 2 ... Data waveform buffer, 3 ... Chord performance information file, 4 ... Software sound source, 5 ... Chord waveform buffer, 6 ... Adder, 7 ... Reproduction buffer, 8 ... Reproduction device (sound reproduction means) , 9... Display unit, 30. Chord detection means, 31. Chord detection unit, 40.

Claims (4)

音響信号を分析し、前記音響信号において演奏されているコードを検出するコード検出手段と、
前記音響信号の特定範囲を演奏するデータ演奏手段と、
前記特定範囲において検出されたコードを内蔵音源で演奏するコード演奏手段と、
前記データ演奏手段及びコード演奏手段による演奏を同時に再生する第1のチャネル及び第2のチャネルを有する音再生手段と、を備え、
前記音再生手段による再生は、
前記データ演奏手段による演奏を前記第1のチャネルで再生し、
前記コード演奏手段による演奏を前記第2のチャネルで再生する
ことを特徴とするコード検出装置。
Chord detection means for analyzing a sound signal and detecting a chord played in the sound signal;
Data performance means for performing a specific range of the acoustic signal;
Chord playing means for playing chords detected in the specific range with a built-in sound source;
Sound reproduction means having a first channel and a second channel for simultaneously reproducing the performance by the data performance means and the chord performance means,
The reproduction by the sound reproduction means is
Playing the performance by the data performance means on the first channel,
A chord detection apparatus for playing a chord performance by the second channel.
前記データ演奏手段及び前記コード演奏手段による演奏が繰り返し行われる請求項1に記載のコード検出装置。   2. The chord detection device according to claim 1, wherein the performance by the data performance means and the chord performance means is repeatedly performed. 前記音再生手段は、
前記データ演奏手段による演奏を前記第1のチャネルで再生し、前記コード演奏手段による演奏を前記第2のチャネルで再生する個別演奏モードと、
前記データ演奏手段による演奏と前記コード演奏手段による演奏を前記第1及び第2のチャネルで重畳して再生する通常演奏モードと、
を切り換えるモード切換部を備えた請求項1に記載のコード検出装置。
The sound reproducing means includes
An individual performance mode for reproducing a performance by the data performance means on the first channel, and reproducing a performance by the chord performance means on the second channel;
A normal performance mode in which the performance by the data performance means and the performance by the chord performance means are superimposed and reproduced on the first and second channels;
The code detection device according to claim 1, further comprising a mode switching unit that switches between the two.
音響信号を分析し、前記音響信号において演奏されているコードを検出するコード検出プログラムであって、
指定された特定範囲の音響信号を繰り返し演奏するデータ演奏と、前記特定範囲において前記検出されたコードを内蔵音源で繰り返し演奏するコード演奏とを同時に再生するに際し、
前記データ演奏を音再生手段が有する第1のチャネルで再生する手順と、
前記コード演奏を音再生手段が有する第2のチャネルで再生する手順と、
をコンピュータに実行させることを特徴とするコード検出プログラム。
A code detection program for analyzing a sound signal and detecting a chord played in the sound signal,
When simultaneously playing a data performance that repeatedly plays an acoustic signal in a specified range and a chord performance that repeatedly plays the detected chord with a built-in sound source in the specified range ,
A procedure for reproducing the data performance on a first channel of sound reproduction means;
Replaying the chord performance on the second channel of the sound replay means;
A code detection program for causing a computer to execute.
JP2013069641A 2013-03-28 2013-03-28 Code detection apparatus and program Active JP6168649B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013069641A JP6168649B2 (en) 2013-03-28 2013-03-28 Code detection apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013069641A JP6168649B2 (en) 2013-03-28 2013-03-28 Code detection apparatus and program

Publications (2)

Publication Number Publication Date
JP2014191334A JP2014191334A (en) 2014-10-06
JP6168649B2 true JP6168649B2 (en) 2017-07-26

Family

ID=51837590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013069641A Active JP6168649B2 (en) 2013-03-28 2013-03-28 Code detection apparatus and program

Country Status (1)

Country Link
JP (1) JP6168649B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6520162B2 (en) * 2015-02-04 2019-05-29 ヤマハ株式会社 Accompaniment teaching device and accompaniment teaching program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11296167A (en) * 1998-04-09 1999-10-29 Fujitsu Ltd Sound reproducing device and recording medium
JP5196550B2 (en) * 2008-05-26 2013-05-15 株式会社河合楽器製作所 Code detection apparatus and code detection program
JP5229998B2 (en) * 2008-07-15 2013-07-03 株式会社河合楽器製作所 Code name detection device and code name detection program
JP2013024967A (en) * 2011-07-19 2013-02-04 Pioneer Electronic Corp Display device, method for controlling the device, and program

Also Published As

Publication number Publication date
JP2014191334A (en) 2014-10-06

Similar Documents

Publication Publication Date Title
JP4823804B2 (en) Code name detection device and code name detection program
JP4767691B2 (en) Tempo detection device, code name detection device, and program
JP5610235B2 (en) Recording / playback apparatus and program
JP2007248895A (en) Metadata attachment method and device
JP2013050530A (en) Recording and reproducing device, and program
US20110015767A1 (en) Doubling or replacing a recorded sound using a digital audio workstation
JP5229998B2 (en) Code name detection device and code name detection program
JP6151121B2 (en) Chord progression estimation detection apparatus and chord progression estimation detection program
JP2009063714A (en) Audio playback device and audio fast forward method
JP7367835B2 (en) Recording/playback device, control method and control program for the recording/playback device, and electronic musical instrument
JP6168649B2 (en) Code detection apparatus and program
JP4932614B2 (en) Code name detection device and code name detection program
JP5005445B2 (en) Code name detection device and code name detection program
JP6326822B2 (en) Recording method
JP4107212B2 (en) Music playback device
JP4537490B2 (en) Audio playback device and audio fast-forward playback method
JP4007298B2 (en) Karaoke device and program
JP2014235328A (en) Code estimation detection device and code estimation detection program
JP6690165B2 (en) Output control device, electronic musical instrument, output control method, and program
KR101992572B1 (en) Audio editing apparatus providing review function and audio review method using the same
JP4315116B2 (en) Electronic music equipment
JP7425558B2 (en) Code detection device and code detection program
JP4843120B1 (en) Music reproduction method, music reproduction apparatus, reproduction processing system, and program
JP2017032603A (en) Music signal conversion device and music signal conversion program
JP2007233078A (en) Evaluation device, control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160120

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20160825

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170110

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170623

R150 Certificate of patent or registration of utility model

Ref document number: 6168649

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150