JPH0772881A - Karaoke equipment - Google Patents
Karaoke equipmentInfo
- Publication number
- JPH0772881A JPH0772881A JP5221084A JP22108493A JPH0772881A JP H0772881 A JPH0772881 A JP H0772881A JP 5221084 A JP5221084 A JP 5221084A JP 22108493 A JP22108493 A JP 22108493A JP H0772881 A JPH0772881 A JP H0772881A
- Authority
- JP
- Japan
- Prior art keywords
- pitch
- karaoke
- microphone
- signal
- singing
- 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.)
- Pending
Links
Landscapes
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、伴奏と模範歌唱が記録
されているメディアを用いるカラオケ装置に関するもの
である。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a karaoke apparatus using a medium in which accompaniment and model singing are recorded.
【0002】[0002]
【従来の技術】近年、カラオケ装置は、ユーザが歌を歌
い易いようにキーコントロール、残響音の付加など様々
な機能を搭載するようになってきている。2. Description of the Related Art In recent years, karaoke apparatuses have been equipped with various functions such as key control and addition of reverberation so that a user can easily sing a song.
【0003】キーコントロール機能を備えた従来のカラ
オケ装置としては、たとえば、特開平3−165484
号公報「カラオケ装置」がある。A conventional karaoke apparatus having a key control function is disclosed in, for example, Japanese Patent Laid-Open No. 3-165484.
There is a bulletin "Karaoke device".
【0004】以下、図面を参照しながら従来のカラオケ
装置について説明する。本従来例ではカラオケメディア
をレーザディスクとした場合について説明する。現在、
カラオケ用に市販されているレーザディスクのアナログ
音声は音声多重方式のものが多い。音声多重方式のディ
スクではアナログ左チャンネルに“伴奏”が、アナログ
右チャンネルに“伴奏+歌”が記録されている。また、
音声多重方式のレーザディスクのディジタル音声は、伴
奏がステレオで記録されている。A conventional karaoke apparatus will be described below with reference to the drawings. In this conventional example, a case where a karaoke medium is a laser disk will be described. Current,
Most of the analog voices of laser disks commercially available for karaoke are of a voice multiplex system. On the audio multiplex disc, "accompaniment" is recorded on the analog left channel, and "accompaniment + song" is recorded on the analog right channel. Also,
Accompaniment is recorded in stereo in the digital sound of the laser disc of the sound multiplex system.
【0005】図5は従来のカラオケ装置の構成を示すブ
ロック図である。カラオケメディア再生装置としてのレ
ーザディスク再生装置101は、レーザディスクに記録
された信号を再生する。先ほど説明した通り、音声多重
方式のディスクではアナログ左チャンネルに“伴奏”
が、アナログ右チャンネルに“伴奏+歌”が記録されて
いる。そこで、歌唱信号分離手段102はアナログ右チ
ャンネルの信号からアナログ左チャンネルの信号を引く
ことにより歌唱信号だけを取り出している。歌唱信号分
離手段102で分離されたレーザディスクの歌唱信号
は、A/D変換器103でディジタル信号に変換された
あと、第1のピッチ検出手段104で処理されて、ピッ
チデータとなる。このピッチ検出手段104の処理の詳
細は後で説明する。FIG. 5 is a block diagram showing the structure of a conventional karaoke apparatus. A laser disc reproducing device 101 as a karaoke media reproducing device reproduces a signal recorded on a laser disc. As explained earlier, in the audio multiplex type disc, "accompaniment" is applied to the analog left channel.
However, "accompaniment + song" is recorded on the analog right channel. Therefore, the singing signal separating means 102 extracts only the singing signal by subtracting the analog left channel signal from the analog right channel signal. The singing signal of the laser disk separated by the singing signal separating means 102 is converted into a digital signal by the A / D converter 103, and then processed by the first pitch detecting means 104 to become pitch data. Details of the processing of the pitch detecting means 104 will be described later.
【0006】一方、ユーザの歌を電気信号に変換してい
るマイクロホン105の出力信号はA/D変換器106
でディジタル信号に変換された後、第2のピッチ検出手
段107で処理されて、ピッチデータとなる。On the other hand, the output signal of the microphone 105 converting the user's song into an electric signal is an A / D converter 106.
After being converted into a digital signal by, the signal is processed by the second pitch detecting means 107 and becomes pitch data.
【0007】第1のピッチ検出手段104から出力され
るレーザディスクの歌唱信号のピッチデータと、第2の
ピッチ検出手段107から出力されるマイクロホン入力
の歌のピッチデータとは、比較手段108で比較され
る。比較方法についても後で説明する。The comparing means 108 compares the pitch data of the singing signal of the laser disk output from the first pitch detecting means 104 with the pitch data of the microphone input song output from the second pitch detecting means 107. To be done. The comparison method will be described later.
【0008】音程変換手段110,111は、それぞれ
レーザディスク再生装置101のディジタル音声のL,
Rチャンネルを入力する。そして、比較手段108での
比較結果が、マイクロホン入力の歌のピッチがカラオケ
メディアに記録されている歌のピッチよりも低いと云う
判定の場合には、音程を下げるように制御する。逆に、
マイクロホン入力の歌のピッチが高いと云う判定の場合
には、音程変換手段110,111が音程を上げるよう
に制御する。The pitch converting means 110 and 111 are L and L of the digital sound of the laser disk reproducing apparatus 101, respectively.
Input R channel. When the comparison result by the comparison means 108 indicates that the pitch of the song input by the microphone is lower than the pitch of the song recorded in the karaoke medium, the pitch is controlled to be lowered. vice versa,
When it is determined that the pitch of the song input by the microphone is high, the pitch converting means 110 and 111 control to raise the pitch.
【0009】音程変換手段110,111の出力信号と
A/D変換器106の出力信号とは、それぞれ加算器1
12,113で加算され、D/A変換器114,115
でアナログ信号に変換されたあと、出力端子116,1
17より出力される。The output signals of the pitch converting means 110 and 111 and the output signal of the A / D converter 106 are added by the adder 1 respectively.
12 and 113 are added, and D / A converters 114 and 115 are added.
After being converted into an analog signal by the output terminal 116, 1
It is output from 17.
【0010】本従来例ではピッチ検出手段104,10
7の一部分、音程変換手段110,111、および加算
器112,113をディジタルシグナルプロセッサ(以
下、DSPと称す)118で、また、ピッチ検出手段1
04,107の残りの部分と比較手段108をマイクロ
コンピュータ(以下、マイコンと称す)119で、それ
ぞれ実現する。DSPは、たとえば、LC83015
(三洋電機製)を用いることができる。LC83015
は各種信号処理プログラムを記憶させてあるROMを持
っている。このROMには音程変換プログラムも内蔵さ
れており、このプログラムで入力信号を処理すれば音程
変換を実施できる。また、マイコンはマシンサイクル2
50μsec程度の8bitのものでよい。In this conventional example, the pitch detecting means 104, 10
7, the pitch converting means 110 and 111, and the adders 112 and 113 by a digital signal processor (hereinafter referred to as DSP) 118, and the pitch detecting means 1
The remaining parts of 04 and 107 and the comparison means 108 are realized by a microcomputer (hereinafter, referred to as a microcomputer) 119. The DSP is, for example, LC83015.
(Manufactured by Sanyo Electric) can be used. LC83015
Has a ROM in which various signal processing programs are stored. This ROM also contains a pitch conversion program, and by processing an input signal with this program, pitch conversion can be performed. Also, the microcomputer is machine cycle 2
It may be an 8-bit one having a length of about 50 μsec.
【0011】次に、第1,第2のピッチ検出手段10
4,107について説明する。ピッチ検出手段のブロッ
ク図を図6に示す。ピッチ検出装置は、先ほど説明した
ように、DSP118とマイコン119で構成されてい
る。Next, the first and second pitch detecting means 10
4, 107 will be described. A block diagram of the pitch detecting means is shown in FIG. The pitch detection device is composed of the DSP 118 and the microcomputer 119, as described above.
【0012】まず、ピッチ検出手段の内DSP118が
分担する処理について説明する。帯域通過フィルタ60
1で歌声から検出対象となる周波数帯域成分を取り出
す。帯域通過フィルタ601の通過帯域は50Hz〜5
00Hz程度でよい。First, the processing shared by the DSP 118 of the pitch detecting means will be described. Bandpass filter 60
At 1, the frequency band component to be detected is extracted from the singing voice. The pass band of the band pass filter 601 is 50 Hz to 5 Hz.
It may be about 00 Hz.
【0013】つぎに、低域通過フィルタ602で高調波
成分を減衰させ、基本波を相対的に強調する。低域通過
フィルタの遮断周波数は100Hz程度である。Next, the low-pass filter 602 attenuates the harmonic components to relatively emphasize the fundamental wave. The cutoff frequency of the low-pass filter is about 100 Hz.
【0014】振幅検出器603は、帯域通過フィルタ6
01の出力を入力し、片側整流した信号を時定数100
msecでホールドする。The amplitude detector 603 includes a bandpass filter 6
01 output is input and the signal rectified on one side is time constant 100
Hold in msec.
【0015】図7は、本従来例におけるゼロクロス検出
・送出の処理手順を示すPAD図である。本従来例では
ピッチ検出手段107をLchに、104をRchに割
り当てて処理する。FIG. 7 is a PAD diagram showing a processing procedure of zero-cross detection / transmission in the conventional example. In this conventional example, the pitch detecting means 107 is assigned to Lch and 104 is assigned to Rch for processing.
【0016】ゼロクロス周期検出604では、サンプリ
ング周期ごとにゼロクロス周期カウンタをカウントアッ
プし(ステップ1)、現在のデータと1サンプル前のデ
ータとの符号が同じかどうかでゼロクロス点を判定する
(ステップ2)。ゼロクロス点であれば、そのときの対
応するチャンネルの振幅が基準値以上あるかどうか判定
する(ステップ3)。振幅が基準値以上の場合にはカウ
ント値を有効なゼロクロス周期(信号がゼロクロスする
間隔を標本化周期で表したもの)と判断し、このゼロク
ロス周期を送出バッファ(DSPのユーザーRAM内に
定義)に転送する(ステップ4)。この後、ゼロクロス
周期カウンタをリセットする(ステップ5)。ゼロクロ
ス検出はL,R独立に行うが処理は同じである。In the zero-cross cycle detection 604, the zero-cross cycle counter is counted up for each sampling cycle (step 1), and the zero-cross point is judged depending on whether the sign of the current data and the data of the sample one sample before is the same (step 2). ). If it is a zero-cross point, it is determined whether or not the amplitude of the corresponding channel at that time is equal to or larger than the reference value (step 3). If the amplitude is equal to or greater than the reference value, the count value is judged to be a valid zero-cross cycle (the interval at which the signal crosses zero is represented by the sampling cycle), and this zero-cross cycle is output to the buffer (defined in the DSP user RAM). (Step 4). After that, the zero-cross cycle counter is reset (step 5). Zero cross detection is performed independently for L and R, but the processing is the same.
【0017】SOレジスタは、DSP118が外部とシ
リアル通信を行うためのレジスタである。DSP118
がデータ転送中はSOレジスタが空でない。SOレジス
タが空(ステップ6)、かつ送出バッファにデータがあ
る場合(ステップ7)には、送出バッファのデータがS
Oレジスタに転送される(ステップ8)。SOレジスタ
にセットされたデータはマイコンからのクロックで読み
出される。この後、送出バッファをクリアする(ステッ
プ9)。マイコン119はデータ受信後周期検出処理を
行い、これが終了するとつぎのデータを受信可能とな
る。The SO register is a register for the DSP 118 to perform serial communication with the outside. DSP118
The SO register is not empty during data transfer. If the SO register is empty (step 6) and there is data in the output buffer (step 7), the data in the output buffer is S
It is transferred to the O register (step 8). The data set in the SO register is read by the clock from the microcomputer. After that, the sending buffer is cleared (step 9). After receiving the data, the microcomputer 119 performs the cycle detection process, and when this is completed, the next data can be received.
【0018】以上がピッチ検出の内DSP118が受け
持つ処理である。つぎに、マイコン119が受け持つ処
理について説明する。The above is the processing of which the DSP 118 is responsible for pitch detection. Next, the processing performed by the microcomputer 119 will be described.
【0019】マイコン119は、DSP118からのゼ
ロクロス周期を受信し、これをもとに周期を求める。The microcomputer 119 receives the zero-cross cycle from the DSP 118 and determines the cycle based on this.
【0020】周期検出は図6に示したように、つぎの4
つの部分(1)〜(4)から構成される。図9に周期検
出処理の手順のPADを示す。As shown in FIG. 6, the period detection is performed by the following 4
It is composed of two parts (1) to (4). FIG. 9 shows the PAD of the procedure of the cycle detection process.
【0021】(1)基本周期(pr0)検出605 図8は低域通過フィルタ602の出力波形の一例であ
る。図8は低域通過フィルタ出力に二次高調波の影響に
よるゼロクロスが残っている場合の波形例である。図6
を例にDSPから受信したゼロクロス周期(zc0)から
基本周期(pr0)を検出する過程を説明する。(1) Fundamental period (pr0) detection 605 FIG. 8 shows an example of the output waveform of the low pass filter 602. FIG. 8 shows an example of a waveform in the case where a zero cross remains due to the influence of the second harmonic on the output of the low pass filter. Figure 6
The process of detecting the basic period (pr0) from the zero-cross period (zc0) received from the DSP will be described with reference to FIG.
【0022】マイコン119はDSP118からのゼロ
クロス周期(zc0)を受信し、過去3つのゼロクロス周
期(zc2,zc4,zc6)と順に比較して比が一定の割合以内
であれば、そこまでのゼロクロス周期から基本周期(pr
0)を算出する。The microcomputer 119 receives the zero-cross cycle (zc0) from the DSP 118, compares it with the past three zero-cross cycles (zc2, zc4, zc6) in order, and if the ratio is within a certain ratio, the zero-cross cycle up to that point. To basic period (pr
0) is calculated.
【0023】基本周期検出アルゴリズムについて説明す
る。まず、DSP118からマイコン119へゼロクロ
ス周期(zc0)が転送される。この処理はマイコン側で
は外部割り込み処理となる。ゼロクロス周期は1回に2c
h分のデータが転送されるが、片方のチャンネルだけに
データがある場合には、データが無い方のチャンネルは
ダミーとして「0000」が転送されてくる。マイコンはデ
ータが「0000」であれば周期検出の処理を行わない(ス
テップ1)。ゼロクロスデータがある場合、まず、基本
周期検出フラグ(ZP)を仮にセットする(ステップ
2)。そして、基本周期(pr0)の候補として zc0+zc1
を吟味する(ステップ3)。もし、基本波成分だけでゼ
ロクロスが発生していれば、zc0+zc1 が基本周期(pr
0)となる。この場合には、zc0 と zc2 は隣あう波形の
負側の成分同志であるから、ほぼ同じ長さであることが
期待される。しかし、図8の波形の場合には zc0 と zc
2 の長さは大きく違っているので、zc0+zc1 が基本周期
である可能性は否定される(ステップ4)。The basic period detection algorithm will be described. First, the zero cross period (zc0) is transferred from the DSP 118 to the microcomputer 119. This processing is external interrupt processing on the microcomputer side. Zero cross cycle is 2c at a time
Although data for h is transferred, if only one channel has data, "0000" is transferred as a dummy to the channel having no data. If the data is "0000", the microcomputer does not perform cycle detection processing (step 1). When there is zero-cross data, first, the basic cycle detection flag (ZP) is temporarily set (step 2). Then, zc0 + zc1 as a candidate for the basic period (pr0)
Are examined (step 3). If a zero cross occurs only in the fundamental wave component, zc0 + zc1 is the fundamental period (pr
0). In this case, zc0 and zc2 are expected to have almost the same length, because they are components on the negative side of adjacent waveforms. However, in the case of the waveform in Fig. 8, zc0 and zc
Since the length of 2 is very different, the possibility that zc0 + zc1 is the fundamental period is denied (step 4).
【0024】つぎに、基本周期(pr0)の候補として zc
0+zc1+zc2+zc3 を吟味する(ステップ5)。先程と同様
に、 zc0 とzc4 とを比較すると、これらはほぼ同じと
見なせるので、基本周期(pr0)として zc0+zc1+zc2+zc
3 を採用する(ステップ6)。もし、zc0 と zc4 も大
幅に違っていれば zc0+zc1+zc2+zc3+zc4+zc5 を候補と
して(ステップ7) zc0 と zc6 を比較する(ステップ
8)。もし、この比較結果も大幅に違っていれば、基本
周期(pr0)検出はできなかったとして、基本周期検出
フラグ(ZP)をリセットする(ステップ9)。Next, zc is selected as a candidate for the basic period (pr0).
Examine 0 + zc1 + zc2 + zc3 (step 5). Similar to the previous case, when comparing zc0 and zc4, they can be regarded as almost the same, so zc0 + zc1 + zc2 + zc as the basic period (pr0)
Adopt 3 (step 6). If zc0 and zc4 are also significantly different, zc0 + zc1 + zc2 + zc3 + zc4 + zc5 is used as a candidate (step 7) and zc0 and zc6 are compared (step 8). If the comparison result is also significantly different, it is determined that the basic period (pr0) cannot be detected, and the basic period detection flag (ZP) is reset (step 9).
【0025】(2)平均周期検出606 検出された基本周期(pr0)を過去に検出された3つの
基本周期(pr1〜3)と比較し、これらすべての比が一定
の割合以内であるかどうかで誤抽出の判定を行う。誤抽
出でなければ、これら4つの基本周期を平均して平均周
期(apr0)とする。ここまでの処理はゼロクロス周期を
受信するたびに行う。(2) Average period detection 606 The detected basic period (pr0) is compared with the three previously detected basic periods (pr1 to 3), and whether or not all of these ratios are within a certain ratio Erroneous extraction is determined. If there is no erroneous extraction, these four basic cycles are averaged to obtain the average cycle (apr0). The processing up to this point is performed each time the zero-cross cycle is received.
【0026】平均周期検出処理は 図9のPADのステ
ップ10以後に相当する。まず、基本周期検出フラグに
より、今回のゼロクロス周期受信で基本周期が検出され
たかどうか判定する(ステップ10)。基本周期が検出
された場合には、基本周期バッファのシフトを行う(ス
テップ11)。すなわち、過去に検出された基本周期pr
0〜2をpr1〜3に順次シフトし、最新の基本周期をpr0と
する。そして、最新の基本周期(pr0)と過去3つの基
本周期(pr1〜pr3)を順に比較する(ステップ12〜1
4)。これらの比が一定の割合以内であれば、検出され
た基本周期が誤検出である可能性は低いので、これらの
基本周期を有効とみなし、平均周期を計算する(ステッ
プ15)。最後に、平均周期検出フラグをセットする
(ステップ16)。The average period detection processing corresponds to step 10 and subsequent steps of the PAD shown in FIG. First, it is determined by the basic cycle detection flag whether or not the basic cycle is detected in the current zero-cross cycle reception (step 10). When the basic period is detected, the basic period buffer is shifted (step 11). That is, the basic cycle pr detected in the past
0 to 2 are sequentially shifted to pr1 to 3, and the latest basic cycle is set to pr0. Then, the latest basic cycle (pr0) and the past three basic cycles (pr1 to pr3) are sequentially compared (steps 12 to 1).
4). If these ratios are within a certain ratio, it is unlikely that the detected basic cycle is an erroneous detection, so these basic cycles are regarded as valid and the average cycle is calculated (step 15). Finally, the average period detection flag is set (step 16).
【0027】(3)平均周期サンプリング607 マイコンは一定時間(10msec程度)ごとに平均周
期検出フラグがセットされているか調べ、セットされて
いる場合には平均周期をサンプルし、平均周期検出フラ
グをリセットする。そして、サンプルされた平均周期
(apr0)を前の平均周期(apr1)と比較し、この比が一
定の割合以内であればこの平均周期(apr0)を有効であ
るとする。有効である場合には平均周期をバッファ(ap
r1)に格納する。(3) Average period sampling 607 The microcomputer checks whether the average period detection flag is set at regular time intervals (about 10 msec), and if it is set, samples the average period and resets the average period detection flag. To do. Then, the sampled average period (apr0) is compared with the previous average period (apr1), and if this ratio is within a certain ratio, this average period (apr0) is regarded as valid. If enabled, average period is buffered (ap
r1).
【0028】(4)cent’値変換608 平均周期が有効と判定された場合には、平均周期(apr
0)から周波数を求め、さらに、cent'値に変換する。周
期t〔sec〕のときcent'値cは次式に示した通りで
ある。(4) Cent 'value conversion 608 If the average period is determined to be valid, the average period (apr
Calculate the frequency from 0) and convert it to the cent 'value. When the period is t [sec], the cent ′ value c is as shown in the following equation.
【0029】 c=1024*log2(t0/t),t0=1/55 変換方法は平均周期をインデックスとして、cent'値を
読み出す形式のテーブルを使う。このテーブルは平均周
期が短い場合にはcent'値の間隔が大きくなるため、平
均周期の刻み幅を小さくし、平均周期が長くなるにした
がって、刻み幅を段階的に大きくすると効率的である。C = 1024 * log 2 (t0 / t), t0 = 1/55 The conversion method uses a table of a format in which the cent ′ value is read using the average period as an index. In this table, when the average cycle is short, the interval between the cent 'values becomes large. Therefore, it is efficient to reduce the step size of the average cycle and increase the step size stepwise as the average cycle becomes longer.
【0030】以上がピッチ検出手段104,107につ
いての説明である。つぎに、比較手段108について説
明する。The above is the description of the pitch detecting means 104 and 107. Next, the comparison means 108 will be described.
【0031】ピッチ検出手段104,107は一定時間
(10msec)ごとに歌声のピッチを検出する。しか
し、ピッチが検出できない場合もある。さらに、検出さ
れた値は瞬時値であり、これらを直接比較するよりはあ
る程度の平均化を行う方が、処理が簡単になる。本従来
例ではピッチ検出手段104,107の両方がピッチを
検出した場合のデータだけを有効とし、この有効な場合
のデータを8回平均して音程変換手段110,111の
制御に用いる。The pitch detecting means 104 and 107 detect the pitch of a singing voice at regular intervals (10 msec). However, there are cases where the pitch cannot be detected. Furthermore, the detected values are instantaneous values, and averaging to some extent makes the processing easier than directly comparing them. In this conventional example, only the data when both the pitch detecting means 104 and 107 detect the pitch are valid, and the data in the valid case are averaged eight times and used for the control of the pitch converting means 110 and 111.
【0032】比較手段108の処理手順のPADを図1
0に示す。まず、ピッチ検出手段104,107が両方
共ピッチを検出したかどうか判定する(ステップ1)。
両方とも検出した場合には、ピッチ検出手段104の検
出結果すなわちマイクロホン105から入力された歌声
のピッチをピッチ累算用変数scLに、107の検出結
果すなわちレーザディスクに記録された歌声のピッチを
scRに加算する(ステップ2)。また、カウンタ変数
iを1増やす(ステップ3)。つぎに、カウンタ変数i
が8に達したかどうか判定する(ステップ4)。カウン
タ変数iが8に達している場合には平均処理と判定を行
い、判定結果に応じて音程変換手段110,111の制
御を行う。まず、scLを1/8して平均ピッチnwc
Lを求める。同様に、1/8・scRをnwcRとする
(ステップ5)。この後、scL,scR,iを0クリ
アする(ステップ6)。音程変換手段110,111が
すでに音程変換を行っている場合にはnwcRに現在の
音程変化値key〔cent'〕を加算して補正を行う(ス
テップ7)。この後、nwcLからnwcRを引いてピ
ッチ検出結果の誤差keyerrを求める。The PAD of the processing procedure of the comparison means 108 is shown in FIG.
It shows in 0. First, it is determined whether both pitch detecting means 104 and 107 have detected pitch (step 1).
When both are detected, the detection result of the pitch detection means 104, that is, the pitch of the singing voice input from the microphone 105 is set in the variable acL for pitch accumulation, and the detection result of 107, that is, the pitch of the singing voice recorded in the laser disk is scR. To (step 2). Also, the counter variable i is incremented by 1 (step 3). Next, the counter variable i
Is reached (step 4). When the counter variable i reaches 8, averaging processing and determination are performed, and the pitch converting means 110 and 111 are controlled according to the determination result. First, scL is ⅛ and the average pitch nwc
Find L. Similarly, 1/8 · scR is set to nwcR (step 5). Then, scL, scR, i are cleared to 0 (step 6). When the pitch converting means 110 and 111 have already converted the pitch, the current pitch change value key [cent '] is added to nwcR to perform the correction (step 7). After that, nwcR is subtracted from nwcL to obtain the error keyerr of the pitch detection result.
【0033】誤差keyerrはcent’値である。
したがって、1オクターブ以上の誤差があるときには±
1024以上となる。しかし、音程の誤差として有効な
のは誤差の1024の剰余成分である。さらに、+51
2〔cent'〕と−512〔cent'〕は、実は同じ音程とな
る。以上のことから、keyerrの下位10bitを
2の補数表示として扱えば、ピッチ検出手段104,1
07の差は±512〔cent'〕の範囲とみなせる。The error keyerr is a cent 'value.
Therefore, if there is an error of 1 octave or more,
It will be 1024 or more. However, 1024 residual components of the error are effective as the pitch error. Furthermore, +51
2 [cent '] and -512 [cent'] actually have the same pitch. From the above, if the lower 10 bits of keyerr are treated as a 2's complement display, the pitch detection means 104, 1
The difference of 07 can be regarded as within a range of ± 512 [cent '].
【0034】比較手段108の比較結果に応じて動作す
る音程変換手段110,111は、マイクロホン入力の
歌のピッチがカラオケメディアに記録されている歌のピ
ッチよりも低いと云う判定結果の場合には、音程変換手
段110,111は音程を下げるように制御する。逆
に、マイクロホン入力の歌のピッチが高いと云う判定結
果の場合には、音程変換手段110,111が音程を上
げるように制御する。The pitch converting means 110 and 111, which operate according to the comparison result of the comparing means 108, determine that the pitch of the song input by the microphone is lower than the pitch of the song recorded in the karaoke medium. The pitch converting means 110 and 111 control so as to lower the pitch. On the contrary, in the case of the determination result that the pitch of the song input by the microphone is high, the pitch converting means 110 and 111 control so as to raise the pitch.
【0035】例えば、keyerrが基準値KERMA
Xよりも大きい場合(ステップ9)には音程変換手段1
10,111の音程変化量keyを上げ(ステップ1
0)、逆にkeyerrが基準値KERMINよりも小
さい場合(ステップ11)には、音程変化量keyを下
げる(ステップ12)ような係数を音程変換手段11
0,111に送る。KERMAX,KERMINはそれ
ぞれ±50〔cent'〕、音程変化量の1回あたりの変化
幅Δkeyは5〔cent'〕程度が適当である。このよう
なパラメータ設定にすることにより、歌のタイミングず
れなどの瞬時的影響を排除でき、さらに音程変化をなめ
らかなものとすることで、歌を歌いやすくすることがで
きる。For example, keyerr is the reference value KERMA
If it is larger than X (step 9), the pitch converting means 1
Increase the pitch change key of 10,111 (step 1
0), conversely, when the keyer is smaller than the reference value KERMIN (step 11), the pitch converting means 11 reduces the pitch change amount key (step 12).
Send to 0,111. It is suitable that KERMAX and KERMIN are each ± 50 [cent '], and the change width Δkey of each pitch change amount is about 5 [cent']. By setting the parameters as described above, it is possible to eliminate an instantaneous influence such as a timing deviation of the song, and to make the pitch change smooth so that the song can be easily sung.
【0036】[0036]
【発明が解決しようとする課題】以上のような従来の構
成では、ユーザの歌い方の癖によってはキーコントロー
ラの制御が収束しない場合が有り得るという問題点があ
る。たとえば、音楽的な訓練を十分受けていないユーザ
の中には、伴奏を聞きながら歌うと、伴奏よりもわずか
に低く歌う人が多い。逆に、歌を上手く聞かせるテクニ
ックとして、伴奏よりもわずかに高めの音程で歌う人も
いる。このようなユーザが従来例で示したカラオケ装置
で歌を歌うと、キーコントローラがキーを上げる、また
は下げる方向に変化し続け、かえって歌いにくくなって
しまう場合がある。However, the conventional configuration as described above has a problem in that the control of the key controller may not converge depending on the habit of the user singing. For example, many users who do not have sufficient musical training sing a little lower than the accompaniment when they sing while listening to the accompaniment. On the other hand, some people sing a slightly higher pitch than the accompaniment as a technique for listening to the song well. When such a user sings a song with the karaoke apparatus shown in the conventional example, the key controller may continue to change in the direction of raising or lowering the key, which may make it difficult to sing.
【0037】本発明は、上記問題点に鑑み、キーコント
ローラの音程変化範囲を制限して伴奏の音程が変化し続
けるのを防止するカラオケ装置を提供することを目的と
する。In view of the above problems, it is an object of the present invention to provide a karaoke device which limits the pitch change range of the key controller to prevent the pitch of the accompaniment from continuing to change.
【0038】[0038]
【課題を解決するための手段】上記問題点を解決するた
め、本発明のカラオケ装置は、カラオケメディアを再生
するカラオケメディア再生装置と、前記カラオケメディ
ア再生装置が出力する歌唱信号の音程を検出する第1の
ピッチ検出手段と、利用者の音声信号を検出するマイク
ロホンと、前記マイクロホンの出力信号の音程を検出す
る第2のピッチ検出手段と、前記第1,第2のピッチ検
出手段の両出力信号を互いに比較する比較手段と、前記
比較手段の比較結果を入力する音程変換手段制御手段
と、前記カラオケメディア再生装置の出力信号を前記音
程変換手段制御手段の出力信号で制御して音程を変更す
る音程変換手段と、前記音程変換手段の出力信号と前記
マイクロホンの出力信号とを加算する加算手段とを設け
たことを特徴とする。In order to solve the above problems, a karaoke device of the present invention detects a karaoke media reproducing device for reproducing karaoke media and a pitch of a singing signal output by the karaoke media reproducing device. First pitch detecting means, a microphone for detecting a voice signal of a user, second pitch detecting means for detecting a pitch of an output signal of the microphone, and both outputs of the first and second pitch detecting means. The comparing means for comparing the signals with each other, the pitch converting means controlling means for inputting the comparison result of the comparing means, and the output signal of the karaoke media reproducing device are controlled by the output signal of the pitch converting means controlling means to change the pitch. And a adding means for adding the output signal of the pitch converting means and the output signal of the microphone.
【0039】また、本発明のカラオケ装置は、カラオケ
メディアを再生するカラオケメディア再生装置と、前記
カラオケメディア再生装置の出力信号から歌唱信号を分
離する歌唱信号分離手段と、前記歌唱信号分離手段が出
力する歌唱信号の音程を検出する第1のピッチ検出手段
と、利用者の音声信号を検出するマイクロホンと、前記
マイクロホンの出力信号の音程を検出する第2のピッチ
検出手段と、前記第1,第2のピッチ検出手段の出力信
号を互いに比較する比較手段と、前記比較手段の比較結
果を入力する音程変換手段制御手段と、前記カラオケメ
ディア再生装置の出力信号を前記音程変換手段制御手段
の出力信号で制御して音程を変更する音程変換手段と、
前記音程変換手段の出力信号と前記マイクロホンの出力
信号とを加算する加算手段とを設けたことを特徴とす
る。Further, in the karaoke apparatus of the present invention, the karaoke media reproducing apparatus for reproducing the karaoke media, the singing signal separating means for separating the singing signal from the output signal of the karaoke media reproducing apparatus, and the singing signal separating means output. First pitch detecting means for detecting the pitch of the singing signal to be played, a microphone for detecting the user's voice signal, second pitch detecting means for detecting the pitch of the output signal of the microphone, and the first and the first pitch detecting means. Comparing means for comparing the output signals of the two pitch detecting means with each other, pitch converting means controlling means for inputting the comparison result of the comparing means, and output signal of the karaoke media reproducing device for outputting output signals of the pitch converting means controlling means. Pitch conversion means to control the pitch by changing with
It is characterized in that an adding means for adding the output signal of the pitch converting means and the output signal of the microphone is provided.
【0040】[0040]
【作用】上記の構成により、カラオケを歌いながら第1
のピッチ検出手段でカラオケメディアに記録されている
歌のピッチを検出し、第2のピッチ検出手段でマイクロ
ホンに入力される歌のピッチを検出する。第1のピッチ
検出手段と第2のピッチ検出手段の出力信号を比較手段
で比較し、マイクロホンに入力される歌のピッチがカラ
オケメディアに記録されている歌のピッチに比べて高
い、または低い場合、その度合いに応じて音程変換手段
によりカラオケメディアに記録されている信号の音程を
あらかじめ制限した範囲内で変化させる。[Operation] With the above configuration, the first singing karaoke
The pitch detecting means detects the pitch of the song recorded in the karaoke medium, and the second pitch detecting means detects the pitch of the song input to the microphone. When the output signals of the first pitch detection means and the second pitch detection means are compared by the comparison means, and the pitch of the song input to the microphone is higher or lower than the pitch of the song recorded in the karaoke medium. The pitch of the signal recorded in the karaoke medium is changed within a range limited in advance by the pitch converting means according to the degree.
【0041】また、カラオケメディアに歌声だけが単独
で記録されていない場合にも上記と同様に音程を変化さ
せることができる。Also, when only the singing voice is not recorded alone in the karaoke medium, the pitch can be changed in the same manner as above.
【0042】[0042]
【実施例】以下、図面に基づき本発明の説明を行う。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.
【0043】図1は本発明の第1の実施例のカラオケ装
置の構成を示すブロック図である。カラオケメディア再
生装置としてのレーザディスク再生装置101は、レー
ザディスクに記録された信号を再生する。従来例と同様
に、歌唱信号分離手段102はアナログ右チャンネルの
信号からアナログ左チャンネルの信号を引くことにより
歌唱信号だけを取り出している。歌唱信号分離手段10
2で分離されたレーザディスクの歌唱信号は、A/D変
換器103でディジタル信号に変換されたあと、第1の
ピッチ検出手段104で処理されて、ピッチデータとな
る。このピッチ検出手段104の処理の詳細は従来例と
同様である。FIG. 1 is a block diagram showing the structure of a karaoke apparatus according to the first embodiment of the present invention. A laser disc reproducing device 101 as a karaoke media reproducing device reproduces a signal recorded on a laser disc. Similar to the conventional example, the singing signal separating means 102 extracts only the singing signal by subtracting the analog left channel signal from the analog right channel signal. Singing signal separation means 10
The singing signal of the laser disc separated in 2 is converted into a digital signal by the A / D converter 103, and then processed by the first pitch detecting means 104 to become pitch data. Details of the processing of the pitch detecting means 104 are the same as those of the conventional example.
【0044】一方、ユーザの歌を電気信号に変換してい
るマイクロホン105の出力信号はA/D変換器106
でディジタル信号に変換された後、第2のピッチ検出手
段107で処理されて、ピッチデータとなる。On the other hand, the output signal of the microphone 105 converting the user's song into an electric signal is the A / D converter 106.
After being converted into a digital signal by, the signal is processed by the second pitch detecting means 107 and becomes pitch data.
【0045】第1のピッチ検出手段104から出力され
るレーザディスクの歌唱信号のピッチデータと、第2の
ピッチ検出手段107から出力されるマイクロホン入力
の歌のピッチデータとは、比較手段108で比較され
る。比較方法についても従来例と同様である。比較結果
は音程変換手段制御手段109に入力され、音程変換手
段制御手段109はこの結果に応じた制御信号を音程変
換手段110,111へ送る。制御の詳細は後で説明す
る。The comparing means 108 compares the pitch data of the singing signal of the laser disk output from the first pitch detecting means 104 with the pitch data of the microphone input song output from the second pitch detecting means 107. To be done. The comparison method is the same as in the conventional example. The comparison result is input to the pitch conversion means control means 109, and the pitch conversion means control means 109 sends a control signal corresponding to this result to the pitch conversion means 110, 111. Details of the control will be described later.
【0046】音程変換手段110,111は、それぞれ
レーザディスク再生装置101のディジタル音声のL,
Rチャンネルを入力する。そして、制御信号に応じて音
程を上げるまたは下げる操作を実行する。The pitch converting means 110 and 111 are L and L of digital audio of the laser disk reproducing apparatus 101, respectively.
Input R channel. Then, the operation of raising or lowering the pitch is executed according to the control signal.
【0047】音程変換手段110,111の出力信号と
A/D変換器106の出力信号とは、それぞれ加算器1
12,113で加算され、D/A変換器114,115
でアナログ信号に変換されたあと、出力端子116,1
17より出力される。The output signals of the pitch converting means 110 and 111 and the output signal of the A / D converter 106 are added by the adder 1 respectively.
12 and 113 are added, and D / A converters 114 and 115 are added.
After being converted into an analog signal by the output terminal 116, 1
It is output from 17.
【0048】本実施例では、従来例と同様に、ピッチ検
出手段104,107の一部分、音程変換手段110,
111、および加算器112,113をDSP118
で、また、ピッチ検出手段104,107の残りの部分
と比較手段108、音程変換手段制御手段109をマイ
コン119で、それぞれ実現する。In this embodiment, similarly to the conventional example, a part of the pitch detecting means 104, 107, the pitch converting means 110,
111 and the adders 112 and 113 to the DSP 118
The microcomputer 119 realizes the remaining parts of the pitch detecting means 104 and 107, the comparing means 108, and the pitch converting means controlling means 109, respectively.
【0049】つぎに、音程変換手段制御手段109につ
いて説明する。図2は音程変換手段制御手段109の処
理を説明するためのPAD図である。図2は図10に示
した比較手段108の処理手順のPAD図のステップ8
以後の処理を置き換えるものである。比較結果keye
rrが得られたら(ステップ1)これを評価する。ke
yerrが基準値KERMAXよりも大きい場合(ステ
ップ2)には、音程変換手段110,111の現在の音
程変化量keyに変化幅Δkeyを加えたものが音程変
化上限値KEYMAXよりも小さいかどうか判定する
(ステップ3)。小さい場合には、現在の音程変化量k
eyに変化幅Δkeyを加えたものをつぎの音程変化量
として音程変換手段110,111を制御する(ステッ
プ4)。逆に、keyerrが基準値KERMINより
も小さい場合(ステップ5)には、現在の音程変化量k
eyから変化幅Δkeyを引いたものが音程変化下限値
KEYMINよりも大きいかどうか判定する(ステップ
6)。大きい場合には、現在の音程変化量keyから変
化幅Δkeyを引いたものをつぎの音程変化量として音
程変換手段110,111を制御する(ステップ7)。
KERMAX,KERMINはそれぞれ±50〔cen
t'〕、音程変化量の1回あたりの変化幅Δkeyは5
〔cent'〕程度が適当である。このようなパラメータ設
定にすることにより、音程変化をなめらかなものとする
ことで、歌を歌いやすくすることができる。音程変化上
限値KEYMAX,音程変化下限値KEYMINは、た
とえば、いちばん最初の音程変化値key0を中心に±
300〔cent'〕程度に設定する。また、音程変化上限
値KEYMAX,音程変化下限値KEYMINは、音程
変換手段の変化限界にも規制される。Next, the pitch converting means controlling means 109 will be described. FIG. 2 is a PAD diagram for explaining the processing of the pitch converting means control means 109. 2 is a step 8 of the PAD diagram of the processing procedure of the comparing means 108 shown in FIG.
It replaces the subsequent processing. Comparison result keye
When rr is obtained (step 1), it is evaluated. ke
When yerr is larger than the reference value KERMAX (step 2), it is determined whether or not a value obtained by adding the change width Δkey to the current pitch change amount key of the pitch converting means 110 and 111 is smaller than the pitch change upper limit value KEYMAX. (Step 3). If it is small, the current pitch change amount k
The pitch conversion means 110 and 111 are controlled by using the value obtained by adding the change width Δkey to ey as the next pitch change amount (step 4). On the contrary, when the keyerr is smaller than the reference value KERMIN (step 5), the current pitch change amount k
It is determined whether or not a value obtained by subtracting the change width Δkey from ey is larger than the pitch change lower limit value KEYMIN (step 6). If it is larger, the pitch conversion means 110 and 111 are controlled by using the current pitch change amount key minus the change width Δkey as the next pitch change amount (step 7).
KERMAX and KERMIN are ± 50 [cen
t '], the change width Δkey of the pitch change amount per time is 5
[Cent '] degree is appropriate. By setting the parameters as described above, the pitch change can be made smooth, so that the song can be easily sung. The pitch change upper limit value KEYMAX and the pitch change lower limit value KEYMIN are, for example, ± with respect to the first pitch change value key0.
Set to about 300 [cent ']. The pitch change upper limit value KEYMAX and the pitch change lower limit value KEYMIN are also regulated by the change limit of the pitch converting means.
【0050】以上が音程変換手段制御手段の説明であ
る。なお、第1の実施例では音程変化上限値、下限値を
定数としているが、ユーザが設定できるようにしても良
い。The above is the description of the pitch converting means controlling means. In the first embodiment, the pitch change upper limit value and the lower limit value are constants, but they may be set by the user.
【0051】以上のように本発明の第1の実施例によれ
ば、比較的簡単な方法で音程変化手段の変化範囲を制御
できる。As described above, according to the first embodiment of the present invention, the change range of the pitch changing means can be controlled by a relatively simple method.
【0052】以下、図面に基づき本発明の第2の実施例
の説明を行う。本発明の第2の実施例のカラオケ装置の
構成は図1に示した第1の実施例と同様である。また、
音程変換手段制御手段109を除く各部分の動作も第1
の実施例と同様である。The second embodiment of the present invention will be described below with reference to the drawings. The structure of the karaoke apparatus of the second embodiment of the present invention is the same as that of the first embodiment shown in FIG. Also,
The operation of each part except the pitch converting means control means 109 is also the first
It is similar to the embodiment of.
【0053】つぎに、第2の実施例の音程変換手段制御
手段109について説明する。図3は第2の実施例にお
ける音程変換手段制御手段109の処理を説明するため
のPAD図である。図3は図10に示した比較手段10
8の処理手順のPAD図のステップ8以後の処理を置き
換えるものである。Next, the pitch conversion means control means 109 of the second embodiment will be described. FIG. 3 is a PAD diagram for explaining the processing of the pitch converting means control means 109 in the second embodiment. FIG. 3 shows the comparison means 10 shown in FIG.
The process after step 8 of the PAD diagram of the process procedure of 8 is replaced.
【0054】比較結果keyerrが得られたら(ステ
ップ1)、この絶対値を定数SCLで割って変化幅Δk
eyとする(ステップ2)。keyerrは2の補数で
表されているから、符号ビットとそれ以外の各ビットの
排他的論理和を取り、符号ビットを強制的に0にすれば
絶対値が得られる。割算は右ビットシフトを利用すると
簡単である。シフト量は6〜10ビット程度が適当であ
る。つぎに比較結果keyerrを評価する。例えば、
keyerrが基準値KERMAXよりも大きい場合
(ステップ3)には、音程変換手段110,111の現
在の音程変化量keyに変化幅Δkeyを加えたものが
音程変化上限値KEYMAXよりも小さいかどうか判定
する(ステップ4)。小さい場合には、現在の音程変化
量keyに変化幅Δkeyを加えたものをつぎの音程変
化量として(ステップ5)、小さくない場合には、KE
YMAXをつぎの音程変化量として音程変換手段11
0,111を制御する(ステップ6)。逆に、keye
rrが基準値KERMINよりも小さい場合(ステップ
7)には、現在の音程変化量keyから変化幅Δkey
を引いたものが音程変化下限値KEYMINよりも大き
いかどうか判定する(ステップ8)。大きい場合には、
現在の音程変化量keyから変化幅Δkeyを引いたも
のをつぎの音程変化量として(ステップ9)、大きくな
い場合には、KEYMINをつぎの音程変化量として、
音程変換手段110,111を制御する(ステップ1
0)。KERMAX,KERMINはそれぞれ±50
〔cent'〕程度が適当である。このようなパラメータ設
定にすることにより、音程変化をなめらかなものとする
ことで、歌を歌いやすくすることができる。音程変化上
限値KEYMAX,音程変化下限値KEYMINは、た
とえば、いちばん最初の音程変化値key0を中心に±
300〔cent'〕程度に設定する。また、音程変化上限
値KEYMAX,音程変化下限値KEYMINは、音程
変換手段の変化限界にも規制される。When the comparison result keyerr is obtained (step 1), this absolute value is divided by the constant SCL and the change width Δk.
ey (step 2). Since the keyer is represented by a two's complement, the absolute value can be obtained by taking the exclusive OR of the sign bit and each bit other than that and forcibly setting the sign bit to 0. Division is easy if right bit shift is used. A shift amount of about 6 to 10 bits is suitable. Next, the comparison result keyerr is evaluated. For example,
When the keyer is larger than the reference value KERMAX (step 3), it is determined whether or not the current pitch change amount key of the pitch converting means 110 and 111 plus the change width Δkey is smaller than the pitch change upper limit value KEYMAX. (Step 4). If it is small, the current pitch change amount key plus the change width Δkey is set as the next pitch change amount (step 5). If not, KE
Pitch conversion means 11 with YMAX as the next pitch change amount
Controls 0 and 111 (step 6). Conversely, keye
When rr is smaller than the reference value KERMIN (step 7), the change width Δkey is calculated from the current pitch change amount key.
Is subtracted from the pitch change lower limit value KEYMIN (step 8). If larger,
The current pitch change amount key minus the change width Δkey is set as the next pitch change amount (step 9). If not, KEYMIN is set as the next pitch change amount.
Controls the pitch converting means 110, 111 (step 1
0). KERMAX and KERMIN are ± 50 each
[Cent '] degree is appropriate. By setting the parameters as described above, the pitch change can be made smooth, so that the song can be easily sung. The pitch change upper limit value KEYMAX and the pitch change lower limit value KEYMIN are, for example, ± with respect to the first pitch change value key0.
Set to about 300 [cent ']. The pitch change upper limit value KEYMAX and the pitch change lower limit value KEYMIN are also regulated by the change limit of the pitch converting means.
【0055】以上が第2の実施例における音程変換手段
制御手段の説明である。以上のように本発明の第2の実
施例によれば、一定の変化範囲の中で音程比較結果に応
じた速さで音程変化手段を制御する事ができる。The above is the description of the pitch converting means controlling means in the second embodiment. As described above, according to the second embodiment of the present invention, it is possible to control the pitch changing means at a speed corresponding to the pitch comparison result within a fixed change range.
【0056】以下、図面に基づき本発明の第3の実施例
の説明を行う。本発明の第3の実施例のカラオケ装置の
構成は図1に示した第1の実施例と同様である。また、
音程変換手段制御手段109を除く各部分の動作も第1
の実施例と同様である。The third embodiment of the present invention will be described below with reference to the drawings. The structure of the karaoke apparatus of the third embodiment of the present invention is the same as that of the first embodiment shown in FIG. Also,
The operation of each part except the pitch converting means control means 109 is also the first
It is similar to the embodiment of.
【0057】つぎに、第3の実施例の音程変換手段制御
手段109について説明する。図4は第3の実施例にお
ける音程変換手段制御手段109の処理を説明するため
のPAD図である。図4は図10に示した比較手段10
8の処理手順のPAD図のステップ8以後の処理を置き
換えるものである。Next, the pitch conversion means control means 109 of the third embodiment will be described. FIG. 4 is a PAD diagram for explaining the processing of the pitch converting means controlling means 109 in the third embodiment. FIG. 4 shows the comparison means 10 shown in FIG.
The process after step 8 of the PAD diagram of the process procedure of 8 is replaced.
【0058】比較結果keyerrが得られたら(ステ
ップ1)、音程変化上限値KEYMAXから、現在の音
程変化量keyと音程変化量の初期値key0との差の
絶対値を引き、これを定数SCLで割り、これを変化幅
Δkeyとする(ステップ2)。この操作により、現在
の音程変化値keyが音程変化初期値key0に近いと
きは音程変化幅Δkeyが大きく、逆に、現在の音程変
化値keyが音程変化初期値key0から遠いときは音
程変化幅Δkeyが小さくなる。つぎに、比較結果ke
yerrを評価する。例えば、keyerrが基準値K
ERMAXよりも大きい場合(ステップ3)には、音程
変換手段110,111の現在の音程変化量keyに変
化幅Δkeyを加えたものが音程変化上限値KEYMA
Xよりも小さいかどうか判定する(ステップ4)。小さ
い場合には、現在の音程変化量keyに変化幅Δkey
を加えたものをつぎの音程変化量として、音程変換手段
110,111を制御する(ステップ5)。逆に、ke
yerrが基準値KERMINよりも小さい場合(ステ
ップ6)には、現在の音程変化量keyから変化幅Δk
eyを引いたものが音程変化下限値KEYMINよりも
大きいかどうか判定する(ステップ7)。大きい場合に
は、現在の音程変化量keyから変化幅Δkeyを引い
たものをつぎの音程変化量として、音程変換手段11
0,111を制御する(ステップ8)。KERMAX,
KERMINはそれぞれ±50〔cent'〕程度が適当で
ある。このようなパラメータ設定にすることにより、音
程変化をなめらかなものとすることで、歌を歌いやすく
することができる。音程変化上限値KEYMAX,音程
変化下限値KEYMINは、たとえば、いちばん最初の
音程変化値key0を中心に±300〔cent'〕程度に
設定する。また、音程変化上限値KEYMAX,音程変
化下限値KEYMINは、音程変換手段の変化限界にも
規制される。When the comparison result keyerr is obtained (step 1), the absolute value of the difference between the current pitch change amount key and the initial pitch change amount key0 is subtracted from the pitch change upper limit value KEYMAX, and this is set as a constant SCL. Then, this is set as the change width Δkey (step 2). By this operation, the pitch change width Δkey is large when the current pitch change value key is close to the pitch change initial value key0, and conversely, when the current pitch change value key is far from the pitch change initial value key0. Becomes smaller. Next, the comparison result ke
Evaluate yerr. For example, keyerr is the reference value K
If it is larger than ERMAX (step 3), the pitch change upper limit value KEYMA is obtained by adding the change width Δkey to the current pitch change amount key of the pitch converting means 110, 111.
It is determined whether it is smaller than X (step 4). If it is small, the change width Δkey is added to the current pitch change amount key.
Then, the pitch conversion means 110 and 111 are controlled with the addition of the above as the next pitch change amount (step 5). Conversely, ke
If yerr is smaller than the reference value KERMIN (step 6), the change width Δk from the current pitch change key.
It is determined whether or not the value obtained by subtracting ey is larger than the pitch change lower limit value KEYMIN (step 7). When the pitch is large, the pitch conversion means 11 calculates the next pitch change amount by subtracting the change width Δkey from the current pitch change amount key.
Controls 0 and 111 (step 8). KERMAX,
KERMIN is preferably about ± 50 [cent ']. By setting the parameters as described above, the pitch change can be made smooth, so that the song can be easily sung. The pitch change upper limit value KEYMAX and the pitch change lower limit value KEYMIN are set to, for example, about ± 300 [cent '] around the first pitch change value key0. The pitch change upper limit value KEYMAX and the pitch change lower limit value KEYMIN are also regulated by the change limit of the pitch converting means.
【0059】以上が第3の実施例における音程変換手段
制御手段の説明である。以上のように本発明の第3の実
施例によれば、一定の変化範囲の中で音程変化が音程変
化初期値に近いときには速く、遠くなるにしたがってゆ
っくりと音程変化手段を制御する事ができる。The above is the description of the pitch converting means controlling means in the third embodiment. As described above, according to the third embodiment of the present invention, the pitch changing means can be controlled quickly when the pitch change is close to the pitch change initial value within the constant change range, and slowly as the pitch changes. .
【0060】カラオケメディアとしては様々なものが市
販されている。本実施例では音声多重方式レーザディス
クのアナログ音声を例に説明したが、この他にも、通常
のステレオ録音されたコンパクトディスク,コンパクト
テープ,音声多重カラオケ方式のコンパクトディスク,
コンパクトテープなどのカラオケメディアがある。Various karaoke media are commercially available. In the present embodiment, the analog audio of the audio multiplex type laser disk is described as an example, but in addition to this, a normal stereo-recorded compact disk, a compact tape, an audio multiplex karaoke type compact disk,
There are karaoke media such as compact tapes.
【0061】通常のステレオ録音されたコンパクトディ
スク(またはコンパクトテープ)を用いて、左チャンネ
ル,右チャンネルの音声帯域の同相成分を打ち消すこと
で伴奏音だけを取り出してカラオケにすることができる
カラオケ装置もある。このような場合には歌唱信号分離
手段102は、左チャンネルと右チャンネルの音声帯域
の成分を加算することにより歌唱信号を取り出すことが
できる。There is also a karaoke apparatus which can take out only the accompaniment sound to make karaoke by canceling the in-phase component of the sound band of the left channel and the right channel by using a normal stereo-recorded compact disc (or compact tape). is there. In such a case, the singing signal separating means 102 can extract the singing signal by adding the components of the audio bands of the left channel and the right channel.
【0062】音声多重カラオケ方式のコンパクトディス
ク,コンパクトテープでは、左チャンネルに伴奏信号
が、右チャンネルに歌唱信号が記録されている。このよ
うな音声多重カラオケ方式のコンパクトディスク,コン
パクトテープを使用する場合には歌唱信号分離手段10
2は不要である。In the audio multiplex karaoke compact disc and compact tape, an accompaniment signal is recorded in the left channel and a singing signal is recorded in the right channel. In the case of using such a voice multiplexed karaoke type compact disc or compact tape, the singing signal separating means 10 is used.
2 is unnecessary.
【0063】[0063]
【発明の効果】以上のように、本発明は、第1,第2の
ピッチ検出手段によりカラオケメディアに記録されてい
る歌唱信号のピッチと、マイクロホンから入力されるユ
ーザの歌唱信号のピッチを検出し、これらを比較手段で
比較して、これら2つの信号のピッチが異なる場合に
は、音程変換手段制御手段の制御により音程変換手段で
カラオケメディアの出力信号をあらかじめ制限された範
囲内で自動的に音程変換することができ、ユーザが容易
に歌える音程に修正できるという実用上優れた効果を有
するものである。As described above, according to the present invention, the pitch of the singing signal recorded in the karaoke medium and the pitch of the singing signal of the user input from the microphone are detected by the first and second pitch detecting means. However, if these two signals are compared with each other and the pitches of these two signals are different, the pitch conversion means automatically controls the output signal of the karaoke medium within a limited range by the pitch conversion means under the control of the pitch conversion means control means. It has a practically excellent effect that the pitch can be converted into a pitch and the pitch can be easily corrected by the user.
【図1】本発明の第1,第2,第3の実施例のカラオケ
装置の構成を示すブロック図FIG. 1 is a block diagram showing a configuration of a karaoke device according to first, second and third embodiments of the present invention.
【図2】同第1の実施例の音程変換手段制御手段の処理
手順を示すPAD図FIG. 2 is a PAD diagram showing a processing procedure of a pitch converting means controlling means of the first embodiment.
【図3】同第2の実施例の音程変換手段制御手段の処理
手順を示すPAD図FIG. 3 is a PAD diagram showing a processing procedure of a pitch converting means controlling means of the second embodiment.
【図4】同第3の実施例の音程変換手段制御手段の処理
手順を示すPAD図FIG. 4 is a PAD diagram showing a processing procedure of a pitch converting means controlling means of the third embodiment.
【図5】従来のカラオケ装置の構成を示すブロック図FIG. 5 is a block diagram showing a configuration of a conventional karaoke device.
【図6】従来のカラオケ装置における第1,第2のピッ
チ検出手段の内部構成例を示すブロック図FIG. 6 is a block diagram showing an internal configuration example of first and second pitch detecting means in a conventional karaoke apparatus.
【図7】従来のカラオケ装置におけるゼロクロス検出・
送出の処理手順を示すPAD図FIG. 7 Zero-cross detection in a conventional karaoke device
PAD diagram showing the sending procedure
【図8】低域通過フィルタ602の出力の一例を示す波
形図FIG. 8 is a waveform diagram showing an example of the output of a low pass filter 602.
【図9】従来のカラオケ装置における周期検出の処理手
順を示すPAD図FIG. 9 is a PAD diagram showing a processing procedure of cycle detection in a conventional karaoke apparatus.
【図10】従来のカラオケ装置における比較手段の処理
手順を示すPAD図FIG. 10 is a PAD diagram showing a processing procedure of a comparison means in a conventional karaoke device.
101 レーザディスク再生装置(カラオケメディア再
生装置) 102 歌唱信号分離手段 103,106 A/D変換器 104,107 第1,第2のピッチ検出手段 105 マイクロホン 108 比較手段 109 音程変換手段制御手段 110,111 音程変換手段 112,113 加算手段 114,115 D/A変換器 116,117 出力端子 118 ディジタルシグナルプロセッサ(DSP) 119 マイクロコンピュータ(マイコン) 601 帯域通過フィルタ 602 低域通過フィルタ 603 振幅検出器 604 ゼロクロス周期検出 605 基本周期検出 606 平均周期検出 607 平均周期サンプリング 608 cent’値変換101 laser disk reproducing device (karaoke media reproducing device) 102 singing signal separating means 103, 106 A / D converter 104, 107 first and second pitch detecting means 105 microphone 108 comparing means 109 pitch converting means controlling means 110, 111 Pitch conversion means 112,113 Addition means 114,115 D / A converters 116,117 Output terminals 118 Digital signal processor (DSP) 119 Microcomputer 601 Bandpass filter 602 Low-pass filter 603 Amplitude detector 604 Zero-cross period Detection 605 Basic period detection 606 Average period detection 607 Average period sampling 608 center 'value conversion
───────────────────────────────────────────────────── フロントページの続き (72)発明者 沼本 竜彦 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tatsuhiko Numamoto 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.
Claims (5)
ディア再生装置と、 前記カラオケメディア再生装置が出力する歌唱信号の音
程を検出する第1のピッチ検出手段と、 利用者の音声信号を検出するマイクロホンと、 前記マイクロホンの出力信号の音程を検出する第2のピ
ッチ検出手段と、 前記第1,第2のピッチ検出手段の両出力信号を互いに
比較する比較手段と、 前記比較手段の比較結果を入力する音程変換手段制御手
段と、 前記カラオケメディア再生装置の出力信号を前記音程変
換手段制御手段の出力信号で制御して音程を変更する音
程変換手段とを設けたカラオケ装置。1. A karaoke media reproducing device for reproducing karaoke media, a first pitch detecting means for detecting a pitch of a singing signal output by the karaoke media reproducing device, and a microphone for detecting a voice signal of a user. Second pitch detecting means for detecting the pitch of the output signal of the microphone, comparing means for comparing both output signals of the first and second pitch detecting means, and a pitch for inputting the comparison result of the comparing means. A karaoke device provided with conversion means control means and pitch conversion means for changing the pitch by controlling the output signal of the karaoke media reproducing apparatus with the output signal of the pitch conversion means control means.
ディア再生装置と、 前記カラオケメディア再生装置の出力信号から歌唱信号
を分離する歌唱信号分離手段と、 前記歌唱信号分離手段が出力する歌唱信号の音程を検出
する第1のピッチ検出手段と、 利用者の音声信号を検出するマイクロホンと、 前記マイクロホンの出力信号の音程を検出する第2のピ
ッチ検出手段と、 前記第1,第2のピッチ検出手段の出力信号を互いに比
較する比較手段と、 前記比較手段の比較結果を入力する音程変換手段制御手
段と、 前記カラオケメディア再生装置の出力信号を前記音程変
換手段制御手段の出力信号で制御して音程を変更する音
程変換手段とを設けたカラオケ装置。2. A karaoke media reproducing device for reproducing karaoke media, a singing signal separating device for separating a singing signal from an output signal of the karaoke media reproducing device, and a pitch of a singing signal outputted by the singing signal separating device. First pitch detecting means, a microphone for detecting a voice signal of a user, a second pitch detecting means for detecting a pitch of an output signal of the microphone, and outputs of the first and second pitch detecting means. A comparison means for comparing signals with each other, a pitch conversion means control means for inputting a comparison result of the comparison means, and an output signal of the karaoke media reproducing device is controlled by an output signal of the pitch conversion means control means to change the pitch. A karaoke device provided with a pitch converting means.
定された音程制御範囲の中で、比較手段の比較結果がマ
イクロホンから入力される歌唱信号のピッチの低い場合
には音程を下げるよう制御し、マイクロホンから入力さ
れる歌唱信号のピッチの高い場合には音程を上げるよう
制御するように構成したことを特徴とする請求項1また
は請求項2記載のカラオケ装置。3. The pitch converting means controlling means controls to lower the pitch when the comparison result of the comparing means is low in pitch of the singing signal input from the microphone within the preset pitch control range, The karaoke apparatus according to claim 1 or 2, wherein the karaoke apparatus is configured to control so as to raise a pitch when a pitch of a singing signal input from a microphone is high.
較結果がマイクロホンから入力される歌唱信号のピッチ
の低い場合には音程を下げるよう制御し、マイクロホン
から入力される歌唱信号のピッチの高い場合には音程を
上げるよう制御し、マイクロホンから入力される歌のピ
ッチとカラオケメディアに記録されている歌のピッチの
差が大きい場合には差が小さい場合と比較して音程変化
を急速に行うように構成したことを特徴とする請求項1
または請求項2記載のカラオケ装置。4. The pitch converting means controlling means controls so as to lower the pitch when the comparison result of the comparing means is low in pitch of the singing signal inputted from the microphone, and the pitch of the singing signal inputted from the microphone is high. In this case, control is performed to raise the pitch, and if the difference between the pitch of the song input from the microphone and the pitch of the song recorded on the karaoke media is large, the pitch is changed more rapidly than if the difference is small. 2. The structure according to claim 1, wherein
Alternatively, the karaoke apparatus according to claim 2.
較結果がマイクロホンから入力される歌唱信号のピッチ
が低い場合には音程を下げるよう制御し、マイクロホン
から入力される歌唱信号のピッチの高い場合には音程を
上げるよう制御し、音程変化値と音程変化初期値との差
が大きくなるにしたがって、音程変化速度を小さくする
ように構成したことを特徴とする請求項1または請求項
2記載のカラオケ装置。5. The pitch converting means controlling means controls to lower the pitch when the comparison result of the comparing means indicates that the pitch of the singing signal input from the microphone is low, and the pitch of the singing signal input from the microphone is high. In this case, the control is performed so as to raise the pitch, and the pitch change speed is reduced as the difference between the pitch change value and the pitch change initial value increases. Karaoke device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5221084A JPH0772881A (en) | 1993-09-06 | 1993-09-06 | Karaoke equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5221084A JPH0772881A (en) | 1993-09-06 | 1993-09-06 | Karaoke equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0772881A true JPH0772881A (en) | 1995-03-17 |
Family
ID=16761244
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5221084A Pending JPH0772881A (en) | 1993-09-06 | 1993-09-06 | Karaoke equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0772881A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008529078A (en) * | 2005-01-27 | 2008-07-31 | シンクロ アーツ リミテッド | Method and apparatus for synchronized modification of acoustic features |
| JP2023530262A (en) * | 2020-06-16 | 2023-07-14 | ソニーグループ株式会社 | audio transposition |
-
1993
- 1993-09-06 JP JP5221084A patent/JPH0772881A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008529078A (en) * | 2005-01-27 | 2008-07-31 | シンクロ アーツ リミテッド | Method and apparatus for synchronized modification of acoustic features |
| JP2023530262A (en) * | 2020-06-16 | 2023-07-14 | ソニーグループ株式会社 | audio transposition |
| US12412593B2 (en) | 2020-06-16 | 2025-09-09 | Sony Group Corporation | Audio transposition |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5477003A (en) | Karaoke sound processor for automatically adjusting the pitch of the accompaniment signal | |
| US5878391A (en) | Device for indicating a probability that a received signal is a speech signal | |
| US5719344A (en) | Method and system for karaoke scoring | |
| US5447438A (en) | Music training apparatus | |
| KR950009596A (en) | Video recording and playback apparatus and method for song accompaniment | |
| JPH0997091A (en) | Method for pitch change of prerecorded background music and karaoke system | |
| JP2003068013A (en) | Processing of digital audio signal | |
| JP2002215195A (en) | Music signal processing device | |
| JP2002189498A (en) | Digital speech processor and computer program recording medium | |
| JPH0772881A (en) | Karaoke equipment | |
| JP2990994B2 (en) | Playback device | |
| JPH06295192A (en) | Comparing device | |
| JP3047768B2 (en) | Singing practice equipment | |
| JP3828687B2 (en) | Equalizer setting device for audio equipment | |
| JP3316308B2 (en) | Noise section detection device | |
| KR100198297B1 (en) | CD sound pressure level automatic compensator and method | |
| JP2629231B2 (en) | Audio signal attenuator | |
| JP2629739B2 (en) | Audio signal attenuator | |
| JPH05165398A (en) | Karaoke equipment | |
| JP2629203B2 (en) | Audio signal attenuator | |
| JP2970299B2 (en) | Singing signal separation device | |
| JP2000298490A (en) | Recording medium reproducing device | |
| JPH0575366A (en) | Signal processing circuit in audio equipment | |
| JPH06295194A (en) | Signal comparing device | |
| JPH0535286A (en) | Song reproducing device |