CN1077045A - Sound-controlled computer accompanying machine - Google Patents

Sound-controlled computer accompanying machine Download PDF

Info

Publication number
CN1077045A
CN1077045A CN 93110605 CN93110605A CN1077045A CN 1077045 A CN1077045 A CN 1077045A CN 93110605 CN93110605 CN 93110605 CN 93110605 A CN93110605 A CN 93110605A CN 1077045 A CN1077045 A CN 1077045A
Authority
CN
China
Prior art keywords
circuit
data
frequency
cpu1
cpu2
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 93110605
Other languages
Chinese (zh)
Other versions
CN1034196C (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.)
XIANGTAN CITY NEW PRODUCTS DEV
Original Assignee
XIANGTAN CITY NEW PRODUCTS DEV
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 XIANGTAN CITY NEW PRODUCTS DEV filed Critical XIANGTAN CITY NEW PRODUCTS DEV
Priority to CN93110605A priority Critical patent/CN1034196C/en
Publication of CN1077045A publication Critical patent/CN1077045A/en
Application granted granted Critical
Publication of CN1034196C publication Critical patent/CN1034196C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

The present invention belongs to the field of electronic musical instrument technology, and is one kind of sound controlled computerized accompaniment machine capable of producing various real musical instrument playing sounds with the change of singing voice. The sound control electric accompaniment machine is composed of a fundamental frequency sorting circuit frequency doubling circuit, an audio correction circuit, a true sound source circuit and a reverberation circuit, overcomes the crosstalk phenomenon and the unreal music sense of the traditional sound control accompaniment machine, greatly improves the accompaniment effect of the sound control electric accompaniment machine, adopts a CPU technology to carry out audio correction and control the true sound source circuit for recording the sound of a true musical instrument, has the advantages of high response speed, multiple music accompaniment patterns, high and simple circuit integration level, and is suitable for professional performance and personal entertainment.

Description

Acoustically controlled computerized accompaniment machine
The invention belongs to the electronic musical instrument technical field, particularly a kind of acoustically controlled computerized accompaniment machine that can send various real instrument performance sound with the variation of people's song.
Singing brings joy can for people's life, but there is not the singing of musical sound accompaniment just to seem dull, the rise of modern Karaoke brings many facilities for people's entertainment life, but this method song fixes, and can not allow the people is arbitrary to sing the own song of singing of liking.In order to address these problems, the technical scheme such as the disclosed application number of Chinese patent that disclose at present some sound-controlled automatic accompaniment instruments are 91106836.8 sound-controlled automatic accompaniment instruments, it has solved to a certain extent and can change with people's song and send various synthesized voice musics automatically and accompany, but its scale recognition resolution is low, can't solve the cross-talk phenomenon, its sounding circuit is to adopt mimic channel in addition, the sense of reality that lacks tone color, if environmental change just might bring the variation of component parameters, cause distortion, its scale identification circuit and sounding circuit bring very big difficulty for debugging work to components and parts precision prescribed height, are unfavorable for producing in enormous quantities.
The object of the present invention is to provide and a kind ofly can send the acoustically controlled computerized accompaniment machine of various real instrument playing effects from normal moveout correction song frequency.
The present invention realizes with following mode: acoustically controlled computerized accompaniment machine, it comprises that fundamental frequency sorting circuit 1 and frequency multiplier circuit 2 select output audio pulse signal Fo after the fundamental frequency signal fo of singing voice signals and the frequency multiplication, and reverberation circuit 6 receives music signal and singing voice signals promotes speaker operation, audio correction circuit 3 receives the audio pulse Fo of frequency multiplier circuit 2 outputs, carry out audio calibration with central microprocessor CPU1 under programmed control, outputting standard scale frequency data are to true sound source control circuit 4; True sound source control circuit 4 receives the standard pronunciation order frequency data of audio correction circuit 3 outputs, under programmed control, export tone color sector address sign indicating number and scale bit address sign indicating number and rhythm drumbeat address code signal to true sounding circuit 5 with central microprocessor CPU, access in the true sounding circuit 5 music signal of various instrument playings of storage and rhythm drumbeat signal to reverberation circuit 6; True sounding circuit 5 is to connect memory by speech processing circuit to constitute.
Audio correction circuit 3 and true sound source control circuit 4 are that a shared central microprocessor CPU controls or controls with central microprocessor CPU1 and CPU2 respectively.
Audio correction circuit 3 is to connect memory I31 and code translator I32 by central microprocessor CPU1 through address bus, code translator I32 connects timer CTC3 counter I33 and output interface circuit I34 respectively, central microprocessor CPU1 connects memory I31 respectively through data bus, timer CTC3, counter I33 and output interface circuit I34, writing of CPU1 holds control timer CTC3 timing controlled to be connected to the break-make of the triple gate I35 of counter I33, allow counter I33 that the audio pulse of input is carried out sample count, the sampled data that termination memory I31 sum counter I33 reads the frequency data sum counter I33 in the memory I31 of reading of CPU1 compares, determine that the standard pronunciation order frequency data in the memory I31 export interface circuit I34 to, the look-at-me end of CPU1 connects confession by timer CTC3 output through not gate I36.The interior store data of the memory I31 of audio correction circuit 3 is by the standard pronunciation order frequency data of twelve-tone equal temperament and will comprises each standard pronunciation order frequency data frequency sector data that part overlaps between each adjacent frequency zone data.Data in the central microprocessor CPU1 of audio correction circuit 3 relatively are after having sampled for the first time, CPU1 reads the frequency zone data of reading in order sample frequency data and the memory I31 from counter I33 and compares, determine the frequency zone of sample frequency data correspondence, and these frequency zone data are deposited with in the CPU1, the standard pronunciation order frequency data in these frequency zone data are read send delivery outlet simultaneously; After having sampled for the second time, the sample frequency data second time that CPU1 reads counter I33 compare with frequency zone data last time that are deposited with in the CPU1, if these sample frequency data belong to the frequency zone that is deposited among the CPU1, then CPU1 send delivery outlet I34 the comparison of sampling for the third time again the standard pronunciation order frequency data in these frequency zone data, otherwise the frequency zone data that CPU1 just reads I31 in the above-mentioned memory in order with the second time sample frequency data compare, determine that the frequency zone of sample frequency data correspondence also is deposited with these frequency zone data in the CPU1 for the second time, make the fiducial value of sample frequency data for the third time, the standard pronunciation order frequency data in this frequency zone are read send delivery outlet I34 simultaneously; For the third time, the process that all repeats for the second time to sample, compare, deposit, export of going down for the 4th time is carried out audio calibration always.
True sound source control circuit 4 is to meet latch IC41 and read-only storage EPROM able to programme by central microprocessor CPU2 to carry out the program instruction data exchange, CPU2 OPADD signal and read-write connect tri-state gate circuit Q41, the Q42 of the output circuit I34 output terminal of tone color selector switch matrix circuit I41, rhythm type switch matrix circuit I42, audio correction circuit 3, the Enable Pin of Q43 respectively through code translator IC40 decoding output terminal, make tone color code, scale code, rhythm code input to data bus P0 for the CPU2 sampling through above-mentioned triple gate respectively; CPU2 samples respectively from the data bus P0 behind tone color code, the scale code, successively be decoded into corresponding tone color sector address sign indicating number, scale bit address sign indicating number and export on the data bus P0, CPU2 OPADD sign indicating number makes tone color sector address sign indicating number on the data bus P0 export the sector address port of true sounding circuit I52 to through latch IC44 through code translator IC40 decoding output gating latch IC44.A pulse signal control of CPU2 output double pulse generator I02 sends the control end of dipulse signal to true sounding circuit I52, make it stop former scale and call, prepare next tuning exponent number certificate, CPU2 OPADD sign indicating number is through code translator IC40 decoding output gating latch IC43, scale bit address sign indicating number on the data bus P0 makes true sounding circuit I52 send corresponding note signal through the bit address port that latch IC43 transports to true sounding circuit I52; CPU2 is decoded into corresponding cadence information group from data bus P0 up-sampling rhythm type code and is deposited with its internal register, when ultralow frequency pulse producer I03 output pulse signal to the middle broken ends of fractured bone TNTO of CPU2, a pulse signal control of CPU2 output double pulse generator I01 sends the control end of dipulse signal to true sounding circuit I51, its drumbeat that stops former rhythm is called, prepare to regulate next time and play the drumbeat data, the address code of CPU2 output is through code translator IC40 decoding output gating latch IC42, CPU2 output is deposited with data in its inner cadence information group to data bus P0, transport to the address port of true sounding circuit I51 through latch IC42, make it send corresponding drumbeat rhythm tone signal.Latch IC42 and IC43 selected in the true sound source control circuit 4 can be tri-state gate circuits.
True sounding circuit 5 is to be connected speech processing circuit IC51 with address data bus and memory IC52 carries out exchanges data by data bus, the command signal of true sound source control circuit 4 outputs is read the music data that the real instrument deposited among the memory IC52 is played to speech processing circuit IC51, through the digital-to-analog conversion outputting music signal of speech processing circuit IC51.Control end at speech processing circuit IC51 is connected to state selecting circuit IC53.Speech processing circuit IC51 in the true sounding circuit 5 is decomposed, quantizes typing or sense data by clock unit CTC5 control auto-adaptive increment control module ADM5, clock unit CTC5 is control address counting, index, termination unit simultaneously, time data and address date are through the interface I/O and the external memory IC52 swap data of rom memory, sense data is through digital-to-analog conversion and the output of wideband filtered unit, and clock unit CTC5 imports connecting interface unit I/O.
Acoustically controlled computerized accompaniment machine of the present invention carries out sampling correcting fast and accurately with the central microprocessor of audio correction circuit to people's song frequency signal, outputting standard scale frequency, overcome the cross-talk phenomenon that present acoustic control accompaniment device is occurred, with the control circuit control true sounding circuit that has central microprocessor, can access by the semaphore request after the song frequency correction rapidly and accurately and leave the music signal that the various real instruments in the true sounding circuit are played in, overcome the tone color feeling of unreality of simulation source of sound, improved widely the acoustic control accompaniment device the accompaniment effect it can choose at random or main string sound chord and rhythm drumbeat that various real instruments that array output changes by song are played, plate, sounds such as hairpin, it has the range wide ranges, tone color is abundant and true, can send the accompaniment music of multiple style, it is to adopt large scale integrated circuit basically, need not debug, can enhance productivity greatly, be convenient to produce in enormous quantities.It is applicable to that specialty performance, dancing hall accompaniment and entity and individual as the join in the chorus special electronic musical instrument of amusement, have the function that is better than playing Karaoka.
Fig. 1 is circuit theory diagrams of the present invention
Fig. 2 is fundamental frequency sorting circuit 1 circuit theory diagrams
Fig. 3 is frequency multiplier circuit 2 circuit theory diagrams
Fig. 4 is audio correction circuit 3 circuit theory diagrams
Fig. 5 is true sound source control circuit 4 circuit theory diagrams
Fig. 6 is true sounding circuit 5 circuit theory diagrams
Fig. 7 is the flow chart of CPU1
Fig. 8 is the flow chart of CPU2
The present invention is further detailed explanation below in conjunction with accompanying drawing:
Acoustically controlled computerized accompaniment machine of the present invention as shown in Figure 1, it is after receiving people's singing voice signals by sonic transducer MC, one the tunnel send reverberation circuit 6 to emit song, and reverberation circuit 6 promotion speaker operation are transported to through the music signal that fundamental frequency sorting circuit 1, frequency multiplier circuit 2, audio correction circuit 3, true sound source control circuit 4, true sounding circuit 5 carry out singing voice signals sorting frequency multiplication and correction accesses in the true sounding circuit 5 to input audio signal in another road.
Fundamental frequency sorting circuit 1 is as shown in Figure 2: singing voice signals by sonic transducer M input after, through capacitor C 1Be coupled to backward crossover stream amplifier IC 1aAmplify, amplified signal one tunnel is through C 3The compared with control device of delivering to reverberation circuit 6 sends song through preposition amplification and power amplification promotion loudspeaker again, and another road is through resistance R 8Deliver to bandpass amplifier IC 16, behind other higher hamonic wave frequency signal of filtering, deliver to comparer IC 1c, selecting its fundamental frequency signal fo, can to obtain peak value be that the fundamental frequency pulse signal fo of supply voltage inputs to frequency multiplier circuit 2.
Frequency multiplier circuit 2 as shown in Figure 3, it is in order to shorten the time of sample count, improves the response speed of song and musical sound, designing response speed as the present invention is 1/32 second, so the sampling time is 1/64 second,, select 64 frequencys multiplication for use so need singing in antiphonal style acoustic frequency signal to carry out frequency multiplication.In Fig. 2 circuit, adopt pll frequency synthesizer, with counter IC 22As frequency divider, the fundamental frequency pulse signal fo that imports is carried out 64 frequency divisions be inserted in Phase Lock Loop IC 23The output terminal of voltage controlled oscillator and the input end of phase comparator between, Phase Lock Loop IC 23Can carry out 64 frequencys multiplication accurately to the frequency of fundamental frequency signal fo of input, thereby obtain the audio pulse Fo of 64 times of fo at its output terminal.Input to audio correction circuit 3.
Present embodiment adopts CPU1 and PU2 to do the control of audio correction circuit 3 and true sound source control circuit 4 respectively.Audio correction circuit 3 is as shown in Figure 4: it is by central processor CPU 1, memory I 31, code translator I 32, timer CTC 3, counter I 33Output interface circuit I 34, triple gate I 35, not gate I 36Constitute triple gate I 35The audio pulse Fo of input termination frequency multiplier circuit 2 outputs.Acoustically controlled computerized accompaniment machine obtains pulse signal Fo frequently to chanteur's singing voice signals after over-sampling, sorting frequency multiplication, this signal inputs to triple gate I 35, central processor CPU 1 reset or start shooting after time constant is sent to timer CTC 3, simultaneously to counter I 33Carry out zero clearing, start timer CTC then 3The beginning timing, timer CTC 3Output low level makes triple gate I 35Conducting, this moment, audio pulse Fo inputed to counter I 33Count timer CTC 3Setting-up time arrives, and then its output high level makes triple gate I 35Turn-off, stop counter I 33To the counting of audio pulse Fo, while timer CTC 3Through not gate I 36Send (look-at-me) time to signal, after CPU1 responds this signal, to CPU1 from counter I 33Read count value.So far under the control of CPU1, finish once sampling.Memory I 31Adopt read-only memory EPOM, certain also memory of available other form.At memory I 31In deposit standard pronunciation order frequency data by 12 average rates, and will comprise that each standard order frequency data also are stored in memory I 31In, and overlap between each adjacent frequency zone data.CPU1 is through code translator I 32Read-out counter I 33In sample count value and memory I 31(EPROM) standard pronunciation order frequency data in the data field and frequency zone data compare in order, determine that the sample count value drops in certain frequency zone data field, and these frequency zone data are deposited with in the CPU1 send output circuit I with the standard pronunciation order frequency data in this section simultaneously in the register 34(Gao Siwei send mouth 1 to hang down four and send mouth 2), CPU1 starts timer CTC simultaneously 3Beginning is sampling next time, and outputting standard scale frequency data are through interface circuit I 34To true sound source control circuit 4 inputs, make true sounding circuit 5 send corresponding note signal, promote loudspeaker through reverberation circuit 6 and send music.After finishing above-mentioned sampling and relatively reading standard scale frequency, CPU1 to the processing of the data of sampling for the second time be will read earlier the second time sampled data with last time (for the first time) selected frequency zone data in the register in the CPU1 of being kept at compare and determine if the frequency zone data that sampled data exceeded last time and deposited the second time are then read memory I in order 31In other frequency data compare, determining the frequency zone data of sampled data correspondence for the second time, and these frequency zone data are deposited with in the register, the standard pronunciation order frequency of reading in this section send delivery outlet I 34Output; If the sample frequency data still drop in the frequency zone data of depositing for the first time for the second time, then the standard pronunciation order frequency send delivery outlet I for the first time 34Output, sampling for the third time more still repeats secondary process, goes down like this, has just finished frequency correction, only sends standard pronunciation order frequency signal always.
Audio correction circuit 3 of the present invention is to be connected CPU1 and memory I with data bus with address bus 31Code translator I 32Timer CTC 3, counter I 33Output interface circuit I 34Timer CTC 3Output termination not gate I 36The INT end (interrupt request) of control CPU1, timer CTC 3Control is connected to counter I 33The triple gate I of input end 35, as shown in Figure 3.
The audio calibration process is: at first at memory I 31Deposit among the EPROM according to the determined standard pronunciation order frequency of twelve-tone equal temperament table data, and the upper and lower bound frequency data that each standard pronunciation order frequency is included in a frequency zone are deposited in the memory.For example: the frequency zone data of sending out the B sound are 119HZ-129HZ, and the standard pronunciation order frequency is 123HZ, and these three frequency data constitute upper limit 129HZ, a lower limit 119HZ, and wherein 123HZ is among the bound.Equally, the frequency zone of sending out the C sound is that the standard pronunciation order frequency among lower limit 125HZ, upper limit 137HZ, the bound is 131HZ, sends out #Lower limit 133HZ, the upper limit 145HZ of C sound, the standard pronunciation order frequency among the bound is 139HZ or the like.Twelve-tone equal temperament standard pronunciation order frequency data are drawn among some said frequencies sector data.In general there is memory I 31In the bound frequency data of each frequency zone have only three to get final product, can reduce memory I like this 31Capacity, the bound frequency data of each frequency zone are artificial the settings, are that each side frequency sector data has part to overlap but a principle is arranged, as the upper limit 137HZ of above-mentioned C sound greater than sending out #The lower limit 133HZ of C sound, and the lower limit 125HZ that sends out the C sound so just deposits the data and the standard pronunciation order frequency data that overlap by frequency size order frequency zone data interlace less than upper limit 129HZ that sends out the B sound or the like in memory.
Start central processor CPU 1, with CPU1 control timer CTC 3Carry out timing sampling, read sampled data and above-mentioned memory I with CPU1 31In data compare, for the first time sample, compare, deposit, export, sample, compare, deposit, export the second time, or the like.This method as mentioned above.With the explanation of frequency data example, be 128HZ as the song frequency of sampling for the first time below, this is this nonstandard sound, and CPU1 reads back CPU1 in order from memory I 31Middle search rate sector data compares with 128HZ one by one, find out the frequency zone data of 125HZ and 137HZ, access the standard pronunciation order frequency 131HZ(C sound in this section) export sounding circuit to, simultaneously 125HZ and 137HZ are deposited with in the CPU1 in the register.If for the second time the sample frequency data are 137HZ(because of chanteur's cacoepy really or the instability that produces of instability or circuit make frequency shake, be offset), CPU1 read-out counter I at this moment 33In 137HZ and CPU in the 125HZ that deposits and 137HZ relatively, comparative result 137HZ still belongs to this section, CPU1 still accesses the 131HZ(pronunciation) send delivery outlet I 34, so just eliminated chanteur's cacoepy frequency jitter, shift phenomenon true or unstable or that cause by the instability of circuit generation.Have only when sample frequency data during greater than 137HZ or less than 125HZ, CPU1 just reads memory I in order 31In data compare with sample frequency data for the second time, if the sample frequency data are less than the then past little direction search of 125HZ for the second time, if greater than the then past big direction search of 137HZ, those bin frequencies data that find sample frequency data for the second time to belong to then these section bound frequency data are deposited with in the CPU1 in order to next time than than usefulness, and access the output of corresponding standard scale frequency data.The flow chart of CPU1 as shown in Figure 8, CPU1 to for the second time with the data processing method of post-sampling and the second time sampled data disposal route identical.Above-mentioned CPU1 reads memory I 31In the order of frequency zone data can be ascending or descending or compare according to frequency zone data of reading certain setting earlier by frequency distribution, if not belonging to this section does not just up search for by upper frequency limit, then down search for less than lower limit.All allow chanteur's pronunciation the error of certain limit to be arranged for each standard pronunciation order frequency the present invention as can be known from above-mentioned also automatically with error correction outputting standard scale frequency.Being 131HZ(standard scale when sending out the C sound as the chanteur) frequency error range that allows is 125-137HZ.That is to say that the inaccurate degree when allowing to send out the C sound is 137-125=12HZ.What illustrate a bit is: the inaccurate degree of permission has different values when different scale, and the high more value of being somebody's turn to do of scale frequency is just big more, and low more this value of scale frequency is just more little.The size of frequency overlap part is relevant with the scale frequency, the more little elimination cross-talk ability of ability strong more overlapping part value of the big more elimination cross-talk of this value is weak more.
Being noted that sample frequency is 32HZ in principle, is to use like this, and the preceding semiperiod samples in one-period, and the later half cycle is carried out data processing.Because the processing speed of CPU1 makes that soon sample frequency is non-standard 32HZ, the preceding semiperiod (sampling period) is the standard 32HZ semiperiod, later half cycle length, length depended on that the speed of CPU1 so sound signal need just can sample after 64 frequencys multiplication, otherwise can not get correct frequency numerical value.The error of the too high sampling of sample frequency is big more, the too low requirement that does not then catch up with speed.So it is that sample frequency is selected according to two indexs of sum of errors speed that the present invention has selected 32HZ.Audio pulse is exported accurate scale frequency data to true sound source control circuit 4 after audio correction circuit 3 samplings are relatively proofreaied and correct.True sound source control circuit 4 as shown in Figure 5, it is that CPU2 connects latch IC 41Carry out the exchange of programmed instruction logarithmic data with programable read only memory EPROM, at tone color selected on-off circuit I 41, rhythm type switch matrix I 42, audio correction circuit 3 I 34Output terminal is connected to tri-state gate circuit Q respectively 41, Q 42, Q 43, use CPU2 OPADD sign indicating number through code translator IC 40Output gating signal control triple gate Q 41, Q 42, Q 43, connect triple gate Q with data bus Po 41, Q 42, Q 43Output terminal and CPU2 and latch IC 42, IC 43IC 44, latch IC 43The I of output termination true sounding circuit 5 52The bit address port, latch IC 44The I of output termination true sounding circuit 5 52The sector address port, latch IC 42The I of output termination true sounding circuit 5 51Address port.Latch IC 42, IC 43, IC 44Gating signal by CPU2 OPADD sign indicating number through code translator IC 40Being decoded into gating signal provides, at the P of CPU2 17, P 16Output terminal meets double pulse generator I respectively 02, I 01, transport to the control end of true sounding circuit 5 respectively through phase inverter, true sounding circuit 5 is by the I that deposits rhythm drumbeat sound data (as drum, plate, hairpin equal rhythm sound data) 51With the I that deposits standard scale or complex tone or polyphonic ring tone data 52Constitute.Ultralow frequency pulse producer I 03Output meets the middle broken ends of fractured bone INTo of CPU.
The course of work of true sound source control circuit 4 is:
Start or reset after, the CPU2 tone color of reciprocally sampling is back and forth in order selected the Audiocode and the rhythm type code of code and audio correction circuit 3 outputs, and sampled result is made corresponding processing.
Ultralow frequency pulse producer I 03Send the INTo end (interrupt request end) that the low frequency rect.p. is sent to CPU2, CPU2 is not because of there being other Interrupt Process, holds and enters the interrupt run state immediately when effective so CPU2 samples INTo, and CPU2 will be at P in this state 16End produces a positive pulse with the software way, and this positive pulse is transported to double pulse generator I 01Produce two negative pulses, obtain two positive pulses again after anti-phase, it inputs to the I of true sounding circuit 51, turn-off the former drumbeat music of depositing, prepare simultaneously to send next drumbeat sound, CPU2 OPADD sign indicating number is to code translator IC then 40Translate gating signal and send latch IC 42With gating latch IC 42, the CPU2 data that will be deposited with in the rhythm drumbeat code data group in the CPU2 internal register are transported on the data bus Po then, and the data on the Po are by latch IC 42The I of warp let-off true sounding circuit 51, the I of true sounding circuit 51Accept this signal and just send new drumbeat sound, CPU2 returns interruption simultaneously.
CPU2 is to the sampling and the processing of tone color selection code, and CPU2 sends address signal and reads the RD signal to code translator IC 40, code translator IC 40The gating signal that translates is opened triple gate Q 41Make tone color translate code selectively and transport on the data bus Po, CPU2 is from data bus P.On read this signal after, be translated into true sounding circuit I by inside 52The sector address sign indicating number, the OPADD sign indicating number is to code translator IC then 40Translate gating signal and make latch IC 44By gating, the deferent segment address is to data bus P 0, P 0On data by latch IC 44Send true sounding circuit I 52The sector address port, thereby make true sounding circuit I 52Tone color changes.Sampling and processing that CPU2 encodes to the standard scale of audio correction circuit 3 outputs: CPU2 sends address signal and reads the RD signal to code translator IC 40, code translator IC 40The gating signal that translates is opened triple gate Q 43, make the scale coding transport to data bus P 0On, CPU2 is from data bus P 0On read signal, then scale coding is deciphered conversion, find out corresponding to the pronunciation code (offset address) of scale coding and be sent to data bus P 0, and at P 17End produces a positive pulse with software approach, and this positive pulse is transported to double pulse generator I 02Produce two negative pulses, after anti-phase, obtain two positive pulses, it inputs to true sounding circuit I 52Turn-off the former sound of depositing, prepare to send next sound.Export WR signal and address code then to code translator IC 40, code translator IC 40The gating signal that translates is sent latch IC 43, make the pronunciation code through data bus P 0With latch IC 43Be sent to true sounding circuit I 52Send the sound of new correspondence, finish above-mentioned work after, latch IC 43Return latch mode by strobe state.
CPU2 sends address signal and reads the RD signal to code translator IC the sampling and the processing of rhythm type code: CPU2 40, code translator IC 40The gating signal that translates is opened triple gate Q 42Make the rhythm type code transport to data bus P 0On, CPU2 is from data bus P 0On read signal, just finish sampling to the rhythm type code, CPU2 is translated into corresponding cadence information group with the rhythm type code and is stored in the CPU2 internal register, so far CPU2 has just finished sampling and the processing to rhythm type.
Deposit what data in the cadence information group by the rhythm type decision,, four data are arranged then such as four beat, triple time then has 3 data, and each data is all represented the drumbeat type of this bat, such as being big drum or hairpin or the like, because the drumbeat type is less, so true source of sound I 51Do not need jumbo memory, promptly do not need sector address yet, only with 16 bit address just, these 16 bit address can access 15 kinds of drumbeat sound (empty output is done in one of them address) in general, and these 15 kinds of drumbeat sound can become profuse rhythm type through permutation and combination.
Should illustrate: at true sounding circuit I 51In only deposit various types of drumbeat sound, do not deposit the rhythm sound, access different drumbeat sound successively and form various types of rhythm with combination by different arrangements by CPU2, such as, on behalf of tom-tom, 0002, data 0001 represent hairpin sound, if select triple time, big drum one hairpin one hairpin, so the first time INTo interrupt that CPU2 send true source of sound I with 0001 when effective 51, access tom-tom, send " Peng " (by force), INTo interrupts when effective in the second time, and CPU2 is with 0002 I that send true sounding circuit 51Send " hairpin " (weak), INTo interrupts when effective for the third time, and CPU2 is with 0002 I that send true sounding circuit 51Send " hairpin " (weak) ... repeat successively, like this I of true sounding circuit 51Just send triple time rhythm sound, Peng Chaichai, Peng Chaichai ...Corresponding cadence information group is 0001,0002,0002.The course of work of CPU2 is: tone color is selected the sampling of code and sampling and the processing that processing, scale are encoded ... repeat successively, if run into INTo when effective, CPU2 will interrupt above work and carry out Interrupt Process immediately.
I from true sounding circuit 51And I 52In access scale or complex tone or polyphonic ring tone data-signal, and data-signal such as rhythm drumbeat, plate, hairpin is transported to reverberation circuit 6 behind D/A switch and broadband filter.
True sounding circuit 5 as shown in Figure 6, its music method for generation be at first with the standard scale of various instrument playings or by the various rhythm drums of beat rule, hairpin, plate, paper money hammer etc. by special machine as each scale data-signal being deposited in the memory in order to calling with CPU control voice processing integrated circuit.Memory adopts read-only memory EPROM.The scale data and the bar and rhythm data of under the output order control of true sound source control circuit 4, reading the various instrument playings that leave in the memory during work, behind D/A switch, the continuous synthetic melody music signal of exporting the scale of desired various instrument playings or rhythm and metre being arranged, read and to realize with two kinds of methods for the rhythm and metre of music, the first deposits among the EPROM by disco, Waltz equal rhythm, programmed instruction with true sound source control circuit 4 is read in chronological order, can be formed with the rhythmical music signal of beat; It two is to deposit single percussion music scale in EPROM in.As drumbeat, plate, hairpin, read single percussion music scale among the EPROM with address counting instruction in chronological order with the programmed instruction of true sound source control circuit 4, constitute the music signal of rhythm and metre.The advantage that this method is handled is to reduce the memory capacity of EPROM.
True sounding circuit 5 as shown in Figure 6.True sounding circuit 5 of the present invention is by state selecting circuit IC 53Speech processing circuit IC 51, memory IC 52Constitute.State selecting circuit IC 53Be to select circuit, automatic mode selection circuit, stop button Kc and reset button K by the recording playback sound DConstitute.As shown in Figure 6.They are to meet speech processing circuit IC respectively 51Control end, change IC with pulse signal 51Duty.At speech processing circuit IC 51Input termination signal input acoustic pickup MIC, also can be record input in the circuit, but the signal input should be use the typing special machine, programming is read in as CPU, recording playback sound selection circuit is by K switch ASerial connection Sheffer stroke gate and monostable trigger output stable pulse signal constitute, and automatic mode selection circuit is to be made of K switch g serial connection Sheffer stroke gate and monostable trigger output stable pulse signal.All connecing Sheffer stroke gate and monostable trigger output stable pulse signal in each state selecting circuit constitutes.In each state selecting circuit, all be connected to signal lamp L, as shown in Figure 6, L 2, L 1Indicate button K respectively A, K BWhether conform to, otherwise press once again, otherwise press once reset button K again with the requirement operating mode DBe the usefulness of zero clearing.Speech processing circuit IC 51Be by clock unit CTC 5Interface I/O, auto-adaptive increment control module ADM 5, address counter, termination electricity location deposits, the interface I/O of modifier register, D/A switch and wideband filtered and memory one ROM constitutes.As shown in Figure 6, it can adopt large scale integrated circuit to constitute.The data typing is after the signal input, and through the control of the ADM of inside auto-adaptive increment with decompose syntheticly, the interface I/O by ROM produces to external storage IC 52(EPROM) storage is got up, and the above-mentioned ADM course of work is strict with clock CTC 5Carry out under the control, meanwhile, whole location, index are counted at clock unit CTC in the address 5Control also is being external memory IC down 52The counting of each the sector address amount of depositing in (EPROM), the direct and external memory IC of the length of this gate time 52The time length of the capacity of EPROM and a typing etc. are relevant.Will divide the situation of segment record then need suspend by a Kc for signal, record is in next section again, and the address counting just begins counting from new storage again.Speech processing circuit IC 51With external memory IC 52Between be connected with address data bus with parallel data bus line.D in recording process 0-D 7Parallel data and A 0-A 14The constantly past IC of data that address date is all decomposed according to the typing signal 52(EPROM) send.The present invention adopts one group of EPROM to deposit the I of the standard pronunciation exponent number certificate of various real instruments performances 52, another group EPROM deposits the I of rhythm drumbeat (as drum, plate hairpin) data 51Form.So just, all processes of having formed typing.Again before recording at every turn, all should be by a K DButton carries out zero clearing.The playback process is: at first carry out state and select.Press K AButton makes lamp L 2Extinguish, enter the playback waiting status, the sector address sign indicating number of at this moment true sound source control circuit 4 output tone colors and bit address sign indicating number with rhythm drumbeat address code through IC 51Interface circuit I/O input instruction data give memory IC 52, speech processing circuit IC 51Receive the instruction back by clock unit CTC 5Give ADM by instruction 5One tunnel instruction is changeed ROM interface I/O output from IC by the clock control address code 52Access corresponding standard scale data among the memory EPROM.A succession of scale of selected music continuously appears in the instruction of sending according to program according to the beat rule like this, forms melody sound clocklike.In like manner the mode that accesses of rhythm also is instruction the clapping as 1/4 bat, 2/4 according to selected section internal memory by true sound source control circuit 4 outputs ... the drumbeat cadence information accesses formation, the process of playing in the recording playback tablet of regulating identical with the process that accesses of above-mentioned music, memory IC 52Adopt programable read only memory EPROM.The present invention adopts the chip parallel connection of four 1M.EPROM memory database available dedicated machine carries out batch duplicating.At speech processing circuit IC 51Output and memory IC 52Also be connected to latch and code translator between the EPROM and be the usefulness of database section in the selective EPOM, as shown in Figure 6, the data that access by command request are through IC 51After interior ADM is synthetic, again behind broadband filter, export reverberation circuit 6 to through D/A switch.Reverberation circuit 6 is to be made of contrast control pre-amplification circuit, power amplification circuit.Singing voice signals and music signal are transported to contrast control after pre-amplification circuit amplifies, and carry out power amplification through power amplification circuit again and promote speaker operation, send colourful accompaniment musical sound of tone color and song.

Claims (9)

1, a kind of acoustically controlled computerized accompaniment machine, it comprises that fundamental frequency sorting circuit (1) and frequency multiplier circuit (2) select output audio pulse signal Fo after the fundamental frequency signal fo of singing voice signals and the frequency multiplication, and reverberation circuit (6) receives music signal and singing voice signals promotes speaker operation, it is characterized in that:
Audio correction circuit (3) receives the audio pulse Fo of frequency multiplier circuit (2) output, carries out audio calibration with central microprocessor CPU under programmed control, and outputting standard scale frequency data are to true sound source control circuit (4);
True sound source control circuit (4) receives the standard pronunciation order frequency data of audio correction circuit (3) output, exports tone color sector address sign indicating number and scale bit address sign indicating number and rhythm drumbeat signal to reverberation circuit (6) under programmed control with central microprocessor CPU;
True sounding circuit (5) is to connect memory by speech processing circuit to constitute.
2,, it is characterized in that audio correction circuit (3) and true sound source control circuit (4) are that a shared central microprocessor CPU controls or controls with central microprocessor CPU1 and CPU2 respectively according to the described accompaniment device of claim 1.
3,, it is characterized in that audio correction circuit (3) is to connect memory I by central microprocessor CPU1 through address bus according to the described acoustically controlled computerized accompaniment machine of claim 1 31, and code translator I 32, code translator I 32Connect timer CTC respectively 3Counter I 33And output interface circuit I 34, central microprocessor CPU1 connects memory I respectively through data bus 31, timer CTC 3, counter I 33And output interface circuit I 34, CPU1 write end control timer CTC 3Timing controlled is connected to counter I 33Triple gate I 35Break-make, allow counter I 33Audio pulse to input carries out sample count, and CPU1 reads termination memory I 31Sum counter I 33Read memory I 31Interior frequency data sum counter I 33Sampled data compare, determine memory I 31Interior standard pronunciation order frequency data export interface circuit I to 34, the look-at-me end of CPU1 is by timer CTC 3Output is through not gate I 36Connect confession.
4, accompaniment device according to claim 3 is characterized in that the memory I of audio correction circuit (3) 31Interior store data is by the standard pronunciation order frequency data of twelve-tone equal temperament and will comprises each standard pronunciation order frequency data frequency sector data that part overlaps between each adjacent frequency zone data.
5, accompaniment device according to claim 3 is characterized in that the interior data of central microprocessor CPU1 of audio correction circuit (3) relatively are that CPU1 is from counter I after having sampled for the first time 33Read sample frequency data and memory I 31In the frequency zone data of reading in order compare, determine the frequency zone of sample frequency data correspondence, and these frequency zone data be deposited with in the CPU1, the standard pronunciation order frequency data in these frequency zone data are read send delivery outlet simultaneously;
After having sampled for the second time, CPU1 reads counter I 33The sample frequency data second time compare with frequency zone data last time that are deposited with in the CPU1, if these sample frequency data belong to the frequency zone that is deposited among the CPU1, then CPU1 send delivery outlet I the standard pronunciation order frequency data in these frequency zone data 34The comparison of sampling for the third time again, otherwise CPU1 just reads I in the above-mentioned memory in order 31The frequency zone data compare with sample frequency data for the second time, determine that the frequency zone of sample frequency data correspondence also is deposited with these frequency zone data in the CPU1 for the second time, make the fiducial value of sample frequency data for the third time, the standard pronunciation order frequency data in this frequency zone are read send delivery outlet I simultaneously 34;
For the third time, the process that all repeats for the second time to sample, compare, deposit, export of going down for the 4th time is carried out audio calibration always.
6,, it is characterized in that true sound source control circuit (4) is to meet latch IC by central microprocessor CPU2 according to the described accompaniment device of claim 1 41Carry out the program instruction data exchange with programable read only memory EPROM,
CPU2 OPADD signal and read-write are through code translator IC 40The decoding output terminal is connected to tone color selector switch matrix circuit I respectively 41, rhythm type switch matrix circuit I 42The output circuit I of audio correction circuit (3) 34, output terminal tri-state gate circuit Q 41, Q 42, Q 43Enable Pin, make tone color code, scale code input to data bus P through above-mentioned triple gate respectively.For the CPU2 sampling;
CPU2 is from data bus P 0On sample respectively behind tone color code, the scale code, successively be decoded into corresponding tone color sector address sign indicating number, scale bit address sign indicating number and export data bus P to 0Last CPU2 OPADD sign indicating number is through code translator IC 40Decoding output gating latch IC 44Make data bus P 0On tone color sector address sign indicating number through latch IC 44Transport to true sounding circuit I 52The sector address port.A pulse signal control of CPU2 output double pulse generator I 02Send the dipulse signal to true sounding circuit I 52Control end, make it stop former scale and call, prepare next tuning exponent number certificate, CPU2 OPADD sign indicating number is through code translator IC 40Decoding output gating latch IC 43, data bus P 0On scale bit address sign indicating number through latch IC 43Transport to true sounding circuit I 52The bit address port, make true sounding circuit I 52Send corresponding note signal;
CPU2 is from data bus P 0Up-sampling rhythm type code is decoded into corresponding cadence information group and is deposited with in its internal register, as ultralow frequency pulse producer I 03Output pulse signal is to the middle broken ends of fractured bone TMT of CPU2, and pulse signal of CPU2 output is controlled double pulse generator I 01Send the dipulse signal to true sounding circuit I 51Control end, its drumbeat that stops former rhythm is called prepare to regulate next time and plays the drumbeat data, the address code of CPU2 output is through code translator IC 40Decoding output gating latch IC 42, CPU2 output is deposited with data in its inner cadence information group to data bus P 0On, through latch IC 42Transport to true sounding circuit I 51Address port, make it send corresponding drumbeat rhythm tone signal.
7,, it is characterized in that latch IC selected in its sound source control circuit (4) according to the described accompaniment device of claim 6 42And IC 43It can be tri-state gate circuit.
8,, it is characterized in that true sounding circuit (5) is to be connected speech processing circuit IC with address data bus by data bus according to the described accompaniment device of claim 1 51With memory IC 52Carry out exchanges data, the command signal of true sound source control circuit (4) output is to speech processing circuit IC 51Read memory IC 52In the music data played of the real instrument deposited, through speech processing circuit IC 51Digital-to-analog conversion outputting music signal.At speech processing circuit IC 51Control end be connected to state selecting circuit IC 53
9, described according to Claim 8 accompaniment device is characterized in that the speech processing circuit IC in the true sounding circuit (5) 51Be by clock unit CTC 5Control auto-adaptive increment control module ADM 5Typing or sense data are decomposed, quantized, clock unit CTC 5Control address is counted, indexes, is stopped the unit simultaneously, and time data and address date are through the interface I/O and the external memory IC of rom memory 52Swap data, sense data is through digital-to-analog conversion and the output of wideband filtered unit, clock unit CTC 5Input connecting interface unit I/O.
CN93110605A 1993-03-06 1993-03-06 Sound-controlled computer accompanying machine Expired - Fee Related CN1034196C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN93110605A CN1034196C (en) 1993-03-06 1993-03-06 Sound-controlled computer accompanying machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN93110605A CN1034196C (en) 1993-03-06 1993-03-06 Sound-controlled computer accompanying machine

Publications (2)

Publication Number Publication Date
CN1077045A true CN1077045A (en) 1993-10-06
CN1034196C CN1034196C (en) 1997-03-05

Family

ID=4988453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN93110605A Expired - Fee Related CN1034196C (en) 1993-03-06 1993-03-06 Sound-controlled computer accompanying machine

Country Status (1)

Country Link
CN (1) CN1034196C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108550361A (en) * 2018-06-26 2018-09-18 宗仁科技(平潭)有限公司 A kind of imitative acoustic-electric road
CN108615429A (en) * 2018-06-26 2018-10-02 宗仁科技(平潭)有限公司 A kind of integrated circuit and device for shot and the acoustical simulation that explodes
CN112825244A (en) * 2019-11-21 2021-05-21 阿里巴巴集团控股有限公司 Dubbing music audio generation method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2102555U (en) * 1991-09-24 1992-04-22 湘潭市新产品开发研究所 Sound controlled automatic accompany machine

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108550361A (en) * 2018-06-26 2018-09-18 宗仁科技(平潭)有限公司 A kind of imitative acoustic-electric road
CN108615429A (en) * 2018-06-26 2018-10-02 宗仁科技(平潭)有限公司 A kind of integrated circuit and device for shot and the acoustical simulation that explodes
CN108550361B (en) * 2018-06-26 2024-03-19 宗仁科技(平潭)股份有限公司 Sound simulating circuit
CN108615429B (en) * 2018-06-26 2024-03-22 宗仁科技(平潭)股份有限公司 Integrated circuit and device for gunshot and explosion simulator
CN112825244A (en) * 2019-11-21 2021-05-21 阿里巴巴集团控股有限公司 Dubbing music audio generation method and apparatus
CN112825244B (en) * 2019-11-21 2024-04-12 阿里巴巴集团控股有限公司 Music audio generation method and device

Also Published As

Publication number Publication date
CN1034196C (en) 1997-03-05

Similar Documents

Publication Publication Date Title
JP3271282B2 (en) Automatic melody generator
NL193006C (en) Method and device for improved automatic harmonization.
US4433601A (en) Orchestral accompaniment techniques
US4641564A (en) Musical tone producing device of waveform memory readout type
US4682526A (en) Accompaniment note selection method
CN1034196C (en) Sound-controlled computer accompanying machine
CN2149002Y (en) Sound-controlled computer accompanying machine
US4719834A (en) Enhanced characteristics musical instrument
CN112420003B (en) Accompaniment generation method and device, electronic equipment and computer readable storage medium
US4542675A (en) Automatic tempo set
CN1025521C (en) audio correction method and audio corrector
CN1036738C (en) Sound source generating method and device
CN1034615C (en) Sound source generating method and device
JPH0631977B2 (en) Electronic musical instrument
CN2159606Y (en) audio corrector
US4311077A (en) Electronic musical instrument chord correction techniques
JPH01321492A (en) Electronic musical instrument
CN1027994C (en) Control method and control device for true sound source circuit
JP2929498B2 (en) Electronic musical instrument
CN1028684C (en) Sound controlled automatic accompaniment device
CN2146766Y (en) True sound source circuit control device
US4403536A (en) Microcomputer interfaced electronic organ
US4253366A (en) Large scale integrated circuit chip for an electronic organ
JPS60262193A (en) Automatic accompanying apparatus
JPS5988795A (en) Tempo controller for automatically performing machine

Legal Events

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