EP0463409B1 - Musical tone waveform generation apparatus - Google Patents
Musical tone waveform generation apparatus Download PDFInfo
- Publication number
- EP0463409B1 EP0463409B1 EP91109115A EP91109115A EP0463409B1 EP 0463409 B1 EP0463409 B1 EP 0463409B1 EP 91109115 A EP91109115 A EP 91109115A EP 91109115 A EP91109115 A EP 91109115A EP 0463409 B1 EP0463409 B1 EP 0463409B1
- Authority
- EP
- European Patent Office
- Prior art keywords
- processing
- sound source
- data
- musical tone
- 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 - Lifetime
Links
- 238000012545 processing Methods 0.000 claims description 377
- 238000000034 method Methods 0.000 claims description 248
- 238000013500 data storage Methods 0.000 claims description 20
- 238000005070 sampling Methods 0.000 claims description 7
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 4
- 230000015654 memory Effects 0.000 description 47
- 239000000872 buffer Substances 0.000 description 28
- 230000006870 function Effects 0.000 description 25
- 230000004048 modification Effects 0.000 description 15
- 238000012986 modification Methods 0.000 description 15
- 230000000994 depressogenic effect Effects 0.000 description 13
- 230000008859 change Effects 0.000 description 12
- 238000006243 chemical reaction Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000004519 manufacturing process Methods 0.000 description 8
- 230000033764 rhythmic process Effects 0.000 description 7
- 238000011161 development Methods 0.000 description 6
- 230000018109 developmental process Effects 0.000 description 6
- 239000003086 colorant Substances 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000003672 processing method Methods 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000002265 prevention Effects 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000005428 wave function Effects 0.000 description 2
- 241001494106 Stenotomus chrysops Species 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 238000001308 synthesis method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H5/00—Instruments in which the tones are generated by means of electronic generators
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H7/00—Instruments in which the tones are synthesised from a data store, e.g. computer organs
- G10H7/002—Instruments in which the tones are synthesised from a data store, e.g. computer organs using a common processing for different operations or calculations, and a set of microinstructions (programme) to control the sequence thereof
- G10H7/004—Instruments in which the tones are synthesised from a data store, e.g. computer organs using a common processing for different operations or calculations, and a set of microinstructions (programme) to control the sequence thereof with one or more auxiliary processor in addition to the main processing unit
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/02—Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos
- G10H1/04—Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/02—Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos
- G10H1/04—Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation
- G10H1/053—Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation during execution only
- G10H1/057—Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation during execution only by envelope-forming circuits
- G10H1/0575—Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation during execution only by envelope-forming circuits using a data store from which the envelope is synthesized
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/18—Selecting circuits
- G10H1/183—Channel-assigning means for polyphonic instruments
- G10H1/185—Channel-assigning means for polyphonic instruments associated with key multiplexing
- G10H1/186—Microprocessor-controlled keyboard and assigning means
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H7/00—Instruments in which the tones are synthesised from a data store, e.g. computer organs
- G10H7/002—Instruments in which the tones are synthesised from a data store, e.g. computer organs using a common processing for different operations or calculations, and a set of microinstructions (programme) to control the sequence thereof
- G10H7/006—Instruments in which the tones are synthesised from a data store, e.g. computer organs using a common processing for different operations or calculations, and a set of microinstructions (programme) to control the sequence thereof using two or more algorithms of different types to generate tones, e.g. according to tone color or to processor workload
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H2250/00—Aspects of algorithms or signal processing methods without intrinsic musical character, yet specifically adapted for or used in electrophonic musical processing
- G10H2250/541—Details of musical waveform synthesis, i.e. audio waveshape processing from individual wavetable samples, independently of their origin or of the sound they represent
- G10H2250/571—Waveform compression, adapted for music synthesisers, sound banks or wavetables
- G10H2250/591—DPCM [delta pulse code modulation]
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H2250/00—Aspects of algorithms or signal processing methods without intrinsic musical character, yet specifically adapted for or used in electrophonic musical processing
- G10H2250/541—Details of musical waveform synthesis, i.e. audio waveshape processing from individual wavetable samples, independently of their origin or of the sound they represent
- G10H2250/621—Waveform interpolation
Definitions
- the present invention relates to a sound source processing method in a musical tone waveform generation apparatus.
- a musical tone waveform generation apparatus for an electronic musical instrument must perform large-volume, high-speed digital calculations.
- a conventional musical tone waveform generation apparatus is constituted by a special-purpose sound source circuit which realizes an architecture equivalent to a musical tone generation algorithm based on a sound source method (for example, an FM method or a PCM method) by hardware components.
- the sound source method is realized by such a sound source circuit.
- the above-mentioned sound source circuit has a large circuit scale regardless of the sound source method adopted.
- the sound source circuit When the sound source circuit is realized by an LSI, it has a scale about twice that of a versatile data processing microprocessor because of fallowing four reasons.
- the sound source circuit requires complicated address control for accessing waveform data on the basis of various performance data.
- registers or the like for temporarily storing intermediate data obtained in the process of sound source generation processing must be arranged in the architecture corresponding to the sound source method.
- some modulation methods can variously change musical tone generation algorithms, and hardware arrangements corresponding to these methods are also required.
- shift registers or the like for time-divisionally executing sound source processing in a hardware manner must be arranged everywhere.
- the conventional musical tone waveform generation apparatus is constituted by the special-purpose sound source circuit corresponding to the sound source method, its hardware scale is undesirably increased. This results in an increase in manufacturing cost in terms of, e.g., a yield in the manufacture of LSI chips, when the sound source circuit is realized by an LSI. This also results in an increase in size of the musical tone waveform generation apparatus.
- a control circuit comprising, e.g., a microprocessor, for generating, based on performance data corresponding to a performance operation, data which can be processed by the sound source circuit, and for communicating performance data with another musical instrument.
- the control circuit requires a sound source control program, corresponding to the sound source circuit, for supplying data corresponding to performance data to the sound source circuit as well as to a performance data processing program for processing performance data.
- these two programs must be synchronously operated. The development of such complicated programs causes a considerable increase in cost.
- the processing programs are complicated very much, and processing of the high-speed sound source method such as a modulation method cannot be executed in terms of a processing speed and a program capacity.
- some modulation methods can variously change musical tone generation algorithms. If a microprocessor individually has sound source processing programs corresponding to such algorithms, this causes a demerit in terms of a program capacity, resulting in an expensive, large musical tone generation apparatus.
- EP-A-0376342 having an earlier priority date but a later publication date in relation to the priority date of the application of the present invention, discloses a musical tone waveform generation apparatus having program storage means for storing a program for performance data processing and a program for sound source processing based on a sound source processing method different from the kind presently considered.
- US-A-4184400 discloses an electronic musical instrument utilizing a data processing system wherein a microprocessor controls tone wave shape generation. More particularly, a central processing unit undertakes the data processing in accordance with a program stored in memories for generating selectable and changeable wave shapes of the tones generated in tone generator units. Thus, the central processing unit in accordance with said patent is to be considered as the means for converting performance data supplied to the instrument from the external, into data which can be processed by the tone generator units.
- a musical tone waveform generation apparatus comprising: program storage means for storing a performance data processing program for processing performance data, and a sound source processing program, based on a modulation method, for obtaining a musical tone signal; address control means for controlling an address of the program storage means; data storage means for storing musical tone generation data necessary for generating a musical tone signal based on the modulation method; arithmetic processing means for performing arithmetic processing; program execution means for executing the performance data processing program and the sound source processing program stored in the program storage means while controlling the address control means, the data storage means, and the arithmetic processing means, the program execution means normally executing the performance data processing program to control musical tone generation data on the data storage means, executing the sound source processing program at predetermined time intervals, executing the performance data processing program again upon completion of the sound source processing program, and generating a musical tone signal by the modulation method on the basis of the musical tone generation data on the data storage means upon execution of the sound source processing program;
- the program storage means, the address control means, the data storage means, the arithmetic processing means, and the program execution means have the same arrangement as a versatile microprocessor, and no special-purpose sound source circuit is required at all.
- the musical tone signal output means is versatile in the category of a musical tone waveform generation apparatus although it has an arrangement different from that of a versatile microprocessor.
- the circuit scale of the overall musical tone waveform generation apparatus can be greatly reduced, and when the apparatus is realized by an LSI, the same manufacturing technique as that of a normal processor can be adopted. Since the yield of chips can be increased, manufacturing cost can be greatly reduced. Since the musical tone signal output means can be constituted by simple latch circuits, addition of this circuit portion causes almost no increase in manufacturing cost.
- a modulation method When a modulation method is required to be switched between, e.g., a phase modulation method and a frequency modulation method, or when the number of polyphonic channels is required to be changed, a sound source processing program stored in the program storage means need only be changed to meet the above requirements. Therefore, the development cost of a new musical tone waveform generation apparatus can be greatly reduced, and a new modulation method can be presented to a user by means of, e.g., a ROM card.
- said embodiment of the present invention uses the data architecture for storing musical tone generation data necessary for generating musical tones in a modulation method on the data storage means.
- a performance data processing program When a performance data processing program is executed, the musical tone generation data on the data storage means are controlled, and when a sound source processing program is executed, musical tone signals are generated on the basis of the musical tone generation data on the data storage means.
- a data communication between the performance data processing program and the sound source processing program is performed via musical tone generation data on the data storage means, and access of one program to the data storage means can be performed regardless of an execution state of the other program. Therefore, the two programs can have substantially independent module arrangements, and hence, a simple and efficient program architecture can be attained.
- the second aspect of the present invention uses the following program architecture. That is, the performance data processing program is normally executed for scanning of keyboard keys and various setting switches, demonstration performance control, and the like. During execution of this program, the sound source processing program is executed at predetermined time intervals, and upon completion of the processing, the control returns to the performance data processing program. Thus, the sound source processing program forcibly interrupts the performance data processing program on the basis of an interrupt signal generated from the interrupt control means at predetermined time intervals. For this reason, the performance data processing program and the sound source processing program need not be synchronized.
- the program execution means executes the sound source processing program
- its processing time changes depending on the type of modulation method or a selected musical tone generation algorithm in the modulation method.
- the change in processing time can be absorbed by the musical tone signal output means. Therefore, no complicated timing control program for outputting musical tone signals to, e.g., a D/A converter is required.
- the data architecture for attaining a data link between the performance data processing program and the sound source processing program via musical tone generation data on the data storage means, and the program architecture for executing the sound source processing program at predetermined time intervals while interrupting the performance data processing program are realized, and the musical tone signal output means is arranged. Therefore, sound source processing under the efficient program control can be realized by substantially the same arrangement as a versatile processor.
- a musical tone waveform generation apparatus comprising: storage means for storing a sound source processing program associated with a modulation method, having an operator processing program for executing operator processings, and an algorithm processing program for executing algorithm processing for determining an input/output relationship among operator processing; musical tone signal generation means for generating a musical tone signal by executing the operator processing operations based on the operator processing program at a time, and executing the algorithm processing at a time based on the algorithm processing program independently of the operator processing program; and musical tone signal output means for outputting the musical tone signal generated by the musical tone signal generation means at predetermined output time intervals.
- a musical tone waveform generation apparatus comprising: program storage means for storing a performance data processing program for processing performance data, and a sound source processing program based on a modulation method for obtaining a musical tone signal, the sound source processing program having a processing architecture in which algorithm processing operations for determining an input/output relationship among a plurality of operator processing operations are executed at a time after or before execution of the plurality of operator processing operations at a time as modulation processing units; address control means for controlling an address of the program storage means; data storage means for storing musical tone generation data necessary for generating a musical tone signal based on the modulation method; arithmetic processing means for processing data; program execution means for executing the performance data processing program and the sound source processing program stored in the program storage means while controlling the address control means, the data storage means, and the arithmetic processing means, for normally executing the performance data processing program to control musical tone generation data on the data storage means, for executing the sound source processing program at predetermined time interval
- the musical tone waveform generation apparatus has, as an architecture of the sound source processing program, a processing architecture for simultaneously execting algorithm processing operations for determining the I/O (input/output) relationship of operator processing operations before or after simultaneous execution of the operator processing operations as modulation processing units. Since a conventional apparatus has a processing architecture in that the I/O relationship of the next operator is determined by a designated algorithm upon completion of one operator processing, a plurality of types of sound source processing programs including operator processing portions must be prepared in units of algorithms.
- the musical tone waveform generation apparatus in contrast to this, in the musical tone waveform generation apparatus according to the fourth aspect of the present invention, a plurality of types of only algorithm processing portions are prepared, and are switched as needed even when sound source processing is to be performed by an algorithm selected from a plurality of algorithms. Therefore, the sound source processing program can be rendered very compact.
- Fig. 1 is a block diagram showing the overall arrangement of this embodiment.
- components other than an external memory 116 are constituted in one chip.
- two, i.e., master and slave CPUs (central processing units) exchange data to share sound source processing for generating musical tones.
- 8 channels are processed by a master CPU 101, and the remaining 8 channels are processed by a slave CPU 102.
- the sound source processing is executed in a software manner, and sound source methods such as PCM (Pulse Code Moduration) and DPCM (Differential PCM) methods, and sound source methods based on modulation methods such as FM and phase modulation methods are assigned in units of tone generation channels.
- sound source methods such as PCM (Pulse Code Moduration) and DPCM (Differential PCM) methods
- sound source methods based on modulation methods such as FM and phase modulation methods are assigned in units of tone generation channels.
- a sound source method is automatically designated for tone colors of specific instruments, e.g., a trumpet, a tuba, and the like.
- a sound source method can be selected by a selection switch, and/or can be automatically selected in accordance with a performance tone range, a performance strength such as a key touch, and the like.
- different sound source methods can be assigned to two channels for one ON event of a key. That is, for example, the PCM method can be assigned to an attack portion, and the FM method can be assigned to a sustain portion.
- the external memory 116 stores musical tone control parameters such as target values of envelope values, a musical tone waveform in the PCM (pulse code modulation) method, a musical tone differential waveform in the DPCM (differential PCM) method, and the like.
- musical tone control parameters such as target values of envelope values, a musical tone waveform in the PCM (pulse code modulation) method, a musical tone differential waveform in the DPCM (differential PCM) method, and the like.
- the master CPU (to be abbreviated to as an MCPU hereinafter) 101 and the slave CPU (to be abbreviated to as an SCPU hereinafter) 102 access the data on the external memory 116 to execute sound source processing while sharing processing operations. Since these CPUs 101 and 102 commonly use waveform data of the external memory 116, a contention may occur when data is loaded from the external memory 116. In order to prevent this contention, the MCPU 101 and the SCPU 102 output an address signal for accessing the external memory, and external memory control data from output terminals 111 and 112 of an access address contention prevention circuit 105 via an external memory access address latch unit 103 for the MCPU, and an external memory access address latch unit 104 for the SCPU. Thus, a contention between addresses from the MCPU 101 and the SCPU 102 can be prevented.
- Data read out from the external memory 116 on the basis of the designated address is input from an external memory data input terminal 115 to an external memory selector 106.
- the external memory selector 106 separates the readout data into data to be input to the MCPU 101 via a data bus MD and data to be input to the SCPU 102 via a data bus SD on the basis of a control signal from the address contention prevention circuit 105, and inputs the separated data to the MCPU 101 and the SCPU 102.
- a contention between readout data can also be prevented.
- MCPU 101 and the SCPU 102 After the MCPU 101 and the SCPU 102 perform corresponding sound source processing operations of the input data by software, musical tone data of all the tone generation channels are accumulated, and a left-channel analog output and a right-channel analog output are then output from a left output terminal 113 of a left D/A converter unit 107 and a right output terminal 114 of a right D/A converter unit 108, respectively.
- Fig. 2 is a block diagram showing an internal arrangement of the MCPU 101.
- a control ROM 201 stores a musical tone control program (to be described later), and sequentially outputs program words (commands) addressed by a ROM address controller 205 via a ROM address decoder 202.
- This embodiment employs a next address method. More specifically, the word length of each program word is, e.g., 28 bits, and a portion of a program word is input to the ROM address controller 205 as a lower bit portion (intra-page address) of an address to be read out next.
- the SCPU 101 may comprise a conventional program counter type CPU insted of control ROM 201.
- a command analyzer 207 analyzes operation codes of commands output from the control ROM 201, and sends control signals to the respective units of the circuit so as to execute designated operations.
- the RAM address controller 204 designates an address of a corresponding internal register of a RAM 206.
- the RAM 206 stores various musical tone control data (to be described later with reference to Figs. 11 and 12) for eight tone generation channels, and includes various buffers (to be described later) or the like.
- the RAM 206 is used in sound source processing (to be described later).
- an ALU unit 208 and a multiplier 209 respectively execute an addition/subtraction, and a multiplication on the basis of an instruction from the command analyzer 207.
- an interrupt controller 203 supplies a reset cancel signal A to the SCPU 201 (Fig. 1) and an interrupt signal to the D/A converter units 107 and 108 (Fig. 1) at predetermined time intervals.
- the MCPU 101 shown in Fig. 2 comprises the following interfaces associated with various buses: an interface 215 for an address bus MA for addressing the external memory 116 to access it; an interface 216 for the data bus MD for exchanging the accessed data with the MCPU 101 via the external memory selector 106; an interface 212 for a bus Ma for addressing the internal RAM of the SCPU 102 so as to execute data exchange with the SCPU 102; an interface 213 for a data bus D OUT used by the MCPU 101 to write data in the SCPU 102; an interface 214 for a data bus D IN used by the MCPU 101 to read data from the SCPU 102; an interface 217 for a D/A data transfer bus for transferring final output waveforms to the left and right D/A converter units 107 and 108; and input and output ports 210 and 211 for exchanging data with an external switch unit or a keyboard unit (Fig. 8).
- Fig. 3 shows the internal arrangement of the SCPU 102.
- the SCPU 102 executes sound source processing upon reception of a processing start signal from the MCPU 101, it does not comprise an interrupt controller corresponding to the controller 203 (Fig. 2), I/O ports, corresponding to the ports 210 and 211 (Fig. 2), for exchanging data with an external circuit, and an interface, corresponding to the interface 217 (Fig. 2) for outputting musical tone signals to the left and right D/A converter units 107 and 108.
- Other circuits 301, 302, and 304 to 309 have the same functions as those of the circuits 201, 202, and 204 to 209 shown in Fig. 2.
- Interfaces 303, and 310 to 313 are arranged in correspondence with the interface 212 to 216 shown in Fig. 2.
- the internal RAM address of the SCPU 102 designated by the MCPU 101 is input to the RAM address controller 304.
- the RAM address controller 304 designates an address of the RAM 306.
- accumulated waveform data for eight tone generation channels generated by the SCPU 102 and held in the RAM 306 are output to the MCPU 101 via the data bus D IN . This will be described later.
- function keys 801, keyboard keys 802, and the like shown in Fig. 8 are connected to the input port 210 of the MCPU 101. These portions substantially constitute an instrument operation unit.
- the D/A converter unit as one characteristic feature of the present invention will be described below.
- Fig. 6B shows the internal arrangement of the left or right D/A converter unit 107 or 108 (the two converter units have the same contents) shown in Fig. 1.
- One sample data of a musical tone generated by sound source processing is input to a latch 601 via a data bus.
- the clock input terminal of the latch 601 receives a sound source processing end signal from the command analyzer 207 (Fig. 2) of the MCPU 101, musical tone data for one sample on the data bus is latched by the latch 601, as shown in Fig. 7.
- a time required for the sound source processing changes depending on the sound source processing software program. For this reason, a timing at which each sound source processing is ended, and musical tone data is latched by the latch 601 is not fixed. For this reason, as shown in Fig. 6A, an output from the latch 601 cannot be directly input to a D/A converter 603.
- the output from the latch 601 is latched by a latch 602 in response to an interrupt signal equal to a sampling clock interval output from the interrupt controller 203, and is output to the D/A converter 603 at predetermined time intervals.
- the MCPU 101 is mainly operated, and repetitively executes a series of processing operations in steps S402 to S410, as shown in the main flow chart of Fig. 4A.
- the sound source processing is performed by interrupt processing. More specifically, the MCPU 101 and the SCPU 102 are interrupted at predetermined time intervals, and each CPU executes sound source processing for generating musical tones for eight channels. Upon completion of this processing, musical tone waveforms for 16 channels are added, and are output from the left and right D/A converter units 107 and 108. Thereafter, the control returns from the interrupt state to the main flow.
- the above-mentioned interrupt processing is periodically executed on the basis of the internal hardware timer in the interrupt controller 203 (Fig. 2). This period is equal to a sampling period when a musical tone is output.
- the main flow chart of Fig. 4A shows a processing flow executed by the MCPU 101 in a state wherein no interrupt signal is supplied from the interrupt controller 203.
- the system e.g., the contents of the RAM 206 in the MCPU 101 are initialized (S401).
- the function keys externally connected to the MCPU 101 are scanned (S402) to fetch respective switch states from the input port 210 to a key buffer area in the RAM 206.
- S402 a function key whose state is changed is discriminated, and processing of a corresponding function is executed (S403). For example, a musical tone number or an envelope number is set, or if optional functions include a rhythm performance function, a rhythm number is set.
- demonstration performance data (sequencer data) are sequentially read out from the external memory 116 to execute, e.g., key assignment processing (S406).
- rhythm data are sequentially read out from the external memory 116 to execute, e.g., key assignment processing (S407).
- timer processing is executed (S408). More specifically, time data which is incremented by interrupt timer processing (S412) (to be described later) is compared with time control sequencer data sequentially read out for demonstration performance control or time control rhythm data read out for rhythm performance control, thereby executing time control when a demonstration performance in step S406 or a rhythm performance in step S407 is performed.
- tone generation processing in step S409 pitch envelope processing, and the like are executed.
- an envelope is added to a pitch of a musical tone to be generated, and pitch data is set in a corresponding tone generation channel.
- one flow cycle preparation processing is executed (S410).
- processing for changing a state of a tone generation channel assigned with a note number corresponding to an ON event detected in the keyboard key processing in step S405 to an "ON event" state, and processing for changing a state of a tone generation channel assigned with a note number corresponding to an OFF event to a "muting" state, and the like are executed.
- the interrupt controller 203 of the MCPU 101 outputs the SCPU reset cancel signal A (Fig. 1) to the ROM address controller 305 of the SCPU 102, and the SCPU 102 starts execution of the SCPU interrupt processing (Fig. 4C).
- Sound source processing (S415) is started in the SCPU interrupt processing almost simultaneously with the source processing (S411) in the MCPU interrupt processing.
- the sound source processing for 16 tone generation channels can be executed in a processing time for eight tone generation channels, and a processing speed can be almost doubled (the interrupt processing will be described later with reference to Fig. 5).
- the value of time data (not shown) on the RAM 206 (Fig. 2) is incremented by utilizing the fact that the interrupt processing shown in Fig. 4B is executed for every predetermined sampling period. More specifically, a time elapsed from power-on can be detected based on the value of the time data.
- the time data obtained in this manner is used in time control in the timer processing in step S408 in the main flow chart shown in Fig. 4A.
- the MCPU 101 then waits for an SCPU interrup processing end signal B from the SCUP 102 after interrupt timer processing in step S412 (S413).
- the command analyzer 307 of the SCPU 102 supplies an SCPU processing end signal B (Fig. 1) to the ROM address controller 205 of the MCPU 101. In this manner, YES is determined in step S413 in the MCPU interrupt processing in Fig. 4B.
- waveform data generated by the SCPU 102 are written in the RAM 206 of the MCPU 101 via the data bus D IN shown in Fig. 1 (S414).
- the waveform data are stored in a predetermined buffer area (a buffer B to be described later) on the RAM 306 of the SCPU 102.
- the command analyzer 207 of the MCPU 101 designates addresses of the buffer area to the RAM address controller 304, thus reading the waveform data.
- step S414' the contents of the buffer area B are latched by the latches 601 (Fig. 6) of the left and right D/A converter units 107 and 108.
- step S411 in the MCPU interrupt processing or in step S415 in the SCPU interrupt processing will be described below with reference to the flow chart of Fig. 4D.
- a waveform addition area on the RAM 206 or 306 is cleared (S416). Then, sound source processing is executed in units of tone generation channels (S417 to S424). After the sound source processing for the eighth channel is completed, waveform data obtained by adding those for eight channels is obtained in the buffer area B .
- processing A (the same applies to B , C ,..., F ) is executed (S501).
- This "processing" corresponds to, for example, “function key processing", or “keyboard key processing” in the main flow chart shown in Fig. 4A.
- the MCPU interrupt processing and the SCPU interrupt processing are executed, so that the MCPU 101 and the SCPU 102 simultaneously start sound source processing (S502 and S503).
- the SCPU processing end signal B is input to the MCPU 101.
- step S411 Fig. 4B
- step S415 Fig. 4C
- the two CPUs i.e., the MCPU 101 and the SCPU 102 share the sound source processing in units of eight channels.
- Data for the sound source processing for eight channels are set in areas corresponding to the respective tone generation channels in the RAMs 206 and 306 of the MCPU 101 and the SCPU 102, as shown in Fig. 9.
- Buffers BF, BT, B, and M are allocated on the RAM, as shown in Fig. 12.
- X P represents previous sample data
- X N represents the next sample data
- D represents a difference between two adjacent sample data
- E represents an envelope value
- O represents an output value
- C represents a flag which is used when a sound source method to be assigned to a tone generation channel is changed in accordance with performance data, as will be described later.
- the sound source processing operations of the respective sound source methods executed using the above-mentioned data architecture will be described below in turn. These sound source processing operations are realized by analyzing and executing a sound source processing program stored in the control ROM 201 or 301 by the command analyzer 207 or 307 of the MCPU 101 or the SCPU 102. Assume that the processing is executed under this condition unless otherwise specified.
- step S1302 an interpolation data value O corresponding to the decimal part A F of the address (Fig. 15A) is calculated by arithmetic processing D ⁇ A F using a difference D as a difference between sample data X N and X P at addresses (A I +1) and A I (S1307). Note that the difference D has already been obtained by the sound source processing at previous interrupt timing (see step S1306 to be described later).
- the sample data X P and the difference D are left unchanged, and only the interpolation data O is updated in accordance with the address A F .
- new sample data X Q is obtained.
- step S1302 If the integral part A I of the current address is changed (S1302) as a result of addition of the current address (A I , A F ) and the pitch data (P I , P F ) in step S1301, it is checked if the address A I has reached or exceeded the end address A E (S1303).
- step S1303 the next loop processing is executed. More specifically, a value (A I - A E ) as a difference between the updated current address A T and the end address A E is added to the loop address A L to obtain a new current address (A I , A F ). A loop reproduction is started from the obtained new current address A I (S1304).
- the end address A E is an end address of an area of the external memory 116 (Fig. 1) where PCM waveform data are stored.
- the loop address A L is an address of a position where a player wants to repeat an output of a waveform, and known loop processing is realized by the PCM method.
- step S1303 If NO in step S1303, the processing in step S1304 is not executed.
- Sample data is then updated.
- sample data corresponding to the new updated current address A T and the immediately preceding address (A I -1) are read out as X N and X P from the external memory 116 (Fig. 1) (S1305).
- sample data X P corresponding to an address A I of the external memory 116 is obtained by adding sample data corresponding to an address (A I -1) (not shown) to a difference between the sample data corresponding to the address (A I -1) and sample data corresponding to the address A I .
- a difference D with the next sample data is written at the address A I of the external memory 116 (Fig. 1).
- Sample data at the next address (A I +1) is obtained by X p + D.
- a difference D between sample data corresponding to the current address and the next address is read out from the external memory 116 (Fig. 1), and is added to the current sample data to obtain the next sample data, thereby sequentially forming waveform data.
- DPCM method when a waveform such as a voice or a musical tone which generally has a small difference between adjacent samples is to be quantized, quantization can be performed by a smaller number of bits as compared to the normal PCM method.
- Pitch data (P I , P F ) is added to the current address (A I , A F ) (S1401).
- the interpolation data value O is added to sample data X P corresponding to the integral part A I of the address to obtain a new sample data value O (corresponding X Q in Fig. 15B) corresponding to the current address (A I , A F ) (S1415).
- step S1402 If the integral part A I of the present address is changed (S1402) as a result of addition of the current address (A I , A F ) and the pitch data (P I , P F ) in step S1401, it is checked if the address A I has reached or exceeded the end address A E (S1403).
- sample data corresponding to the integral part A I of the updated current address is calculated by the loop processing in steps S1404 to S1407. More specifically, a value before the integral part A I of the current address is changed is stored in a variable "old A I " (see the column of DPCM in Table 1 shown in Fig. 11). This can be realized by repeating processing in step S1406 or S1413 (to be described later).
- the old A I value is sequentially incremented in S1406, and differential waveform data in the external memory 116 (Fig. 1) addressed by the old A I values are read out as D in step S1407.
- the readout data D are sequentially accumulated on sample data X P in step S1405.
- the sample data X P has a value corresponding to the integral part A I of the changed current address.
- An address value (A I -A E ) exceeding the end address A E is added to the loop address A L , and the obtained address is defined as an integral part A I of a new current address (S1408).
- sample data X P is initially set as the value of sample data X PL (see the column of DPCM in Table 1 shown in Fig. 11) at the current loop address A L and the old A I is set as the value of the loop address A L (S1410).
- the following processing operations in steps S1410 to S1413 are repeated. More specifically, the old A I value is sequentially incremented in step S1413, and differential waveform data on the external memory 116 (Fig. 1) designated by the incremented old A I values read out as data D.
- the data D are accumulated on the sample data X P in step S1412.
- old A I value becomes equal to the integral part A I of the new current address
- the sample data X P has a value corresponding to the integral part A I of the new current address after loop processing.
- step S1411 When the sample data Xp corresponding to the integral part A I of the new current address is obtained in this manner, YES is determined in step S1411, and the control enters the above-mentioned arithmetic processing of the interpolation value (S1414).
- waveform data by the DPCM method for one tone generation channel is generated.
- the sound source processing based on the FM method will be described below.
- Fig. 16A The operation of this embodiment executed when the sound source processing is performed using two operators will be described below with reference to the operation flow chart shown in Fig. 16A.
- the algorithm of the processing is shown in Fig. 16B.
- Variables in the flow chart are FM format data in Table 1 shown in Fig. 11, which data are stored in the corresponding tone generation channel area (Fig. 9) on the RAM 206 or 306 of the MCPU 101 or the SCPU 102.
- Pitch data P 2 is added to the present address A 2 (S1601).
- a feedback output F O2 is added to the address A 2 as a modulation input to obtain a new address A M2 which corresponds to phase of a sine wave (S1602).
- the feedback output F O2 has already been obtained upon execution of processing in step S1605 (to be described later) at the immediately preceding interrupt timing.
- sine wave data are stored in the external memory 116 (Fig. 1), and are obtained by addressing the external memory 116 by the address A M2 to read out the corresponding data (S1603).
- This output F O2 serves as an input to the operator 2 (OP2) at the next interrupt timing.
- the output O 2 is multiplied with a modulation level M L2 to obtain a modulation output M O2 (S1606).
- the modulation output M O2 serves as a modulation input to an operator 1 (OP1).
- the current address A 1 of the operator 1 is added to pitch data P 1 (S1607), and the sum is added to the above-mentioned modulation output M O2 to obtain a new address A M1 (S1608).
- the value of sine wave data corresponding to this address A M1 (phase) is read out from the external memory 116 (Fig. 1) (S1609), and is multiplied with an envelope value E 1 to obtain a musical tone waveform output O 1 (S1610).
- the above-mentioned triangular wave function is modulated by a sum signal obtained by adding a carrier signal generated by the avove-mentioned function f c (t) to the moulation signal sin ⁇ m (t) at a ratio indicated by the modulation index I(t).
- a sine wave can be generated, and as the value I(t) is increased, a deeply modulated waveform can always be generated.
- Various other signals may be used in place of the modulation signal sin ⁇ m (t), and as will be described later, the output of the operator, itself, may be fed back at a predetermined feedback level, or an output from another operator may be input.
- TM format data in Table 1 shown in Fig. 11, which data are stored in the corresponding tone generation channel area (Fig. 9) on the RAM 206 or 306 of the MCPU 101 or the SCPU 102.
- the current address A 2 is added to pitch data P 2 (S1701).
- a modified sine wave corresponding to the address A 2 (phase) is read out from the external memory 116 (Fig. 1) by the modified sine conversion f c , and is output as a carrier signal O 2 (S1702).
- a feedback output F O2 (S1760) as a modulation signal, is added to the carrier signal O 2 , and the sum signal is output as a new address O 2 (S1703).
- the feedback output F O2 has already been obtained upon execution of processing in step S1706 (to be described later) at the immediately preceding interrupt timing.
- the triangular wave data is multiplied with an envelope value E 2 to obtain an output O 2 (S1705).
- the output O 2 is multiplied with a feedback level F L2 to obtain a feedback output F O2 (S1707).
- the output F O2 serves as an input to the operator 2 (OP2) at the next interrupt timing.
- the output O 2 is multiplied with a modulation level M L2 to obtain a modulation output M O2 (S1707).
- the modulation output M O2 serves as a modulation input to an operator 1 (OP1).
- the control then enters processing of the operator 1 (OP1).
- This processing is substantially the same as that of the operator 2 (OP2) described above, except that there is no modulation input based on the feedback output.
- the current address A 1 of the operator 1 is added to pitch data P 1 (S1708), and the sum is subjected to the above-mentioned modified sine conversion to obtain a carrier signal O 1 (S1709).
- the output O 1 is added to a value held in the buffer B (Fig. 12) in the RAM 206 (Fig. 2) or the RAM 306 (Fig. 3), thus completing the TM processing for one tone generation channel.
- the sound source processing operations based on four methods i.e., the PCM, DPCM, FM, and TM methods have been described.
- the FM and TM methods are modulation methods, and, in the above examples, two-operator processing operations are executed based on the algorithms shown in Figs. 16B and 17B.
- Figs. 18A to 18D show examples. In an algorithm 1 shown in Fig. 18A, four modulation operations including a feedback input are performed, and a complicated waveform can be obtained.
- each of algorithms 2 and 3 two sets of algorithms each having a feedback input are arranged parallel to each other, and these algorithms are suitable for expressing a change in tone color during, e.g., transition from an attack portion to a sustain portion.
- An algorithm 4 has a feature close to a sine wave synthesis method.
- Fig. 19 is an operation flow chart of normal sound source processing based on the FM method corresponding to the algorithm 1 shown in Fig. 18A. Variables in the flow chart are stored in the corresponding tone generation channel area (Fig. 9) on the RAM 206 or 306 of the MCPU 101 or the SCPU 102. Although the variables used in Fig. 19 are not the same as data in the FM format of Table 1 in Fig. 11, they are obtained by expanding the concept of the data format shown in Fig. 11, and only have different suffixes.
- the present address A 4 of an operator 4 is added to pitch data P 4 (S1901).
- the address A 4 is added to a feedback output F O4 (S1905) as a modulation input to obtain a new address A M4 (S1902).
- the value of a sine wave corresponding to the address M4 (phase) is read out from the external memory 116 (Fig. 1) (S1903), and is multiplied with an envelope value E 4 to obtain an output O 4 (S1904).
- the output O 4 is multiplied with a feedback level F L4 to obtain a feedback output F O4 (S1905).
- the output O 4 is multiplied with a modulation level M L4 to obtain a modulation output M O4 (S1906).
- the modulation output M O4 serves as a modulation input to the next operator 3 (OP3).
- the control then enters processing of the operator 3 (OP3).
- This processing is substantially the same as that of the operator 4 (OP4) described above, except that there is no modulation input based on the feedback output.
- the current address A 3 of the operator 3 (OP3) is added to pitch data P 3 to obtain a new current address A 3 (S1907).
- the address A 3 is added to a modulation output M O4 as a modulation input, thus obtaining a new address A M3 (S1908).
- the value of a sine wave corresponding to the address A M3 (phase) is read out from the external memory 116 (Fig. 1) (S1909), and is multiplied with an envelope value E 3 to obtain an output O 3 (S1910). Thereafter, the output O 3 is multiplied with a modulation level M L3 to obtain a modulation output M O3 (S1911).
- the modulation output M O3 serves as a modulation input to the next operator 2 (OP2).
- Processing of the operator 2 is then executed. However, this processing is substantially the same as that of the operator 3, except that a modulation input is different, and a detailed description thereof will be omitted.
- control enters processing of an operator 1 (OP1).
- OP1 an operator 1
- step S1920 A musical tone waveform output O 1 obtained in step S1920 is added to data stored in the buffer B as a carrier (S1921).
- Fig. 20 is an operation flow chart of normal sound source processing based on the TM method corresponding to the algorithm 1 shown in Fig. 18A. Variables in the flow chart are stored in the corresponding tone generation channel area (Fig. 9) on the RAM 206 or 306 of the MCPU 101 or the SCPU 102. Although the variables used in Fig. 19 are not the same as data in the TM format of Table 1 in Fig. 11, they are obtained by expanding the concept of the data format shown in Fig. 11, and only have different suffixes.
- the present address A 4 of the operator 4 is added to pitch data P 4 (S2061).
- a modified sine wave to the above-mentioned address A 4 (phase) is read out from the external memory 116 (Fig. 1) by the modified sine conversion f c , and is output as a carrier signal O 4 (S2002).
- a feedback output F O4 (see S2007) as a modulation signal is added to the carrier signal O 4 , and the sum signal is output as a new address O 4 (S2003).
- the value of a triangular wave corresponding to the address O 4 (phase) is read out from the external memory 116 (Fig.
- Processing of the operator 2 is then executed. However, this processing is substantially the same as that of the operator 3, except that a modulation input is different, and a detailed description thereof will be omitted.
- step S2024 A musical tone waveform output O 1 obtained in step S2024 is accumulated in the buffer B (Fig. 12) as a carrier (S2025).
- the MCPU 101 and the SCPU 102 each execute processing for eight channels (Fig. 4D). If a modulation method is designated in a given tone generation channel, the above-mentioned sound source processing based on the modulation method is executed.
- the first modulation of the sound source processing based on the modulation method will be described below.
- An address A 1 corresponding to a phase angle is added to pitch data P 1 to obtain a new address A 1 (S2201).
- the address A 1 is added to a modulation input M I1 , thus obtaining an address A M1 (S2202).
- the modulation input M I1 is determined by the algorithm processing in step S2105 (Fig. 21) at the immediately preceding interrupt timing, and may be a feed back output F O1 of its own operator, or an output M O2 from another operator, e.g., an operator 2 depending on the algorithm.
- the value of a sine wave corresponding to this address (phase) A M1 is read out from the external memory 116 (Fig. 1), thus obtaining an output O 1 (S2203).
- a value obtained by multiplying the output O 1 with envelope data E 1 serves as an output O 1 of the operator 1 (S2204).
- the output O 1 is multiplied with a feedback level F L1 to obtain a feedback output F O1 (S2205).
- the output O 1 is multipled with a modulation level M L1 , thus obtaining a modulation output M O1 (S2206).
- TM method A modification of the TM method based on the above-mentioned basic concept will be described below.
- the operator 1 processing in the operation flow chart showing operator processing based on the TM method in Fig. 21 is shown in Fig. 23A, and an arithmetic algorithm per operator is shown in Fig. 23B.
- the remaining operator 2 to 4 processing operations are the same except for different suffix numbers of variables.
- Variables in the flow chart are stored in the corresponding tone generation channel (Fig. 9) on the RAM 206 or 306 of the MCPU 101 or the SCPU 102.
- the output O 1 is multiplied with a feedback level F L1 to obtain a feedback output F O1 (S2306).
- the output O 1 is multiplied with a modulation level M L1 to obtain a modulation output M O1 (S2307).
- step S2105 in Fig. 21 for determining a modulation input in the operator processing in both the above-mentioned modulation methods, i.e., the FM and TM methods will be described in detail below with reference to the operation flow chart of Fig. 24.
- the flow chart shown in Fig. 24 is common to both the FM and TM methods, and the algorithms 1 to 4 shown in Figs. 18A to 18D are selectively processed. In this case, choices of the algorithms 1 to 4 are made based on an instruction (not shown) from a player (S2400).
- the algorithm 1 is of a series four-operator (to be abbreviated to as an OP hereinafter) type, and only the OP4 has a feedback input. More specifically, in the algorithm 1,
- the OP2 and the OP4 have feedback inputs. More specifically, in the algorithm 2,
- the OP2 and OP4 have feedback inputs, and two modules in which two operators are connected in series with each other are connected in parallel with each other. More specifically, in the algorithm 3,
- the algorithm 4 is of a parallel four-OP type, and all the OPs have feedback inputs. More specifically, in the algorithm 4,
- the sound source processing for one channel is completed by the above-mentioned operator processing and algorithm processing, and tone generation (sound source processing) continues in this state unless the algorithm is changed.
- processing time is increased as the complicated algorithms are programmed, and as the number of tone generation channels (the number of polyphonic channels) is increased.
- the first modification shown in Fig. 21 is further developed, so that only operator processing is performed at a given interrupt timing, and only algorithm processing is performed at the next interrupt timing.
- the operator processing and the algorithm processing are alternately executed. In this manner, a processing load per interrupt timing can be greatly reduced. As a result, one sample data per two interrupts is output.
- variable S is zero is checked (S2501).
- the variable is provided for each tone generation channel, and is stored in the corresponding tone generation channel area (Fig. 9) on the RAM 206 or 306 of the MCPU 101 or the SCPU 102.
- the process exits from the operator processing route, and executes output processing for setting a value of the buffer BF (for the FM method) or the buffer BT (for the TM method) (S2510).
- the buffer BF or BT is provided for each tone generation channel, and is stored in the corresponding tone generation channel area (Fig. 9) on the RAM 206 or 306 of the MCPU 101 or the SCPU 102.
- the buffer BF or BT stores a waveform output value after the algorithm processing. At the current interrupt timing, however, no algorithm processing been executed, and the content of the buffer BF or BT is not updated. For this reason, the same waveform output value as that at the immediately preceding interrupt timing is output.
- step S2507 The process then enters an algorithm processing route, and sets the variable S to be a value "0". Subsequently, the algorithm processing is executed (S2508).
- a processing load per interrupt timing of the sound source processing program can be remarkably decreased.
- the processing load can be reduced without increasing an interrupt time of the main operation flow chart shown in Fig. 4A, i.e., without influencing the program operation. Therefore, a keyboard key sampling interval executed in Fig. 4A will not be prolonged, and the response performance of an electronic musical instrument will not be impaired.
- parameters corresponding to sound source methods are set in the formats shown in Fig. 11 in the corresponding tone generation channel area (Fig. 9) on the RAM 206 or 306 (Figs. 2 and 3) by one of the function keys 801 (Fig. 8A) connected to the operation panel of the electronic musical instrument via the input port 210 (Fig. 2) of the MCPU 101.
- Fig. 27 shows an arrangement of some function keys 801 shown in Fig. 8A.
- some function keys 801 are realized as tone color switches. When one of switches “piano”, “guitar”,..., “koto” in a group A is depressed, a tone color of the corresponding instrument tone is selected, and a guide lamp is turned on. Whether the tone color of the selected instrument tone is generated in the DPCM method or the TM method is selected by a DPCM/TM switch 2701.
- step S2901 It is checked if a player operates the DPCM/TM switch 2701 (S2901). If YES in step S2901, it is checked if a variable M is zero (S2902).
- the variable M stored on the RAM 206 (Fig. 2) of the MCPU 101, and has a value "0" for the DPCM method; a value "1" for the TM method. If YES in step S2902, i.e., if it is determined that the value of the variable M is 0, the variable M is set to be a value "1" (S2903). This means that the DPCM/TM switch 2701 is depressed in the DPCM method selection state, and the selection state is changed to the TM method selection state.
- a tone color in the group A shown in Fig. 27 is currently designated (S2905). Since the DPCM/TM switch 2701 is valid for tone co]ors of only group A , only when a tone color in the group A is designated, and YES is determined in step S2905, operations corresponding to the DPCM/TM switch 2701 in steps S2906 to S2908 are executed.
- step S2906 since the DPCM method is selected by the DPCM/TM switch 2701, DPCM data are set in the DPCM format shown in Fig. 11 in the corresponding tone generation channel areas on the RAMs 206 and 306 (Figs. 2 and 3). More specifically, sound source method No. data G indicating the DPCM method is set in the start area of the corresponding tone generation channel area (see the column of DPCM in Fig. 11). Subsequently, various parameters corresponding to currently designated tone colors are respectively set in the second and subsequent areas of the corresponding tone generation channel area (S2907).
- step S2906 since the TM method is selected by the DPCM/TM switch 2701, TM data are set in the TM format shown in Fig. 11 in the corresponding generation channel areas. More specifically, sound source method No. data G indicating the TM method is set in the start area of the corresponding tone generation channel area. Subsequently, various parameters corresponding to currently designated tone colors are respectively set in the second and subsequent areas of the corresponding tone generation channel area (S2908).
- step S2901 A case has been exemplified wherein the DPCM/TM switch 2701 shown in Fig. 27 is operated. If the switch 2701 is not operated and NO is determined in step S2901, or if tone color of the group A is not designated and NO is determined in step S2905, processing from step S2909 is executed.
- step S2909 It is checked in step S2909 if a change in tone color switch shown in Fig. 27 is detected.
- step S2909 If NO in step S2909, since processing for the tone color switches need not be executed, the function key processing (S403 in Fig. 4A) is ended.
- step S2910 data for the sound source method corresponding to the designated tone color are set in the predetermined format in the corresponding tone generation channel areas on the RAMs 206 and 306 (Figs. 2 and 3). More specifically, sound source method No. data G indicating the sound source method is set in the start area of the corresponding tone generation channel area (Fig. 11). Subsequently, various parameters corresponding to the currently designated tone color are respectively set in the second and subsequent areas of the corresponding tone generation channel area (S2911). For example, when the switch "bass" in Fig. 27 is selected, data corresponding to the PCM method are set in the odd-numbered tone generation channel areas, and data corresponding to the TM method are set in the even-numbered tone generation channel areas.
- step S2910 If it is determined that the tone color switch in the group A is designated, and NO is determined in step S2910, it is checked if the variable M is "1" (S2912). If the TM method is currently selected, and YES is determined in step S2912, data are set in the TM format (Fig. 11) in the corresponding tone generation channel area (S2913) like in step S2908 described above.
- step S2912 data are set in the DPCM format (Fig. 11) in the corresponding tone generation channel area (S2914) like in step S2907 described above.
- the sound source method to be set in the corresponding tone generation channel area of the RAM 206 or 306 (Figs. 2 and 3) is automatically switched in accordance with an ON key position, i.e., a tone range of a musical tone.
- This embodiment has a boundary between key code numbers 31 and 32 on the keyboard shown in Fig. 8B. That is, when a key code of an ON key falls within a bass tone range equal to or lower than the 31st key code, the DPCM method is assigned to the corresponding tone generation channel.
- Fig. 30 is a partial operation flow chart of the keyboard key processing in step S405 in the main operation flow chart of Fig. 4A.
- step S3001 If NO in step S3001, and a tone color in the group B is currently designated, special processing in Fig. 30 is not performed.
- step S3001 If YES in step S3001, and a tone color in the group A is currently designated, it is checked if a key code of a key which is detected as an "ON key" in the keyboard key scanning processing in step S404 in the main operation flow chart shown in Fig. 4A is equal to or lower than the 31st key code (S3002).
- step S3003 i.e., if it is determined that the TM method is currently designated as the sound source method, DPCM data in Fig. 11 are set in a tone generation channel area of the RAM 206 or 306 (Figs. 2 and 3) where the ON key is assigned so as to change the TM method to the DPCM method as a sound source method for the bass tone range (see the column of DPCM in Fig. 11). More specifically, sound source method No. data G indicating the DPCM method is set in the start area of the corresponding tone generation channel area. Subsequently, various parameters corresponding to the currently designated tone color are respectively set in the second and subsequent areas of the corresponding tone generation channel area (S3004).
- step S3006 i.e., if it is determined that the DPCM method is currently designated as the sound source method, TM data in Fig. 11 are set in a tone generation channel area of the RAM 206 or 306 (Figs. 2 and 3) where the ON key is assigned so as to change the DPCM method to the TM method as a sound source method for the high tone range (see the column of TM in Fig. 11). More specifically, sound source method No. data G indicating the TM method is set in the start area of the corresponding tone generation channel area. Subsequently, various parameters corresponding to the currently designated tone color are respectively set in the second and subsequent areas of the corresponding tone generation channel area (S3007). Thereafter, a value "2" is set in a flag C (S3008).
- step S3003 if NO in step S3003 and if YES in step S3006, since the desired sound source method is originally selected, no special is executed.
- a tone color in the group A in Fig. 27 when a tone color in the group A in Fig. 27 is designated, a sound source method to be set in the corresponding tone generation channel area (Fig. 9) on the RAM 206 or 206 (Figs. 2 and 3) of the MCPU 101 or the SCPU 102 is automatically switched in accordance with an ON key speed, i.e., a velocity.
- a switching boundary is set at a velocity value "64" half the maximum value "127" of the MIDI (Musical Instrument Digital Interface) standards. That is, when the velocity value of an ON key is equal to or larger than 64, the DPCM method is assigned; when the velocity of an ON key is equal to or smaller than 64, the TM method is assigned.
- no special keyboard key processing is executed.
- Fig. 31 is a partial operation flow chart of the keyboard key processing in step S405 in the main operation flow chart shown in Fig. 4A.
- step S3101 If NO in step S3101, and a tone color in the group B is presently selected, the special processing in Fig. 30 is not executed.
- step S3101 If YES in step S3101, and a tone color in the group A is presently selected, it is checked if the velocity of a key which is detected as an "ON key” in the keyboard key scanning processing in step S404 in the main operation flow Chart Shown in Fig. 4A is equal to or larger than 64 (S3102). Note that the velocity value "64" corresponds to "mp (mezzo piano)" of the MIDI standards.
- step S3102 If it is determined that the velocity value is equal to or larger than 64, and YES is determined in step S3102, it is checked if the variable M is "1" (S3102).
- the variable M is set in the operation flow chart shown in Fig. 29 as a part of the function key processing in step S403 in the main operation flow chart shown in Fig. 4A, and is "0" for the DPCM method; "1" for the TM method, as described above.
- step S3102 If it is determined that the velocity value is smaller than 64 and NO is determined in step S3102, it is further checked if the variable M is "1" (S3106).
- step S3103 if NO in step S3103 and if YES in step S3106, since the desired sound source method is originally selected, no special processing is executed.
- the sound source method is automatically set in accordance with a key range (tone range) or a velocity. Upon an OFF event, the set sound source method must be restored.
- the embodiment of the OFF event keyboard key processing to be described below can realize this processing.
- the value of the flag C set in the tone generation channel area on the RAM 206 or 306 (Figs. 2 and 3), where the key determined as an "OFF key” in the keyboard key scanning processing in step S404 in the main operation flow chart of Fig. 4A is assigned, is checked.
- the flag C is set in steps S3005 and S3008 in Fig. 30, or in step S3105 or S3108 in Fig. 31, has an initial value "0", is set to be "1" when the sound source method is changed from the TM method to the DPCM method upon an ON event, and is set to be "2" when the sound source method is changed from the DPCM method to the TM method.
- the flag C is left at the initial value "0".
- step S3201 If it is determined in step S3201 that the value of the flag C is "1", the sound source method is changed from the TM method to the DPCM method upon an ON event.
- TM data in Fig. 11 is set in the tone generation channel area on the RAM 206 or 306 (Fig. 2 or 3) where the ON key is assigned to restore the sound source method to the TM method.
- sound source No. data G indicating the TM method is set in the start area of the corresponding tone generation channel area.
- various parameters corresponding to the presently designated tone color are respectively set in the second and subsequent areas of the corresponding tone generation channel area (S3202).
- the two CPUs i.e., the MCPU 101 and the SCPU 102 share processing of different tone generation channels.
- the number of CPUs may be one or three or more.
- the input port 210 of the MCPU 101 shown in Fig. 2 can be connected to various other operation units in addition to the instrument operation unit shown in Fig. 8A.
- various other electronic musical instruments can be realized.
- the present invention may be realized as a sound source module for executing only the sound source processing while receiving performance data from another electronic musical instrument.
- the present invention may be applied to various other modulation methods.
- the above embodiment exemplifies a 4-operator system.
- the number of operators is not limited to this.
- a sound source processing program to be stored in a program storage means need only be changed to meet the above requirements. Therefore, development cost of a new musical tone waveform generation apparatus can be greatly decreased, and a new sound source method can be presented to a user by means of, e.g., a ROM card.
- the present invention has, as an architecture of the sound source processing program, a processing architecture for simultaneously executing algorithm processing operations as I/O processing among operator processing operations before or after simultaneous execution of at least one operator processing as a modulation processing unit. For this reason, when one of a plurality of algorithms is selected to execute sound source processing, a plurality of types of algorithm processing portions are prepared, and need only be switched as needed. Therefore, the sound source processing program can be rendered very compact. The small program size can greatly contribute to a compact, low-cost musical tone waveform generation apparatus.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Electrophonic Musical Instruments (AREA)
Description
Claims (9)
- A musical tone waveform generation apparatus characterized by comprising:program storage means (201) for storing a performance data processing program for processing performance data, and a sound source processing program modelling a tone generation algorithm based on a modulation method, for obtaining a musical tone signal;address control means (205) for controlling an address of said program storage means (201);data storage means (206) for storing musical tone generation data necessary for generating a musical tone signal based on the modulation method;arithmetic processing means (208, 209) for performing arithmetic processing;program executing means (101) for executing the performance data processing program and the sound source processing program stored in said program storage means (201) while controlling said address control means (205), said data storage means (206), and said arithmetic processing means (208, 209), said program execution means normally executing the performance data processing program to control musical tone generation data on said data storage means (206), executing the sound source processing program at predetermined time intervals, executing the performance data processing program again upon completion of the sound source processing program, and generating a musical tone signal by the modulation method on the basis of the musical tone generation data on said data storage means upon execution of said sound source processing program;
andmusical tone signal output means (107, 108) for holding the musical tone signal obtained when said program execution means (101) executes the sound source processing program, and outputting the held musical tone signal at predetermined output time intervals. - An apparatus according to claim 1, characterized in that said program execution means (101) includes interrupt control means (203) for generating an interrupt signal at the predetermined time intervals, and said program execution means (101) interrupts the performance data processing program at a generation timing of the interrupt signal from said interrupt control means (203) during execution of the performance data processing program, executes the sound source processing program, cancels the interruption upon completion of the sound source processing program, and restarts execution of the performance data processing program.
- An apparatus according to claim 1, characterized in that said musical tone signal output means (107, 108) comprise:timing signal generation means (203) for generating a timing signal for each predetermined sampling period;first latch means (601) for latching a digital musical tone signal generated by said program execution means (101) at an outputting timing of the digital musical tone signal from said program execution means (101); andsecond latch means (602) for outputting the digital musical tone signal by latching an output signal of said first latch means (601) when the timing signal is generated from said timing signal generating means (203).
- An apparatus according to claim 1, characterized in that said sound source processing program comprises:an operator processing program for executing operator processings, each of which generates a modulated musical tone signal on the basis of modulation method of receiving a mixed signal obtained by mixing a carrier signal and a modulation signal as an input and outputting the modulated musical tone signal as an input;an algorithm processing program for executing algorithm processings for determining an input/output relationship among operator processings, which are executed at a time after or before execution of the plurality of operator processings.
- An apparatus according to claim 4, characterized in that a functional relationship between the input and output is expressed by neither of sine and cosine function relationships, and the carrier signal is a signal for making the output to be sine or cosine wave at a single frequency when the carrier signal is directly used as the input.
- An apparatus according to claim 4, characterized in that a functional relationship between the input and output is expressed by a sine function, and the carrier signal.
- An apparatus according to claim 1, characterized in that said sound source processing program comprises:an operator processing program for executing operator processings, each of which generates a modulated musical tone signal on the basis of modulation method of receiving a mixed signal obtained by mixing a carrier signal and a modulation signal as an input and outputting the modulated musical tone signal as an input;an algorithm processing program for executing a plurality of algorithm processings for determining an input/output relationship among operator processings, the one of which is selected from the plurality of algorithm processings, is and executed at a time after or before execution of the plurality of operator processings.
- An apparatus according to claim 7, characterized in that a functional relationship between the input and output is expressed by neither of sine and cosine function relationships, and the carrier signal is a signal for making the output to be a sine or cosine wave at a single frequency when the carrier signal is directly used as the input.
- An apparatus according to claim 7, characterized in that a functional relationship between the input and output is expressed by a sine function, and the carrier signal.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2171216A JP3010693B2 (en) | 1990-06-28 | 1990-06-28 | Musical sound wave generator |
JP2171217A JP3035991B2 (en) | 1990-06-28 | 1990-06-28 | Musical sound wave generator |
JP171216/90 | 1990-06-28 | ||
JP171217/90 | 1990-06-28 |
Publications (3)
Publication Number | Publication Date |
---|---|
EP0463409A2 EP0463409A2 (en) | 1992-01-02 |
EP0463409A3 EP0463409A3 (en) | 1993-09-22 |
EP0463409B1 true EP0463409B1 (en) | 1998-12-30 |
Family
ID=26494012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP91109115A Expired - Lifetime EP0463409B1 (en) | 1990-06-28 | 1991-06-04 | Musical tone waveform generation apparatus |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP0463409B1 (en) |
KR (1) | KR950006029B1 (en) |
DE (1) | DE69130688T2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106155940A (en) * | 2015-04-17 | 2016-11-23 | 扬智科技股份有限公司 | The System on Chip/SoC of code and the code protection method of System on Chip/SoC can be protected |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE69517896T2 (en) * | 1994-09-13 | 2001-03-15 | Yamaha Corp., Hamamatsu | Electronic musical instrument and device for adding sound effects to the sound signal |
DE69630623T2 (en) * | 1995-03-03 | 2004-09-23 | Yamaha Corp., Hamamatsu | Music calculator consisting of compatible software modules |
JP3267106B2 (en) | 1995-07-05 | 2002-03-18 | ヤマハ株式会社 | Musical tone waveform generation method |
JP3975593B2 (en) | 1999-01-21 | 2007-09-12 | 株式会社ソニー・コンピュータエンタテインメント | Method for generating playback sound, electronic device for generating playback sound, and entertainment system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5375919A (en) * | 1976-12-17 | 1978-07-05 | Nippon Gakki Seizo Kk | Electronic instrument |
JPS58211789A (en) * | 1982-06-04 | 1983-12-09 | ヤマハ株式会社 | Electronic musical instrument |
JP2699278B2 (en) * | 1987-10-14 | 1998-01-19 | カシオ計算機株式会社 | Tone generator |
DE68917113T2 (en) * | 1988-12-29 | 1995-03-16 | Casio Computer Co Ltd | Data processing device for an electronic musical instrument. |
-
1991
- 1991-06-04 KR KR1019910009251A patent/KR950006029B1/en not_active IP Right Cessation
- 1991-06-04 DE DE69130688T patent/DE69130688T2/en not_active Expired - Fee Related
- 1991-06-04 EP EP91109115A patent/EP0463409B1/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106155940A (en) * | 2015-04-17 | 2016-11-23 | 扬智科技股份有限公司 | The System on Chip/SoC of code and the code protection method of System on Chip/SoC can be protected |
Also Published As
Publication number | Publication date |
---|---|
EP0463409A2 (en) | 1992-01-02 |
KR920001423A (en) | 1992-01-30 |
DE69130688T2 (en) | 1999-09-09 |
DE69130688D1 (en) | 1999-02-11 |
EP0463409A3 (en) | 1993-09-22 |
KR950006029B1 (en) | 1995-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0463411B1 (en) | Musical tone waveform generation apparatus | |
US5319151A (en) | Data processing apparatus outputting waveform data in a certain interval | |
US5119710A (en) | Musical tone generator | |
EP0379181B1 (en) | Electronic musical instrument having a plurality of tone generation modes | |
EP0463409B1 (en) | Musical tone waveform generation apparatus | |
US5192824A (en) | Electronic musical instrument having multiple operation modes | |
EP0169659A2 (en) | Sound generator for electronic musical instrument | |
JPH04306697A (en) | Stereo system | |
JP2869573B2 (en) | Musical sound wave generator | |
US5074183A (en) | Musical-tone-signal-generating apparatus having mixed tone color designation states | |
JPS619693A (en) | Musical sound generator | |
JP3035991B2 (en) | Musical sound wave generator | |
JP2797139B2 (en) | Musical sound wave generator | |
JP3010693B2 (en) | Musical sound wave generator | |
EP0201998B1 (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 | |
JPS62208099A (en) | Musical sound generator | |
JP2678974B2 (en) | Musical sound wave generator | |
JP3006094B2 (en) | Musical sound wave generator | |
JP2877012B2 (en) | Music synthesizer | |
JPH0460698A (en) | Musical sound waveform generator | |
JP3134840B2 (en) | Waveform sample interpolation device | |
KR930006617B1 (en) | Mutifill-in generating device of electrophonic musical instruments | |
JPS6339074B2 (en) | ||
JPH0462594B2 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 19910702 |
|
AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): DE FR GB IT |
|
PUAL | Search report despatched |
Free format text: ORIGINAL CODE: 0009013 |
|
AK | Designated contracting states |
Kind code of ref document: A3 Designated state(s): DE FR GB IT |
|
17Q | First examination report despatched |
Effective date: 19961022 |
|
GRAG | Despatch of communication of intention to grant |
Free format text: ORIGINAL CODE: EPIDOS AGRA |
|
GRAG | Despatch of communication of intention to grant |
Free format text: ORIGINAL CODE: EPIDOS AGRA |
|
GRAH | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOS IGRA |
|
GRAH | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOS IGRA |
|
GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): DE FR GB IT |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: FR Free format text: THE PATENT HAS BEEN ANNULLED BY A DECISION OF A NATIONAL AUTHORITY Effective date: 19981230 |
|
REF | Corresponds to: |
Ref document number: 69130688 Country of ref document: DE Date of ref document: 19990211 |
|
ITF | It: translation for a ep patent filed | ||
ET | Fr: translation filed | ||
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: GB Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 19990604 |
|
PLBE | No opposition filed within time limit |
Free format text: ORIGINAL CODE: 0009261 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT |
|
26N | No opposition filed | ||
GBPC | Gb: european patent ceased through non-payment of renewal fee |
Effective date: 19990604 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: DE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20000503 |
|
REG | Reference to a national code |
Ref country code: FR Ref legal event code: ST |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IT Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES;WARNING: LAPSES OF ITALIAN PATENTS WITH EFFECTIVE DATE BEFORE 2007 MAY HAVE OCCURRED AT ANY TIME BEFORE 2007. THE CORRECT EFFECTIVE DATE MAY BE DIFFERENT FROM THE ONE RECORDED. Effective date: 20050604 |