CN1091849A - The dynamic allocation method storage of stored multi-stage pronunciation - Google Patents

The dynamic allocation method storage of stored multi-stage pronunciation Download PDF

Info

Publication number
CN1091849A
CN1091849A CN 93100636 CN93100636A CN1091849A CN 1091849 A CN1091849 A CN 1091849A CN 93100636 CN93100636 CN 93100636 CN 93100636 A CN93100636 A CN 93100636A CN 1091849 A CN1091849 A CN 1091849A
Authority
CN
China
Prior art keywords
section
storer
rerecording
voice
address
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
CN 93100636
Other languages
Chinese (zh)
Other versions
CN1068687C (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.)
United Microelectronics Corp
Original Assignee
United Microelectronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by United Microelectronics Corp filed Critical United Microelectronics Corp
Priority to CN93100636A priority Critical patent/CN1068687C/en
Publication of CN1091849A publication Critical patent/CN1091849A/en
Application granted granted Critical
Publication of CN1068687C publication Critical patent/CN1068687C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Electrically Operated Instructional Devices (AREA)

Abstract

A kind of dynamic allocation method storage that is used for the stored multi-stage pronunciation signal of speech IC, only can store the fixedly restriction of voice length in order to solve the legacy memory fixed segments, the mode that its storer multistage is cut apart is to look voice length to be configured to respective regions, and when particular section is rerecorded, this section of rerecording moved to storer below blank position and constitute the continuous section that to deposit the record speech data with untapped memory block.Press sort memory dynamic assignment mode, can improve the storer service efficiency, avoid the wasting phenomenon of storer.

Description

The dynamic allocation method storage of stored multi-stage pronunciation
The present invention relates to the dynamic allocation method storage of stored multi-stage pronunciation, mainly be by segmented mode with speech memory, divide according to voice length, and need rerecord particular section the time, behind the position of judging other each sections, the section of will rerecording is moved to the storer lower position, and do not use the zone to constitute one with the storer below and can deposit the continuous section of record, for the use of rerecording, and keep the untapped memory block of residue, back of rerecording, merging into continuous section with the zone of rerecording when rerecording another section voice next time uses, move the memory block dynamic assignment mode of this section and look actual needs to the storer bottom, make the utilization of storer reach preferable efficient, and exempt the wasting phenomenon of storer.
Present speech synthesis ic, all need cooperate a memory stores voice signal for reading broadcast, when need are deposited the record speech data, promptly through the microphone input speech signal to speech synthesis ic, be converted to the digital speech signal by the inside sampling, deposit in the storer in regular turn again, and desire is when playing, the then control by speech synthesis ic, read the data of this storer in regular turn, and the digital speech signal is reduced to analog voice signal through speech synthesis ic, play by amplifying circuit and loudspeaker.
In the past, speech synthesis ic itself has dual mode for the allocation scheme of storer, and it is a kind of to be " fixed ", another is " multisection type ", so-called fixed, be about to storer itself and be considered as single area (as shown in Figure 7), only can once all deposit in or once all read, when recording again, also restart to write data, thereby for need deposit the multiple different phonetic data of record simultaneously the time, then can't carry out in the storer reference position.
Use at aforementioned fixation formula storer falls into scarce, second kind of so-called " multisection type " memory allocation mode appearred again, these multisection type modes, as shown in Figure 8, it is that storer is divided into a plurality of independently parts, be example as shown, with whole 16 second voice capacity storer be divided into four identical sections (T1~T4), each zone be respectively four second voice capacity, and the visual user's of each section needs are deposited record respectively, rerecord or read use respectively, use the effect of depositing the multiple different pieces of information of record simultaneously that reaches, but this kind multistage partitioning scheme is the zoned format that belongs to a kind of fixedly section, but during actual the use, when surpassing four seconds, then can't deposit in fully as if the required voice that deposit in, when if voice length only has three seconds, the waste that also makes this section produce the memory block capacity in a second, therefore, these fixed mode multistage memory maps, when depositing the less file of record capacity continuously, can't use whole memory spans, cause wasting phenomenon, should be improved in fact.
Fundamental purpose of the present invention is: the dynamic allocation method storage that a kind of stored multi-stage pronunciation is provided, mainly promptly adopt a kind of and the diverse multisection type allocation scheme of existing voice storer, actually deposit the length of speech data in and dynamically determine the size of its section in whole speech memory is visual, and for waiting to rerecord or when covering the memory block of particular section, more this zone is transferred to the storer lower position and synthesizes a continuous section with the untapped zone of storer, speech data to storer uses until exhausted for rerecording, after rerecording, if when still having the untapped storage area of residue, repeat the aforementioned mode zone of will rerecording of moving during then for a certain particular section of next time manifolding and move to the storer lower position, cause the use of whole storer to reach preferable states, and do not have the wasting phenomenon of storage space.
The dynamic allocation method storage of stored multi-stage pronunciation provided by the invention, be to be under the complete space state at storer, the section of looking user's setting is deposited in speech data in regular turn by the storer top, initial and end address register stores its initial and end address and by the section of a correspondence, and other sections also according to the speech data length arrangement on the other blank address of storer, when desiring to rerecord a certain particular section, be to judge that in advance this regional start address numerical value is whether greater than other initial values of blank section not, if its value is less, soon bigger or multi-region section of start address value upwards moved one and represented the interval off-set value of section of rerecording, the start address of this section of rerecording then adds the interval off-set value of the section that this is upwards moved, and the start address that makes the section of rerecording moves to storer lower end white space, and merges the zone that formation one can be deposited record continuously with the original white space of storer.
The dynamic allocation method storage of aforesaid stored multi-stage pronunciation, be provided with a register matrix in speech processor inside, the register internal matrix has the flag of representing each section user mode and represents the register of each section start address and end address, the initial and end position of each section of making comparisons and rerun during for storer dynamic assignment again.
Effect of the present invention: because the dynamic allocation method storage of this stored multi-stage pronunciation, the size that record is distinguished is deposited in decision according to voice length when depositing the record voice signal, and dynamically selected its recorded the position depositing of memory block, make when rerecording remaining white space merge into continuous section at every turn, the use so that rerecord, the method except that the wasting phenomenon that solves traditional approach, the more visual length of using the zone and the suitable lengthening length of section of can rerecording improves the service efficiency of storer.
Further specify architectural feature of the present invention below in conjunction with drawings and Examples.
Brief Description Of Drawings:
Fig. 1 is a storer cutting state synoptic diagram of the present invention;
Fig. 2 is the storer dynamic profile of the particular section of rerecording of the present invention;
Fig. 3 is a speech processor embodiment calcspar of the present invention;
Fig. 4 dynamically moves synoptic diagram for storer of the present invention;
Fig. 5 is the synoptic diagram after storer of the present invention is dynamically moved;
Fig. 6 is a storer dynamic assignment process flow diagram of the present invention;
Fig. 7 is the fixed allocation scheme synoptic diagram of existing storer;
Fig. 8 is the existing fixed mode multisection type allocation scheme of storer synoptic diagram.
Storer dynamic assignment mode of the present invention, promptly different fully with single section of tradition or fixed mode multi-region segment memory allocation scheme, its each section is to look the length that deposits voice in and Dynamic Definition goes out the amount of capacity of this section, below promptly can mark off four sections at most with storer is that embodiment illustrates, can define under the mode of section with voice length with aforementioned, the possible allocation scheme of storer as shown in Figure 1, wherein shown in A, the voice T1 in 16 seconds may be taken whole storage space, shown in B, can deposit 14 seconds voice T1 earlier in and the 2 seconds voice T2 in addition that restore, this moment, whole storer promptly was divided into two sections, shown in C among Fig. 1, more may store up successively and be respectively 7 seconds into three length, (T1~T3) forms three sections to the voice of 3 seconds and 5 seconds, and remainder shown in oblique line 1 second untapped white space, and be in the record state of not depositing, shown in D among Fig. 1, also four groups can be respectively 3 seconds, 9 seconds, (T1~T4) takes whole storer to the different phonetic of 1 second and 3 seconds, storer of the present invention make storer present four sections, so promptly can dispose the storage compartments of corresponding size in response to the length of voice under storer is allowed the scope of capacity.
Shown in C among above-mentioned Fig. 1, be formed with in memory configurations under the situation of three storage compartments, be positioned at the white space of below of storer, again the use of arranging in pairs or groups when rerecording a certain specific region after can be used for, to exempt the wasted memory phenomenon, the present invention promptly adopts storage compartments to move mode and handles, be example promptly as A among Fig. 2, if when desiring to record the voice of this T1 section in seven seconds again, shown in B among Fig. 2, be earlier the T2 of T1 below and T3 two sections upwards to be moved by speech processor to cover to the T1 origin-location, and the continuum of T3 section below promptly forms the space that can reuse, even and the aforementioned action that this is moved former be positioned at storer below one second do not use the zone to merge to form 8 a seconds continuous voice zone with the section of desiring to rerecord, that is when rerecording T1 section voice, then former untapped zone can be merged and use, with the voice time of extending and to record, if when rerecording T1 voice in six seconds, promptly shown in C among Fig. 2, then the storer bottommost then residue have and do not use the zone 2 seconds, this does not use the zone can be used when desiring to rerecord other sections next time as described above, so the action that the present invention dynamically moves by aforementioned memory makes untapped storer reusable.
Below be the aforementioned specific embodiment of dynamically moving mode of the present invention, storer can be made as four sections be the example explanation with aforementioned, as shown in Figure 3, position, speech processor 10 lower left corner is provided with a register matrix 22, there is the usage flag of representing each section (F1~F4) in this register matrix 22, flag value is zero, expression is not used, if flag value is 1 o'clock, expression has data to exist, these four groups of flags are promptly represented the behaviour in service of section, and FULL and R/P flag are represented the full and recording/playback pattern of storer respectively, the below of above-mentioned each flag then is provided with the start address (T1_START)~(T4_START) of each section and the register of end address (T1_END)~(T2_END) in regular turn, in order to represent the initial and end position of each section, calculated during for follow-up storer dynamic assignment and used, and the left side of speech processor 10 has the button 11 for the recording playback sound respectively, the button of corresponding each section of use (T1~T4), 12 and one removes button 13, and have two to be respectively FULL and BUSY output terminal in addition, respectively instruction memory full with speech memory 10 uses in state, in addition in the right side of register matrix 22 except having an address counter 31(A.C.), one end address register 32(T.A. is more arranged), this end address register 32 is the final addresses that taken in order to record storage, and other oscillators 21 in the speech processor 10, microphone amplifier 23, analysis/combiner circuit 24, steering logic 25, D/A converter 26, data register 27, address register 28 and demoder 29 etc. all belong to the essential structure of traditional voice processor 10, do not repeat them here, and connect microphone and audio frequency expander and loudspeaker respectively in microphone input end 14 and speech output end 15, record deposited in voice to right side storer 40 and by storer 40, take out recording substances and play out voice and be respectively applied for.
Under initial user mode, each usage flag (F1~F4) be zero, and end address register 32(T.A.) also be zero, the blank no datat of expression storer, when selecting desire to the recording of T2 zone, when then pressing down the T2 button and pressing down record/playback button 11, then the F2 flag becomes 1, expression has begun that the voice data is arranged, end address register 32(T.A.) the present address details of storer pointed promptly deposits T2_START and address counter 32(A.C. in) in, at this moment, sample signal by speech processor 10 inside, pick up the simulating signal of microphone input in regular turn, obtaining digital data through the internal analysis circuit deposits in the storer 40, and address counter 31 is added up, in the memory address range of these storer 40 maximums, speech processor promptly constantly inputs to data in the storer 40, treat aforementioned T2 button discharge maybe will record/after playback button 11 is decontroled (stopping to record), the content of address counter 31 deposits in end address register 32 and the T2_END register, so promptly represent the length of T2 section by the scope of aforementioned T2_START and T2_END two registers, end address register 32 indication addresses are between the storer final address then being blank zone, if when selecting to make the playback of T2 section, then this T2_START deposits to address counter 31, then the content that storer 40 mutually should the address is read in the speech memory 10 successively according to sampling frequency, through data register 27, analysis/combiner circuit 24, D/A converter 26 is reduced to simulating signal and is exported, and the value of this address counter 31 also is accumulation state, when the address value for the treatment of address counter 31 equals the content of T2_END, promptly stop the playback program.
And other desire to deposit record T1, during the voice of T3 and T4 section with above-mentioned step, and deposit in sequentially in the storer 40, when desiring to rerecord a certain particular section content, promptly enter the storer dynamic assignment stage of the present invention, when supposing to desire to rerecord the voice of T3 section, then press down button T3, and make record/playback button 11 be recording state, shown in the decision flow chart of Fig. 6, this moment, corresponding flag F3 was that 1(represents that T3 desires to rerecord), find out F4 again, F2, among the F1 flag be 1 have several, suppose F4, F2 is 1, and F1 is zero, expression T4, the T2 section has speech data, then, whether compare T2_START and T4_START again greater than T3_START, if all less than T3_START, expression T3 section is positioned at the lower position of storer, need not to do section and move action this moment, then T3_START deposits address counter 31 in, directly begin down to record, otherwise, if any one address is arranged greater than T3_START, then then need up move greater than the section content of T3_START, and it is directly to have the part of data upwards to move to the position of T3_START T3 section below, as shown in Figure 4, if T2_START is greater than T3_START, then calculate side-play amount (OFFSET)=T3_END-T3_START in advance, and the content that makes the T2 section is upwards moved one by the data register 27 of speech processor 10 inside and is equaled on the address of side-play amount, that is the new address of T2_START=T3_START old address-side-play amount, and T2_END also in like manner, be the address that cuts this side-play amount gained, and the burst length of the new address of this T3_START this moment=T3_START old address+T2, therefore, by aforementioned move and calculate the initial and end address of setting each section after, promptly as shown in Figure 5, this T3 section promptly moves to the lower position of storer 40, and merge with white space that the former useful oblique line in Fig. 4 below is represented and to form a continuous Free Region, for the use of rerecording of T3 section, make the storer of former blank obtain effectively utilization, in like manner, if other sections are desired to rerecord, then repeat abovementioned steps other sections are moved to the top, and the zone of below for desiring to rerecord.

Claims (2)

1, a kind of dynamic allocation method storage of stored multi-stage pronunciation, it is characterized in that: be under the complete space state at storer, look the section that the user sets, the voice signal of certain-length is deposited in by the storer top in regular turn, initial and the end by the section of a correspondence, in register, store its initial and end address, and other sections also according to the voice length arrangement in the other white space of storer; When desiring to rerecord a certain particular section, judge that at first this regional start address numerical value is whether greater than other initial values of blank section not, if its value is less, soon bigger or multi-region section of start address numerical value upwards moved one and represented the interval off-set value of section of rerecording, the reference position of this section of rerecording then adds the interval off-set value of the section that this is upwards moved, and the reference position that makes the section of rerecording moves on the storer hypomere blank position, and merges the zone that formation one can be deposited record continuously with the original white space of storer.
2, the dynamic allocation method storage of stored multi-stage pronunciation according to claim 1, it is characterized in that: when depositing the record voice signal, represent the flag of each section user mode and represent the start address of each section and end address to be stored in the register matrix that is arranged in speech processor respectively.
CN93100636A 1993-01-20 1993-01-20 Dynamic allocation method storage with stored multi-stage pronunciation Expired - Lifetime CN1068687C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN93100636A CN1068687C (en) 1993-01-20 1993-01-20 Dynamic allocation method storage with stored multi-stage pronunciation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN93100636A CN1068687C (en) 1993-01-20 1993-01-20 Dynamic allocation method storage with stored multi-stage pronunciation

Publications (2)

Publication Number Publication Date
CN1091849A true CN1091849A (en) 1994-09-07
CN1068687C CN1068687C (en) 2001-07-18

Family

ID=4983152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN93100636A Expired - Lifetime CN1068687C (en) 1993-01-20 1993-01-20 Dynamic allocation method storage with stored multi-stage pronunciation

Country Status (1)

Country Link
CN (1) CN1068687C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071595A1 (en) * 2003-09-25 2005-03-31 International Business Machines Corporation Methods and apparatus for allocating memory

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2176918B (en) * 1985-06-13 1989-11-01 Intel Corp Memory management for microprocessor system
JPS623358A (en) * 1985-06-28 1987-01-09 Yokogawa Hewlett Packard Ltd Access system to plural address space

Also Published As

Publication number Publication date
CN1068687C (en) 2001-07-18

Similar Documents

Publication Publication Date Title
JP3744216B2 (en) Waveform forming apparatus and method
CN1068687C (en) Dynamic allocation method storage with stored multi-stage pronunciation
JPH0689218A (en) Backup system for multiplex writing volume
US20020045962A1 (en) Audio data recording/reproducing apparatus and method
JP5789993B2 (en) Music signal generator
US5672837A (en) Automatic performance control apparatus and musical data storing device
JP3520781B2 (en) Apparatus and method for generating waveform
JP3904012B2 (en) Waveform generating apparatus and method
JP2743808B2 (en) Automatic performance device
JPH07244478A (en) Music composition device
JP3724222B2 (en) Musical sound data creation method, musical sound synthesizer, and recording medium
US7285711B2 (en) Music player
JP3669177B2 (en) Vibrato generating apparatus and method
JPH06203534A (en) File management system for electronic musical instrument
JP2626307B2 (en) Electronic musical instrument
JP3562341B2 (en) Editing method and apparatus for musical sound data
JP3873985B2 (en) Musical sound data editing method and apparatus
JP2000259157A (en) Device and method for controlling musical sound
JPS63298292A (en) Sequencer for electronic musical instrument
JPH07319485A (en) Video reproducing device
JP3430568B2 (en) Automatic performance data editing device
KR950010336B1 (en) Compression and reproducing method of music data
JP2000122648A (en) Automatic music-performing device and method, and record medium
JP2562261B2 (en) Electronic musical instrument assigner
JP2569304B2 (en) Voice recognition device

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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
C17 Cessation of patent right
CX01 Expiry of patent term

Expiration termination date: 20130120

Granted publication date: 20010718