JP4318865B2 - Music data adder - Google Patents
Music data adder Download PDFInfo
- Publication number
- JP4318865B2 JP4318865B2 JP2001099785A JP2001099785A JP4318865B2 JP 4318865 B2 JP4318865 B2 JP 4318865B2 JP 2001099785 A JP2001099785 A JP 2001099785A JP 2001099785 A JP2001099785 A JP 2001099785A JP 4318865 B2 JP4318865 B2 JP 4318865B2
- Authority
- JP
- Japan
- Prior art keywords
- addition
- data
- input
- processing unit
- output
- 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 - Fee Related
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、楽音データのミキシングなどに利用される楽音データ加算装置に関する。
【0002】
【従来の技術】
電子楽器など、電子的に楽音を発生させる装置は、近年CD(Compact Disk)等の大きな伸びにより、18〜20ビットDAC(Digital Analog Conveter)が安く購入できるようになったため、44.1KHzサンプリングL/Rステレオで出力するものがほとんどである。
【0003】
近年のこのような汎用DACのチップは、そのピン数の削減及び基盤上の配線数の削減のため、全てシリアル入力方式を採用している(そのほとんどがMSBファーストの入力方式)。
【0004】
そのシリアルデータ転送に使われるフォーマットは、一般的にCDFフォーマットと呼ばれ、片チャンネル16ビット〜24ビットの楽音データを、MSBファースト(MSBを先に)で転送している。
【0005】
また近年の電子楽音発生装置は、ステレオ1系列では間に合わないステレオ2系列以上の楽音波形出力系列を持つものが多くなっている。
【0006】
その利用方法の1つとして、音源LSI(音源チップ)などの楽音発生装置TG(Tone Generator)とデジタルシグナルプロセッサDSP(Digital Signal Processor)などの音響効果付加装置が夫々別チップとして存在し、上記楽音発生装置TGの出力系列毎に異なる音響効果を付加しようとするために、音響効果付加装置であるデジタルシグナルプロセッサDSPも、それに合わせてステレオ2系列以上のシリアルデータ入力ポートが必要になる。
【0007】
デジタルシグナルプロセッサDSP内で系列的に異なる音響効果を付加した後、全体として共通した残響効果(Reverb)を付加するため、ステレオ2系列以上をミキシング(加算)する場合、デジタルシグナルプロセッサDSP内には一般的に24〜32ビットの加算器ALU(Arithmetic Logic Unit)を備えているので、簡単に対応することができる。
【0008】
電子ピアノ程度のステレオ2系列の電子楽器であればそのようなデジタルシグナルプロセッサDSPを使った構成でも良いが、電子オルガンや自動伴奏乃至自動演奏機能付き電子ピアノを構成するシステムでは、違った音色を複数同時に発生させる必要があることから、図9に示すように、上記構成を2つ又は3つ組み合わせた多数の系列数が必要となる。同図の構成では、楽音発生装置TG1及びTG2とデジタルシグナルプロセッサDSP1及びDSP2とデジタルアナログコンバータDAC114a及び114bの一連の組が2系列と、アナログ入力側のマイク110及び111−アナログデジタルコンバータADC112及び113(Analog Digital Conveter)とデジタルシグナルプロセッサDSPm及びデジタルアナログコンバータDAC114cの一連の組が1系列あり、最終段側でアナログ楽音データをミキシング回路117でミキシングしている。
【0009】
この場合各デジタルシグナルプロセッサDSP内は、図10に示すような構成にせざるを得ない。すなわち、全デジタルシグナルプロセッサDSP中に、夫々の音響効果付加ブロックの他に残響効果付加ブロック(Reverb)を用意しなければならないが、この部分の処理は負荷が重く、デジタルシグナルプロセッサDSP全体の半分近くの処理を必要とするため、無駄が多い。
【0010】
そこで、図11に示すように、残響効果以外の音響効果付加を夫々のデジタルシグナルプロセッサDSP1〜mで行い、それらをまとめた後に残響効果付加を1つのデジタルシグナルプロセッサDSPnで行う構成の採用が考えられる。こうした構成の場合、デジタルシグナルプロセッサDSP1〜m内は、図12に示すような構成となり、またデジタルシグナルプロセッサDSPn内は、図13のような構成となる。
【0011】
以上のような構成とした場合、デジタルシグナルプロセッサDSPの数は増えるが、各デジタルシグナルプロセッサDSPの処理能力は、先の構成の場合に当該デジタルシグナルプロセッサDSPに必要とされる処理能力の半分程度で済むため、汎用的なデジタルシグナルプロセッサDSPを採用することができるようになり、デジタルアナログコンバータDACの数を減らすことが可能となる。
【0012】
【発明が解決しようとする課題】
しかし、汎用的なデジタルシグナルプロセッサDSPの構成では、外部との入出力をシリアルで行っており、しかもその入出力ピン数が通常2〜3ピン(図中1つの入力はDSP制御用である)と少ないため、処理能力は十分あるにも拘わらず、図11の構成では、ミキシング(加算)できないと言う問題が発生することになる。すなわち図11の構成では、4つ以上の系列の楽音データがデジタルシグナルプロセッサDSPnに入力されなければならないため、入力ピン数が2〜3ピン程度の汎用的なデジタルシグナルプロセッサDSPでは物理的に無理である。
【0013】
本発明は、以上のような問題に鑑み創案されたもので、複数の楽音波形出力系列を持つ楽音データ処理構成において、夫々の系列で必要な処理を汎用的なデジタルシグナルプロセッサDSPで実行させ、後にこれらの複数の系列に同じ処理を行わせる場合に、部品点数をいたずらに増やすことなく、よりシンプルな形式で、効率良く加算処理を行うことが可能な楽音データ加算装置を提供せんとするものである。
【0014】
【課題を解決するための手段】
上記図11のような構成で、複数系列の楽音データに対し、1つの汎用的なデジタルシグナルプロセッサDSPnで同じ処理をかけるためには、上記デジタルシグナルプロセッサDSPnの前段に、複数の入力ポートを有する加算回路を設けてミキシングを行う構成とすることが必要である。
【0015】
本願発明は、そのような加算装置の構成を提案するものである。しかし加算回路は通常ビット当たり多数のセル(又はゲート)を必要とし、しかも24ビット同士を加算するとなると大きな回路となる。
【0016】
また近年一般的に利用されているMSBファーストのシリアルデータ転送方式では、図14に示すように、加算する前に一度パラレルに戻す必要があり、その意味からも大規模な回路構成を必要とすることになる。
【0017】
そこで本願構成では、LSBファーストで出力されるシリアル楽音データが、加算装置に入力されるものとし、それによって楽音データ同士を、極めてシンプルな回路構成で加算し、出力できるようにする。
【0018】
すなわち、本発明の構成は、
楽音データ同士の加算を行う楽音データ加算装置であって、
前記楽音データは時分割多重化された複数チャンネルからなり、
現在送受中の信号が前記複数チャンネルのいずれのものであるかを識別できる識別信号が添えられ、
前記複数チャンネルの各チャンネルは複数ビットで構成され、
これらの楽音データをLSB側から順に入力して、上記全ビット数より少ない所定ビット毎に加算する加算処理部と、
前記識別信号が変化する際にそのエッヂを検出した信号を発生するエッヂ発生部と
を有しており、
該加算処理部は、そのビット毎の加算結果の一部であるキャリー出力を、次の上位ビット加算時のキャリー入力とし、
且つ上記楽音データのLSB同士の加算時には、前記エッヂ発生部が発生する信号に応じてキャリー入力としてゼロを入力する
ことを基本的特徴としている。
【0019】
上記構成によれば、上記加算処理部において、複数ビットで構成されるこれらの楽音データをLSB側から順に入力して、上記全ビット数より少ない所定ビット毎(1ビット毎でも良い)に加算処理を行っているため、シフトレジスタなどのような構成を用いなくても、シリアルで入力されてくる楽音データをそのまま加算することができ(リアルタイムで処理することも可)、シンプルな回路構成で、効率良く加算処理を実行することが可能となる。従ってこのようなシンプルで計算速度の速い構成を複数組み合わせることで、複数系列の楽音データのミキシングを行うことも可能となる。
【0020】
もちろん上記加算処理時に桁上げがある場合、LSBファーストで楽音データが入力されてくるため、該加算処理部は、そのビット毎の加算結果の一部であるキャリー出力を、順次入力されてくる次の上位ビット加算時のキャリー入力とすることになる。さらに上記楽音データのLSB同士の加算時には、前記エッヂ発生部が発生する信号に応じてキャリー入力としてゼロを入力することになる。
【0021】
通常楽音データは2の補数で表されるため、正の数の場合MSBが0に、また負の数の場合MSBが1になる。上記構成では、LSB側から入力されて、順次加算処理を行い、最後にMSB側の加算処理を行うことになるが、このようなMSBの加算処理では、桁溢れ(又は算術的溢れ;オーバーフローやアンダーフロー)によって、正負が逆になることがある。
【0022】
すなわち、図8(a)に示すように、MSBの前のビットの加算処理で桁上げ(キャリー)があり、次のMSBで加算しようとする2つの楽音データの値が正の場合(すなわちMSBとして両方に0が入力される場合)、上記桁上げで、MSBが1となり、負の数を表すことになってしまう。
【0023】
また同図(b)に示すように、MSBの前のビットの加算処理では桁上げがなく、次のMSBで加算しようとする2つの楽音データの値が負の場合(すなわちMSBとして両方に1の値が入力される場合)、上記加算処理で、MSB部分は0となり、正の数を表すことになってしまう。
【0024】
請求項2の構成は、このような桁溢れによって、正負が逆になることを防止する構成であり、上記加算処理部以外に、前記楽音データのMSBが前記加算処理部に入力されるタイミングを示す信号を発生するパルス発生部と、前記加算処理部の出力を所定時間だけ遅延させて出力する遅延部とを備えていて、前記楽音データのMSBが前記加算処理部に入力されるタイミングであることを前記パルス発生部が示している場合に、該加算処理部による加算結果に基づき、桁溢れを検出すると共に、該桁溢れの時に、前記遅延部の出力に代えて夫々所定の値(例えばオーバーフローの際に最大値、アンダーフローの時に最小値)を出力することを特徴としている。それにより計算結果における正負の反転がなくなって、奇異な楽音の発生をなくしたり、回路的に不安定になることを防止することができるようになる。
【0025】
仮に加算処理される楽音データの少なくとも一方がパラレルデータであったとしても、加算処理が実行される前にシリアルデータに変換して行えば、上記本発明構成による加算処理を実行することが可能となる。具体的には、上記楽音データは、同一のサンプリング周期であり、少なくとも一方は、パラレルデータである楽音データをLSB側から先に出力されるシリアルデータに変換した後、上記加算処理部において他方のデータと加算処理する。
【0026】
さらに上記構成は、楽音発生装置内に設けることも可能である。すなわち、楽音発生装置内に設けられる楽音データ加算装置の構成を対象としており、その場合の構成の特徴として、上記加算処理部でビット毎に加算する上記入力楽音データとして、一方は、外部から入力されたシリアル楽音データであり、他方は、内部で作成されたパラレル楽音データを、上記外部からのシリアルタイミングに同期させてシリアルに変換したものにする。
【0027】
また加算処理される楽音データの少なくとも一方が、通常のようにMSBファースト形式で出力されてくるものであったとしても、加算処理が実行される前にLSBファースト形式に変換して行えば、上記本発明構成による加算処理を実行することが可能となる。請求項3では、そのような構成を提案しており、具体的には、複数ビットで構成されるこれらの楽音データをLSB側から順に入力して、上記全ビット数より少ない所定ビット毎に加算する加算処理部を有しており、該加算処理部は、そのビット毎の加算結果の一部であるキャリー出力を、次の上位ビット加算時のキャリー入力とすると共に、この加算処理部の少なくとも一方の入力側にデータ入力切替部を備えていて、その切替処理により、前記楽音データをLSB側から順に加算処理部に入力することを特徴としている。
【0028】
本発明の構成は、ステレオ使用の楽音データに対しても適用可能である。すなわち上記加算処理部はシンプルな構成であり、計算速度は十分に速いため、該加算処理部において、Left用とRight用の波形が時分割で処理されるようにすることでも、楽音データの加算処理用としては十分である。
【0029】
【発明の実施の形態】
以下、本発明の実施の形態を図示例と共に説明する。
(実施例1)
図1は、音声や生演奏を取り込んで本体の演奏とミキシングできる電子オルガンの機能ブロック構成を示す説明図である。同図に示すように、本電子オルガンは、ステレオ構成であり、且つ複数の楽音波形出力系列を持つ楽音データ処理構成を有している。さらに夫々の系列で必要な処理を汎用的なデジタルシグナルプロセッサDSP1〜mで行わせ、後にこれらの複数の系列に、別のデジタルシグナルプロセッサDSPnによって、残響効果を付加する処理(他の処理に切り替えることも可)を行わせている。そして、これらのデジタルシグナルプロセッサDSP1〜mとデジタルシグナルプロセッサDSPnの間に設けられるミキサ1aが、本実施例に係る加算装置の構成である。
【0030】
同図に示すように、上記電子オルガンの構成には、CPU100が備えられており、キーボード101からキーイベントを受けて、上記楽音波形出力系列側に送ったり、またパネル102の操作指示などを受けて本電子オルガン全体の制御を行うようになっている。そして前記キーイベントが入力された楽音発生回路TG1〜lは、該CPU100からの制御を受けて、夫々指定された楽音を発生させる。その後同じくCPU100からの制御を受けて各デジタルシグナルプロセッサDSP1〜lにより、夫々の音色に応じた音響効果或いは前記パネル操作による任意の音響効果が付加される。
【0031】
これらの楽音波形出力系列の他に、本実施例では、人の声や楽器の生演奏をマイク110及び111でひろってアナログデジタルコンバータADC112及び113でデジタルデータに変換し、それに上記CPU100からの制御を受けたデジタルシグナルプロセッサDSPmで所定の音響効果が付加される。
【0032】
これらの複数系列の楽音データは、本ミキサ1aの加算処理によりミキシングされる。その後デジタルシグナルプロセッサDSPnによって、残響効果が付加され、デジタルアナログコンバータDAC114で、アナログデータに変換された上、アンプ115で増幅され、スピーカ116から、R/Lステレオ楽音として出力される。
【0033】
以上の構成において、楽音データは、上記デジタルシグナルプロセッサDSP1〜mの内部でLSBファーストのシリアルデータに変換されて出力されて、上記ミキサ1aに入力され、またデジタルシグナルプロセッサDSPnで残響効果が付加された楽音データは、該デジタルシグナルプロセッサDSPn内部でMSBファーストのシリアルデータに変換されて(後述のデジタルアナログコンバータDAC114が対応していればLSBファーストとすることも可)、デジタルアナログコンバータDAC114に出力される。
【0034】
以上の構成において、本ミキサ1aは、図2に示すような加算処理部の回路構成を有している。該加算処理部の構成は、ステレオ2系列の楽音波形出力系列からシリアルで出力されてくるLSBファーストの2つの楽音データ(DATin1、DATin2)を受けてこれらのビット毎の加算処理を行いその加算結果(DATout)を出力する加算器10と、ビット毎の加算結果の一部であるキャリー出力(Cout)を該加算器10から受けて、次の上位ビット加算時のキャリー入力(Cin)とするキャリービットレジスタ11(Dラッチ回路で構成される)とを有している。
【0035】
加算器10ではシステムクロックに同期して上記加算処理が行われるため、上記キャリービットレジスタ11には、システムクロックが入力され(SCKin)、該クロックに同期してキャリー出力(Cout)を受け、また次のクロックの際(次の上位ビット)に、加算器10にキャリー入力(Cin)する。
【0036】
また本構成ではステレオ出力用に、Left用とRight用の楽音データの処理を時分割で行っており、そのため、エッヂ発生器12が設けられていて、LRクロックが入力され、L及びR用の方形波が発生せしめられて、上記キャリービットレジスタ11に入力されている。
【0037】
さらに2つの楽音データのLSB同士の加算時には、上記キャリービットレジスタ11は、キャリー入力としてゼロを入力することになる。
【0038】
図3は、上記構成における各入出力データ及びクロックのタイミングチャートである。ステレオのLeft用及びRight用の各処理時において、1システムクロック毎に24ビットの楽音データのビット毎の入力(DATin1、DATin2)がなされ、その加算結果がビット毎に出力(DATout)される。尚、該出力は、491nsのビット単位幅に対し、50〜100nsの遅れを伴うが特に問題は生じない。
【0039】
以上の構成は、2つのシリアル楽音データを加算処理しているが、それ以上の複数系列の加算処理を行う場合は、以上の構成を、その数に対応させて、複数組み合わせることにより、それらのミキシング処理を行うことができることになる。
【0040】
(実施例2)
図4は、電子オルガンのミキサ1bとして用いられた本願発明の第2実施例に係る加算装置の回路構成を示す回路ブロック図である。本願構成の適用される上記電子オルガンの構成は、基本的には、前記実施例1と同じであり、その詳細は省略する。
【0041】
本実施例構成では、DATin2として入力されるシリアル楽音データは、LSBファーストで入力されるが、もう一方のDATin1として入力されるシリアル楽音データは、LSBファーストでもMSBファーストでも、どちらでも良い。しかもこれらの楽音データは異なったシステムクロック(SCKin1、SCKin2)及びLRクロック(LRCKin1、LRCKin2)で入力される。
【0042】
上記構成において、実施例1と同じ採番のものは、基本的に同じ構成である。ここで加算器10の一方の入力側には、データ入力切替部20を備えており、その切替処理により、DATin1として入力される楽音データをLSBファーストにして、上記加算器10に入力する構成としている。
【0043】
すなわち、シリアル楽音データ(DATin1)をシフトレジスタ構成によりパラレルデータに変換する際、通常のようにMSBを上位ビットにして、及びそれを反転させてLSBを上位ビットにして、夫々出力するシリアル−パラレル変換器24と、該シリアル−パラレル変換器24の2つの出力を入力し、切換スイッチ22の切換で、MSBを上位ビットにしたパラレルデータか、LSBを上位ビットにしたパラレルデータかを切り替える切換器21と、該切換器21から入力されたパラレルデータをシリアルデータに変換するパラレル−シリアル変換器23とを備えており、これらにより、上記データ入力切替部20が構成されている。
【0044】
上述のように、シリアル楽音データ(DATin1)は、システムクロック(SCKin1)及びLRクロック(LRCKin1)に同期して入力され、また他方のシリアル楽音データ(DATin2)は、これらとは別のシステムクロック(SCKin2)及びLRクロック(LRCKin2)に同期して入力されるものであるが、上記パラレル−シリアル変換器23がシリアル楽音データ(DATin2)側のシステムクロック(SCKin2)及びLRクロック(LRCKin2)に同期して出力しているため、加算結果(DATout)は、シリアル楽音データ(DATin2)側のシステムクロック(SCKin2)及びLRクロック(LRCKin2)に同期して、Dラッチ回路13から出力されることになる。
【0045】
以上の構成を複数組み合わせて、3以上の複数系列のミキシング処理を行うことができるが、その場合、本構成の加算結果出力(DATout)、システムクロック出力(SCKout)及びLRクロック出力(LRCKout)は、組み合わされる次の加算処理部のシリアル楽音データ(DATin1)、システムクロック(SCKin1)及びLRクロック(LRCKin1)、或いはシリアル楽音データ(DATin2)、システムクロック(SCKin2)及びLRクロック(LRCKin2)として入力されることになる。
【0046】
本実施例構成では、加算処理される楽音データの少なくとも一方が、通常のようにMSBファースト形式で出力されてくるものであっても、上述のように、データ入力切替部20により、LSBファースト形式に変換してから、加算器10による加算処理が実行されるので、上記本発明構成により、ミキシング処理が可能となる。
【0047】
(実施例3)
図5は、楽音波形出力系列毎に夫々の音響効果付加処理を伴って楽音を出力できる電子オルガンにおいて、本発明の構成が適用されることにより、これらの出力系列のミキシング処理を行い、ミキシングされた楽音データにさらに別の音響効果付加を行える構成の機能ブロックを示す説明図である。
【0048】
本実施例の構成は、1の楽音波形出力系列に設けられている楽音発生装置を構成する音源LSI内に備えられた加算処理構成として実装されている加算装置である。すなわち、本構成では、音源LSI117の楽音発生回路TG2の出力側に、上記実施例と同様な加算処理部1c及び1dの構成を備えている。
【0049】
図6は、該加算処理部1c及び1dの構成を示す回路図である。当該構成も、基本的には実施例1と同様な構成を備えている。本構成では、楽音発生回路TG2の16ビットのパラレルデータの出力に、外部から入力されてくるLSBファーストの24ビットシリアル楽音データ(DATin:図5に示すように他の出力系列のシリアル楽音データ)を加算する処理を行う。そのため、楽音発生回路TG2で発生せしめられたパラレルデータを、パラレル−シリアル変換器30で、LSBファーストのシリアルデータに変換して、加算器10に入力している。他方この加算器10に入力される外部入力データ(DATin)は、上述のように24ビットデータであるため、上記パラレル−シリアル変換器30でのデータ変換では、16ビットのデータを24ビットデータにして変換している。そして該加算器10では、L及びR24時分割合計48時分割で加算処理を行っている。また加算結果(DATout)は、後述するように、シフタ31により、半周期(24ステージ)分遅らせて出力されることになる。
【0050】
ここで、図中40として破線で示された部分は、上記加算器10の桁溢れを検出する桁溢れ検出部の構成である。同構成は、2つのEXOR回路41及び43と、1つのインバータ42と、1つのAND回路44で構成されている。
【0051】
すなわち、パラレル−シリアル変換器30から出力される内部音源のシリアル楽音データと外部から取り入れる(外部入力の)シリアル楽音データをEXOR回路41に入力する。ここでは、両方の入力が0の時又は1の時、EXOR回路41から0が出力され、インバータ42で1に変換され、出力される。
【0052】
また上記入力のどちらか一方と加算器10の加算結果をもう一方のEXOR回路43に入力する。ここでは、両方の入力が相反する値の時(すなわち片方が0で他方が1の時)、該EXOR回路43から1が出力される。
【0053】
LSBファーストで入力されてくる楽音データの最後位ビットMSBにおいて、上記EXOR回路41からインバータ42を介して1が出力され、且つEXOR回路43から1が出力される時、すなわち、▲1▼両MSBが正の数を表す0で、且つ加算結果が負の数を表す1である時、或いは▲2▼両MSBが負の数を表す1で、且つ加算結果が正の数を表す0である時、桁溢れであることになる。従って上記AND回路44に入力される値が双方とも1であれば、該MSBの桁溢れによって、加算結果の正負が逆になっていることが検出される。
【0054】
本実施例では、このような桁溢れが生じていない時は、Dラッチ回路45を介して、セレクタ48には、シフタ31側からの出力を加算結果として選択(A側入力の選択)し出力する指示が出され、該セレクタ48は、その加算結果をDAToutとして出力する。他方上記桁溢れが生じた時は、Dラッチ回路45を介して、セレクタ48には、Dラッチ回路45及びEXOR回路47側からの出力を加算結果として選択(B側入力の選択)し出力する指示が出され、該セレクタ48は、その加算結果をDAToutとして出力する。この時、Dラッチ回路45及びEXOR回路47側から加算結果の出力DAToutも、シフタ31の加算結果の出力と同様、半周期(24ステージ)分遅らせて出力されることになる。尚、このDラッチ回路45にも、エッヂ発生器12によるエッジパルスが入力され、L及びR毎に時分割処理が行われる。
【0055】
桁溢れが検出されてDラッチ回路45及びEXOR回路47側から加算結果が出力される場合は、MSB以外のビットに関しては、加算器10の加算結果が、Dラッチ回路45を経てEXOR回路47からそのまま出力されるが、MSBのビットの部分だけ、b23パルス発生器46(MSBの時だけパルスを発生する)からパルスが発っせられ、EXOR回路47において、Dラッチ回路45から出力されてくるMSBが0の時は1に、また同MSBが1の時は0に変換されて、前記セレクタ48に入力される。
【0056】
図7は、上記実施例のタイミングチャートを示している。ここでは、楽音発生回路TG2から入力されるデータは、16ビットパラレルであるが、パラレル−シリアル変換器30による変換で、外部入力データ(DATin)に合わせて、24ビットのシリアルデータに変換される。また前述のように、シフタ31の出力は半周期遅れ、セレクタ48の出力も同様である。これは、桁溢れの際のMSBの処理のために、半周期遅れとしたものである。また同図では、セレクタ48の出力において、MSBであるb23のビットが斜線で塗りつぶされているが、ここは、桁溢れがあった場合には、加算器10の加算結果が逆の値に変換されて処理されることになる。
【0057】
以上詳述した本実施例構成では、桁溢れを検出する構成40により、上記加算器10におけるオーバーフローやアンダーフローを検出しており、これらを検出した場合は、Dラッチ回路45、EXOR回路47、bパルス発生器46及びセレクタ48の構成で、MSBにおける正負の値を直して加算結果を出力しているため、計算結果における正負の反転がなくなって、奇異な楽音の発生をなくしたり、回路的に不安定になることを防止することができるようになる。
【0058】
また本構成では、音源LSI117の楽音発生回路TG2の出力側に、本発明に係る加算処理部1c及び1dの構成が備えられており、内部で作成されたパラレル楽音データが、パラレル−シリアル変換器30で、LSBファーストのシリアルデータに変換され、外部入力データ(DATin)LSBファーストのシリアル楽音データと、加算器10において加算する処理が行われるため、加算処理される楽音データがパラレルデータであったとしても、上記本発明構成による加算処理を実行することが可能となる。
【0059】
また加算処理される楽音データが、通常のようにMSBファースト形式で出力されてくるものであったとしても、加算処理が実行される前にLSBファースト形式に変換して行えば、上記本発明構成による加算処理を実行することが可能となる。
【0060】
尚、本発明の楽音データ加算装置は、上述の実施例にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。
【0061】
【発明の効果】
以上、説明したように本発明の請求項1〜3記載の楽音データ加算装置によれば、部品点数をいたずらに増やすことなく、よりシンプルな形式で、効率良く加算処理を行うことができるようになるという優れた効果を奏し得る。従ってこのようなシンプルで計算速度の速い構成を複数組み合わせることで、複数系列の楽音データのミキシングを行うことも可能となる。
【0062】
また請求項2の構成のように、前記楽音データのMSBが前記加算処理部に入力されるタイミングであることを前記パルス発生部が示している場合に、該加算処理部による加算結果に基づき、桁溢れを検出すると共に、該桁溢れの時に、前記遅延部の出力に代えて夫々所定の値を出力するようにし、このような桁溢れによる正負の逆転現象を防止することができるようになるため、奇異な楽音の発生をなくしたり、回路的に不安定になることを防ぐことができるようになる。
【0063】
さらに加算処理される楽音データの少なくとも一方が、通常のようにMSBファースト形式で出力されてくるものであったとしても、請求項3の構成のように、加算処理部の少なくとも一方の入力側にデータ入力切替部が備えられ、加算処理が実行される前にLSBファースト形式に変換して当該加算処理が行われれば、本発明による加算処理を実行することが可能となる。
【図面の簡単な説明】
【図1】音声や生演奏を取り込んで本体の演奏とミキシングできる電子オルガンの機能ブロック構成を示す回路ブロック図である。
【図2】上記実施例におけるミキサ1aを構成する加算処理部の回路構成を示す回路図である。
【図3】上記構成における各入出力データ及びクロックのタイミングチャートである。
【図4】電子オルガンのミキサ1bとして用いられた本願発明の第2実施例に係る加算装置の回路構成を示す回路ブロック図である。
【図5】本発明の構成が適用された楽音波形出力系列毎に夫々の音響効果付加処理を伴って楽音を出力できる電子オルガンの機能ブロック構成を示す説明図である。
【図6】上記実施例構成に適用された加算処理部1c及び1dの構成を示す回路図である。
【図7】上記実施例のタイミングチャートである。
【図8】MSBの加算処理における桁溢れの状態を説明する説明図である。
【図9】楽音発生系列が複数ある電子オルガンや自動伴奏乃至自動演奏機能付き電子ピアノのシステム説明図である。
【図10】上記システムにおけるデジタルシグナルプロセッサDSPの内部構成を示す説明図である。
【図11】図9とは別の構成を有する電子オルガンや自動伴奏乃至自動演奏機能付き電子ピアノのシステム説明図である。
【図12】上記システムにおけるデジタルシグナルプロセッサDSP1の内部構成を示す説明図である。
【図13】同じく上記システムにおけるデジタルシグナルプロセッサDSP2の内部構成を示す説明図である。
【図14】従来のMSBファーストシリアル楽音データ同士の加算構成を示す説明図である。
【符号の説明】
1a、1b ミキサ
1c、1d 加算処理部
10 加算器
11 キャリービットレジスタ
12 エッヂ発生器
13 ラッチ回路
20 データ入力切替部
21 切換器
22 切換スイッチ
23 パラレル−シリアル変換器
24 シリアル−パラレル変換器
30 パラレル−シリアル変換器
31 シフタ
40 桁溢れを検出する構成
41、43、47 EXOR回路
42 インバータ
44 AND回路
45 Dラッチ回路
46 b23パルス発生器
48 セレクタ
100 CPU
101 キーボード
102 パネル
110、111 マイク
112、113 アナログデジタルコンバータ
114 デジタルアナログコンバータ
115 アンプ
116 スピーカ
117 音源LSI
TG 楽音発生装置
TG1〜l 楽音発生回路
DSP デジタルシグナルプロセッサ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a musical tone data adding device used for mixing musical tone data.
[0002]
[Prior art]
Devices such as electronic musical instruments that generate musical sounds electronically have recently been able to purchase 18-20 bit DACs (Digital Analog Conveters) at a low price due to large growth in CDs (Compact Disks) and so on. / R stereo output is almost all.
[0003]
In recent years, such general-purpose DAC chips all adopt the serial input method (most of them are MSB first input methods) in order to reduce the number of pins and the number of wirings on the board.
[0004]
The format used for the serial data transfer is generally called a CDF format, and music data of 16 bits to 24 bits of one channel is transferred MSB first (MSB first).
[0005]
In recent years, many electronic musical tone generators have two or more stereophonic sound waveform output sequences that are not in time for a single stereo sequence.
[0006]
As one of its utilization methods, a tone generator (TG) such as a tone generator LSI (sound source chip) and a sound effect adding device such as a digital signal processor (DSP) exist as separate chips. In order to add a different acoustic effect for each output series of the generator TG, the digital signal processor DSP, which is an acoustic effect addition apparatus, also needs a serial data input port of two or more series in accordance with it.
[0007]
In order to add a reverberation effect (Reverb) that is common throughout the digital signal processor DSP and then to add a common reverberation effect (Reverb), when mixing (adding) two or more stereo sequences, the digital signal processor DSP In general, since an ALU (Arithmetic Logic Unit) of 24 to 32 bits is provided, it can be easily handled.
[0008]
If it is a stereo two-line electronic musical instrument that is equivalent to an electronic piano, a configuration using such a digital signal processor DSP may be used. However, in a system comprising an electronic organ or an electronic piano with an automatic accompaniment or automatic performance function, a different tone is used. Since it is necessary to generate a plurality of them simultaneously, as shown in FIG. 9, a large number of series obtained by combining two or three of the above-described configurations is required. In the configuration shown in the figure, the series of musical tone generators TG1 and TG2, digital signal processors DSP1 and DSP2, and digital /
[0009]
In this case, each digital signal processor DSP must be configured as shown in FIG. That is, a reverberation effect addition block (Reverb) must be prepared in addition to the respective sound effect addition blocks in the all-digital signal processor DSP, but the processing in this part is heavy, and half of the entire digital signal processor DSP. Since nearby processing is required, there is a lot of waste.
[0010]
Therefore, as shown in FIG. 11, it is considered to adopt a configuration in which acoustic effects other than the reverberation effect are added by the respective digital signal processors DSP1 to DSPm, and after adding them, the reverberation effect is added by one digital signal processor DSPn. It is done. In such a configuration, the digital signal processors DSP1 to DSPm are configured as shown in FIG. 12, and the digital signal processor DSPn is configured as shown in FIG.
[0011]
With the above configuration, the number of digital signal processors DSP increases, but the processing capability of each digital signal processor DSP is about half of the processing capability required for the digital signal processor DSP in the case of the previous configuration. Therefore, a general-purpose digital signal processor DSP can be employed, and the number of digital-analog converter DACs can be reduced.
[0012]
[Problems to be solved by the invention]
However, in the configuration of the general-purpose digital signal processor DSP, input / output with the outside is performed serially, and the number of input / output pins is usually 2 to 3 (one input in the figure is for DSP control). Therefore, although the processing capability is sufficient, the configuration of FIG. 11 causes a problem that mixing (addition) cannot be performed. That is, in the configuration of FIG. 11, since musical sound data of four or more series must be input to the digital signal processor DSPn, it is physically impossible for a general-purpose digital signal processor DSP having about 2 to 3 input pins. It is.
[0013]
The present invention was devised in view of the above problems, and in a musical sound data processing configuration having a plurality of musical sound waveform output sequences, a general-purpose digital signal processor DSP executes processing necessary for each sequence, We will provide a musical sound data adding device that can perform addition processing more efficiently in a simpler form without increasing the number of parts unnecessarily when the same processing is performed on these multiple lines later. It is.
[0014]
[Means for Solving the Problems]
In the configuration as shown in FIG. 11, in order to apply the same processing to a plurality of series of musical sound data with one general-purpose digital signal processor DSPn, a plurality of input ports are provided in front of the digital signal processor DSPn. It is necessary to provide an adder circuit for mixing.
[0015]
The present invention proposes a configuration of such an adding device. However, an adder circuit usually requires a large number of cells (or gates) per bit, and when 24 bits are added together, it becomes a large circuit.
[0016]
Further, in the MSB-first serial data transfer system that is generally used in recent years, as shown in FIG. 14, it is necessary to return to parallel once before addition, and a large-scale circuit configuration is also required from this point of view. It will be.
[0017]
Therefore, in the configuration of the present application, it is assumed that the serial musical sound data output in LSB first is input to the adding device, whereby the musical sound data are added together with an extremely simple circuit configuration and can be output.
[0018]
That is, the configuration of the present invention is as follows.
A music data adding device for adding music data,
The musical sound data consists of a plurality of channels that are time-division multiplexed.
An identification signal that can identify which of the plurality of channels is currently being transmitted / received is attached,
Each channel of the plurality of channels is composed of a plurality of bits,
theseAn addition processing unit for inputting musical sound data in order from the LSB side and adding the predetermined number of bits less than the total number of bits.When,
An edge generator that generates a signal that detects the edge when the identification signal changes;
Have
The addition processing unit uses the carry output that is a part of the addition result for each bit as a carry input at the time of the next higher bit addition,
And when adding the LSBs of the above musical sound data,According to the signal generated by the edge generatorEnter zero as carry input
This is a basic feature.
[0019]
According to the above configuration, in the addition processing unit, the musical tone data composed of a plurality of bits is input in order from the LSB side, and the addition processing is performed for each predetermined bit (may be 1 bit) less than the total number of bits. Therefore, it is possible to add serially input musical sound data as it is without using a configuration such as a shift register (it can be processed in real time), and with a simple circuit configuration, It is possible to execute the addition process efficiently. Accordingly, by combining a plurality of such simple and fast calculation structures, it is possible to mix a plurality of series of musical sound data.
[0020]
Of course, if there is a carry at the time of the above addition processing, the musical sound data is input with LSB first, so that the addition processing unit sequentially inputs the carry output that is a part of the addition result for each bit. This is the carry input when adding the higher bits. Furthermore, when adding the LSBs of the above musical sound data,According to the signal generated by the edge generatorZero is input as the carry input.
[0021]
Since the normal musical tone data is represented by two's complement, the MSB is 0 for a positive number, and the MSB is 1 for a negative number. In the above configuration, input is performed sequentially from the LSB side, and the addition process is performed sequentially, and finally the addition process on the MSB side is performed. In such an MSB addition process, overflow (or arithmetic overflow; overflow, Depending on the underflow, the sign may be reversed.
[0022]
That is, as shown in FIG. 8 (a), there is a carry in the addition processing of the bits before the MSB, and the values of the two musical sound data to be added in the next MSB are positive (that is, the MSB). When 0 is input to both), the carry causes the MSB to be 1 and represents a negative number.
[0023]
Also, as shown in FIG. 5B, when the addition processing of the bits before the MSB has no carry, the values of the two musical tone data to be added by the next MSB are negative (that is, 1 as both as the MSB). In the above addition process, the MSB portion becomes 0 and represents a positive number.
[0024]
The configuration of
[0025]
Even if at least one of the musical tone data to be added is parallel data, the addition processing according to the above-described configuration of the present invention can be executed if converted to serial data before the addition processing is executed. Become.In particular,The musical tone data has the same sampling period, and at least one of the musical tone data is converted into serial data output earlier from the LSB side after being converted into parallel data.To do.
[0026]
Furthermore, the above-described configuration can be provided in the musical tone generator.That is,It is intended for the configuration of a musical tone data adding device provided in the musical tone generating device. As a feature of the configuration in that case, one of the input musical tone data to be added bit by bit in the addition processing unit is input from the outside Serial music data, the other is parallel music data created internally and converted to serial in synchronization with the external serial timingTo.
[0027]
Further, even if at least one of the musical tone data to be added is output in the MSB first format as usual, if it is converted to the LSB first format before the addition processing is executed, It is possible to execute addition processing according to the configuration of the present invention.Claim 3Has proposed such a configuration. Specifically, the musical tone data composed of a plurality of bits is input in order from the LSB side, and the addition processing is performed for each predetermined bit smaller than the total number of bits. The addition processing unit sets a carry output, which is a part of the result of addition for each bit, as a carry input at the time of the next upper bit addition, and at least one input of the addition processing unit. A data input switching unit is provided on the side, and the musical sound data is sequentially input to the addition processing unit from the LSB side by the switching process.
[0028]
The configuration of the present invention can also be applied to stereo sound data. That is, since the addition processing unit has a simple configuration and the calculation speed is sufficiently high, it is possible to add musical sound data by processing the Left and Right waveforms in a time division manner in the addition processing unit. Enough for processingIt is.
[0029]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
Example 1
FIG. 1 is an explanatory diagram showing a functional block configuration of an electronic organ that can mix voice and live performances with the performance of the main body. As shown in the figure, the electronic organ has a stereo configuration and a tone data processing configuration having a plurality of tone waveform output sequences. Further, a process necessary for each series is performed by the general-purpose digital signal processors DSP1 to DSPm, and a process for adding a reverberation effect to these series by another digital signal processor DSPn (switching to another process) Can also be done). The mixer 1a provided between the digital signal processors DSP1 to DSPm and the digital signal processor DSPn is the configuration of the adding device according to the present embodiment.
[0030]
As shown in the figure, the configuration of the electronic organ is provided with a
[0031]
In addition to these musical sound waveform output series, in this embodiment, live voices of human voices and musical instruments are picked up by
[0032]
These plural series of musical tone data are mixed by the addition processing of the mixer 1a. Thereafter, a reverberation effect is added by the digital signal processor DSPn, converted to analog data by the digital /
[0033]
In the above configuration, the musical sound data is converted into LSB first serial data in the digital signal processors DSP1 to DSPm and output and input to the mixer 1a, and a reverberation effect is added by the digital signal processor DSPn. The musical tone data is converted into MSB first serial data in the digital signal processor DSPn (or LSB first if digital
[0034]
In the above configuration, the mixer 1a has a circuit configuration of an addition processing unit as shown in FIG. The configuration of the addition processing unit receives the two LSB-first musical tone data (DATin1, DATin2) serially output from the two stereophonic musical tone waveform output series, performs an addition process for each bit, and the addition result An
[0035]
Since the
[0036]
In this configuration, left and right musical tone data is processed in a time-sharing manner for stereo output. Therefore, an
[0037]
Furthermore, when the two music data LSBs are added to each other, the carry bit register 11 inputs zero as the carry input.
[0038]
FIG. 3 is a timing chart of each input / output data and clock in the above configuration. At the time of stereo left and right processing, 24 bits of musical sound data (DATin1, DATin2) are input for each system clock, and the addition result is output bit by bit (DATout). The output has a delay of 50 to 100 ns with respect to the bit unit width of 491 ns, but no particular problem occurs.
[0039]
In the above configuration, two serial musical tone data are added. However, when more than one series of addition processing is performed, by combining a plurality of the above configurations corresponding to the number, Mixing processing can be performed.
[0040]
(Example 2)
FIG. 4 is a circuit block diagram showing a circuit configuration of an adder according to the second embodiment of the present invention used as an
[0041]
In the configuration of this embodiment, the serial musical sound data input as DATin2 is input in LSB first, but the serial musical sound data input as the other DATin1 may be either LSB first or MSB first. Moreover, these musical tone data are input with different system clocks (SCKin1, SCKin2) and LR clocks (LRCKin1, LRCKin2).
[0042]
In the above configuration, the same number as the first embodiment is basically the same configuration. Here, a data
[0043]
That is, when serial musical tone data (DATin1) is converted into parallel data by a shift register configuration, the MSB is converted into the upper bit as usual, and the LSB is converted into the upper bit to invert the serial-parallel. The
[0044]
As described above, the serial musical sound data (DATin1) is input in synchronization with the system clock (SCKin1) and the LR clock (LRCKin1), and the other serial musical sound data (DATin2) The parallel-
[0045]
By combining a plurality of the above-described configurations, it is possible to perform a mixing process of three or more series. In this case, the addition result output (DATout), the system clock output (SCKout), and the LR clock output (LRCKout) of this configuration are , Serial music data (DATin1), system clock (SCKin1) and LR clock (LRCKin1), or serial music data (DATin2), system clock (SCKin2) and LR clock (LRCKin2) of the next addition processing unit to be combined Will be.
[0046]
In the configuration of this embodiment, even if at least one of the musical tone data to be added is output in the MSB first format as usual, the data
[0047]
(Example 3)
FIG. 5 is a diagram showing an example of an electronic organ that can output a musical sound with each sound effect addition process for each musical sound waveform output series. By applying the configuration of the present invention, the output series is mixed and mixed. It is explanatory drawing which shows the functional block of the structure which can add another acoustic effect to the musical tone data.
[0048]
The configuration of this embodiment is an addition device implemented as an addition processing configuration provided in a tone generator LSI that constitutes a musical tone generator provided in one musical sound waveform output series. In other words, in this configuration, the same configuration of the
[0049]
FIG. 6 is a circuit diagram showing the configuration of the
[0050]
Here, a portion indicated by a broken line as 40 in the figure is a configuration of an overflow detection unit that detects an overflow of the
[0051]
That is, the serial tone data of the internal sound source output from the parallel-
[0052]
Also, one of the above inputs and the addition result of the
[0053]
When 1 is output from the
[0054]
In this embodiment, when such an overflow has not occurred, the selector 48 selects the output from the
[0055]
When overflow is detected and the addition result is output from the
[0056]
FIG. 7 shows a timing chart of the above embodiment. Here, the data input from the tone generation circuit TG2 is 16-bit parallel, but is converted into 24-bit serial data in accordance with the external input data (DATin) by conversion by the parallel-
[0057]
In the configuration of the present embodiment described in detail above, overflow or underflow in the
[0058]
Also, in this configuration, the configuration of the
[0059]
Further, even if the musical tone data to be added is output in the MSB first format as usual, if it is converted to the LSB first format before the addition processing is executed, the above-described configuration of the present invention is applied. It is possible to execute the addition process by.
[0060]
The musical tone data adding apparatus of the present invention is not limited to the above-described embodiment, and it is needless to say that various modifications can be made without departing from the gist of the present invention.
[0061]
【The invention's effect】
As described above, the claims of the present invention1-3According to the described musical sound data adding device, it is possible to obtain an excellent effect that the adding process can be efficiently performed in a simpler form without increasing the number of parts. Accordingly, by combining a plurality of such simple and fast calculation structures, it is possible to mix a plurality of series of musical sound data.
[0062]
Also, as in the configuration of
[0063]
Furthermore, even if at least one of the musical tone data to be added is output in the MSB first format as usual,Claim 3If the data input switching unit is provided on at least one input side of the addition processing unit and the addition processing is performed by performing conversion to the LSB first format before the addition processing is executed as in the configuration of It is possible to execute addition processing.
[Brief description of the drawings]
FIG. 1 is a circuit block diagram showing a functional block configuration of an electronic organ that can mix voice and live performances with the performance of a main body.
FIG. 2 is a circuit diagram showing a circuit configuration of an addition processing unit constituting the mixer 1a in the embodiment.
FIG. 3 is a timing chart of each input / output data and clock in the above configuration.
FIG. 4 is a circuit block diagram showing a circuit configuration of an adder according to a second embodiment of the present invention used as an
FIG. 5 is an explanatory diagram showing a functional block configuration of an electronic organ that can output a musical sound with each acoustic effect addition process for each musical sound waveform output series to which the configuration of the present invention is applied.
FIG. 6 is a circuit diagram showing a configuration of
FIG. 7 is a timing chart of the above embodiment.
FIG. 8 is an explanatory diagram for explaining a state of overflow in MSB addition processing;
FIG. 9 is a system explanatory diagram of an electronic organ having a plurality of musical sound generation sequences and an electronic piano with automatic accompaniment or automatic performance function.
FIG. 10 is an explanatory diagram showing an internal configuration of a digital signal processor DSP in the system.
11 is a system explanatory diagram of an electronic organ having an arrangement different from that of FIG. 9 and an electronic piano with an automatic accompaniment or automatic performance function.
FIG. 12 is an explanatory diagram showing an internal configuration of a digital signal processor DSP1 in the system.
FIG. 13 is an explanatory diagram showing an internal configuration of the digital signal processor DSP2 in the same system.
FIG. 14 is an explanatory diagram showing a configuration for adding conventional MSB first serial tone data.
[Explanation of symbols]
1a, 1b mixer
1c, 1d addition processing unit
10 Adder
11 Carry bit register
12 Edge generator
13 Latch circuit
20 Data input switching part
21 selector
22 selector switch
23 Parallel-serial converter
24 Serial-parallel converter
30 Parallel-serial converter
31 Shifter
Configuration to detect overflow of 40 digits
41, 43, 47 EXOR circuit
42 Inverter
44 AND circuit
45 D latch circuit
46 b23 pulse generator
48 selector
100 CPU
101 keyboard
102 panels
110, 111 microphones
112, 113 Analog to digital converter
114 Digital-to-analog converter
115 amplifier
116 Speaker
117 Sound source LSI
TG music generator
TG1 ~ 1 Musical sound generation circuit
DSP digital signal processor
Claims (3)
前記楽音データは時分割多重化された複数チャンネルからなり、
現在送受中の信号が前記複数チャンネルのいずれのものであるかを識別できる識別信号が添えられ、
前記複数チャンネルの各チャンネルは複数ビットで構成され、
これらの楽音データをLSB側から順に入力して、上記全ビット数より少ない所定ビット毎に加算する加算処理部と、
前記識別信号が変化する際にそのエッヂを検出した信号を発生するエッヂ発生部と
を有しており、
該加算処理部は、そのビット毎の加算結果の一部であるキャリー出力を、次の上位ビット加算時のキャリー入力とし、
且つ上記楽音データのLSB同士の加算時には、前記エッヂ発生部が発生する信号に応じてキャリー入力としてゼロを入力する
ことを特徴とする楽音データ加算装置。A music data adding device for adding music data,
The musical sound data consists of a plurality of channels that are time-division multiplexed.
An identification signal that can identify which of the plurality of channels is currently being transmitted / received is attached,
Each channel of the plurality of channels is composed of a plurality of bits,
An addition processing unit that sequentially inputs these musical tone data from the LSB side and adds each predetermined number of bits less than the total number of bits ,
An edge generator for generating a signal that detects the edge when the identification signal changes ; and
The addition processing unit uses the carry output that is a part of the addition result for each bit as a carry input at the time of the next higher bit addition,
In addition, when adding the LSBs of the musical sound data, a musical sound data adding device is characterized in that zero is input as a carry input in accordance with a signal generated by the edge generation unit .
前記楽音データは時分割多重化された複数チャンネルからなり、
前記複数チャンネルの各チャンネルは複数ビットで構成され、
これらの楽音データをLSB側から順に入力して、上記全ビット数より少ない所定ビット毎に加算する加算処理部と、
前記楽音データのMSBが前記加算処理部に入力されるタイミングを示す信号を発生するパルス発生部と、
前記加算処理部の出力を所定時間だけ遅延させて出力する遅延部と
を有しており、
該加算処理部は、そのビット毎の加算結果の一部であるキャリー出力を、次の上位ビット加算時のキャリー入力とすると共に、
前記楽音データのMSBが前記加算処理部に入力されるタイミングであることを前記パルス発生部が示している場合に、該加算処理部による加算結果に基づき、桁溢れを検出して、該桁溢れの時に、前記遅延部の出力に代えて夫々所定の値を出力する
ことを特徴とする楽音データ加算装置。A music data adding device for adding music data,
The musical sound data consists of a plurality of channels that are time-division multiplexed.
Each channel of the plurality of channels is composed of a plurality of bits,
An addition processing unit that sequentially inputs these musical tone data from the LSB side and adds each predetermined number of bits less than the total number of bits ,
A pulse generator for generating a signal indicating the timing at which the MSB of the musical sound data is input to the addition processor;
A delay unit for delaying the output of the addition processing unit by a predetermined time and outputting ,
The addition processing unit sets a carry output which is a part of the addition result for each bit as a carry input at the time of the next higher bit addition,
When the pulse generation unit indicates that the MSB of the musical tone data is input to the addition processing unit , the overflow is detected based on the addition result by the addition processing unit. when the tone data adding unit and outputs a respective predetermined value instead of the output of the delay unit of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001099785A JP4318865B2 (en) | 2001-03-30 | 2001-03-30 | Music data adder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001099785A JP4318865B2 (en) | 2001-03-30 | 2001-03-30 | Music data adder |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002297130A JP2002297130A (en) | 2002-10-11 |
JP4318865B2 true JP4318865B2 (en) | 2009-08-26 |
Family
ID=18953290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001099785A Expired - Fee Related JP4318865B2 (en) | 2001-03-30 | 2001-03-30 | Music data adder |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4318865B2 (en) |
-
2001
- 2001-03-30 JP JP2001099785A patent/JP4318865B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2002297130A (en) | 2002-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4437377A (en) | Digital electronic musical instrument | |
JP4318865B2 (en) | Music data adder | |
JPS5995595A (en) | Electronic musical instrument | |
US5541360A (en) | Single chip sound source integrated circuit including effect adding device and sound source on the same single integrated circuit chip | |
JPH0213799B2 (en) | ||
JPH05289660A (en) | Sound source integrated circuit with built-in effect adding device and sound source device using the same | |
JPH0222397B2 (en) | ||
JPS5913662Y2 (en) | envelope waveform generator | |
JP2527652Y2 (en) | Music synthesizer | |
JPS5913661Y2 (en) | envelope waveform generator | |
JPH09269779A (en) | Effect adding device | |
JPH05289661A (en) | Sound source integrated circuit with built-in effect adding device | |
JPH0656553B2 (en) | Music signal generator | |
JPS6223873B2 (en) | ||
JP2888844B2 (en) | Music signal generator | |
JP3295996B2 (en) | Digital effector | |
JPH11203129A (en) | Digital signal processor | |
JPH02179688A (en) | Musical sound signal generating device | |
US4470333A (en) | Generation of musical tones from multiplexed serial data | |
JPH0263235B2 (en) | ||
JP3094402B2 (en) | Musical tone signal generator | |
JP3213397B2 (en) | Sound effect adding device | |
JP2003140881A (en) | Serial-parallel conversion circuit, and parallel-serial conversion circuit | |
JP3473689B2 (en) | Digital signal processor | |
JPH07122800B2 (en) | Processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080121 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090129 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090303 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090403 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090526 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090527 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120605 Year of fee payment: 3 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130605 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |