Musical sound generation device, musical sound generation method, and storage medium
AssigneeCasio Computer Co., Ltd.
InventorHiroaki Nagasaka
Life of this patent
Estimating the term…
Abstract
An electronic musical instrument reads waveform sample data of a predetermined number of channels from memory, corresponding to an empty state of a bus, and, in a case in which reading is not completed before a corruption determination timing of each channel lapses, detects bus corruption, which is overflow of the bus, for channels in which the reading is not completed. Then, in a case in which the bus corruption is detected, the electronic musical instrument performs predetermined control such as not to generate entry data, to stop sound generation, etc. for sound generation in channels in which the reading is not completed.
Claims14
A musical sound generation device, comprising:
- a plurality of sound generation channels that perform musical sound generation processing in a predetermined order based on waveform data that are assigned respectively;
- a read unit that reads the waveform data stored in a memory connected by a bus, in a case of receiving a read request of the waveform data to be assigned to a designated sound generation channel among the plurality of sound generation channels;
- a read determination unit that determines whether the reading of the waveform data by the read unit is completed before starting the musical sound generation processing in the designated sound generation channel;
- and
- a control unit that stops a musical sound to be generated by the designated sound generation channel, when the read determination unit determines that the reading of the waveform data is not completed.
A musical sound generation method executed by a musical sound generation device having a plurality of sound generation channels that perform musical sound generation processing in a predetermined order based on waveform data that are assigned respectively, the method comprising:
- reading the waveform data stored in a memory connected by a bus in a case of receiving a read request of the waveform data to be assigned to a designated sound generation channel among the plurality of sound generation channels;
- determining whether the reading of the waveform data is completed before starting the musical sound generation processing in the designated sound generation channel;
- and
- stopping a musical sound to be generated by the designated sound generation channel when it is determined that the reading of the waveform data is not completed.
A non-transitory storage medium encoded with a computer-readable/writable program, used as a musical sound generation device having a plurality of sound generation channels that perform musical sound generation processing in a predetermined order based on waveform data that are assigned respectively, the program being executable to control a computer to perform functions comprising:
- reading the waveform data stored in a memory connected by a bus in a case of receiving a read request of the waveform data to be assigned to a designated sound generation channel among the plurality of sound generation channels;
- determining whether the reading of the waveform data is completed before starting the musical sound generation processing in the designated sound generation channel;
- and
- stopping a musical sound to be generated by the designated sound generation channel when it is determined that the reading of the waveform data is not completed.
A musical instrument comprising;
- a memory that stores waveform data and a program;
- an input unit having a keyboard;
- a musical sound generation device;
- a CPU that executes a process, in accordance with the program stored in the memory, for controlling the musical sound generation device to generate a musical sound corresponding to a key press performed on the keyboard;
- and
- a bus that connects the CPU, the memory, the input unit, and the musical sound generation device to one another;
- wherein the musical sound generation device comprises;
- a plurality of sound generation channels that perform musical sound generation processing in a predetermined order based on the waveform data that are assigned respectively;
- a read unit that reads the waveform data stored in the memory connected by the bus, in a case of receiving a read request of the waveform data to be assigned to a designated sound generation channel among the plurality of sound generation channels;
- a read determination unit that determines whether the reading of the waveform data by the read unit is completed before starting the musical sound generation processing in the designated sound generation channel;
- and
- a control unit that stops musical sound to be generated by the designated sound generation channel, when the read determination unit determines unit that the reading of the waveform data is not completed.
Dependencies are inferred from the claim text.