CN110223668A - A kind of method that speaker and isolation are snored, storage medium - Google Patents

A kind of method that speaker and isolation are snored, storage medium Download PDF

Info

Publication number
CN110223668A
CN110223668A CN201910388363.XA CN201910388363A CN110223668A CN 110223668 A CN110223668 A CN 110223668A CN 201910388363 A CN201910388363 A CN 201910388363A CN 110223668 A CN110223668 A CN 110223668A
Authority
CN
China
Prior art keywords
voice signal
sound
snoring
loudspeaker
speaker
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
CN201910388363.XA
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.)
Shenzhen Fenda Technology Co Ltd
Original Assignee
Shenzhen Fenda 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 Shenzhen Fenda Technology Co Ltd filed Critical Shenzhen Fenda Technology Co Ltd
Priority to CN201910388363.XA priority Critical patent/CN110223668A/en
Publication of CN110223668A publication Critical patent/CN110223668A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/64Browsing; Visualisation therefor
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/02Feature extraction for speech recognition; Selection of recognition unit
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)
  • Orthopedics, Nursing, And Contraception (AREA)

Abstract

The invention discloses a kind of methods be isolated and snored, and applied to the speaker for being provided with loudspeaker and several microphones, method includes: the voice signal for obtaining several microphone acquisitions;The voice signal and the voice data of snoring in database are compared, judge the voice signal it is no be sound of snoring;If the voice signal is sound of snoring, controls the loudspeaker and issue reversed sound wave to neutralize the voice signal.Invention additionally discloses a kind of speaker and storage medium, the present invention can make the room-mate of chummage can't hear sound of snoring, and reduce the interference snored to same room room-mate.

Description

A kind of method that speaker and isolation are snored, storage medium
Technical field
The present invention relates to communication field more particularly to a kind of speaker and the method snored, storage medium is isolated.
Background technique
Currently, snoring is a kind of common physiological phenomenon, for the room that more people live, the noise for generation of snoring can be to it His room-mate generates interference, seriously affects sleep quality.
Summary of the invention
Other room-mates are interfered in order to snore when overcoming the problems, such as more people inhabitation in the prior art, the purpose of the present invention It is to provide a kind of speaker and method that isolation is snored, storage medium.
To achieve the goals above, the present invention provide it is a kind of the method snored is isolated, if applied to be provided with loudspeaker and The speaker of dry microphone, which comprises
Obtain the voice signal of several microphone acquisitions;
The voice signal and the voice data of snoring in database are compared, judge the voice signal whether be It snores sound;
If the voice signal is sound of snoring, controls the loudspeaker and issue reversed sound wave to neutralize the sound letter Number.
Further, before the control loudspeaker issues reversed sound wave to neutralize the voice signal, the side Method further include:
The direction of the voice signal is confirmed according to the time that each microphone collects voice signal;
Rotation command is sent to the loudspeaker to control the opposite direction that the loudspeaker turns to the voice signal.
Further, the method also includes:
Bearing mark is distributed for each microphone.
Further, before the control loudspeaker issues reversed sound wave to neutralize the voice signal, the side Method further include:
Calculate the frequency and phase of the voice signal;
Generate the reversed sound wave identical as the frequency of the voice signal, opposite in phase.
Further, it is described before the voice data of snoring by the voice signal and database compares Method further include:
Judge whether the voice signal reaches default decibel;
If the voice signal reaches default decibel, the voice data of snoring in the voice signal and database is carried out Comparison.
Further, described to compare the voice signal and the voice data of snoring in database, it specifically includes:
Sound characteristic of snoring in the sound characteristic for extracting the voice signal, with the database compares.
The present invention also provides a kind of speaker, including loudspeaker, several microphones, processor and memory, the memories In be stored with computer-readable program, the computer-readable program is configured to be executed by the processor, the computer Readable program realizes above-mentioned method when being executed by the processor.
Further, several microphones are uniformly arranged in the circumferential direction of the speaker.
Further, the loudspeaker rotational installation is on the speaker.
The invention further relates to a kind of computer readable storage mediums, are stored thereon with computer program, the computer journey Above-mentioned method is realized when sequence is executed by processor.
Compared with prior art, the beneficial effects of the present invention are: by microphone collected sound signal, by voice signal with Sound of snoring in database compares, and judges whether voice signal is sound of snoring, if snoring sound, controls loudspeaker Reversed sound wave is issued to neutralize voice signal, so that the room-mate of chummage be made to can't hear sound of snoring, reduction is snored to same room The interference of room-mate.
Detailed description of the invention
Fig. 1 is the schematic diagram of speaker provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram that the isolation that first embodiment of the invention provides is snored;
Fig. 3 is the method flow diagram that the isolation that second embodiment of the invention provides is snored.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination Example.
As shown in Figure 1, the method provided in an embodiment of the present invention that snore of being isolated is applied to be provided with loudspeaker 12 and several The speaker 11 of microphone 13, wherein microphone 13 is for acquiring sound, and loudspeaker 12 can be HiFi Speakers, for playing Sound.It is provided with processor 14 and memory 15 in speaker 11, computer-readable program, the calculating are stored in memory 15 Machine readable program is configured to be executed by the processor 14, real when the computer-readable program is executed by the processor 14 The method that the isolation now stated is snored.
In one embodiment, several microphones 13 are uniformly arranged in the circumferential direction of speaker 11, so as to each A direction receives voice signal.The rotational installation of loudspeaker 12 is on speaker 11, so as to be rotated according to control instruction.
As shown in Fig. 2, the method that the isolation that first embodiment of the invention provides is snored, comprising:
Step S101: the voice signal of several microphone acquisitions is obtained.
Specifically, several microphones acquire ambient sound simultaneously.
Step S102: the voice signal and the voice data of snoring in database are compared, judge the sound Whether signal is sound of snoring.
In one embodiment, after microphone collects voice signal, wake up instruction is sent to speaker, to wake up sound Case, for example, tranmitting data register signal is to speaker.Speaker receives voice signal, judges whether voice signal reaches default decibel, if sound Sound signal reaches default decibel, is filtered to voice signal and noise reduction process, the feature of voice signal is extracted, after processing Voice signal and database in sound characteristic of snoring compare, if snoring in the voice signal and database that receive The similarity of sound characteristic reaches setting value, then judges that the voice signal received is non-sound of snoring otherwise as sound of snoring Sound, speaker do not execute movement.
Step S103: it if the voice signal is sound of snoring, controls the loudspeaker and issues reversed sound wave to neutralize State voice signal.
In one embodiment, if voice signal is sound of snoring, speaker calculates the frequency and phase of voice signal, The sound signal storage that will be received generates, phase identical as the frequency of the voice signal received by dividing and being filtered The opposite reversed sound wave in position makes the room-mate of same room can't hear sound of snoring so as to neutralize sound of snoring.
In above-described embodiment, by collected sound signal, judge whether voice signal is sound of snoring, if snoring sound Sound, control loudspeaker issues reversed sound wave to neutralize voice signal, to reduce interference of the sound to same room room-mate of snoring.
As shown in figure 3, the method that the isolation that second embodiment of the invention provides is snored, the difference with first embodiment exist In, in the reversed sound wave of control loudspeaker sending in and before voice signal, method further include:
Step S201: the side of the voice signal is confirmed according to the time that each microphone collects voice signal To.
In one embodiment, bearing mark is distributed for each microphone in advance, microphone is uniformly distributed in speaker Circumferential direction, since the sound source that each microphone distance issues sound of snoring is different, each microphone receives sound letter Number time it is different, be initially received the direction that direction corresponding to the microphone of voice signal is voice signal.For example, A Microphone corresponds to the first orientation of speaker, B microphone corresponds to the second orientation of speaker, and C microphone corresponds to the third orientation of speaker Deng.If A microphone collects sound at first, illustrate first orientation of the voice signal from speaker.
S202: Xiang Suoshu loudspeaker of step sends rotation command and turns to the voice signal to control the loudspeaker Opposite direction.
Specifically, the first orientation from speaker, the opposite direction of first orientation is the 4th if voice signal is sound of snoring Orientation then controls the fourth orientation that loudspeaker turns to speaker, so as to control the user that interference of snoring is received in loudspeaker alignment.
In one embodiment, the initial position of loudspeaker is the first orientation of speaker, and loudspeaker is mobile every time to be fixed Angle, the every movement of loudspeaker is primary, and speaker counts mobile number.For example, loudspeaker every time move 45 °, loudspeaker from The every rotation of initial position is primary, and count is incremented, and when current count reaches 8, loudspeaker returns to initial position.By setting each wheat Gram orientation of wind and the angle of first orientation, can be realized the direction of the direction controlling loudspeaker according to voice signal.
In another embodiment, the bracelet communication connection that speaker is also worn with multiple users receives sleeping for bracelet transmission Dormancy data, when the collected voice signal of loudspeaker is to snore sound, speaker analyzes the dormant data that each bracelet is sent, and looks for The corresponding bracelet of abnormal sleep data out, that is, the corresponding bracelet of user of snoring send prompt information to the corresponding hand of the user that snores Ring reminds user to change sleeping position, healthy hidden danger caused by reduction is snored so that bracelet issues prompt information.
In above-described embodiment, the direction of the time confirmation voice signal of voice signal, control are collected according to each microphone Loudspeaker processed turns to the opposite direction of voice signal, to reduce interference of the sound to same room room-mate of snoring.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can It realizes by means of software and necessary general hardware platform.Based on this understanding, technical solution of the present invention essence On in other words the part that contributes to existing technology can be embodied in the form of software products.The invention further relates to one kind Computer readable storage medium, such as ROM/RAM, magnetic disk, CD, are stored thereon with computer program, and computer program is located Reason device realizes above-mentioned method when executing.
The above embodiment is only the preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto, The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention Claimed range.

Claims (10)

1. a kind of be isolated the method snored, which is characterized in that described applied to the speaker for being provided with loudspeaker and several microphones Method includes:
Obtain the voice signal of several microphone acquisitions;
The voice signal and the voice data of snoring in database are compared, judge whether the voice signal snores Sound;
If the voice signal is sound of snoring, controls the loudspeaker and issue reversed sound wave to neutralize the voice signal.
2. the method snored is isolated as described in claim 1, which is characterized in that the control loudspeaker issues reversed sound Before wave is to neutralize the voice signal, the method also includes:
The direction of the voice signal is confirmed according to the time that each microphone collects voice signal;
Rotation command is sent to the loudspeaker to control the opposite direction that the loudspeaker turns to the voice signal.
3. the method snored is isolated as claimed in claim 2, which is characterized in that the method also includes:
Bearing mark is distributed for each microphone.
4. the method snored is isolated as described in claim 1, which is characterized in that the control loudspeaker issues reversed sound Before wave is to neutralize the voice signal, the method also includes:
Calculate the frequency and phase of the voice signal;
Generate the reversed sound wave identical as the frequency of the voice signal, opposite in phase.
5. the method snored is isolated as described in claim 1, which is characterized in that it is described will be in the voice signal and database Voice data of snoring compare before, the method also includes:
Judge whether the voice signal reaches default decibel;
If the voice signal reaches default decibel, the voice data of snoring in the voice signal and database is carried out pair Than.
6. the method snored is isolated as described in claim 1, which is characterized in that it is described will be in the voice signal and database Voice data of snoring compare, specifically include:
Sound characteristic of snoring in the sound characteristic for extracting the voice signal, with the database compares.
7. a kind of speaker, which is characterized in that including loudspeaker, several microphones, processor and memory, deposited in the memory Computer-readable program is contained, the computer-readable program is configured to be executed by the processor, described computer-readable Program realizes method as claimed in any one of claims 1 to 6 when being executed by the processor.
8. speaker as claimed in claim 7, which is characterized in that several microphones are uniformly arranged in the circumferential direction of the speaker Direction.
9. speaker as claimed in claim 7, which is characterized in that the loudspeaker rotational installation is on the speaker.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Method as claimed in any one of claims 1 to 6 is realized when being executed by processor.
CN201910388363.XA 2019-05-10 2019-05-10 A kind of method that speaker and isolation are snored, storage medium Pending CN110223668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910388363.XA CN110223668A (en) 2019-05-10 2019-05-10 A kind of method that speaker and isolation are snored, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910388363.XA CN110223668A (en) 2019-05-10 2019-05-10 A kind of method that speaker and isolation are snored, storage medium

Publications (1)

Publication Number Publication Date
CN110223668A true CN110223668A (en) 2019-09-10

Family

ID=67820665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910388363.XA Pending CN110223668A (en) 2019-05-10 2019-05-10 A kind of method that speaker and isolation are snored, storage medium

Country Status (1)

Country Link
CN (1) CN110223668A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113380218A (en) * 2020-02-25 2021-09-10 阿里巴巴集团控股有限公司 Signal processing method and system, and processing device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06167984A (en) * 1992-11-30 1994-06-14 Fujitsu Ten Ltd Noise controller
US20100283618A1 (en) * 2009-05-06 2010-11-11 Andrew Wolfe Snoring treatment
CN102473406A (en) * 2009-08-07 2012-05-23 皇家飞利浦电子股份有限公司 Active sound reduction system and method
CN106062746A (en) * 2014-01-06 2016-10-26 哈曼国际工业有限公司 System and method for user controllable auditory environment customization
CN106073978A (en) * 2016-07-26 2016-11-09 京东方科技集团股份有限公司 A kind of device for preventing snoring and snore relieving method
CN106175320A (en) * 2016-08-19 2016-12-07 生迪光电科技股份有限公司 Eliminate medicated pillow and the pillow combination of noise
CN106302947A (en) * 2015-05-13 2017-01-04 张建中 Utilize mobile phone to detect and eliminate method and the device thereof of sound of snoring noise

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06167984A (en) * 1992-11-30 1994-06-14 Fujitsu Ten Ltd Noise controller
US20100283618A1 (en) * 2009-05-06 2010-11-11 Andrew Wolfe Snoring treatment
CN102473406A (en) * 2009-08-07 2012-05-23 皇家飞利浦电子股份有限公司 Active sound reduction system and method
CN106062746A (en) * 2014-01-06 2016-10-26 哈曼国际工业有限公司 System and method for user controllable auditory environment customization
CN106302947A (en) * 2015-05-13 2017-01-04 张建中 Utilize mobile phone to detect and eliminate method and the device thereof of sound of snoring noise
CN106073978A (en) * 2016-07-26 2016-11-09 京东方科技集团股份有限公司 A kind of device for preventing snoring and snore relieving method
CN106175320A (en) * 2016-08-19 2016-12-07 生迪光电科技股份有限公司 Eliminate medicated pillow and the pillow combination of noise

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113380218A (en) * 2020-02-25 2021-09-10 阿里巴巴集团控股有限公司 Signal processing method and system, and processing device

Similar Documents

Publication Publication Date Title
US10242657B2 (en) Snoring active noise-cancellation, masking, and suppression
CN111935589B (en) Active noise reduction method and device, electronic equipment and chip
CN110024030B (en) Context aware hearing optimization engine
CN107690119B (en) Binaural hearing system configured to localize sound source
CN106416290B (en) The system and method for the performance of audio-frequency transducer is improved based on the detection of energy converter state
CN106898348B (en) Dereverberation control method and device for sound production equipment
US8542855B2 (en) System for reducing acoustic feedback in hearing aids using inter-aural signal transmission, method and use
CN104661153A (en) Earphone sound effect compensation method and device as well as earphone
JP2017518522A (en) Active noise reduction earphone, noise reduction control method and system applied to the earphone
EP4254979A1 (en) Active noise reduction method, device and system
CN108476247A (en) Media access control(MAC)Address identifies
WO2015039441A1 (en) Sound volume adjusting method and device
CN105580389A (en) Hearing aid having a classifier
JP6612310B2 (en) Hearing aid operation
US11438710B2 (en) Contextual guidance for hearing aid
CN111754969A (en) Noise reduction method and device, electronic equipment and noise reduction system
US20220286791A1 (en) Hearing aid determining turn-taking
CN113038337A (en) Audio playing method, wireless earphone and computer readable storage medium
CN110223668A (en) A kind of method that speaker and isolation are snored, storage medium
WO2020128087A1 (en) Source separation in hearing devices and related methods
JPWO2018193826A1 (en) Information processing device, information processing method, audio output device, and audio output method
AU2019244700B2 (en) Voice-activated sound encoding for headsets using frequency domain representations of microphone signals
WO2023197474A1 (en) Method for determining parameter corresponding to earphone mode, and earphone, terminal and system
CN116193321A (en) Sound signal processing method, device, equipment and storage medium
WO2022227056A1 (en) Acoustic device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190910