JP2003044052A - Volume controller for electronic musical instrument - Google Patents

Volume controller for electronic musical instrument

Info

Publication number
JP2003044052A
JP2003044052A JP2001226074A JP2001226074A JP2003044052A JP 2003044052 A JP2003044052 A JP 2003044052A JP 2001226074 A JP2001226074 A JP 2001226074A JP 2001226074 A JP2001226074 A JP 2001226074A JP 2003044052 A JP2003044052 A JP 2003044052A
Authority
JP
Japan
Prior art keywords
volume
event
master volume
master
value
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
Application number
JP2001226074A
Other languages
Japanese (ja)
Inventor
Kaoru Sato
馨 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP2001226074A priority Critical patent/JP2003044052A/en
Publication of JP2003044052A publication Critical patent/JP2003044052A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To give priority for the change in a master volume by a user rather than for the setting of the master volume by song data and to maintain the volume balance set by the user. SOLUTION: A volume event control section 18 generates volume events by the changes in the value by a volume slider 36. A master volume control section 16 has a means to latch the value of the master volume by the master volume inputted from an MIDI sequencer 12 and the volume event operated by the user. When a volume event is generated by a user's operation, a flag in the section 16 is set. When a clear switch 38 is turned on, the flag is cleared. While the flag is set, latching of the master volume inputted by MIDI song data is prohibited.

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、電子楽器の音量制
御装置に関し、特に、MIDI情報の曲データから楽音
を再生する際、曲データのマスタボリューム値を音量に
反映しないようにする電子楽器の音量制御装置に関す
る。 【0002】 【従来の技術】一般的に、MIDI情報の曲データに
は、マスタボリュームが設定されている。この設定され
ているマスタボリュームによって複数チャネル全体の音
量が一体的に調節される。図7は、曲データつまりシー
ケンスデータの一例を示す図である。曲データは、最も
一般的にはSMF(スタンダードMIDIファイル)の
フォーマット0を使用して記述される。SMFのイベン
トは、次のイベント実行までの時間を示す「デルタタイ
ム」と「イベントの内容」とによって構成される。デル
タタイム「0」は同時発生されるイベントを表す。 【0003】図7において、イベントi1にマスタボリ
ュームが設定されている。イベントi2にはチャネルC
H1とCH2の音色が設定される。イベントi3にはチ
ャネルCH1とCH2の音量(ボリューム)が設定され
ている。イベントi4には、1/4拍後にチャネルCH
1のC2を打鍵強さ100で発音するイベントが設定さ
れている。以下、曲の終わりまでの演奏情報がMIDI
情報に記述される。この曲データを受信した電子楽器は
イベントi1から順に処理を実行して、曲を再生する。 【0004】 【発明が解決しようとする課題】楽音再生時に、電子楽
器は前記マスタボリュームの値を読み込み、この値をラ
ッチして楽曲の音量を決定する。このラッチされた値
は、演奏者が調節して好みの値に変更することができ
る。例えば、曲データを再生して楽音を発生させなが
ら、その楽音をバックにキーボードを演奏(手弾き)す
るようなことがある。このときに、演奏者は、ラッチさ
れたマスタボリュームの値を変更して、曲データによる
楽音(バッキングパート)と手弾きによる楽音(手弾き
パート)との音量バランスを好みに調節することができ
る。 【0005】しかし、演奏者が設定した音量バランスが
次のようなときに崩れてしまうことがある。例えば、複
数の曲を演奏する場合、音量バランスを好みに設定した
後に再生される曲データにマスタボリュームが設定され
ていれば、ラッチされているマスタボリュームの値はこ
の曲データに設定されているマスタボリュームの値に移
行してしまう。曲データを先頭から読み出して演奏をや
り直す場合にも、曲の先頭でマスタボリュームの値は初
期化されるので、演奏者が好みに変更したマスタボリュ
ームの値は、繰り返される曲データの先頭に設定されて
いるマスタボリュームの値で初期化される。したがっ
て、演奏者は曲毎にマスタボリュームの設定を変更しな
ければならず、非常に不便である。 【0006】本発明は、上記問題点を解消し、演奏者に
よって電子楽器にラッチされたマスタボリュームの値が
変更された場合、その後に再生する曲データ内のマスタ
ボリュームに音量が左右されないようにすることができ
る電子楽器の音量制御装置を提供することを目的とす
る。 【0007】 【課題を解決するための手段】上記の課題を解決し、目
的を達成するための本発明は、マスタボリュームの値を
含むMIDIソングデータに基づく楽音、および演奏操
作子から入力されたオン・オフイベントに基づく楽音を
発生する電子楽器の音量制御装置において、マスタボリ
ュームの値を入力する入力手段と、前記MIDIソング
データに設定されたマスタボリュームの値および前記入
力手段により入力されたマスタボリュームの値を設定す
るラッチ手段と、前記ラッチ手段に設定された値で前記
MIDIソングデータに基づく楽音の音量を制御すると
ともに、前記演奏操作子のオン・イベントに基づいて該
オン・イベントに基づく楽音の音量を制御する音量制御
手段と、前記入力手段からマスタボリュームの値が入力
された時にセットされるフラグと、前記フラグをクリア
する操作子と、前記フラグがセットされている間は、M
IDIソングデータによるマスタボリュームの値で前記
ラッチ手段の設定内容が更新されるのを禁止する手段と
を具備した点に特徴がある。 【0008】上記特徴によれば、入力手段によってマス
タボリュームの値が入力されて、ラッチ手段の内容が変
更されれば、フラグがセットされる。このフラグがセッ
トされた後は、MIDIソングデータが読み込まれて
も、そこに記述されているマスタボリュームの値はラッ
チ手段に設定されない。すなわち、MIDIソングデー
タに基づくマスタボリュームの変更は禁止される。この
禁止は、フラグをクリアにする操作子を使って解除され
る。 【0009】 【発明の実施の形態】以下、図面を参照して本発明を詳
細に説明する。図5は、本発明の一実施形態に係る電子
楽器の平面図である。電子楽器1は、演奏者側つまり図
面下側に設けられる鍵盤(演奏操作子)2と、演奏者側
から離れた側つまり図面上側に設けられるパネル部3と
を有する。パネル部3の中央には、例えば液晶表示装置
からなる表示器31が設けられ、表示器31の左右およ
び下方には、表示器31に予め設定される複数の表示領
域に対応し、この表示領域に表示される情報を選択また
は操作する操作ボタン群32,33が設けられる。 【0010】また、パネル部3の左右には、音色選択ス
イッチやスタイル(音楽ジャンル等)を選択するための
スイッチ群34,35や、マスタボリューム設定用のボ
リュームスライダ36、発音のトータル音量設定用のダ
イヤル37、クリアスイッチ38(機能は後述)等が配
置される。なお、パネル部3にはこれら以外にも各種ス
イッチ並びにLED素子からなる表示器等も設けられる
が、本願発明の要部ではないので図示を省略する。 【0011】図6は、電子楽器1の制御装置の要部ハー
ド構成を示すブロック図である。バスライン4には、C
PU5、RAM6、ROM7、入力装置8、音源9、表
示器31、MIDIインタフェース10、鍵盤2および
MIDIシーケンサ(S/Q)12が接続される。入力
装置8は前記操作ボタン群32,33やスイッチ群3
4,35、およびボリュームスライダ36である。音源
9の出力側は増幅器13を介してスピーカ等を含むサウ
ンドシステム14に接続される。なお、バスライン4に
接続される入力装置8や鍵盤2等には必要に応じてイン
タフェース装置が設けられる。 【0012】図1は、制御装置の要部機能を示すブロッ
ク図である。本実施形態では、演奏者がマスタボリュー
ムの値を変更した後は、そのクリア操作が行われるまで
の間は、MIDI情報である曲データに設定されたマス
タボリュームの値を音量に反映させないようにする。曲
データ記憶部15は前記MIDIインタフェース10を
介して入力されるシーケンスデータつまり曲データ(M
IDIソングデータ)を記憶する。曲データのフォーマ
ットおよびデータの内容は図7に関して説明したものと
同様である。曲データ記憶部15には複数の曲データを
格納することができる。MIDIシーケンサ12は、例
えば16チャネルのデータ読み出しおよび再生機能を有
し、曲データ記憶部15から読み込んだ曲データを処理
する。すなわち、曲データにマスタボリュームイベント
があれば、そのイベントをマスタボリューム制御部16
に送信する。一方、曲データに含まれるその他のイベン
トは音源制御部17に送信される。 【0013】ボリュームスライダ36の値は、このボリ
ュームスライダ36の値に変化が生じたとき、つまりボ
リュームスライダ36を動かしたときにボリュームイベ
ント制御部18に読み込まれる。ボリュームイベント制
御部18は読み込んだマスタボリュームスライダ36の
値を含んだマスタボリュームイベントを作成し、マスタ
ボリューム制御部16へ送信する。マスタボリューム制
御部16は、ユーザイベントフラグを有し、このユーザ
イベントフラグは、ボリュームイベント制御部18から
マスタボリュームイベントを受け取った場合にセットさ
れる。クリアスイッチイベント制御部19は、クリアス
イッチ38がオン操作されると、ユーザボリュームクリ
アイベントを作成し、マスタボリューム制御部16に送
信する。 【0014】マスタボリューム制御部16は、ボリュー
ムイベント制御部18から送信されるマスタボリューム
イベントを曲データのマスタボリュームイベントに優先
させ、音源制御部17に出力するマスタボリュームの値
を決定する。マスタボリューム制御部16の機能は図3
に関してさらに後述する。マスタボリューム制御部16
で決定されたマスタボリュームの値は音源制御部17に
入力され、この値により、曲データによる演奏パートの
音量が設定される。 【0015】鍵盤2は各鍵毎に、押鍵・離鍵に応答して
それぞれオンイベントおよびオフイベント信号を出力す
るスイッチを有しており、このスイッチの出力信号は鍵
盤イベント制御部20のスキャンにより検出される。鍵
盤イベント制御部20は検出したオンイベントおよびオ
フイベントを音源制御部17に送信する。 【0016】音源制御部17は、MIDIシーケンサ1
2から受信したイベント、および鍵盤イベント制御部2
0から受信したイベントに基づくそれぞれの演奏パート
毎に音源9を制御する。すなわち、MIDIシーケンサ
12から供給される曲データの内容(図7参照)を各イ
ベント毎に音源9にセットして第1の楽音信号を形成す
るとともに、鍵盤イベント制御部20から供給されるイ
ベントを音源9にセットして第2の楽音信号を形成す
る。第1の楽音信号はバッキングパートの演奏に対応
し、第2の楽音信号は手弾きパートの演奏に対応する。
これら楽音信号はトータル音量設定部37Aで、前記ダ
イヤル37によりトータル音量が設定されてサウンドシ
ステム14に供給され、音声として出力される。 【0017】図2は、MIDIシーケンサ12を含む音
量制御装置の要部構成を示すブロック図であり、図1と
同符号は同一または同等部分を示す。MIDIシーケン
サ12は複数のMIDIチャネル(16チャネル(C
H))に対応して構成され、各チャネル毎に曲データか
ら読み込んだイベントを格納するメモリ12−1,12
−2,…,12−16と、各チャネル毎のボリューム
(音量)を格納するラッチ12−1L,12−2L,
…,12−16Lとを有する。各ラッチ12−1L〜ラ
ッチ12−16Lの出力は、すべてのチャネルに共通す
るマスタボリュームを格納するマスタボリュームラッチ
121に接続される。マスタボリュームラッチ121は
前記マスタボリューム制御部16に設けられる。 【0018】マスタボリュームラッチ121には曲デー
タに設定されたマスタボリュームの値または演奏者がボ
リュームスライダ36を使用して設定されるマスタボリ
ュームの値がラッチされる。各メモリ12−1〜12−
16から読み出されたデータに関して、各ラッチ12−
1L〜12−16Lでチャネル毎の音量比率が決定さ
れ、マスタボリュームラッチ121で各チャネルの合成
音量が決定される。 【0019】図3は、マスタボリューム制御部16の要
部機能を示すブロック図である。フラグ制御部21はボ
リュームイベント制御部18からマスタボリュームイベ
ントを受け取るとセット信号を出力してユーザイベント
フラグ22をセットする。一方、フラグ制御部21はク
リアスイッチイベント制御部19からユーザボリューム
クリアイベントを受け取るとユーザイベントフラグ22
をクリアする。MIDIシーケンサ12から供給される
マスタボリュームイベントはボリューム変更禁止部23
を介してマスタボリュームラッチ121にセットされ
る。 【0020】ボリューム変更禁止部23はユーザイベン
トフラグ22がセットされている間、ゲート23aによ
ってMIDIシーケンサ12からのデータがマスタボリ
ュームラッチ121に入力されるのを禁止する。ゲート
23aはユーザイベントフラグ22がクリアされると開
かれて、MIDIシーケンサ12からのデータがマスタ
ボリュームラッチ121に入力されるのを許可する。一
方、ボリュームイベント制御部18からのマスタボリュ
ームイベントはボリューム変更禁止部23を経ないでマ
スタボリュームラッチ121に入力される。 【0021】図4は、マスタボリューム制御部16の処
理を示すフローチャートである。図4において、ステッ
プS1では、ユーザイベントフラグ22をクリア(=
0)にする等の、初期化を行う。ステップS2では、ユ
ーザによるマスタボリューム変更か、つまりボリューム
イベント制御部18からマスタボリュームイベントを受
信したか否かを判断する。ステップS1が肯定であれ
ば、ステップS3でユーザイベントフラグ22をセット
(=1)し、ステップS4に進む。 【0022】ステップS2が否定であれば、ステップS
5に進む。ステップS5ではMIDIシーケンサ12か
らマスタボリュームイベントを受信したか否かを判断す
る。ステップS5が肯定ならばステップS6に進み、ユ
ーザイベントフラグ22がセットされているか否かを判
断する。ステップS4が否定(ユーザイベントフラグ=
0)ならば、ステップS4に進む。 【0023】ステップS5が否定またはステップS6が
肯定(ユーザイベントフラグ=1)ならば、マスタボリ
ュームラッチ121の内容は更新しないので、ステップ
S4はスキップしてステップS7に進む。ステップS7
では、ユーザボリュームクリアイベントか否かを判断す
る。ステップS7が肯定ならば、ステップS8でユーザ
イベントフラグ22をクリア(=0)にしてこのフロー
チャートを抜ける。ステップS7が否定ならば、ステッ
プS8はスキップしてユーザイベントフラグ22はその
まま維持する。 【0024】ステップS2が肯定のときは、ステップS
4でマスタボリュームラッチ121のデータをボリュー
ム制御部18からのマスタボリュームイベントのデータ
で更新する。ステップS6が否定のときは、ステップS
4でマスタボリュームラッチ121のデータをMIDI
シーケンサ12からのマスタボリュームイベントのデー
タで更新する。 【0025】本実施形態によれば、演奏者がボリューム
スライダ36を操作してマスタボリュームを更新した後
は、この更新されたマスタボリュームの値が、MIDI
シーケンサ12を介して入力される曲データのマスタボ
リュームの値に優先される。したがって、別の曲データ
が新たに再生されたり、曲の先頭に戻って曲データが繰
り返し再生されるような場合でも、クリアスイッチ38
が操作されるまでは演奏者が設定したマスタボリューム
の値が維持される。すなわち、MIDI情報による演奏
パートと鍵盤2のイベントによるパートの音量のバラン
スが演奏者の設定で維持される。 【0026】本実施形態では、MIDIデータによるイ
ベントと鍵盤2によるイベントに基づく楽音を合成して
発音するようにシステムを構成した。しかし、本発明は
これに限らず、鍵盤2に代えて、他の演奏用操作子、例
えば演奏用パッドなどのイベントによる楽音とMIDI
データによるイベントの楽音を合成する場合にも適用で
きる。 【0027】 【発明の効果】以上の説明から明らかなように、本発明
によれば、演奏者つまりユーザがマスタボリュームを設
定すると、その後は、MIDIソングデータに記述され
ているマスタボリュームの値は無視される。したがっ
て、例えば、MIDIソングデータをバックにして演奏
操作子(鍵盤等)で手弾き演奏を行う場合、演奏者が好
みに合わせてバックの演奏と手弾き演奏との音量バラン
スを設定した場合は、その音量バランスが、その後のM
IDIソングデータの読み込みによって崩されるのを防
止できる。
Description: BACKGROUND OF THE INVENTION [0001] 1. Field of the Invention [0002] The present invention relates to a volume control device for an electronic musical instrument, and more particularly, to reproducing a music volume from music data of MIDI information, and a master volume value of the music data. The present invention relates to a volume control device for an electronic musical instrument that does not reflect the volume. 2. Description of the Related Art Generally, a master volume is set in music data of MIDI information. The set master volume adjusts the volume of the entire plurality of channels integrally. FIG. 7 is a diagram illustrating an example of music data, that is, an example of sequence data. Music data is most commonly described using SMF (Standard MIDI File) format 0. An SMF event is composed of "delta time" indicating the time until the next event execution and "contents of the event". The delta time “0” represents a simultaneous event. In FIG. 7, a master volume is set for an event i1. Event i2 has channel C
The tone colors of H1 and CH2 are set. The volume of the channels CH1 and CH2 is set for the event i3. Event i4 includes channel CH after 1/4 beat
An event is set in which C2 of No. 1 is pronounced with a keystroke strength of 100. Hereafter, the performance information until the end of the song is MIDI
Described in the information. The electronic musical instrument that has received the music data executes the processing in order from the event i1 to reproduce the music. At the time of reproducing a musical sound, an electronic musical instrument reads the value of the master volume and latches this value to determine the volume of the music. This latched value can be adjusted by the player and changed to a desired value. For example, there is a case where a keyboard is played (hand-operated) with the musical sound as a background while reproducing music data to generate a musical sound. At this time, the player can change the value of the latched master volume and adjust the volume balance between the musical sound (backing part) based on the music data and the musical sound (manual playing part) by playing as desired. . [0005] However, the volume balance set by the player may be broken in the following cases. For example, when playing a plurality of songs, if the master volume is set to the song data to be reproduced after setting the volume balance to a preference, the latched master volume value is set to this song data. It moves to the value of the master volume. Even when the song data is read from the beginning and the performance is restarted, the master volume value is initialized at the beginning of the song, so the master volume value changed by the player to the preference is set at the beginning of the repeated song data Initialized with the master volume value that has been set. Therefore, the player must change the master volume setting for each song, which is very inconvenient. [0006] The present invention solves the above-mentioned problem, and when the value of the master volume latched by the electronic musical instrument is changed by the player, the volume is not influenced by the master volume in the music data to be reproduced thereafter. It is an object of the present invention to provide a volume control device of an electronic musical instrument that can perform the control. SUMMARY OF THE INVENTION The present invention for solving the above-mentioned problems and achieving the object is based on a musical tone based on MIDI song data including a master volume value, and input from a performance operator. In a volume control device of an electronic musical instrument for generating a musical tone based on an on / off event, an input means for inputting a master volume value, a master volume value set in the MIDI song data and a master input by the input means. A latch unit for setting a volume value; controlling a volume of a musical tone based on the MIDI song data with the value set in the latch unit; Volume control means for controlling the volume of a musical tone; and a master volume value input from the input means. When the flag is set, an operator for clearing the flag, and M while the flag is set.
A means for prohibiting the setting contents of the latch means from being updated with the value of the master volume according to the IDI song data. According to the above feature, when the value of the master volume is inputted by the input means and the content of the latch means is changed, the flag is set. After this flag is set, even if MIDI song data is read, the value of the master volume described therein is not set in the latch means. That is, the change of the master volume based on the MIDI song data is prohibited. This prohibition is released using an operator that clears the flag. The present invention will be described below in detail with reference to the drawings. FIG. 5 is a plan view of the electronic musical instrument according to one embodiment of the present invention. The electronic musical instrument 1 has a keyboard (performance operator) 2 provided on the player side, that is, on the lower side of the drawing, and a panel unit 3 provided on a side distant from the player side, that is, on the upper side of the drawing. In the center of the panel unit 3, there is provided a display 31 composed of, for example, a liquid crystal display device, and left, right, and below the display 31 correspond to a plurality of display areas preset on the display 31. Are provided with operation button groups 32 and 33 for selecting or operating the information displayed in. On the left and right sides of the panel section 3, switches 34 and 35 for selecting a tone color selection switch and a style (music genre, etc.), a volume slider 36 for setting a master volume, and a total volume setting for sound generation are provided. , A clear switch 38 (the function of which will be described later), and the like. In addition, the panel unit 3 is provided with various switches, a display device including an LED element, and the like, in addition to the above. FIG. 6 is a block diagram showing a hardware configuration of a main part of the control device of the electronic musical instrument 1. Bus line 4 has C
The PU 5, RAM 6, ROM 7, input device 8, sound source 9, display 31, MIDI interface 10, keyboard 2, and MIDI sequencer (S / Q) 12 are connected. The input device 8 includes the operation button groups 32 and 33 and the switch group 3.
4, 35, and a volume slider 36. The output side of the sound source 9 is connected via an amplifier 13 to a sound system 14 including a speaker and the like. The input device 8 and the keyboard 2 connected to the bus line 4 are provided with an interface device as needed. FIG. 1 is a block diagram showing the main functions of the control device. In the present embodiment, after the player changes the value of the master volume, the volume of the master volume set in the music data, which is the MIDI information, is not reflected until the clear operation is performed. I do. The music data storage unit 15 stores the sequence data input via the MIDI interface 10, that is, the music data (M
IDI song data). The format of the music data and the contents of the data are the same as those described with reference to FIG. The music data storage unit 15 can store a plurality of music data. The MIDI sequencer 12 has, for example, a data reading and reproducing function of 16 channels, and processes music data read from the music data storage unit 15. That is, if there is a master volume event in the music data, the event is transmitted to the master volume control unit 16.
Send to On the other hand, other events included in the music data are transmitted to the sound source controller 17. The value of the volume slider 36 is read into the volume event controller 18 when the value of the volume slider 36 changes, that is, when the volume slider 36 is moved. The volume event control unit 18 creates a master volume event including the read value of the master volume slider 36 and transmits the master volume event to the master volume control unit 16. The master volume control unit 16 has a user event flag, and this user event flag is set when a master volume event is received from the volume event control unit 18. When the clear switch 38 is turned on, the clear switch event control unit 19 creates a user volume clear event and sends it to the master volume control unit 16. The master volume control unit 16 gives priority to the master volume event transmitted from the volume event control unit 18 over the master volume event of the music data, and determines the value of the master volume to be output to the sound source control unit 17. The function of the master volume control unit 16 is shown in FIG.
Will be further described later. Master volume control unit 16
The value of the master volume determined in step (1) is input to the tone generator control unit 17, and the volume of the performance part based on the music data is set by this value. The keyboard 2 has, for each key, a switch for outputting an on-event signal and an off-event signal in response to a key press and a key release, respectively. Is detected by The keyboard event control unit 20 transmits the detected ON event and OFF event to the sound source control unit 17. The sound source control unit 17 includes a MIDI sequencer 1
Event received from keyboard 2 and keyboard event controller 2
The sound source 9 is controlled for each performance part based on the event received from 0. That is, the contents of the music data (see FIG. 7) supplied from the MIDI sequencer 12 are set in the tone generator 9 for each event to form the first musical tone signal, and the event supplied from the keyboard event control unit 20 is processed. A second tone signal is formed by setting the tone generator 9 on the sound source 9. The first tone signal corresponds to the performance of the backing part, and the second tone signal corresponds to the performance of the hand-playing part.
These tone signals are set in the total volume by the dial 37 in the total volume setting section 37A, supplied to the sound system 14, and output as sound. FIG. 2 is a block diagram showing a main part of the volume control device including the MIDI sequencer 12, and the same reference numerals as those in FIG. 1 denote the same or equivalent parts. The MIDI sequencer 12 has a plurality of MIDI channels (16 channels (C
H)), and stores the events read from the music data for each channel.
,..., 12-16, and latches 12-1L, 12-2L, which store the volume (volume) of each channel.
.., 12-16L. Outputs of the latches 12-1L to 12-16L are connected to a master volume latch 121 that stores a master volume common to all channels. The master volume latch 121 is provided in the master volume control unit 16. The master volume latch 121 latches the master volume value set in the music data or the master volume value set by the player using the volume slider 36. Each memory 12-1 to 12-
16, the data read from each latch 12-
The volume ratio of each channel is determined by 1L to 12-16L, and the master volume latch 121 determines the composite volume of each channel. FIG. 3 is a block diagram showing the main functions of the master volume control unit 16. When receiving the master volume event from the volume event control unit 18, the flag control unit 21 outputs a set signal and sets the user event flag 22. On the other hand, when the flag control unit 21 receives the user volume clear event from the clear switch event control unit 19,
Clear The master volume event supplied from the MIDI sequencer 12 is transmitted to the volume change prohibition unit 23.
Is set in the master volume latch 121 via the. The volume change prohibition unit 23 prohibits the gate 23a from inputting data from the MIDI sequencer 12 to the master volume latch 121 while the user event flag 22 is set. The gate 23a is opened when the user event flag 22 is cleared, and permits data from the MIDI sequencer 12 to be input to the master volume latch 121. On the other hand, the master volume event from the volume event control unit 18 is input to the master volume latch 121 without passing through the volume change prohibition unit 23. FIG. 4 is a flowchart showing the processing of the master volume control unit 16. In FIG. 4, in step S1, the user event flag 22 is cleared (=
Initialization such as 0) is performed. In step S2, it is determined whether or not the user has changed the master volume, that is, whether or not a master volume event has been received from the volume event control unit 18. If step S1 is affirmative, the user event flag 22 is set (= 1) in step S3, and the process proceeds to step S4. If step S2 is negative, step S
Go to 5. In step S5, it is determined whether a master volume event has been received from the MIDI sequencer 12. If step S5 is positive, the process proceeds to step S6, and it is determined whether or not the user event flag 22 is set. Step S4 is negative (user event flag =
If 0), proceed to step S4. If step S5 is negative or step S6 is positive (user event flag = 1), the contents of the master volume latch 121 are not updated, so step S4 is skipped and the process proceeds to step S7. Step S7
Then, it is determined whether or not the event is a user volume clear event. If step S7 is positive, the user event flag 22 is cleared (= 0) in step S8, and the process exits the flowchart. If step S7 is negative, step S8 is skipped and the user event flag 22 is maintained. If step S2 is affirmative, step S
At 4, the data of the master volume latch 121 is updated with the data of the master volume event from the volume control unit 18. If step S6 is negative, step S6
4 transfers the data of the master volume latch 121 to MIDI.
It is updated with the master volume event data from the sequencer 12. According to the present embodiment, after the player operates the volume slider 36 to update the master volume, the updated master volume value is set to the MIDI value.
The priority is given to the master volume value of the music data input via the sequencer 12. Therefore, even when another piece of music data is newly reproduced, or when the music data returns to the beginning of the music and is repeatedly reproduced, the clear switch 38 is used.
Until is operated, the value of the master volume set by the player is maintained. That is, the balance between the volume of the performance part based on the MIDI information and the volume of the part based on the event of the keyboard 2 is maintained by the setting of the player. In the present embodiment, the system is configured so that an event based on MIDI data and a musical tone based on the event based on the keyboard 2 are synthesized and sounded. However, the present invention is not limited to this. Instead of the keyboard 2, other musical operators such as musical tones and MIDI by events such as musical pads are used.
The present invention can also be applied to the case of synthesizing a musical tone of an event by data. As is apparent from the above description, according to the present invention, when the player, that is, the user sets the master volume, the master volume value described in the MIDI song data thereafter becomes It will be ignored. Therefore, for example, when performing a hand-playing performance with a performance operator (keyboard or the like) with the MIDI song data as a back, and when the player sets the volume balance between the back playing and the hand-playing to suit the preference, The volume balance is M
It can be prevented from being broken by reading the IDI song data.

【図面の簡単な説明】 【図1】 本発明の一実施形態に係る電子楽器の要部機
能を示すブロック図である。 【図2】 MIDIシーケンサを含む音量制御装置の要
部構成を示すブロック図である。 【図3】 マスタボリューム制御部の構成を示すブロッ
ク図である。 【図4】 マスタボリューム制御部の処理フローチャー
トである。 【図5】 本発明の一実施形態に係る電子楽器の平面図
である。 【図6】 電子楽器の制御装置の要部ブロック図であ
る。 【図7】 MIDIソングデータの一例を示す図であ
る。 【符号の説明】 1…電子楽器、 2…鍵盤、 3…パネル部、 9…音
源、 12…MIDIシーケンサ、 16…マスタボ
リューム制御部、 18…ボリュームイベント制御部、
19…クリアスイッチイベント制御部、 20…鍵盤
イベント制御部、21…フラグ制御部、 22…ユーザ
イベントフラグ、 23…ボリューム変更禁止部、 3
6…ボリュームスライダ、 37A…トータル音量設定
部、 38…クリアスイッチ
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating main functions of an electronic musical instrument according to an embodiment of the present invention. FIG. 2 is a block diagram illustrating a main configuration of a volume control device including a MIDI sequencer. FIG. 3 is a block diagram illustrating a configuration of a master volume control unit. FIG. 4 is a processing flowchart of a master volume control unit. FIG. 5 is a plan view of the electronic musical instrument according to one embodiment of the present invention. FIG. 6 is a main block diagram of a control device of the electronic musical instrument. FIG. 7 is a diagram showing an example of MIDI song data. [Description of Signs] 1 ... electronic musical instrument, 2 ... keyboard, 3 ... panel section, 9 ... sound source, 12 ... MIDI sequencer, 16 ... master volume control section, 18 ... volume event control section,
19: Clear switch event control unit, 20: Keyboard event control unit, 21: Flag control unit, 22: User event flag, 23: Volume change prohibition unit, 3
6 Volume slider 37A Total volume setting section 38 Clear switch

Claims (1)

【特許請求の範囲】 【請求項1】 マスタボリュームの値を含むMIDIソ
ングデータに基づく楽音、および演奏操作子から入力さ
れたオン・オフイベントに基づく楽音を発生する電子楽
器の音量制御装置において、 マスタボリュームの値を入力する入力手段と、 前記MIDIソングデータに設定されたマスタボリュー
ムの値および前記入力手段により入力されたマスタボリ
ュームの値を設定するラッチ手段と、 前記ラッチ手段に設定された値で前記MIDIソングデ
ータに基づく楽音の音量を制御するとともに、前記演奏
操作子のオン・イベントに基づいて該オン・イベントに
基づく楽音の音量を制御する音量制御手段と、 前記入力手段からマスタボリュームの値が入力された時
にセットされるフラグと、 前記フラグをクリアする操作子と、 前記フラグがセットされている間は、MIDIソングデ
ータによるマスタボリュームの値で前記ラッチ手段の設
定内容が更新されるのを禁止する手段とを具備したこと
を特徴とする電子楽器の音量制御装置。
Claims 1. A volume control device for an electronic musical instrument that generates a tone based on MIDI song data including a master volume value and a tone based on an on / off event input from a performance operator. Input means for inputting a master volume value; latch means for setting a master volume value set in the MIDI song data and a master volume value input by the input means; and a value set in the latch means Volume control means for controlling the volume of a musical tone based on the MIDI song data and controlling the volume of a musical tone based on the on-event of the performance operator, and a master volume from the input means. A flag that is set when a value is input, and a control that clears the flag Means for prohibiting the setting contents of the latch means from being updated with a master volume value based on MIDI song data while the flag is set. apparatus.
JP2001226074A 2001-07-26 2001-07-26 Volume controller for electronic musical instrument Pending JP2003044052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001226074A JP2003044052A (en) 2001-07-26 2001-07-26 Volume controller for electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001226074A JP2003044052A (en) 2001-07-26 2001-07-26 Volume controller for electronic musical instrument

Publications (1)

Publication Number Publication Date
JP2003044052A true JP2003044052A (en) 2003-02-14

Family

ID=19058960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001226074A Pending JP2003044052A (en) 2001-07-26 2001-07-26 Volume controller for electronic musical instrument

Country Status (1)

Country Link
JP (1) JP2003044052A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010522364A (en) * 2007-03-22 2010-07-01 クゥアルコム・インコーポレイテッド Pipeline techniques for processing digital interface (MIDI) files for musical instruments

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010522364A (en) * 2007-03-22 2010-07-01 クゥアルコム・インコーポレイテッド Pipeline techniques for processing digital interface (MIDI) files for musical instruments

Similar Documents

Publication Publication Date Title
US20060201311A1 (en) Chord presenting apparatus and storage device storing a chord presenting computer program
JPH0228696A (en) Electronic musical instrument
JP3707300B2 (en) Expansion board for musical sound generator
JP3533972B2 (en) Electronic musical instrument setting control device
JP2004117613A (en) Electronic musical instrument
JPH08234731A (en) Electronic musical instrument
US5177314A (en) Timbre setting device for an electronic musical instrument
JPH06202654A (en) Electronic musical instrument
JP2003044052A (en) Volume controller for electronic musical instrument
JPH0968980A (en) Timbre controller for electronic keyboard musical instrument
JP2000089774A (en) Karaoke device
JPS5855986A (en) Electronic musical instrument
JPH06259064A (en) Electronic musical instrument
JP2006039262A (en) Effect imparting apparatus and method therefor
JPH0566776A (en) Automatic orchestration device
JP2001184060A (en) Part selecting device
JPH10274985A (en) Automatic arpeggio performance device and arpeggio performance system
JPS58139187A (en) Purely regular rhythm electronic keyed instrument
JPH064079A (en) Musical sound synthesizing device
JPH10319961A (en) Sound generating timing controller
JPS637396B2 (en)
JP2947150B2 (en) Automatic performance device
JP3775097B2 (en) Music generator
JP2802489B2 (en) Test sound generator for electronic musical instruments
JPH1195769A (en) Music reproducing device