CN100502236C - Sound volume controlling system and method - Google Patents

Sound volume controlling system and method Download PDF

Info

Publication number
CN100502236C
CN100502236C CNB2004100280761A CN200410028076A CN100502236C CN 100502236 C CN100502236 C CN 100502236C CN B2004100280761 A CNB2004100280761 A CN B2004100280761A CN 200410028076 A CN200410028076 A CN 200410028076A CN 100502236 C CN100502236 C CN 100502236C
Authority
CN
China
Prior art keywords
volume
control signal
scheduled time
time
button
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.)
Expired - Fee Related
Application number
CNB2004100280761A
Other languages
Chinese (zh)
Other versions
CN1719724A (en
Inventor
谢冠宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CNB2004100280761A priority Critical patent/CN100502236C/en
Publication of CN1719724A publication Critical patent/CN1719724A/en
Application granted granted Critical
Publication of CN100502236C publication Critical patent/CN100502236C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Amplification And Gain Control (AREA)

Abstract

A sound volume control system includes a key input unit, a microprogrammed unit and a sound effect IC, among which, the key input unit responds to the user operation and sends control signals corresponding to the operation of the microprogrammed unit to the unit, which receives said control signal and generates a PWM wave with a related duty ratio according to the comparison of the continued delivered time of said control signal with a preset period of time to control the sound effect IC to regulate the volume, when the continued deliver time is smaller or equal to said preset time, then the volume is adjusted with one as the unit, if it is greater than the time, the mute function is executed or the volume is regulated with 10 as a unit.

Description

Sound-volume control system and method
[technical field]
The present invention relates to a kind of sound-volume control system and method, relate in particular to a kind of system and method according to operation push-button duration control volume.
[background technology]
Up to now, developed and variously be used to amplify audio signal from the audio signal source of the audio signal source of combination or connection so that drive the audio output device of loud speaker.Such device is known as " audio frequency amplifier ", and to be used to regulate from the output level of the volume of the loud speaker output that connects be to regulate that operation part is regulated and regulate by transmitting the volume adjusting command from remote control by the operation volume.Audio output device such as TV, audio system etc. utilize audio frequency amplifier to amplify audio signal usually.Audio output device is built in the volume controller, and volume controller is according to the volume of user's adjusted audio output device output.
As such traditional volume output device, when the user wants quiet, increase a mute button, can't accomplish to utilize a few button not only to realize that volume regulated but also realize the function of quiet control.
In addition,, when regulating volume, from the minimum to the maximum, change volume step by step, want expensive time operation push-button to regulate inevitably, be difficult to meet the user and require ground to change the size of volume fast according to the volume adjustment device of routine.
In order to overcome above-mentioned deficiency, need provide a kind of sound-volume control system and method for carrying out quiet control and hommization adjusting volume.
[summary of the invention]
Main purpose of the present invention is to provide a kind of sound-volume control system and method, and it can carry out mute function and hommization adjusting volume according to the duration of operation push-button input unit.
For achieving the above object, the invention provides a kind of sound-volume control system, it can add up the operation push-button duration is that volume control signal continues transmitting time t, relatively volume control signal continues transmitting time t and scheduled time T 1Determine the mode of the adjusting of volume, and control a sound effect integrated circuit by a mini program controlling unit and carry out the volume adjusting.Wherein, when continuing transmitting time t, volume control signal is less than or equal to this scheduled time T 1The time, be that unit (1%) regulates volume with one, when volume control signal continues transmitting time t greater than this scheduled time T 1The time, carry out mute function or be that unit (10%) regulates volume with ten.This system comprises: and a key-press input unit, a mini program controlling unit (Microprogrammed Control Unit, MCU), a sound effect integrated circuit (Volume EffectIntegrated Circuit).Key-press input unit is used to receive user's operation, and operates corresponding control signal to the mini program controlling unit transmission with this, and it comprises a upturning key and a downturning key.Mini program controlling unit, be used for lasting transmitting time according to above-mentioned control signal and this control signal, the control sound effect integrated circuit is regulated volume, comprise: a CPU, be used to receive above-mentioned control signal, the lasting transmitting time and a scheduled time of this control signal are compared, produce corresponding pulse width modulated wave, and export this pulse width modulated wave to sound effect integrated circuit by a pulse-width modulation pin (Pulse-Width Modulation Pin) according to comparative result; One timer is used for the totally duration of user's operation push-button; And a memory, be used for storage control program.Sound effect integrated circuit is used for carrying out mute function or carrying out corresponding volume adjusting according to the PWM ripple of CPU output.
The present invention also provides a kind of method for controlling volume, and it is used for operation key-press input unit adjusting volume under the readiness, and this method may further comprise the steps: a key-press input unit, a mini program controlling unit, a sound effect integrated circuit (a) are provided; (b) key-press input unit response user operation, and send one to mini program controlling unit and operate corresponding control signal with this; (c) mini program controlling unit receives this control signal, enters the adjusting volume status; (d) mini program controlling unit judges whether this control signal is the control signal of operation downturning key; (e) if this control signal is the control signal of operation upturning key, whether the lasting transmitting time t that then judges this control signal is greater than a scheduled time T 1(f) if the lasting transmitting time t of control signal is less than or equal to this scheduled time T 1, be that unit increases volume with one; (g) if the lasting transmitting time t of this control signal greater than this scheduled time T 1, be that unit increases volume with ten; (h) if this control signal is the signal of operation downturning key, whether the lasting transmitting time t that then judges this control signal is greater than this scheduled time T 1(i) if the lasting transmitting time t of this control signal is less than or equal to this scheduled time T 1, be that unit reduces volume with one; (j) if the lasting transmitting time t of this control signal greater than this scheduled time T 1, carry out mute function; And (h) by operating upturning key to cancel quiet and to return to the quiet preceding volume value of execution.
The present invention also provides a kind of method for controlling volume, and it is used for regulating volume process operation push-button input unit adjusting volume, and this method may further comprise the steps: a key-press input unit, a mini program controlling unit, a sound effect integrated circuit (a) are provided; (b) key-press input unit response user operation, and send one to mini program controlling unit and operate corresponding control signal with this; (c) mini program controlling unit receives this control signal, and judges whether this signal is the control signal of operation downturning key; (d) if this control signal is the control signal of operation upturning key, whether the lasting transmitting time of then judging this control signal is greater than a scheduled time T 1(e) if the lasting transmitting time of this control signal is less than or equal to this scheduled time T 1, be that unit increases volume with one; (f) if the lasting transmitting time of this control signal greater than this scheduled time T 1, be that unit increases volume with ten; (g) if this control signal is the control signal of operation downturning key, whether the lasting transmitting time of then judging this control signal is greater than this scheduled time T 1(h) if the lasting transmitting time of this control signal is less than or equal to this scheduled time T 1, be that unit reduces volume with one; And if (i) the lasting transmitting time of this control signal greater than this scheduled time T 1, be that unit reduces volume with ten.
Utilizing the present invention to be implemented in does not increase under the situation of mute button, solves the problem of quiet processing, and makes that the operation of regulating volume is more humane, wins user's satisfaction.
[description of drawings]
Fig. 1 is the hardware structure figure of sound-volume control system of the present invention.
Fig. 2 BeThe readiness of sound-volume control system of the present invention is the view of operation key-press input unit down.
Fig. 3 BeThe view of operation input unit in the adjusting volume process of sound-volume control system of the present invention.
Fig. 4 BeThe readiness of method for controlling volume of the present invention is the flow chart of operation key-press input unit down.
Fig. 5 is the flow chart of operation push-button input unit in the adjusting volume process of method for controlling volume of the present invention.
[embodiment]
As shown in Figure 1, be the hardware structure figure of sound-volume control system of the present invention.This system comprises a key-press input unit 1, a mini program controlling unit (Microprogrammed Control Unit, MCU) 2, one sound effect integrated circuit (Volume Effect Integrated Circuit) 3.In the present embodiment, this key-press input unit 1 comprises a upturning key and a downturning key, is used to respond user's operation, and operates corresponding control signal to mini program controlling unit 2 transmissions with this.This mini program controlling unit 2 is used for continuing transmitting time according to the control signal of key-press input unit 1 output and this control signal, control sound effect integrated circuit 3 is regulated volume, and it comprises a CPU (CPU) 20, a pulse-width modulation pin (Pulse-Width Modulation Pin) 21, one timer 22 and a memory 23.Wherein, CPU 20 is used for the volume of reception control signal, and this control signal is continued a transmitting time and a scheduled time T 1Compare, produce the PWM ripple of a corresponding duty ratio according to comparative result, and pass through these pulse-width modulation pin 21 these PWM ripples of output to sound effect integrated circuit 3, wherein, it is the operation push-button duration that control signal continues transmitting time; Timer 22 is used for the duration t of accumulative total user operation push-button.Memory 23 can be ROM (read-only memory), RAM (random access memory), also can be used for storage control program for volatile storage (as DRAM, SRAM), non-volatility memorizer (as EPROM, Flash Memory); This sound effect integrated circuit 3 is used for carrying out mute function or carrying out corresponding volume adjusting according to the duty ratio of the PWM ripple of CPU 20 outputs.Wherein, be less than or equal to this scheduled time T as operation push-button duration t 1The time, be that unit (1%) regulates volume with one, when operation push-button duration t greater than this scheduled time T 1The time, carry out mute function or be that unit (10%) regulates volume with ten.
As shown in Figure 2, be the view of operating key-press input unit under the readiness of sound-volume control system of the present invention.Under the system ready state, user's operation push-button input unit 1 enters the adjustment volume status, has corresponding volume to regulate according to the different operating button duration.Upturning key in user's operation push-button input unit 1: if operation push-button duration t is less than or equal to this scheduled time T 1The time, be that unit (1%) increases volume then, in case when the user does not press upturning key, return the adjusting volume status with one; If operation push-button duration t is greater than this scheduled time T 1, be that unit (10%) increases volume then, in case when the user does not press upturning key, return the adjusting volume status with ten.Downturning key in user's operation push-button input unit 1: if operation push-button duration t is less than or equal to this scheduled time T 1, be that unit (1%) reduces volume then, in case when the user does not press downturning key, return the adjusting volume status with one; If operation push-button duration t is greater than this scheduled time T 1, then carry out quiet (mute) function.Under mute state, if the user operates downturning key, the continuous intravenous sound function; If the user operates upturning key, carry out non-quiet (un-mute) function, volume is recovered quiet preceding volume value.If the duration of not pressing upturning key or downturning key is greater than scheduled time T 2, then system turns back to readiness from regulating volume status.
As shown in Figure 3, be the view of operation push-button input unit in the adjusting volume process of sound-volume control system of the present invention.In regulating the volume process, the upturning key in user's operation push-button input unit 1: if operation push-button duration t is less than or equal to this scheduled time T 1The time, be that unit (1%) increases volume then, in case when the user does not press upturning key, return the adjusting volume status with one; If operation push-button duration t is greater than this scheduled time T 1, be that unit (10%) increases volume then, in case when the user does not press upturning key, return the adjusting volume status with ten.Downturning key in user's operation push-button input unit 1: if operation push-button duration t is less than or equal to this scheduled time T 1The time, be that unit (1%) reduces volume then, in case when the user does not press downturning key, return the adjusting volume status with one; If operation push-button duration t is greater than this scheduled time T 1, be that unit (10%) reduces volume then with ten, in case when the user does not press downturning key, return the adjusting volume status, if the duration of not pressing upturning key or downturning key is greater than scheduled time T 2, then system turns back to readiness from regulating volume status.
As shown in Figure 4, be the flow chart of the following operation of the readiness key-press input unit of method for controlling volume of the present invention.At first key-press input unit 1 receives user's operation and operates corresponding control signal (step S400) to CPU 20 transmissions with this.Then, the CPU 20 in the mini program controlling unit 2 receives this control signal, enters and regulates volume status (step S401).Simultaneously, the duration t (step S402) of timer 22 accumulative total operation push-button input units 1.CPU 20 judges whether this control signal is the signal (step S403) of operation downturning key, if this control signal is the signal of operation upturning key, the lasting transmitting time of then judging this control signal is whether button operation time t is greater than scheduled time T 1(step S404).If the lasting transmitting time t of this control signal is less than or equal to T 1, then CPU 20 produces the PWM ripple of a corresponding duty ratio, and exports these PWM ripples to sound effect integrated circuit 3 by pulse-width modulation pin 21, and sound effect integrated circuit 3 is that unit increases volume (step S405) according to the duty ratio of this PWM ripple with one; If the lasting transmitting time t of this control signal is greater than T 1, be that unit increases volume (step S406) then with ten.If this control signal is the signal of operation downturning key, then CPU 20 judges that whether the lasting transmitting time t of this control signal is greater than T 1(step S407) is if the lasting transmitting time t of this control signal is less than or equal to T 1, be that unit reduces volume (step S408) then with one; If the lasting transmitting time t of this control signal is greater than T 1, then carry out mute function (step S409).As user once more during operation push-button input unit 1, key-press input unit 1 response user operates and sends and this operation control signal corresponding (step S410) to CPU 20, then CPU 20 receives this control signal, and judge whether this control signal is the signal (step S411) of operation upturning key, if this control signal is the signal of operation downturning key, then flow process is returned step S409; If this control signal is the signal of operation upturning key, then CPU 20 produces the PWM ripple of a corresponding duty ratio, and by these PWM ripples of pulse-width modulation pin 21 output to sound effect integrated circuit 3, sound effect integrated circuit 3 is carried out non-mute function according to the duty ratio of this PWM ripple, volume returns to the volume value (step S412) before the mute state, enters to regulate volume status (step S413).CPU 20 judges that whether the duration that does not transmit control signal is greater than scheduled time T 2(step S414), if the duration that does not transmit control signal be less than or equal to scheduled time T 2, then return step S413; If the duration that does not transmit control signal is greater than scheduled time T 2, then return readiness (step S415).
As shown in Figure 5, be the flow chart of operation push-button input unit in the adjusting volume process of method for controlling volume of the present invention.Regulating under the volume status, key-press input unit 1 response user operates and sends and this operation control signal corresponding (step S500) to CPU 20, and timer 22 begins to add up the duration t (step S501) of operation push-button input unit 1 simultaneously.CPU 20 judges whether this control signal is the signal (step S502) of operation downturning key, if this control signal is operation OnTurn over the signal of key, whether the lasting transmitting time t that then then judges this control signal is greater than T 1(step S503) is if the lasting transmitting time t of this control signal is less than or equal to T 1Then CPU 20 produces the PWM ripple of a corresponding duty ratio according to the volume control signal that receives, and by these PWM ripples of pulse-width modulation pin 21 output to controlling sound effect integrated circuit 3, sound effect integrated circuit 3 be unit increase volume (step S504) according to the duty ratio of this PWM ripple with one; If the lasting transmitting time t of this control signal is greater than T 1, be that unit increases volume (step S505) then with ten.In step S502, if this control signal is the signal of operation downturning key, then CPU 20 judges that then whether the lasting transmitting time of this control signal is greater than T 1(step S506) is if the lasting transmitting time of this signal is less than or equal to T 1Then CPU 20 produces the PWM ripple of a corresponding duty ratio according to the volume control signal that receives, and by these PWM ripples of pulse-width modulation pin 21 output to controlling sound effect integrated circuit 3, sound effect integrated circuit 3 is that unit reduces volume (step S507) according to the duty ratio of this PWM ripple with one; If the lasting transmitting time of this signal is greater than T 1, be that unit reduces volume (step S508) then with ten.Enter and regulate volume status (step S509), CPU 20 judges that whether the duration that does not transmit control signal is greater than scheduled time T 2(step S510), if the duration that does not transmit control signal be less than or equal to scheduled time T 2, then return step S509; If the duration that does not transmit control signal is greater than scheduled time T 2, then return readiness (step S511).

Claims (9)

1. sound-volume control system, this system comprises a key-press input unit, a mini program controlling unit and a sound effect integrated circuit, it is characterized in that:
Key-press input unit comprises that a button and that increases volume reduces the button of volume, is used to respond user's operation, and operates corresponding control signal to the mini program controlling unit transmission with this;
Mini program controlling unit is used for the lasting transmitting time according to above-mentioned control signal and this control signal, and the control sound effect integrated circuit is to regulate volume, and it comprises:
One timer is used for accumulative total user's operation push-button duration;
One memory is used for storage control program;
One pulse-width modulation pin;
One CPU, be used to receive above-mentioned control signal, the lasting transmitting time and a scheduled time of this control signal are compared, produce a pulse width modulated wave with corresponding duty ratio according to this comparative result, and export this pulse width modulated wave to sound effect integrated circuit by this pulse-width modulation pin, the control sound effect integrated circuit is by different amplitude adjusted volumes; And
Sound effect integrated circuit is used for carrying out corresponding volume according to the duty ratio of above-mentioned pulse width modulated wave and regulates.
2. sound-volume control system as claimed in claim 1 is characterized in that, described memory can be ROM (read-only memory), RAM (random access memory), also can be volatile storage, non-volatility memorizer.
3. sound-volume control system as claimed in claim 1 is characterized in that, when the operation push-button duration is less than or equal to this scheduled time, with the first amplitude adjusted volume; When operation push-button duration during, carry out with the second amplitude adjusted volume greater than this scheduled time.
4. sound-volume control system as claimed in claim 3 is characterized in that, under readiness, when the lasting transmitting time of the control signal that reduces volume during greater than this scheduled time, the control sound effect integrated circuit is carried out quiet operation.
5. a method for controlling volume is characterized in that, it is as follows that the method comprising the steps of:
Receive user's operation, and send and this operates corresponding control signal;
The lasting transmitting time of this control signal of accumulative total;
Judge that whether this control signal continues transmitting time greater than a scheduled time;
If the lasting transmitting time of this control signal is less than or equal to this scheduled time, then with the first amplitude adjusted volume; And
When the lasting transmitting time of the control signal that increases volume greater than this scheduled time, then increase volume with second amplitude.
6. method for controlling volume as claimed in claim 5 is characterized in that, also comprises step: under readiness, when the control signal that reduces volume continues transmitting time greater than this scheduled time, carry out mute function.
7. method for controlling volume as claimed in claim 5 is characterized in that, also comprises step: in regulating the volume process, when the control signal that reduces volume continues transmitting time greater than the scheduled time, then reduce volume with second amplitude.
8. method for controlling volume as claimed in claim 6 is characterized in that, also comprises step:
Under mute state, when the button that is used to increase volume received user's operation, volume returned to the volume value that enters before the mute state.
9. method for controlling volume as claimed in claim 6 is characterized in that, also comprises step:
Under mute state, when the button that reduces volume receives user's operation once more, the continuous intravenous sound function.
CNB2004100280761A 2004-07-10 2004-07-10 Sound volume controlling system and method Expired - Fee Related CN100502236C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100280761A CN100502236C (en) 2004-07-10 2004-07-10 Sound volume controlling system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100280761A CN100502236C (en) 2004-07-10 2004-07-10 Sound volume controlling system and method

Publications (2)

Publication Number Publication Date
CN1719724A CN1719724A (en) 2006-01-11
CN100502236C true CN100502236C (en) 2009-06-17

Family

ID=35931470

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100280761A Expired - Fee Related CN100502236C (en) 2004-07-10 2004-07-10 Sound volume controlling system and method

Country Status (1)

Country Link
CN (1) CN100502236C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038801A (en) * 2014-05-30 2014-09-10 四川长虹电器股份有限公司 System and method for realizing rapid silencing of set-top box
CN104678805A (en) * 2015-01-27 2015-06-03 广东美的厨房电器制造有限公司 Electrical equipment and parameter setting method thereof
CN109972925A (en) * 2019-03-13 2019-07-05 广东汇泰龙科技有限公司 A kind of method and system of the disposable mute enabling for intelligent door lock

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1161602A (en) * 1995-12-06 1997-10-08 索尼公司 Audio signal processing apparatus
US5900771A (en) * 1996-12-12 1999-05-04 Nat Semiconductor Corp Capacitive multiplier for timing generation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1161602A (en) * 1995-12-06 1997-10-08 索尼公司 Audio signal processing apparatus
US5900771A (en) * 1996-12-12 1999-05-04 Nat Semiconductor Corp Capacitive multiplier for timing generation

Also Published As

Publication number Publication date
CN1719724A (en) 2006-01-11

Similar Documents

Publication Publication Date Title
US7706553B2 (en) Auto-mute command stream by voice-activated remote control
CN106448672B (en) Sound system and control method
US8314893B2 (en) Remote control and method for automatically adjusting the volume output of an audio device
CN107560071B (en) Control method of remote controller, remote controller and storage medium
US8503696B2 (en) Equalizer interface for electronic apparatus
US8019102B2 (en) Acoustic adjustment device and acoustic adjustment method
EP1338087A2 (en) Automatic mute by baby monitor
US20120014538A1 (en) Audio equipment and a control method thereof
CN109828740B (en) Audio adjusting method and device
CN100502236C (en) Sound volume controlling system and method
US20050270422A1 (en) System and method for implementing an intelligent sleep mode in a TV
JP2005079748A5 (en)
EP2375569A3 (en) Audio volume control
US20120039486A1 (en) Wireless sound amplification system with microphone based volume control
US20110157185A1 (en) Method for pattern file formation for a driving and controlling sensing element of an electric/electronic device and an apparatus for a driving and controlling sensing element of an electric/electronic device using pattern file
EP1988640A1 (en) Load-based voltage control wireless transmissian system
JP3126377B2 (en) Key telephone equipment
CN208424737U (en) A kind of smart lock sound-volume control system and smart lock
US7555132B2 (en) Apparatus and method for adjusting sound volume for televisions and other audio systems
CN100438597C (en) Sound volume adjusting apparatus and method
US20060050899A1 (en) System and method for controlling sound volume
CN106233247B (en) Audio devices, audio system and volume value control method
CN1080514C (en) Plural time constant signal control
CN109246554B (en) Terminal and regulation and control method of vibrator thereof
CN112637740A (en) Signal modulation method, power amplifier and storage medium

Legal Events

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

Granted publication date: 20090617

Termination date: 20140710

EXPY Termination of patent right or utility model