JP6350789B2 - Signal processing apparatus, electronic musical instrument, signal processing method and program - Google Patents

Signal processing apparatus, electronic musical instrument, signal processing method and program Download PDF

Info

Publication number
JP6350789B2
JP6350789B2 JP2013238451A JP2013238451A JP6350789B2 JP 6350789 B2 JP6350789 B2 JP 6350789B2 JP 2013238451 A JP2013238451 A JP 2013238451A JP 2013238451 A JP2013238451 A JP 2013238451A JP 6350789 B2 JP6350789 B2 JP 6350789B2
Authority
JP
Japan
Prior art keywords
output
signal
level data
level
temperature drift
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
JP2013238451A
Other languages
Japanese (ja)
Other versions
JP2015099235A5 (en
JP2015099235A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2013238451A priority Critical patent/JP6350789B2/en
Publication of JP2015099235A publication Critical patent/JP2015099235A/en
Publication of JP2015099235A5 publication Critical patent/JP2015099235A5/en
Application granted granted Critical
Publication of JP6350789B2 publication Critical patent/JP6350789B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

本発明は、温度補償することなく出力段の温度ドリフトを相殺して操作子の不感帯を不要にする信号処理装置、電子楽器、信号処理方法およびプログラムに関する。 The present invention relates to a signal processing device, an electronic musical instrument, a signal processing method, and a program that cancel out temperature drift of an output stage without temperature compensation and eliminate the need for a dead zone of an operator.

電子楽器では、発生楽音をリアルタイムに修飾するための操作子として、ピッチベンダやモジュレーションホイールなどの回動操作子あるいはスライダ操作子を備える。そのような操作子には、可変抵抗器(ボリューム抵抗)が用いられる。操作子の操作(回動操作又は摺動操作)で可変抵抗器の抵抗値が変化すると、それに対応して生じる操作信号(出力電圧信号)が、公知のエミッタフォロワ回路を介してレベルシフトされた後、AD変換器に供給されるようになっている。   In an electronic musical instrument, a rotary operator such as a pitch bender or a modulation wheel or a slider operator is provided as an operator for modifying generated musical sounds in real time. A variable resistor (volume resistor) is used for such an operator. When the resistance value of the variable resistor changes due to the operation of the operator (turning operation or sliding operation), the corresponding operation signal (output voltage signal) is level-shifted via a known emitter follower circuit. After that, it is supplied to the AD converter.

エミッタフォロワ回路では、当該回路を構成するバイポーラトランジスタのベース・エミッタ間電圧が温度に応じて変化する温度ドリフトが知られている。この温度ドリフトを抑制する技術として、例えば特許文献1には温度補償手段となる電流源回路を設け、ベース・エミッタ間電圧の温度ドリフトを相殺するように当該電流源回路からエミッタに接続される抵抗素子に電流供給する技術が開示されている。   In the emitter follower circuit, a temperature drift is known in which the base-emitter voltage of the bipolar transistor constituting the circuit changes according to the temperature. As a technique for suppressing this temperature drift, for example, Patent Document 1 includes a current source circuit serving as a temperature compensation unit, and a resistor connected from the current source circuit to the emitter so as to cancel the temperature drift of the base-emitter voltage. A technique for supplying current to the element is disclosed.

特開平11−97942号公報Japanese Patent Laid-Open No. 11-97942

ところで、上述した特許文献1に開示の技術では、トランジスタの製造ばらつきをも考慮して温度補償しようとすると、その製造ばらつきに起因した電圧変化を含む温度ドリフトを抑制するように温度補償手段(電流源回路)を個別に調整しなければならず汎用性に欠ける。   By the way, in the technique disclosed in Patent Document 1 described above, when temperature compensation is performed in consideration of transistor manufacturing variations, temperature compensation means (currents) are used to suppress temperature drift including voltage changes caused by the manufacturing variations. Source circuit) must be individually adjusted and lacks versatility.

その為、上述した電子楽器では、温度補償することなく出力段(エミッタフォロワ回路)でレベルシフトされた操作信号、つまり温度ドリフトを含む操作信号として扱う。すなわち、操作子の操作で生じる操作信号の最大値および最小値は、温度ドリフトによって変動する範囲を考慮して換算する。具体的には、操作子の可動域の上端側および下端側に、温度ドリフトによる変動分に相当する範囲を不感帯として設けている。こうした不感帯の存在は、操作子の操作感に悪影響を及ぼす。したがって、以上の内容を換言すると、温度補償することなく出力段の温度ドリフトを相殺して操作子の不感帯を不要にすることが出来ない、という問題がある。   For this reason, in the electronic musical instrument described above, it is handled as an operation signal level-shifted at the output stage (emitter follower circuit) without temperature compensation, that is, an operation signal including temperature drift. That is, the maximum value and the minimum value of the operation signal generated by the operation of the operation element are converted in consideration of a range that varies due to temperature drift. Specifically, ranges corresponding to fluctuations due to temperature drift are provided as dead zones on the upper end side and the lower end side of the movable range of the operation element. The presence of such a dead zone adversely affects the operation feeling of the operation element. Therefore, in other words, there is a problem that it is impossible to cancel the temperature drift of the output stage without making temperature compensation and to eliminate the dead zone of the operator.

本発明は、このような事情に鑑みてなされたもので、温度補償することなく出力段の温度ドリフトを相殺して操作子の不感帯を不要にすることが出来る信号処理装置、電子楽器、信号処理方法およびプログラムを提供することを目的としている。 The present invention has been made in view of such circumstances, and a signal processing apparatus, electronic musical instrument, and signal processing that can cancel out the temperature drift of the output stage and eliminate the need for the dead zone of the operator without performing temperature compensation. It aims to provide a method and program.

上記目的を達成するため、本発明の信号処理装置は、複数入力される信号それぞれをレベル変換して出力する出力手段と、前記出力手段から出力される複数の信号のうち、ひとつの信号から当該出力手段で生じる温度ドリフトレベルを検出する検出手段と、前記出力手段から出力される複数の信号のうち、前記ひとつの信号を除く他の信号のそれぞれを、前記検出手段により検出された温度ドリフトレベルに基づいて補正する補正手段とを具備し、前記検出手段は、前記出力手段から出力される複数の信号の内、オンオフスイッチ操作に応じて設定される信号に基づいて前記出力手段で生じる温度ドリフトレベルを検出することを特徴とする。 In order to achieve the above object, the signal processing apparatus of the present invention includes: an output unit that performs level conversion on each of a plurality of input signals; and a plurality of signals that are output from the output unit. A detecting means for detecting a temperature drift level generated in the output means, and a temperature drift level detected by the detecting means for each of the signals other than the one signal among the plurality of signals output from the output means. And a detecting means for correcting temperature drift caused by the output means based on a signal set in response to an on / off switch operation among a plurality of signals output from the output means. It is characterized by detecting the level .

また、本発明の信号処理方法は、
複数入力される信号それぞれをレベル変換して出力する出力過程と、
前記出力過程で出力される複数の信号のうち、ひとつの信号から当該出力過程で生じる温度ドリフトレベルを検出する検出過程と、
前記出力過程で出力される複数の信号のうち、前記ひとつの信号を除く他の信号のそれぞれを、前記検出過程で検出された温度ドリフトレベルに基づいて補正する補正過程と
を備えることを特徴とする。
Further, the signal processing method of the present invention includes:
An output process of level-converting and outputting each of a plurality of input signals;
A detection process for detecting a temperature drift level generated in the output process from one signal among a plurality of signals output in the output process;
A correction step of correcting each of the other signals excluding the one signal out of the plurality of signals output in the output step based on the temperature drift level detected in the detection step. To do.

更に、本発明のプログラムは、
コンピュータに、
複数入力される信号それぞれをレベル変換して出力する出力ステップと、
前記出力ステップで出力される複数の信号のうち、ひとつの信号から当該出力ステップで生じる温度ドリフトレベルを検出する検出ステップと、
前記出力ステップで出力される複数の信号のうち、前記ひとつの信号を除く他の信号のそれぞれを、前記検出ステップにて検出された温度ドリフトレベルに基づいて補正する補正ステップと
を実行させることを特徴とする。
Furthermore, the program of the present invention
On the computer,
An output step for level-converting and outputting each of a plurality of input signals,
A detection step of detecting a temperature drift level generated in the output step from one signal among the plurality of signals output in the output step;
A correction step of correcting each of the other signals excluding the one signal out of the plurality of signals output in the output step based on the temperature drift level detected in the detection step; Features.

本発明では、温度補償することなく出力段の温度ドリフトを相殺して操作子の不感帯を不要にすることが出来る。   In the present invention, the temperature drift of the output stage can be canceled without temperature compensation, and the dead zone of the operating element can be eliminated.

本発明の第1実施形態による信号処理装置を備えた電子楽器100の全体構成を示すブロック図である。1 is a block diagram illustrating an overall configuration of an electronic musical instrument 100 including a signal processing device according to a first embodiment of the present invention. 第1実施形態による操作部11の構成を示すブロック図である。It is a block diagram which shows the structure of the operation part 11 by 1st Embodiment. メインルーチンの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a main routine. イニシャライズの動作を示すフローチャートである。It is a flowchart which shows the operation | movement of initialization. スイッチ処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a switch process. スライドSW処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a slide SW process. 鍵盤処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a keyboard process. 第2実施形態による操作部11の構成を示すブロック図である。It is a block diagram which shows the structure of the operation part 11 by 2nd Embodiment. 第2実施形態によるイニシャライズの動作を示すフローチャートである。It is a flowchart which shows the operation | movement of initialization by 2nd Embodiment. 第2実施形態によるスライドSW処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the slide SW process by 2nd Embodiment. 第2実施形態によるスライドSW処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the slide SW process by 2nd Embodiment.

以下、図面を参照して本発明の実施形態について説明する。
[第1実施形態]
A.電子楽器100の構成
図1は、本発明の第1実施形態による信号処理装置を備えた電子楽器100の全体構成を示すブロック図である。この図において、鍵盤10は押離鍵操作に応じたキーオン/キーオフ信号、鍵番号およびベロシティ等からなる鍵盤情報を発生する。鍵盤10が発生する鍵盤情報は、CPU13においてノートオン/ノートオフイベントに変換された後、音源部16に供給される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment]
A. Configuration of Electronic Musical Instrument 100 FIG. 1 is a block diagram showing an overall configuration of an electronic musical instrument 100 including a signal processing device according to the first embodiment of the present invention. In this figure, the keyboard 10 generates keyboard information including a key-on / key-off signal, a key number, a velocity, and the like corresponding to a key release / release operation. The keyboard information generated by the keyboard 10 is converted into a note-on / note-off event by the CPU 13 and then supplied to the sound source unit 16.

操作部11は、装置電源をパワーオン/パワーオフする電源スイッチの他、例えば発生する楽音の音色を選択する音色選択スイッチなどの各種スイッチを備え、これらスイッチ操作に応じた種類のスイッチイベントを発生する。また、操作部11は、音源16が発生する楽音をリアルタイムに修飾するホイール操作子(ピッチベンダ、モジュレーションホイール)やスライダ操作子を備える。   The operation unit 11 includes various switches such as a timbre selection switch for selecting a tone color of a generated musical tone in addition to a power switch for powering on / off the apparatus power supply, and generates a switch event of a type corresponding to the switch operation. To do. The operation unit 11 includes a wheel operator (pitch bender, modulation wheel) and a slider operator for modifying the musical sound generated by the sound source 16 in real time.

ここで、図2を参照して操作部11が備える第1実施形態の信号処理装置の要部構成について説明する。なお、この図では、図面の簡略化を図る為、可変抵抗素子VR(ch1)のみ図示されているが、実際にはアナログマルチプレクサ11aの入力チャンネルch1〜ch7のそれぞれに可変抵抗素子VR(ch1)〜VR(ch7)が設けられているものとする。   Here, with reference to FIG. 2, the principal part structure of the signal processing apparatus of 1st Embodiment with which the operation part 11 is provided is demonstrated. In this figure, only the variable resistance element VR (ch1) is shown for simplification of the drawing, but actually, the variable resistance element VR (ch1) is provided for each of the input channels ch1 to ch7 of the analog multiplexer 11a. ˜VR (ch7) is provided.

可変抵抗素子VR(ch1)〜VR(ch7)は、ホイール操作子の回動操作又はスライダ操作子の摺動操作に応じて抵抗値が変化し、これに伴ってレベル変化する操作信号(出力電圧信号)をアナログマルチプレクサ11aの対応する入力チャンネルに供給する。アナログマルチプレクサ11aは、CPU13の制御の下に、入力チャンネルch1〜ch8に供給される信号を時分割出力する。なお、アナログマルチプレクサ11aの入力チャンネルch8には、接地レベルの信号が入力される。   The variable resistance elements VR (ch1) to VR (ch7) change in resistance values according to the rotation operation of the wheel operation element or the sliding operation of the slider operation element, and an operation signal (output voltage) whose level changes in accordance with this change. Signal) to the corresponding input channel of the analog multiplexer 11a. The analog multiplexer 11a outputs signals supplied to the input channels ch1 to ch8 in a time-sharing manner under the control of the CPU 13. A ground level signal is input to the input channel ch8 of the analog multiplexer 11a.

エミッタフォロワ回路11bは、アナログマルチプレクサ11aから時分割出力される入力チャンネルch1〜ch8の信号それぞれをレベル変換してAD変換器11cに供給する。AD変換器11cによりAD変換された入力チャンネルch1〜ch8のレベルデータは、CPU13に供給される。   The emitter follower circuit 11b performs level conversion on the signals of the input channels ch1 to ch8 that are time-division output from the analog multiplexer 11a and supplies the signals to the AD converter 11c. The level data of the input channels ch1 to ch8 subjected to AD conversion by the AD converter 11c is supplied to the CPU 13.

CPU13では、後述するように、最初に入力チャンネルch8のレベルデータを基準レベルデータとして取得しておき、以後、入力チャンネルch8のレベルデータが時分割出力される毎に、そのレベルデータを取り込んで基準レベルデータとの差分、すなわち温度ドリフトレベルを算出する。そして、算出した温度ドリフトレベルを、操作信号に相当する他の入力チャンネルch1〜ch7の各レベルデータから減算する。これにより、入力チャンネルch1〜ch7の各レベルデータに含まれる温度ドリフト分を相殺する。   As will be described later, the CPU 13 first acquires the level data of the input channel ch8 as reference level data, and thereafter, every time the level data of the input channel ch8 is output in a time-sharing manner, the level data is fetched and used as a reference. The difference from the level data, that is, the temperature drift level is calculated. Then, the calculated temperature drift level is subtracted from the level data of the other input channels ch1 to ch7 corresponding to the operation signal. Thereby, the temperature drift included in each level data of the input channels ch1 to ch7 is canceled.

次に、再び図1を参照して電子楽器100の全体構成の説明を進める。図1において、表示部12は、CPU13から供給される表示制御信号に基づき、楽器各部のパラメータ設定状態や動作状態などを画面表示する。CPU13は、操作部11から供給される各種スイッチイベントに基づき楽器各部の動作状態を設定する他、鍵盤10から供給される鍵盤情報に基づき音源部16に楽音波形データWの発生を指示する。   Next, the description of the overall configuration of the electronic musical instrument 100 will be continued with reference to FIG. 1 again. In FIG. 1, the display unit 12 displays a parameter setting state and an operation state of each part of the musical instrument on the screen based on a display control signal supplied from the CPU 13. The CPU 13 sets the operation state of each part of the musical instrument based on various switch events supplied from the operation unit 11 and instructs the sound source unit 16 to generate musical sound waveform data W based on the keyboard information supplied from the keyboard 10.

また、CPU13では、上記の通り、最初に入力チャンネルch8のレベルデータを基準レベルデータとして取得して記憶した後、入力チャンネルch8のレベルデータを取り込んで基準レベルデータとの差分、すなわち温度ドリフトレベルを算出し、算出した温度ドリフトレベルを、操作信号に相当する他の入力チャンネルch1〜ch7の各レベルデータから減算して温度ドリフト分を相殺する。CPU13は、温度ドリフト分が相殺された入力チャンネルch1〜ch7の各レベルデータに従って発生楽音の修飾を音源16に指示する。   Further, as described above, the CPU 13 first acquires and stores the level data of the input channel ch8 as the reference level data, and then takes in the level data of the input channel ch8 to obtain the difference from the reference level data, that is, the temperature drift level. The calculated temperature drift level is subtracted from each level data of the other input channels ch1 to ch7 corresponding to the operation signal to cancel the temperature drift. The CPU 13 instructs the sound source 16 to modify the generated musical sound according to the level data of the input channels ch1 to ch7 in which the temperature drift is canceled.

ROM14は、CPU13にロードされる各種制御プログラムを記憶する。各種制御プログラムとは、後述するメインルーチンと、当該メインルーチンを構成するイニシャライズ、スイッチ処理および鍵盤処理とを含む。なお、スイッチ処理は、スライドボリューム処理およびその他のスイッチ処理から構成される。   The ROM 14 stores various control programs loaded on the CPU 13. The various control programs include a main routine, which will be described later, and initialization, switch processing, and keyboard processing that constitute the main routine. The switch process includes a slide volume process and other switch processes.

RAM15は、CPU13の処理に用いられる各種レジスタ・フラグデータを一時記憶する。音源部16は、周知の波形メモリ読み出し方式にて構成される複数の発音チャンネルを備え、CPU13から供給されるノートオン/ノートオフイベントに従って楽音波形データWを発生すると共に、操作部11の操作子の回動操作又は摺動操作に応じて発生中の楽音波形データWを修飾する。サウンドシステム17は、音源16から出力される楽音波形データWをアナログ形式の楽音信号に変換し、当該楽音信号から不要ノイズを除去する等のフィルタリングを施した後、これを増幅してスピーカから発音させる。   The RAM 15 temporarily stores various register / flag data used for the processing of the CPU 13. The sound source unit 16 includes a plurality of sound generation channels configured by a well-known waveform memory reading method, generates musical tone waveform data W according to note-on / note-off events supplied from the CPU 13, and controls the operation unit 11. The musical tone waveform data W being generated is modified in accordance with the turning operation or sliding operation. The sound system 17 converts the musical sound waveform data W output from the sound source 16 into an analog musical sound signal, performs filtering such as removing unnecessary noise from the musical sound signal, and amplifies this to generate sound from the speaker. Let

B.動作
次に、上記構成による電子楽器100の動作として、CPU13が実行するメインルーチン、当該メインルーチンを構成するイニシャライズ処理、スイッチ処理および鍵盤処理の各動作について図3〜図7を参照して説明する。
B. Operation Next, operations of the electronic musical instrument 100 having the above-described configuration will be described with reference to FIGS. 3 to 7 for the main routine executed by the CPU 13, the initialization process, the switch process, and the keyboard process that constitute the main routine. .

(1)メインルーチンの動作
図3は、CPU13が実行するメインルーチンの動作を示すフローチャートである。電子楽器100のパワーオンに応じて、CPU13がメインルーチンを実行すると、図3に図示するステップSA1に進み、各種レジスタ・フラグを初期化するイニシャライズ処理を実行する。イニシャライズ処理の詳細については追って述べる。
(1) Operation of Main Routine FIG. 3 is a flowchart showing the operation of the main routine executed by the CPU 13. When the CPU 13 executes the main routine in response to the power-on of the electronic musical instrument 100, the process proceeds to step SA1 shown in FIG. 3, and initialization processing for initializing various registers and flags is executed. Details of the initialization process will be described later.

続いて、ステップSA2では、操作信号から温度ドリフト分を相殺するスライドボリューム処理や、操作されるスイッチ種に応じたスイッチイベントを発生する、その他のスイッチ処理を実行する。なお、スライドボリューム処理の詳細については追って述べる。   Subsequently, in step SA2, a slide volume process for canceling the temperature drift from the operation signal and other switch processes for generating a switch event corresponding to the operated switch type are executed. Details of the slide volume process will be described later.

次いで、ステップSA3では、鍵盤10の押離鍵操作に応じて発生する鍵盤情報に基づきノートオン/ノートオフイベントを作成して音源16に送付し、押鍵された鍵の音高の楽音を発音させたり、離鍵された鍵の音高の楽音を消音させたりする鍵盤処理を実行する。そして、ステップSA4では、例えばユーザ指定のエフェクトを発生した楽音に付与する等の、その他の処理を実行した後、上記ステップSA2に処理を戻す。以後、電子楽器100がパワーオフされるまで上記ステップSA2〜SA4を繰り返し実行する。   Next, in step SA3, a note-on / note-off event is generated based on the keyboard information generated in response to the key release operation of the keyboard 10 and is sent to the sound source 16, and a musical tone of the pitch of the pressed key is generated. The keyboard processing is executed to cause the musical tone of the pitch of the released key to be muted. In step SA4, for example, other processing such as adding a user-designated effect to the generated tone is executed, and then the processing returns to step SA2. Thereafter, the steps SA2 to SA4 are repeatedly executed until the electronic musical instrument 100 is powered off.

(2)イニシャライズ処理の動作
図4は、CPU13が実行するイニシャライズ処理の動作を示すフローチャートである。上述したメインルーチンのステップSA1(図3参照)を介してイニシャライズ処理が実行されると、CPU13は図4に図示するステップSB1に進み、レジスタdrift_baseに「−1」をセットし、続くステップSB2では、レジスタdrift_valに初期値をセットする。次いで、ステップSB3では、チャンネル番号chに「8」をセットする。チャンネル番号chは、アナログマルチプレクサ11aの入力チャンネルを指定する。そして、ステップSB4では、その他のレジスタ・フラグに初期値をセットして本処理を終える。
(2) Operation of Initialization Processing FIG. 4 is a flowchart showing the operation of initialization processing executed by the CPU 13. When the initialization process is executed via step SA1 (see FIG. 3) of the main routine described above, the CPU 13 proceeds to step SB1 shown in FIG. 4 to set “−1” in the register drift_base, and in the subsequent step SB2 , The initial value is set in the register drift_val. Next, in step SB3, “8” is set to the channel number ch. The channel number ch specifies the input channel of the analog multiplexer 11a. In step SB4, initial values are set in the other registers and flags, and the present process ends.

(3)スイッチ処理の動作
図5はCPU13が実行するスイッチ処理の動作を示すフローチャート、図6はCPU13が実行するスライドボリューム処理の動作を示すフローチャートである。前述したメインルーチンのステップSA2(図3参照)を介してスイッチ処理が実行されると、CPU13は図5に図示するステップSC1を介してスライドボリューム処理(後述する)を実行した後、ステップSC2に進み、操作されるスイッチ種に応じたスイッチイベントを発生するその他のスイッチ処理を実行する。以下、本発明の要旨に係わるスライドボリューム処理の動作について詳述する。
(3) Operation of Switch Process FIG. 5 is a flowchart showing the operation of the switch process executed by the CPU 13, and FIG. 6 is a flowchart showing the operation of the slide volume process executed by the CPU 13. When the switch process is executed via step SA2 (see FIG. 3) of the main routine described above, the CPU 13 executes the slide volume process (described later) via step SC1 shown in FIG. The process proceeds to execute other switch processing that generates a switch event corresponding to the switch type to be operated. Hereinafter, the operation of the slide volume processing according to the gist of the present invention will be described in detail.

上記ステップSC1を介してスライドボリューム処理が実行されると、CPU13は図6に図示するステップSD1に進む。ステップSD1では、チャンネル番号chで指定されるアナログマルチプレクサ11aの入力チャンネルのレベルデータ(AD変換値)をレジスタvalue(ch)にストアする。   When the slide volume process is executed via step SC1, the CPU 13 proceeds to step SD1 shown in FIG. In step SD1, the level data (AD conversion value) of the input channel of the analog multiplexer 11a specified by the channel number ch is stored in the register value (ch).

本処理が最初に実行される状況では、前述したイニシャライズ処理(図4参照)のステップSB3においてチャンネル番号chが「8」に初期設定されている為、上記ステップSD1において、入力チャンネルch8の接地レベルデータがレジスタvalue(ch)にストアされる。   In the situation where this process is executed first, since the channel number ch is initially set to “8” in step SB3 of the above-described initialization process (see FIG. 4), the ground level of the input channel ch8 is set in step SD1. Data is stored in register value (ch).

続いて、ステップSD2では、チャンネル番号chが「8」であるか否かを判断する。上記の通り、本処理が最初に実行される状況では、チャンネル番号chが「8」に初期設定されているので、判断結果は「YES」になり、ステップSD3に進む。ステップSD3では、レジスタdrift_baseの値が「−1」であるか否かを判断する。   Subsequently, in step SD2, it is determined whether or not the channel number ch is “8”. As described above, in the situation where this process is executed first, the channel number ch is initially set to “8”, so the determination result is “YES”, and the flow proceeds to step SD3. In step SD3, it is determined whether or not the value of the register drift_base is “−1”.

本処理が最初に実行される状況では、前述したイニシャライズ処理(図4参照)のステップSB1においてレジスタdrift_baseの値が「−1」に初期設定されている為、上記ステップSD3の判断結果は「YES」になり、ステップSD4に進む。ステップSD4では、上記ステップSD1で取得したレジスタvalue(ch)の値、すなわち接地レベルデータを基準レベルデータとしてレジスタdrift_baseにストアする。   In the situation where this process is executed first, the value of the register drift_base is initially set to “−1” in step SB1 of the above-described initialization process (see FIG. 4). The process proceeds to step SD4. In step SD4, the value of the register value (ch) acquired in step SD1, that is, the ground level data is stored in the register drift_base as reference level data.

この後、ステップSD6に進み、チャンネル番号chをインクリメントして歩進させ、続くステップSD7では、歩進されたチャンネル番号chが最大値「8」を超えたかどうかを判断する。本処理が最初に実行される状況では、歩進されたチャンネル番号chが「9」となり、最大値「8」を超えるので、上記ステップSD7の判断結果が「YES」となり、ステップSD8に進み、チャンネル番号chを初期値「1」にリセットして本処理を終える。   Thereafter, the process proceeds to step SD6, where the channel number ch is incremented and incremented, and in the subsequent step SD7, it is determined whether or not the incremented channel number ch exceeds the maximum value “8”. In the situation where this process is executed first, the stepped channel number ch is “9” and exceeds the maximum value “8”, so the determination result in step SD7 is “YES”, and the process proceeds to step SD8. The channel number ch is reset to the initial value “1”, and this process ends.

こうして、アナログマルチプレクサ11aの入力チャンネルch8の接地レベルデータを、基準レベルデータとしてレジスタdrift_baseにストアし終えた後、メインルーチンを介して再び本処理が実行されたとする。   Thus, after the ground level data of the input channel ch8 of the analog multiplexer 11a is stored in the register drift_base as the reference level data, this process is executed again through the main routine.

そうすると、上記ステップSD1では、アナログマルチプレクサ11aの入力チャンネルch1のレベルデータをレジスタvalue(ch)にストアし、続くステップSD2では、チャンネル番号chが「8」であるか否かを判断するが、現在のチャンネル番号chは「1」なので、判断結果は「NO」になり、ステップSD9に進む。   Then, in step SD1, the level data of the input channel ch1 of the analog multiplexer 11a is stored in the register value (ch), and in the subsequent step SD2, it is determined whether or not the channel number ch is “8”. Since the channel number ch is “1”, the determination result is “NO”, and the process proceeds to step SD9.

ステップSD9では、レジスタvalue(ch)のレベルデータからレジスタdrift_valの値を減算し、その結果をレジスタvalue(ch)にストアする。なお、入力チャンネルch1〜ch8のレベルデータを全て取り込み終えていない状況では、上記レジスタdrift_valの値は、前述したイニシャライズ処理(図4参照)のステップSB2においてセットされる初期値となる。   In step SD9, the value of the register drift_val is subtracted from the level data of the register value (ch), and the result is stored in the register value (ch). Note that, in a situation where all the level data of the input channels ch1 to ch8 have not been captured, the value of the register drift_val is an initial value set in step SB2 of the above-described initialization process (see FIG. 4).

次に、ステップSD10では、レジスタvalue(ch)の値に基づき、チャンネル番号chに割り当てられた楽音の修飾を音源16に指示する。例えば入力チャンネルch1の操作子がピッチベンダである場合、当該ピッチベンダが割り当てられた発音チャンネルで発音中の楽音のピッチ(音高)をピッチベンダ操作量に応じて変化させるよう音源16に指示する。   Next, in step SD10, the tone generator 16 is instructed to modify the musical sound assigned to the channel number ch based on the value of the register value (ch). For example, when the operator of the input channel ch1 is a pitch bender, the sound source 16 is instructed to change the pitch (pitch) of a musical sound that is being generated on the sound generation channel to which the pitch bender is assigned according to the pitch bender operation amount. .

この後、ステップSD6に進み、チャンネル番号chをインクリメントして歩進させ、続くステップSD7では、歩進させたチャンネル番号chが最大値「8」を超えたか否かを判断する。そして、歩進させたチャンネル番号chが最大値「8」を超えていなければ、判断結果は「NO」になり、上記ステップSD1に処理を戻す。以後、入力チャンネルch2〜ch7については上述したステップSD1,SD2,SD9,SD10,SD6,SD7の処理を繰り返す。   Thereafter, the process proceeds to step SD6, where the channel number ch is incremented and incremented. In the subsequent step SD7, it is determined whether or not the incremented channel number ch exceeds the maximum value “8”. If the incremented channel number ch does not exceed the maximum value “8”, the determination result is “NO”, and the process returns to step SD1. Thereafter, the processing of steps SD1, SD2, SD9, SD10, SD6, SD7 is repeated for the input channels ch2 to ch7.

そして、歩進させたチャンネル番号chが「8」になると、上記ステップSD2の判断結果が「YES」になり、ステップSD3に進み、レジスタdrift_baseの値が「−1」であるか否かを判断するが、既にレジスタdrift_baseには、前述した基準レベルデータがストアされている為、ここでの判断結果は「NO」になり、ステップSD5に進む。   When the incremented channel number ch becomes “8”, the determination result in step SD2 is “YES”, and the process proceeds to step SD3 to determine whether or not the value of the register drift_base is “−1”. However, since the reference level data is already stored in the register drift_base, the determination result here is “NO”, and the process proceeds to step SD5.

ステップSD5では、レジスタvalue(ch)にストアされた入力チャンネルch8の接地レベルデータからレジスタdrift_baseの基準レベルデータを減算して得られる温度ドリフトレベルをレジスタdrift_valにストアする。この後、ステップSD6に進み、チャンネル番号chをインクリメントして歩進させる。   In step SD5, the temperature drift level obtained by subtracting the reference level data of the register drift_base from the ground level data of the input channel ch8 stored in the register value (ch) is stored in the register drift_val. Thereafter, the process proceeds to step SD6, where the channel number ch is incremented and stepped.

続いて、ステップSD7では、歩進されたチャンネル番号chが最大値「8」を超えたかどうかを判断するが、この場合、歩進されたチャンネル番号chは「9」となるので、判断結果が「YES」となり、ステップSD8に進み、チャンネル番号chを初期値「1」にリセットして本処理を終える。   Subsequently, in step SD7, it is determined whether or not the stepped channel number ch exceeds the maximum value “8”. In this case, the stepped channel number ch is “9”, and therefore the determination result is “9”. "YES" is determined, the process proceeds to step SD8, the channel number ch is reset to the initial value "1", and this process is terminated.

こうして、レジスタdrift_valに温度ドリフトレベルをストアし終えた後、メインルーチンを介して再び本処理が実行されると、入力チャンネルch1〜ch7については上述したステップSD1,SD2,SD9,SD10,SD6,SD7の処理を繰り返すことによって、入力チャンネルch1〜ch7の各レベルデータから温度ドリフトレベルを減算し、これにより温度ドリフト分が相殺された入力チャンネルch1〜ch7の各レベルデータに従い、対応するチャンネル番号chに割り当てられた楽音の修飾を音源16に指示する。そして、入力チャンネルch8の接地レベルデータを新たに取り込むと、上記ステップSD5に基づきレジスタdrift_valの温度ドリフトレベルを更新して本処理を終える。   Thus, after the temperature drift level is stored in the register drift_val and this process is executed again through the main routine, the above steps SD1, SD2, SD9, SD10, SD6, SD7 are performed for the input channels ch1 to ch7. By repeating the above process, the temperature drift level is subtracted from each level data of the input channels ch1 to ch7, and according to each level data of the input channels ch1 to ch7 in which the temperature drift is canceled, the corresponding channel number ch is set. The sound source 16 is instructed to modify the assigned musical sound. Then, when the ground level data of the input channel ch8 is newly taken in, the temperature drift level of the register drift_val is updated based on the above step SD5, and this processing is finished.

以上のように、スライドボリューム処理では、最初に入力チャンネルch8のレベルデータを基準レベルデータとして取得しておき、以後、入力チャンネルch1〜ch8のレベルデータが時分割出力される毎に、当該入力チャンネルch8のレベルデータ(接地レベルデータ)を取り込んで基準レベルデータとの差分、すなわち温度ドリフトレベルを算出する。そして、算出した温度ドリフトレベルを、操作信号に相当する他の入力チャンネルch1〜ch7の各レベルデータから減算することによって、入力チャンネルch1〜ch7の各レベルデータに含まれる温度ドリフト分を相殺するようになっている。   As described above, in the slide volume processing, the level data of the input channel ch8 is first acquired as the reference level data, and thereafter, every time the level data of the input channels ch1 to ch8 is output in a time-sharing manner, The ch8 level data (ground level data) is taken in, and the difference from the reference level data, that is, the temperature drift level is calculated. Then, the calculated temperature drift level is subtracted from the level data of the other input channels ch1 to ch7 corresponding to the operation signal, thereby canceling out the temperature drift included in the level data of the input channels ch1 to ch7. It has become.

(4)鍵盤処理の動作
図7は、CPU13が実行する鍵盤処理の動作を示すフローチャートである。前述したメインルーチンのステップSA3(図3参照)を介して本処理が実行されると、CPU13は図7に図示するステップSE1に進み、鍵盤10の各鍵についてキーオン/キーオフ信号の有無を検出する鍵走査を行い、続くステップSE2では、上記ステップSE1の鍵走査結果に基づき鍵変化を判別する。押離鍵操作が為されず、鍵変化が生じなければ、鍵変化無しと判別して本処理を終える。
(4) Operation of Keyboard Processing FIG. 7 is a flowchart showing the operation of keyboard processing executed by the CPU 13. When this process is executed via step SA3 (see FIG. 3) of the main routine described above, the CPU 13 proceeds to step SE1 shown in FIG. 7 and detects the presence / absence of a key-on / key-off signal for each key on the keyboard 10. A key scan is performed, and in a subsequent step SE2, a key change is determined based on the key scan result in step SE1. If no key release operation is performed and no key change occurs, it is determined that there is no key change, and this process is terminated.

押鍵に応じて発生するキーオン信号を検出した場合には、上記ステップSE2を介してステップSE3に進み、音源16が備える複数の発音チャンネルの中から発音停止中の空きチャンネルの番号CHを検索する。次いで、ステップSE4〜SE5では、上記ステップSE3で検索した空きチャンネルの番号CHに割り当てるノートオンイベント(CH)を、押鍵に応じて鍵盤10が発生した鍵盤情報中の押鍵番号およびベロシティに基づき作成し、作成したノートオンイベント(CH)を音源16に送付して本処理を終える。これにより、音源16では、ノートオンイベント(CH)に従った楽音を空きチャンネルCHから発音する。   When a key-on signal generated in response to the key depression is detected, the process proceeds to step SE3 via step SE2 to search for the number CH of the empty channel in which sound generation is stopped from among the plurality of sound generation channels provided in the sound source 16. . Next, in steps SE4 to SE5, note-on events (CH) assigned to the empty channel numbers CH searched in step SE3 are determined based on the key pressing number and velocity in the keyboard information generated by the keyboard 10 in response to the key pressing. The created note-on event (CH) is sent to the sound source 16 and the process is completed. As a result, the sound source 16 generates a musical sound according to the note-on event (CH) from the empty channel CH.

一方、離鍵に応じて発生するキーオフ信号を検出した場合には、上記ステップSE2を介してステップSE6に進み、音源16が備える複数の発音チャンネルの中から離鍵番号と同じ音高の楽音を発生中の発音チャンネルの番号CHを検索する。続いて、ステップSE7では、上記ステップSE6で検索した発音チャンネルの番号CHに割り当てるノートオフイベント(CH)を、離鍵に応じて鍵盤10が発生した鍵盤情報中の離鍵番号に基づき作成する。そして、ステップSE5に進み、作成したノートオフイベント(CH)を音源16に送付して本処理を終える。これにより、音源16では、発音チャンネル(CH)で発音中の楽音を消音する。   On the other hand, when the key-off signal generated in response to the key release is detected, the process proceeds to step SE6 via step SE2 and a musical tone having the same pitch as the key release number is selected from the plurality of sound generation channels provided in the sound source 16. The number CH of the sounding channel that is occurring is searched. Subsequently, in step SE7, a note-off event (CH) assigned to the sound channel number CH searched in step SE6 is created based on the key release number in the keyboard information generated by the keyboard 10 in response to the key release. Then, the process proceeds to step SE5, where the created note-off event (CH) is sent to the sound source 16 and the present process ends. As a result, the sound source 16 mutes the musical sound that is being generated on the sound generation channel (CH).

以上説明したように、第1実施形態では、アナログマルチプレクサ11aから時分割出力される入力チャンネルch1〜ch8の信号を、エミッタフォロワ回路11bで所定レベルにシフトさせてAD変換器11cに供給する信号処理装置において、接地入力される入力チャンネルch8のレベルデータを基準レベルデータとして最初に取得しておき、以後、入力チャンネルch8のレベルデータが時分割出力される毎に、そのレベルデータを取り込んで基準レベルデータとの差分、すなわち温度ドリフトレベルを算出する。そして、算出した温度ドリフトレベルを、操作信号に相当する他の入力チャンネルch1〜ch7の各レベルデータから減算してこれら各レベルデータに含まれる温度ドリフト分を相殺する為、温度補償することなく出力段の温度ドリフトを相殺して操作子の不感帯を不要にすることが可能になる。   As described above, in the first embodiment, the signal processing of the input channels ch1 to ch8 that are time-division output from the analog multiplexer 11a is shifted to a predetermined level by the emitter follower circuit 11b and supplied to the AD converter 11c. In the apparatus, the level data of the input channel ch8 to be grounded is first obtained as reference level data, and thereafter, every time the level data of the input channel ch8 is output in a time-sharing manner, the level data is fetched and the reference level is obtained. The difference from the data, that is, the temperature drift level is calculated. Then, the calculated temperature drift level is subtracted from the level data of the other input channels ch1 to ch7 corresponding to the operation signal to cancel out the temperature drift included in these level data, and therefore output without temperature compensation. It becomes possible to eliminate the dead zone of the operating element by canceling out the temperature drift of the stage.

[第2実施形態]
上述した第1実施形態では、アナログマルチプレクサ11aの入力チャンネルch8を接地入力用として占有し、当該入力チャンネルch8のレベルデータの経時変化から温度ドリフトレベルを検出し、検出した温度ドリフトレベルを、操作信号に相当する他の入力チャンネルch1〜ch7の各レベルデータから減算することによって、入力チャンネルch1〜ch7の各レベルデータに含まれる温度ドリフト分を相殺するようにした。
[Second Embodiment]
In the first embodiment described above, the input channel ch8 of the analog multiplexer 11a is occupied for ground input, the temperature drift level is detected from the change over time in the level data of the input channel ch8, and the detected temperature drift level is used as the operation signal. Is subtracted from each level data of the other input channels ch1 to ch7, so that the temperature drift included in each level data of the input channels ch1 to ch7 is canceled.

これに対し、第2実施形態では、アナログマルチプレクサ11aの入力チャンネルの1つを接地入力用として占有することが出来ない場合に、オンオフスイッチが割り当てられた入力チャンネルを、温度ドリフトレベル検出用の入力チャンネルとして利用する形態である。以下、こうした第2実施形態について、図8〜図11を参照して説明する。   On the other hand, in the second embodiment, when one of the input channels of the analog multiplexer 11a cannot be occupied for ground input, the input channel to which the on / off switch is assigned is used as the input for detecting the temperature drift level. It is a form used as a channel. Hereinafter, such a second embodiment will be described with reference to FIGS.

(1)操作部11の構成
図8は、第2実施形態による操作部11の構成を示すブロック図である。なお、この図において、前述した第1実施形態(図2参照)と共通する構成要素には同一の番号を付し、その説明を省略する。図8に図示する操作部11では、アナログマルチプレクサ11aの入力チャンネルch1〜ch8の内、オンオフスイッチprev_swが割り当てられた入力チャンネルch8を温度ドリフトレベル検出用の入力チャンネルとして利用する構成である。
(1) Configuration of Operation Unit 11 FIG. 8 is a block diagram illustrating a configuration of the operation unit 11 according to the second embodiment. In this figure, the same reference numerals are given to the same components as those in the first embodiment (see FIG. 2), and the description thereof is omitted. The operation unit 11 illustrated in FIG. 8 has a configuration in which the input channel ch8 to which the on / off switch prev_sw is assigned among the input channels ch1 to ch8 of the analog multiplexer 11a is used as an input channel for temperature drift level detection.

上記構成において、電子楽器100のパワーオン時にオンオフスイッチprev_swがオフ設定されている場合には、CPU13が電源電圧Vccに対応したHレベルとなる入力チャンネルch8のレベルデータを基準レベルデータCH8_H1として取得する。一方、電子楽器100のパワーオン時にオンオフスイッチprev_swがオン設定されている場合には、CPU13が接地レベルに対応したLレベルとなる入力チャンネルch8のレベルデータを基準レベルデータCH8_L1として取得する。   In the above configuration, when the on / off switch prev_sw is set to OFF when the electronic musical instrument 100 is powered on, the CPU 13 acquires the level data of the input channel ch8 that becomes the H level corresponding to the power supply voltage Vcc as the reference level data CH8_H1. . On the other hand, when the on / off switch prev_sw is set to ON when the electronic musical instrument 100 is turned on, the CPU 13 acquires the level data of the input channel ch8 that is L level corresponding to the ground level as the reference level data CH8_L1.

そして、入力チャンネル走査が一巡して入力チャンネルch8のレベルデータが時分割出力された時に、当該入力チャンネルch8のオンオフスイッチprev_swがオフ設定されていれば、CPU13が入力チャンネルch8のレベルデータCH8_H2を取得し、上記基準レベルデータCH8_H1との差分(CH8_H1−CH8_H2)から算出される温度ドリフトレベルを、以後時分割出力される入力チャンネルch1〜ch7の各レベルデータから減算してこれら各レベルデータに含まれる温度ドリフト分を相殺する。   When the input channel scan is completed and the level data of the input channel ch8 is time-divisionally output, if the on / off switch prev_sw of the input channel ch8 is set to OFF, the CPU 13 acquires the level data CH8_H2 of the input channel ch8. Then, the temperature drift level calculated from the difference (CH8_H1-CH8_H2) from the reference level data CH8_H1 is subtracted from the level data of the input channels ch1 to ch7 that are output in a time-sharing manner, and included in these level data. Compensates for temperature drift.

一方、入力チャンネル走査が一巡して入力チャンネルch8のレベルデータが時分割出力された時に、当該入力チャンネルch8のオンオフスイッチprev_swがオン設定されていれば、CPU13が入力チャンネルch8のレベルデータCH8_L2を取得し、上記基準レベルデータCH8_L1との差分(CH8_L1−CH8_L2)から算出される温度ドリフトレベルを、以後時分割出力される入力チャンネルch1〜ch7の各レベルデータから減算してこれら各レベルデータに含まれる温度ドリフト分を相殺する。   On the other hand, when the level data of the input channel ch8 is output in a time-sharing manner after the input channel scan is complete, if the on / off switch prev_sw of the input channel ch8 is set to ON, the CPU 13 acquires the level data CH8_L2 of the input channel ch8. Then, the temperature drift level calculated from the difference (CH8_L1-CH8_L2) from the reference level data CH8_L1 is subtracted from the level data of the input channels ch1 to ch7 that are output in a time-sharing manner, and included in these level data. Compensates for temperature drift.

次に、以上概説した第2実施形態の動作を具現するイニシャライズ処理およびスライドボリューム処理の動作について説明する。なお、これ以外の処理は前述した第1実施形態と同一なので、その動作の説明を省略する。   Next, operations of initialization processing and slide volume processing that implement the operations of the second embodiment outlined above will be described. Since other processes are the same as those in the first embodiment described above, description of the operation is omitted.

(2)第2実施形態によるイニシャライズ処理の動作
図9は、第2実施形態によるイニシャライズ処理の動作を示すフローチャートである。前述した第1実施形態と同様、メインルーチンのステップSA1(図3参照)を介して本処理が実行されると、CPU13は図9に図示するステップSF1に進み、オンオフスイッチprev_swのオンオフ設定状態に応じて、フラグprev_sw_statに「1」又は「0」をセットする。すなわちオンオフスイッチprev_swがオフ設定されている場合には、フラグprev_sw_statに「1」をセットし、一方、オンオフスイッチprev_swがオン設定されている場合には、フラグprev_sw_statに「0」をセットする。
(2) Operation of Initialization Processing According to Second Embodiment FIG. 9 is a flowchart showing the operation of initialization processing according to the second embodiment. As in the first embodiment described above, when this process is executed via step SA1 (see FIG. 3) of the main routine, the CPU 13 proceeds to step SF1 shown in FIG. 9 to set the on / off switch prev_sw to the on / off setting state. In response, “1” or “0” is set to the flag prev_sw_stat. That is, when the on / off switch prev_sw is set to off, “1” is set to the flag prev_sw_stat, while when the on / off switch prev_sw is set to on, “0” is set to the flag prev_sw_stat.

続いて、フラグPFに「0」をセットする。フラグPFは、入力チャンネルch8のレベルデータを基準レベルデータとして取得する場合に「0」、温度ドリフト分を含む入力チャンネルch8のレベルデータを取得する場合に「1」となる。次いで、ステップSF3では、レジスタdrift_valに初期値をセットする。そして、ステップSF4では、チャンネル番号chに「8」をセットする。チャンネル番号chは、アナログマルチプレクサ11aの入力チャンネルを指定する。この後、ステップSF5では、その他のレジスタ・フラグに初期値をセットして本処理を終える。   Subsequently, “0” is set in the flag PF. The flag PF is “0” when the level data of the input channel ch8 is acquired as the reference level data, and “1” when the level data of the input channel ch8 including the temperature drift is acquired. Next, in step SF3, an initial value is set in the register drift_val. In step SF4, “8” is set to the channel number ch. The channel number ch specifies the input channel of the analog multiplexer 11a. Thereafter, in step SF5, initial values are set in other register flags, and this process is terminated.

(3)第2実施形態によるスライドボリューム処理の動作
図10〜図11は、第2実施形態によるスライドボリューム処理の動作を示すフローチャートである。前述した第1実施形態と同様、メインルーチンのステップSA2(図3参照)およびスイッチ処理のステップSC1(図5参照)を介して本処理が実行されると、CPU13は図10に図示するステップSG1に進み、チャンネル番号chで指定されるアナログマルチプレクサ11aの入力チャンネルchのレベルデータ(AD変換値)をレジスタvalue(ch)にストアする。
(3) Operation of Slide Volume Processing According to Second Embodiment FIGS. 10 to 11 are flowcharts showing the operation of slide volume processing according to the second embodiment. As in the first embodiment described above, when this process is executed via step SA2 (see FIG. 3) of the main routine and step SC1 (see FIG. 5) of the switch process, the CPU 13 performs step SG1 shown in FIG. Then, the level data (AD conversion value) of the input channel ch of the analog multiplexer 11a designated by the channel number ch is stored in the register value (ch).

続いて、ステップSG2では、チャンネル番号chが「8」であるか否かを判断する。本処理が最初に実行される状況では、上述のイニシャライズ処理(図9参照)のステップSF4においてチャンネル番号chが「8」に初期設定されている為、判断結果は「YES」になり、ステップSG3に進む。   Subsequently, in step SG2, it is determined whether or not the channel number ch is “8”. In the situation where this process is executed first, the channel number ch is initially set to “8” in step SF4 of the above-described initialization process (see FIG. 9), so the determination result is “YES”, and step SG3 Proceed to

ステップSG3では、レジスタvalue(ch)の値が閾値Vth以上であって、かつフラグprev_sw_statが「1」であるか否か、つまりオンオフスイッチprev_swがオフ設定された状態で、入力チャンネルch8のレベルデータが電源電圧Vccに対応したHレベルであるか否かを判断する。以下、オンオフスイッチprev_swがオフ設定された場合と、オンオフスイッチprev_swがオン設定された場合とに分けて動作説明を進める。   In step SG3, the level data of the input channel ch8 in the state where the value of the register value (ch) is not less than the threshold value Vth and the flag prev_sw_stat is “1”, that is, the on / off switch prev_sw is set to off. Is at the H level corresponding to the power supply voltage Vcc. Hereinafter, the description of the operation will be divided into a case where the on / off switch prev_sw is set to off and a case where the on / off switch prev_sw is set to on.

a.オンオフスイッチprev_swがオフ設定された場合
オンオフスイッチprev_swがオフ設定されていると、上記ステップSG3の判断結果は「YES」になり、ステップSG4に進み、フラグPFが「0」であるか否かを判断する。本処理が最初に実行される状況では、上述のイニシャライズ処理(図9参照)のステップSF2においてフラグPFを「0」にセットする為、判断結果は「YES」になり、ステップSG5に進む。
a. When the ON / OFF switch prev_sw is set to OFF If the ON / OFF switch prev_sw is set to OFF, the determination result at Step SG3 is “YES”, and the process proceeds to Step SG4 to determine whether or not the flag PF is “0”. to decide. In a situation where this process is executed first, the flag PF is set to “0” in step SF2 of the above-described initialization process (see FIG. 9), so the determination result is “YES” and the flow proceeds to step SG5.

ステップSG5では、レジスタvalue(ch)の値、すなわち電源電圧Vccに対応したHレベルとなる入力チャンネルch8のレベルデータを、基準レベルデータとしてレジスタCH8_H1にストアする。以後、レジスタCH8_H1の内容を基準レベルデータCH8_H1と称す。次いで、ステップSG6では、フラグPFを「1」にセットしてステップSG7に進む。   In step SG5, the value of the register value (ch), that is, the level data of the input channel ch8 that becomes H level corresponding to the power supply voltage Vcc is stored in the register CH8_H1 as reference level data. Hereinafter, the content of the register CH8_H1 is referred to as reference level data CH8_H1. Next, in step SG6, the flag PF is set to “1” and the process proceeds to step SG7.

ステップSG7では、チャンネル番号chをインクリメントして歩進させ、続くステップSG8では、歩進されたチャンネル番号chが最大値「8」を超えたかどうかを判断する。本処理が最初に実行される状況では、歩進されたチャンネル番号chが「9」となり、最大値「8」を超えるので、上記ステップSG8の判断結果は「YES」となり、ステップSG9に進み、チャンネル番号chを初期値「1」にリセットして本処理を終える。   In step SG7, the channel number ch is incremented to be incremented, and in the subsequent step SG8, it is determined whether or not the incremented channel number ch has exceeded the maximum value “8”. In the situation where this process is executed first, the stepped channel number ch is “9” and exceeds the maximum value “8”, so the determination result in step SG8 is “YES”, and the process proceeds to step SG9. The channel number ch is reset to the initial value “1”, and this process ends.

以上のようにして、オンオフスイッチprev_swがオフ設定された場合の基準レベルデータCH8_H1を取得し終えた後、歩進されたチャンネル番号chが再び「8」になり、その時にオンオフスイッチprev_swがオフ設定されていたとする。そうすると、上記ステップSG2,SG3の各判断結果は何れも「YES」となり、ステップSG4に進む。そして、ステップSG4では、既に基準レベルデータCH8_H1を取得し終えていることからフラグPFは「1」にセットされている為、判断結果が「NO」になり、ステップSG12に進む。   As described above, after obtaining the reference level data CH8_H1 when the on / off switch prev_sw is set to OFF, the stepped channel number ch becomes “8” again, and the ON / OFF switch prev_sw is set to OFF at that time. Suppose that it was done. Then, the determination results in steps SG2 and SG3 are both “YES”, and the process proceeds to step SG4. In step SG4, since the reference level data CH8_H1 has already been acquired, the flag PF is set to “1”. Therefore, the determination result is “NO”, and the process proceeds to step SG12.

ステップSG12では、レジスタvalue(ch)の値、すなわち電源電圧Vccに対応したHレベルとなる入力チャンネルch8のレベルデータをレジスタCH8_H2にストアする。以後、レジスタCH8_H2の内容をレベルデータCH8_H2と称す。続いて、ステップSG13では、基準レベルデータCH8_H1とレベルデータCH8_H2の差分(CH8_H1−CH8_H2)から温度ドリフトレベルを算出してレジスタdrift_valにストアする。   In step SG12, the value of the register value (ch), that is, the level data of the input channel ch8 that becomes the H level corresponding to the power supply voltage Vcc is stored in the register CH8_H2. Hereinafter, the content of the register CH8_H2 is referred to as level data CH8_H2. Subsequently, in step SG13, the temperature drift level is calculated from the difference (CH8_H1-CH8_H2) between the reference level data CH8_H1 and the level data CH8_H2, and stored in the register drift_val.

この後、上述したステップSG7に進み、チャンネル番号chをインクリメントして歩進させ、続くステップSG8では、歩進されたチャンネル番号chが「9」となり、最大値「8」を超える為、判断結果が「YES」となり、ステップSG9に進み、チャンネル番号chを初期値「1」にリセットして本処理を終える。   Thereafter, the process proceeds to step SG7 described above, where the channel number ch is incremented and incremented. In the subsequent step SG8, the incremented channel number ch becomes “9” and exceeds the maximum value “8”. Becomes “YES”, the flow proceeds to step SG 9, the channel number ch is reset to the initial value “1”, and this processing ends.

以上のようにして、基準レベルデータCH8_H1とレベルデータCH8_H2の差分(CH8_H1−CH8_H2)から温度ドリフトレベルを算出してレジスタdrift_valにストアし終えた後、時分割出力される入力チャンネルch1〜ch7の各レベルデータがレジスタvalue(ch)として順次取得されるようになると、上述したステップSG2の判断結果が「NO」になり、ステップSG10に進み、レジスタvalue(ch)のレベルデータからレジスタdrift_valの温度ドリフトレベルを減算し、その減算結果をレジスタvalue(ch)にストアする。   As described above, the temperature drift level is calculated from the difference (CH8_H1−CH8_H2) between the reference level data CH8_H1 and the level data CH8_H2 and stored in the register drift_val. When the level data is sequentially acquired as the register value (ch), the determination result of the above step SG2 becomes “NO”, the process proceeds to step SG10, and the temperature drift of the register drift_val from the level data of the register value (ch). The level is subtracted, and the subtraction result is stored in the register value (ch).

次いで、ステップSG11では、温度ドリフトレベルが相殺(減算)されたレジスタvalue(ch)の値に基づき、チャンネル番号chに割り当てられた楽音の修飾を音源16に指示する。例えば入力チャンネルch1の操作子がピッチベンダである場合、当該ピッチベンダが割り当てられた発音チャンネルで発音中の楽音のピッチ(音高)をピッチベンダ操作量に応じて変化させるよう音源16に指示する。   Next, in step SG11, the tone generator 16 is instructed to modify the musical sound assigned to the channel number ch based on the value of the register value (ch) from which the temperature drift level has been canceled (subtracted). For example, when the operator of the input channel ch1 is a pitch bender, the sound source 16 is instructed to change the pitch (pitch) of a musical sound that is being generated on the sound generation channel to which the pitch bender is assigned according to the pitch bender operation amount. .

この後、ステップSG7に進み、チャンネル番号chをインクリメントして歩進させ、続くステップSG8では、歩進させたチャンネル番号chが最大値「8」を超えたか否かを判断する。そして、歩進させたチャンネル番号chが最大値「8」を超えていなければ、判断結果は「NO」になり、上記ステップSG1に処理を戻す。以後、入力チャンネルch2〜ch7については上述したステップSG1,SG2,SG10,SG11,SG7,SG8の処理を繰り返す。   Thereafter, the process proceeds to step SG7, where the channel number ch is incremented and incremented, and in the subsequent step SG8, it is determined whether or not the incremented channel number ch exceeds the maximum value “8”. If the incremented channel number ch does not exceed the maximum value “8”, the determination result is “NO”, and the process returns to step SG1. Thereafter, the processes of steps SG1, SG2, SG10, SG11, SG7, and SG8 described above are repeated for input channels ch2 to ch7.

b.オンオフスイッチprev_swがオン設定された場合
オンオフスイッチprev_swがオン設定されていると、上記ステップSG3の判断結果は「NO」になり、図11に図示するステップSG14に進み、フラグPFが「0」であるか否かを判断する。本処理が最初に実行される状況では、上述のイニシャライズ処理(図9参照)のステップSF2においてフラグPFを「0」にセットする為、判断結果は「YES」になり、ステップSG15に進む。
b. When the on / off switch prev_sw is set to on When the on / off switch prev_sw is set to on, the determination result at step SG3 is “NO”, the process proceeds to step SG14 shown in FIG. 11, and the flag PF is “0”. Judge whether there is. In the situation where this process is executed first, the flag PF is set to “0” in step SF2 of the above-described initialization process (see FIG. 9), so the determination result is “YES” and the flow proceeds to step SG15.

ステップSG15では、レジスタvalue(ch)の値、すなわち接地レベルに対応したLレベルとなる入力チャンネルch8のレベルデータを、基準レベルデータとしてレジスタCH8_L1にストアする。以後、レジスタCH8_L1の内容を基準レベルデータCH8_L1と称す。次いで、ステップSG16では、フラグPFを「1」にセットして図10に図示するステップSG7に進む。   In step SG15, the value of the register value (ch), that is, the level data of the input channel ch8 that is L level corresponding to the ground level is stored in the register CH8_L1 as reference level data. Hereinafter, the content of the register CH8_L1 is referred to as reference level data CH8_L1. Next, in step SG16, the flag PF is set to “1”, and the process proceeds to step SG7 shown in FIG.

ステップSG7では、チャンネル番号chをインクリメントして歩進させ、続くステップSG8では、歩進されたチャンネル番号chが最大値「8」を超えたかどうかを判断する。本処理が最初に実行される状況では、歩進されたチャンネル番号chが「9」となり、最大値「8」を超えるので、上記ステップSG8の判断結果は「YES」となり、ステップSG9に進み、チャンネル番号chを初期値「1」にリセットして本処理を終える。   In step SG7, the channel number ch is incremented to be incremented, and in the subsequent step SG8, it is determined whether or not the incremented channel number ch has exceeded the maximum value “8”. In the situation where this process is executed first, the stepped channel number ch is “9” and exceeds the maximum value “8”, so the determination result in step SG8 is “YES”, and the process proceeds to step SG9. The channel number ch is reset to the initial value “1”, and this process ends.

以上のようにして、オンオフスイッチprev_swがオン設定された場合の基準レベルデータCH8_L1を取得し終えた後、歩進されたチャンネル番号chが再び「8」になり、その時にオンオフスイッチprev_swがオン設定されていたとする。そうすると、上記ステップSG2の判断結果が「YES」、ステップSG3の判断結果が「NO」となり、図11に図示するステップSG14に進む。そして、ステップSG14では、既に基準レベルデータCH8_L1を取得し終えていることからフラグPFは「1」にセットされている為、判断結果が「NO」になり、ステップSG17に進む。   As described above, after obtaining the reference level data CH8_L1 when the on / off switch prev_sw is set to on, the stepped channel number ch becomes “8” again, and the on / off switch prev_sw is set to on at that time. Suppose that it was done. Then, the determination result of step SG2 is “YES”, the determination result of step SG3 is “NO”, and the process proceeds to step SG14 shown in FIG. In step SG14, since the reference level data CH8_L1 has already been acquired, the flag PF is set to “1”. Therefore, the determination result is “NO”, and the flow proceeds to step SG17.

ステップSG17では、レジスタvalue(ch)の値、すなわち接地レベルに対応したLレベルとなる入力チャンネルch8のレベルデータをレジスタCH8_L2にストアする。以後、レジスタCH8_L2の内容をレベルデータCH8_L2と称す。続いて、ステップSG18では、基準レベルデータCH8_L1とレベルデータCH8_L2の差分(CH8_L1−CH8_L2)から温度ドリフトレベルを算出してレジスタdrift_valにストアする。   In step SG17, the value of the register value (ch), that is, the level data of the input channel ch8 that is L level corresponding to the ground level is stored in the register CH8_L2. Hereinafter, the content of the register CH8_L2 is referred to as level data CH8_L2. Subsequently, in step SG18, the temperature drift level is calculated from the difference (CH8_L1-CH8_L2) between the reference level data CH8_L1 and the level data CH8_L2, and stored in the register drift_val.

この後、上述したステップSG7(図10参照)に進み、チャンネル番号chをインクリメントして歩進させ、続くステップSG8では、歩進されたチャンネル番号chが「9」となり、最大値「8」を超える為、判断結果が「YES」となり、ステップSG9に進み、チャンネル番号chを初期値「1」にリセットして本処理を終える。   Thereafter, the process proceeds to the above-described step SG7 (see FIG. 10), the channel number ch is incremented and incremented, and in the subsequent step SG8, the incremented channel number ch becomes “9” and the maximum value “8” is set. Therefore, the determination result is “YES”, the process proceeds to step SG9, the channel number ch is reset to the initial value “1”, and this process is terminated.

以上のようにして、基準レベルデータCH8_L1とレベルデータCH8_L2の差分(CH8_L1−CH8_L2)から温度ドリフトレベルを算出してレジスタdrift_valにストアし終えた後、時分割出力される入力チャンネルch1〜ch7の各レベルデータがレジスタvalue(ch)として順次取得されるようになると、上述したステップSG2の判断結果が「NO」になり、ステップSG10に進み、レジスタvalue(ch)のレベルデータからレジスタdrift_valの温度ドリフトレベルを減算し、その減算結果をレジスタvalue(ch)にストアする。   As described above, the temperature drift level is calculated from the difference (CH8_L1−CH8_L2) between the reference level data CH8_L1 and the level data CH8_L2 and stored in the register drift_val. When the level data is sequentially acquired as the register value (ch), the determination result of the above step SG2 becomes “NO”, the process proceeds to step SG10, and the temperature drift of the register drift_val from the level data of the register value (ch). The level is subtracted, and the subtraction result is stored in the register value (ch).

次いで、ステップSG11では、温度ドリフトレベルが相殺(減算)されたレジスタvalue(ch)の値に基づき、チャンネル番号chに割り当てられた楽音の修飾を音源16に指示する。例えば入力チャンネルch1の操作子がピッチベンダである場合、当該ピッチベンダが割り当てられた発音チャンネルで発音中の楽音のピッチ(音高)をピッチベンダ操作量に応じて変化させるよう音源16に指示する。   Next, in step SG11, the tone generator 16 is instructed to modify the musical sound assigned to the channel number ch based on the value of the register value (ch) from which the temperature drift level has been canceled (subtracted). For example, when the operator of the input channel ch1 is a pitch bender, the sound source 16 is instructed to change the pitch (pitch) of a musical sound that is being generated on the sound generation channel to which the pitch bender is assigned in accordance with the pitch bender operation amount. .

この後、ステップSG7に進み、チャンネル番号chをインクリメントして歩進させ、続くステップSG8では、歩進させたチャンネル番号chが最大値「8」を超えたか否かを判断する。そして、歩進させたチャンネル番号chが最大値「8」を超えていなければ、判断結果は「NO」になり、上記ステップSG1に処理を戻す。以後、入力チャンネルch2〜ch7については上述したステップSG1,SG2,SG10,SG11,SG7,SG8の処理を繰り返す。   Thereafter, the process proceeds to step SG7, where the channel number ch is incremented and incremented, and in the subsequent step SG8, it is determined whether or not the incremented channel number ch exceeds the maximum value “8”. If the incremented channel number ch does not exceed the maximum value “8”, the determination result is “NO”, and the process returns to step SG1. Thereafter, the processes of steps SG1, SG2, SG10, SG11, SG7, and SG8 described above are repeated for input channels ch2 to ch7.

このように、第2実施形態では、アナログマルチプレクサ11aの入力チャンネルch1〜ch8の内、オンオフスイッチprev_swが割り当てられた入力チャンネルch8を、温度ドリフトレベル検出用の入力チャンネルとして利用し、起動時当初においてオンオフスイッチprev_swがオフ設定されていると、最初に電源電圧Vccに対応したHレベルとなる入力チャンネルch8のレベルデータを基準レベルデータCH8_H1として取得しておき、以後、入力チャンネル走査が一巡して入力チャンネルch8のレベルデータが時分割出力された時に、当該入力チャンネルch8のオンオフスイッチprev_swがオフ設定されていれば、当該入力チャンネルch8のレベルデータCH8_H2を取得する。   As described above, in the second embodiment, among the input channels ch1 to ch8 of the analog multiplexer 11a, the input channel ch8 to which the on / off switch prev_sw is assigned is used as an input channel for temperature drift level detection. When the on / off switch prev_sw is set to OFF, the level data of the input channel ch8 that is at the H level corresponding to the power supply voltage Vcc is first obtained as the reference level data CH8_H1, and thereafter, the input channel scan is input in a round. When the level data of the channel ch8 is time-divisionally output, if the on / off switch prev_sw of the input channel ch8 is set to off, the level data CH8_H2 of the input channel ch8 is acquired.

そして、上記基準レベルデータCH8_H1とレベルデータCH8_H2との差分(CH8_H1−CH8_H2)から算出される温度ドリフトレベルを、以後時分割出力される入力チャンネルch1〜ch7の各レベルデータから減算してこれら各レベルデータに含まれる温度ドリフト分を相殺するので、温度補償することなく出力段の温度ドリフトを相殺して操作子の不感帯を不要にすることが可能になる。   Then, the temperature drift level calculated from the difference (CH8_H1-CH8_H2) between the reference level data CH8_H1 and the level data CH8_H2 is subtracted from the level data of the input channels ch1 to ch7 that are output in a time-division manner thereafter. Since the temperature drift included in the data is canceled, the temperature drift of the output stage can be canceled without compensating for the temperature, and the dead zone of the operator can be made unnecessary.

一方、起動時当初においてオンオフスイッチprev_swがオン設定されていれば、最初に接地レベルに対応したLレベルとなる入力チャンネルch8のレベルデータを基準レベルデータCH8_L1として取得しておき、以後、入力チャンネル走査が一巡して入力チャンネルch8のレベルデータが時分割出力された時に、当該入力チャンネルch8のオンオフスイッチprev_swがオン設定されていれば、当該入力チャンネルch8のレベルデータCH8_L2を取得する。   On the other hand, if the on / off switch prev_sw is set to on at the beginning of startup, the level data of the input channel ch8 that is L level corresponding to the ground level is first acquired as the reference level data CH8_L1, and thereafter the input channel scan is performed. When the level data of the input channel ch8 is output in a time-sharing manner, if the on / off switch prev_sw of the input channel ch8 is set on, the level data CH8_L2 of the input channel ch8 is acquired.

そして、上記基準レベルデータCH8_L1とレベルデータCH8_L2との差分(CH8_L1−CH8_L2)から算出される温度ドリフトレベルを、以後時分割出力される入力チャンネルch1〜ch7の各レベルデータから減算してこれら各レベルデータに含まれる温度ドリフト分を相殺するので、温度補償することなく出力段の温度ドリフトを相殺して操作子の不感帯を不要にすることが可能になる。   Then, the temperature drift level calculated from the difference (CH8_L1-CH8_L2) between the reference level data CH8_L1 and the level data CH8_L2 is subtracted from the level data of the input channels ch1 to ch7 that are output in a time-division manner thereafter. Since the temperature drift included in the data is canceled, the temperature drift of the output stage can be canceled without compensating for the temperature, and the dead zone of the operator can be made unnecessary.

以上、本発明の実施の一形態について説明したが、本発明はそれに限定されるものではなく、本願出願の特許請求の範囲に記載された発明とその均等の範囲に含まれる。以下では、本願出願当初の特許請求の範囲に記載された各発明について付記する。   As mentioned above, although one Embodiment of this invention was described, this invention is not limited to it, It is included in the invention described in the claim of this-application, and its equivalent range. Hereinafter, each invention described in the scope of claims at the beginning of the present application will be additionally described.

(付記)
[請求項1]
複数入力される信号それぞれをレベル変換して出力する出力手段と、
前記出力手段から出力される複数の信号のうち、ひとつの信号から当該出力手段で生じる温度ドリフトレベルを検出する検出手段と、
前記出力手段から出力される複数の信号のうち、前記ひとつの信号を除く他の信号のそれぞれを、前記検出手段により検出された温度ドリフトレベルに基づいて補正する補正手段と
を具備することを特徴とする信号処理装置。
(Appendix)
[Claim 1]
Output means for level-converting and outputting each of a plurality of input signals;
Detecting means for detecting a temperature drift level generated in the output means from one signal among a plurality of signals output from the output means;
Correction means for correcting each of the signals other than the one signal out of the plurality of signals output from the output means based on the temperature drift level detected by the detection means. A signal processing device.

前記補正手段は、前記出力手段から出力される複数の信号のうち、前記ひとつの信号を除く他の信号のそれぞれから前記検出手段により検出された温度ドリフトレベルを減算することを特徴とする請求項1記載の信号処理装置。   The correction means subtracts the temperature drift level detected by the detection means from each of other signals excluding the one signal among a plurality of signals output from the output means. The signal processing apparatus according to 1.

[請求項3]
前記検出手段は、前記出力手段から出力される複数の信号の内、接地入力された信号から前記出力手段で生じる温度ドリフトレベルを検出することを特徴とする請求項1または2記載の信号処理装置。
[Claim 3]
3. The signal processing apparatus according to claim 1, wherein the detection unit detects a temperature drift level generated in the output unit from a signal input to ground from a plurality of signals output from the output unit. .

[請求項4]
前記検出手段は、
前記出力手段から出力される複数の信号の内、接地入力された信号のレベルを基準レベルデータとして取得する第1の取得手段と、
前記第1の取得手段が基準レベルデータを取得してから所定時間経過する毎に、前記出力手段から出力される複数の信号の内、接地入力された信号のレベルデータを取得する第2の取得手段と、
前記第2の取得手段がレベルデータを取得する毎に、その取得したレベルデータと前記第1の取得手段が取得した基準レベルデータとの差分から温度ドリフトレベルを算出する温度ドリフト算出手段と
を具備することを特徴とする請求項1乃至3の何れかに記載の信号処理装置。
[Claim 4]
The detection means includes
Of the plurality of signals output from the output means, a first acquisition means for acquiring the level of the ground input signal as reference level data;
Second acquisition for acquiring level data of a signal input to ground among a plurality of signals output from the output means each time a predetermined time has elapsed since the first acquisition means acquired reference level data. Means,
Temperature drift calculating means for calculating a temperature drift level from a difference between the acquired level data and the reference level data acquired by the first acquiring means each time the second acquiring means acquires level data; The signal processing apparatus according to claim 1, wherein the signal processing apparatus is a signal processing apparatus.

[請求項5]
前記検出手段は、前記出力手段から出力される複数の信号の内、オンオフスイッチ操作に応じてHレベル或いはLレベルの何れかに設定されるスイッチ信号に基づいて前記出力手段で生じる温度ドリフトレベルを検出することを特徴とする請求項1記載の信号処理装置。
[Claim 5]
The detection means detects a temperature drift level generated in the output means based on a switch signal set to either an H level or an L level according to an on / off switch operation among a plurality of signals output from the output means. The signal processing apparatus according to claim 1, wherein the signal processing apparatus is detected.

[請求項6]
前記検出手段は、
前記出力手段から出力される複数の信号の内、オフ設定されたスイッチ信号のレベルを基準レベルデータとして取得する第1の取得手段と、
前記第1の取得手段が基準レベルデータを取得してから所定時間経過する毎に、前記出力手段から出力される複数の信号の内、オフ設定されたスイッチ信号のレベルデータを取得する第2の取得手段と、
前記第2の取得手段がレベルデータを取得する毎に、その取得したレベルデータと前記第1の取得手段が取得した基準レベルデータとの差分から温度ドリフトレベルを算出する温度ドリフト算出手段と
を具備することを特徴とする請求項5記載の信号処理装置。
[Claim 6]
The detection means includes
First obtaining means for obtaining, as reference level data, a level of a switch signal set to OFF among a plurality of signals output from the output means;
A second time for acquiring the level data of the switch signal set to OFF among the plurality of signals output from the output means each time a predetermined time elapses after the first acquisition means acquires the reference level data. Acquisition means;
Temperature drift calculating means for calculating a temperature drift level from a difference between the acquired level data and the reference level data acquired by the first acquiring means each time the second acquiring means acquires level data; The signal processing apparatus according to claim 5, wherein

[請求項7]
前記検出手段は、
前記出力手段から出力される複数の信号の内、オン設定されたスイッチ信号のレベルを基準レベルデータとして取得する第1の取得手段と、
前記第1の取得手段が基準レベルデータを取得してから所定時間経過する毎に、前記出力手段から出力される複数の信号の内、オン設定されたスイッチ信号のレベルデータを取得する第2の取得手段と、
前記第2の取得手段がレベルデータを取得する毎に、その取得したレベルデータと前記第1の取得手段が取得した基準レベルデータとの差分から温度ドリフトレベルを算出する温度ドリフト算出手段と
を具備することを特徴とする請求項5記載の信号処理装置。
[Claim 7]
The detection means includes
First acquisition means for acquiring, as reference level data, the level of the switch signal set to ON among the plurality of signals output from the output means;
A second time for acquiring the level data of the switch signal set to ON among the plurality of signals output from the output means each time a predetermined time elapses after the first acquisition means acquires the reference level data. Acquisition means;
Temperature drift calculating means for calculating a temperature drift level from a difference between the acquired level data and the reference level data acquired by the first acquiring means each time the second acquiring means acquires level data; The signal processing apparatus according to claim 5, wherein

[請求項8]
信号処理装置において実行される方法であって、
複数入力される信号それぞれをレベル変換して出力する出力過程と、
前記出力過程で出力される複数の信号のうち、ひとつの信号から当該出力過程で生じる温度ドリフトレベルを検出する検出過程と、
前記出力過程で出力される複数の信号のうち、前記ひとつの信号を除く他の信号のそれぞれを、前記検出過程で検出された温度ドリフトレベルに基づいて補正する補正過程と
を備えることを特徴とする信号処理方法。
[Claim 8]
A method performed in a signal processing device, comprising:
An output process of level-converting and outputting each of a plurality of input signals;
A detection process for detecting a temperature drift level generated in the output process from one signal among a plurality of signals output in the output process;
A correction step of correcting each of the other signals excluding the one signal out of the plurality of signals output in the output step based on the temperature drift level detected in the detection step. Signal processing method.

[請求項9]
コンピュータに、
複数入力される信号それぞれをレベル変換して出力する出力ステップと、
前記出力ステップで出力される複数の信号のうち、ひとつの信号から当該出力ステップで生じる温度ドリフトレベルを検出する検出ステップと、
前記出力ステップで出力される複数の信号のうち、前記ひとつの信号を除く他の信号のそれぞれを、前記検出ステップにて検出された温度ドリフトレベルに基づいて補正する補正ステップと
を実行させることを特徴とするプログラム。
[Claim 9]
On the computer,
An output step for level-converting and outputting each of a plurality of input signals,
A detection step of detecting a temperature drift level generated in the output step from one signal among the plurality of signals output in the output step;
A correction step of correcting each of the other signals excluding the one signal out of the plurality of signals output in the output step based on the temperature drift level detected in the detection step; A featured program.

10 鍵盤
11 操作部
11a アナログマルチプレクサ
11b エミッタフォロワ回路
11c AD変換器
12 表示部
13 CPU
14 ROM
15 RAM
16 音源部
17 サウンドシステム
100 電子楽器
DESCRIPTION OF SYMBOLS 10 Keyboard 11 Operation part 11a Analog multiplexer 11b Emitter follower circuit 11c AD converter 12 Display part 13 CPU
14 ROM
15 RAM
16 Sound source section 17 Sound system 100 Electronic musical instrument

Claims (11)

複数入力される信号それぞれをレベル変換して出力する出力手段と、
前記出力手段から出力される複数の信号のうち、ひとつの信号から当該出力手段で生じる温度ドリフトレベルを検出する検出手段と、
前記出力手段から出力される複数の信号のうち、前記ひとつの信号を除く他の信号のそれぞれを、前記検出手段により検出された温度ドリフトレベルに基づいて補正する補正手段と
を具備し、
前記検出手段は、前記出力手段から出力される複数の信号の内、オンオフスイッチ操作に応じて設定される信号に基づいて前記出力手段で生じる温度ドリフトレベルを検出することを特徴とする信号処理装置。
Output means for level-converting and outputting each of a plurality of input signals;
Detecting means for detecting a temperature drift level generated in the output means from one signal among a plurality of signals output from the output means;
Correction means for correcting each of the other signals excluding the one signal among the plurality of signals output from the output means based on the temperature drift level detected by the detection means , and
The detection unit detects a temperature drift level generated in the output unit based on a signal set according to an on / off switch operation among a plurality of signals output from the output unit. .
前記出力手段は、操作子の操作量を示すアナログ信号をデジタル信号に変換して出力し、
前記補正手段により補正されたデジタル信号に基づいて、楽音の発生を制御する制御手段を更に備えることを特徴とする請求項1記載の信号処理装置。
The output means converts an analog signal indicating an operation amount of the operation element into a digital signal and outputs the digital signal,
2. The signal processing apparatus according to claim 1, further comprising control means for controlling the generation of a musical sound based on the digital signal corrected by the correction means.
前記出力手段は、音源が発生する楽音に対する修飾を指示する操作子の操作量を、アナログ信号からデジタル信号に変換して出力し、
前記制御手段は、前記補正手段により補正されたデジタル信号に基づいて、音源が発生する楽音に対する修飾を行なうように制御することを特徴とする請求項2記載の信号処理装置。
The output means converts an operation amount of an operator that instructs modification to a musical sound generated by a sound source from an analog signal to a digital signal and outputs the converted signal.
3. The signal processing apparatus according to claim 2, wherein the control means performs control so as to modify a musical sound generated by a sound source based on the digital signal corrected by the correction means.
前記補正手段は、前記出力手段から出力される複数の信号のうち、前記ひとつの信号を除く他の信号のそれぞれから前記検出手段により検出された温度ドリフトレベルを減算することを特徴とする請求項1乃至3の何れかに記載の信号処理装置。   The correction means subtracts the temperature drift level detected by the detection means from each of other signals excluding the one signal among a plurality of signals output from the output means. The signal processing device according to any one of 1 to 3. 前記検出手段は、前記出力手段から出力される複数の信号の内、接地入力された信号から前記出力手段で生じる温度ドリフトレベルを検出することを特徴とする請求項1乃至4の何れかに記載の信号処理装置。   The said detection means detects the temperature drift level produced in the said output means from the signal input into the earth | ground among the several signals output from the said output means, The said any one of Claim 1 thru | or 4 characterized by the above-mentioned. Signal processing equipment. 前記検出手段は、
前記出力手段から出力される複数の信号の内、接地入力された信号のレベルを基準レベルデータとして取得する第1の取得手段と、
前記第1の取得手段が基準レベルデータを取得してから所定時間経過する毎に、前記出力手段から出力される複数の信号の内、接地入力された信号のレベルデータを取得する第2の取得手段と、
前記第2の取得手段がレベルデータを取得する毎に、その取得したレベルデータと前記第1の取得手段が取得した基準レベルデータとの差分から温度ドリフトレベルを算出する温度ドリフト算出手段と
を具備することを特徴とする請求項1乃至5の何れかに記載の信号処理装置。
The detection means includes
Of the plurality of signals output from the output means, a first acquisition means for acquiring the level of the ground input signal as reference level data;
Second acquisition for acquiring level data of a signal input to ground among a plurality of signals output from the output means each time a predetermined time has elapsed since the first acquisition means acquired reference level data. Means,
Temperature drift calculating means for calculating a temperature drift level from a difference between the acquired level data and the reference level data acquired by the first acquiring means each time the second acquiring means acquires level data; The signal processing device according to claim 1, wherein the signal processing device is a signal processing device.
前記検出手段は、
前記出力手段から出力される複数の信号の内、オフ設定されたスイッチ信号のレベルを基準レベルデータとして取得する第1の取得手段と、
前記第1の取得手段が基準レベルデータを取得してから所定時間経過する毎に、前記出力手段から出力される複数の信号の内、オフ設定されたスイッチ信号のレベルデータを取得する第2の取得手段と、
前記第2の取得手段がレベルデータを取得する毎に、その取得したレベルデータと前記第1の取得手段が取得した基準レベルデータとの差分から温度ドリフトレベルを算出する温度ドリフト算出手段と
を具備することを特徴とする請求項1乃至6の何れかに記載の信号処理装置。
The detection means includes
First obtaining means for obtaining, as reference level data, a level of a switch signal set to OFF among a plurality of signals output from the output means;
A second time for acquiring the level data of the switch signal set to OFF among the plurality of signals output from the output means each time a predetermined time elapses after the first acquisition means acquires the reference level data. Acquisition means;
Temperature drift calculating means for calculating a temperature drift level from a difference between the acquired level data and the reference level data acquired by the first acquiring means each time the second acquiring means acquires level data; The signal processing device according to claim 1, wherein the signal processing device is a signal processing device.
前記検出手段は、
前記出力手段から出力される複数の信号の内、オン設定されたスイッチ信号のレベルを基準レベルデータとして取得する第1の取得手段と、
前記第1の取得手段が基準レベルデータを取得してから所定時間経過する毎に、前記出力手段から出力される複数の信号の内、オン設定されたスイッチ信号のレベルデータを取得する第2の取得手段と、
前記第2の取得手段がレベルデータを取得する毎に、その取得したレベルデータと前記第1の取得手段が取得した基準レベルデータとの差分から温度ドリフトレベルを算出する温度ドリフト算出手段と
を具備することを特徴とする請求項1乃至6の何れかに記載の信号処理装置。
The detection means includes
First acquisition means for acquiring, as reference level data, the level of the switch signal set to ON among the plurality of signals output from the output means;
A second time for acquiring the level data of the switch signal set to ON among the plurality of signals output from the output means each time a predetermined time elapses after the first acquisition means acquires the reference level data. Acquisition means;
Temperature drift calculating means for calculating a temperature drift level from a difference between the acquired level data and the reference level data acquired by the first acquiring means each time the second acquiring means acquires level data; The signal processing device according to claim 1, wherein the signal processing device is a signal processing device.
請求項1乃至8の何れかに記載の信号処理装置を備えた電子楽器であって、
前記補正手段により補正された信号に基づいて楽音の発生を制御する制御手段を更に備えることを特徴とする電子楽器。
An electronic musical instrument comprising the signal processing device according to any one of claims 1 to 8 ,
An electronic musical instrument further comprising control means for controlling the generation of a musical sound based on the signal corrected by the correction means.
信号処理装置において実行される方法であって、
複数入力される信号それぞれをレベル変換して出力する出力処理と、
前記出力処理で出力される複数の信号のうち、ひとつの信号から当該出力処理で生じる温度ドリフトレベルを検出する検出処理と、
前記出力処理で出力される複数の信号のうち、前記ひとつの信号を除く他の信号のそれぞれを、前記検出処理で検出された温度ドリフトレベルに基づいて補正する補正処理
を備え、
前記検出処理は、前記出力処理で出力される複数の信号の内、オンオフスイッチ操作に応じて設定される信号に基づいて前記出力処理で生じる温度ドリフトレベルを検出することを特徴とする信号処理方法。
A method performed in a signal processing device, comprising:
Output processing for level-converting and outputting each of a plurality of input signals;
Among a plurality of signals output by the output processing, the detection processing for detecting the temperature drift levels resulting from one of the signal in the output process,
A correction process for correcting each of the other signals excluding the one signal among the plurality of signals output in the output process based on the temperature drift level detected in the detection process , and
In the signal processing method , the detection process detects a temperature drift level generated in the output process based on a signal set according to an on / off switch operation among a plurality of signals output in the output process. .
コンピュータに、
複数入力される信号それぞれをレベル変換して出力する出力処理と、
前記出力処理で出力される複数の信号のうち、ひとつの信号から当該出力処理で生じる温度ドリフトレベルを検出する検出処理と、
前記出力処理で出力される複数の信号のうち、前記ひとつの信号を除く他の信号のそれぞれを、前記検出処理にて検出された温度ドリフトレベルに基づいて補正する補正処理
を実行させ、
前記検出処理は、前記出力処理で出力される複数の信号の内、オンオフスイッチ操作に応じて設定される信号に基づいて前記出力処理で生じる温度ドリフトレベルを検出することを特徴とするプログラム。
On the computer,
Output processing for level-converting and outputting each of a plurality of input signals;
Among a plurality of signals output by the output processing, the detection processing for detecting the temperature drift levels resulting from one of the signal in the output process,
Correction processing for correcting each of the other signals excluding the one signal among the plurality of signals output in the output processing based on the temperature drift level detected in the detection processing , and
The detection process detects a temperature drift level generated in the output process based on a signal set according to an on / off switch operation among a plurality of signals output in the output process .
JP2013238451A 2013-11-19 2013-11-19 Signal processing apparatus, electronic musical instrument, signal processing method and program Active JP6350789B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013238451A JP6350789B2 (en) 2013-11-19 2013-11-19 Signal processing apparatus, electronic musical instrument, signal processing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013238451A JP6350789B2 (en) 2013-11-19 2013-11-19 Signal processing apparatus, electronic musical instrument, signal processing method and program

Publications (3)

Publication Number Publication Date
JP2015099235A JP2015099235A (en) 2015-05-28
JP2015099235A5 JP2015099235A5 (en) 2017-01-05
JP6350789B2 true JP6350789B2 (en) 2018-07-04

Family

ID=53375888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013238451A Active JP6350789B2 (en) 2013-11-19 2013-11-19 Signal processing apparatus, electronic musical instrument, signal processing method and program

Country Status (1)

Country Link
JP (1) JP6350789B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH075993A (en) * 1993-06-17 1995-01-10 Toshiba Corp Analog signal input device
JP3292331B2 (en) * 1993-07-26 2002-06-17 株式会社河合楽器製作所 Electronic musical instrument

Also Published As

Publication number Publication date
JP2015099235A (en) 2015-05-28

Similar Documents

Publication Publication Date Title
US10347222B2 (en) Musical sound generation method for electronic wind instrument
US7985916B2 (en) Electronic wind instrument and zero point compensation method therefor
US10978034B2 (en) Electronic wind instrument, musical sound generation device, musical sound generation method and storage medium storing program
JP3574264B2 (en) Electronic musical instrument
JP6176480B2 (en) Musical sound generating apparatus, musical sound generating method and program
JP6350789B2 (en) Signal processing apparatus, electronic musical instrument, signal processing method and program
JP5532446B2 (en) Musical sound generator and program
JP6566380B2 (en) Musical sound generating apparatus, musical sound generating method, program, and electronic musical instrument
CN109559724B (en) Musical scale conversion apparatus, electronic wind instrument, musical scale conversion method, and storage medium
JP2002091447A (en) Converting device for electronic musical instrument and method for the same and recording medium
JP6573100B2 (en) Musical sound control device, musical sound control method, program, and electronic musical instrument
JP2012220861A (en) Musical sound generating device and program
JP2019200428A (en) Musical sound generating device, musical sound generating method, program and electronic musical instrument
JP6210356B2 (en) Performance device, performance method and program
JP2017053914A (en) Waveform generation device
JP4164665B2 (en) Parameter control apparatus and parameter control program
JP2018159734A (en) Timbre controller, timbre control method, program, and electric musical instrument
JP6511732B2 (en) Electronic musical instrument, parameter setting method and program
JP2557687Y2 (en) Electronic musical instrument
JP6549945B2 (en) Effect giving device
JP2017062325A (en) Electronic wind instrument, musical sound generation method, and program
JP5029770B2 (en) Performance support information generation apparatus and performance support information generation program
JP4576565B2 (en) Performance apparatus and performance processing program
JP4206830B2 (en) Musical sound control device and musical sound control program
JP4816930B2 (en) Performance support information generation apparatus and performance support information generation program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161116

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171031

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171225

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180522

R150 Certificate of patent or registration of utility model

Ref document number: 6350789

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150