CN114745632A - Volume control method, device, equipment and medium for digital sound production - Google Patents

Volume control method, device, equipment and medium for digital sound production Download PDF

Info

Publication number
CN114745632A
CN114745632A CN202210225048.7A CN202210225048A CN114745632A CN 114745632 A CN114745632 A CN 114745632A CN 202210225048 A CN202210225048 A CN 202210225048A CN 114745632 A CN114745632 A CN 114745632A
Authority
CN
China
Prior art keywords
volume
digital
adjusting
audio data
sound
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.)
Pending
Application number
CN202210225048.7A
Other languages
Chinese (zh)
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.)
Earth Mountain Suzhou Microelectronics Technology Co ltd
Original Assignee
Earth Mountain Suzhou Microelectronics Technology Co ltd
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 Earth Mountain Suzhou Microelectronics Technology Co ltd filed Critical Earth Mountain Suzhou Microelectronics Technology Co ltd
Priority to CN202210225048.7A priority Critical patent/CN114745632A/en
Publication of CN114745632A publication Critical patent/CN114745632A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a volume control method, a volume control device, volume control equipment and a volume control medium for digital sound production, relates to the technical field of digital sound production, and is used for solving the problem that the sound quality is reduced when the volume of the digital sound production is adjusted in the prior art. The method comprises the following steps: acquiring digital audio data to be processed of a digital loudspeaker, and performing DSR (dedicated short range) preprocessing on the digital audio data to be processed to obtain a plurality of paths of quantized audio digital streams; setting a volume gear of a sound signal of the digital loudspeaker according to the number of the transduction elements participating in driving in each path of quantized audio digital stream; and the volume adjustment of the sound signal is completed by adjusting the number of the transduction elements participating in driving in each path of quantized audio digital stream. The volume control of digital sounding is realized based on the number of the transduction elements, a digital-to-analog converter is not needed, and the volume of the digital sounding can be adjusted under the condition of not reducing the tone quality.

Description

Volume control method, device, equipment and medium for digital sound production
Technical Field
The invention relates to the technical field of digital sound production, in particular to a volume control method, device, equipment and medium for digital sound production.
Background
The loudspeaker is a transducer for converting an electric signal into an acoustic signal, and the quality of the loudspeaker has great influence on the sound quality. The loudspeaker is the weakest component in the audio equipment, and is the most important component for the audio effect. Loudspeakers are of a wide variety and vary widely in price. The audio frequency electric energy makes the paper cone or the diaphragm vibrate and generate resonance (resonance) with the surrounding air through electromagnetic, piezoelectric or electrostatic effect to make sound.
Digital sound is sometimes referred to as digital audio. Digital sound is sound that is recorded, stored, edited, compressed, restored or played by using a digital technology. The method has the characteristics of convenient storage, low storage cost, small distortion, very convenient editing and processing and the like.
In practical application, the sound of the analog loudspeaker is generated by pushing air to generate sound through analog movement of the vibrating diaphragm, a digital-to-analog converter is needed in the sound generation principle of the analog loudspeaker, the volume control of the analog loudspeaker is mainly adjusted through a power amplifier, and the volume of current loaded to a voice coil is specifically controlled to achieve analog volume adjustment. At present, speakers on the market are all analog speakers, and digital speakers and digital sound production chips gradually enter the speaker market by virtue of digital superiority.
The existing volume control scheme of digital speaker has the defect of sound quality reduction, so it is urgently needed to provide a reliable volume control scheme for digital sound production.
Disclosure of Invention
The invention aims to provide a volume control method, a volume control device, equipment and a medium for digital sound production, which are used for solving the problem of sound quality reduction during volume adjustment of digital sound production in the prior art.
In order to achieve the above purpose, the invention provides the following technical scheme:
in a first aspect, the present invention provides a volume control method for digital sound production, including:
acquiring to-be-processed digital audio data of the digital loudspeaker;
DSR preprocessing is carried out on the digital audio data to be processed to obtain multi-path quantized audio digital streams;
setting a volume gear of a sound signal of the digital loudspeaker according to the number of transducer elements participating in driving in each quantized audio digital stream;
and adjusting the volume of the sound signal by adjusting the number of the transduction elements participating in driving in each path of quantized audio digital stream.
In a second aspect, the present invention provides a volume control device for digital sound production, comprising:
the to-be-processed digital audio data acquisition module is used for acquiring to-be-processed digital audio data of the digital loudspeaker;
the DSR processing module is used for carrying out DSR preprocessing on the digital audio data to be processed to obtain a plurality of paths of quantized audio digital streams;
the volume gear setting module is used for setting the volume gear of the sound signal of the digital loudspeaker according to the number of the energy conversion elements participating in driving in each path of quantized audio digital stream;
and the volume adjusting module is used for adjusting the volume of the sound signal by adjusting the number of the transducer elements involved in driving in each path of quantized audio digital stream.
In a third aspect, the present invention provides a volume control device for digital sound production, comprising:
a communication unit/communication interface for acquiring to-be-processed digital audio data of the digital speaker;
the processing unit/processor is used for carrying out DSR preprocessing on the digital audio data to be processed to obtain a plurality of paths of quantized audio digital streams;
setting a volume gear of a sound signal of the digital loudspeaker according to the number of transducer elements participating in driving in each quantized audio digital stream;
and adjusting the volume of the sound signal by adjusting the number of the transduction elements participating in driving in each quantized audio digital stream.
In a fourth aspect, the present invention provides a computer storage medium having instructions stored therein, which when executed, implement the above-mentioned volume control method for digital sound production.
Compared with the prior art, the volume control scheme for digital sound production obtains multi-channel quantized audio digital streams by obtaining digital audio data to be processed of a digital loudspeaker and grouping the digital audio data according to the number of transducer elements in the digital loudspeaker; setting a volume gear of a sound signal of the digital loudspeaker according to the number of the transduction elements participating in driving in each path of quantized audio digital stream; and the volume adjustment of the sound signal is completed by adjusting the number of the transduction elements participating in driving in each path of quantized audio digital stream. The scheme realizes volume control of digital sound production based on the number of the transduction elements, does not need a digital-to-analog converter, and can realize volume adjustment of digital sound production under the condition of not reducing sound quality.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic diagram of an overall framework implementation of a volume control method for digital sound production provided in an embodiment of the present specification;
fig. 2 is a flow chart of a method for controlling volume of a digital sound according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a digital sound volume control device provided in an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a volume control device for digital sound production according to an embodiment of the present disclosure.
Detailed Description
In order to facilitate clear description of technical solutions of the embodiments of the present invention, in the embodiments of the present invention, terms such as "first" and "second" are used to distinguish the same items or similar items having substantially the same functions and actions. For example, the first threshold and the second threshold are only used for distinguishing different thresholds, and the sequence order of the thresholds is not limited. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It is to be understood that the terms "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the present invention, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a and b combination, a and c combination, b and c combination, or a, b and c combination, wherein a, b and c can be single or multiple.
Before describing the embodiments of the present invention, the related terms related to the embodiments of the present invention are first explained as follows:
micro Electro Mechanical Systems (MEMS) are micro integrated Systems that use Integrated Circuit (IC) fabrication techniques and micro-fabrication techniques to fabricate micro sensors, micro actuators, etc. on one or more chips. A typical MEMS consists of sensors, information processing units, actuators, and communication/interface units, among others. The input signal is a physical signal, is converted into an electric signal through a sensor, and is acted with the outside through an actuator after signal processing (analog or/and digital). Each microsystem may communicate with other microsystems using digital or analog signals (physical quantities, electrical, optical, magnetic, etc.).
With the development of MEMS manufacturing processes, multi-pixel speaker sound units can be mass-manufactured on one MEMS chip. The loudspeakers used in the market at present are almost all analog loudspeakers, and the loudspeakers push air by controlling the movement of a vibrating diaphragm so as to realize analog sound production. Precise control of diaphragm motion is difficult to achieve, especially when the speaker is miniaturized. Therefore, digital speakers and digital sound chips are gradually entering the speaker market by virtue of their digital superiority, and then, in digital sound production, adjustment of volume is a scheme requiring further research.
Based on the scheme, the volume control scheme for digital sound production is applicable to a digital loudspeaker system, the sound production principle of the digital sound production is different from that of an analog loudspeaker in nature, and a digital-to-analog converter is not needed when the volume is regulated in the digital sound production process of the scheme. The existing volume control scheme of the digital loudspeaker can cause the number of the participated pixels to be reduced, thereby reducing the sound pressure level, causing the signal to noise ratio to be reduced, reducing the volume, and causing the defects of volume reduction and sound quality reduction when the sound quality of the sound is obviously reduced.
Next, the scheme provided by the embodiments of the present specification will be described with reference to the accompanying drawings:
fig. 1 is a schematic diagram of an overall framework implementation of a volume control method for digital sound production according to an embodiment of the present disclosure. As shown in fig. 1, the system may include:
ASIC chip 100 and speaker array 110. The ASIC chip 100 includes a digital sound reconstruction module 101, a multi-channel quantized audio digital stream 102, a driving module 103, and a volume control module 104. Here, since Digital Sound Reconstruction (DSR) is used for short, the Digital sound reconstruction module 101 may also be referred to as a DSR module.
The sound source in fig. 1 is used as the input end of the whole system, and the format of the sound source can be various digital sound files. Such as WAV, MP3, AIF, etc. The input files with different formats have PCM data with different bits and different sampling frequencies and also have data with DSD format. Before entering DSR module 101, incoming digital sound files of different formats may be converted to PCM data in a common format, such as 16 bits, before being passed to DSR module 101. PCM data in a common audio source format, such as 24Bit, 44.1Hz, and sends the audio data in the common format to DSR module 101; the DSR module 101 may perform Sigma-Delta tones on audio data in a common formatMaking and extracting operation to obtain multi-channel quantized audio digital streams, and sending the multi-channel quantized audio digital streams to the driving module 103; the driving module 103 can convert the multiple quantized audio digital streams into driving electric signals; the driving electric signal is used for driving the transduction element array to obtain an acoustic signal. The DSR module processes the digital signals divided into N channels, each channel of digital signals drives one channel of transduction element, and the multiple transduction elements reconstruct the sound waveform of the sound source to realize digital sound playing. The transduction element number control scheme realizes the control of the transduction elements at K gears in each path of signal, and a user sets corresponding volume gears and transmits the volume gears to the digital volume control module 104 to control the transduction elements at the corresponding gears to work. The number of the transduction elements driven by each path of signal is digitally controlled, and the volume is required to be adjusted when the volume of the sound signal is adjusted by digital sound. Where K may be equal to N, or K and N may be set exponentially, for example: the transducer element columns corresponding to the K gears can also be set in an exponential form: 20、21、22……2k
In the system of fig. 1, the sound production of the digital speaker is a digital direct sound production of a plurality of transducer elements sound pulses. Unlike the sounding principle of analog loudspeakers, which is inherently different, digital-to-analog converters are not required. The scheme provides an N x K transduction element array mode, wherein N transduction elements are used for guaranteeing the sound production tone quality of the digital loudspeaker, K elements in each path of information are used for controlling the volume, and the volume of the digital sound production chip can be adjusted under the condition that the tone quality is not reduced. The specific implementation steps can be described in detail by combining the attached drawings of the specification:
fig. 2 is a flowchart of a method for controlling volume of a digital sound according to an embodiment of the present disclosure. From the program perspective, the execution subject of the flow may be a server cluster or a processor corresponding to the digital sound volume control system; taking a server cluster as an example, the server cluster may include various virtual modules in the system, so as to implement volume adjustment for digital sound generation after processing based on received audio data. In practical applications, the speaker needs to be applied to various devices for sound production, such as: portable terminals, household appliances or other intelligent terminals. Portable terminal can be wearable equipment such as intelligent glasses, intelligent wrist-watch, intelligent bracelet, intelligent dress, other intelligent terminal can be: cinema terminal, desktop computer, not portable terminal equipment. For example: the cinema terminal can comprise a plurality of loudspeakers with different sound channels, and the computer can comprise a left sound channel loudspeaker and a right sound channel loudspeaker. The intelligent terminal can also be a smart phone, a tablet computer, a palm computer and the like. In practical application, the terminal can be connected with the server in a Bluetooth mode, a wireless network mode, a mobile network mode and the like, and therefore volume adjustment of the digital loudspeaker is achieved.
As shown in fig. 2, the process may include the following steps:
step 210: and acquiring to-be-processed digital audio data of the digital loudspeaker.
It should be noted that the "digital audio data to be processed" in this step may be unprocessed audio source data, or may be preprocessed data that has not been subjected to packet extraction. Digital speakers produce sound digitally, unlike analog sound, and do not require a digital-to-analog converter.
For example: the preprocessing can be performed by a device with a digital audio decoding and converting function, and can convert an input sound digital stream into audio data with a specific Bit and a specific sampling frequency. Such as 16Bit, 44.1Hz PCM data. The process includes conversion of the quantization Bit and conversion of the sampling frequency, respectively. In this regard, the examples in this specification are not particularly limited thereto.
Step 220: and carrying out DSR preprocessing on the digital audio data to be processed to obtain a plurality of paths of quantized audio digital streams.
The digital loudspeaker and the digital sound production chip can mainly realize direct digital sound production through Digital Sound Reconstruction (DSR) technology, the digital loudspeaker generally comprises N transduction elements, and the size of the number N of the transduction elements is generally related to the sound quality of the reconstructed sound.
The number of transducer elements in a loudspeaker may be mapped to the volume setting in advance according to a certain characteristic (e.g., number of columns) and the number of intervals may be extracted when grouped according to a certain characteristic.
Step 230: and setting the volume gear of the sound signal of the digital loudspeaker according to the number of the transducer elements which are involved in driving in each quantized audio digital stream.
In setting the volume level, to facilitate adjusting the volume, the volume level may be set according to the number of transducing elements, for example: the number of the transduction elements in each quantized audio digital stream corresponds to an adjustable volume gear, that is, if the number of the transduction elements in each quantized audio digital stream is 5, the adjustable volume gear may be 5. Of course, this is only one embodiment of the present solution, and the protection range of the present solution is not affected, and in practical applications, it is only required to ensure that the volume can be adjusted according to the number of the transducer elements in each quantized audio digital stream, and the corresponding relationship can be set according to actual situations.
Step 240: and adjusting the volume of the sound signal by adjusting the number of the transduction elements participating in driving in each path of quantized audio digital stream.
In practical implementation, it may be an N × K pixel transducer array pattern, where N transducer elements are used to ensure the sound quality of the digital speaker, and K elements in each digital stream are used to control the volume.
The method of fig. 2 obtains multiple quantized audio digital streams by obtaining digital audio data to be processed of a digital speaker and grouping the digital audio data according to the number of transducing elements in the digital speaker; setting a volume gear of a sound signal of the digital loudspeaker according to the number of the transduction elements participating in driving in each path of quantized audio digital stream; the volume adjustment of the sound signals is completed by adjusting the number of the transduction elements participating in driving in each quantized audio digital stream. The scheme realizes volume control of digital sound production based on the number of the transduction elements, does not need a digital-to-analog converter, and can realize volume adjustment of digital sound production under the condition of not reducing sound quality.
Based on the method of fig. 2, the embodiments of the present specification also provide some specific implementations of the method, which are described below.
Optionally, when step 240 in fig. 2 is actually implemented, the following implementation method may be specifically used to implement:
the volume adjustment instruction may be sent by the server, and in practical application, the volume adjustment instruction may be sent to the server after the information acquisition module acquires the trigger information, and the server generates the volume adjustment instruction based on the trigger information. For example: the trigger information may include key information for indicating volume adjustment, the key may be a hardware key for volume adjustment or a virtual key for adjusting volume in a touch plane (a floating ball in a screen or a virtual sliding column for adjusting volume, etc.), and the information acquisition module acquires the trigger information for adjusting volume and sends the trigger information to the server. In addition, the trigger information may also be other information for instructing volume adjustment, such as: voice information, image information, or text information. The user voice control instructs to increase/decrease the volume, and the information acquisition module acquires the voice information and then sends the voice information to the server. The server can judge the task to be executed corresponding to the information based on the collected information, and correspondingly generates the instruction.
In this aspect, the volume adjustment instruction may include: the volume adjusting method comprises a first volume adjusting instruction and a second volume adjusting instruction, wherein the first volume adjusting instruction can be an instruction for indicating a volume gear needing to be adjusted specifically, and the second volume adjusting instruction can be an instruction for only indicating volume to be turned up or turned down. In the following, two implementation methods are separately described:
when the first implementation method is implemented and a first volume adjustment instruction is received, the specific implementation steps may include:
receiving a first volume adjusting instruction;
determining a volume gear corresponding to the first volume adjusting instruction based on the first volume adjusting instruction;
determining a target number of the transduction elements corresponding to the volume gear according to a mapping relation between the volume gear and the number of the transduction elements on the basis of the volume gear;
and adjusting the number of the transduction elements participating in driving in each path of quantized audio digital stream to the target number, so as to complete volume adjustment of the sound signal.
At this time, the first volume adjustment instruction at least includes a target volume gear to be adjusted, for example: the target volume included in the first volume adjustment instruction is "3 rd gear" or "60", etc. In practical application, the full volume may be set to 10 th gear or 100 th gear. Of course, the specific volume level setting may be set based on the actual application, and this is not particularly limited in the embodiments of the present specification.
Alternatively, in one embodiment, the step setting of the volume may be set according to the manner in which the transducing elements in the loudspeaker are arranged. And mapping the number of the energy conversion elements involved in driving in each quantized audio digital stream with the volume gear setting, so as to carry out corresponding volume gear setting.
The mapping relation between the volume gear and the number of the transduction elements can be stored in a corresponding memory of the server in advance for later recall. Wherein, the mapping relationship may include: the number of the gear positions of the volume gear is equal to the number of the transduction elements;
or the number of the gears of the volume gear and the number of the transduction elements are set in an exponential mode. The mapping relationship may be set according to a use requirement in an actual application, and this specification is not limited in this respect. Therefore, when the received instruction includes a specific target volume level, the number of transducer elements participating in driving in each quantized audio digital stream can be determined according to the target volume level based on a pre-stored mapping relation, so that the corresponding number of transducer elements participating in driving in each path can be controlled.
When the second implementation method receives the second volume adjustment instruction, the specific implementation steps may include:
receiving a second volume adjusting instruction;
determining a task to be executed corresponding to the second volume adjusting instruction based on the second volume adjusting instruction; the task to be executed comprises volume increase or volume reduction;
and based on the task to be executed, adjusting the number of the transducer elements participating in driving in each path of quantized audio digital stream according to a preset adjustment rule and a mapping relation between the volume gear and the number of the transducer elements, so as to complete volume adjustment of the sound signal.
In the actual application scene, especially after functions such as speech control or image recognition control are added to the smart machine, the user can liberate both hands, and directly send out the instruction through the pronunciation, and at this moment, the user need not spend time to remember the concrete gear of volume, only need give "turn up volume" or "turn down volume" relevant instruction can, the server can adjust according to presetting the adjustment rule, for example: setting the full volume as 100 and the lowest volume as 0, if the current volume is the full volume, the volume cannot be continuously turned up, and if the current volume is 0, the volume cannot be continuously turned down. In addition, when receiving a user's instruction, the volume is increased or decreased proportionally according to a preset number, for example: the current volume is 80, when receiving a user's ' volume reduction ' instruction, the volume can be reduced according to the proportion of 20 in each time, namely when receiving the user's ' volume reduction ' instruction for the first time, the volume is adjusted to 60 and the user is prompted, when receiving the user's ' volume reduction ' instruction for the second time, the volume is adjusted to 40 and the user is prompted, and so on until no volume adjustment instruction is received any more by the user within the preset time. Correspondingly, when the volume is adjusted to the corresponding gear, the corresponding quantity of the transduction elements involved in the driving in each quantized audio digital stream are driven to work.
By the two methods, the volume adjustment can be realized by controlling the pixel transduction elements of corresponding gears to work based on volume adjustment instructions, so that the volume adjustment is carried out on the premise of ensuring the tone quality.
It should be noted that the digital speaker applied in the present invention may mainly protect the hardware of the sound generating array topology, and the sound generating array is a linear sound source or an N × M array, etc. The micro MEMS loudspeaker can be applied to a micro MEMS loudspeaker, a plate electrode on one side is a vibrating diaphragm, a plate electrode on the other side is a driving plate, and round holes or long holes distributed in an array mode can be formed in the driving plate. The number of the MEMS loudspeakers can be multiple, and the arrangement mode can be array distribution, line arrangement or row-column arrangement. Correspondingly, when the driving is performed for sounding, the multi-channel quantized audio digital stream can be converted into the driving electric signal, the driving electric signal is adopted to drive the transducer element array to obtain the sound signal, and when the volume is adjusted, the sound is realized by adjusting the transducer element in each channel of audio digital stream.
In the steps in fig. 2, when the audio to be processed is grouped, the audio may be grouped based on a DSR module, the DSR module may be based on a single-Bit Sigma-Delta digital sound reconstruction technique, or may be based on a multiple-Bit Sigma-Delta digital sound reconstruction technique, and the specific implementation steps may include:
performing oversampling operation on the digital audio data to be processed to obtain first digital audio data; the first digital audio data is digital audio data subjected to oversampling by R times; r is more than or equal to 0;
performing noise wave shaping and quantization on the first digital audio data to obtain a second audio digital stream;
and grouping the second audio digital stream according to the number of the transduction elements in the digital loudspeaker to obtain a plurality of paths of quantized audio digital streams. Wherein R can be 64, 128, etc.
The multi-Bit SDM and single-Bit SDM principles are approximately the same. Except that the amplitude of the electrical signal to each pixel speaker has a plurality of step values. In quantization accuracy, multiple bits are higher. Such as: the 1Bit-SDM digital stream is 0, 1; the 2Bit-SDM digital stream is 0, 0.5 and 1;
the method for realizing the sound production of the digital loudspeaker by multiple bits mainly comprises two modes:
the first method is as follows: as with 1Bit, the L group data is extracted directly, except that each signal contains more levels than 0, 1, and there is also an intermediate step. And then, the data stream is directly sent to the corresponding loudspeaker, and the loudspeaker outputs sound energy with different pulse amplitudes after receiving the electric signals with different steps.
The second method comprises the following steps: take 2Bit as an example: the 2Bit-SDM digital stream is 0, 0.5 and 1; assuming that each pixel speaker operates at 0.5, 1 requires 2 pixels to be simultaneously involved. Thus, another logic is presented: it is assumed that the number of loudspeakers per row may be 1 or 2. Assuming a digital stream of 0.5, 1 loudspeaker is correspondingly driven; the digital stream is 1, corresponding to driving 2 loudspeakers. This quantization step size is responded by driving the number of loudspeakers at once. Here, a switch is also required to ensure the switching of the number of speakers. The consistency is better.
The above embodiments are only individual embodiments capable of realizing the schemes provided in the examples of the present specification, do not represent the entire scope of protection of the present application, and may be implemented in many other ways than the above-described embodiments.
The DSR module may include a modulation and quantization module, a noise reduction module, and a volume adjustment module, and the modulation and quantization module may be configured to perform modulation and quantization on the second digital audio data; the noise reduction module may be configured to reduce noise of the sound signal; the volume adjusting module can be used for adjusting the volume corresponding to the sound signal.
Digital volume adjustment, i.e. to decrease or increase the number of loudspeakers participating in the SDM drive. Conventional digital volume reduction results in a reduction in the number of participating pixels, and thus a reduction in sound pressure level. However, this solution will result in a reduced signal-to-noise ratio, a reduced volume, and a significantly reduced sound quality. The present application thus provides a digital volume adjustment scheme without degrading the signal-to-noise ratio, which can be controlled by increasing the number of transducing elements per signal stream Sdn. If K identical transducing elements are used, K gear adjustments are realized for the total volume, and each volume adjustment has the same signal-to-noise ratio. The total array of loudspeaker transducing elements is N x K.
Based on the same idea, the embodiment of the present specification further provides a volume control device for digital sound production. Fig. 3 is a schematic diagram of a digital sound volume control device according to an embodiment of the present disclosure. The method can comprise the following steps:
a to-be-processed digital audio data obtaining module 310, configured to obtain to-be-processed digital audio data of the digital speaker; the digital audio data to be processed is an audio data stream which has a general format and is quantized.
The DSR processing module 320 is configured to perform DSR preprocessing on the digital audio data to be processed to obtain multiple quantized audio digital streams;
a volume gear setting module 330, configured to set a volume gear of a sound signal of the digital speaker according to the number of transducer elements participating in driving in each quantized audio digital stream; the number of the gears of the volume gears is equal to the number of the transduction elements; or the number of the gears of the volume gear and the number of the transduction elements are set in an exponential mode.
And the volume adjusting module 340 is configured to complete volume adjustment of the sound signal by adjusting the number of the transducer elements involved in driving in each quantized audio digital stream.
Based on the apparatus in fig. 3, there are some implementation modules, which are described below:
optionally, the volume adjusting module 340 may specifically include:
the first volume adjusting instruction receiving unit is used for receiving a first volume adjusting instruction;
the volume gear determining unit is used for determining a volume gear corresponding to the first volume adjusting instruction based on the first volume adjusting instruction;
the target number determining unit of the transduction elements is used for determining the target number of the transduction elements corresponding to the volume gear according to the mapping relation between the volume gear and the number of the transduction elements on the basis of the volume gear;
and the first volume adjusting unit is used for adjusting the number of the transduction elements involved in driving in each path of the quantized audio digital stream to the target number so as to complete volume adjustment of the sound signal.
Optionally, the volume adjusting module 340 may specifically include:
a second volume adjustment instruction receiving unit, configured to receive a second volume adjustment instruction;
a to-be-executed task determining unit, configured to determine, based on the second volume adjustment instruction, a to-be-executed task corresponding to the second volume adjustment instruction; the task to be executed comprises volume increase or volume reduction;
and the second volume adjusting unit is used for adjusting the number of the transduction elements involved in driving in each path of quantized audio digital stream according to a preset adjusting rule and a mapping relation between the volume gear and the number of the transduction elements on the basis of the task to be executed, so as to complete volume adjustment of the sound signal.
Optionally, the DSR processing module 320 may specifically include:
the oversampling unit is used for performing oversampling operation on the digital audio data to be processed to obtain first digital audio data; the first digital audio data is digital audio data subjected to oversampling by R times; r is more than or equal to 0;
the quantization unit is used for performing noise wave shaping on the first digital audio data and performing quantization to obtain a second audio digital stream;
and the grouping unit is used for grouping the second audio digital stream according to the number of the transduction elements in the digital loudspeaker to obtain a multi-channel quantized audio digital stream.
Based on the same idea, the embodiment of the present specification further provides a volume control device for digital sound production. Fig. 4 is a schematic diagram of a volume control device for digital sound production according to an embodiment of the present disclosure. The method can comprise the following steps:
a communication unit/communication interface for acquiring to-be-processed digital audio data of the digital speaker;
the processing unit/processor is used for carrying out DSR preprocessing on the digital audio data to be processed to obtain a plurality of paths of quantized audio digital streams;
setting a volume gear of a sound signal of the digital loudspeaker according to the number of transducer elements participating in driving in each quantized audio digital stream;
and adjusting the volume of the sound signal by adjusting the number of the transduction elements participating in driving in each quantized audio digital stream.
As shown in fig. 4, the terminal device may further include a communication line. The communication link may include a path for transmitting information between the aforementioned components.
Optionally, as shown in fig. 4, the terminal device may further include a memory. The memory is used for storing computer-executable instructions for implementing the inventive arrangements and is controlled for execution by the processor. The processor is used for executing the computer execution instructions stored in the memory, thereby realizing the method provided by the embodiment of the invention.
As shown in fig. 4, the memory may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a Random Access Memory (RAM) or other types of dynamic storage devices that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory may be separate and coupled to the processor via a communication link. The memory may also be integrated with the processor.
Optionally, the computer-executable instructions in the embodiment of the present invention may also be referred to as application program codes, which is not specifically limited in this embodiment of the present invention.
In particular implementations, as one embodiment, illustrated in FIG. 4, a processor may comprise one or more CPUs, such as CPU0 and CPU1 of FIG. 4.
In one embodiment, as shown in fig. 4, the terminal device may include a plurality of processors, such as the processor in fig. 4. Each of these processors may be a single core processor or a multi-core processor.
Based on the same idea, an embodiment of the present specification further provides a computer storage medium corresponding to the foregoing embodiment, where the computer storage medium stores instructions, and when the instructions are executed, a volume adjustment scheme is implemented.
The above description mainly introduces the scheme provided by the embodiment of the present invention from the perspective of interaction between the modules. It is understood that each module contains hardware structure and/or software unit for executing each function in order to realize the above functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The functional modules may be divided according to the above method examples, for example, the functional modules may be divided corresponding to the functions, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The processor in this specification may also have the function of a memory. The memory is used for storing computer-executable instructions for implementing the inventive arrangements and is controlled by the processor for execution. The processor is used for executing computer execution instructions stored in the memory, thereby realizing the method provided by the embodiment of the invention.
The memory may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be separate and coupled to the processor via a communication link. The memory may also be integral to the processor.
Optionally, the computer execution instruction in the embodiment of the present invention may also be referred to as an application program code, which is not specifically limited in the embodiment of the present invention.
The method disclosed by the embodiment of the invention can be applied to a processor or realized by the processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a general purpose processor, a Digital Signal Processor (DSP), an ASIC, an FPGA (field-programmable gate array) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
In one possible implementation manner, a computer-readable storage medium is provided, in which instructions are stored, and when executed, the instructions are used to implement the logic operation control method and/or the logic operation reading method in the foregoing embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the procedures or functions described in the embodiments of the present invention are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a terminal, a user device, or other programmable apparatus. The computer program or instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire or wirelessly. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The usable medium may be a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape; or optical media such as Digital Video Disks (DVDs); it may also be a semiconductor medium, such as a Solid State Drive (SSD).
While the invention has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Although the present invention has been described in connection with the specific features and embodiments thereof, it is apparent that various modifications and combinations can be made thereto without departing from the spirit and scope of the invention. Accordingly, the specification and figures are merely exemplary of the invention as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the invention. It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for controlling the volume of a digital sound production, comprising:
acquiring to-be-processed digital audio data of a digital loudspeaker;
DSR preprocessing is carried out on the digital audio data to be processed to obtain multi-path quantized audio digital streams;
setting a volume gear of a sound signal of the digital loudspeaker according to the number of transducer elements participating in driving in each quantized audio digital stream;
and adjusting the volume of the sound signal by adjusting the number of the transduction elements participating in driving in each path of quantized audio digital stream.
2. The method of claim 1, wherein adjusting the volume of the sound signal by adjusting the number of the driven transducer elements in each quantized audio digital stream comprises:
receiving a first volume adjusting instruction;
determining a volume gear corresponding to the first volume adjusting instruction based on the first volume adjusting instruction;
determining a target number of the transduction elements corresponding to the volume gear according to a mapping relation between the volume gear and the number of the transduction elements on the basis of the volume gear;
and adjusting the number of the transduction elements participating in driving in each path of quantized audio digital stream to the target number, so as to complete volume adjustment of the sound signal.
3. The method of claim 1, wherein adjusting the volume of the sound signal by adjusting the number of the driven transducer elements in each quantized audio digital stream comprises:
receiving a second volume adjusting instruction;
determining a task to be executed corresponding to the second volume adjusting instruction based on the second volume adjusting instruction; the task to be executed comprises volume increase or volume reduction;
and based on the task to be executed, adjusting the number of the transduction elements participating in driving in each path of quantized audio digital stream according to a preset adjustment rule and a mapping relation between the volume gear and the number of the transduction elements, and completing volume adjustment of the sound signal.
4. A method according to claim 2 or 3, characterized in that the number of steps of the volume step is equal to the number of transducing elements;
or the number of the gears of the volume gear and the number of the transduction elements are set in an exponential mode.
5. The method of claim 1, wherein the digital audio data to be processed is a stream of quantized audio data having a common format.
6. The method of claim 5, wherein the DSR pre-processing the digital audio data to be processed to obtain a plurality of quantized audio digital streams comprises:
performing oversampling operation on the digital audio data to be processed to obtain first digital audio data; the first digital audio data is digital audio data subjected to oversampling by R times; wherein R is more than or equal to 0;
carrying out noise wave shaping and quantization on the first digital audio data to obtain a second audio digital stream;
and grouping the second audio digital stream according to the number of the lines of the transduction elements in the digital loudspeaker to obtain a multi-path quantized audio digital stream.
7. A digitally speaking volume control device, comprising:
the to-be-processed digital audio data acquisition module is used for acquiring to-be-processed digital audio data of the digital loudspeaker;
the DSR processing module is used for carrying out DSR pretreatment on the digital audio data to be processed to obtain a plurality of paths of quantized audio digital streams;
the volume gear setting module is used for setting the volume gear of the sound signal of the digital loudspeaker according to the number of the energy conversion elements participating in driving in each path of quantized audio digital stream;
and the volume adjusting module is used for adjusting the volume of the sound signal by adjusting the number of the transducer elements involved in driving in each path of quantized audio digital stream.
8. The apparatus of claim 7, wherein the volume adjustment module specifically comprises:
the volume adjusting instruction receiving unit is used for receiving a first volume adjusting instruction;
the volume gear determining unit is used for determining a volume gear corresponding to the first volume adjusting instruction based on the first volume adjusting instruction;
the target number determining unit of the transduction elements is used for determining the target number of the transduction elements corresponding to the volume level according to the mapping relation between the volume level and the number of the transduction elements on the basis of the volume level;
and the volume adjusting unit is used for adjusting the number of the transduction elements involved in driving in each path of quantized audio digital stream to the target number so as to complete volume adjustment of the sound signal.
9. A digitally speaking volume control device, comprising:
a communication unit/communication interface for acquiring to-be-processed digital audio data of the digital speaker;
the processing unit/processor is used for carrying out DSR preprocessing on the digital audio data to be processed to obtain a plurality of paths of quantized audio digital streams;
setting a volume gear of a sound signal of the digital loudspeaker according to the number of transducer elements participating in driving in each quantized audio digital stream;
and adjusting the volume of the sound signal by adjusting the number of the transduction elements participating in driving in each path of quantized audio digital stream.
10. A computer storage medium having stored thereon instructions that, when executed, implement the method for volume control of digital sound production according to any one of claims 1 to 6.
CN202210225048.7A 2022-03-09 2022-03-09 Volume control method, device, equipment and medium for digital sound production Pending CN114745632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210225048.7A CN114745632A (en) 2022-03-09 2022-03-09 Volume control method, device, equipment and medium for digital sound production

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210225048.7A CN114745632A (en) 2022-03-09 2022-03-09 Volume control method, device, equipment and medium for digital sound production

Publications (1)

Publication Number Publication Date
CN114745632A true CN114745632A (en) 2022-07-12

Family

ID=82275923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210225048.7A Pending CN114745632A (en) 2022-03-09 2022-03-09 Volume control method, device, equipment and medium for digital sound production

Country Status (1)

Country Link
CN (1) CN114745632A (en)

Similar Documents

Publication Publication Date Title
US10721557B2 (en) Microphone assembly with pulse density modulated signal
US8126163B2 (en) Volume and tone control in direct digital speakers
CN114598969A (en) Digital loudspeaker volume control method, device, equipment and medium
CN105744439B (en) Microphone apparatus and mobile terminal with it
US8825497B2 (en) Systems and methods for reducing audio disturbance associated with control messages in a bitstream
US20200351584A1 (en) Audio device, audio system, and audio processing method
CN104168024A (en) Apparatus and method for controlling an amplification gain of an amplifier
WO2012092731A1 (en) Electronic terminal and ring prompt method of the electronic terminal
CN105611064A (en) Mobile terminal mode switching method and device
KR100746010B1 (en) Apparatus and method for controlling volume of received audio signal
EP2917915B1 (en) Multi-resolution audio signals
CN105869647B (en) A kind of primary DSD audio-frequency decoding method of smart phone, system and smart phone
CN102480296B (en) Analog-to-digital converter, sound processing device, and analog-to-digital conversion method
WO2016179392A1 (en) Interface apparatus and method in an acoustic microphone system
CN114745632A (en) Volume control method, device, equipment and medium for digital sound production
US20050254661A1 (en) Wireless device for capturing multiple channel audio
CN108574905B (en) Sound production device, audio transmission system and audio analysis method thereof
US10680640B2 (en) Power-saving current-mode digital-to-analog converter (DAC)
CN105246017B (en) A kind of audio digital signal processor and system
CN114446311B (en) Digital sound reconstruction method, system, equipment and medium
US11443753B2 (en) Audio stream dependency information
TWI505181B (en) Audio playback system
CN105491297A (en) Image photographing parameter adjusting method and device
US10516942B2 (en) Electronic circuit for a microphone and microphone
CN114760562A (en) Digital sound reconstruction method, equipment, storage medium and digital loudspeaker

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination