CN116192315A - Volume adjustment method and device for broadcast terminal, readable storage medium and equipment - Google Patents

Volume adjustment method and device for broadcast terminal, readable storage medium and equipment Download PDF

Info

Publication number
CN116192315A
CN116192315A CN202310175919.3A CN202310175919A CN116192315A CN 116192315 A CN116192315 A CN 116192315A CN 202310175919 A CN202310175919 A CN 202310175919A CN 116192315 A CN116192315 A CN 116192315A
Authority
CN
China
Prior art keywords
volume
signal
noise
output
broadcasting terminal
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
CN202310175919.3A
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.)
Nanchang Hang Tian Guang Xin Technology Co ltd
Original Assignee
Nanchang Hang Tian Guang Xin 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 Nanchang Hang Tian Guang Xin Technology Co ltd filed Critical Nanchang Hang Tian Guang Xin Technology Co ltd
Priority to CN202310175919.3A priority Critical patent/CN116192315A/en
Publication of CN116192315A publication Critical patent/CN116192315A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/53Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers
    • H04H20/61Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers for local area broadcast, e.g. instore broadcast
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0272Voice signal separating
    • G10L21/0308Voice signal separating characterised by the type of parameter measurement, e.g. correlation techniques, zero crossing techniques or predictive techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R27/00Public address systems
    • H04R27/04Electric megaphones
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Control Of Amplification And Gain Control (AREA)

Abstract

The invention discloses a volume adjusting method, a device, a readable storage medium and equipment of a broadcasting terminal, wherein the broadcasting terminal is connected with a plurality of detection equipment, the detection equipment is used for detecting audio signals in the environment, and the volume adjusting method comprises the following steps: when the broadcasting terminal is started, acquiring an audio signal in an environment acquired by the detection equipment in real time; performing audio separation on the audio signal to separate out a noise signal, and calculating a noise energy value according to the noise signal; and inquiring a target output volume level corresponding to the noise energy value in a preset volume level data table, and adjusting the volume of the output signal of the broadcasting terminal to the target output volume level, wherein the volume level data table comprises a plurality of noise energy value ranges and corresponding output volume levels. The method can adaptively adjust the volume of the output signal of the broadcasting terminal according to the magnitude of the environmental noise.

Description

Volume adjustment method and device for broadcast terminal, readable storage medium and equipment
Technical Field
The present invention relates to the technical field of broadcasting devices, and in particular, to a method and apparatus for adjusting the volume of a broadcasting terminal, a readable storage medium, and a device.
Background
The broadcasting system is widely applied to various fields, and places such as campuses, hospitals, parks, markets and the like are provided with the broadcasting system and mainly used for music playing, emergency notification, news broadcasting, paging and the like. The broadcasting terminal, such as a sound box, is a terminal device of a network broadcasting system, and is in wireless communication connection with an upper computer (such as a server) through a switch.
In the existing broadcasting system, the audio playing volume of the broadcasting terminal is usually set manually, and the volume is fixed after setting. The volume setting mode is simple and convenient, but in a noisy environment, when the environmental noise is large, the audio played by the broadcasting terminal cannot be heard, so that a user leaks some important broadcasting information, and the experience is poor.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a readable storage medium and a device for adjusting the volume of an output signal of a broadcast terminal according to the level of environmental noise.
The invention discloses a volume adjusting method of a broadcasting terminal, wherein the broadcasting terminal is connected with a plurality of detection devices, the detection devices are used for detecting audio signals in the environment, and the volume adjusting method comprises the following steps:
when the broadcasting terminal is started, acquiring an audio signal in an environment acquired by the detection equipment in real time;
performing audio separation on the audio signal to separate out a noise signal, and calculating a noise energy value according to the noise signal;
and inquiring a target output volume level corresponding to the noise energy value in a preset volume level data table, and adjusting the volume of the output signal of the broadcasting terminal to the target output volume level, wherein the volume level data table comprises a plurality of noise energy value ranges and corresponding output volume levels.
Further, the above method for adjusting the volume, wherein the step of adjusting the volume of the output signal of the broadcast terminal to the target output volume level includes:
determining a volume adjustment coefficient of the broadcasting terminal according to the target output volume level and the volume of the broadcasting signal currently output by the broadcasting terminal;
judging whether the volume adjustment coefficient is in a threshold range or not;
and if not, adjusting the volume of the output signal of the broadcasting terminal to the target output volume level.
Further, in the above volume adjustment method, the calculation formula of the volume adjustment coefficient is:
Figure BDA0004100876730000021
where k is the volume adjustment coefficient, vol 1 Vol is the volume of the broadcast signal currently output by the broadcast terminal 2 And outputting the volume corresponding to the volume level for the target.
Further, in the above volume adjustment method, the step of performing audio separation on the audio signal to separate a noise signal includes:
and removing the broadcast signal output by the broadcast terminal from the audio signal to obtain a noise signal.
Further, in the above volume adjustment method, the formula for calculating the noise energy value according to the noise signal is:
Figure BDA0004100876730000022
wherein E is n Represents the energy value of the noise signal of the nth frame, N represents one frameTotal number of sampling points in noise signal, S i Representing the sample value of the i-th sample point.
Further, the volume adjusting method further includes:
and at the initial moment of starting the broadcasting terminal, controlling the broadcasting terminal to output a broadcasting signal according to the preset volume.
The invention also discloses a volume adjusting device of the broadcasting terminal, the broadcasting terminal is connected with a plurality of detecting devices, the detecting devices are used for detecting the audio signals in the environment, the volume adjusting device comprises:
the acquisition module is used for acquiring the audio signals in the environment acquired by the detection equipment in real time when the broadcast terminal is started;
the signal separation module is used for carrying out audio separation on the audio signal so as to separate out a noise signal;
a calculation module for calculating a noise energy value according to the noise signal;
and the volume adjusting module is used for inquiring a target output volume level corresponding to the noise energy value in a preset volume level data table and adjusting the volume of the output signal of the broadcasting terminal to the target output volume level, wherein the volume level data table comprises a plurality of noise energy value ranges and corresponding output volume levels.
Further, the volume adjusting device further includes:
and the control module is used for controlling the broadcast terminal to output a broadcast signal according to the preset volume at the initial moment of starting the broadcast terminal.
The invention also discloses a readable storage medium having stored thereon a computer program which when executed by a processor implements the volume adjustment method of any of the above.
The invention also discloses an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the volume adjusting method of any one of the above when executing the computer program.
According to the invention, the detection equipment is used for collecting the audio frequency in the environment, separating the environmental noise, calculating the noise energy value of the environmental noise, determining the noise size in the environment through the noise energy value, inquiring the target output volume level corresponding to the noise energy value from the volume level data table, and adjusting the volume of the output signal of the broadcasting terminal to the target output volume level, so that the purpose of adaptively adjusting the broadcasting volume of the broadcasting terminal according to the environmental noise size is realized.
Drawings
Fig. 1 is a flowchart of a volume adjustment method of a broadcasting terminal in a first embodiment of the present invention;
fig. 2 is a flowchart of a volume adjustment method of a broadcasting terminal in a second embodiment of the present invention;
fig. 3 is a block diagram showing a structure of a volume adjusting apparatus of a broadcasting terminal in a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
Embodiments of the present invention will be apparent with reference to the following description and attached drawings. In the description and drawings, particular implementations of embodiments of the invention are disclosed in detail as being indicative of some of the ways in which the principles of embodiments of the invention may be employed, but it is understood that the scope of the embodiments of the invention is not limited correspondingly. On the contrary, the embodiments of the invention include all alternatives, modifications and equivalents as may be included within the spirit and scope of the appended claims.
The volume adjusting method in the embodiment of the invention is used for realizing automatic adjustment of the volume of the broadcasting terminal along with the size of the environmental noise. In practical application, the broadcast terminal is connected with a plurality of detection devices, and the detection devices are used for detecting audio signals in the environment.
Referring to fig. 1, a method for adjusting the volume of a broadcast terminal according to a first embodiment of the present invention includes steps S11 to S13.
And S11, when the broadcasting terminal is started, acquiring the audio signals in the environment acquired by the detection equipment in real time.
When the broadcasting terminal starts to play the broadcasting, the detecting device starts to work, and collects the audio signals in the environment in real time, and it can be understood that the audio signals in the environment comprise the broadcasting signals played by the broadcasting terminal and noise signals in the environment, and all sound signals except the broadcasting signals in the environment can be called noise signals.
Step S12, audio frequency separation is carried out on the audio frequency signals so as to separate noise signals, and noise energy values are calculated according to the noise signals.
Because the broadcast signal output by the broadcast terminal can be actually collected, the audio signal contains the broadcast signal, the audio signal can be subjected to signal separation, and the broadcast signal is separated out, so that a noise signal is obtained. In particular, the signal separation may be implemented by using an existing algorithm, such as a subtraction method, where the spectrum of the broadcast signal is removed from the spectrum of the audio signal by a subtraction method, and the noise spectrum is preserved. Thereby separating noise signals in the environment, and calculating a noise energy value according to the noise signals obtained by separation, wherein the calculation formula of the noise energy value is as follows:
Figure BDA0004100876730000051
wherein E is n Represents the energy value of the noise signal of the nth frame, N represents the total number of sampling points in the noise signal of one frame, S i Representing the sample value of the i-th sample point.
When the method is implemented, the force can be given to the noise signals by needle division, windowing and the like, the frame length is 20mS, when the 8KHz sampling rate is adopted, each frame contains 160 sampling points, and the square sum of the data in the frame is the noise energy value of the noise segment.
Step S13, inquiring a target output volume level corresponding to the noise energy value in a preset volume level data table, and adjusting the volume of the output signal of the broadcasting terminal to the target output volume level.
The volume level data table includes a plurality of noise energy value ranges and corresponding output volume levels. In the implementation, according to the working volume range of the broadcasting terminal and the hearing sizes of the human ears under different noise volumes, a plurality of volume levels corresponding to the noise volume value ranges are determined, and each noise volume value range corresponds to one output volume level. In general, the larger the noise energy value, the larger the corresponding output volume level so that the user can hear the broadcast sound in different noise environments.
In the implementation, the noise energy value range to which the noise energy value calculated at present belongs is queried in the volume level data table according to the noise energy value calculated at present, and then the corresponding target output volume level is queried in the table according to the queried noise energy value range. Finally, the volume of the output signal of the broadcasting terminal is adjusted to the volume corresponding to the target output volume level. So that the user can still hear the audio played by the broadcast terminal in the noisy environment.
In this embodiment, the detecting device collects audio in the environment, separates out environmental noise, calculates a noise energy value of the environmental noise, determines the noise level in the environment according to the noise energy value, queries a target output volume level corresponding to the noise energy value from a volume level data table, and adjusts the volume of an output signal of the broadcasting terminal to the target output volume level, thereby realizing the purpose of adaptively adjusting the broadcasting volume of the broadcasting terminal according to the environmental noise level.
Referring to fig. 2, a method for adjusting the volume of a broadcast terminal according to a second embodiment of the present invention includes steps S21 to S27.
And S21, when the broadcasting terminal is started, controlling the broadcasting terminal to output a broadcasting signal according to a preset volume level.
The initial moment of the starting of the broadcasting terminal is to output a broadcasting signal according to the preset volume, and then the playing volume is adjusted in a self-adapting mode according to the real-time detected environmental noise.
Step S22, acquiring the audio signals in the environment acquired by the detection equipment in real time.
The detection device collects the audio signal in the environment in real time when the broadcasting terminal is started, and the audio signal comprises the noise signal in the environment and the broadcasting signal played by the broadcasting terminal.
Step S23, audio frequency separation is carried out on the audio frequency signals so as to separate noise signals, and noise energy values are calculated according to the noise signals.
And removing the broadcast signal in the audio signal through a signal separation algorithm to obtain a noise signal, and calculating the noise energy value according to the noise signal.
Step S24, inquiring a target output volume level corresponding to the noise energy value in a preset volume level data table.
The volume level data table includes a plurality of noise energy value ranges and corresponding output volume levels. In specific implementation, a plurality of volume levels corresponding to the noise volume value ranges are determined according to the working volume range of the broadcasting terminal, each noise volume value range corresponds to one output volume level, and each output volume level corresponds to one volume level.
And step S25, determining a volume adjustment coefficient of the broadcasting terminal according to the target output volume level and the volume of the broadcasting signal currently output by the broadcasting terminal.
Step S26, judging whether the volume adjustment coefficient is in a threshold range.
Step S27, if not, the volume of the output signal of the broadcasting terminal is adjusted to the target output volume level.
Wherein the volume level data table includes a plurality of noise energy value ranges and corresponding output volume levels.
The calculation formula of the volume adjustment coefficient is as follows:
Figure BDA0004100876730000071
where k is the volume adjustment coefficient, vol 1 Vol is the volume of the broadcast signal currently output by the broadcast terminal 2 And outputting the volume corresponding to the volume level for the target.
The threshold range of the volume adjustment coefficient may be set according to the type of broadcasting terminal, and different broadcasting terminals may set different threshold ranges. When the calculated volume adjustment coefficient is within the threshold value range, the broadcasting terminal is indicated that the volume amplitude to be adjusted by the broadcasting terminal is not large, and the user is not influenced even if the volume is not adjusted, so that the system does not adjust the volume, and the broadcasting terminal continuously plays the broadcasting signal with the current volume, thereby achieving the effect of reducing the resource consumption.
When the volume adjustment coefficient exceeds the threshold range, it indicates that the volume to be adjusted by the broadcast terminal is larger, and if the output volume is not adjusted, the user is affected to listen to the broadcast information, so that the volume of the output signal of the broadcast terminal needs to be adjusted, that is, the volume corresponding to the target output volume level is adjusted.
Referring to fig. 3, a volume adjusting apparatus for a broadcast terminal according to a third embodiment of the present invention, the broadcast terminal is connected with a plurality of detecting devices, the detecting devices are used for detecting audio signals in an environment, the volume adjusting apparatus includes:
an acquiring module 31, configured to acquire, in real time, an audio signal in an environment acquired by a detection device when the broadcast terminal is started;
a signal separation module 32, configured to perform audio separation on the audio signal to separate a noise signal;
a calculation module 33 for calculating a noise energy value from the noise signal;
and the volume adjustment module 34 is configured to query a preset volume level data table for a target output volume level corresponding to the noise energy value, and adjust the volume of the output signal of the broadcast terminal to the target output volume level, where the volume level data table includes a plurality of noise energy value ranges and corresponding output volume levels.
Further, the volume adjusting device further includes:
and the control module is used for controlling the broadcast terminal to output a broadcast signal according to the preset volume at the initial moment of starting the broadcast terminal.
The volume adjusting device provided by the embodiment of the invention has the same implementation principle and technical effects as those of the embodiment of the method, and for the sake of brevity, reference may be made to the corresponding content in the embodiment of the method.
In another aspect, referring to fig. 4, an electronic device according to an embodiment of the present invention includes a processor 10, a memory 20, and a computer program 30 stored in the memory and capable of running on the processor, where the processor 10 implements the volume adjustment method as described above when executing the computer program 30.
The electronic device may be, but is not limited to, a personal computer, a server, or other computer device. The processor 10 may in some embodiments be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip for executing program code or processing data stored in the memory 20, etc.
The memory 20 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 20 may in some embodiments be an internal storage unit of the electronic device, such as a hard disk of the electronic device. The memory 20 may also be an external storage device of the electronic device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like. Further, the memory 20 may also include both internal storage units and external storage devices of the electronic device. The memory 20 may be used not only for storing application software installed in an electronic device, various types of data, and the like, but also for temporarily storing data that has been output or is to be output.
Optionally, the electronic device may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), a network interface, a communication bus, etc., and an optional user interface may further comprise a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device and for displaying a visual user interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), and is typically used to establish a communication connection between the device and other electronic devices. The communication bus is used to enable connected communication between these components.
It should be noted that the structure shown in fig. 4 does not constitute a limitation of the electronic device, and in other embodiments the electronic device may comprise fewer or more components than shown, or may combine certain components, or may have a different arrangement of components.
The present invention also proposes a computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, implements a method for volume adjustment as described above.
Those of skill in the art will appreciate that the logic and/or steps represented in the flow diagrams or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus (e.g., a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus). For the purposes of this description, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (10)

1. A volume adjusting method of a broadcasting terminal, wherein a plurality of detecting devices for detecting an audio signal in an environment are connected to the broadcasting terminal, the volume adjusting method comprising:
when the broadcasting terminal is started, acquiring an audio signal in an environment acquired by the detection equipment in real time;
performing audio separation on the audio signal to separate out a noise signal, and calculating a noise energy value according to the noise signal;
and inquiring a target output volume level corresponding to the noise energy value in a preset volume level data table, and adjusting the volume of the output signal of the broadcasting terminal to the target output volume level, wherein the volume level data table comprises a plurality of noise energy value ranges and corresponding output volume levels.
2. The volume adjustment method of claim 1, wherein the step of adjusting the volume of the output signal of the broadcasting terminal to the target output volume level comprises:
determining a volume adjustment coefficient of the broadcasting terminal according to the target output volume level and the volume of the broadcasting signal currently output by the broadcasting terminal;
judging whether the volume adjustment coefficient is in a threshold range or not;
and if not, adjusting the volume of the output signal of the broadcasting terminal to the target output volume level.
3. The volume adjustment method of claim 2, wherein the volume adjustment coefficient has a calculation formula:
Figure FDA0004100876720000011
where k is the volume adjustment coefficient, vol 1 Vol is the volume of the broadcast signal currently output by the broadcast terminal 2 And outputting the volume corresponding to the volume level for the target.
4. The method of volume adjustment according to claim 1, wherein the step of audio-separating the audio signal to separate out a noise signal comprises:
and removing the broadcast signal output by the broadcast terminal from the audio signal to obtain a noise signal.
5. The volume adjustment method of claim 1, wherein the formula for calculating the noise energy value from the noise signal is:
Figure FDA0004100876720000012
wherein E is n Represents the energy value of the noise signal of the nth frame, N represents the total number of sampling points in the noise signal of one frame, S i Representing the sample value of the i-th sample point.
6. The volume adjustment method according to claim 1, further comprising:
and at the initial moment of starting the broadcasting terminal, controlling the broadcasting terminal to output a broadcasting signal according to the preset volume.
7. A volume adjusting apparatus of a broadcasting terminal, wherein the broadcasting terminal is connected with a plurality of detecting devices for detecting audio signals in an environment, the volume adjusting apparatus comprising:
the acquisition module is used for acquiring the audio signals in the environment acquired by the detection equipment in real time when the broadcast terminal is started;
the signal separation module is used for carrying out audio separation on the audio signal so as to separate out a noise signal;
a calculation module for calculating a noise energy value according to the noise signal;
and the volume adjusting module is used for inquiring a target output volume level corresponding to the noise energy value in a preset volume level data table and adjusting the volume of the output signal of the broadcasting terminal to the target output volume level, wherein the volume level data table comprises a plurality of noise energy value ranges and corresponding output volume levels.
8. The volume adjustment device of claim 7, further comprising:
and the control module is used for controlling the broadcast terminal to output a broadcast signal according to the preset volume at the initial moment of starting the broadcast terminal.
9. A readable storage medium having stored thereon a computer program, which when executed by a processor implements a volume adjustment method according to any one of claims 1 to 5.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the volume adjustment method of any one of claims 1 to 5 when the computer program is executed by the processor.
CN202310175919.3A 2023-02-28 2023-02-28 Volume adjustment method and device for broadcast terminal, readable storage medium and equipment Pending CN116192315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310175919.3A CN116192315A (en) 2023-02-28 2023-02-28 Volume adjustment method and device for broadcast terminal, readable storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310175919.3A CN116192315A (en) 2023-02-28 2023-02-28 Volume adjustment method and device for broadcast terminal, readable storage medium and equipment

Publications (1)

Publication Number Publication Date
CN116192315A true CN116192315A (en) 2023-05-30

Family

ID=86432447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310175919.3A Pending CN116192315A (en) 2023-02-28 2023-02-28 Volume adjustment method and device for broadcast terminal, readable storage medium and equipment

Country Status (1)

Country Link
CN (1) CN116192315A (en)

Similar Documents

Publication Publication Date Title
CN104410379B (en) A kind of volume adjusting method
US9992745B2 (en) Extraction and analysis of buffered audio data using multiple codec rates each greater than a low-power processor rate
EP3416041B1 (en) Sound effect processing method, and terminal device
CN107247572B (en) Audio playing method, terminal and computer readable storage medium
CN106782613B (en) Signal detection method and device
CN106847307B (en) Signal detection method and device
CN104798301A (en) Audio loudness control system
CN104363510B (en) A kind of playback terminal
CN110599989B (en) Audio processing method, device and storage medium
CN107465824B (en) Volume adjusting method and device, mobile terminal and storage medium
CN107526570B (en) Volume adjusting method and device, terminal equipment and storage medium
CN110677774B (en) Volume self-adaptive adjusting method and device, computer equipment and storage medium
CN110827863A (en) Method, device and terminal for intelligently adjusting volume and readable storage medium
CN110799936A (en) Volume adjusting method and device, terminal equipment and storage medium
CN115866487A (en) Sound power amplification method and system based on balanced amplification
CN107436751A (en) volume adjusting method, device, terminal device and storage medium
CN116192315A (en) Volume adjustment method and device for broadcast terminal, readable storage medium and equipment
CN1929298A (en) Audio frequency processing system and method
US20130304470A1 (en) Electronic device and method for detecting pornographic audio data
CN106293607B (en) Method and system for automatically switching audio output modes
CN113507668B (en) Variable-bandwidth intelligent control method, audio equipment and readable storage medium
CN113727240A (en) Sound playing adjustment method and portable device
CN1941619A (en) Volume management system and method
CN1941618A (en) Volume management system and method
CN213241919U (en) Intelligent sound effect processor based on human-computer interaction

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Qiu Zhengfeng

Inventor after: Cui Ren

Inventor after: Qiu Xiaojian

Inventor after: Lian Feng

Inventor after: Wu Dingyuan

Inventor before: Qiu Xiaojian

Inventor before: Lian Feng

Inventor before: Qiu Zhengfeng

Inventor before: Cui Ren

Inventor before: Wu Dingyuan