CN1553432A - Sound synthesizer for applying variable loading digital signal processor - Google Patents

Sound synthesizer for applying variable loading digital signal processor Download PDF

Info

Publication number
CN1553432A
CN1553432A CNA031387004A CN03138700A CN1553432A CN 1553432 A CN1553432 A CN 1553432A CN A031387004 A CNA031387004 A CN A031387004A CN 03138700 A CN03138700 A CN 03138700A CN 1553432 A CN1553432 A CN 1553432A
Authority
CN
China
Prior art keywords
note
order
music
play
module
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.)
Granted
Application number
CNA031387004A
Other languages
Chinese (zh)
Other versions
CN100489963C (en
Inventor
谢一弘
张宏铭
粘溪文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MediaTek Inc
Original Assignee
MediaTek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MediaTek Inc filed Critical MediaTek Inc
Priority to CNB031387004A priority Critical patent/CN100489963C/en
Publication of CN1553432A publication Critical patent/CN1553432A/en
Application granted granted Critical
Publication of CN100489963C publication Critical patent/CN100489963C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

The invention relates to device for handling music play applied to a wireless communication device for playing back a music file and determining the order of playing back multiple notes in music file. The device for handling music play includes following modules: analysis module for receiving music file, analyzing each note and corresponding waveform and obtaining multiple sort parameters of each note; sort module for arranging order of playing back notes based on sort parameters of each note; playing module for playing back notes based on playing order. The invention reduces instructions of note needed to carry out, and makes digital signal processor possible to use lesser memory to carry out composite calculation of waveform table as well as represents music effect perfectly.

Description

Be applied to the sound synthesizer of type variable load digital signal processor
Technical field
The present invention relates to a kind of music treating apparatus, particularly be used for the music treating apparatus of wireless communication apparatus.
Background technology
Multimedia news in brief service (Multimedia Message Service, MMS) as the term suggests be the news in brief that can transmit content of multimedia, comprise that colour picture miscellaneous, animation cartoon and sound (comprise general the tinkle of bells, chord ring, one section sound, or even one section own voice with the mobile phone record, decide on different mobile phone degrees of support), if networking transmission speed permission, even can transmit audio-visual short-movie, and traditional mobile news in brief service (Short Message Service SMS) can only transmit less literal and basic figure.
Along with development of technology, the multimedia news in brief are served in the communication system that is used in gradually now, make that the news in brief that transmitted are more active, content is abundanter, but comparatively speaking, this means needs more powerful device of usefulness and technology to carry out, multimedia waveform table synthetic technology (Wavetable Synthesis) promptly is one of them, this technology is a kind of electronics synthetic technology, through to musical instrument sound sampling, the speech simulation method that its digitizing burning (is also had and stores into the magnetic disc archives) on synthesis chip.Owing to be that one section shortwave shape is put down in writing, sound again and must produce circulation (loops) by the microprocessor (MicroProcessor) on the adlib, repetition (repeats) etc.
Because the diversity of multi-medium data.System architecture now still has many limiting factors to exist on carrying out, especially at microcontroller (Micro Controller Unit, MCU) and digital signal processor (Digital Signal Processing, DSP).Microcontroller comprises the main framework of computer, and promptly CPU, storer, output/input block just be it seems on the framework, as same spring the type computer, in order to be absorbed in execution control function; Digital signal processor be meant can high speed processing the processor of digital signal, as the calculation of digital signal and have immediately and computing function fast.Therefore when mass data is imported into, microcontroller will not have enough speed and digital signal processor will lack enough storeies to go execution command, cause processing power to produce great the burden.Generally speaking, when digital signal processor is received many tasks (task) simultaneously, can go to carry out according to the height of priority level, the task with high precedence will be by priority processing, and the priority level of music archive is minimum.The load of the digital signal processor of mobile phone is different at any time, if the waveform table synthetic technology is designed to use the remaining processing power of digital signal processor to carry out, its effect that shows can not be very good, if remaining processing power deficiency, that result will be very poor.
Existing technology is being handled on the problems referred to above, be to utilize processing speed and the ability that constantly improves microcontroller and digital signal processor, deal with more and more complicated multimedia messages, but at the mobile phone order gradually under the trend of miniaturization, the breakthrough of technology is difficulty day by day, and cost is more and more high.The present invention proposes a kind of music treating apparatus, in order to improve the execution usefulness of digital signal processor when carrying out the waveform table compose operation, make the waveform table synthetic technology can make full use of the remaining processing power of digital signal processor, avoid importing too many noise, reduce the instructions of note of required execution and allow digital signal processor use less storer to remove to carry out compose operation, and make the music effect that is shown tend to reach perfection as far as possible.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of music treating apparatus that is used for wireless communication apparatus, to solve the problem that exists in the known technology
The present invention is a kind of music treating apparatus, by each note analysis ordering with institute's playing back music archives, determine the broadcast order of each note, after digital signal processor is handled the higher task of priority level in advance, under remaining limited processing power, avoid importing too many noise, reduce the instructions of note of required execution and allow digital signal processor use less storer to remove to carry out compose operation, and make the music effect that is shown tend to reach perfection as far as possible.
Music treating apparatus of the present invention, be used for the broadcast order playing a music archive and determine a plurality of notes in this music archive at a wireless communication apparatus, this music treating apparatus comprises: an analysis module, in order to receive this music archive, and analyze the corresponding waveform of each note in the described note, and then obtain a plurality of parameters sortnigs of each note; One order module, in order to the described parameters sortnig according to each note, one when the described note that is ranked is play play order; And a playing module, in order to play order, play described note according to this.
Description of drawings
Fig. 1 is the synoptic diagram of music treating apparatus of the present invention.
Fig. 2 is the ripple envelope oscillogram that the present invention uses.
Fig. 3 is that the note of the present invention's first specific embodiment is play synoptic diagram.
Fig. 4 is that the note of the present invention's second specific embodiment is play synoptic diagram.
Fig. 5 is the process flow diagram of manner of execution of the present invention.
The reference numerals explanation
10: music treating apparatus 12: analysis module
14: order module 16: playing module
18: parameters sortnig 20: play order
22: ripple envelope 24: play sound
26: decay 28: prolong and hold
30: release sound
Embodiment
The advantages and spirit of the present invention can be by being further understood below in conjunction with the accompanying drawing description of this invention.
See also Fig. 1, Fig. 1 is the synoptic diagram of music treating apparatus 10 of the present invention.Music treating apparatus 10 of the present invention is the broadcast order that are used for a plurality of notes in wireless communication apparatus playing back music archives and the decision music archive, comprises an analysis module 12, an order module 14 and a playing module 16.Analysis module 12 is in order to the reception music archive, and analyzes the corresponding waveform of each note in this music archive, and then obtains a plurality of parameters sortnigs 18 of each note; Order module 14 is the parameters sortnigs 18 according to each note, and one when this note that is ranked is play play order 20; Playing module 16 is according to broadcast order 20, plays described note, and wherein playing module 16 is set with a marginal time, and playing module 16 is only play the note that is finished playing according to playing order 20 before this marginal time.Generally speaking, after music archive is received by analysis module 12, analysis module 12 is analyzed the corresponding waveform of each note in this music archive, produce parameters sortnig 18 at each note, after parameters sortnig 18 was sorted module 14 receptions, order module 14 will be according to the parameters sortnig 18 of each note, broadcast order 20 when being ranked this note broadcast, after broadcast order 20 is played module 16 receptions, playing module 16 will be play corresponding note according to playing order 20.
See also Fig. 1 and Fig. 2, Fig. 2 is that the ripple that the present invention uses seals 22 oscillograms.Ripple envelope 22 is in order to describe the general profile of tone color waveform, to express the characteristic of tone color on volume change, a ripple envelope 22 can be described with four kinds of parameters, be respectively sound (Attack) 24, decay (Decay) 26, prolonged and hold (Sustain) 28 and release sound (Release) 30, this also is general " ADSR " that claims, since ripple envelope 22 be used for describing a kind of tone color under bullet to the volume change between decontroling, therefore be also referred to as: can time dependent volume (Time Variable Amplitude, TVA).The parameters sortnig 18 that analysis module 12 is produced is to be selected from sound 24 parts, decay 26 parts, to prolong and hold 28 parts, release sound 30 parts and the corresponding amplitude of each note, at least one group that forms in five parts, order module 12 is again according to parameters sortnig 18, broadcast order 20 when the note that is ranked is play broadcasts via playing module 16.
See also Fig. 3, Fig. 3 is that the note of the present invention's first specific embodiment is play synoptic diagram.Order module 14 is that the sequencing that occurs according to corresponding sound 24 parts of each note in the note is a parameters sortnig 18, is ranked and plays order 20.In first specific embodiment, carry out earlier each note to play sound 24 partial ordered, after finishing, carry out in regular turn again each note decay 26, prolong hold 28, to release sound 30 partial ordered.Attack among the figure (1), Attack (2), Attack (i-1), be to be illustrated in the time interval of sound 24, the ripple that plays sound 24 seals 22 sizes, its value big person of healing, the priority of this corresponding note is higher, by that analogy, Decay (i), Decay (i+1), be to be illustrated in the time interval of decay 26, the ripple of decay seals 22 sizes, Sustain (j), Sustain (j+1), be to be illustrated in to prolong to hold in 28 the time interval, prolong and hold 28 ripple envelope size, Release (n), Release (n+1), be to be illustrated in the time interval of releasing sound 30, release the ripple envelope size of sound 30.After ordering is finished, play corresponding note according to priority.
See also Fig. 4, Fig. 4 is that the note of the present invention's second specific embodiment is play synoptic diagram.Order module 14 is that corresponding sound 24 parts of each note in the note be multiply by the amplitude of each note, and obtains the corresponding parameters sortnig 18 of each note, then according to the size order of parameters sortnig 18, is ranked and plays order 20.In second specific embodiment, carry out the ordering that corresponding sound 24 parts of each note multiply by the amplitude of each note earlier, the back gained product value that multiplies each other is bigger, the priority of this corresponding note is higher, after finishing, carry out corresponding decay 26 parts of each note more in regular turn and multiply by that amplitude, each note of each note is corresponding to prolong that amplitude, each note of holding 28 parts and multiply by each note are corresponding releases the ordering that sound 30 parts multiply by the amplitude of each note.Expression mode such as Fig. 3 of Fig. 4, wherein Amp (1), Amp (2) ..., be the amplitude of the corresponding note of representative.
See also Fig. 5, Fig. 5 is the process flow diagram of manner of execution of the present invention.In sum, manner of execution of the present invention comprises the following step:
Step S32: beginning receives music archive.
Step S34: replacement timer (timer), timing begins.
Step S36: analyze music archive, the priority level of each note in this music archive that is ranked.
Step S38: it is synthetic to carry out waveform table.
Step S40: check whether all notes are finished, if then carry out step S42; If not, then carry out step S44.
Step S42: the replacement timer, timing finishes, repeating step S32.
Step S44: judge that whether timer is by the marginal time, if then carry out step S46; If not, then carry out step S50.
Step S46: abandon carrying out the lower note of priority level.
Step S48: the replacement timer, timing finishes.
Step S50: timer continues gate time, and the music treating apparatus continues to handle still unenforced note, repeating step S38.
In another embodiment (figure does not show), the note that the priority level of being abandoned among the step S46 is relatively poor can be carried out when next time, whole flow process was restarted.
The music treating apparatus of known technology, when handling music archive, can be with the completed wave envelope of each note in this music archive, promptly play sound, decay, prolong and hold and release sound four parts and handle in regular turn, in order to play out complete musical tones, though the method will produce complete music, if (for example comprise whistling simultaneously but this music is a music of mixing note, tum, piano sound, violin sound ...), its complexity will need microcontroller and a large amount of processing power of digital signal processor, and because the priority level of music archive is minimum, often music can be interrupted or can't be play at all when playing.Music treating apparatus of the present invention, the remaining processing power of digital signal processor will be made full use of, avoid importing too many noise, reduce the instructions of note of required execution and allow digital signal processor use less storer to remove to carry out compose operation, and make the music effect that is shown tend to reach perfection as far as possible.
By the above detailed description of preferred embodiments, be to wish more clearly to describe feature of the present invention and spirit, and be not to come category of the present invention is limited with above-mentioned disclosed preferred embodiment.On the contrary, its objective is that hope can contain in the category of claim of being arranged in of various changes and tool equality institute of the present invention desire application.

Claims (20)

1. music treating apparatus is used for the broadcast order playing a music archive and determine a plurality of notes in this music archive at a wireless communication apparatus, and this music treating apparatus comprises:
One analysis module in order to receiving this music archive, and is analyzed the corresponding waveform of each note in the described note, and then is obtained a plurality of parameters sortnigs of each note;
One order module, in order to the described parameters sortnig according to each note, one when the described note that is ranked is play play order; And
One playing module in order to play order according to this, is play described note.
2. music treating apparatus as claimed in claim 1, each note has a corresponding amplitude in the wherein said note.
3. music treating apparatus as claimed in claim 2, wherein this ripple package contains together line branch, a decay part, and prolongs and hold part and and release the line branch.
4. music treating apparatus as claimed in claim 3, wherein said parameters sortnig be selected from by this rise line branch, this decay part, this prolong hold part, this releases at least one parameters sortnig in the middle of the group that line is divided and this amplitude is formed.
5. music treating apparatus as claimed in claim 4, wherein this order module is divided the sequencing that occurs according to corresponding line of each note in the described note, and this broadcast order is ranked.
6. music treating apparatus as claimed in claim 4, wherein this order module multiply by corresponding line branch of each note in the described note amplitude of each note, and obtain the corresponding ranking value of each note, then according to the size order of described ranking value, this broadcast order is ranked.
7. music treating apparatus as claimed in claim 1, wherein this playing module is set with a marginal time, and this playing module is play ordering according to this, only plays the note that is finished playing before this marginal time.
8. note ordering system, in order to when a processor in the wireless communication apparatus when playing a music archive, determine the broadcast order of a plurality of notes in this music archive, this ordering system comprises:
One analysis module in order to receiving this music archive, and is analyzed the corresponding waveform of each note in the described note, and then is obtained a plurality of parameters sortnigs of each note; And
One order module, in order to the described parameters sortnig according to each note, one when the described note that is ranked is play play order.
9. note ordering system as claimed in claim 8, each note has a corresponding amplitude in the wherein said note.
10. note ordering system as claimed in claim 9, wherein this ripple package contains together line branch, a decay part, and prolongs and hold part and and release the line branch.
11. note ordering system as claimed in claim 10, wherein said parameters sortnig be selected from by this rise line branch, this decay part, this prolong hold part, this releases at least one parameters sortnig in the middle of the group that line is divided and this amplitude is formed.
12. note ordering system as claimed in claim 11, wherein this order module is divided the sequencing that occurs according to corresponding line of each note in the described note, and this broadcast order is ranked.
13. note ordering system as claimed in claim 11, wherein this order module multiply by corresponding line branch of each note in the described note amplitude of each note, and obtain the corresponding ranking value of each note, then according to the size order of described ranking value, this broadcast order is ranked.
14. a music disposal route, in order to the broadcast order of playing a music archive and determining a plurality of notes in this music archive in a wireless communication apparatus, this music disposal route comprises:
Receive this music archive;
Analyze the corresponding waveform of each note in the described note, and then obtain a plurality of parameters sortnigs of each note;
According to the described parameters sortnig of each note, one when the described note that is ranked is play play order; And
Play order according to this, play described note.
15. music disposal route as claimed in claim 14, each note has a corresponding amplitude in the wherein said note.
16. music disposal route as claimed in claim 15, wherein this ripple package contains together line branch, a decay part, and prolongs and hold part and and release the line branch.
17. music disposal route as claimed in claim 16, wherein said parameters sortnig be selected from by this rise line branch, this decay part, this prolong hold part, this releases at least one parameters sortnig in the middle of the group that line is divided and this amplitude is formed.
18. music disposal route as claimed in claim 17, wherein this broadcast order is to divide the sequencing that occurs to be ranked according to corresponding line of each note in the described note.
19. music disposal route as claimed in claim 17, wherein this broadcast order is by corresponding line branch of each note in the described note being multiply by the amplitude of each note, and obtain the corresponding ranking value of each note, then the size order according to described ranking value is ranked.
20. music disposal route as claimed in claim 14 further is set with a marginal time, this wireless communication apparatus is play ordering according to this, only plays the note that is finished playing before this marginal time.
CNB031387004A 2003-06-03 2003-06-03 Sound synthesizer for applying variable loading digital signal processor Expired - Fee Related CN100489963C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031387004A CN100489963C (en) 2003-06-03 2003-06-03 Sound synthesizer for applying variable loading digital signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031387004A CN100489963C (en) 2003-06-03 2003-06-03 Sound synthesizer for applying variable loading digital signal processor

Publications (2)

Publication Number Publication Date
CN1553432A true CN1553432A (en) 2004-12-08
CN100489963C CN100489963C (en) 2009-05-20

Family

ID=34323789

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031387004A Expired - Fee Related CN100489963C (en) 2003-06-03 2003-06-03 Sound synthesizer for applying variable loading digital signal processor

Country Status (1)

Country Link
CN (1) CN100489963C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109785868A (en) * 2019-01-09 2019-05-21 上海音乐学院 Music file conversion and playback method, device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109785868A (en) * 2019-01-09 2019-05-21 上海音乐学院 Music file conversion and playback method, device, computer equipment and storage medium
CN109785868B (en) * 2019-01-09 2020-03-31 上海音乐学院 Music file conversion and playing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN100489963C (en) 2009-05-20

Similar Documents

Publication Publication Date Title
JP6645956B2 (en) System and method for portable speech synthesis
CN1232944C (en) Portable phone equipped with composing function
Scheirer et al. SAOL: The MPEG-4 structured audio orchestra language
CN1934646A (en) Method and system for synchronizing audio processing modules
US20080229917A1 (en) Musical instrument digital interface hardware instructions
CN1729507A (en) Ordering audio signals
CN1230274A (en) Period forcing filter for preprocessing sound samples for usage in wavetable synthesizer
CN1151486C (en) Sound signal producing apparatus
CN1892812A (en) Tone synthesis apparatus and method
CN1674089A (en) Apparatus and method for processing bell sound
US6867358B1 (en) Method and apparatus for producing improvised music
CN1629931A (en) Music play device and method, and telephone terminal device
JP2013152477A (en) Electric musical instrument digital interface hardware instruction set
CN100489963C (en) Sound synthesizer for applying variable loading digital signal processor
WO2008115875A1 (en) Efficient identification of sets of audio parameters
CN1205829C (en) Music format conversion method for wireless hand-held device
CN1059748C (en) Sonic source device
CN1612205A (en) Audio signal processor
CN2651890Y (en) Musical acoustic signal producer
CN1052090C (en) Sonic source device
US20040226434A1 (en) Music playing/processing device and method for playing music file according to playing order of tones
CN1535458A (en) Musical sound reproducer and mobile terminal
CN1206603C (en) Music VF producing method and playback system
US7424422B2 (en) Voice channel bussing in sound processors
Wessel et al. MIDI-Lisp: A Lisp-based programming environment for MIDI on the Macintosh

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090520

Termination date: 20160603