JPS5860795A - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPS5860795A
JPS5860795A JP56160458A JP16045881A JPS5860795A JP S5860795 A JPS5860795 A JP S5860795A JP 56160458 A JP56160458 A JP 56160458A JP 16045881 A JP16045881 A JP 16045881A JP S5860795 A JPS5860795 A JP S5860795A
Authority
JP
Japan
Prior art keywords
terminal
supplied
output
signal
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP56160458A
Other languages
Japanese (ja)
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.)
Nippon Gakki Co Ltd
Original Assignee
Nippon Gakki 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 Nippon Gakki Co Ltd filed Critical Nippon Gakki Co Ltd
Priority to JP56160458A priority Critical patent/JPS5860795A/en
Publication of JPS5860795A publication Critical patent/JPS5860795A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 この発明は、クレツシエンドペダルを有する電子楽器の
改良に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an improvement in an electronic musical instrument having a cresciendo pedal.

近年、クレツシエンドペダルの踏込量に応じて音色が順
次変化する電子楽器が開発されてεする。
In recent years, electronic musical instruments have been developed whose timbre changes sequentially depending on the amount of depression of the cressiendo pedal.

この電子楽器は内部に音色データな記憶するメモリを有
し、このメモリの例えば0〜99@地に予め100個の
音色データを記憶させておく。そして例えばクレツシエ
ンドペダルが全踏込量の10外だけに込まれた時は、0
〜9番地内の音色データが読出され、これらの音色デー
タに基づいて楽音信号が形成され、また、例えばクレツ
シエンドペダルが全踏込量の56踏込まれた時は、0〜
49番地内の音色データが続出され、読出された音色デ
ータに基づいて楽音信号が形成される。
This electronic musical instrument has an internal memory for storing timbre data, and 100 pieces of timbre data are stored in advance in the memory, for example, from 0 to 99@. For example, when the crescendo end pedal is depressed only outside the 10% of the total pedal stroke, 0
The tone data in addresses ~9 are read out, and a musical tone signal is formed based on these tone data.For example, when the cresciendo pedal is depressed 56 times, which is the total amount of depression, the tone data in addresses 0~9 are read.
The timbre data within address 49 is successively read out, and a musical tone signal is formed based on the read timbre data.

ところで、上述した電子楽器におけるメモリには、通常
、半導体RAM(ランダム・アクセス・メモリ)が用い
られてお夛、このため、電源をオフとするたびにメモリ
の内容が消えてしまう。したがって、電源を投入するた
びに、メモリ内に新たに音色データを書込む必要がある
。また、複数台の電子楽器に同一デー・夕を書込む場合
においては、電子楽器毎に各々データを書込むことが必
要である。しかしながら、このデータ書込みは非常に手
間がかがシ演奏者にとってわずられしいという問題があ
った。
Incidentally, the memory in the above-mentioned electronic musical instrument usually uses a semiconductor RAM (random access memory), and therefore the contents of the memory are erased every time the power is turned off. Therefore, each time the power is turned on, it is necessary to write new tone data into the memory. Furthermore, when writing the same data to a plurality of electronic musical instruments, it is necessary to write the data to each electronic musical instrument. However, there is a problem in that this data writing is very time-consuming and bothersome for the player.

そこでこの発明は、メモリへのデータ書込みを極めて短
時間で行い得る電子楽器を提出するもので、外部記憶媒
体に記憶されたデータを読出し、前記メモリへ書込む手
段を設けたことを特徴としている。
Therefore, the present invention proposes an electronic musical instrument that can write data to a memory in an extremely short time, and is characterized by providing a means for reading data stored in an external storage medium and writing it to the memory. .

以下、図面を参照しこの発明の一実施例につし1て説明
する。なお、以下の説明において11′信号、@0″信
号とは各々2値論理レベルにおける信号を指す。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. In the following description, the 11' signal and the @0'' signal each refer to a signal at a binary logic level.

第1図はこの発明による電子楽器の構成を示すブロック
図であシ、この図において、′符号1はキーホードであ
る。このキーボード1は複数のキー(鍵)と、各キーに
対応して設けられたキースイッチとから構成されるもの
で、演奏者によってキーが押下されると、押下キーに対
応するキー情報KOが出力され、n個のトーンジェネレ
ータTGI〜TGIIへ各々供給される。トーンジェネ
レータTGI〜TGnは各々、供給されたキー情報KO
に対応する音高を有し、かつ、個々のトーンジェネレー
タ毎に予め決められた音色を有する楽音信号を形成する
回路であシ、各トーンジェネレータTG1〜TG!Lに
よって形成された楽音信号は各々ゲート回路p1〜Gl
!へ供給される。ゲート回路G1〜Gnは各々、オアゲ
ートR1〜Rnの出力によって開閉制御されるもので、
これらのゲート回路01〜G!lを通過した上記楽音信
号+i ミキシングされ、サウンドシステム2から楽音
として発音される。
FIG. 1 is a block diagram showing the configuration of an electronic musical instrument according to the present invention, and in this figure, reference numeral 1 indicates a keyboard. This keyboard 1 is composed of a plurality of keys (keys) and a key switch provided corresponding to each key. When a key is pressed by a performer, key information KO corresponding to the pressed key is displayed. It is output and supplied to each of n tone generators TGI to TGII. Each of the tone generators TGI to TGn receives the supplied key information KO.
It is a circuit that forms a musical tone signal having a tone pitch corresponding to , and a tone color predetermined for each tone generator, and each of the tone generators TG1 to TG! The musical tone signals formed by L are respectively connected to gate circuits p1 to Gl.
! supplied to The gate circuits G1 to Gn are controlled to open and close by the outputs of the OR gates R1 to Rn, respectively.
These gate circuits 01~G! The above musical tone signal +i that has passed through l is mixed and outputted from the sound system 2 as a musical tone.

一方、符号81〜8!1はトーンジェネレータT01〜
TGnに各々対応して設けられたn個の音色設定スイッ
チであシ、これらの音色設定スイッチ81〜Snの各出
力は各々、オアゲートRl−〜Rnの各一方の入力端へ
供給されると共に、エンコーダ3へ供給される。エンコ
ーダ3駆音色設定スイッチ81〜8nの内オン状態にあ
るスイッチの出力をコード化し、音色データとしてセレ
クタ4の入力端子ムへ供給する。セレクタ4各ま、その
コントロール端子Cへ@1″信号が供給された場合は、
その入力端子ムに得られるデータを出力端子から出力し
、コントロール端子Cへ”O”信号が供給された場合は
、入力端子Bに′得られるデータを出力端子から出力す
る。そして、このセレクタ本から出力されたデータはメ
モリ5の入力端子INへ供給される。なお、セレクタ4
のコントロール端子0へは制御回路7の端子T9に得ら
れる信号が供給される。メモリ5はランダムアクセスメ
モリ(RAM)であシ、その端子W/Rに″1$1信号
が供給された場合は、アドレス端子ムDへ供給されるデ
ータによって指定されるアドレス内に入力端子XHに得
られるデータを書込み(書込みモード)、また、端子W
/Rに@0”信号が供給された場合は、アドレス端子^
フヘ供給されるデータによって指定されるアドレス内の
データを出力端子qから出力し、書込みヘッド21およ
び制御回路7の端子′I′1へ供給する(読出しモード
)。
On the other hand, codes 81 to 8!1 are tone generators T01 to
There are n tone color setting switches provided respectively corresponding to TGn, and each output of these tone color setting switches 81 to Sn is supplied to one input terminal of each of the OR gates Rl to Rn, and The signal is supplied to the encoder 3. The encoder 3 encodes the output of the switch in the ON state among the timbre setting switches 81 to 8n, and supplies it to the input terminal of the selector 4 as timbre data. When the @1'' signal is supplied to the control terminal C of selector 4,
The data obtained at the input terminal M is outputted from the output terminal, and when the "O" signal is supplied to the control terminal C, the data obtained at the input terminal B is outputted from the output terminal. The data output from this selector is supplied to the input terminal IN of the memory 5. In addition, selector 4
A signal obtained at the terminal T9 of the control circuit 7 is supplied to the control terminal 0 of the control circuit 7. The memory 5 is a random access memory (RAM), and when the "1$1 signal is supplied to its terminal W/R, the input terminal XH is stored within the address specified by the data supplied to the address terminal D. Write the data obtained to the terminal (write mode), and also write the data to the terminal W
When the @0” signal is supplied to /R, the address terminal ^
The data within the address specified by the data supplied to the write head 21 is outputted from the output terminal q and supplied to the terminal 'I'1 of the write head 21 and the control circuit 7 (read mode).

押ボタンスイッチ8はメモリ4の書込みモード、読出し
モードを指、定するためのスイッチであシ、この押ボタ
ンスイッチ8を押すと、オアゲート9を介してメモリ5
の端子W/R&:@l”信号址供給され(書込みそ−ド
)、また、スイッチ8を離すと、端子W/RC’″O”
信号が供給される(読出しモード)。なお、オアゲート
9の他方の入力端には制御回路7の端子T2に得られる
信号が供給され(いる。・セレクタ11は前述したセレ
クタ4と同一構成であル、その入力端子ムにはアドレス
指定部12の出力が供給され、入力端子1には制御回路
7の端子T3に得られるデータが供給され、また、その
出力がメモリ5のアドレス端子ムDへ供給される。アド
レス指定部12は、メモリ5の書込みモードにおけるア
ドレスを指定するためのもので、アドレスを指定するた
めのテンキー12&と、このテンキー12&から出力さ
れるデータを一時記憶するレジスタ12bとから構成さ
れる。
The pushbutton switch 8 is a switch for specifying the write mode and readout mode of the memory 4. When this pushbutton switch 8 is pressed, the data is read from the memory 5 via the OR gate 9.
The terminal W/R&:@l" signal is supplied (write mode), and when the switch 8 is released, the terminal W/RC'"O"
A signal is provided (read mode). Note that the signal obtained at the terminal T2 of the control circuit 7 is supplied to the other input terminal of the OR gate 9. The selector 11 has the same configuration as the selector 4 described above, and its input terminal has an address designation. The output of the section 12 is supplied, the data obtained at the terminal T3 of the control circuit 7 is supplied to the input terminal 1, and the output is supplied to the address terminal D of the memory 5. It is used to specify an address in the write mode of the memory 5, and is composed of a numeric keypad 12& for specifying the address, and a register 12b that temporarily stores data output from the numeric keypad 12&.

次に、符号15は予め複数の音色データおよびクロック
パルスが記憶されている磁気カード(外部記憶媒体)で
ある。この磁気カード15を電子楽器の所定位置に設け
られた挿入口から挿入すると、カードセンサ16がこれ
を検出し、検出信号MOをモータ制御回路17および制
御回路7の端子−r4へ出力する。モータ制御回路17
へ検出信号Noが供給されると、モータ制御回路17が
モータ18を駆動(、このモータ18の回転によって磁
気カード15が電子楽器内部へ自動的に搬送される。な
お、モータ18の回転は低周波発振器22から出力され
るり四ツクパルスダ1に同期するようになっておシ、シ
たがって、磁気カード15の搬送もクロックパルス01
に同期して行なわれる。読取りヘッド19は磁気カード
15が搬送される際、同カード15に書込まれた音色デ
ータおよびクロックパルλを読取るためのもので、その
出力はセレクタ4の入力端子Bおよびクロック検出回路
20へ供給される。また、書込みヘッド21゛は磁気カ
ード15が搬送される際、同カード15に音色データお
よびり四ツクパルスを畳込むためのもので、この書込み
ヘッド21には、メモリ5の出力端子qから出力される
音色データおよび低周波発振器22から出力されるり、
ロックパルスダ1が共に供給される。低周波発振器22
は上述した磁気カード書込み用のり四ツクパルス戸1を
発生する回路であシ、このクロックパルス52+1は書
込みヘッド21シよびモータ制御回路17へ供給される
と共に、制御回路7の端子T5へ供給される。り四ツク
検出回路20は読取りヘッド19の出力からクロックパ
ルスを検出し、クロックパルスダ2として制御回路7へ
供給する。
Next, reference numeral 15 is a magnetic card (external storage medium) on which a plurality of tone data and clock pulses are stored in advance. When this magnetic card 15 is inserted through an insertion slot provided at a predetermined position of the electronic musical instrument, the card sensor 16 detects this and outputs a detection signal MO to the motor control circuit 17 and the terminal -r4 of the control circuit 7. Motor control circuit 17
When the detection signal No is supplied to the The clock pulse 01 is output from the frequency oscillator 22 and is synchronized with the clock pulse 01.
It is carried out in synchronization with. The read head 19 is for reading the tone data and clock pulse λ written on the magnetic card 15 when the card 15 is transported, and its output is supplied to the input terminal B of the selector 4 and the clock detection circuit 20. be done. Further, the write head 21' is used to fold tone data and four pulses into the magnetic card 15 when the card 15 is conveyed. timbre data and output from the low frequency oscillator 22,
A lock pulser 1 is also supplied. Low frequency oscillator 22
is a circuit that generates the above-mentioned four clock pulses 1 for magnetic card writing, and this clock pulse 52+1 is supplied to the write head 21 and the motor control circuit 17, as well as to the terminal T5 of the control circuit 7. . The clock detection circuit 20 detects clock pulses from the output of the read head 19 and supplies them as clock pulses 2 to the control circuit 7.

次に、制御回路7の詳細を第2図を参照して説明する。Next, details of the control circuit 7 will be explained with reference to FIG.

第2図において、符号25はクレツシエンドペダル20
によってその摺動子が駆動される可□変抵抗器であり、
その一方の端子は接地され、その他方の端子には正電圧
(+V)が供給されている。そして、クレツシエンドペ
ダル20をいっばいに踏込むと、可変抵抗器25の摺動
子から正電圧+Vが出力され、端子−rlを介して^/
X)(アナレグ/ディジタル)変換器27へ供給され、
また、クレツシエレドペダル26から足を離なすと、可
変i抗器25の摺動子から電圧0が出力され、ム/I)
変換器27へ供給される。ム/1)変換器27は可変抵
抗器25の一動子に得られる電圧すなわち、クレツシエ
ンドペダル26の踏込み量に対応する電圧をディジタル
データに変換し、比較器28の入力端子ムべ供給する。
In FIG. 2, reference numeral 25 indicates cresciendo pedal 20.
It is a variable resistor whose slider is driven by
One terminal is grounded, and the other terminal is supplied with a positive voltage (+V). Then, when the crescendo end pedal 20 is depressed all at once, a positive voltage +V is output from the slider of the variable resistor 25, and is outputted via the terminal -rl.
X) (analeg/digital) is supplied to the converter 27,
Furthermore, when you take your foot off the Cressie red pedal 26, a voltage of 0 is output from the slider of the variable i resistor 25, and
It is supplied to converter 27. 1) The converter 27 converts the voltage obtained across the variable resistor 25, that is, the voltage corresponding to the amount of depression of the crescendo end pedal 26, into digital data and supplies it to the input terminal of the comparator 28. .

カウンタ29は、そのり關ツク端子uKへ供給される信
号をカウントするもので、そのカウント出力は比較器2
8の入力端子1および端子T、!!へ供給され、また、
リセット端子Rへ@l”信号が供給されると、リセット
される。比較器28はその入力端子Aへ供給されるデー
タと入力端子1へ供給されるデータとを比較し、両者が
一致した場合に、一致信号I Q (@l”信号)を出
力する。この一致信号IQはアンドゲート30の一方の
入力端、7リツプフロツプ回路31のリセット端子Rお
よびラッチ澄のロード端子りへそれぞれ供給される。
The counter 29 counts the signal supplied to the corresponding terminal uK, and its count output is sent to the comparator 2.
8 input terminal 1 and terminal T, ! ! supplied to, and
When the @l" signal is supplied to the reset terminal R, it is reset. The comparator 28 compares the data supplied to its input terminal A with the data supplied to its input terminal 1, and when the two match, Then, a match signal I Q (@l'' signal) is output. This coincidence signal IQ is supplied to one input terminal of the AND gate 30, the reset terminal R of the 7-lip-flop circuit 31, and the load terminal of the latch clear.

一方、・切換スイッチ:55 ′−15gは各々、この
電子楽器の4つの動作モード、すなわち、(1)キーボ
ード1によって楽曲を演奏するモード(プレイモードと
称す)、 “(2)磁気カード15に記憶された音色データをメモ
リ5へ書込むモード(ロードモードと称す)、 (8)メモリ5内の音色データを磁気カード15へ書込
むモード(記憶モードと称す)、(4)音色設定スイッ
チ81〜8hによって、メモリ5へ音色データを書込む
モード(スイッチ書込みモードと称す)、 を指定するためのスイッチであシ、各切換スイッチ35
〜38の一方の端子には各々11′″信号が供給され、
他方の゛端子に得られる信号が各々優先回路39へ供給
される。優先回路39は切換スイッチa5−Lasの優
先順位を定める回路である。すなわち、切換スイッチ3
5がオン状態の場合は、切換スイッチ36〜38のオン
/オフにかかわらず優先回路39の出力端子Q1のみか
ら@1″信号が出力され、切換スイッチ35がオフ、切
換スイッチ36がオン状態の場合は、切換スイッチ37
.38のオン/オフにかかわらず出力端子Q2のみから
@1″信号が出力され、切換スイッチ35.36がオフ
、切換スイッチ37がオンの場合は、切換スイッチ38
のオ゛ン/オツにかかわらず出力端子Q3めみ□から1
1”信号が出力され、そして切換スイッチ35〜371
がオフ、切換スイッチ38がオンの場合に、出力端子q
4のみから@1”信号が出力される。また、この優先回
路39は切換スイッチ35〜38の切換えが行なわれた
場合に、出力端子Q5から信号1c7(@l”信号)を
出力する。
On the other hand, the changeover switches 55'-15g are used to select one of the four operating modes of this electronic musical instrument, namely: (1) a mode in which music is played using the keyboard 1 (referred to as play mode); A mode for writing stored tone data to the memory 5 (referred to as load mode), (8) a mode for writing the tone data in the memory 5 to the magnetic card 15 (referred to as storage mode), (4) Tone setting switch 81 -8h is a switch for specifying the mode (referred to as switch write mode) in which tone data is written to the memory 5, and each selector switch 35
11''' signal is supplied to one terminal of each of ~38,
The signals obtained at the other terminal are each supplied to a priority circuit 39. The priority circuit 39 is a circuit that determines the priority order of the changeover switches a5-Las. That is, changeover switch 3
5 is on, the @1'' signal is output only from the output terminal Q1 of the priority circuit 39 regardless of whether the changeover switches 36 to 38 are on or off, and when the changeover switch 35 is off and the changeover switch 36 is on, If so, selector switch 37
.. Regardless of whether the switch 38 is on or off, the @1'' signal is output only from the output terminal Q2, and when the changeover switches 35 and 36 are off and the changeover switch 37 is on, the changeover switch 38
Regardless of whether the output terminal is on or off, the output terminal Q3
1" signal is output, and the changeover switches 35 to 371
is off and the selector switch 38 is on, the output terminal q
The @1" signal is output only from the output terminal Q4. Furthermore, when the changeover switches 35 to 38 are switched, the priority circuit 39 outputs a signal 1c7 (@l" signal) from the output terminal Q5.

デコーダ42は、端子T1を介して供給される音色デー
タ(メモリ5の出力)をデコーダし、フリップフロップ
回路31へ供給する。フリップフロップ回路31は1個
のR−87リツプフロツプ(゛以下、11と略称する)
から構成される回路であシ、各71は各々デコーダ42
の出力によってセットされ、また、全ての11が一致信
号鳶1゜よってリセットされる。ラッチ32は一ビット
のラッチであり、そのロード端子りへ一致信号IQが供
給されると、フリップフロップ回路31の各yyの出力
を2ツチし、端子T8を介してオアゲ−)R1−Rnの
各他方の端子へ供給する。な額前述したフリップフロッ
プ回路31の各11のリセットはラッチ32のラッチ動
作が終了した後に行なわれるようになっている。
The decoder 42 decodes the tone data (output from the memory 5) supplied via the terminal T1 and supplies it to the flip-flop circuit 31. The flip-flop circuit 31 is one R-87 flip-flop (hereinafter abbreviated as 11).
Each circuit 71 is a decoder 42.
All 11's are reset by the coincidence signal 1°. The latch 32 is a one-bit latch, and when the match signal IQ is supplied to its load terminal, it doubles each yy output of the flip-flop circuit 31, and outputs the output (OR) of R1-Rn via the terminal T8. Supplied to each other terminal. Each of the 11 flip-flop circuits 31 described above is reset after the latch operation of the latch 32 is completed.

次に、上記構成になる電子楽器の動作を、前述した4つ
の動作モード別に説明する。
Next, the operation of the electronic musical instrument having the above configuration will be explained separately for the four operation modes described above.

(1)  プレイモード この動作値−ドは演奏者がキーボード1によシ楽曲を演
奏する場合であシ、以下、(&)クロックエンドペダル
26を使用しない場合、(b)クロックエンドペダル2
6を使用する場合に分けて説明すも(→ クロックエン
ドペダル26を使用しない場合 この場合、まず、切換スイッチ35をオン状態とする。
(1) Play mode This operating value is used when the performer plays a piece of music using the keyboard 1. Hereinafter, (&) When the clock end pedal 26 is not used, (b) Clock end pedal 2
6 is used (→ When the clock end pedal 26 is not used) In this case, first, the selector switch 35 is turned on.

これによル、優先回路39の出力端子Qlからm1”信
号が出力され、アンドゲート4.5および30の各入力
端へ供給され、アンドゲート45.30が共に開状態と
なる。アンドゲート4が開状態になると、七′の他方の
入力端へ供給されているクロックパルス$5が同ア/ド
ゲート45およびオアゲート46を介してカウンタ29
のクロック端子量器へ供給される。なお、クロックパル
スflりは、この電子楽器の基本クロックパルスである
As a result, the m1'' signal is output from the output terminal Ql of the priority circuit 39, and is supplied to each input terminal of the AND gates 4.5 and 30, and both the AND gates 45 and 30 are opened. When the counter 29 becomes open, the clock pulse $5 supplied to the other input terminal of the counter 29 passes through the gate 45 and the OR gate 46.
The clock terminal is supplied to the quantizer. Note that the clock pulse fl is the basic clock pulse of this electronic musical instrument.

次に、音色設定スイッチ81 % 8 mによって望み
の音色を設定する。いま、例えば設定スイッチ82およ
びB5を各々オンとすると、オアゲートR2およびR5
の各一方の入力端子に″″ビ信号供給される。この場合
、オアゲー)R1−Rnの各他方の入力端子には後に述
べる理由によって@0”信号が供給されている。したが
って、オアゲ−)−iR2・1’15の各一方の入力端
子に@l”信号が供給されると、オアゲートiL2.1
5の出力のみが@1”信号となシ、この結果ゲート回路
G2、aが開状態となる。この状態において、キーボー
ド1のキーを操作すると、トーンジェネレータ’l’G
2、Te3によって形成される楽音信号がゲート回路G
l、’Gうを介してサウンドシステム2へ供給され、楽
音として発音される。
Next, set the desired tone using the tone setting switch 81%8m. Now, for example, when setting switches 82 and B5 are turned on, OR gates R2 and R5 are turned on.
The ``'' signal is supplied to one input terminal of each of the input terminals. In this case, the @0'' signal is supplied to each other input terminal of ORG)R1-Rn for the reason described later. Therefore, the @l signal is supplied to each one of the input terminals of ORG)-iR2, “When the signal is supplied, the OR gate iL2.1
Only the output of 5 becomes the @1" signal, and as a result, the gate circuit G2, a becomes open. In this state, when a key on the keyboard 1 is operated, the tone generator 'l'G
2. The musical tone signal formed by Te3 is sent to the gate circuit G.
The signal is supplied to the sound system 2 via 1 and 'G, and is produced as a musical tone.

なお、オアゲートR1〜R鳳の各他方の端子に@ ol
’l信号が供給されている理由は次の通シである。
In addition, @ol is connected to each other terminal of OR gates R1 to R0.
The reason why the 'l signal is supplied is as follows.

すなわち、クロックエンドペダル26が使用されない場
合(足がペダル26かも離されている場合)におし誓て
は、第2図におけるム/D変換器27の出力が陵となシ
、比較器28の入力端ムに阿が供給される。この結果、
カウンタ29のカウント出力が(になると、比較器28
から一致信号ICClが出力され、アンドゲート30お
よびオアゲート47を介してカウンタ29のリセット端
子Rに供給される。これにより、以後、比較器28から
連続的に一致信号IQが出力され、フリップフロップ回
路31の各11が全てリセット状態となシ、また、ラッ
チ32の各ビット出力が全て10″信号となる。
That is, when the clock end pedal 26 is not used (when the foot is also released from the pedal 26), the output of the M/D converter 27 in FIG. A is supplied to the input terminal of . As a result,
When the count output of the counter 29 becomes (, the comparator 28
A coincidence signal ICCl is outputted from , and is supplied to the reset terminal R of the counter 29 via the AND gate 30 and the OR gate 47 . As a result, from then on, the match signal IQ is continuously output from the comparator 28, all 11 of the flip-flop circuits 31 are in the reset state, and each bit output of the latch 32 becomes a 10'' signal.

(b)  クロックエンドペダルを使用する場合この場
合、予め音色設定スイッチ81〜amを全てオフとして
おく。また、上述した場合と同様に、切換スイッチ35
をオン状態とする。これによシ、優先回路39の出力端
子Q1から@1″信号が出力交れ、出力端子Q2〜q4
から′″0″0″信号される。優先回路39の出力端子
Q1から11″信号が出力されると、クロックパルスダ
3がカウンタ29のクロック端子OKへ供給され、また
、アンドゲート30が開状態となる。出力端子q2から
@0″信号が出力され、端子?2を介してオアゲート9
(第1図)の他方の入力端子へ供給されると、メモリ5
の端子W/Rに′″0”信号が供給される(読出しモー
ド)。なお、このクレッシェンドペダルを使用するプレ
イモードにおいては、押ボタンスイッチ8が押されるこ
とはない。優先回路39の出力端子Q4から@0″信号
が出力され、端子T9を介してセレクタ11のコントロ
ール端子Cへ供給されると、セレクタ11の入力端子1
に得られるデータ、すなわち、カウンタ29のカウント
出力がメモリ6のアドレス端子ADへ供給される。なお
この場合、メモリ5内には予め音色データが書込まれf
いるものとする。
(b) When using the clock end pedal In this case, all tone setting switches 81 to am are turned off in advance. In addition, similarly to the case described above, the changeover switch 35
is turned on. As a result, the @1'' signal is output from the output terminal Q1 of the priority circuit 39, and the output terminals Q2 to q4
When the 11'' signal is output from the output terminal Q1 of the priority circuit 39, the clock pulse 3 is supplied to the clock terminal OK of the counter 29, and the AND gate 30 is opened. state. The @0'' signal is output from the output terminal q2, and the OR gate 9 is output via the terminal ?2.
(Fig. 1), the memory 5
A ``0'' signal is supplied to terminal W/R of (read mode). In addition, in the play mode using this crescendo pedal, the push button switch 8 is not pressed. When the @0'' signal is output from the output terminal Q4 of the priority circuit 39 and supplied to the control terminal C of the selector 11 via the terminal T9, the input terminal 1 of the selector 11
The data obtained at the time, ie, the count output of the counter 29, is supplied to the address terminal AD of the memory 6. In this case, the tone data is written in the memory 5 in advance.
It is assumed that there is

以上の状態において、演奏者がクレツシエンドペダル2
6をある量踏込み、この結果、ム/D変換器27の出力
が序」になったとすると、カウンタ29のカウント出力
が円になる毎に比較器28から一致檜号11Qが出力さ
れ、この一致信号IQによってカウンタ29がリセット
される。すなわち、この場合カウンタ29は、カウント
出力阿〜国を循環して出力する。そして、このカウント
出力(〜国は端子T5およびセレクタ11tt介してメ
モリ5のアドレス端子ムフヘ順次供給される。これによ
シ、メ等り5の0番地〜4番地内の音色データが順次読
出され(メモリ5の端子W/Rには′″0”信号が供給
されていて読出しモードとなっている)、出力端子Qか
ら出力され、端子T1を介してデコーン42へ供給され
4゜デコーダ42は順次供給される音色データをデコー
ドし、フリップフロ′ツブ回路31へ順次供給す4これ
によシ、デコーダ42へ供給された音色データに対応す
るIFFがセットされる。ここで、メモリ本のO〜4番
地に各々音色設定スイッチS2.85%s6%s9,8
11に対応する音色データが記憶されているとすると、
これらの音色データがデコーダ42へ供給されることに
よシ、フリツプフpツブ回路31の第2、第5、第6、
第9%第1111FTがセットされる。そして、フリツ
プフロツプ回路81の各111の出力が一致信号FQに
よってラッチ32に読込まれ、端子T8を介してオアゲ
ー)R1−Rnの各他方の入力端へ供給されると、オア
ゲートR2、R5、R6、R9、illの各出力が各々
′″l”信号となシ、ゲート回路G2・Gう、G6、G
9、Gllが開状態となる。しかして、キーボード1の
キーを操作すると、トーンジェネレータTG2、Ta2
、Te3、T G 9 、皿1によって形成される楽音
信号がサウンドシステム2によって発音される。
In the above situation, if the performer presses the cresciendo pedal 2
6 is depressed by a certain amount, and as a result, the output of the MU/D converter 27 becomes "JIN", the comparator 28 outputs a match number 11Q every time the count output of the counter 29 becomes a circle, and this match Counter 29 is reset by signal IQ. That is, in this case, the counter 29 circulates and outputs count outputs A to COUNT. Then, this count output (~country) is sequentially supplied to the address terminal Mof of the memory 5 via the terminal T5 and the selector 11tt.As a result, the tone data in addresses 0 to 4 of the memory 5 are sequentially read out. (The terminal W/R of the memory 5 is supplied with a ``0'' signal and is in read mode), is output from the output terminal Q, and is supplied to the decone 42 via the terminal T1, and the 4° decoder 42 The sequentially supplied tone color data is decoded and sequentially supplied to the flip-flop circuit 31. Thereby, the IFF corresponding to the tone data supplied to the decoder 42 is set. Tone setting switch S2.85%s6%s9,8 at address 4
Assuming that tone data corresponding to 11 is stored,
By supplying these tone data to the decoder 42, the second, fifth, sixth,
The 9th% 1111th FT is set. When the outputs of the flip-flop circuits 111 of the flip-flop circuits 81 are read into the latch 32 by the match signal FQ and supplied to the other input terminals of the OR gates R1 to Rn via the terminal T8, the OR gates R2, R5, R6, The outputs of R9 and ill are respectively ''l'' signals, and the gate circuits G2, G, G6, G
9. Gll becomes open. Therefore, when the keys on keyboard 1 are operated, tone generators TG2 and Ta2 are activated.
, Te3, T G 9 , the musical tone signal formed by the plate 1 is sounded by the sound system 2 .

(2)  ロードモード この動作モードは磁気カード15に予め記憶されている
音色データをメモリ5へ書込むモードである。この場合
、まず、切換スイッチ36のみをオン状態とする。これ
によシ、優先回路39の出力端子Q2から@1”信号、
出力端子Q1.Ql。
(2) Load Mode This operation mode is a mode in which tone data stored in advance on the magnetic card 15 is written into the memory 5. In this case, first, only the changeover switch 36 is turned on. Accordingly, the @1” signal from the output terminal Q2 of the priority circuit 39,
Output terminal Q1. Ql.

Q轟から@0″信号が出力される。出力端子q1から@
0”信号が出力されると、アンドゲート45.30が共
に閉状態となる。出力端子q2から1”信号が出力され
ると、アンドゲート50が開状態になると共に、メモリ
6の端子W/RC’″L”信号が供給され、メモリ5が
書込みモードとなる。出力端子q5から@0”信号が出
力されると、アンドゲート51が閉状態になる。出力端
子q4から@0”信号が出力され、端子T9を介してセ
レクタ本、11の各コントロール端子0へ供給されると
、セレクタ4.11の各入力端子Bおよび各出力端子が
等測的に接続された状態となる。
@0'' signal is output from Q Todoroki. @ from output terminal q1
When a 0" signal is output, both AND gates 45 and 30 are closed. When a 1" signal is output from output terminal q2, the AND gate 50 is opened and the terminal W/ of the memory 6 is output. The RC'"L" signal is supplied, and the memory 5 enters the write mode. When the @0" signal is output from the output terminal q5, the AND gate 51 is closed. The @0" signal is output from the output terminal q4, and goes to the selector and each of the 11 control terminals 0 via the terminal T9. When supplied, each input terminal B and each output terminal of the selector 4.11 are connected isometrically.

次に、磁気カード15を挿入口よシ挿入するとカードセ
ンサ16がこれを検出し、検出信号MC(@1”信号)
をモータ制御回路17および制御回路7の端子TAへそ
れぞれ出力する。制御回路7の端子T4へ検出信号MO
が供給されると、同検出信号MOがオアゲート47を介
してカウンタ29のリセット−子Rへ供給されることか
ら、カウンタ29がリセットされる。また、モータ制御
回路17へ検出信号MOが供給されると、モータ18が
駆動され、磁気カード15が電子楽器内部へ搬送される
。この搬送の際に、磁気カード15に記憶されている音
色データおよびクロックパルスが読取シヘッド19によ
り読取られ、クロック検出回路20およびセレクタ本の
入力端子Bへ供給される。クロック検出回路20は読取
りヘッド19の出力からクロックパルスを検出し、クロ
ックパルス$212として制御回路7の端子T6へ出力
する。端子T6へ供給されたり四ツクパルスダ2はアン
ドゲート50およびオアゲート4.6を介してカラン−
29のクロック端子OKへ供給される。
Next, when the magnetic card 15 is inserted into the insertion slot, the card sensor 16 detects this and sends a detection signal MC (@1" signal).
is output to terminal TA of motor control circuit 17 and control circuit 7, respectively. Detection signal MO to terminal T4 of control circuit 7
When the detection signal MO is supplied to the reset terminal R of the counter 29 through the OR gate 47, the counter 29 is reset. Furthermore, when the detection signal MO is supplied to the motor control circuit 17, the motor 18 is driven and the magnetic card 15 is transported into the electronic musical instrument. During this transportation, the tone color data and clock pulses stored in the magnetic card 15 are read by the reading head 19 and supplied to the clock detection circuit 20 and the input terminal B of the selector. Clock detection circuit 20 detects a clock pulse from the output of read head 19 and outputs it to terminal T6 of control circuit 7 as clock pulse $212. The four-pulse driver 2 supplied to the terminal T6 is connected to the current circuit through an AND gate 50 and an OR gate 4.6.
29 is supplied to the clock terminal OK.

また、セレクタ本の入力端子Bへ供給された音色データ
は同セレクタ本を介してメモリ60入力端子INへ供給
される。カウンタ29のクロック端子OKへクロックパ
ルス02が供給されると、カラ/り29のカウント出力
が同から順次、クロックパルス戸2に同期してインクリ
メントされ、また、このカウント出力が端子T5および
セレクタ1lf−介してメモリ5のアドレス端子ムDへ
順次供給される。しかして、磁気ヘッド19によって読
取られた音色データが、メモリ5のO番地から順次書込
まれる。
Furthermore, the timbre data supplied to the input terminal B of the selector is supplied to the input terminal IN of the memory 60 via the selector. When the clock pulse 02 is supplied to the clock terminal OK of the counter 29, the count output of the color/return 29 is sequentially incremented in synchronization with the clock pulse 2, and this count output is transferred to the terminal T5 and the selector 1lf. - are sequentially supplied to the address terminal D of the memory 5. Thus, the tone data read by the magnetic head 19 is sequentially written into the memory 5 starting from address O.

(3)記録モード この動作モードはメモリ5の内容を磁気カード15へ書
込むモードでiる。この場合、まず、切換スイッチ37
のみをオン状態とする。これにょシ、優先回路39の出
力端子q1、q2、q4が°0″、出力端子C1が@1
”となシ、この結果、回路各部が以下の状態になる。す
なわち、まず、アンドゲート45,50.30が閉状態
、アンドゲート51が開状態となる。また、メモリ5の
端子W/Rに″0”信号が供給されることから、メモリ
5が読出しモードとなる。また、セレクタ11のコント
ローρ端子0へ′″0′″0′″信号れることから、カ
ウンタ29の出力がセレクタ11を介してメモリ5のア
ドレス端子ADへ供給される。なお、セレクタ4の出力
は、メモリ5が読出しモードにあることから、回路動作
に何ら影響を与えない。
(3) Recording mode This operation mode is a mode in which the contents of the memory 5 are written to the magnetic card 15. In this case, first, selector switch 37
ON state only. In this case, the output terminals q1, q2, q4 of the priority circuit 39 are °0'', and the output terminal C1 is @1.
As a result, each part of the circuit becomes in the following state. That is, first, the AND gates 45 and 50.30 are closed, and the AND gate 51 is open. Also, the terminal W/R of the memory 5 Since the "0" signal is supplied to the selector 11, the memory 5 enters the read mode. Also, since the "0" signal is supplied to the controller ρ terminal 0 of the selector 11, the output of the counter 29 is supplied to the selector 11. is supplied to the address terminal AD of the memory 5 via the address terminal AD. Note that the output of the selector 4 has no effect on the circuit operation since the memory 5 is in the read mode.

次に、磁気カード15を挿入口より挿入すると前述した
(2)ロードモードの場合と同様に、カードセンサ16
から検出信号MOが出力され、これによシ、カウンタ2
9がリセットされ、また、モータ18が駆動される。そ
して、モータ18によって磁気カード15が電子楽器内
部へ搬送される。
Next, when the magnetic card 15 is inserted from the insertion slot, the card sensor 16
A detection signal MO is output from the counter 2, and the counter 2
9 is reset, and the motor 18 is also driven. The magnetic card 15 is then conveyed into the electronic musical instrument by the motor 18.

一方、この場合、カウンタ29のクロック端子匡には端
子T5・アンドゲート51およびオアゲート46を各々
介してクロックパルス戸1が供給されている。したがっ
て、カウンタ29がリセットされた時点以彼、クロック
パルス戸1が出力されるたびにカウンタ29のカウント
出力がインクリメントされ、また、このカウント出力園
、[刻、皿−・・−・・がセレクタ11を介してメモリ
5のアドレス端子ADへ順次供給される。そして、メモ
リ5のアドレス端子ムDへ上記カウント出力同、[祖、
閏・・・・・・が順次供給されると、メモリ5の0番地
、1番地、2番地・・・・・・内の音色データが順次読
出され、クロックパルス戸1と共に書込みヘッド21へ
順次供給される。これによシ、電子楽器内部へ搬送され
つつある磁気カード15に、メモリ5内の音色データお
よびクロックパルスglが順次書込まれる。
On the other hand, in this case, the clock pulse door 1 is supplied to the clock terminal box of the counter 29 via the terminal T5, the AND gate 51, and the OR gate 46, respectively. Therefore, from the time when the counter 29 is reset, the count output of the counter 29 is incremented every time the clock pulse 1 is output, and this count output field, [clock, plate...] is selected by the selector. 11 to the address terminal AD of the memory 5. Then, the above count is output to the address terminal D of the memory 5.
When the leap... is sequentially supplied, the tone data in addresses 0, 1, 2, etc. of the memory 5 are sequentially read out, and are sequentially sent to the write head 21 along with the clock pulse 1. Supplied. As a result, the tone data and clock pulse gl in the memory 5 are sequentially written onto the magnetic card 15 which is being transported into the electronic musical instrument.

(4)スイッチ書込みモード この動作モードは、音色設定スイッチ81〜8nによっ
て、メモリ6へ音色データを書込むモードである。この
場合、まず、切換スイッチ38のみをオン状態とする。
(4) Switch writing mode This operation mode is a mode in which tone data is written into the memory 6 by the tone setting switches 81 to 8n. In this case, first, only the changeover switch 38 is turned on.

これによシ、オアゲート9@1図)の他方の入力端へ@
♂傷信号供給され、また、セレクタ本、11の各コント
ロール端子Cへ@1″信号が供給される。セレクタ生、
11の各コントロール端子Cへ′″ビ信号供給されると
、セレクタ4.11の各入力端子ムおよび各出力端子間
が各々尋価的に接続状態となる。
With this, the other input terminal of the OR gate 9 (Fig. 1)
The flaw signal is supplied, and the @1'' signal is also supplied to each control terminal C of the selector main and 11.
When the signal ``'' is supplied to each control terminal C of the selector 4, 11, each input terminal and each output terminal of the selector 4, 11 are automatically connected.

次に、テンキー121によってレジスタ12bに陵を書
込む。これによシ、データ同がセレクタ11を介してメ
モリ5のアドレス端子ADへ供給される。次に、−例え
ばメ、モリ5の0番地に音色設定スイッチB2に、対応
する音色データを書込む場合は、スイッチS2のみをオ
ンとする。これにより、エンコーダ3からスイッチS2
に対応する音色データが出力され、メモリ5の入力端子
INへ供給される。次に、押ボタンスイッチ8を短時間
押す。、これによシ、メモリ5の端子W/Rへ′″1″
1″信号され(書込みモード)・この結果メモリ5の0
番地内に音色設定スイッチs2に対応する音色データが
書込まれる。以上でメモリ4の0番地内のデータ書込み
が終了する。
Next, the user writes the ridge into the register 12b using the numeric keypad 121. Accordingly, the data is supplied to the address terminal AD of the memory 5 via the selector 11. Next, when writing corresponding tone color data to the tone color setting switch B2 at address 0 of the memory 5, for example, only the switch S2 is turned on. This causes encoder 3 to switch S2.
Tone color data corresponding to is output and supplied to the input terminal IN of the memory 5. Next, press the pushbutton switch 8 for a short time. , thereby, ``1'' to terminal W/R of memory 5.
1" is signaled (write mode), resulting in 0 of memory 5.
Tone color data corresponding to the tone color setting switch s2 is written into the address. This completes the writing of data in address 0 of the memory 4.

次に、テンキー12&によってレジスタ12bに「視を
書込み、次いで、音色設定スイッチS2をオフとした後
、例えば音色設定スイッチ85をオンとし、そして、押
ボタンスイッチ8を短時間押す。これによシ、メモリ5
の1番地内に音色設定スイッチS5に対応する音色デー
タが書込まれる。以下、同様にしてメモリ5のデータ書
込みが行なわれる。
Next, write "view" in the register 12b using the numeric keypad 12&, then turn off the tone setting switch S2, turn on the tone setting switch 85, for example, and press the pushbutton switch 8 for a short time. , memory 5
The timbre data corresponding to the timbre setting switch S5 is written into address 1 of . Thereafter, data is written into the memory 5 in the same manner.

なお、上述した実施例においては、メモリ5へ書込まれ
るデータを音色データとしたが、メモリ5内へ効果(例
えば、ビブラート、トレモロ等)に関するデータを音色
データと共に書込むようにしてもよい。
In the above-described embodiment, the data written to the memory 5 is timbre data, but data regarding effects (for example, vibrato, tremolo, etc.) may be written into the memory 5 together with the timbre data.

以上詳細に説明したように、この発明によれば外部記憶
媒体(例えば、上記実施例における磁気カード15)に
記憶されたデータを読出し、メモリへ書込む手段を設け
たので、メモリへのデータ書込みを極めて短時間で行い
得る利点が得られる。
As explained in detail above, according to the present invention, a means for reading data stored in an external storage medium (for example, the magnetic card 15 in the above embodiment) and writing it to the memory is provided, so that data writing to the memory is possible. This has the advantage that it can be done in an extremely short time.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は、同実施例における制御回路7の詳細を示すブ
ロック図である。 1・・・・・キーボード、2・・・・・サウンドシステ
ム、5・−・・メモリ、7・・・・・制御回路、15・
−・磁気カード(外部記憶媒体)、16・・・・・カー
ドセンサ、17・・・・・モータ制御回路、18・・・
・・モータ、19・・・・・読出しヘッド、20・・・
・・クロック検出回路、22・・・・・低周波発振器、
26・・・・・クレツシエンドペダル、’J’G1〜T
Gn・・・・・トーンジェネレータ、Gl−Gn・・・
・・ゲート回路。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a block diagram showing details of the control circuit 7 in the same embodiment. 1... Keyboard, 2... Sound system, 5... Memory, 7... Control circuit, 15...
- Magnetic card (external storage medium), 16... Card sensor, 17... Motor control circuit, 18...
...Motor, 19...Reading head, 20...
... Clock detection circuit, 22 ... Low frequency oscillator,
26... Cresciendo pedal, 'J'G1~T
Gn...Tone generator, Gl-Gn...
...Gate circuit.

Claims (1)

【特許請求の範囲】[Claims] クレツシエンドペダルの操作量に応じてメモ0すからデ
ータが読出され、この読出されたデータに基づいて集音
信号が形成されるように構成された電子楽器において、
外部記憶媒体に記憶されたデータを読出し、前記メそす
へ書込む手段を設けてなる電子楽器。
In an electronic musical instrument configured such that data is read from a memo 0 according to the amount of operation of a cressi end pedal, and a sound collection signal is formed based on the read data,
An electronic musical instrument comprising means for reading data stored in an external storage medium and writing it to the meso.
JP56160458A 1981-10-08 1981-10-08 Electronic musical instrument Pending JPS5860795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56160458A JPS5860795A (en) 1981-10-08 1981-10-08 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56160458A JPS5860795A (en) 1981-10-08 1981-10-08 Electronic musical instrument

Publications (1)

Publication Number Publication Date
JPS5860795A true JPS5860795A (en) 1983-04-11

Family

ID=15715369

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56160458A Pending JPS5860795A (en) 1981-10-08 1981-10-08 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPS5860795A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04502523A (en) * 1989-07-06 1992-05-07 シルス,リチャード アール Method and apparatus for conditioning synthetic speech signals

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52146615A (en) * 1976-05-31 1977-12-06 Kawai Musical Instr Mfg Co Organ play auxiliary device
JPS5512265B2 (en) * 1973-04-24 1980-03-31

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5512265B2 (en) * 1973-04-24 1980-03-31
JPS52146615A (en) * 1976-05-31 1977-12-06 Kawai Musical Instr Mfg Co Organ play auxiliary device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04502523A (en) * 1989-07-06 1992-05-07 シルス,リチャード アール Method and apparatus for conditioning synthetic speech signals

Similar Documents

Publication Publication Date Title
US4022098A (en) Keyboard switch detect and assignor
US3955459A (en) Electronic musical instrument
JPS6133199B2 (en)
JPS5937519B2 (en) Electronic musical instrument preset device
US4375776A (en) Tone property control device in electronic musical instrument
JPS5860795A (en) Electronic musical instrument
JPS6048760B2 (en) Note clock generator for electronic musical instruments
JPH0140358B2 (en)
JPS6113239B2 (en)
JPS5842478B2 (en) Noise removal device for electronic musical instruments
JPH0125993Y2 (en)
KR0115141Y1 (en) Recording/reproducing apparatus for audio signal
JPS6153696A (en) Electronic musical instrument
JPS62106499A (en) Waveform generator
JPH0468638B2 (en)
JPS62275298A (en) Musical tone signal generation method and apparatus
JPS6331788B2 (en)
JPS60207195A (en) Automatic performer
JPS6230240Y2 (en)
JPH0799478B2 (en) Electronic musical instrument
JP2593297B2 (en) Electronic musical instrument
JPS63298293A (en) Automatic performer
JPH0438397Y2 (en)
JPS5811633B2 (en) Tone control device for electronic musical instruments
JPS63298294A (en) Code sequencer for electronic musical instrument