Analyzing and determining conference audio gain levels
An example method of operation may include applying a set of initial power and gain parameters for a speaker, playing a stimulus signal via the speaker, determining a sound level at a microphone location and a sound level at a predefined distance from the speakers, determining a gain at the microphone location based on a difference of the sound level at the microphone location and the sound level at the predefined distance from the speaker, and applying the gain to the speaker output.
1. A method, comprising:
applying a set of initial power and gain parameters for a speaker;
playing a stimulus signal via the speaker, wherein the stimulus signal comprises a multitone signal;
detecting the stimulus signal at a first microphone a first distance away from the speaker and at a second microphone a second distance, further than the first distance, from the speaker;
determining the multitone signal is detected at one of the first microphone and the second microphone at a target sound pressure level (SPL) threshold;
filtering the multitone signal via a plurality of filters equal to a number of tones associated with the multitone signal to remove false speaker detection sounds;
responsive to the target SPL threshold being detected, terminating the multitone signal;
determining a gain at the microphone locations based on a difference of the sound pressure levels at the microphone locations and a sound pressure level at a predefined distance from the speaker; and
applying the gain to the speaker output.
2. The method of claim 1 , wherein the predefined distance is one meter.
3. The method of claim 1 , comprising
wherein the detecting is performed at both microphones simultaneously.
4. The method of claim 1 , comprising
determining a first sound pressure level at the first distance and a second sound pressure level at the second distance.
5. The method of claim 4 , comprising
determining an attenuation of the speaker based on a difference of the first sound pressure level and the second sound pressure level.
6. The method of claim 1 , comprising
determining a sensitivity of the speaker based on a sound pressure level measured at a predefined distance from the speaker when the speaker is driven by a reference voltage.
7. The method of claim 1 , comprising
measuring a frequency response signal of the played stimulus signal.
8. An apparatus, comprising:
a processor configured to
apply a set of initial power and gain parameters for a speaker;
play a stimulus signal via the speaker, wherein the stimulus signal comprises a multitone signal;
detect the stimulus signal at a first microphone a first distance away from the speaker and at a second microphone a second distance, further than the first distance, from the speaker;
determine the multitone signal is detected at one of the first microphone and the second microphone at a target sound pressure level (SPL) threshold;
filter the multitone signal via a plurality of filters equal to a number of tones associated with the multitone signal to remove false speaker detection sounds;
responsive to the target SPL threshold being detected, terminate the multitone signal;
determine a gain at the microphone locations based on a difference of the sound pressure levels at the microphone locations and a sound pressure level at the predefined distance from the speaker; and
apply the gain to the speaker output.
9. The apparatus of claim 8 , wherein the predefined distance is one meter.
10. The apparatus of claim 8 , wherein the processor is further configured to perform:
wherein the detecting is performed at both microphones simultaneously.
11. The apparatus of claim 8 , wherein the processor is further configured to perform:
determining a first sound pressure level at the first distance and a second sound pressure level at the second distance.
12. The apparatus of claim 11 , wherein the processor is further configured to perform:
determining an attenuation of the speaker based on a difference of the first sound pressure level and the second sound pressure level.
13. The apparatus of claim 12 , wherein the processor is further configured to perform:
determining a sensitivity of the speaker based on a sound pressure level measured at a predefined distance from the speaker when the speaker is driven by a reference voltage.
14. The apparatus of claim 8 , wherein the processor is further configured to perform:
measuring a frequency response signal of the played stimulus signal.
15. A non-transitory computer readable storage medium configured to store instructions that when executed cause a processor to perform:
applying a set of initial power and gain parameters for a speaker;
playing a stimulus signal via the speaker, wherein the stimulus signal comprises a multitone signal;
detecting the stimulus signal at a first microphone a first distance away from the speaker and at a second microphone a second distance, further than the first distance, from the speaker;
determining the multitone signal is detected at one of the first microphone and the second microphone at a target sound pressure level (SPL) threshold;
filtering the multitone signal via a plurality of filters equal to a number of tones associated with the multitone signal to remove false speaker detection sounds;
responsive to the target SPL threshold being detected, terminating the multitone signal;
determining a gain at the microphone locations based on a difference of the sound pressure levels at the microphone locations and a sound pressure level at a predefined distance from the speaker; and
applying the gain to the speaker output.
16. The non-transitory computer readable storage medium of claim 15 , wherein the predefined distance is one meter.
17. The non-transitory computer readable storage medium of claim 15 , wherein the processor is further configured to perform:
wherein the detecting is performed at both microphones simultaneously.
18. The non-transitory computer readable storage medium of claim 15 , wherein the processor is further configured to perform:
determining a first sound pressure level at the first distance and a second sound pressure level at the second distance.
19. The non-transitory computer readable storage medium of claim 18 , wherein the processor is further configured to perform:
determining an attenuation of the speaker based on a difference of the first sound pressure level and the second sound pressure level.
20. The non-transitory computer readable storage medium of claim 15 , wherein the processor is further configured to perform:
determining a sensitivity of the speaker based on a sound pressure level measured at a predefined distance from the speaker when the speaker is driven by a reference voltage.