JPH0338600B2 - - Google Patents

Info

Publication number
JPH0338600B2
JPH0338600B2 JP56211840A JP21184081A JPH0338600B2 JP H0338600 B2 JPH0338600 B2 JP H0338600B2 JP 56211840 A JP56211840 A JP 56211840A JP 21184081 A JP21184081 A JP 21184081A JP H0338600 B2 JPH0338600 B2 JP H0338600B2
Authority
JP
Japan
Prior art keywords
bits
circuit
envelope
bit
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.)
Expired - Lifetime
Application number
JP56211840A
Other languages
Japanese (ja)
Other versions
JPS58111094A (en
Inventor
Yasuhiro Hotsuta
Shigenori Imai
Satoshi Matsumoto
Takaaki Uno
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP56211840A priority Critical patent/JPS58111094A/en
Publication of JPS58111094A publication Critical patent/JPS58111094A/en
Publication of JPH0338600B2 publication Critical patent/JPH0338600B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は、半導体メモリー等に少なくとも音階
データと音符長データをビツトパターンとする曲
情報を記憶し、この曲情報の読出しに従つて楽曲
を演奏する装置に関し、トレモロ用の情報ビツト
を用いずに、曲情報メモリーから読出される音符
長データを用いることによつて、トレモロ効果を
出し、より一層の音響効果を表わすようにした楽
曲演奏装置に係る。 この種の装置は、曲情報メモリーの容量制限や
各種再生のための制御の多さ等から、曲情報メモ
リーのデータ量をできるだけ少なくすることが望
まれる。トレモロ効果は、再生音に、より一層の
音響効果をもたらすものであるが、各音符にトレ
モロ効果をかけるよりも、長音符にだけかけるよ
うにすると、長音符に余韻が生まれ、音響効果が
はつきりとあらわれる。 本発明は、曲情報報から読出される音符長デー
タを用いることによつて、若干のハード的な改良
で、専用ビツトを用いずに効果的なトレモロ効果
を出すようにしたものである。 以下図面に従つて本発明の一実施例を説明す
る。 <基本的構造> 第1図は全体の回路ブロツク図を示すものであ
る。装置は大別して、発振・分周回路1,トー
ン・ジエネレータ部2,エンベロープ発生部3,
外部入力回路4,コントロール回路5,アドレス
カウンタ6,曲情報メモリー7,アンプ9,スピ
ーカー10から構成される。 発振・分周回路1は、例えば水晶発振回路及び
分周回路からなり、装置の基本クロツクを発生す
る。トーン・ジエネレータ部2は曲情報メモリー
7(例えば、ROMより構成される)より出力さ
れるデータに応じて対応する周波数信号を作り出
す部分である。エンベロープ発生部3は曲情報メ
モリー7から出力されるデータに応じて音の長さ
及びエンベロープを作り出す。入力回路4は選
曲,曲のスタート,移調・転調,テンポ等を制御
するスイツチ回路である。コントロール回路5は
入力回路4のスイツチ入力を信号化し各ブロツク
に伝達する。アドレスカウンター6は曲情報メモ
リー7のアドレスを指定するもので、曲情報メモ
リー7に記憶された楽曲データを順次読出す。 第2図に曲情報メモリー7に記憶されたデータ
のビツト割当てを示す。すなわち、B0〜B15の16
ビツトでそれぞれ B〓〜B3(4ビツト)…音階ビツト B4〜B7(4ビツト)…音符長ビツト B8,B9(2ビツト)…オクターブビツト B10,B11(2ビツト)…楽器組換えビツト B12,B13(2ビツト)…音の強弱ビツト B14(1ビツト)…冗長ビツト B15(1ビツト)…ストツプビツト のように割当てられる。 <具体的構成とその動作> 1 まず、入力回路4の曲指定用スイツチにより
曲を選択する。このスイツチ操作によりコント
ロール回路5ではM1〜M3にデコードされた3
ビツトパターンを出力し、曲情報メモリー7の
読出し用先頭アドレスを指定する。 2 次に入力回路4のスタートスイツチをオンす
ると、上記において指定されたアドレスの曲情
報ビツトパターンが読出される。読出されたビ
ツトパターンのうち、B〓〜B3(音階ビツト),
B8〜B11(オクターブビツト,楽器組換えビツ
ト)の8ビツトはトーン・ジエネレータ部2
へ、また、B4〜B7(音符長ビツト),B10〜B13
(楽器組換えビツト,音の強弱ビツト)の8ビ
ツトはエンベロープ発生部3に伝達される。 B15(ストツプビツト)はコントロール回路
5に伝達される。B15ビツトに“1”が出力さ
れると動作はストツプするが、スタート時及び
楽曲演奏時は“0”で何ら動作に影響を及ぼさ
ない。 3 トーン・ジエネレータ部2に伝達された8ビ
ツトのうち、B0〜B3,B8,B9の6ビツトは加
減算回路2−6に入力され、音階分周比メモリ
ー2−5のアドレスを指定するとともに、オク
ターブセレクタ2−2によりオクターブを選択
する。 加減算回路2−6は、入力回路4の外部スイ
ツチ入力によりB〓〜B3,B8,B9のデータを制
御して移調・転調を可能にするものである。 4 オクターブセレクタ2−2により各オクター
ブに対応する基本周波数0104の一つが選択
される。分周回路2−1は発振・分周回路1に
接続され、そのバイナリ出力より倍々(1,
2,4,8倍)の基本周波数0104を準備す
るものである。 オクターブセレクタ2−2より選択された基
本周波数0iは分周回路2−3に入力され分周
される。分周回路2−3の9ビツトバイナリ分
周出力は、一致回路2−4において、上記アド
レスにより指定された分周比メモリー2−5か
らの同じく9ビツトの分周比出力と比較され、
一致したときパルスを出力するとともに分周回
路2−3をリセツトする。 この一致時に出力されるパルスの周波数は各
オクターブにおけるそれぞれの音階に対応す
る。ちなみに、500KHzの基準周波数に対して
分周比が478〜253の間(バイナリコードで9ビ
ツトにより表現できる)の12値であるとする
と、1046〜1975Hz範囲の各音階周波数を得るこ
とができる。オクターブは基準周波数を倍々に
変化すればよい。 5 一致検出パルスは更に分周回路2−7に入力
される。分周回路2−7はその4ビツトバイナ
リ分周出力により次段基本波形メモリー2−8
のアドレス指定を行なう。すなわち、分周回路
2−7はいわゆるアドレスカウンタとして動作
する。 基本波形メモリー2−8は8ビツト構成で16
ステツプで音階周波数の1周期分に相当する波
形を形作るようデータを記憶している。すなわ
ち、オクターブセレクタ2−2,一致回路2−
4から出力される周波数は実際の音階周波数の
16倍に相当するものであり、分周回路2−7に
より各音階周波数の1周期分を16分割して、基
本波形メモリー2−8の16ステツプのアドレス
を順次指定するようにしている。このアドレス
指定により読出された波形データはD/Aコン
バータ2−9に入力され、D/A変換されて1
周期毎にその音信号の基本波形を形成する。 また、基本波形メモリー2−8には曲情報メ
モリー7からB10,B11の2ビツト、エンベロ
ーブ発生部3の分周回路3−7の上位2ビツト
バイナリ分周出力Cを入力している。B10
B11ビツトは楽器組換え制御に応じて読出すべ
き波形メモリーを選択するもので、Cの2ビツ
トは更にエンベロープを時間的に所定領域に分
け、適宜基本波形として高次周波数を付加した
もの等を選択し、音の自然さ,ききやすさを増
すためのものである。 6 エンベロープ発生部3に伝達された8ビツト
について、B4〜B7の4ビツトは音符長分周比
メモリー3−6にアドレス指定として入力され
る。B10,B11の2ビツトは楽器組換用の制御
ビツトとしてエンベロープ波形メモリー3−8
に、またB12,B13の2ビツトは音の強弱制御
用ビツトとして演算回路3−9に入力される。 7 エンベロープ発生部3では、スタートスイツ
チがオンになるとまず分周回路3−1が動作開
始する。分周回路3−1の6ビツトバイナリ分
周出力は一致回路3−2に入力され、テンポ分
周比メモリー3−3の6ビツト分周比出力と比
較される。一致すればパルスを発生し後段の分
周回路3−4に入力する。このパルスは最短音
符長の時間間隔を決定する。 要すれば、図示しないが加減算回路を設け、
入力回路4のテンポ制御用スイツチの操作によ
り分周比メモリー3−3の分周比出力を適宜加
減算し、分周比データを変えて任意のテンポに
設定することができる。 8 音符長分周比メモリー3−4はB4〜B7の4
ビツトをアドレス指定として、各音符長に対応
する8ビツトの分周比データを選択し出力す
る。これに応じて一致回路3−5において、分
周回路3−4の8ビツトバイナリ分周出力と比
較され、一致したときパルスを出力する。この
パルスの出力時間間隔はB4〜B7の4ビツトで
指定される各音符長に対応する。 しかし、ここでも次に述べる理由により、1
音符長につき32個のパルスを出力するようにさ
れる。すなわち、一致検出回路3−2,3−5
等から出力されるパルスの周波数は普通一般の
場合の32倍である。このパルスは分周回路3−
7に入力され分周される。 9 エンベロープ波形メモリー3−8は、8ビツ
ト構成,32ステツプで1つのエンベロープ波形
を形作るようデータを記憶している。エンベロ
ープ波形は、先の基本波形と同様、各音符長で
時間的な圧縮,伸長があるだけで、1音符長で
1つのエンベロープ波形が読出されなければな
らない。分周回路3−7はエンベロープ波形メ
モリー3−8のいわゆるアドレスカウンタとな
つており、5ビツトのバイナリ分周出力により
1音符長につきエンベロープ波形メモリー3−
8の32ステツプのアドレスを順次指定する。 エンベロープ波形メモリー3−8に入力され
たB10,B11ビツトは読出されるべき波形メモ
リーを選択し、基本波形メモリー2−8で選択
される基本波形と組合せて楽器組換え制御を行
なう。Cの2ビツトは分周回路3−7の5ビツ
トバイナリ分周出力の高位のもので、エンベロ
ープ期間を4等分する。 10 エンベロープ波形メモリー3−8から読出さ
れるデータは、演算回路3−9において、
B12,B13の強弱ビツトデータに基づく乗算及
びトレモロ制御回路3−11の出力に基づく加
減算を行ない、エンベロープ波形データをモデ
イフアイする。モデイフアイされたデータは
D/Aコンバータ3−10でD/A変換されエ
ンベロープを発生する。 11 エンベロープはトーン・ジエネレータ部2の
D/Aコンバータ2−9にレベル制御信号とし
て送られ、D/Aコンバータ2−9で基本波形
とを乗算しエンベロープ付音信号を出力する。
音信号はアンプ9,スピーカー10を介して放
音される。 12 なお、分周回路3−7で32ステツプ(1つの
エンベロープ読出し)をカウントすると、その
キヤリーパルスはアドレスカウンター6に入力
されアドレスを1つ進める。これにより曲情報
メモリー7では次の曲情報ビツトパターンが読
出され、上記1)〜12)の動作を繰返す。 13 このようにして曲情報メモリー7から順次曲
情報ビツトパターンを読出していき、B15ビツ
トに“1”が出力されると、コントロール回路
5より停止の信号が出力され、各分周回路2−
1,2−3,2−7,3−1,3−4,3−7
をリセツトするとともに、内部 のゲート回路を閉じ、一連の動作を終了す
る。 <メモリーのデータ容量> ちなみに、上記実施例における各メモリーのデ
ータ容量は次のとおりである。 音階分周比メモリー2−5 …9ビツト×12音階 基本波形メモリー2−8 …8ビツト×16ステツプ×4基本波形 (ただしC信号による制御がない場合) 音符長分周比メモリー3−3 …8ビツト×1最短音符長 音符長分周比メモリー3−6 …8ビツト×16音符長 エンベロープ波形メモリー3−8 …8ビツト×32ステツプ×4エンベロープ波形 <基本波形とエンベロープ> 基本波形としては、例えば第3図のタイムチヤ
ートに示されるように、(a)正弦波,(b)鋸波,(c)短
形波,(d)三角波等がある。基本波形メモリー2−
8には、これら波形Aの1周期分が16分割され
て、8ビツト,16ステツプのデイジタルデータと
して記憶される。第4図1〜4のタイムチヤート
はエンベロープBの波形例を示す。エンベロープ
は32分割されて、エンベロープ波形メモリー3−
8に8ビツト,32ステツプのデイジタルデータと
して記憶される。上述の基本波形,エンベロープ
波形は一例であり、他に様々な基本波形,エンベ
ロープ波形がありこれらに限定されるものではな
い。 ある楽器の音が第5図のようであるとすると、
基本波形Aは第3図の(a),エンベロープBは第4
図の2から構成されることとなる。基本波形の周
波数は各音階に、エンベロープの長さは各音符長
に対応する。 楽器音を指定するデータは、曲情報メモリー7
から出力される楽器組換えビツトB10,B11であ
り、ここでは最大1音符毎に楽器音を切換えるこ
とができるようにしている。楽器組換えビツト
B10,B11のデータは基本波形メモリー2−8,
エンベロープ波形メモリー3−8に入力され、そ
れぞれ対応する基本波形及びエンベロープ波形が
選択される。 このように本実施例では、エンベロープ波形と
基本波形を組合せて所望の楽器音(又は音色)で
楽曲を再生するようにしている。 <音階データ,音符長データ> 音階データ(B〓〜B3ビツト)のコード図を第
6図に、音符長データ(B4〜B7ビツト)のコー
ド図を第7図に示す。ここでは図示のようにそれ
ぞれ音階データ,音符長データを、4ビツトのバ
イナリコードに順次対応させてコード化してい
る。なお、音階データは“0000”(コードOH)
のとき休符を表わし、休符長は音符長データをも
つて設定される。 前述した音階の移調・転調は上記のコードを用
いて考えると、ある数のバイナリコードの加減算
になる。例えば、ハ長調から半音上げると変二長
調に変わる。ハ長調の1オクターブは“0100”
(コード4H)〜“1111”(コードFH)で表わさ
れ、変二長調の1オクターブは“0101”(コード
5H)〜1オクターブ上の“0100”(コード4H)
となり、ハ長調のコードに“0001”を加えたもの
になる。また、ハ長調から半音下げるとロ長調に
なる。このときのロ長調の1オクターブは、1オ
クターブ下の“1111”(コードFH),同オクター
ブの“0101”(コード4H)〜“1110”(コード
EH)となり、ハ長調から“0001”を減じたもの
となる。オクターブの上下は、上記の加減算で
“0100”(コード4H)〜“1111”(コードFH)の
キヤリー及びボローで表わされる。 トーン・ジエネレータ部2の加減算回路2−6
はこれを実行するものであり、本例では、半音部
を含めド〜シの音階を、“0100”(コード4H)〜
“1111”(コードFH)とバイナリコードに応じて
順次対応させているので、簡単な加減算回路によ
り移調・転調を行なうことができる。 テンポも同様な加減算回路(図示せず)によ
り、6ビツト分周比メモリー3−3の出力に任意
数(バイナリコード)を加減算し最短音符長を変
化することにより可能である。 また、後で詳しく述べるが、音符長データをこ
のようなバイナリコードで順次対応づけることに
より、所定のビツト、例えばB6,B7の上位2ビ
ツトのデータ(“1”であること)を検出するだ
けで、容易に全音符(〓),付点2分音符(〓.),
2分音符(〓)などの長音符のみを判別すること
ができる。 <音の自然さ,ききやすさ> 基本波形メモリー2−8に入力された2ビツト
のC信号は音の自然さ,音のききやすさを増すも
のである。 一般には、第4図1の典型的なエンベロープ波
形に示されるように、音の立上りからピークにな
るまでの時間:アタツク・タイムA,ピークから
保持レベルまでの時間:デイケイ・タイムD,保
持レベルの時間:サステイン・タイムS,立下り
の時間:リリース・タイムRがあり、線密にはこ
れらの期間で基本波形も変わり得る。本実施例で
は2ビツトのC信号により、エンベロープ期間を
均等に4分割しこれに近似化している。基本波形
の変化としては高次周波数を附加して若干の変化
がつけられるもの、あるいは特定の楽器音ではあ
る期間が全く異なる基本波形となる場合もあり
様々である。 この場合、楽器組換用ビツトB10,B11で指定
され、またそれぞれエンベロープの4期間で基本
波形を選択する必要から、4×4の基波形をメモ
リーし、基本波形メモリー2−8のデータ容量は 8ビツト×16ステツプ×(4×4)基本波形と
なる。 <音の強弱,トレモロ効果> 音の強弱は振幅の大小で決まるので、ここでは
エンベロープ全体のレベル調整を行なうことによ
つて、またトレモロ効果はいわゆる低周波数の振
幅変調であるので、エンベロープ波形を低周波数
にて振幅変調することによつて実現できる。 第8図にエンベロープ部3の演算回路3−9,
トレモロ制御回路3−11の詳細及びその周辺回
路を示す。 トレモロ効果は音符長データのB6,B7ビツト
を検出してかけられる。すなわち、トレモロ制御
回路3−11に音符長データのB6,B7ビツトを
入力し、アンドゲートAにより全音符,付点2分
音符,2分音符の長音符のみが検出される。な
お、トレモロはエンベロープのどこにでもあるい
は任意の一部にかけることも可能であるが、より
一層の効果を上げるためにも、エンベロープの後
半部にトレモロ効果をかける方が適当である。本
例ではこのために、エンベロープ波形メモリー3
−8のアドレスを指定する分周回路3−7の最上
位ビツト出力O5から信号t1を取出してアンドゲー
トAに加えている。低周波数(Hz)の信号T
振幅変調の周期を決定するものである。 曲情報メモリー7から曲情報が読出され、音符
長データのB6,B7ビツトの検出により長音符で
あると判断され(B6,B7ビツト“1”)、その後
エンベロープ後半部となるとも信号t1も“1”と
なり、アンドゲートAより低周波数信号Tが出力
される。この低周波数信号Tは演算回路3−9の
加減算回路3−9−1に入力され、低周波数信号
Tの“1”,“0”信号に基づいて、エンベロープ
波形を表わす8ビツトバイナリコードに所定数が
加減算される。すなわち、これによりエンベロー
プ波形のデイジタル量が低周波数Hzで変化を受
ける。 次段のシフト回路3−9−2で影響を受けない
とすると、更に後段のD/Aコンバータ3−10
に入力され、エンベロープの後半部を低周波数
Hzで振幅変調したアナログ信号を出力することと
なる。 音の強弱はシフト回路3−9−2において、強
弱制御用ビツトB11,B12で指定されるビツト分、
加減算回路3−9−1の出力を適宜シフトするこ
とにより行なわれる。例えば、
The present invention relates to a device that stores music information having at least scale data and note length data as bit patterns in a semiconductor memory, etc., and plays music according to reading of this music information, without using information bits for tremolo. The present invention relates to a music playing device that uses note length data read from a music information memory to produce a tremolo effect and exhibit even more acoustic effects. In this type of device, it is desirable to reduce the amount of data in the song information memory as much as possible because of the limited capacity of the song information memory and the amount of control required for various reproductions. The tremolo effect brings an even greater acoustic effect to the played sound, but rather than applying the tremolo effect to each note, applying it only to long notes creates a lingering sound on the long notes, making the sound effect more pronounced. appears. The present invention uses note length data read out from the music information to produce an effective tremolo effect with slight hardware improvements without using dedicated bits. An embodiment of the present invention will be described below with reference to the drawings. <Basic Structure> FIG. 1 shows an overall circuit block diagram. The device can be roughly divided into an oscillation/frequency dividing circuit 1, a tone generator section 2, an envelope generation section 3,
It is composed of an external input circuit 4, a control circuit 5, an address counter 6, a music information memory 7, an amplifier 9, and a speaker 10. The oscillation/frequency divider circuit 1 includes, for example, a crystal oscillation circuit and a frequency divider circuit, and generates a basic clock for the device. The tone generator section 2 is a section that generates a corresponding frequency signal according to data output from the music information memory 7 (for example, composed of a ROM). The envelope generator 3 generates the length and envelope of the sound according to the data output from the music information memory 7. The input circuit 4 is a switch circuit that controls music selection, music start, transposition/modulation, tempo, etc. The control circuit 5 converts the switch input of the input circuit 4 into a signal and transmits it to each block. The address counter 6 specifies the address of the music information memory 7, and sequentially reads the music data stored in the music information memory 7. FIG. 2 shows the bit assignment of data stored in the music information memory 7. That is, 16 of B 0 to B 15
Bits B〓~ B3 (4 bits)...Scale bits B4 ~ B7 (4 bits)...Note length bits B8 , B9 (2 bits)...Octave bits B10 , B11 (2 bits)... Instrument recombination bits B12 , B13 (2 bits)...Sound strength bit B14 (1 bit)...Redundancy bit B15 (1 bit)...Assigned as a stop bit. <Specific configuration and operation> 1. First, a song is selected using the song designation switch of the input circuit 4. By operating this switch, the control circuit 5 decodes 3 into M 1 to M 3 .
Outputs a bit pattern and specifies the top address of the music information memory 7 for reading. 2. Next, when the start switch of the input circuit 4 is turned on, the music information bit pattern at the address specified above is read out. Among the bit patterns read out, B〓~ B3 (scale bits),
The 8 bits from B8 to B11 (octave bits, instrument recombination bits) are the tone generator section 2.
Also, B 4 ~ B 7 (note length bit), B 10 ~ B 13
The 8 bits (instrument recombination bit, sound strength bit) are transmitted to the envelope generator 3. B 15 (stop bit) is transmitted to the control circuit 5. When "1" is output to the B15 bit, the operation is stopped, but at the time of start and when playing music, it is "0" and does not affect the operation in any way. 3 Of the 8 bits transmitted to the tone generator section 2, 6 bits B 0 to B 3 , B 8 , and B 9 are input to the adder/subtractor circuit 2-6, and the addresses of the scale division ratio memory 2-5 are input to the adder/subtracter circuit 2-6. At the same time, the octave is selected using the octave selector 2-2. The addition/subtraction circuit 2-6 controls the data of B≦ to B 3 , B 8 , and B 9 by inputting an external switch from the input circuit 4 to enable transposition and modulation. 4. One of the fundamental frequencies 01 to 04 corresponding to each octave is selected by the octave selector 2-2. The frequency divider circuit 2-1 is connected to the oscillation/frequency divider circuit 1, and is multiplied by (1,
2, 4, 8 times) fundamental frequencies 01 to 04 are prepared. The fundamental frequency 0i selected by the octave selector 2-2 is input to the frequency dividing circuit 2-3 and divided. The 9-bit binary frequency division output of the frequency dividing circuit 2-3 is compared with the same 9-bit frequency division ratio output from the frequency division ratio memory 2-5 specified by the above address in the matching circuit 2-4,
When they match, a pulse is output and the frequency divider circuit 2-3 is reset. The frequency of the pulses output at the time of this coincidence corresponds to each scale in each octave. By the way, if the frequency division ratio is 12 values between 478 and 253 (expressed by 9 bits in binary code) with respect to the reference frequency of 500 KHz, each scale frequency in the range of 1046 to 1975 Hz can be obtained. The octave can be changed by doubling the reference frequency. 5. The coincidence detection pulse is further input to the frequency dividing circuit 2-7. The frequency dividing circuit 2-7 uses its 4-bit binary frequency divided output to generate the next stage basic waveform memory 2-8.
Specify the address. That is, the frequency dividing circuit 2-7 operates as a so-called address counter. Basic waveform memory 2-8 consists of 8 bits and has 16
Data is stored so that each step forms a waveform corresponding to one period of the scale frequency. That is, octave selector 2-2, matching circuit 2-
The frequency output from 4 is the actual scale frequency.
This corresponds to 16 times, and one cycle of each scale frequency is divided into 16 by the frequency dividing circuit 2-7, and the addresses of 16 steps in the basic waveform memory 2-8 are sequentially designated. The waveform data read out by this addressing is input to the D/A converter 2-9, where it is D/A converted and
A basic waveform of the sound signal is formed every cycle. Further, the basic waveform memory 2-8 receives 2 bits B 10 and B 11 from the music information memory 7 and the upper 2 bits binary frequency divided output C of the frequency dividing circuit 3-7 of the envelope generating section 3. B10 ,
The 11 bits in B select the waveform memory to be read out in accordance with instrument recombination control, and the 2 bits in C further divide the envelope into predetermined regions in time, and select the basic waveform to which higher-order frequencies are added as appropriate. This is to increase the naturalness and ease of listening to the sound. 6. Of the 8 bits transmitted to the envelope generator 3, 4 bits B4 to B7 are input to the note length division ratio memory 3-6 as address designations. The two bits B10 and B11 are used as control bits for instrument recombination and are stored in the envelope waveform memory 3-8.
Furthermore, the two bits B 12 and B 13 are input to the arithmetic circuit 3-9 as sound intensity control bits. 7 In the envelope generating section 3, when the start switch is turned on, the frequency dividing circuit 3-1 starts operating first. The 6-bit binary frequency division output of the frequency division circuit 3-1 is input to the matching circuit 3-2, and is compared with the 6-bit frequency division ratio output of the tempo frequency division ratio memory 3-3. If they match, a pulse is generated and input to the subsequent frequency divider circuit 3-4. This pulse determines the time interval of the shortest note length. If necessary, an addition/subtraction circuit (not shown) may be provided.
By operating the tempo control switch of the input circuit 4, the frequency division ratio output of the frequency division ratio memory 3-3 is appropriately added or subtracted, and the frequency division ratio data can be changed to set an arbitrary tempo. 8 Note length division ratio memory 3-4 is 4 of B 4 to B 7
Using bits as addresses, 8-bit frequency division ratio data corresponding to each note length is selected and output. Correspondingly, the match circuit 3-5 compares it with the 8-bit binary frequency division output of the frequency divider circuit 3-4, and outputs a pulse when they match. The output time interval of this pulse corresponds to each note length specified by 4 bits B4 to B7 . However, here again, due to the following reasons, 1
It outputs 32 pulses per note length. That is, the coincidence detection circuits 3-2, 3-5
The frequency of the pulses output from etc. is usually 32 times that of the general case. This pulse is transmitted to the frequency dividing circuit 3-
7 and is frequency-divided. 9. The envelope waveform memory 3-8 has an 8-bit configuration and stores data to form one envelope waveform in 32 steps. Like the basic waveform described above, the envelope waveform is only compressed and expanded in time for each note length, and one envelope waveform must be read out for one note length. The frequency dividing circuit 3-7 serves as a so-called address counter for the envelope waveform memory 3-8, and the envelope waveform memory 3-8 is divided into 5-bit binary frequency divided outputs per note length.
Specify the addresses of 32 steps of 8 in sequence. The B 10 and B 11 bits input to the envelope waveform memory 3-8 select the waveform memory to be read out, and are combined with the basic waveform selected in the basic waveform memory 2-8 to perform musical instrument recombination control. The 2 bits of C are the high-order ones of the 5-bit binary frequency division output of the frequency divider circuit 3-7, and divide the envelope period into four equal parts. 10 The data read from the envelope waveform memory 3-8 is processed in the arithmetic circuit 3-9.
Multiplication based on the strength bit data of B 12 and B 13 and addition/subtraction based on the output of the tremolo control circuit 3-11 are performed to modify the envelope waveform data. The modified data is D/A converted by a D/A converter 3-10 to generate an envelope. 11 The envelope is sent as a level control signal to the D/A converter 2-9 of the tone generator section 2, and the D/A converter 2-9 multiplies it by the basic waveform and outputs an enveloped sound signal.
The sound signal is emitted via an amplifier 9 and a speaker 10. 12 When the frequency divider circuit 3-7 counts 32 steps (one envelope read), the carry pulse is input to the address counter 6 and advances the address by one. As a result, the next music information bit pattern is read out from the music information memory 7, and the operations 1) to 12) above are repeated. 13 In this way, the song information bit patterns are sequentially read out from the song information memory 7, and when "1" is output to the B15 bit, a stop signal is output from the control circuit 5, and each frequency dividing circuit 2-
1, 2-3, 2-7, 3-1, 3-4, 3-7
At the same time, the internal gate circuit is closed and the series of operations ends. <Data Capacity of Memory> Incidentally, the data capacity of each memory in the above embodiment is as follows. Scale division ratio memory 2-5...9 bits x 12 scale basic waveform memory 2-8...8 bits x 16 steps x 4 basic waveforms (unless controlled by C signal) Note length frequency division ratio memory 3-3... 8 bits x 1 shortest note length note length frequency division ratio memory 3-6...8 bits x 16 notes length envelope waveform memory 3-8...8 bits x 32 steps x 4 envelope waveforms <basic waveform and envelope> As the basic waveform, for example, As shown in the time chart in Figure 3, there are (a) sine waves, (b) sawtooth waves, (c) rectangular waves, and (d) triangular waves. Basic waveform memory 2-
8, one cycle of these waveforms A is divided into 16 parts and stored as 8-bit, 16-step digital data. The time charts in FIGS. 1 to 4 show examples of envelope B waveforms. The envelope is divided into 32 parts and stored in envelope waveform memory 3-
8 is stored as 8-bit, 32-step digital data. The basic waveform and envelope waveform described above are just examples, and there are various other basic waveforms and envelope waveforms, and the present invention is not limited to these. If the sound of a certain instrument is as shown in Figure 5,
The basic waveform A is (a) in Figure 3, and the envelope B is the 4th waveform.
It consists of 2 in the figure. The frequency of the fundamental waveform corresponds to each scale, and the length of the envelope corresponds to each note length. Data specifying instrument sounds is stored in song information memory 7.
These are the instrument recombination bits B 10 and B 11 outputted from the instrument, and here the instrument sound can be switched for each note at most. Instrument recombination bits
The data of B 10 and B 11 are stored in basic waveform memory 2-8,
The signals are input to the envelope waveform memory 3-8, and the corresponding fundamental waveform and envelope waveform are selected. In this way, in this embodiment, the envelope waveform and the basic waveform are combined to reproduce a song with a desired musical instrument sound (or timbre). <Scale data, note length data> A chord diagram of the scale data (B≓ to B 3 bits) is shown in FIG. 6, and a chord diagram of the note length data (B 4 to B 7 bits) is shown in FIG. Here, as shown in the figure, scale data and note length data are encoded in sequential correspondence with 4-bit binary codes. The scale data is “0000” (code OH)
indicates a rest, and the rest length is set using note length data. When we consider the above-mentioned scale transposition and transposition using the above code, it becomes addition and subtraction of a certain number of binary codes. For example, moving up a semitone from C major changes it to D flat major. The first octave of C major is “0100”
(Code 4H) to “1111” (Code FH), and the first octave of D-flat major is “0101” (Code FH).
5H) ~ “0100” one octave higher (code 4H)
So, it becomes the C major chord plus "0001". Also, if you move down a semitone from C major, you get B major. The first octave of B major at this time is "1111" (code FH) one octave below, "0101" (code 4H) to "1110" (code FH) in the same octave.
EH), which is C major minus "0001". The upper and lower octaves are represented by carries and borrows from "0100" (code 4H) to "1111" (code FH) using the above addition and subtraction. Addition/subtraction circuit 2-6 of tone generator section 2
executes this, and in this example, the scale from Do to Shi, including the chromatic part, is set to “0100” (code 4H) to
Since "1111" (code FH) is made to correspond to the binary code in sequence, transposition and transposition can be performed using a simple addition/subtraction circuit. The tempo can also be changed by adding or subtracting an arbitrary number (binary code) to the output of the 6-bit frequency division ratio memory 3-3 using a similar addition/subtraction circuit (not shown) to change the shortest note length. Also, as will be described in detail later, by sequentially associating note length data with such a binary code, it is possible to detect a predetermined bit, for example, the data of the upper two bits of B 6 and B 7 (which must be "1"). You can easily create whole notes (〓), dotted half notes (〓.),
Only long notes such as half notes (〓) can be identified. <Naturalness and audibility of the sound> The 2-bit C signal input to the basic waveform memory 2-8 increases the naturalness and audibility of the sound. In general, as shown in the typical envelope waveform in Figure 4-1, the time from the rise of the sound to the peak: attack time A, the time from the peak to the hold level: decay time D, hold level. There is a sustain time S, a falling time, and a release time R, and the basic waveform can change in line density during these periods. In this embodiment, the envelope period is equally divided into four by a 2-bit C signal and approximated to this. The basic waveform can be changed in various ways, such as slight changes by adding higher-order frequencies, or a certain period of a certain musical instrument sound having a completely different basic waveform. In this case, since it is specified by the instrument recombination bits B 10 and B 11 , and it is necessary to select the basic waveform in each of the four periods of the envelope, a 4 x 4 basic waveform is stored in memory, and the data in basic waveform memory 2-8 is The capacity is 8 bits x 16 steps x (4 x 4) basic waveform. <Sound strength and tremolo effect> The strength of the sound is determined by the magnitude of the amplitude, so here we will adjust the level of the entire envelope, and since the tremolo effect is so-called low frequency amplitude modulation, we will adjust the envelope waveform. This can be achieved by amplitude modulation at a low frequency. FIG. 8 shows the calculation circuit 3-9 of the envelope section 3,
Details of the tremolo control circuit 3-11 and its peripheral circuits are shown. The tremolo effect is applied by detecting the B 6 and B 7 bits of the note length data. That is, the B 6 and B 7 bits of the note length data are input to the tremolo control circuit 3-11, and the AND gate A detects only long notes such as whole notes, dotted half notes, and half notes. Although it is possible to apply the tremolo anywhere or to any part of the envelope, it is more appropriate to apply the tremolo effect to the latter half of the envelope in order to increase the effect even further. For this purpose, in this example, the envelope waveform memory 3
A signal t1 is taken out from the most significant bit output O5 of the frequency divider circuit 3-7, which specifies the address of -8, and is applied to the AND gate A. The low frequency (Hz) signal T determines the period of amplitude modulation. The song information is read from the song information memory 7, and by detecting the B 6 and B 7 bits of the note length data, it is determined that the note is a long note (B 6 and B 7 bits "1"), and then a signal is sent when the note is in the latter half of the envelope. t1 also becomes "1", and the low frequency signal T is output from the AND gate A. This low frequency signal T is input to the addition/subtraction circuit 3-9-1 of the arithmetic circuit 3-9, and the low frequency signal T
Based on the T "1" and "0" signals, a predetermined number is added or subtracted from the 8-bit binary code representing the envelope waveform. That is, this causes the digital quantity of the envelope waveform to change at a low frequency of Hz. Assuming that the next stage shift circuit 3-9-2 is not affected, the further downstream D/A converter 3-10
is input to the lower half of the envelope as a low frequency
It will output an analog signal amplitude modulated at Hz. The strength of the sound is determined by the bits specified by the strength control bits B11 and B12 in the shift circuit 3-9-2.
This is done by appropriately shifting the output of the addition/subtraction circuit 3-9-1. for example,

【表】 で、B12,B13ビツトのデータに従つて、から供
給される32ステツプの各バイナリコードを順次指
定されたビツト数シフトし、エンベロープ全体の
デイジタル量を所定分変化する。 シフトされたバイナリ出力はD/Aコンバータ
3−10よりアナログ信号に変化されるが、1ビ
ツトシフトでは2倍,2ビツトシフトでは4倍,
3ビツトシフトでは8倍の振幅を有するアナログ
信号として出力される。すなわち、B12,B13
ツトのデータにより1,2,4,8倍の振幅変化
をもつて音の強弱が制御される。 以上のように本発明は、トレモロ用の専用情報
ビツトを用いずに効果的にトレモロ効果を出すも
のであり、曲情報メモリーのデータ量を少なくで
き、ハード的にも若干の改良で達成でき、音響効
果に優れた有用な楽曲演奏装置が提供できる。
[Table] According to the B 12 and B 13 bit data, each of the 32-step binary codes supplied from is sequentially shifted by a specified number of bits, and the digital amount of the entire envelope is changed by a predetermined amount. The shifted binary output is converted into an analog signal by the D/A converter 3-10, but it is doubled for a 1-bit shift, quadrupled for a 2-bit shift, and
With a 3-bit shift, an analog signal with eight times the amplitude is output. That is, the intensity of the sound is controlled by changing the amplitude by a factor of 1, 2, 4, or 8 using B 12 and B 13 bit data. As described above, the present invention effectively produces a tremolo effect without using dedicated information bits for tremolo, reduces the amount of data in the song information memory, and can be achieved with slight hardware improvements. A useful music playing device with excellent acoustic effects can be provided.

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

第1図は本発明の一実施例を示す全体の回路ブ
ロツク図、第2図は曲情報ビツトの割当てを示す
図、第3図a〜dは基本波形例を示すタイムチヤ
ート、第4図1〜4はエンベロープ波形例を示す
タイムチヤート、第5図は基本波形とエンベロー
プ波形のミキシング例を示すタイムチヤート、第
6図は各音階に対応するコード例を示す図、第7
図は各音符長に対応するコード例を示す図、第8
図は第1図の要部を更に詳細に示す回路ブロツク
図である。 1…発振・分周回路、2…トーン・ジエネレー
タ部、3…エンベロープ発生部、6…アドレスカ
ウンタ、7…曲情報メモリー、3−9…演算回
路、3−10…D/Aコンバータ、3−11…ト
レモロ制御回路、3−9−1…加減算回路、3−
9−2…シフト回路、B〓〜B3…音階ビツト、B4
〜B7…音符長ビツト。
FIG. 1 is an overall circuit block diagram showing one embodiment of the present invention, FIG. 2 is a diagram showing the allocation of song information bits, FIGS. 3 a to d are time charts showing examples of basic waveforms, and FIG. 4 ~4 is a time chart showing an example of an envelope waveform, Figure 5 is a time chart showing an example of mixing the basic waveform and envelope waveform, Figure 6 is a diagram showing an example of chords corresponding to each scale, and Figure 7 is a time chart showing an example of mixing the basic waveform and envelope waveform.
The figure shows chord examples corresponding to each note length.
This figure is a circuit block diagram showing the main part of FIG. 1 in more detail. DESCRIPTION OF SYMBOLS 1...Oscillation/frequency division circuit, 2...Tone/generator section, 3...Envelope generation section, 6...Address counter, 7...Song information memory, 3-9...Arithmetic circuit, 3-10...D/A converter, 3- 11...Tremolo control circuit, 3-9-1...Addition/subtraction circuit, 3-
9-2...Shift circuit, B〓~ B3 ...Scale bit, B4
~B 7 …Note length bit.

Claims (1)

【特許請求の範囲】 1 少なくとも音階データと音符長データをビツ
トパターンとする曲情報を記憶し、該曲情報の読
出しに従つて楽曲を演奏する装置において、 前記音符長データのビツトパターンから長音符
を検出する手段と、該検出出力により再生音にト
レモロ効果を発生させるトレモロ効果発生手段と
を備えてなることを特徴とする楽曲演奏装置。
[Scope of Claims] 1. In an apparatus that stores music information in which at least scale data and note length data are used as bit patterns, and plays a music according to reading of the music information, long notes are extracted from the bit patterns of the note length data. A music playing device comprising: a detecting means; and a tremolo effect generating means for generating a tremolo effect in reproduced sound using the detection output.
JP56211840A 1981-12-23 1981-12-23 Music performancer Granted JPS58111094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56211840A JPS58111094A (en) 1981-12-23 1981-12-23 Music performancer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56211840A JPS58111094A (en) 1981-12-23 1981-12-23 Music performancer

Publications (2)

Publication Number Publication Date
JPS58111094A JPS58111094A (en) 1983-07-01
JPH0338600B2 true JPH0338600B2 (en) 1991-06-11

Family

ID=16612451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56211840A Granted JPS58111094A (en) 1981-12-23 1981-12-23 Music performancer

Country Status (1)

Country Link
JP (1) JPS58111094A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61238094A (en) * 1985-04-15 1986-10-23 日本テレビ放送網株式会社 Musical sound playback device

Also Published As

Publication number Publication date
JPS58111094A (en) 1983-07-01

Similar Documents

Publication Publication Date Title
US5340938A (en) Tone generation apparatus with selective assignment of one of tone generation processing modes to tone generation channels
JPH0412476B2 (en)
US4440058A (en) Digital tone generation system with slot weighting of fixed width window functions
US5936182A (en) Musical tone synthesizer for reproducing a plural series of overtones having different inharmonicities
EP0124197A2 (en) Waveform table modification instrument and method for generating musical sound
JPH0336240B2 (en)
JPH0243199B2 (en)
JPS61204698A (en) Tone signal generator
JPH0338600B2 (en)
JPS58100187A (en) Musical composition performer
JPH0233159B2 (en)
JPH0353639B2 (en)
JPS6248239B2 (en)
JPS5898787A (en) Musical composition performer
JP2518356B2 (en) Automatic accompaniment device
JPH0237599B2 (en)
JPS58139381A (en) Music player
JPH0579996B2 (en)
JPS5898786A (en) Musical composition performer
JP2625669B2 (en) Musical sound wave generator
JPS6035077B2 (en) electronic musical instruments
JPS61248096A (en) Electronic musical instrument
JPS58115488A (en) Lsi for music performancer
JPS58105193A (en) Musical piece performer
JPH0423280B2 (en)