WO2014061578A1 - Electronic device and acoustic reproduction method - Google Patents

Electronic device and acoustic reproduction method Download PDF

Info

Publication number
WO2014061578A1
WO2014061578A1 PCT/JP2013/077737 JP2013077737W WO2014061578A1 WO 2014061578 A1 WO2014061578 A1 WO 2014061578A1 JP 2013077737 W JP2013077737 W JP 2013077737W WO 2014061578 A1 WO2014061578 A1 WO 2014061578A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
earphone
transfer function
unit
sound reproduction
Prior art date
Application number
PCT/JP2013/077737
Other languages
French (fr)
Japanese (ja)
Inventor
岸波 雄一郎
康晴 大西
潤 有吉
Original Assignee
Necカシオモバイルコミュニケーションズ株式会社
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 Necカシオモバイルコミュニケーションズ株式会社 filed Critical Necカシオモバイルコミュニケーションズ株式会社
Publication of WO2014061578A1 publication Critical patent/WO2014061578A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1016Earpieces of the intra-aural type
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2499/00Aspects covered by H04R or H04S not otherwise provided for in their subgroups
    • H04R2499/10General applications
    • H04R2499/11Transducers incorporated or for use in hand-held devices, e.g. mobile phones, PDA's, camera's

Definitions

  • the present invention is based on a Japanese patent application: Japanese Patent Application No. 2012-227919 (filed on October 15, 2012), and the entire description of the application is incorporated herein by reference.
  • the present invention relates to an electronic device and a sound reproduction method.
  • the present invention relates to a technique for controlling sound reproduction by an earphone.
  • earphones in this specification, including headphones.
  • Hearing loss caused by listening for a long time is a global problem. From the viewpoint of hearing protection, regulations on the maximum volume of earphones are becoming stronger, especially in Europe.
  • an earphone provided with a built-in microphone is used, and a reproduction signal supplied to the earphone and a signal collected by the built-in microphone are compared by a signal comparison unit. Is determined to be out of the ear.
  • Patent Document 1 a signal comparison circuit (see FIG. 3 of Patent Document 1) for comparing the reproduction signal supplied to the earphone and the signal collected by the built-in microphone is provided. There is a problem that it is difficult to easily mount the insertion / extraction determination function.
  • Patent Document 1 no consideration is given to controlling sound reproduction for hearing protection when it is determined that the earphone is worn on the ear.
  • an object of the present invention is to provide an electronic device that can be easily equipped with an earphone insertion / extraction determination function and can contribute to optimizing sound reproduction when the earphone is inserted into an ear.
  • an acoustic reproduction unit that supplies an acoustic signal to an earphone equipped with a built-in microphone, a control unit that controls the acoustic reproduction unit, and the acoustic signal as an input are collected by the built-in microphone.
  • a transfer function calculation unit that calculates transfer function data of a transfer function that outputs a sound signal; a storage unit that stores user ear hole data that is data of the transfer function when the earphone is inserted into a user's ear; Is provided.
  • control unit includes an insertion / extraction determination unit that determines whether or not the earphone is in an insertion state based on the transfer function data calculated by the transfer function calculation unit and the user ear hole data, When the determination unit determines that the earphone is in an inserted state and the volume setting of the sound reproduction unit exceeds a predetermined volume, the volume setting of the sound reproduction unit exceeds the predetermined volume This is notified to the user.
  • an acoustic reproduction method in which an acoustic signal is supplied to an earphone provided with a built-in microphone and is reproduced by the earphone, and the following acoustic reproduction method is provided. That is, the sound reproduction method prepares in advance user ear hole data, which is transfer function data in which the sound signal when the earphone is inserted into the user's ear is input and the signal collected by the built-in microphone is output. Includes steps. Further, the sound reproduction method includes a step of calculating transfer function data of a transfer function having the sound signal as an input and a signal collected by the built-in microphone as an output.
  • the sound reproduction method includes an insertion / extraction determination step of determining whether the earphone is in an insertion state based on the calculated transfer function data and the user ear hole data. Further, in the sound reproduction method, when the earphone is determined to be inserted in the insertion / extraction determination step, and the sound reproduction volume setting exceeds a predetermined volume, the sound reproduction volume setting is Notifying the user that the predetermined volume is exceeded.
  • a program for supplying an acoustic signal to an earphone having a built-in microphone and controlling sound reproduction by the earphone and the following program is provided. That is, the program prepares in advance user ear data, which is transfer function data in which the acoustic signal when the earphone is inserted into the user's ear is input and the signal collected by the built-in microphone is output. Let it run. Further, the program executes a process of calculating transfer function data of a transfer function having the acoustic signal as an input and a signal collected by the built-in microphone as an output.
  • the program also executes an insertion / extraction determination process for determining whether or not the earphone is in an insertion state based on the calculated transfer function data and the user ear hole data.
  • the program determines that the earphone is in the insertion state in the insertion / extraction determination process, and if the sound reproduction volume setting exceeds a predetermined volume, the sound reproduction volume setting is the predetermined sound volume.
  • a process of notifying the user that the volume has been exceeded is executed.
  • the program can be stored in a non-transient storage medium.
  • the first aspect of the present invention it is possible to provide an electronic device which can easily contribute to optimizing sound reproduction when an earphone is inserted into an ear, with an earphone insertion / removal determination function easily installed. become.
  • the electronic device 1 controls the sound reproducing unit 16 and the sound reproducing unit 16 that supplies the sound signal C0 to the earphone 2 including the built-in microphone 4 as illustrated in FIG. 1 or 2.
  • the control unit 10 the transfer function calculation unit 14 that calculates the transfer function data C 4 of the transfer function that receives the acoustic signal C 0 and receives the signal C 1 collected by the built-in microphone, and the earphone 2 is inserted into the ear 6 of the user 5.
  • a storage unit 12 that stores user ear hole data 28 that is transfer function data at the time.
  • control unit 10 includes an insertion / removal determination unit 22 that determines whether or not the earphone 2 is in an insertion state based on the transfer function data C4 calculated by the transfer function calculation unit 14 and the user ear hole data 28.
  • determination unit 22 determines that the earphone 2 is in the inserted state and the volume setting VOL of the sound reproduction unit 16 exceeds a predetermined volume
  • the volume setting VOL of the sound reproduction unit 16 exceeds the predetermined volume. The user 5 is notified.
  • the user ear hole data 28 gives sound pressure by the speaker 3 to the ear hole space in which the earphone 2 is inserted into the ear 6 of the user 5, that is, the ear hole of the user 5 sealed with the earphone 2. It is a transfer function when the built-in microphone 4 receives acoustic vibration. Since the space of the ear canal varies from user to user, user ear canal data varies from user to user. Considering such a situation, in the above configuration, the user ear hole data 28 of the user 5 of the mobile terminal 1 is created and prepared in advance, so that the insertion / extraction determination of the earphone 2 can be performed with high accuracy. Therefore, it is possible to provide an electronic device that can accurately determine the insertion / extraction of the earphone with a simple configuration and optimize sound reproduction when the earphone 2 is inserted into the ear.
  • the control unit 10 may control the volume setting VOL of the sound playback unit 16 to be equal to or lower than a predetermined volume when notifying the user 5.
  • control unit 10 sets the volume setting of the sound reproduction unit 16 to be equal to or lower than the predetermined volume. You may control.
  • control unit 10 When it is determined by the insertion / extraction determination unit 22 of the control unit 10 that the earphone 2 has been removed from the ear, the control unit 10 performs control so as to stop the sound reproduction by the sound reproduction unit 16. May be.
  • the electronic device (8) further includes a user authentication unit 40 and user ear hole data 28a to 28b for each of a plurality of users. You may control to access the user ear hole data (any of 28a-b) corresponding to the user authenticated by the user authentication unit 40.
  • the sound reproduction method in one embodiment is a sound reproduction method in which an acoustic signal C0 is supplied to an earphone 2 having a built-in microphone 4 and sound is reproduced by the earphone 2, as shown in any of FIGS. Includes the following steps: That is, in the sound reproduction method, when the earphone 2 is inserted into the ear 6 of the user 5, the user ear hole data 28 which is data of a transfer function having the sound signal C0 as input and the signal C1 collected by the built-in microphone as output is output. Is prepared in advance (S10).
  • the sound reproduction method includes a step (S11) of calculating transfer function transfer function data C4 of a transfer function having the sound signal C0 as an input and the signal C1 collected by the built-in microphone as an output.
  • the sound reproduction method includes an insertion / extraction determination step (S13) for determining whether or not the earphone 2 is in an insertion state based on the calculated transfer function data C4 and user ear hole data 28. Further, in the sound reproduction method, when it is determined in the insertion / extraction determination step (S13) that the earphone 2 is in the inserted state and the sound reproduction volume setting VOL exceeds a predetermined volume, the sound reproduction volume setting is performed.
  • the sound reproduction method further includes a step (S19) of controlling the sound reproduction volume setting VOL to be equal to or lower than a predetermined volume when notifying the user 5. You may make it.
  • the sound reproduction method may further include a step (S14) of stopping sound reproduction when the earphone 2 is determined to be detached from the ear in the insertion / extraction determination step (S13).
  • [Mode 1] As described in the first viewpoint.
  • the control unit may control the volume setting of the sound reproducing unit to be equal to or lower than the predetermined volume.
  • [Mode 3] When there is no response from the user while a predetermined time has elapsed after notifying the user, the control unit sets the volume of the sound reproduction unit to be equal to or lower than the predetermined volume. You may control to become.
  • [Mode 4] When the insertion / extraction determination unit of the control unit determines that the earphone is out of the ear, the control unit performs control so as to stop the sound reproduction by the sound reproduction unit. You may do it.
  • the apparatus further includes a user authentication unit and the user ear hole data for each of a plurality of users, and the insertion / extraction determination unit of the control unit accesses the user ear hole data corresponding to the user authenticated by the user authentication unit. You may control to do.
  • [Mode 6] As described in the second viewpoint.
  • [Mode 7] When notifying the user, it may further include a step of controlling the sound reproduction volume setting to be equal to or lower than the predetermined volume.
  • the sound reproduction volume setting is controlled to be equal to or lower than the predetermined volume. A step may be further included.
  • a step of stopping the sound reproduction may be further included.
  • [Mode 10] As described in the third aspect.
  • FIG. 1 is a block diagram showing a configuration of a portable terminal (electronic device) 1 according to the first embodiment.
  • FIG. 1 shows a state in which the earphone 2 is connected to the earphone jack 19 of the mobile terminal 1.
  • the earphone 2 has a speaker 3 and a built-in microphone 4.
  • FIG. 2 shows a state in which the user 5 connects the earphone 2 to the earphone jack 19 of the mobile terminal 1 and wears it on the ear 6.
  • the user 5 can send his / her voice to the other party via the built-in microphone 4 while listening to the other party's voice with the earphone 2 during a call. Further, the user 5 can also listen to the music reproduced on the mobile terminal 1 through the speaker 3 of the earphone 2.
  • FIG. 1 shows a part mainly related to sound reproduction among various functions of the portable terminal 1.
  • the mobile terminal 1 includes a control unit 10, a storage unit 12, a display unit 17, an operation unit 18, a transfer function calculation unit 14, an acoustic reproduction unit 16, a switch 20, a speaker 21, and an earphone jack 19. Consists of including.
  • control unit 10 controls the operation of the entire mobile terminal 1 by a CPU (Central Processing Unit) (not shown).
  • a program that operates in the control unit 10 is stored in the storage unit 12 in advance, and is called and executed by the CPU of the control unit 10.
  • the insertion / extraction determination unit 22, the user notification unit 23, and the volume control unit 24 of the control unit 10 illustrated in FIG. 1 are programs that operate on the CPU of the control unit 10, respectively. Details of processing contents of the insertion / extraction determination unit 22, the user notification unit 23, and the volume control unit 24 will be described later.
  • the storage unit 12 includes a ROM (Read Only Memory) for storing a program and a RAM for storing data necessary for the operation of the program.
  • the storage unit 12 stores a music file 27 to be viewed by the user 5 and voice guidance data 26 for notifying the user 5.
  • the music file 27 includes a file written in advance on the portable terminal 1, a file downloaded by the user 5 via the Internet, a file written via a recording medium, and the like.
  • a moving image file (not shown) including audio data is also included.
  • the mobile terminal 1 is a smartphone as shown in FIG. 2, and in FIG. 1, the display unit 17 is configured by a liquid crystal panel method, and the operation unit 18 is configured by a touch panel method.
  • the signal C1 collected by the built-in microphone of the earphone 2 is amplified by the amplifier 30, and then converted into the digital signal C3 collected by the built-in microphone by the A / D converter 31.
  • the transfer function calculation unit 14 receives the acoustic digital signal C2 and the digital signal C3 collected by the built-in microphone, and calculates transfer function data C4.
  • the transfer function calculation unit 14 is configured by a program operated by the CPU. In FIG. 1, the transfer function calculation unit 14 is assumed to be configured to operate with a CPU (not shown) included in the transfer function calculation unit 14, but may be configured to operate with a CPU included in the control unit 10.
  • the transfer function is a frequency response when the acoustic signal C0 supplied to the speaker 3 of the earphone 2 is input and the signal C1 collected by the built-in microphone 4 of the earphone 2 is output, and is collected by the acoustic signal C0 and the built-in microphone. It is expressed as a ratio in the frequency response of the sound signal C1.
  • H is a function of frequency, and is represented by Expression (1).
  • the amplitude of the frequency component of the acoustic signal C0 is
  • the amplitude of the frequency component of the signal C1 collected by the built-in microphone is
  • H ( ⁇ )
  • the acoustic signal C0 and the signal C1 collected by the built-in microphone are both analog signals, but it is necessary to input a digital signal when performing the calculation in the transfer function calculation unit 14. Therefore, instead of the acoustic signal C0 and the signal C1 collected by the built-in microphone, the acoustic digital signal C2 and the digital signal C3 collected by the built-in microphone are used, respectively. However, the acoustic signal C0 and the acoustic digital signal C2 need to be corrected with the value of the volume setting VOL.
  • the transfer function H ( ⁇ ) in Expression (1) is expressed by Expression (2) by the acoustic digital signal C2 and the digital signal C3 collected by the built-in microphone.
  • the value of the volume setting VOL is held by the control unit 10 and is supplied from the control unit 10 to the transfer function calculation unit 14.
  • the amplitude of the frequency component of the acoustic digital signal C2 is
  • the amplitude of the frequency component of the digital signal C3 collected by the built-in microphone is
  • H ( ⁇ )
  • the portable terminal 1 since the portable terminal 1 has a function of sending the voice during a call collected by the built-in microphone 4 when the earphone 2 is attached to the other party, the amplifier 30 and the A / D converter 31 in FIG. 1 can be shared by the amplifier and A / D converter for call. That is, when adding a function for calculating a transfer function in the portable terminal 1, it is not necessary to provide a new sensor or circuit (amplifier, A / D converter, etc.).
  • the sound reproducing unit 16 includes a decoder 35, a D / A converter 34, and an amplifier 33.
  • the decoder 35 decodes the music file 27 supplied from the storage unit 12 and outputs the acoustic digital signal C 2 to the D / A converter 34.
  • the amplifier 33 amplifies the output of the D / A converter 34 and outputs an acoustic signal C0.
  • the amplifier 33 is a variable gain amplifier, and the gain of the amplifier 33 is controlled according to the volume setting VOL adjusted by the user 5.
  • the volume setting VOL by the user 5 can be adjusted by the operation unit 18 by the user 5 so that the volume that the user 5 feels is preferable.
  • FIG. 1 shows a case where sound playback is performed from the music file 27 of the storage unit 12, but the present invention is not limited thereto, and for example, streaming data received via the Internet can be played back by the sound playback unit 16. .
  • FIG. 3 is a flowchart showing the operation of the sound reproducing method according to the first embodiment. Also, FIG. 1 will be referred to as appropriate when each step of FIG. 3 is described.
  • user ear hole data 28 is prepared in advance and stored in the storage unit 12 (S10).
  • the user ear hole data 28 is sounded by the speaker 3 with respect to the ear hole space in which the earphone 2 is inserted into the ear 6 of the user 5, that is, the ear hole of the user 5 sealed with the earphone 2.
  • This is a transfer function when pressure is applied and the built-in microphone 4 receives the acoustic vibration.
  • the user ear hole data 28 obtained in this way is represented as Hu ( ⁇ ).
  • white noise (white noise) is supplied as the acoustic digital signal C2 to the speaker 3 of the earphone 2 to acquire the digital signal C3 collected by the built-in microphone, and N based on the equation (2)
  • the acquisition method of the user ear canal data 28 is not limited to the method described above.
  • the calculation of the user ear canal data 28 may be performed using an external device instead of being performed by the mobile terminal 1, and the measurement result may be stored in the storage unit 12 as the user ear canal data 28.
  • a lot of human ear canal data is classified into M ways according to the frequency characteristics, the user ear canal data 28 of the user 5 is determined to which of the M ways is close, and the ear canal data determined to be the closest is determined.
  • the user ear canal data 28 may be used.
  • the transfer function calculation unit 14 calculates transfer function data C4 (S11).
  • data to be input to the transfer function calculation unit 14 data of a part of the period T1 of the music file 27 being reproduced is used.
  • the acoustic digital signal C2 in the period T1 and the digital signal C3 collected by the built-in microphone are supplied to the transfer function calculation unit 14.
  • the frequency ⁇ ⁇ 0,. . . , ⁇ N ⁇ 1
  • transfer function data C4 is calculated.
  • the transfer function data C4 is calculated by the transfer function calculation unit 14 in a plurality of different periods T1,. . , Tn ⁇ 1 may be calculated by calculating each transfer function data and statistically processing the calculated n transfer function data. As the statistical process, for example, an averaging process can be applied.
  • the user ear hole data 28 stored in the storage unit 12 is read (S12).
  • the insertion / extraction determination unit 22 determines whether the earphone 2 is in an insertion state based on the transfer function data C4 and the user ear hole data 28 (S13). Specifically, the following method can be applied to the insertion / extraction determination algorithm of the insertion / extraction determination unit 22.
  • Equation (3) E calculated by Equation (3) is referred to as a weighted sum of transfer function data.
  • E W ( ⁇ 0) H ( ⁇ 0) + W ( ⁇ 1) H ( ⁇ 1) +. . . + W ( ⁇ N ⁇ 1) H ( ⁇ N ⁇ 1) Equation (3)
  • Eu W ( ⁇ 0) Hu ( ⁇ 0) + W ( ⁇ 1) Hu ( ⁇ 1) +. . . + W ( ⁇ N ⁇ 1) Hu ( ⁇ N ⁇ 1) Equation (4)
  • the insertion / extraction determination of the insertion / extraction determination unit 22 is determined based on how close the weight sum E of the transfer function data is to the weight sum Eu of the user ear hole data. This is because the user ear hole data 28 corresponds to a transfer function in a state in which the ear 6 of the user 5 is sealed with the earphone 2, so that when the earphone 2 is in the insertion state, the weight sum E of the transfer function data is the user ear hole. This is because it becomes close to the data weight sum Eu.
  • the built-in microphone 4 picks up the sound of the speaker 3 only a little.
  • the weight sum E of the transfer function data tends to be smaller than the weight sum Eu of the user ear hole data.
  • the insertion / removal determination of the insertion / removal determination unit 22 is determined by the following equation (5) by setting a predetermined threshold T.
  • T a predetermined threshold
  • the insertion / extraction determination algorithm is not limited to the method described above.
  • the correlation between the spectral shapes of the N-point data H ( ⁇ ) and Hu ( ⁇ ) may be taken, and the case where the correlation between the spectral shapes is high is set as the inserted state, and the case where the spectral shape is low is determined as the off state. .
  • step S ⁇ b> 13 when it is determined in step S ⁇ b> 13 that the earphone 2 is disconnected (No in S ⁇ b> 13), it is assumed that useless sound reproduction is being performed, and the control unit 10
  • the volume control unit 24 performs control so as to stop the sound reproduction of the sound reproduction unit 16 (S14).
  • step S13 if it is determined in step S13 that the earphone 2 is in the inserted state (Yes in S13), it is determined whether the volume setting VOL exceeds a predetermined volume VOLth (S15).
  • the predetermined volume VOLth indicates that when viewing with the earphone 2 at a volume setting higher than that, it is not preferable from the viewpoint of hearing protection.
  • the predetermined volume VOLth may be a parameter that is written in advance when the portable terminal 1 is shipped, or may be set when the above-described insertion / removal determination function is installed in the portable terminal 1.
  • step S15 When it is determined in step S15 described above that the volume setting VOL exceeds the predetermined volume VOLth (Yes in S15), the volume setting VOL exceeds the predetermined volume VOLth for the user 5, and the viewpoint of hearing protection is maintained. To notify that it is not preferable (S16). Then, the volume setting VOL is controlled to a predetermined volume or less, for example, VOLopt (however, VOLopt ⁇ VOLth) (S19). Specifically, the user notification unit 23 notifies the user 5 of the above, and the volume control unit 24 transmits the volume control signal C5 including the volume setting value VOLopt to the sound playback unit 16, thereby reproducing the sound. The volume setting of the unit 16 is controlled to VOLopt.
  • VOLopt however, VOLopt ⁇ VOLth
  • a voice guidance data 26 for notification is stored in the storage unit 12 in advance, and the user notification unit 23 sends a voice to the sound reproduction unit 16.
  • the guidance data 26 is controlled to flow (see the broken line arrow in FIG. 1).
  • the voice guidance data 26 has, for example, a message content such as “Since it has been detected that the volume is likely to impair the sense of hearing, the volume has been reduced to a level where there is no problem”.
  • step S15 of FIG. 3 determines whether the volume setting VOL does not exceed the predetermined volume VOLth (No in S15). If it is determined in step S15 of FIG. 3 that the volume setting VOL does not exceed the predetermined volume VOLth (No in S15), the process of steps S16 and S19 is not performed and the volume is kept as it is. With the setting VOL, the user 5 continues to watch music.
  • the mobile terminal 1 As described above, according to the mobile terminal 1 according to the first embodiment, it is possible to easily mount the insertion / extraction determination function of the earphone 2 without adding a new sensor or circuit. can get.
  • the earphone 2 If it is determined that the earphone 2 is inserted into the ear 6 and the volume setting VOL exceeds the predetermined volume VOLth and it is determined that this is not preferable from the viewpoint of hearing protection, the user 5 And the volume setting is lowered, it is possible to protect the user 5 from hearing.
  • the user ear hole data 28 of the user 5 who uses the mobile terminal 1 is prepared in advance and is compared with the transfer function data C4 at the time of sound reproduction, so that the insertion / extraction determination can be performed with high accuracy.
  • the effect of becoming That is, in order to prevent the accuracy of the insertion / removal determination from being reduced due to the variation in the ear canal data for each user, it is possible to stably perform the insertion / removal determination by using the ear hole data of the user 5 to be used. Yes.
  • FIG. 4 is a flowchart showing a modification of the first embodiment.
  • the operation of the volume control unit 24 is changed with respect to the first embodiment.
  • the changes will be mainly described.
  • FIG. 4 As can be seen by comparing FIG. 4 with FIG. 3 (first embodiment), in FIG. 3, the user is notified (S16) and the volume setting is set to a predetermined volume or lower (S19).
  • S16 the volume setting is set to a predetermined volume or lower
  • FIG. 4 when there is no response from the user during a predetermined time, an operation for setting the volume to a predetermined volume or less is performed.
  • the voice guidance data 26 for the user 5 is detected as “It is detected that the volume is likely to impair the hearing. Is it okay to reduce the volume? Please respond if you want to listen at the volume. " Then, a response from the user 5 is waited.
  • the response method from the user 5 is performed by touching the screen of the operation unit 18 or inputting voice to the built-in microphone 4 of the earphone 2.
  • step S17 it is checked whether or not there is a response from the user 5 (S17). If there is a response from the user 5 in step S17 (Yes in S17), the sound volume is set as it is.
  • step S18 it is determined whether or not a predetermined time has elapsed.
  • the volume setting VOL is set to a predetermined volume or less, for example, VOLopt (however, VOLopt ⁇ VOLth).
  • VOLopt however, VOLopt ⁇ VOLth.
  • the volume control unit 24 controls the volume setting of the sound reproduction unit 16 to VOLopt by transmitting a volume control signal C5 including the volume setting value VOLopt to the sound reproduction unit 16.
  • the volume setting may be reduced to VOLopt, and when there is a response from the user 5, the volume may be restored to the original high volume.
  • the volume when the volume is reduced for the purpose of hearing protection, it can be performed after obtaining the consent of the user 5. Moreover, when there is no response from the user 5, the effect that the auditory sensation of the user 5 can be protected is acquired similarly to 1st Embodiment.
  • FIG. 5 is a block diagram illustrating a configuration of a mobile terminal (electronic device) 8 according to the second embodiment.
  • the mobile terminal 8 according to the second embodiment is assumed to be used by a plurality of users.
  • the mobile terminal 8 includes a user authentication unit 40 in the operation unit 18 and user ear hole data 28a to 28b for a plurality of users. Since the other points are the same as those of the first embodiment, the same reference numerals are given, and duplicate descriptions are omitted.
  • the user authentication unit 40 of the operation unit 18 requests the user to input a user ID and a password.
  • the mobile terminal 8 can be used and the user can play music.
  • the storage unit 12 is provided with user ear hole data 28a to 28b for each registered user, and user ear hole data corresponding to the logged-in user is accessed.
  • FIG. 5 shows a state in which the user B has logged in, and the user ear hole data 28b corresponding to the user B among the plurality of user ear hole data 28a to 28b is accessed from the insertion / extraction determination unit 22.
  • the portable terminal (electronic device) 8 in addition to the effects obtained in the first embodiment, insertion / extraction optimized for a plurality of users, respectively.
  • the effect that the determination can be performed is obtained. It is also possible to set a notification method for each user and a setting VOLopt for lowering the volume setting according to the user's preference.
  • volume control in each embodiment illustrated about the case where it performs with respect to the volume setting VOL of the sound reproduction part 16 it is not limited to it.
  • the volume setting on the earphone 2 side may be controlled when a predetermined volume VOLth is exceeded.
  • both the sound reproduction unit 16 and the volume setting on the earphone 2 side may be controlled.
  • each process (S10 to S16, S19 in FIG. 3; FIG. 4) performed by the insertion / extraction determination unit 22, the user notification unit 23, the volume control unit 24, and the transfer function calculation unit 14 of the control unit 10 in each embodiment.
  • S10 to S19) are stored as programs in the storage unit 12, and are called and executed by a computer provided in the portable terminal.
  • the program can be downloaded via a network or updated using a storage medium (non-transitory) storing the program.
  • each embodiment illustrated the case where sound reproduction was performed with a portable terminal
  • the disclosure content of each embodiment is applicable to all electronic devices that perform sound reproduction using an earphone with a built-in microphone. Can do.
  • the present invention can be applied to all electronic devices that reproduce sound by wearing earphones with built-in microphones.
  • the electronic device include portable electronic devices such as a mobile phone, a smartphone, and a portable music player, and non-portable electronic devices such as a desktop computer and a television.
  • portable electronic devices such as a mobile phone, a smartphone, and a portable music player
  • non-portable electronic devices such as a desktop computer and a television.
  • an earphone provided with a built-in microphone both a cordless type (wireless type) and a cord type are included.

Landscapes

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

Abstract

Provided is the following electronic device. The electronic device is provided with: an acoustic reproduction unit which supplies an acoustic signal to an earphone provided with a built-in microphone; a control unit which controls the acoustic reproduction unit; a transfer function calculation unit which calculates transfer function data relating to a transfer function with the acoustic signal as an input and a signal picked up by the built-in microphone as an output; and a storage unit which stores user earhole data that is data relating to the transfer function when the earphone is inserted into an ear of a user. The control unit includes an insertion/removal determination unit which, on the basis of the transfer function data calculated by the transfer function calculation unit and the user earhole data, determines whether the earphone is in an inserted state or not. When the insertion/removal determination unit determines that the earphone is in the inserted state, and the volume setting of the acoustic reproduction unit exceeds a predetermined volume, the control unit notifies the user to that effect.

Description

電子機器、及び音響再生方法Electronic device and sound reproduction method
 [関連出願についての記載]
 本発明は、日本国特許出願:特願2012-227919号(2012年10月15日出願)に基づくものであり、同出願の全記載内容は引用をもって本書に組み込み記載されているものとする。
 本発明は、電子機器、及び音響再生方法に関する。特に、本発明は、イヤホンによる音響再生を制御する技術に関する。
[Description of related applications]
The present invention is based on a Japanese patent application: Japanese Patent Application No. 2012-227919 (filed on October 15, 2012), and the entire description of the application is incorporated herein by reference.
The present invention relates to an electronic device and a sound reproduction method. In particular, the present invention relates to a technique for controlling sound reproduction by an earphone.
 近年、携帯型音楽再生機器の普及により音楽が身近になった反面、イヤホン(以降、本明細書で「イヤホン」と言った場合、ヘッドホンも含んでいるものとする)で過大な音量の音を長時間聴くことによって生ずる難聴が世界的に問題となっている。聴感保護の観点から欧州を中心にイヤホンの最大音量についての規制が強まっている。 In recent years, music has become familiar due to the spread of portable music playback devices, but on the other hand, there is an excessive volume of sound with earphones (hereinafter referred to as “earphones” in this specification, including headphones). Hearing loss caused by listening for a long time is a global problem. From the viewpoint of hearing protection, regulations on the maximum volume of earphones are becoming stronger, especially in Europe.
 また、イヤホンが耳に装着されていない場合には、携帯型音楽再生機器の省電力化のために、再生を自動的に停止させることが望まれている。例えば、特許文献1には、イヤホンが耳に装着されていないことを検出した場合は、自動的に音楽等の音響の再生を停止することで、音楽再生中の再生動作の停止忘れによって生ずる無駄な電力消費を防止することが可能な技術が開示されている。 Also, when the earphone is not worn on the ear, it is desired to automatically stop the playback in order to save power of the portable music playback device. For example, in Patent Document 1, when it is detected that the earphone is not worn on the ear, it is a waste caused by forgetting to stop the reproduction operation during music reproduction by automatically stopping reproduction of sound such as music. A technique capable of preventing excessive power consumption is disclosed.
 特許文献1のイヤホンの挿抜判定では、内蔵マイクを備えたイヤホンを使用し、イヤホンに供給された再生信号と内蔵マイクが集音した信号とを信号比較部で比較し、不一致であれば、イヤホンが耳から外れているものと判定している。 In the earphone insertion / removal determination of Patent Document 1, an earphone provided with a built-in microphone is used, and a reproduction signal supplied to the earphone and a signal collected by the built-in microphone are compared by a signal comparison unit. Is determined to be out of the ear.
特開2007-165940号公報JP 2007-165940 A
 尚、上記特許文献の全開示内容はその引用をもって本書に繰込み記載する。以下の分析は、本発明の観点から与えられる。 Note that the entire disclosure of the above patent document is incorporated herein by reference. The following analysis is given from the perspective of the present invention.
 しかしながら、特許文献1に開示されたイヤホンの挿抜判定では、イヤホンに供給される再生信号と内蔵マイクが集音した信号とを比較する信号比較回路(特許文献1の図3を参照)を設けることが必要となり、挿抜判定機能を簡易に搭載することが難しいという問題がある。 However, in the earphone insertion / removal determination disclosed in Patent Document 1, a signal comparison circuit (see FIG. 3 of Patent Document 1) for comparing the reproduction signal supplied to the earphone and the signal collected by the built-in microphone is provided. There is a problem that it is difficult to easily mount the insertion / extraction determination function.
 また、特許文献1では、イヤホンが耳に装着されていると判定した場合に、聴感保護のために音響再生を制御することに関しては何ら考慮されていない。 Also, in Patent Document 1, no consideration is given to controlling sound reproduction for hearing protection when it is determined that the earphone is worn on the ear.
 そこで、本発明は、イヤホンの挿抜判定機能を簡易に搭載し、イヤホンが耳に挿入されている場合の音響再生を最適化することに貢献できる電子機器を提供することを課題とする。 Therefore, an object of the present invention is to provide an electronic device that can be easily equipped with an earphone insertion / extraction determination function and can contribute to optimizing sound reproduction when the earphone is inserted into an ear.
 本発明の第1の視点によれば、内蔵マイクを備えたイヤホンに音響信号を供給する音響再生部と、前記音響再生部を制御する制御部と、前記音響信号を入力とし前記内蔵マイクで集音した信号を出力とする伝達関数の伝達関数データを算出する伝達関数算出部と、前記イヤホンをユーザの耳に挿入した際の前記伝達関数のデータであるユーザ耳孔データを格納する記憶部と、を備えた電子機器が提供される。ここで、前記制御部は、前記伝達関数算出部が算出した前記伝達関数データと前記ユーザ耳孔データに基づいて、前記イヤホンが挿入状態にあるか否かを判定する挿抜判定部を含み、前記挿抜判定部により前記イヤホンが挿入状態であると判定され、且つ前記音響再生部の音量設定が所定の音量を超えている場合には、前記音響再生部の音量設定が前記所定の音量を超えている旨を前記ユーザに通知する。 According to a first aspect of the present invention, an acoustic reproduction unit that supplies an acoustic signal to an earphone equipped with a built-in microphone, a control unit that controls the acoustic reproduction unit, and the acoustic signal as an input are collected by the built-in microphone. A transfer function calculation unit that calculates transfer function data of a transfer function that outputs a sound signal; a storage unit that stores user ear hole data that is data of the transfer function when the earphone is inserted into a user's ear; Is provided. Here, the control unit includes an insertion / extraction determination unit that determines whether or not the earphone is in an insertion state based on the transfer function data calculated by the transfer function calculation unit and the user ear hole data, When the determination unit determines that the earphone is in an inserted state and the volume setting of the sound reproduction unit exceeds a predetermined volume, the volume setting of the sound reproduction unit exceeds the predetermined volume This is notified to the user.
 本発明の第2の視点によれば、内蔵マイクを備えたイヤホンに音響信号を供給して、前記イヤホンにより音響再生する音響再生方法であり、以下の音響再生方法が提供される。即ち、該音響再生方法は、前記イヤホンをユーザの耳に挿入した際の前記音響信号を入力とし前記内蔵マイクで集音した信号を出力とする伝達関数のデータであるユーザ耳孔データを予め用意するステップを含む。また、該音響再生方法は、前記音響信号を入力とし前記内蔵マイクで集音した信号を出力とする伝達関数の伝達関数データを算出するステップを含む。また、該音響再生方法は、前記算出された前記伝達関数データと前記ユーザ耳孔データに基づいて、前記イヤホンが挿入状態にあるか否かを判定する挿抜判定ステップを含む。さらに、該音響再生方法は、前記挿抜判定ステップにおいて前記イヤホンが挿入状態であると判定され、且つ音響再生の音量設定が所定の音量を超えている場合には、前記音響再生の音量設定が前記所定の音量を超えている旨を前記ユーザに通知するステップを含む。 According to a second aspect of the present invention, there is provided an acoustic reproduction method in which an acoustic signal is supplied to an earphone provided with a built-in microphone and is reproduced by the earphone, and the following acoustic reproduction method is provided. That is, the sound reproduction method prepares in advance user ear hole data, which is transfer function data in which the sound signal when the earphone is inserted into the user's ear is input and the signal collected by the built-in microphone is output. Includes steps. Further, the sound reproduction method includes a step of calculating transfer function data of a transfer function having the sound signal as an input and a signal collected by the built-in microphone as an output. In addition, the sound reproduction method includes an insertion / extraction determination step of determining whether the earphone is in an insertion state based on the calculated transfer function data and the user ear hole data. Further, in the sound reproduction method, when the earphone is determined to be inserted in the insertion / extraction determination step, and the sound reproduction volume setting exceeds a predetermined volume, the sound reproduction volume setting is Notifying the user that the predetermined volume is exceeded.
 本発明の第3の視点によれば、内蔵マイクを備えたイヤホンに音響信号を供給して、前記イヤホンによる音響再生を制御するプログラムであって、以下のプログラムが提供される。即ち、該プログラムは、前記イヤホンをユーザの耳に挿入した際の前記音響信号を入力とし前記内蔵マイクで集音した信号を出力とする伝達関数のデータであるユーザ耳孔データを予め用意する処理を実行させる。また、該プログラムは、前記音響信号を入力とし前記内蔵マイクで集音した信号を出力とする伝達関数の伝達関数データを算出する処理を実行させる。また、該プログラムは、前記算出された前記伝達関数データと前記ユーザ耳孔データに基づいて、前記イヤホンが挿入状態にあるか否かを判定する挿抜判定処理を実行させる。また、該プログラムは、前記挿抜判定処理において前記イヤホンが挿入状態であると判定され、且つ音響再生の音量設定が所定の音量を超えている場合には、前記音響再生の音量設定が前記所定の音量を超えている旨を前記ユーザに通知する処理を実行させる。なお、プログラムは非トランジェントな記憶媒体に記憶することができる。 According to a third aspect of the present invention, there is provided a program for supplying an acoustic signal to an earphone having a built-in microphone and controlling sound reproduction by the earphone, and the following program is provided. That is, the program prepares in advance user ear data, which is transfer function data in which the acoustic signal when the earphone is inserted into the user's ear is input and the signal collected by the built-in microphone is output. Let it run. Further, the program executes a process of calculating transfer function data of a transfer function having the acoustic signal as an input and a signal collected by the built-in microphone as an output. The program also executes an insertion / extraction determination process for determining whether or not the earphone is in an insertion state based on the calculated transfer function data and the user ear hole data. In addition, the program determines that the earphone is in the insertion state in the insertion / extraction determination process, and if the sound reproduction volume setting exceeds a predetermined volume, the sound reproduction volume setting is the predetermined sound volume. A process of notifying the user that the volume has been exceeded is executed. The program can be stored in a non-transient storage medium.
 本発明の第1の視点によれば、イヤホンの挿抜判定機能を簡易に搭載し、イヤホンが耳に挿入されている場合の音響再生を最適化することに貢献できる電子機器を提供することが可能になる。 According to the first aspect of the present invention, it is possible to provide an electronic device which can easily contribute to optimizing sound reproduction when an earphone is inserted into an ear, with an earphone insertion / removal determination function easily installed. become.
第1の実施形態に係る電子機器の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic device which concerns on 1st Embodiment. 図1の電子機器をユーザが装着した状態を示す図である。It is a figure which shows the state which the user mounted | worn with the electronic device of FIG. 第1の実施形態に係る音響再生方法を示すフローチャートである。It is a flowchart which shows the sound reproduction method which concerns on 1st Embodiment. 第1の実施形態の変形例に係る音響再生方法を示すフローチャートである。It is a flowchart which shows the sound reproduction method which concerns on the modification of 1st Embodiment. 第2の実施形態に係る電子機器の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic device which concerns on 2nd Embodiment.
 まず、本発明の一実施形態の概要について説明する。なお、実施形態の概要の説明において付記した図面参照符号は専ら理解を助けるための例示であり、図示の態様に限定することを意図するものではない。 First, an outline of an embodiment of the present invention will be described. Note that the reference numerals of the drawings added in the description of the outline of the embodiment are merely examples for helping understanding, and are not intended to be limited to the illustrated modes.
 一実施形態における電子機器1は、図1、図2のいずれかに示すように、内蔵マイク4を備えたイヤホン2に音響信号C0を供給する音響再生部16と、音響再生部16を制御する制御部10と、音響信号C0を入力とし内蔵マイクで集音した信号C1を出力とする伝達関数の伝達関数データC4を算出する伝達関数算出部14と、イヤホン2をユーザ5の耳6に挿入した際の伝達関数のデータであるユーザ耳孔データ28を格納する記憶部12と、を備える。ここで、制御部10は、伝達関数算出部14が算出した伝達関数データC4とユーザ耳孔データ28に基づいて、イヤホン2が挿入状態にあるか否かを判定する挿抜判定部22を含み、挿抜判定部22によりイヤホン2が挿入状態であると判定され、且つ音響再生部16の音量設定VOLが所定の音量を超えている場合には、音響再生部16の音量設定VOLが所定の音量を超えている旨をユーザ5に通知する。 The electronic device 1 according to the embodiment controls the sound reproducing unit 16 and the sound reproducing unit 16 that supplies the sound signal C0 to the earphone 2 including the built-in microphone 4 as illustrated in FIG. 1 or 2. The control unit 10, the transfer function calculation unit 14 that calculates the transfer function data C 4 of the transfer function that receives the acoustic signal C 0 and receives the signal C 1 collected by the built-in microphone, and the earphone 2 is inserted into the ear 6 of the user 5. And a storage unit 12 that stores user ear hole data 28 that is transfer function data at the time. Here, the control unit 10 includes an insertion / removal determination unit 22 that determines whether or not the earphone 2 is in an insertion state based on the transfer function data C4 calculated by the transfer function calculation unit 14 and the user ear hole data 28. When the determination unit 22 determines that the earphone 2 is in the inserted state and the volume setting VOL of the sound reproduction unit 16 exceeds a predetermined volume, the volume setting VOL of the sound reproduction unit 16 exceeds the predetermined volume. The user 5 is notified.
 ここで、ユーザ耳孔データ28は、イヤホン2をユーザ5の耳6に挿入した状態、即ち、ユーザ5の耳孔をイヤホン2で密閉した状態の耳孔の空間に対しスピーカ3で音圧を与え、その音響振動を内蔵マイク4が受けるときの伝達関数である。耳孔の空間は、ユーザにより異なるため、ユーザ耳孔データはユーザによって変化する。このような状況を考慮し、上記の構成では、携帯端末1のユーザ5のユーザ耳孔データ28を予め作成し用意することで、イヤホン2の挿抜判定を精度よく行うことを可能にしている。従って、簡易な構成でイヤホンの挿抜判定を精度よく行い、イヤホン2が耳に挿入されている場合の音響再生を最適化することが可能な電子機器を提供することができる。 Here, the user ear hole data 28 gives sound pressure by the speaker 3 to the ear hole space in which the earphone 2 is inserted into the ear 6 of the user 5, that is, the ear hole of the user 5 sealed with the earphone 2. It is a transfer function when the built-in microphone 4 receives acoustic vibration. Since the space of the ear canal varies from user to user, user ear canal data varies from user to user. Considering such a situation, in the above configuration, the user ear hole data 28 of the user 5 of the mobile terminal 1 is created and prepared in advance, so that the insertion / extraction determination of the earphone 2 can be performed with high accuracy. Therefore, it is possible to provide an electronic device that can accurately determine the insertion / extraction of the earphone with a simple configuration and optimize sound reproduction when the earphone 2 is inserted into the ear.
 上記制御部10は、ユーザ5に通知する場合に、音響再生部16の音量設定VOLが所定の音量以下になるように制御してもよい。 The control unit 10 may control the volume setting VOL of the sound playback unit 16 to be equal to or lower than a predetermined volume when notifying the user 5.
 上記制御部10は、ユーザ5に通知した後、所定の時間が経過する間に、ユーザ5からの応答がなかった場合には、音響再生部16の音量設定が所定の音量以下になるように制御してもよい。 If there is no response from the user 5 after a predetermined time has elapsed after notifying the user 5, the control unit 10 sets the volume setting of the sound reproduction unit 16 to be equal to or lower than the predetermined volume. You may control.
 上記制御部10の挿抜判定部22によりイヤホン2が耳から外れた状態であると判定された場合に、上記制御部10は、音響再生部16による音響の再生を停止するように制御するようにしてもよい。 When it is determined by the insertion / extraction determination unit 22 of the control unit 10 that the earphone 2 has been removed from the ear, the control unit 10 performs control so as to stop the sound reproduction by the sound reproduction unit 16. May be.
 電子機器(図5の8)において、図5に示すように、ユーザ認証部40と、複数のユーザ毎のユーザ耳孔データ28a~bと、をさらに備え、制御部10の挿抜判定部22は、ユーザ認証部40が認証したユーザに対応するユーザ耳孔データ(28a~bのいずれか)をアクセスするように制御してもよい。 In the electronic device (8 in FIG. 5), as shown in FIG. 5, the electronic device (8) further includes a user authentication unit 40 and user ear hole data 28a to 28b for each of a plurality of users. You may control to access the user ear hole data (any of 28a-b) corresponding to the user authenticated by the user authentication unit 40.
 一実施形態における音響再生方法は、図1~3のいずれかに示すように、内蔵マイク4を備えたイヤホン2に音響信号C0を供給して、イヤホン2により音響再生する音響再生方法であり、以下のステップを含む。即ち、該音響再生方法は、イヤホン2をユーザ5の耳6に挿入した際の、音響信号C0を入力とし内蔵マイクで集音した信号C1を出力とする伝達関数のデータであるユーザ耳孔データ28を予め用意するステップ(S10)を含む。また、該音響再生方法は、音響信号C0を入力とし内蔵マイクで集音した信号C1を出力とする伝達関数の伝達関数データC4を算出するステップ(S11)を含む。また、該音響再生方法は、算出された伝達関数データC4とユーザ耳孔データ28に基づいて、イヤホン2が挿入状態にあるか否かを判定する挿抜判定ステップ(S13)を含む。さらに、該音響再生方法は、挿抜判定ステップ(S13)においてイヤホン2が挿入状態であると判定され、且つ音響再生の音量設定VOLが所定の音量を超えている場合には、音響再生の音量設定VOLが所定の音量を超えている旨をユーザ5に通知するステップ(S16)を含む。 The sound reproduction method in one embodiment is a sound reproduction method in which an acoustic signal C0 is supplied to an earphone 2 having a built-in microphone 4 and sound is reproduced by the earphone 2, as shown in any of FIGS. Includes the following steps: That is, in the sound reproduction method, when the earphone 2 is inserted into the ear 6 of the user 5, the user ear hole data 28 which is data of a transfer function having the sound signal C0 as input and the signal C1 collected by the built-in microphone as output is output. Is prepared in advance (S10). Further, the sound reproduction method includes a step (S11) of calculating transfer function transfer function data C4 of a transfer function having the sound signal C0 as an input and the signal C1 collected by the built-in microphone as an output. In addition, the sound reproduction method includes an insertion / extraction determination step (S13) for determining whether or not the earphone 2 is in an insertion state based on the calculated transfer function data C4 and user ear hole data 28. Further, in the sound reproduction method, when it is determined in the insertion / extraction determination step (S13) that the earphone 2 is in the inserted state and the sound reproduction volume setting VOL exceeds a predetermined volume, the sound reproduction volume setting is performed. A step (S16) of notifying the user 5 that the VOL exceeds a predetermined volume;
 上記音響再生方法は、図1~3のいずれかに示すように、ユーザ5に通知する場合に、音響再生の音量設定VOLが所定の音量以下になるように制御するステップ(S19)をさらに含むようにしてもよい。 As shown in any of FIGS. 1 to 3, the sound reproduction method further includes a step (S19) of controlling the sound reproduction volume setting VOL to be equal to or lower than a predetermined volume when notifying the user 5. You may make it.
 上記音響再生方法は、図1~2、図4のいずれかに示すように、ユーザ5に通知した後、所定の時間が経過する間に、ユーザ5からの応答がなかった場合(S17でNo、且つS18でYesの場合)には、音響再生の音量設定VOLが所定の音量以下になるように制御するステップ(S19)をさらに含むようにしてもよい。 In the above sound reproduction method, as shown in any of FIGS. 1 to 2 and FIG. 4, when there is no response from the user 5 after a predetermined time has elapsed after notifying the user 5 (No in S17). In the case of Yes in S18, a step (S19) of controlling the sound reproduction volume setting VOL to be equal to or lower than a predetermined volume may be further included.
 上記音響再生方法は、挿抜判定ステップ(S13)によりイヤホン2が耳から外れた状態であると判定された場合に、音響再生を停止するステップ(S14)をさらに含むようにしてもよい。 The sound reproduction method may further include a step (S14) of stopping sound reproduction when the earphone 2 is determined to be detached from the ear in the insertion / extraction determination step (S13).
 本発明において下記の形態が可能である。
[形態1]第1の視点に既述のとおり。
[形態2]前記制御部は、前記ユーザに通知する場合に、前記音響再生部の音量設定が前記所定の音量以下になるように制御してもよい。
[形態3]前記制御部は、前記ユーザに通知した後、所定の時間が経過する間に、前記ユーザからの応答がなかった場合には、前記音響再生部の音量設定が前記所定の音量以下になるように制御してもよい。
[形態4]前記制御部の前記挿抜判定部により前記イヤホンが耳から外れた状態であると判定された場合に、前記制御部は、前記音響再生部による音響の再生を停止するように制御するようにしてもよい。
[形態5]ユーザ認証部と、複数のユーザ毎の前記ユーザ耳孔データと、をさらに備え、前記制御部の挿抜判定部は、前記ユーザ認証部が認証したユーザに対応する前記ユーザ耳孔データをアクセスするように制御してもよい。
[形態6]第2の視点に既述のとおり。
[形態7]前記ユーザに通知する場合に、前記音響再生の音量設定が前記所定の音量以下になるように制御するステップをさらに含むようにしてもよい。
[形態8]前記ユーザに通知した後、所定の時間が経過する間に、前記ユーザからの応答がなかった場合には、前記音響再生の音量設定が前記所定の音量以下になるように制御するステップをさらに含むようにしてもよい。
[形態9]前記挿抜判定ステップにより前記イヤホンが耳から外れた状態であると判定された場合に、前記音響再生を停止するステップをさらに含むようにしてもよい。
[形態10]第3の視点に既述のとおり。
In the present invention, the following modes are possible.
[Mode 1] As described in the first viewpoint.
[Mode 2] When notifying the user, the control unit may control the volume setting of the sound reproducing unit to be equal to or lower than the predetermined volume.
[Mode 3] When there is no response from the user while a predetermined time has elapsed after notifying the user, the control unit sets the volume of the sound reproduction unit to be equal to or lower than the predetermined volume. You may control to become.
[Mode 4] When the insertion / extraction determination unit of the control unit determines that the earphone is out of the ear, the control unit performs control so as to stop the sound reproduction by the sound reproduction unit. You may do it.
[Mode 5] The apparatus further includes a user authentication unit and the user ear hole data for each of a plurality of users, and the insertion / extraction determination unit of the control unit accesses the user ear hole data corresponding to the user authenticated by the user authentication unit. You may control to do.
[Mode 6] As described in the second viewpoint.
[Mode 7] When notifying the user, it may further include a step of controlling the sound reproduction volume setting to be equal to or lower than the predetermined volume.
[Mode 8] If no response is received from the user while a predetermined time has elapsed after notifying the user, the sound reproduction volume setting is controlled to be equal to or lower than the predetermined volume. A step may be further included.
[Mode 9] When it is determined in the insertion / extraction determination step that the earphone is in a state of being removed from the ear, a step of stopping the sound reproduction may be further included.
[Mode 10] As described in the third aspect.
 以下に具体的な実施の形態について、図面を参照して説明する。 Hereinafter, specific embodiments will be described with reference to the drawings.
[第1の実施形態]
(第1の実施形態の構成)
 第1の実施形態の構成について、図1~2を参照しながら詳細に説明する。図1は第1の実施形態に係る携帯端末(電子機器)1の構成を示すブロック図である。図1は、イヤホン2が携帯端末1のイヤホンジャック19に接続された状態を示している。また、イヤホン2は、スピーカ3と内蔵マイク4とを有している。
[First Embodiment]
(Configuration of the first embodiment)
The configuration of the first embodiment will be described in detail with reference to FIGS. FIG. 1 is a block diagram showing a configuration of a portable terminal (electronic device) 1 according to the first embodiment. FIG. 1 shows a state in which the earphone 2 is connected to the earphone jack 19 of the mobile terminal 1. The earphone 2 has a speaker 3 and a built-in microphone 4.
 次に、図2は、ユーザ5が携帯端末1のイヤホンジャック19にイヤホン2を接続し、耳6に装着した状態を示している。この状態で、ユーザ5は、通話中に相手の音声をイヤホン2で聞きながら、内蔵マイク4を介して自分の音声を相手に送ることが可能である。また、ユーザ5は、携帯端末1で再生した音楽をイヤホン2のスピーカ3により聴くこともできる。 Next, FIG. 2 shows a state in which the user 5 connects the earphone 2 to the earphone jack 19 of the mobile terminal 1 and wears it on the ear 6. In this state, the user 5 can send his / her voice to the other party via the built-in microphone 4 while listening to the other party's voice with the earphone 2 during a call. Further, the user 5 can also listen to the music reproduced on the mobile terminal 1 through the speaker 3 of the earphone 2.
 次に図1に戻って、携帯端末1の構成について詳細に説明する。図1は、携帯端末1が有する様々な機能のうち、主として音響再生に関連した部分を示している。図1に示すように、携帯端末1は、制御部10、記憶部12、表示部17、操作部18、伝達関数算出部14、音響再生部16、スイッチ20、スピーカ21、及びイヤホンジャック19を含んで構成される。 Next, returning to FIG. 1, the configuration of the mobile terminal 1 will be described in detail. FIG. 1 shows a part mainly related to sound reproduction among various functions of the portable terminal 1. As shown in FIG. 1, the mobile terminal 1 includes a control unit 10, a storage unit 12, a display unit 17, an operation unit 18, a transfer function calculation unit 14, an acoustic reproduction unit 16, a switch 20, a speaker 21, and an earphone jack 19. Consists of including.
 まず、制御部10は、不図示のCPU(Central Processing Unit)により携帯端末1全体の動作を制御している。制御部10で動作するプログラムは、予め記憶部12に格納され、制御部10のCPUにより呼び出されて実行される。図1に示された制御部10の挿抜判定部22、ユーザ通知部23、及び音量制御部24は、それぞれ制御部10のCPUで動作するプログラムである。挿抜判定部22、ユーザ通知部23及び音量制御部24の処理内容の詳細については後述する。 First, the control unit 10 controls the operation of the entire mobile terminal 1 by a CPU (Central Processing Unit) (not shown). A program that operates in the control unit 10 is stored in the storage unit 12 in advance, and is called and executed by the CPU of the control unit 10. The insertion / extraction determination unit 22, the user notification unit 23, and the volume control unit 24 of the control unit 10 illustrated in FIG. 1 are programs that operate on the CPU of the control unit 10, respectively. Details of processing contents of the insertion / extraction determination unit 22, the user notification unit 23, and the volume control unit 24 will be described later.
 記憶部12は、プログラムを格納するROM(Read Only Memory)と、上記プログラムの動作に必要なデータを格納するRAMを備えている。また、記憶部12には、ユーザ5が視聴する音楽ファイル27、ユーザ5に通知する際の音声ガイダンスデータ26が格納されている。ここで、音楽ファイル27には、予め携帯端末1に書き込まれているもの、ユーザ5がインターネットを介してダウンロードしたもの、記録メディアを介して書き込んだもの、等が含まれる。また、音だけの音楽ファイル27以外に、音声データを含む動画ファイル(不図示)も含まれる。 The storage unit 12 includes a ROM (Read Only Memory) for storing a program and a RAM for storing data necessary for the operation of the program. In addition, the storage unit 12 stores a music file 27 to be viewed by the user 5 and voice guidance data 26 for notifying the user 5. Here, the music file 27 includes a file written in advance on the portable terminal 1, a file downloaded by the user 5 via the Internet, a file written via a recording medium, and the like. In addition to the music file 27 containing only sound, a moving image file (not shown) including audio data is also included.
 また、携帯端末1は図2に示すようにスマートフォンであり、図1において表示部17は液晶パネル方式で構成され、操作部18はタッチパネル方式で構成される。 Further, the mobile terminal 1 is a smartphone as shown in FIG. 2, and in FIG. 1, the display unit 17 is configured by a liquid crystal panel method, and the operation unit 18 is configured by a touch panel method.
 次に、イヤホン2の内蔵マイクで集音した信号C1はアンプ30で増幅され、その後、A/D変換器31で内蔵マイクで集音したディジタル信号C3に変換される。伝達関数算出部14は、音響ディジタル信号C2及び内蔵マイクで集音したディジタル信号C3を入力し伝達関数データC4を算出する。ここで、伝達関数算出部14はCPUにより動作するプログラムで構成される。図1では、伝達関数算出部14は伝達関数算出部14が有するCPU(不図示)で動作する構成を想定しているが、制御部10が有するCPUで動作するように構成してもよい。 Next, the signal C1 collected by the built-in microphone of the earphone 2 is amplified by the amplifier 30, and then converted into the digital signal C3 collected by the built-in microphone by the A / D converter 31. The transfer function calculation unit 14 receives the acoustic digital signal C2 and the digital signal C3 collected by the built-in microphone, and calculates transfer function data C4. Here, the transfer function calculation unit 14 is configured by a program operated by the CPU. In FIG. 1, the transfer function calculation unit 14 is assumed to be configured to operate with a CPU (not shown) included in the transfer function calculation unit 14, but may be configured to operate with a CPU included in the control unit 10.
 ここで、伝達関数について説明する。伝達関数は、イヤホン2のスピーカ3に供給する音響信号C0を入力とし、イヤホン2の内蔵マイク4で集音した信号C1を出力としたときの周波数応答であり、音響信号C0と内蔵マイクで集音した信号C1の周波数応答における比率で表される。一般的には、上記の伝達関数をHとすると、Hは周波数の関数であり、式(1)により表される。式(1)において、音響信号C0の周波数成分の振幅を|A0(ω)|、内蔵マイクで集音した信号C1の周波数成分の振幅を|A1(ω)|としている(但し、上記||は、絶対値を表す)。

   H(ω)= |A1(ω)|/|A0(ω)|      式(1)
Here, the transfer function will be described. The transfer function is a frequency response when the acoustic signal C0 supplied to the speaker 3 of the earphone 2 is input and the signal C1 collected by the built-in microphone 4 of the earphone 2 is output, and is collected by the acoustic signal C0 and the built-in microphone. It is expressed as a ratio in the frequency response of the sound signal C1. In general, when the above transfer function is H, H is a function of frequency, and is represented by Expression (1). In Expression (1), the amplitude of the frequency component of the acoustic signal C0 is | A0 (ω) |, and the amplitude of the frequency component of the signal C1 collected by the built-in microphone is | A1 (ω) | Represents an absolute value).

H (ω) = | A1 (ω) | / | A0 (ω) | Equation (1)
 ここで、図1に示すように、音響信号C0、内蔵マイクで集音した信号C1は共にアナログ信号であるが、伝達関数算出部14での演算を行う上で、ディジタル信号を入力する必要性から、音響信号C0、内蔵マイクで集音した信号C1の代わりに、夫々音響ディジタル信号C2、内蔵マイクで集音したディジタル信号C3を用いている。但し、音響信号C0と音響ディジタル信号C2は、音量設定VOLの値で補正する必要がある。式(1)の伝達関数H(ω)は、音響ディジタル信号C2、内蔵マイクで集音したディジタル信号C3によって、式(2)により表される。ここで、音量設定VOLの値は、制御部10が保持しており、制御部10より伝達関数算出部14に供給される。また、音響ディジタル信号C2の周波数成分の振幅を|A2(ω)|、内蔵マイクで集音したディジタル信号C3の周波数成分の振幅を|A3(ω)|としている。

   H(ω)= |A3(ω)|/VOL|A2(ω)|   式(2)
Here, as shown in FIG. 1, the acoustic signal C0 and the signal C1 collected by the built-in microphone are both analog signals, but it is necessary to input a digital signal when performing the calculation in the transfer function calculation unit 14. Therefore, instead of the acoustic signal C0 and the signal C1 collected by the built-in microphone, the acoustic digital signal C2 and the digital signal C3 collected by the built-in microphone are used, respectively. However, the acoustic signal C0 and the acoustic digital signal C2 need to be corrected with the value of the volume setting VOL. The transfer function H (ω) in Expression (1) is expressed by Expression (2) by the acoustic digital signal C2 and the digital signal C3 collected by the built-in microphone. Here, the value of the volume setting VOL is held by the control unit 10 and is supplied from the control unit 10 to the transfer function calculation unit 14. Also, the amplitude of the frequency component of the acoustic digital signal C2 is | A2 (ω) |, and the amplitude of the frequency component of the digital signal C3 collected by the built-in microphone is | A3 (ω) |.

H (ω) = | A3 (ω) | / VOL | A2 (ω) | Equation (2)
 伝達関数算出部14は、式(2)に基づいて、N点の周波数ω=ω0、...、ωN-1における伝達関数データC4を出力する。 The transfer function calculation unit 14 calculates the N-point frequency ω = ω0,. . . , ΩN−1, transfer function data C4 is output.
 また、携帯端末1はイヤホン2装着時に内蔵マイク4で集音した通話中の音声を相手に送る機能を有しているため、図1のアンプ30及びA/D変換器31は、元々携帯端末1に備わっている通話用のアンプ及びA/D変換器で共用することができる。即ち、携帯端末1で伝達関数算出の機能追加を行う際に、新たにセンサや回路(アンプ、A/D変換器等)を設ける必要はない。 Further, since the portable terminal 1 has a function of sending the voice during a call collected by the built-in microphone 4 when the earphone 2 is attached to the other party, the amplifier 30 and the A / D converter 31 in FIG. 1 can be shared by the amplifier and A / D converter for call. That is, when adding a function for calculating a transfer function in the portable terminal 1, it is not necessary to provide a new sensor or circuit (amplifier, A / D converter, etc.).
 次に音響再生部16は、デコーダ35とD/A変換器34とアンプ33を含んで構成される。デコーダ35は、記憶部12から供給される音楽ファイル27をデコードして音響ディジタル信号C2をD/A変換器34に出力する。アンプ33は、D/A変換器34の出力を増幅し音響信号C0を出力する。ここで、アンプ33はゲイン可変型の増幅器であり、ユーザ5が調整した音量設定VOLに応じてアンプ33のゲインが制御される。ここで、ユーザ5による音量設定VOLは、ユーザ5が好ましいと感じる音量が得られるように、ユーザ5が操作部18で調整することができるようになっている。 Next, the sound reproducing unit 16 includes a decoder 35, a D / A converter 34, and an amplifier 33. The decoder 35 decodes the music file 27 supplied from the storage unit 12 and outputs the acoustic digital signal C 2 to the D / A converter 34. The amplifier 33 amplifies the output of the D / A converter 34 and outputs an acoustic signal C0. Here, the amplifier 33 is a variable gain amplifier, and the gain of the amplifier 33 is controlled according to the volume setting VOL adjusted by the user 5. Here, the volume setting VOL by the user 5 can be adjusted by the operation unit 18 by the user 5 so that the volume that the user 5 feels is preferable.
 また、図1では、記憶部12の音楽ファイル27から音響再生する場合について示しているが、それに限定されず、例えば、インターネットを介して受信したストリーミングデータを音響再生部16で再生することもできる。 In addition, FIG. 1 shows a case where sound playback is performed from the music file 27 of the storage unit 12, but the present invention is not limited thereto, and for example, streaming data received via the Internet can be played back by the sound playback unit 16. .
 また、図1において、イヤホンジャック19にイヤホン2が挿入されている場合には、イヤホン2が挿入されていることが検知され、スイッチ20の入力端子は第1出力端子41と接続するように制御される。それにより、音響再生部16が出力する音響信号はイヤホン2のスピーカ3に出力される。一方、イヤホンジャック19に何も挿入されていない場合には、何も挿入されていないことが検知され、スイッチ20の入力端子は第2出力端子42と接続するように制御される。それにより、音響再生部16が出力する音響信号は携帯端末1に内蔵されるスピーカ21のほうに出力される。 In FIG. 1, when the earphone 2 is inserted into the earphone jack 19, it is detected that the earphone 2 is inserted, and the input terminal of the switch 20 is controlled to be connected to the first output terminal 41. Is done. Thereby, the sound signal output from the sound reproducing unit 16 is output to the speaker 3 of the earphone 2. On the other hand, when nothing is inserted into the earphone jack 19, it is detected that nothing is inserted, and the input terminal of the switch 20 is controlled to be connected to the second output terminal 42. As a result, the sound signal output from the sound playback unit 16 is output to the speaker 21 built in the mobile terminal 1.
(第1の実施形態の動作)
 次に第1の実施形態の動作について、図3を参照しながら詳細に説明する。図3は第1の実施形態に係る音響再生方法の動作を示すフローチャートである。また、図3の各ステップを説明する際に、図1を適宜、参照する。
(Operation of the first embodiment)
Next, the operation of the first embodiment will be described in detail with reference to FIG. FIG. 3 is a flowchart showing the operation of the sound reproducing method according to the first embodiment. Also, FIG. 1 will be referred to as appropriate when each step of FIG. 3 is described.
 以下の図3の説明では、図2に示すようにユーザ5が内蔵マイク4を備えたイヤホン2を耳6に装着して、ある音楽ファイル(図1の27)を再生させている状態を想定している。 In the description of FIG. 3 below, it is assumed that the user 5 wears the earphone 2 with the built-in microphone 4 on the ear 6 and reproduces a music file (27 in FIG. 1) as shown in FIG. is doing.
 図3において、まず、ユーザ耳孔データ28を予め用意し、記憶部12に格納する(S10)。ここで、ユーザ耳孔データ28は、前述したように、イヤホン2をユーザ5の耳6に挿入した状態、即ち、ユーザ5の耳孔をイヤホン2で密閉した状態の耳孔の空間に対しスピーカ3で音圧を与え、その音響振動を内蔵マイク4が受けるときの伝達関数である。 In FIG. 3, first, user ear hole data 28 is prepared in advance and stored in the storage unit 12 (S10). Here, as described above, the user ear hole data 28 is sounded by the speaker 3 with respect to the ear hole space in which the earphone 2 is inserted into the ear 6 of the user 5, that is, the ear hole of the user 5 sealed with the earphone 2. This is a transfer function when pressure is applied and the built-in microphone 4 receives the acoustic vibration.
 ユーザ耳孔データ28は、例えば、以下に示す方法で取得することができる。イヤホン2をユーザ5の耳6に挿入した状態で、音響ディジタル信号C2として単一周波数ωの正弦波信号をイヤホン2のスピーカ3に供給し、そのときの内蔵マイクで集音したディジタル信号C3を取得する。この動作を、供給する正弦波の周波数ωiをω0、...、ωN-1に亘って変化させることにより、式(2)に基づいてN点の周波数ω=ω0、...、ωN-1におけるユーザ耳孔データ28が得られる。ここで、このようにして得られたユーザ耳孔データ28をHu(ω)と表す。 The user ear canal data 28 can be acquired by the following method, for example. With the earphone 2 inserted into the ear 6 of the user 5, a sine wave signal having a single frequency ω is supplied to the speaker 3 of the earphone 2 as the acoustic digital signal C2, and the digital signal C3 collected by the built-in microphone at that time is supplied. get. This operation is performed by changing the frequency ωi of the supplied sine wave to ω0,. . . , ΩN−1, the frequency ω = ω0,. . . , ΩN−1, user ear hole data 28 is obtained. Here, the user ear hole data 28 obtained in this way is represented as Hu (ω).
 また、別の方法として、音響ディジタル信号C2として白色雑音(ホワイトノイズ)をイヤホン2のスピーカ3に供給して、内蔵マイクで集音したディジタル信号C3を取得し、式(2)に基づいてN点の周波数ω=ω0、...、ωN-1におけるユーザ耳孔データ28を得ることもできる。 As another method, white noise (white noise) is supplied as the acoustic digital signal C2 to the speaker 3 of the earphone 2 to acquire the digital signal C3 collected by the built-in microphone, and N based on the equation (2) The frequency of the point ω = ω0,. . . , ΩN−1 user ear hole data 28 can also be obtained.
 また、ユーザ耳孔データ28の取得方法は、上記した方法に限定されない。例えば、ユーザ耳孔データ28の算出を携帯端末1で行うのではなく、外部機器を用いて測定し、その測定結果をユーザ耳孔データ28として記憶部12に格納するようにしてもよい。 Moreover, the acquisition method of the user ear canal data 28 is not limited to the method described above. For example, the calculation of the user ear canal data 28 may be performed using an external device instead of being performed by the mobile terminal 1, and the measurement result may be stored in the storage unit 12 as the user ear canal data 28.
 また、多くの人間の耳孔データを周波数特性によりM通りに分類しておき、ユーザ5のユーザ耳孔データ28がM通りのうちのどれに近いかを判定し、最も近いと判定された耳孔データを、ユーザ耳孔データ28として使用するようにしてもよい。 Further, a lot of human ear canal data is classified into M ways according to the frequency characteristics, the user ear canal data 28 of the user 5 is determined to which of the M ways is close, and the ear canal data determined to be the closest is determined. The user ear canal data 28 may be used.
 尚、一度ステップS10によりユーザ耳孔データ28が用意できた場合には、次回からはステップS11から動作させればよい。次に、伝達関数算出部14は、伝達関数データC4を算出する(S11)。ここで、伝達関数算出部14に入力するデータは、再生中の音楽ファイル27の一部の期間T1のデータを使用する。即ち、期間T1における音響ディジタル信号C2及び内蔵マイクで集音したディジタル信号C3を伝達関数算出部14に供給する。前述したように、期間T1のデータを用いて、式(2)に基づいて、N点の周波数ω=ω0、...、ωN-1における伝達関数データC4が計算される。 It should be noted that once the user ear canal data 28 has been prepared in step S10, the operation may be performed from step S11 from the next time. Next, the transfer function calculation unit 14 calculates transfer function data C4 (S11). Here, as data to be input to the transfer function calculation unit 14, data of a part of the period T1 of the music file 27 being reproduced is used. In other words, the acoustic digital signal C2 in the period T1 and the digital signal C3 collected by the built-in microphone are supplied to the transfer function calculation unit 14. As described above, using the data of the period T1, the frequency ω = ω0,. . . , ΩN−1, transfer function data C4 is calculated.
 また、伝達関数算出部14による伝達関数データC4の算出は、複数の異なる期間T1、..、Tn-1に対して各々の伝達関数データを算出し、算出したn個の伝達関数データを統計処理することにより算出してもよい。統計処理としては、例えば、平均化処理などが適用可能である。 Further, the transfer function data C4 is calculated by the transfer function calculation unit 14 in a plurality of different periods T1,. . , Tn−1 may be calculated by calculating each transfer function data and statistically processing the calculated n transfer function data. As the statistical process, for example, an averaging process can be applied.
 次に、図3において、記憶部12に格納されたユーザ耳孔データ28を読み出す(S12)。 Next, in FIG. 3, the user ear hole data 28 stored in the storage unit 12 is read (S12).
 次に、図3において、挿抜判定部22は、伝達関数データC4とユーザ耳孔データ28に基づいて、イヤホン2が挿入状態か否かの挿抜判定を行う(S13)。挿抜判定部22の挿抜判定のアルゴリズムは、具体的には、以下に示す方法が適用可能である。重み関数W(ω)、ω=ω0、ω1、...、ωN-1を用意し、式(3)に示すように積和演算を行い、その結果をEとする。重み関数W(ω)としては、任意の関数が適用可能であるが、イヤホンが挿入されているときと、外れているときとで、伝達関数の差が大きくなる周波数に対する重みを大きくしておくことが好ましい。式(3)で算出されたEを伝達関数データの重み和という。

   E=W(ω0)H(ω0)+W(ω1)H(ω1)+...
        +W(ωN-1)H(ωN-1)          式(3)
Next, in FIG. 3, the insertion / extraction determination unit 22 determines whether the earphone 2 is in an insertion state based on the transfer function data C4 and the user ear hole data 28 (S13). Specifically, the following method can be applied to the insertion / extraction determination algorithm of the insertion / extraction determination unit 22. Weight function W (ω), ω = ω0, ω1,. . . , ΩN−1 are prepared, a product-sum operation is performed as shown in Equation (3), and the result is represented by E. Any function can be applied as the weighting function W (ω), but the weight for the frequency at which the difference in the transfer function is large between when the earphone is inserted and when the earphone is disconnected is increased. It is preferable. E calculated by Equation (3) is referred to as a weighted sum of transfer function data.

E = W (ω0) H (ω0) + W (ω1) H (ω1) +. . .
+ W (ωN−1) H (ωN−1) Equation (3)
 また、ユーザ耳孔データ28に対しても、式(4)に示すように同様の積和演算を行い、その結果をEuとする。式(4)で算出されたEuをユーザ耳孔データの重み和という。

   Eu=W(ω0)Hu(ω0)+W(ω1)Hu(ω1)+...
         +W(ωN-1)Hu(ωN-1)        式(4)
Further, a similar product-sum operation is performed on the user ear hole data 28 as shown in Expression (4), and the result is Eu. Eu calculated by Expression (4) is referred to as a weight sum of user ear hole data.

Eu = W (ω0) Hu (ω0) + W (ω1) Hu (ω1) +. . .
+ W (ωN−1) Hu (ωN−1) Equation (4)
 挿抜判定部22の挿抜判定は、伝達関数データの重み和Eが、ユーザ耳孔データの重み和Euにどの程度近いかにより判定する。これは、ユーザ耳孔データ28は、ユーザ5の耳6をイヤホン2で密閉した状態での伝達関数に相当するので、イヤホン2が挿入状態である場合は、伝達関数データの重み和Eはユーザ耳孔データの重み和Euに近くなるからである。一方、イヤホン2が外れている場合は、ユーザ5の鼓膜からの反射音がなくなるため、内蔵マイク4はスピーカ3の音を少ししか拾わなくなる。その他には、内蔵マイク4は、周囲の外部音を拾うだけであるから、伝達関数データの重み和Eは、ユーザ耳孔データの重み和Euに対して、小さな値になる傾向がある。 The insertion / extraction determination of the insertion / extraction determination unit 22 is determined based on how close the weight sum E of the transfer function data is to the weight sum Eu of the user ear hole data. This is because the user ear hole data 28 corresponds to a transfer function in a state in which the ear 6 of the user 5 is sealed with the earphone 2, so that when the earphone 2 is in the insertion state, the weight sum E of the transfer function data is the user ear hole. This is because it becomes close to the data weight sum Eu. On the other hand, when the earphone 2 is disconnected, there is no sound reflected from the eardrum of the user 5, so the built-in microphone 4 picks up the sound of the speaker 3 only a little. In addition, since the built-in microphone 4 only picks up surrounding external sounds, the weight sum E of the transfer function data tends to be smaller than the weight sum Eu of the user ear hole data.
 挿抜判定部22の挿抜判定は、具体的には、所定の閾値Tを設定して、以下の式(5)により判定する。式(5)の条件を満たしている場合は、イヤホン2は挿入状態であると判定し、式(5)の条件を満たさない場合は、イヤホン2は外れていると判定する。

   |E-Eu|≦T     式(5)
Specifically, the insertion / removal determination of the insertion / removal determination unit 22 is determined by the following equation (5) by setting a predetermined threshold T. When the condition of Expression (5) is satisfied, it is determined that the earphone 2 is in the inserted state, and when the condition of Expression (5) is not satisfied, it is determined that the earphone 2 is disconnected.

| E-Eu | ≦ T Formula (5)
 尚、挿抜判定のアルゴリズムは、上記した方法に限定されない。例えば、N点のデータH(ω)、Hu(ω)のスペクトル形状の相関を取って、スペクトル形状の相関が高い場合を挿入状態とし、低い場合を外れた状態と判定するようにしてもよい。 The insertion / extraction determination algorithm is not limited to the method described above. For example, the correlation between the spectral shapes of the N-point data H (ω) and Hu (ω) may be taken, and the case where the correlation between the spectral shapes is high is set as the inserted state, and the case where the spectral shape is low is determined as the off state. .
 次に、図3において、ステップS13でイヤホン2が外れた状態であると判定された場合(S13でNoの場合)には、無駄な音響再生がなされていると見做し、制御部10の音量制御部24は音響再生部16の音響再生を停止するように制御する(S14)。 Next, in FIG. 3, when it is determined in step S <b> 13 that the earphone 2 is disconnected (No in S <b> 13), it is assumed that useless sound reproduction is being performed, and the control unit 10 The volume control unit 24 performs control so as to stop the sound reproduction of the sound reproduction unit 16 (S14).
 一方、ステップS13でイヤホン2が挿入状態であると判定された場合(S13でYesの場合)には、音量設定VOLが所定の音量VOLthを超えているかを判定する(S15)。上記の所定の音量VOLthは、それ以上の音量設定でイヤホン2による視聴を行った場合、聴感保護の観点から好ましくない状態であることを示すものである。所定の音量VOLthは予め携帯端末1の出荷時に書き込むパラメータであってもよいし、上述した挿抜判定機能を携帯端末1にインストールする際に設定するものであってもよい。 On the other hand, if it is determined in step S13 that the earphone 2 is in the inserted state (Yes in S13), it is determined whether the volume setting VOL exceeds a predetermined volume VOLth (S15). The predetermined volume VOLth indicates that when viewing with the earphone 2 at a volume setting higher than that, it is not preferable from the viewpoint of hearing protection. The predetermined volume VOLth may be a parameter that is written in advance when the portable terminal 1 is shipped, or may be set when the above-described insertion / removal determination function is installed in the portable terminal 1.
 上述したステップS15で、音量設定VOLが所定の音量VOLthを超えていると判定された場合(S15でYesの場合)、ユーザ5に音量設定VOLが所定の音量VOLthを超えており聴感保護の観点から好ましくない旨を通知する(S16)。そして、音量設定VOLを所定の音量以下、例えばVOLopt(但し、VOLopt<VOLth)に制御する(S19)。具体的には、ユーザ通知部23がユーザ5に対して上記の通知をし、音量制御部24が音響再生部16に対して音量設定値VOLoptを含む音量制御信号C5を送信することにより音響再生部16の音量設定をVOLoptに制御する。 When it is determined in step S15 described above that the volume setting VOL exceeds the predetermined volume VOLth (Yes in S15), the volume setting VOL exceeds the predetermined volume VOLth for the user 5, and the viewpoint of hearing protection is maintained. To notify that it is not preferable (S16). Then, the volume setting VOL is controlled to a predetermined volume or less, for example, VOLopt (however, VOLopt <VOLth) (S19). Specifically, the user notification unit 23 notifies the user 5 of the above, and the volume control unit 24 transmits the volume control signal C5 including the volume setting value VOLopt to the sound playback unit 16, thereby reproducing the sound. The volume setting of the unit 16 is controlled to VOLopt.
 ユーザ5に対する通知の方法は、例えば、図1に示すように、予め通知のための音声ガイダンスデータ26を記憶部12に格納しておき、ユーザ通知部23が、音響再生部16に対して音声ガイダンスデータ26を流すように制御する(図1の破線矢印を参照)。音声ガイダンスデータ26は、例えば、「聴感を損なう虞のある音量になっていることが検出されましたので、問題のないレベルまで音量を落としました」というようなメッセージ内容とする。 For example, as shown in FIG. 1, a voice guidance data 26 for notification is stored in the storage unit 12 in advance, and the user notification unit 23 sends a voice to the sound reproduction unit 16. The guidance data 26 is controlled to flow (see the broken line arrow in FIG. 1). The voice guidance data 26 has, for example, a message content such as “Since it has been detected that the volume is likely to impair the sense of hearing, the volume has been reduced to a level where there is no problem”.
 一方、図3のステップS15において、音量設定VOLが所定の音量VOLthを超えていないと判定された場合(S15でNoの場合)には、ステップS16、S19の処理は行わずに、そのままの音量設定VOLでユーザ5は音楽の視聴を継続する。 On the other hand, if it is determined in step S15 of FIG. 3 that the volume setting VOL does not exceed the predetermined volume VOLth (No in S15), the process of steps S16 and S19 is not performed and the volume is kept as it is. With the setting VOL, the user 5 continues to watch music.
 以上説明したように、第1の実施形態に係る携帯端末1によれば、新たにセンサや回路を追加することなく、イヤホン2の挿抜判定機能を簡易に搭載することが可能であるという効果が得られる。 As described above, according to the mobile terminal 1 according to the first embodiment, it is possible to easily mount the insertion / extraction determination function of the earphone 2 without adding a new sensor or circuit. can get.
 また、イヤホン2が耳6に挿入されていると判定され、且つ音量設定VOLが所定の音量量VOLthを超えており聴感保護の観点から好ましくないと判定された場合には、その旨をユーザ5に通知し、音量設定を低くすることで、ユーザ5の聴感を保護することができるという効果が得られる。 If it is determined that the earphone 2 is inserted into the ear 6 and the volume setting VOL exceeds the predetermined volume VOLth and it is determined that this is not preferable from the viewpoint of hearing protection, the user 5 And the volume setting is lowered, it is possible to protect the user 5 from hearing.
 また、イヤホン2が外れていると判定された場合には、無駄な音響再生を停止することで、携帯端末1を省電力化することができるという効果が得られる。 In addition, when it is determined that the earphone 2 is disconnected, it is possible to save the power of the mobile terminal 1 by stopping useless sound reproduction.
 また、挿抜判定において、携帯端末1を使用するユーザ5のユーザ耳孔データ28を予め用意し、音響再生時の伝達関数データC4と比較判定するようにしたから、挿抜判定を精度よく行うことが可能になるという効果が得られる。即ち、耳孔データがユーザ毎のばらつきを含むことによる挿抜判定の精度低下を防ぐため、使用するユーザ5の耳孔データを用いているようにすることで安定して挿抜判定を行うことを実現している。 In addition, in the insertion / extraction determination, the user ear hole data 28 of the user 5 who uses the mobile terminal 1 is prepared in advance and is compared with the transfer function data C4 at the time of sound reproduction, so that the insertion / extraction determination can be performed with high accuracy. The effect of becoming. That is, in order to prevent the accuracy of the insertion / removal determination from being reduced due to the variation in the ear canal data for each user, it is possible to stably perform the insertion / removal determination by using the ear hole data of the user 5 to be used. Yes.
[第1の実施形態の変形例]
 次に第1の実施形態の変形例について、図4を参照しながら説明する。図4は、第1の実施形態の変形例を示すフローチャートである。第1の実施形態の変形例は、第1の実施形態に対して、音量制御部24の動作を変更している。以下、その変更点を中心に説明する。図4を図3(第1の実施形態)と比較すると分かるように、図3では、ユーザに通知する(S16)と共に音量設定を所定の音量以下にする動作(S19)を行っているのに対して、図4では、所定の時間経過する間にユーザからの応答がなかった場合に、音量設定を所定の音量以下にする動作を行うようにしている。
[Modification of First Embodiment]
Next, a modification of the first embodiment will be described with reference to FIG. FIG. 4 is a flowchart showing a modification of the first embodiment. In the modification of the first embodiment, the operation of the volume control unit 24 is changed with respect to the first embodiment. Hereinafter, the changes will be mainly described. As can be seen by comparing FIG. 4 with FIG. 3 (first embodiment), in FIG. 3, the user is notified (S16) and the volume setting is set to a predetermined volume or lower (S19). On the other hand, in FIG. 4, when there is no response from the user during a predetermined time, an operation for setting the volume to a predetermined volume or less is performed.
 第1の実施形態の変形例では、ユーザ5に対する音声ガイダンスデータ26を、「聴感を損なう虞のある音量になっていることが検出されました。音量を落としていいですか?もし、そのままの音量で聴きたい場合は応答して下さい」といったメッセージ内容とする。そして、ユーザ5からの応答を待つようにする。ユーザ5からの応答方法は、操作部18の画面タッチ、イヤホン2の内蔵マイク4に対する音声入力などにより行う。 In the modification of the first embodiment, the voice guidance data 26 for the user 5 is detected as “It is detected that the volume is likely to impair the hearing. Is it okay to reduce the volume? Please respond if you want to listen at the volume. " Then, a response from the user 5 is waited. The response method from the user 5 is performed by touching the screen of the operation unit 18 or inputting voice to the built-in microphone 4 of the earphone 2.
 図4において、ユーザ5からの応答が有るか否かをチェックする(S17)。ステップS17でユーザ5からの応答が有った場合(S17でYesの場合)には、そのままの音量設定とする。 In FIG. 4, it is checked whether or not there is a response from the user 5 (S17). If there is a response from the user 5 in step S17 (Yes in S17), the sound volume is set as it is.
 ステップS17においてNoの場合は、所定の時間が経過したか否かの判定を行う(ステップS18)。ステップS18でYesと判定された場合、即ち、所定の時間が経過する間にユーザ5からの応答がなかった場合には、音量設定VOLを所定の音量以下、例えばVOLopt(但し、VOLopt<VOLth)にする(S19)。具体的には、音量制御部24が音響再生部16に対して音量設定値VOLoptを含む音量制御信号C5を送信することにより音響再生部16の音量設定をVOLoptに制御する。 If No in step S17, it is determined whether or not a predetermined time has elapsed (step S18). When it is determined Yes in step S18, that is, when there is no response from the user 5 while a predetermined time elapses, the volume setting VOL is set to a predetermined volume or less, for example, VOLopt (however, VOLopt <VOLth). (S19). Specifically, the volume control unit 24 controls the volume setting of the sound reproduction unit 16 to VOLopt by transmitting a volume control signal C5 including the volume setting value VOLopt to the sound reproduction unit 16.
 尚、ユーザ5からの応答を待つ間に、音量設定をVOLoptに低下させ、ユーザ5からの応答があった場合に、元の大きな音量に戻すようにしてもよい。 In addition, while waiting for a response from the user 5, the volume setting may be reduced to VOLopt, and when there is a response from the user 5, the volume may be restored to the original high volume.
 以上説明したように、第1の実施形態の変形例によれば、聴感保護のために音量を低下させる場合に、ユーザ5の了解を得てから行うことが可能となる。また、ユーザ5からの応答がなかった場合には、第1の実施形態と同様に、ユーザ5の聴感を保護することができるという効果が得られる。 As described above, according to the modification of the first embodiment, when the volume is reduced for the purpose of hearing protection, it can be performed after obtaining the consent of the user 5. Moreover, when there is no response from the user 5, the effect that the auditory sensation of the user 5 can be protected is acquired similarly to 1st Embodiment.
[第2の実施形態]
 次に、第2の実施形態について、図5を参照しながら詳細に説明する。図5は、第2の実施形態に係る携帯端末(電子機器)8の構成を示すブロック図である。第2の実施形態に係る携帯端末8は、複数のユーザが使用することを想定している。携帯端末8は、操作部18にユーザ認証部40と、複数のユーザに対するユーザ耳孔データ28a~bと、を備えている。その他の点は第1の実施形態と同様であるため、同じ参照符号を付し、重複する説明は省略する。
[Second Embodiment]
Next, the second embodiment will be described in detail with reference to FIG. FIG. 5 is a block diagram illustrating a configuration of a mobile terminal (electronic device) 8 according to the second embodiment. The mobile terminal 8 according to the second embodiment is assumed to be used by a plurality of users. The mobile terminal 8 includes a user authentication unit 40 in the operation unit 18 and user ear hole data 28a to 28b for a plurality of users. Since the other points are the same as those of the first embodiment, the same reference numerals are given, and duplicate descriptions are omitted.
 操作部18のユーザ認証部40は、ユーザに対してユーザID及びパスワードの入力を要求する。ユーザによる入力が、予め登録してある複数のユーザのユーザID及びパスワードのいずれかに一致した場合に、携帯端末8は使用可能になり、ユーザは音楽再生をすることができる。また、記憶部12には登録されたユーザ毎にユーザ耳孔データ28a~bが設けられ、ログインしたユーザに対応したユーザ耳孔データがアクセスされる。図5はユーザBがログインした状態を示しており、複数のユーザ耳孔データ28a~bのうち、ユーザBに対応したユーザ耳孔データ28bのほうが、挿抜判定部22からアクセスされている。 The user authentication unit 40 of the operation unit 18 requests the user to input a user ID and a password. When the input by the user matches one of the user IDs and passwords of a plurality of users registered in advance, the mobile terminal 8 can be used and the user can play music. The storage unit 12 is provided with user ear hole data 28a to 28b for each registered user, and user ear hole data corresponding to the logged-in user is accessed. FIG. 5 shows a state in which the user B has logged in, and the user ear hole data 28b corresponding to the user B among the plurality of user ear hole data 28a to 28b is accessed from the insertion / extraction determination unit 22.
 以上説明したように、第2の実施形態に係る携帯端末(電子機器)8によれば、第1の実施形態で得られた効果に加えて、複数のユーザに対して、それぞれ最適化した挿抜判定を行うことができるという効果が得られる。また、ユーザ毎に通知の方法や、音量設定を低下させる場合の設定VOLoptを、ユーザの好みに応じて設定することも可能である。 As described above, according to the portable terminal (electronic device) 8 according to the second embodiment, in addition to the effects obtained in the first embodiment, insertion / extraction optimized for a plurality of users, respectively. The effect that the determination can be performed is obtained. It is also possible to set a notification method for each user and a setting VOLopt for lowering the volume setting according to the user's preference.
 尚、各実施形態における音量制御は、音響再生部16の音量設定VOLに対して行う場合について例示したが、それに限定されない。例えば、イヤホン2側にも音量設定機能がある場合には、所定の音量VOLthを超えた場合に、イヤホン2側の音量設定を制御するようにしてもよい。あるいは、音響再生部16とイヤホン2側の音量設定の両方を制御するようにしてもよい。 In addition, although the volume control in each embodiment illustrated about the case where it performs with respect to the volume setting VOL of the sound reproduction part 16, it is not limited to it. For example, if there is a volume setting function on the earphone 2 side, the volume setting on the earphone 2 side may be controlled when a predetermined volume VOLth is exceeded. Alternatively, both the sound reproduction unit 16 and the volume setting on the earphone 2 side may be controlled.
 尚、各実施形態における制御部10の挿抜判定部22、ユーザ通知部23、音量制御部24、及び伝達関数算出部14が実行する各々の処理(図3のS10~S16、S19;図4のS10~S19等)は、記憶部12にプログラムとして格納され、携帯端末が備えたコンピュータによって呼び出されて実行される。また、そのプログラムは、ネットワークを介してダウンロードするか、或いは、プログラムを記憶した(non-transitoryな)記憶媒体を用いて、更新することができる。 In addition, each process (S10 to S16, S19 in FIG. 3; FIG. 4) performed by the insertion / extraction determination unit 22, the user notification unit 23, the volume control unit 24, and the transfer function calculation unit 14 of the control unit 10 in each embodiment. S10 to S19) are stored as programs in the storage unit 12, and are called and executed by a computer provided in the portable terminal. The program can be downloaded via a network or updated using a storage medium (non-transitory) storing the program.
 尚、各実施形態では携帯端末で音響再生を行う場合について例示したが、それに限定されず、各実施形態の開示内容は、内蔵マイクを備えたイヤホンにより音響再生を行う電子機器全般に適用することができる。 In addition, although each embodiment illustrated the case where sound reproduction was performed with a portable terminal, the disclosure content of each embodiment is applicable to all electronic devices that perform sound reproduction using an earphone with a built-in microphone. Can do.
 本発明は、内蔵マイクを備えたイヤホンを装着して音響再生する電子機器全般に適用することができる。上記電子機器としては、例えば、携帯電話、スマートフォン、携帯音楽プレーヤなどの携帯型の電子機器や、ディスクトップコンピュータ、テレビなどの携帯型でない電子機器が含まれる。内蔵マイクを備えたイヤホンとしては、コードレスタイプ(ワイヤレスタイプ)、コードタイプの両方が含まれる。 The present invention can be applied to all electronic devices that reproduce sound by wearing earphones with built-in microphones. Examples of the electronic device include portable electronic devices such as a mobile phone, a smartphone, and a portable music player, and non-portable electronic devices such as a desktop computer and a television. As an earphone provided with a built-in microphone, both a cordless type (wireless type) and a cord type are included.
 なお、本発明の全開示(請求の範囲及び図面を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態の変更・調整が可能である。また、本発明の請求の範囲の枠内において種々の開示要素(各請求項の各要素、各実施形態の各要素、各図面の各要素等を含む)の多様な組み合わせないし選択が可能である。すなわち、本発明は、請求の範囲及び図面を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。特に、本書に記載した数値範囲については、当該範囲内に含まれる任意の数値ないし小範囲が、別段の記載のない場合でも具体的に記載されているものと解釈されるべきである。 It should be noted that, within the scope of the entire disclosure (including claims and drawings) of the present invention, the embodiments can be changed and adjusted based on the basic technical concept. Various combinations or selections of various disclosed elements (including each element of each claim, each element of each embodiment, each element of each drawing, etc.) are possible within the scope of the claims of the present invention. . That is, the present invention naturally includes various variations and modifications that could be made by those skilled in the art according to the entire disclosure including the claims and the drawings, and the technical idea. In particular, with respect to the numerical ranges described in this document, any numerical value or small range included in the range should be construed as being specifically described even if there is no specific description.
1、8:携帯端末(電子機器)
2:イヤホン
3、21:スピーカ
4:内蔵マイク
5:ユーザ
6:耳
10:制御部
12:記憶部
14:伝達関数算出部
16:音響再生部
17:表示部
18:操作部
19:イヤホンジャック
20:スイッチ
22:挿抜判定部
23:ユーザ通知部
24:音量制御部
26:音声ガイダンスデータ
27:音楽ファイル
28、28a~b:ユーザ耳孔データ
30、33:アンプ
31:A/D変換器
34:D/A変換器
35:デコーダ
40:ユーザ認証部
41:第1出力端子
42:第2出力端子
C0:音響信号
C1:内蔵マイクで集音した信号
C2:音響ディジタル信号
C3:内蔵マイクで集音したディジタル信号
C4:伝達関数データ
C5:音量制御信号
VOL:音量設定
1, 8: Portable terminal (electronic equipment)
2: Earphone 3, 21: Speaker 4: Built-in microphone 5: User 6: Ear 10: Control unit 12: Storage unit 14: Transfer function calculation unit 16: Sound reproduction unit 17: Display unit 18: Operation unit 19: Earphone jack 20 : Switch 22: insertion / removal determination unit 23: user notification unit 24: volume control unit 26: voice guidance data 27: music files 28 and 28 a-b: user ear hole data 30 and 33: amplifier 31: A / D converter 34: D / A converter 35: Decoder 40: User authentication unit 41: First output terminal 42: Second output terminal C0: Acoustic signal C1: Signal collected by the built-in microphone C2: Acoustic digital signal C3: Sound collected by the built-in microphone Digital signal C4: transfer function data C5: volume control signal VOL: volume setting

Claims (10)

  1.  内蔵マイクを備えたイヤホンに音響信号を供給する音響再生部と、
     前記音響再生部を制御する制御部と、
     前記音響信号を入力とし前記内蔵マイクで集音した信号を出力とする伝達関数の伝達関数データを算出する伝達関数算出部と、
     前記イヤホンをユーザの耳に挿入した際の前記伝達関数のデータであるユーザ耳孔データを格納する記憶部と、
    を備え、
     前記制御部は、
      前記伝達関数算出部が算出した前記伝達関数データと前記ユーザ耳孔データに基づいて、前記イヤホンが挿入状態にあるか否かを判定する挿抜判定部を含み、
      前記挿抜判定部により前記イヤホンが挿入状態であると判定され、且つ前記音響再生部の音量設定が所定の音量を超えている場合には、前記音響再生部の音量設定が前記所定の音量を超えている旨を前記ユーザに通知する、ことを特徴とする電子機器。
    An acoustic reproduction unit for supplying an acoustic signal to an earphone with a built-in microphone;
    A control unit for controlling the sound reproduction unit;
    A transfer function calculation unit for calculating transfer function data of a transfer function having the acoustic signal as an input and a signal collected by the built-in microphone as an output;
    A storage unit that stores user ear hole data that is data of the transfer function when the earphone is inserted into a user's ear;
    With
    The controller is
    Based on the transfer function data calculated by the transfer function calculation unit and the user ear canal data, including an insertion / extraction determination unit that determines whether the earphone is in an insertion state,
    When the earphone is determined to be inserted by the insertion / extraction determination unit, and the volume setting of the sound reproduction unit exceeds a predetermined volume, the volume setting of the sound reproduction unit exceeds the predetermined volume. An electronic device characterized in that the user is notified of the fact.
  2.  前記制御部は、
     前記ユーザに通知する場合に、前記音響再生部の音量設定が前記所定の音量以下になるように制御することを特徴とする請求項1に記載の電子機器。
    The controller is
    The electronic apparatus according to claim 1, wherein when notifying the user, control is performed so that a volume setting of the sound reproduction unit is equal to or lower than the predetermined volume.
  3.  前記制御部は、
     前記ユーザに通知した後、所定の時間が経過する間に、前記ユーザからの応答がなかった場合には、前記音響再生部の音量設定が前記所定の音量以下になるように制御することを特徴とする請求項1に記載の電子機器。
    The controller is
    If no response is received from the user while a predetermined time has elapsed after notifying the user, the volume setting of the sound reproduction unit is controlled to be equal to or lower than the predetermined volume. The electronic device according to claim 1.
  4.  前記制御部の前記挿抜判定部により前記イヤホンが耳から外れた状態であると判定された場合に、前記制御部は、前記音響再生部による音響の再生を停止するように制御することを特徴とする請求項1乃至3のいずれか一に記載の電子機器。 When the insertion / extraction determination unit of the control unit determines that the earphone is in a state of being removed from the ear, the control unit controls to stop the sound reproduction by the sound reproduction unit. The electronic device according to any one of claims 1 to 3.
  5.  ユーザ認証部と、複数のユーザ毎の前記ユーザ耳孔データと、をさらに備え、
     前記制御部の挿抜判定部は、前記ユーザ認証部が認証したユーザに対応する前記ユーザ耳孔データをアクセスするように制御することを特徴とする請求項1乃至4のいずれか一に記載の電子機器。
    A user authentication unit, and the user ear hole data for each of a plurality of users,
    5. The electronic device according to claim 1, wherein the insertion / extraction determination unit of the control unit performs control so as to access the user ear hole data corresponding to the user authenticated by the user authentication unit. .
  6.  内蔵マイクを備えたイヤホンに音響信号を供給して、前記イヤホンにより音響再生する音響再生方法であって、
     前記イヤホンをユーザの耳に挿入した際の、前記音響信号を入力とし前記内蔵マイクで集音した信号を出力とする伝達関数のデータであるユーザ耳孔データを予め用意するステップと、
     前記音響信号を入力とし前記内蔵マイクで集音した信号を出力とする伝達関数の伝達関数データを算出するステップと、
     前記算出された前記伝達関数データと前記ユーザ耳孔データに基づいて、前記イヤホンが挿入状態にあるか否かを判定する挿抜判定ステップと、
     前記挿抜判定ステップにおいて前記イヤホンが挿入状態であると判定され、且つ音響再生の音量設定が所定の音量を超えている場合には、前記音響再生の音量設定が前記所定の音量を超えている旨を前記ユーザに通知するステップと、
     を含む音響再生方法。
    An acoustic reproduction method for supplying an acoustic signal to an earphone with a built-in microphone and reproducing the sound with the earphone,
    Preparing in advance user ear data, which is transfer function data in which the acoustic signal is input and the signal collected by the built-in microphone is output when the earphone is inserted into the user's ear;
    Calculating transfer function data of a transfer function having the acoustic signal as an input and a signal collected by the built-in microphone as an output;
    Based on the calculated transfer function data and the user ear canal data, an insertion / extraction determination step for determining whether or not the earphone is in an insertion state;
    If it is determined in the insertion / extraction determination step that the earphone is in an inserted state, and the sound reproduction volume setting exceeds a predetermined volume, the sound reproduction volume setting exceeds the predetermined volume. Informing the user of:
    A sound reproduction method including:
  7.  前記ユーザに通知する場合に、前記音響再生の音量設定が前記所定の音量以下になるように制御するステップをさらに含むことを特徴とする請求項6に記載の音響再生方法。 The sound reproduction method according to claim 6, further comprising a step of controlling the sound reproduction volume setting to be equal to or lower than the predetermined sound volume when notifying the user.
  8.  前記ユーザに通知した後、所定の時間が経過する間に、前記ユーザからの応答がなかった場合には、前記音響再生の音量設定が前記所定の音量以下になるように制御するステップをさらに含むことを特徴とする請求項6に記載の音響再生方法。 When there is no response from the user after a predetermined time has elapsed after notifying the user, the method further includes a step of controlling the sound reproduction sound volume setting to be equal to or lower than the predetermined sound volume. The sound reproduction method according to claim 6.
  9.  前記挿抜判定ステップにより前記イヤホンが耳から外れた状態であると判定された場合に、前記音響再生を停止するステップをさらに含むことを特徴とする請求項6乃至8に記載の音響再生方法。 The sound reproduction method according to any one of claims 6 to 8, further comprising a step of stopping the sound reproduction when the earphone is determined to be detached from the ear in the insertion / extraction determination step.
  10.  内蔵マイクを備えたイヤホンに音響信号を供給して、前記イヤホンによる音響再生を制御するプログラムであって、
      前記イヤホンをユーザの耳に挿入した際の、前記音響信号を入力とし前記内蔵マイクで集音した信号を出力とする伝達関数のデータであるユーザ耳孔データを予め用意する処理と、
     前記音響信号を入力とし前記内蔵マイクで集音した信号を出力とする伝達関数の伝達関数データを算出する処理と、
     前記算出された前記伝達関数データと前記ユーザ耳孔データに基づいて、前記イヤホンが挿入状態にあるか否かを判定する挿抜判定処理と、
     前記挿抜判定処理において前記イヤホンが挿入状態であると判定され、且つ音響再生の音量設定が所定の音量を超えている場合には、前記音響再生の音量設定が前記所定の音量を超えている旨を前記ユーザに通知する処理と、
     をコンピュータに実行させるプログラム。
    A program for supplying an acoustic signal to an earphone with a built-in microphone and controlling sound reproduction by the earphone,
    When the earphone is inserted into a user's ear, a process for preparing user ear hole data which is transfer function data having the acoustic signal as an input and a signal collected by the built-in microphone as an output;
    A process of calculating transfer function data of a transfer function having the acoustic signal as an input and a signal collected by the built-in microphone as an output;
    Based on the calculated transfer function data and the user ear canal data, an insertion / extraction determination process for determining whether the earphone is in an insertion state,
    If it is determined in the insertion / extraction determination process that the earphone is in an inserted state, and the sound reproduction volume setting exceeds a predetermined volume, the sound reproduction volume setting exceeds the predetermined volume. Processing to notify the user,
    A program that causes a computer to execute.
PCT/JP2013/077737 2012-10-15 2013-10-11 Electronic device and acoustic reproduction method WO2014061578A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012227919 2012-10-15
JP2012-227919 2012-10-15

Publications (1)

Publication Number Publication Date
WO2014061578A1 true WO2014061578A1 (en) 2014-04-24

Family

ID=50488144

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/077737 WO2014061578A1 (en) 2012-10-15 2013-10-11 Electronic device and acoustic reproduction method

Country Status (1)

Country Link
WO (1) WO2014061578A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2572227A (en) * 2018-03-21 2019-09-25 Cirrus Logic Int Semiconductor Ltd Ear proximity detection
GB2584496A (en) * 2019-04-29 2020-12-09 Cirrus Logic Int Semiconductor Ltd Methods, apparatus and systems for biometric processes
WO2021048974A1 (en) * 2019-09-12 2021-03-18 日本電気株式会社 Information processing device, information processing method, and storage medium
US10970575B2 (en) 2019-04-29 2021-04-06 Cirrus Logic, Inc. Methods, apparatus and systems for biometric processes
CN113660597A (en) * 2021-09-22 2021-11-16 上海深聪半导体有限责任公司 In-ear detection method and device for wireless earphone and storage medium
JP2022008354A (en) * 2016-08-19 2022-01-13 日本電気株式会社 Personal authentication device, personal authentication method, and personal authentication program
US20220248121A1 (en) * 2020-09-10 2022-08-04 David Patrick Warner Acoustic reflex detection
US11531738B2 (en) 2019-04-29 2022-12-20 Cirrus Logic, Inc. Methods, apparatus and systems for biometric processes
US11586716B2 (en) 2017-04-28 2023-02-21 Nec Corporation Personal authentication device, personal authentication method, and recording medium
US11700473B2 (en) 2019-04-29 2023-07-11 Cirrus Logic, Inc. Methods, apparatus and systems for authentication
US11895455B2 (en) 2018-12-19 2024-02-06 Nec Corporation Information processing device, wearable device, information processing method, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09187093A (en) * 1995-12-29 1997-07-15 Sony Corp Acoustic reproduction device and recording method for sound signal
JP2007165940A (en) * 2005-12-09 2007-06-28 Nec Access Technica Ltd Cellular phone, and acoustic reproduction operation automatic stopping method therefor
JP2008289033A (en) * 2007-05-21 2008-11-27 Seiko Epson Corp Apparatus for detecting use of earphone, portable acoustic equipment, portable acoustic equipment control program, recording medium, and portable acoustic equipment control method
WO2009125567A1 (en) * 2008-04-10 2009-10-15 パナソニック株式会社 Sound reproducing device using insert-type earphone
JP2010081071A (en) * 2008-09-24 2010-04-08 Toshiba Corp Earphone system, and earphone voice correction method
JP2012516090A (en) * 2009-01-23 2012-07-12 ソニーモバイルコミュニケーションズ, エービー Detection of earphone wearing by sound

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09187093A (en) * 1995-12-29 1997-07-15 Sony Corp Acoustic reproduction device and recording method for sound signal
JP2007165940A (en) * 2005-12-09 2007-06-28 Nec Access Technica Ltd Cellular phone, and acoustic reproduction operation automatic stopping method therefor
JP2008289033A (en) * 2007-05-21 2008-11-27 Seiko Epson Corp Apparatus for detecting use of earphone, portable acoustic equipment, portable acoustic equipment control program, recording medium, and portable acoustic equipment control method
WO2009125567A1 (en) * 2008-04-10 2009-10-15 パナソニック株式会社 Sound reproducing device using insert-type earphone
JP2010081071A (en) * 2008-09-24 2010-04-08 Toshiba Corp Earphone system, and earphone voice correction method
JP2012516090A (en) * 2009-01-23 2012-07-12 ソニーモバイルコミュニケーションズ, エービー Detection of earphone wearing by sound

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11537695B2 (en) 2016-08-19 2022-12-27 Nec Corporation Detection of attachment problem of apparatus being worn by user
US11977617B2 (en) 2016-08-19 2024-05-07 Nec Corporation Detection of attachment problem of apparatus being worn by user
JP7259902B2 (en) 2016-08-19 2023-04-18 日本電気株式会社 Personal authentication device, personal authentication method and personal authentication program
JP2022008354A (en) * 2016-08-19 2022-01-13 日本電気株式会社 Personal authentication device, personal authentication method, and personal authentication program
US11586716B2 (en) 2017-04-28 2023-02-21 Nec Corporation Personal authentication device, personal authentication method, and recording medium
US10810291B2 (en) 2018-03-21 2020-10-20 Cirrus Logic, Inc. Ear proximity detection
US11693939B2 (en) 2018-03-21 2023-07-04 Cirrus Logic, Inc. Ear proximity detection
GB2572227B (en) * 2018-03-21 2021-03-31 Cirrus Logic Int Semiconductor Ltd Ear proximity detection
GB2572227A (en) * 2018-03-21 2019-09-25 Cirrus Logic Int Semiconductor Ltd Ear proximity detection
US11895455B2 (en) 2018-12-19 2024-02-06 Nec Corporation Information processing device, wearable device, information processing method, and storage medium
US10970575B2 (en) 2019-04-29 2021-04-06 Cirrus Logic, Inc. Methods, apparatus and systems for biometric processes
US11531738B2 (en) 2019-04-29 2022-12-20 Cirrus Logic, Inc. Methods, apparatus and systems for biometric processes
GB2584496A (en) * 2019-04-29 2020-12-09 Cirrus Logic Int Semiconductor Ltd Methods, apparatus and systems for biometric processes
US11934506B2 (en) 2019-04-29 2024-03-19 Cirrus Logic Inc. Methods, apparatus and systems for biometric processes
GB2584496B (en) * 2019-04-29 2021-10-06 Cirrus Logic Int Semiconductor Ltd Methods, apparatus and systems for biometric processes
US11450097B2 (en) 2019-04-29 2022-09-20 Cirrus Logic, Inc. Methods, apparatus and systems for biometric processes
US11700473B2 (en) 2019-04-29 2023-07-11 Cirrus Logic, Inc. Methods, apparatus and systems for authentication
US11937040B2 (en) 2019-09-12 2024-03-19 Nec Corporation Information processing device, information processing method, and storage medium
JP7239007B2 (en) 2019-09-12 2023-03-14 日本電気株式会社 Information processing device, information processing method and storage medium
JPWO2021048974A1 (en) * 2019-09-12 2021-03-18
WO2021048974A1 (en) * 2019-09-12 2021-03-18 日本電気株式会社 Information processing device, information processing method, and storage medium
US11653138B2 (en) * 2020-09-10 2023-05-16 David Patrick Warner Acoustic reflex detection
US20220248121A1 (en) * 2020-09-10 2022-08-04 David Patrick Warner Acoustic reflex detection
CN113660597A (en) * 2021-09-22 2021-11-16 上海深聪半导体有限责任公司 In-ear detection method and device for wireless earphone and storage medium

Similar Documents

Publication Publication Date Title
WO2014061578A1 (en) Electronic device and acoustic reproduction method
JP6903148B2 (en) Off-head detection for in-ear headsets
JP6538728B2 (en) System and method for improving the performance of audio transducers based on the detection of transducer status
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
US7986791B2 (en) Method and system for automatically muting headphones
US20120219161A1 (en) Playback apparatus, audio data correction apparatus and playback method
US10893352B2 (en) Programmable interactive stereo headphones with tap functionality and network connectivity
WO2014057921A1 (en) Electronic apparatus and sound reproduction method
US20120087516A1 (en) System and methods for dynamically controlling atleast a media content with changes in ambient noise
CN111083289B (en) Audio playing method and device, storage medium and mobile terminal
US10121491B2 (en) Intelligent volume control interface
KR102161962B1 (en) Device for generating audio output
WO2017215654A1 (en) Method for preventing abrupt change of sound effect, and terminal
KR101659410B1 (en) Sound optimization device and method about combination of personal smart device and earphones
TWM519370U (en) Electronic device capable of adjusting equalizer settings according to the hearing physiological condition and audio playing device
CN111770404A (en) Recording method, recording device, electronic equipment and readable storage medium
KR20220080066A (en) Environmental and aggregate acoustic dosimetry
KR102407686B1 (en) Environmental and aggregate acoustic dosimetry
TWM526238U (en) Electronic device capable of adjusting settings of equalizer according to user&#39;s age and audio playing device thereof
CN102905213A (en) Audio signal processing device and audio signal processing method
CN111800699B (en) Volume adjustment prompting method and device, earphone equipment and storage medium
KR101520800B1 (en) Earphone apparatus having hearing character protecting function of an individual
WO2019061292A1 (en) Noise reduction method for terminal and terminal
WO2023051083A1 (en) Audio control method, electronic device, and audio playback system
WO2015030642A1 (en) Volume reduction for an electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13847972

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13847972

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP