An audio/video (A/V) hub that coordinates playback of audio content is described. In particular, the A/V hub may calculate current time offsets between clocks in electronic devices and a clock in the A/V hub based on differences between transmit times of frames from the electronic devices and receive times when the frames were received. For example, the current time offsets may be calculated using wireless ranging by ignoring distances between the A/V hub and the electronic devices. Then, the A/V hub may transmit, to the electronic devices, one or more frames that include audio content and playback timing information, which may specify playback times when the electronic devices are to playback the audio content based on the current time offsets. Furthermore, the playback times of the electronic devices may have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated.
Legal claims defining the scope of protection, as filed with the USPTO.
receive, from the one or more nodes, input frames associated with electronic devices, wherein a given input frame comprises a transmit time when a given electronic device transmitted the given input frame; store receive times when the input frames were received, wherein the receive times are based on a clock in the integrated circuit and are determined in a physical layer in the integrated circuit; calculate current time offsets between clocks in the electronic devices and the clock in the integrated circuit based on the receive times and transmit times of the input frames, wherein the calculation of a given current time offset is based at least in part on a given difference between a given transmit time and a given receive time for a given frame; and transmit, via the one or more nodes, one or more output frames that comprise audio content and playback timing information intended for the electronic devices, wherein the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the current time offsets, wherein the playback times of the electronic devices have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated, and wherein the integrated circuit is configured to receive the input frames andthetransmit the one or more output frames using wireless communication. one or more nodes configured to communicatively couple to one or more antennas, wherein the integrated circuit is configured to: . An integrated circuit, comprising:
claim 1 . The integrated circuit of, wherein the temporal relationship has a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times.
claim 2 . The integrated circuit of, wherein the different playback times are based on acoustic characterization of an environment.
claim 2 . The integrated circuit of, wherein the different playback times are based on a desired acoustic characteristic in an environment.
claim 2 wherein the integrated circuit is configured to determine magnitudes of the vector distances based on the transmit times and the receive times using wireless ranging, and is configured to determine angles of the vector distances based on the angle of arrival of wireless signals associated with the input frames; and wherein the different playback times are based on the determined vector distances. . The integrated circuit of, wherein the electronic devices are located at vector distances from the integrated circuit;
claim 2 . The integrated circuit of, wherein the different playback times are based on an estimated location of a listener relative to the electronic devices.
claim 6 receive, from the one or more nodes, a frame associated with another electronic device; and calculate the estimated location of the listener based on the received frame. . The integrated circuit of, wherein the integrated circuit is further configured to:
claim 6 wherein the integrated circuit is configured to calculate the estimated location of the listener based on the sound measurements. . The integrated circuit of, wherein the integrated circuit further comprises an acoustic transducer configured to perform sound measurements of an environment; and
claim 6 wherein the integrated circuit is configured to calculate the estimated location of the listener based on the additional sound measurements. . The integrated circuit of, wherein the integrated circuit is further configured to receive, from the one or more nodes, additional sound measurements of the environment associated with the other electronic devices in the environment; and
claim 6 perform time-of-flight measurements; and calculate the estimated location of the listener based on the time-of-flight measurements. . The integrated circuit of, wherein the integrated circuit is configured to:
claim 1 wherein the current time offsets are calculated based on the transmit times and the receive times using wireless ranging by ignoring the distances. . The integrated circuit of, wherein the electronic devices are located at non-zero distances from the integrated circuit; and
claim 1 . The integrated circuit of, wherein the current time offsets are further based on models of clock drift in the electronic devices.
receiving, from one or more nodes in the integrated circuit that are communicatively coupled to one or more antennas, input frames associated with electronic devices, wherein a given input frame comprises a transmit time when a given electronic device transmitted the given input frame; storing receive times when the input frames were received, wherein the receive times are based on a clock in the integrated circuit and are determined in a physical layer in the integrated circuit; calculating current time offsets between clocks in the electronic devices and the clock in the integrated circuit based on the receive times and transmit times of the input frames, wherein the calculation of a given current time offset is based at least in part on a given difference between a given transmit time and a given receive time for a given frame; and transmitting, via the one or more nodes, one or more output frames that comprise the audio content and playback timing information intended for the electronic devices, wherein the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the current time offsets, wherein the playback times of the electronic devices have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated, and wherein the integrated circuit is configured to receive the input frames andthetransmit the one or more output frames using wireless communication. . A non-transitory computer-readable storage medium for use with an integrated circuit, the computer-readable storage medium storing program instructions that, when executed by the integrated circuit, cause the integrated circuit to coordinate playback of audio content by carrying out one or more operations that comprise:
claim 13 wherein the different playback times are based on acoustic characterization of an environment. . The non-transitory computer-readable storage medium of, wherein the temporal relationship has a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times; and
claim 14 wherein the different playback times are based on a desired acoustic characteristic in the environment. . The non-transitory computer-readable storage medium of, wherein the temporal relationship has a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times; and
claim 14 wherein the electronic devices are located at vector distances from the integrated circuit; wherein the one or more operations comprise: determining magnitudes of the vector distances based on the transmit times and the receive times using wireless ranging; and determining angles of the vector distances based on the angle of arrival of wireless signals associated with the input frames; and wherein the different playback times are based on the determined vector distances. . The non-transitory computer-readable storage medium of, wherein the temporal relationship has a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times;
claim 14 wherein the different playback times are based on an estimated location of a listener relative to the electronic devices. . The non-transitory computer-readable storage medium of, wherein the temporal relationship has a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times; and
claim 13 performing time-of-flight measurements; and calculating the estimated location of the listener based on the time-of-flight measurements. . The non-transitory computer-readable storage medium of, wherein the one or more operations comprise:
claim 13 . The non-transitory computer-readable storage medium of, wherein the current time offsets are further based on models of clock drift in the electronic devices.
by an integrated circuit: receiving, from one or more nodes in the integrated circuit that are communicatively coupled to one or more antennas, input frames associated with electronic devices, wherein a given input frame comprises a transmit time when a given electronic device transmitted the given input frame; storing receive times when the input frames were received, wherein the receive times are based on a clock in the integrated circuit and are determined in a physical layer in the integrated circuit; calculating current time offsets between clocks in the electronic devices and the clock in the integrated circuit based on the receive times and transmit times of the input frames, wherein the calculation of a given current time offset is based at least in part on a given difference between a given transmit time and a given receive time for a given frame; and transmitting, via the one or more nodes, one or more output frames that comprise audio content and playback timing information intended for the electronic devices, wherein the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the current time offsets, wherein the playback times of the electronic devices have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated, and wherein the receiving of the input frames and the transmitting of the one or more output frames involves wireless communication. . A method for coordinating playback of audio content, comprising:
one or more nodes configured to communicatively couple to one or more antennas, wherein the integrated circuit is configured to: receive, from the one or more nodes, input frames associated with electronic devices, wherein a given input frame comprises a transmit time when a given electronic device transmitted the given input frame; store receive times when the input frames were received, wherein the receive times are based on a clock in the integrated circuit and are determined in a physical layer in the integrated circuit; calculate current time offsets between clocks in the electronic devices and the clock in the integrated circuit based on the receive times and transmit times of the input frames, wherein the calculation of a given current time offset is based at least in part on a given difference between a given transmit time and a given receive time for a given frame; and transmit, via the one or more nodes, one or more output frames that comprise audio content and playback timing information intended for the electronic devices, wherein the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the current time offsets, wherein the integrated circuit is configured to receive the input frames and transmit the one or more output frames using wireless communication. 21. An integrated circuit, comprising:
Complete technical specification and implementation details from the patent document.
This application is a continuation of U.S. Non-Provisional application Ser. No. 16/266,099, “Wireless Coordination of Audio Sources,” by Gaylord Yu and Steven Stupp, filed on Feb. 3, 2019, which is a continuation of U.S. Non-Provisional application Ser. No. 15/678,043, “Wireless Coordination of Audio Sources,” by Gaylord Yu and Steven Stupp, filed on Aug. 15, 2017, and which claims priority under 35 U.S.C. 119(e) to U.S. Provisional Application Ser. No. 62/433,237, “Wireless Coordination of Audio Sources,” by Gaylord Yu, filed on Dec. 13, 2016, the contents of which are herein incorporated by reference.This is a broadening reissue of U.S. Pat. No. 11,194,542, issued Dec. 7, 2021, which issued from U.S. Non-Provisional application Ser. No. 16/868,473, “Wireless Coordination of Audio Sources”, by Gaylord Yu and Steven Supp, filed May 6, 2020, which is a continuation of U.S. Pat. No. 10,649,721, “Wireless Coordination of Audio Sources,” by Gaylord Yu and Steven Stupp filed on Feb. 3, 2019, which is a continuation of U.S. Pat. No. 10,255,032, “Wireless Coordination of Audio Sources,” by Gaylord Yu and Steven Stupp, filed on Aug. 15, 2017, and which claims priority under 35 U.S.C. 119(e) to U.S. Provisional Application Ser. No. 62/433,237, “Wireless Coordination of Audio Sources,” by Gaylord Yu, filed on Dec. 13, 2016, the contents of which are herein incorporated by reference.
This application is related to: U.S. Non-Provisional application Ser. No. 16/416,188, “Maintaining Coordination Following a Wireless Reset,” by Leo Lay, Adrian Harold Chadd, Haisong Wang, Shiwei Zhao, Li Li and Gaylord Yu, filed on May 18, 2019; U.S. Non-Provisional application Ser. No. 16/378,466, “Source Coordination of Audio Playback,” by Leo Lay, Adrian Harold Chadd, Haisong Wang, Shiwei Zhao, Li Li and Gaylord Yu, filed on Apr. 8, 2019; U.S. Non-Provisional application Ser. No. 16/266,100, “Schedule-Based Coordination of Audio Sources,” by Gaylord Yu and Steven Stupp, filed on Feb. 3, 2019; U.S. Non-Provisional application Ser. No. 16/266,101, “Wireless Coordination of Audio Playback,” by Leo Lay, Adrian Harold Chadd, Haisong Wang, Shiwei Zhao, Li Li and Gaylord Yu, filed on Feb. 3, 2019; U.S. Non-Provisional application Ser. No. 15/678,048, “Schedule-Based Coordination of Audio Sources,” by Gaylord Yu and Steven Stupp, filed on Aug. 15, 2017; U.S. Non-Provisional application Ser. No. 15/678,069, “Wireless Coordination of Audio Playback,” by Leo Lay, Adrian Harold Chadd, Haisong Wang, Shiwei Zhao, Li Li and Gaylord Yu, filed on Aug. 15, 2017; U.S. Non-Provisional application Ser. No. 15/678,072, “Source Coordination of Audio Playback,” by Leo Lay, Adrian Harold Chadd, Haisong Wang, Shiwei Zhao, Li Li and Gaylord Yu, filed on Aug. 15, 2017; U.S. Non-Provisional application Ser. No. 15/678,078, “Maintaining Coordination Following a Wireless Reset,” by Leo Lay, Adrian Harold Chadd, Haisong Wang, Shiwei Zhao, Li Li and Gaylord Yu, filed on Aug. 15, 2017; U.S. Non-Provisional application Ser. No. 15/678,083, “Software-Assisted Wireless Coordination of Audio Playback,” by Leo Lay, Adrian Harold Chadd, Haisong Wang, Shiwei Zhao, Li Li and Gaylord Yu, filed on Aug. 15, 2017; and U.S. Non-Provisional application Ser. No. 15/678,087, “Software-Based Wireless Coordination of Audio Playback,” by Leo Lay, Adrian Harold Chadd, Haisong Wang, Shiwei Zhao, Li Li and Gaylord Yu, filed on Aug. 15, 2017.
The described embodiments relate to a communication technique. More specifically, the described embodiments include a communication technique that wireless coordinates playback times of electronic devices that output sound.
Music often has a significant impact on an individual's emotions and perceptions. This is thought to be a result of connections or relationships between the areas of the brain that decipher, learn, and remember music with those that produce emotional responses, such as the frontal lobes and limbic system. Indeed, emotions are thought to be involved in the process of interpreting music, and concurrently are very important in the effect of music on the brain. Given this ability of music to ‘move’ a listener, audio quality is often an important factor in user satisfaction when listening to audio content and, more generally, when viewing and listening to audio/video (A/V) content.
However, it is often challenging to achieve high audio quality in an environment. For example, the acoustic sources (such as loudspeakers) may not be properly placed in the environment. Alternatively or additionally, a listener may not be located at an ideal position in the environment. In particular, in a stereo playback system, the so-called ‘sweet spot,’ where the amplitude differences and arrival time differences are small enough that an apparent image and localization of an original sound source are both maintained, is usually limited to a fairly small area between the loudspeakers. When the listener is outside that area, the apparent image collapses and only one or the other independent audio channel output by the loudspeakers may be heard. Furthermore, achieving high audio quality in the environment typically places strong constraints on synchronization of the loudspeakers.
Consequently, when one or more of these factors is sub-optimal, the acoustic quality in the environment may be degraded. In turn, this may adversely impact listener satisfaction and the overall user experience when listening to audio content and/or A/V content.
A first group of described embodiments includes an audio/video (A/V) hub. This A/V hub includes: one or more antennas; and an interface circuit that, during operation, communicates with electronic devices using wireless communication. During operation, the A/V hub receives, via the wireless communication, frames from the electronic devices, where a given frame includes a transmit time when a given electronic device transmitted the given frame. Then, the A/V hub stores receive times when the frames were received, where the receive times are based on a clock in the A/V hub. Moreover, the A/V hub calculates current time offsets between clocks in the electronic devices and the clock in the A/V hub based on the receive times and transmit times of the frames. Next, the A/V hub transmits one or more frames that include audio content and playback timing information to the electronic devices, where the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the current time offsets. Furthermore, the playback times of the electronic devices have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated.
Note that the temporal relationship may have a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times. For example, the different playback times may be based on acoustic characterization of an environment that includes the electronic devices and the A/V hub. Alternatively or additionally, the different playback times may be based on a desired acoustic characteristic in the environment.
In some embodiments, the electronic devices are located at vector distances from the A/V hub, and the interface circuit determines magnitudes of the vector distances based on the transmit times and the receive times using wireless ranging. Moreover, the interface circuit may determine angles of the vector distances based on the angle of arrival of wireless signals associated with the frames that are received by the one or more antennas during the wireless communication. Furthermore, the different playback times may be based on the determined vector distances.
Alternatively or additionally, the different playback times are based on an estimated location of a listener relative to the electronic devices. For example, the interface circuit may: communicate with another electronic device; and calculate the estimated location of the listener based on the communication with the other electronic device. Moreover, the A/V hub may include an acoustic transducer that performs sound measurements of the environment that includes the A/V hub, and the A/V hub may calculate the estimated location of the listener based on the sound measurements. Furthermore, the interface circuit may communicate with other electronic devices in the environment and may receive additional sound measurements of the environment from the other electronic devices. In these embodiments, the A/V hub calculates the estimated location of the listener based on the additional sound measurements. In some embodiments, the interface circuit: performs time-of-flight measurements; and calculates the estimated location of the listener based on the time-of-flight measurements.
Note that the electronic devices may be located at non-zero distances from the A/V hub, and the current time offsets may be calculated based on the transmit times and the receive times using wireless ranging by ignoring the distances.
Moreover, the current time offsets may be based on models of clock drift in the electronic devices.
Another embodiment provides a computer-readable storage medium for use with the A/V hub. This computer-readable storage medium includes a program module that, when executed by the A/V hub, cause the A/V hub to perform at least some of the aforementioned operations.
Another embodiment provides a method for coordinating playback of audio content. This method includes at least some of the operations performed by the A/V hub.
Another embodiment provides one or more of the electronic devices.
A second group of described embodiments includes an audio/video (A/V) hub. This A/V hub includes: memory that, during operation, stores characterization information of an environment that includes the A/V hub; one or more antennas; and an interface circuit that, during operation, communicates with an electronic device using wireless communication. During operation, the A/V hub detects, using the wireless communication, the electronic device in the environment. Then, the A/V hub determines a change condition, where the change condition includes: that the electronic device was not previously detected in the environment; and/or a change in a location of the electronic device. When the change condition is determined, the A/V hub transitions into a characterization mode. During the characterization mode, the A/V hub: provides instructions to the electronic device to playback audio content at a specified playback time; determines one or more acoustic characteristics of the environment based on acoustic measurements in the environment; and stores the characterization information in the memory, where the characterization information includes the one or more acoustic characteristics.
Moreover, the characterization information may include: an identifier of the electronic device; and the location of the electronic device. For example, the location may include a distance between the A/V hub and the electronic device, and an angle of arrival of wireless signals during the wireless communication. Consequently, the change in the location may include a change in: the distance, the angle of arrival, or both. In some embodiments, the distance is determined using wireless ranging.
Note that the one or more acoustic characteristics may include information specifying: an acoustic transfer function in at least a first band of frequencies, acoustic loss, acoustic delay, acoustic noise in the environment, ambient sound in the environment, a reverberation time of the environment, and/or a spectral response in at least a second band of frequencies.
Furthermore, the A/V hub may calculate the location of the electronic device in the environment based on the wireless communication.
Additionally, the interface circuit may communicate with other electronic devices in the environment using the wireless communication, and the acoustic measurements may be received from the other electronic devices. In these embodiments, the one or more acoustic characteristics may be determined based on locations of the other electronic devices in the environment. Note that the A/V hub may: receive the locations of the other electronic devices from the other electronic devices; access predetermined locations of the other electronic devices stored in the memory; and determine the locations of the other electronic devices based on the wireless communication.
In some embodiments, the A/V hub includes one or more acoustic transducers, and the A/V hub performs the acoustic measurements using the one or more acoustic transducers.
Moreover, the A/V hub may: receive a user input; and transition into the characterization mode based on the user input.
Furthermore, the A/V hub may transmit one or more frames that include additional audio content and playback timing information to the electronic device, where the playback timing information may specify a playback time when the electronic device is to playback the additional audio content based on the one or more acoustic characteristics.
Another embodiment provides a computer-readable storage medium for use with the A/V hub. This computer-readable storage medium includes a program module that, when executed by the A/V hub, cause the A/V hub to perform at least some of the aforementioned operations.
Another embodiment provides a method for selectively determining one or more acoustic characteristics of the environment that includes the A/V hub. This method includes at least some of the operations performed by the A/V hub.
Another embodiment provides the electronic device.
A third group of described embodiments includes an audio/video (A/V) hub. This A/V hub includes: one or more acoustic transducers that, during operation, measure sound output by electronic devices in an environment that includes the A/V hub and the electronic devices; one or more antennas; and an interface circuit that, during operation, communicates with the electronic devices using wireless communication. During operation, the A/V hub measures the sound output by the electronic devices using the one or more acoustic transducers, where the sound corresponds to one or more acoustic-characterization patterns. Then, the A/V hub calculates current time offsets between clocks in the electronic devices and a clock in the A/V hub based on the measured sound, one or more times when the electronic devices output the sound and the one or more acoustic-characterization patterns. Next, the A/V hub transmits, using wireless communication, one or more frames that include audio content and playback timing information to the electronic devices, where the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the current time offsets. Moreover, the playback times of the electronic devices have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated.
Note that the measured sound may include information that specifies the one or more times when the electronic devices output the sound, and the one or more times may correspond to the clocks in the electronic devices.
Moreover, the A/V hub may provide to the electronic devices, via the wireless communication, one or more times when the electronic devices are to output the sound, and the one or more times may correspond to the clock in the A/V hub.
Furthermore, a given electronic device may output the sound at a different time in the one or more times than those used by a remainder of the electronic devices. Alternatively or additionally, the sound output by a given electronic device may correspond to a given acoustic-characterization patterns, which may be different from those used by the remainder of the electronic devices.
Note that the acoustic-characterization patterns may include pulses. Moreover, the sound may be in a range of frequencies outside of human hearing.
In some embodiments, the A/V hub modifies the measured sound based on an acoustic transfer function of the environment in at least a band of frequencies.
Moreover, the temporal relationship may have a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times. For example, the different playback times may be based on: acoustic characterization of the environment; a desired acoustic characteristic in the environment; and/or an estimated location of a listener relative to the electronic devices.
Another embodiment provides a computer-readable storage medium for use with the A/V hub. This computer-readable storage medium includes a program module that, when executed by the A/V hub, cause the A/V hub to perform at least some of the aforementioned operations.
Another embodiment provides a method for coordinating playback of audio content. This method includes at least some of the operations performed by the A/V hub.
Another embodiment provides one or more of the electronic devices.
A fourth group of described embodiments includes an audio/video (A/V) hub. This A/V hub includes: one or more antennas; and an interface circuit that, during operation, communicates with electronic devices using wireless communication. During operation, the A/V hub calculates an estimated location of a listener relative to the electronic devices in an environment that includes the A/V hub and the electronic devices. Then, the A/V hub transmits one or more frames that include audio content and playback timing information to the electronic devices, where the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the estimated location. Note that the playback times of the electronic devices have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated.
Moreover, the interface circuit may communicate with another electronic device, and the estimated location of the listener may be calculated based on the communication with the other electronic device. Furthermore, the A/V hub may include an acoustic transducer that performs sound measurements in the environment, and the estimated location of the listener may be calculated based on the sound measurements. Alternatively or additionally, the interface circuit may communicate with other electronic devices in the environment and may receive additional sound measurements of the environment from the other electronic devices, and the estimated location of the listener may be calculated based on the additional sound measurements. In some embodiments, the interface circuit performs time-of-flight measurements, and the estimated location of the listener is calculated based on the time-of-flight measurements.
Note that the playback times may be based on current time offsets between clocks in the electronic devices and a clock in the A/V hub.
Moreover, the A/V hub may calculate additional estimated locations of additional listeners relative to the electronic devices in the environment, and the playback times may be based on the estimated location and the additional estimated locations. For example, the playback times may be based on an average of the estimated location and the additional estimated locations. Alternatively, the playback times may be based on a weighted average of the estimated location and the additional estimated locations.
Furthermore, the temporal relationship may have a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times. In some embodiments, the different playback times are based on: acoustic characterization of the environment; and/or a desired acoustic characteristic in the environment.
Another embodiment provides a computer-readable storage medium for use with the A/V hub. This computer-readable storage medium includes a program module that, when executed by the A/V hub, cause the A/V hub to perform at least some of the aforementioned operations.
Another embodiment provides a method for calculating an estimated location. This method includes at least some of the operations performed by the A/V hub.
Another embodiment provides one or more of the electronic devices.
A fifth group of described embodiments includes an audio/video (A/V) hub. This A/V hub includes: one or more acoustic transducers that, during operation, measure sound output by electronic devices in an environment that includes the A/V hub and the electronic devices; one or more antennas; and an interface circuit that, during operation, communicates with the electronic devices using wireless communication. During operation, the A/V hub measures the sound output by the electronic devices using the one or more acoustic transducers, where the sound corresponds to audio content. Then, the A/V hub aggregates the electronic devices into two or more subsets based on the measured sound. Moreover, the A/V hub determines playback timing information for the subsets, where the playback timing information specifies playback times when the electronic devices in a given subset are to playback the audio content. Next, the A/V hub transmits, using wireless communication, one or more frames that include the audio content and playback timing information to the electronic devices, where the playback times of the electronic devices in at least the given subset have a temporal relationship so that the playback of the audio content by the electronic devices in the given subset is coordinated.
Note that the different subsets may be located in different rooms in the environment.
Moreover, at least one of the subsets may playback different audio content than a remainder of the subsets.
Furthermore, the aggregation of the electronic devices into the two or more subsets may be based on: the different audio content; an acoustic delay of the measured sound; and/or a desired acoustic characteristic in the environment.
Additionally, the A/V hub may calculate an estimated location of a listener relative to the electronic devices, and the aggregation of the electronic devices into the two or more subsets may be based on the estimated location of the listener.
In some embodiments, the A/V hub modifies the measured sound based on an acoustic transfer function of the environment in at least a band of frequencies.
Moreover, the A/V hub may determine playback volumes for the subsets that are used when the subsets playback the audio content, and the one or more frames may include information that specifies the playback volumes. For example, a playback volume for at least one of the subsets may be different than the playback volumes of a remainder of the subsets. Alternatively or additionally, the playback volumes may reduce acoustic cross-talk among the two or more subsets.
Another embodiment provides a computer-readable storage medium for use with the A/V hub. This computer-readable storage medium includes a program module that, when executed by the A/V hub, cause the A/V hub to perform at least some of the aforementioned operations.
Another embodiment provides a method for aggregating electronic devices. This method includes at least some of the operations performed by the A/V hub.
Another embodiment provides one or more of the electronic devices.
A sixth group of described embodiments includes an audio/video (A/V) hub. This A/V hub includes: one or more acoustic transducers that, during operation, measure sound output by electronic devices in an environment that includes the A/V hub and the electronic devices; one or more antennas; and an interface circuit that, during operation, communicates with the electronic devices using wireless communication. During operation, the A/V hub measures the sound output by the electronic devices using the one or more acoustic transducers, where the sound corresponds to audio content. Then, the A/V hub compares the measured sound to a desired acoustic characteristic at a first location in the environment based on the first location, a second location of the A/V hub, and an acoustic transfer function of the environment in at least a band of frequencies, where the comparison involves calculating the acoustic transfer function at the first location based on the acoustic transfer function at other locations in the environment and correcting the measured sound based on the calculated the acoustic transfer function at the first location. Moreover, the A/V hub determines equalized audio content based on the comparison and the audio content. Next, the A/V hub transmits, using wireless communication, one or more frames that include the equalized audio content to the electronic devices to facilitate output by the electronic devices of additional sound, which corresponds to the equalized audio content.
Note that the first location may include an estimated location of a listener relative to the electronic devices, and the A/V hub may calculate the estimated location of the listener. For example, the A/V hub may calculate the estimated location of the listener based on the sound measurements. Alternatively or additionally, the interface circuit may: communicate with another electronic device; and may calculate the estimated location of the listener based on the communication with the other electronic device. In particular, the communication with the other electronic device may include wireless ranging, and the estimated location may be calculated based on the wireless ranging and an angle of arrival of wireless signals from the other electronic device. In some embodiments, the interface circuit: performs time-of-flight measurements; and calculates the estimated location of the listener based on the time-of-flight measurements.
Moreover, the interface circuit may communicate with other electronic devices in the environment and may receive additional sound measurements of the environment from the other electronic devices. Then, the A/V hub may perform one or more additional comparisons of the additional sound measurements to the desired acoustic characteristic at the first location in the environment based on one or more third locations of the other electronic devices and the acoustic transfer function of the environment in at least a band of frequencies, and the equalized audio content is further determined based on the one or more additional comparisons. Furthermore, the interface circuit may determine the one or more third locations based on the communication with the other electronic devices. For example, the communication with the other electronic devices may include wireless ranging, and the one or more third locations may be calculated based on the wireless ranging and angles of arrival of wireless signals from the other electronic devices. Alternatively or additionally, the interface circuit may receive information specifying the third locations from the other electronic devices.
In some embodiments, the desired acoustic characteristic is based on a type of audio playback, which may include: monophonic, stereophonic and/or multichannel.
Moreover, the A/V hub may determine playback timing information that specifies playback times when the electronic devices playback the equalized audio content, the one or more frames further may include the playback timing information, and the playback times of the electronic devices have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated.
Another embodiment provides a computer-readable storage medium for use with the A/V hub. This computer-readable storage medium includes a program module that, when executed by the A/V hub, cause the A/V hub to perform at least some of the aforementioned operations.
Another embodiment provides a method for determining the equalized audio content. This method includes at least some of the operations performed by the A/V hub.
Another embodiment provides one or more of the electronic devices.
A seventh group of described embodiments includes an audio/video (A/V) hub. This A/V hub includes: one or more antennas; and an interface circuit that, during operation, communicates with electronic devices using wireless communication. During operation, the A/V hub receives, via the wireless communication, frames from the electronic devices. Then, the A/V hub stores receive times when the frames were received, where the receive times are based on a clock in the A/V hub. Moreover, the A/V hub calculates current time offsets between clocks in the electronic devices and the clock in the A/V hub based on the receive times and expected transmit times of the frames, where the expected transmit times are based on coordination of the clocks in the electronic devices and the clock in the A/V hub at a previous time and a predefined transmit schedule of the frames. Next, the A/V hub transmits one or more frames that include audio content and playback timing information to the electronic devices, where the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the current time offsets. Furthermore, the playback times of the electronic devices have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated.
Note that the temporal relationship may have a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times. For example, the different playback times may be based on acoustic characterization of an environment that includes the electronic devices and the A/V hub. Alternatively or additionally, the different playback times may be based on a desired acoustic characteristic in the environment.
In some embodiments, the electronic devices are located at vector distances from the A/V hub, and the interface circuit determines magnitudes of the vector distances based on transmit times of the frames and the receive times using wireless ranging. Moreover, the interface circuit may determine angles of the vector distances based on the angle of arrival of wireless signals associated with the frames that are received by the one or more antennas during the wireless communication. Furthermore, the different playback times may be based on the determined vector distances.
Alternatively or additionally, the different playback times are based on an estimated location of a listener relative to the electronic devices. For example, the interface circuit may: communicate with another electronic device; and calculate the estimated location of the listener based on the communication with the other electronic device. Moreover, the A/V hub may include an acoustic transducer that performs sound measurements of the environment that includes the A/V hub, and the A/V hub may calculate the estimated location of the listener based on the sound measurements. Furthermore, the interface circuit may communicate with other electronic devices in the environment and may receive additional sound measurements of the environment from the other electronic devices. In these embodiments, the A/V hub calculates the estimated location of the listener based on the additional sound measurements. In some embodiments, the interface circuit: performs time-of-flight measurements; and calculates the estimated location of the listener based on the time-of-flight measurements.
Note that the coordination of the clocks in the electronic devices and the clock in the A/V hub may have occurred during an initialization mode of operation.
Moreover, the current time offsets may be based on models of clock drift in the electronic devices.
Another embodiment provides a computer-readable storage medium for use with the A/V hub. This computer-readable storage medium includes a program module that, when executed by the A/V hub, cause the A/V hub to perform at least some of the aforementioned operations.
Another embodiment provides a method for coordinating playback of audio content. This method includes at least some of the operations performed by the A/V hub.
Another embodiment provides one or more of the electronic devices.
This Summary is only provided for purposes of illustrating some exemplary embodiments, so as to provide a basic understanding of some aspects of the subject matter described herein. Accordingly, it will be appreciated that the above-described features are only examples and should not be construed to narrow the scope or spirit of the subject matter described herein in any way. Other features, aspects, and advantages of the subject matter described herein will become apparent from the following Detailed Description, Figures, and Claims.
Note that like reference numerals refer to corresponding parts throughout the drawings. Moreover, multiple instances of the same part are designated by a common prefix separated from an instance number by a dash.
In a first group of embodiments, an audio/video (A/V) hub that coordinates playback of audio content is described. In particular, the A/V hub may calculate current time offsets between clocks in electronic devices (such as electronic devices that include speakers) and a clock in the A/V hub based on differences between transmit times of frames from the electronic devices and receive times when the frames were received. For example, the current time offsets may be calculated using wireless ranging by ignoring distances between the A/V hub and the electronic devices. Then, the A/V hub may transmit, to the electronic devices, one or more frames that include audio content and playback timing information, which may specify playback times when the electronic devices are to playback the audio content based on the current time offsets. Furthermore, the playback times of the electronic devices may have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated.
By coordinating the playback of the audio content by the electronic devices, this coordination technique may provide an improved acoustic experience in an environment that includes the A/V hub and the electronic devices. For example, the coordination technique may correct for clock drift between the A/V hub and the electronic devices. Alternatively or additionally, the coordination technique may correct or adapt for acoustic characteristics of the environment and/or based on a desired acoustic characteristic in the environment. In addition, the coordination technique may correct the playback times based on an estimated location of a listener relative to the electronic devices. In these ways, the coordination technique may improve the acoustic quality and, more generally, the user experience when using the A/V hub and the electronic devices. Consequently, the coordination technique may increase customer loyalty and revenue of a provider of the A/V hub and the electronic devices.
In a second group of embodiments, an audio/video (A/V) hub that selectively determines one or more acoustic characteristics of an environment that includes the A/V hub is described. In particular, the A/V hub may detect, using wireless communication, an electronic device (such as an electronic device that includes a speaker) in the environment. Then, the A/V hub may determine a change condition, such as when the electronic device was not previously detected in the environment and/or a change in a location of the electronic device. In response to determining the change condition, the A/V hub may transition into a characterization mode. During the characterization mode, the A/V hub may: provide instructions to the electronic device to playback audio content at a specified playback time; determine one or more acoustic characteristics of the environment based on acoustic measurements in the environment; and store the one or more acoustic characteristics and/or a location of the electronic device in memory.
By selectively determining the one or more acoustic characteristics, this characterization technique may facilitate an improved acoustic experience in the environment that includes the A/V hub and the electronic device. For example, the characterization technique may identify the changes and characterize the modified environment, which may be subsequently used to correct for the impact of the change during playback of audio content by one or more electronic devices (including the electronic device). In these ways, the characterization technique may improve acoustic quality and, more generally, the user experience when using the A/V hub and the electronic devices. Consequently, the characterization technique may increase customer loyalty and revenue of a provider of the A/V hub and the electronic devices.
In a third group of embodiments, an audio/video (A/V) hub that coordinates playback of audio content is described. In particular, the A/V hub may calculate current time offsets between clocks in electronic devices (such as electronic devices that include speakers) and a clock in the A/V hub based on measured sound corresponding to one or more acoustic-characterization patterns, one or more times when the electronic devices output the sound and the one or more acoustic-characterization patterns. Then, the A/V hub may transmit, to the electronic devices, one or more frames that include audio content and playback timing information, which may specify playback times when the electronic devices are to playback the audio content based on the current time offsets. Moreover, the playback times of the electronic devices may have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated.
By coordinating the playback of the audio content by the electronic devices, this coordination technique may provide an improved acoustic experience in an environment that includes the A/V hub and the electronic devices. For example, the coordination technique may correct for clock drift between the A/V hub and the electronic devices. Alternatively or additionally, the coordination technique may correct or adapt for acoustic characteristics of the environment and/or based on a desired acoustic characteristic in the environment. In addition, the coordination technique may correct the playback times based on an estimated location of a listener relative to the electronic devices. In these ways, the coordination technique may improve the acoustic quality and, more generally, the user experience when using the A/V hub and the electronic devices. Consequently, the coordination technique may increase customer loyalty and revenue of a provider of the A/V hub and the electronic devices.
In a fourth group of embodiments, an audio/video (A/V) hub that calculates an estimated location is described. In particular, the A/V hub may calculate an estimated location of a listener relative to electronic devices (such as electronic devices that include speakers) in an environment that includes the A/V hub and the electronic devices based on: communication with another electronic device; sound measurements in the environment; and/or time-of-flight measurements. Then, the A/V hub may transmit, to the electronic devices, one or more frames that include audio content and playback timing information, which may specify playback times when the electronic devices are to playback the audio content based on the estimated location. Moreover, the playback times of the electronic devices may have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated.
By calculating the estimated location of the listener, this characterization technique may facilitate an improved acoustic experience in the environment that includes the A/V hub and the electronic devices. For example, the characterization technique may track changes in the location of the listener in the environment, which may be subsequently used to correct or adapt playback of audio content by one or more electronic devices. In these ways, the characterization technique may improve the acoustic quality and, more generally, the user experience when using the A/V hub and the electronic devices. Consequently, the characterization technique may increase customer loyalty and revenue of a provider of the A/V hub and the electronic devices.
In a fifth group of embodiments, an audio/video (A/V) hub that aggregates electronic devices is described. In particular, the A/V hub may measure sound, corresponding to audio content, output by electronic devices (such as electronic devices that include speakers). Then, the A/V hub may aggregate the electronic devices into two or more subsets based on the measured sound. Moreover, the A/V hub may determine, for the subsets, playback timing information, which may specify playback times when the electronic devices in a given subset are to playback the audio content. Next, the A/V hub may transmit, to the electronic devices, one or more frames that include the audio content and playback timing information, where the playback times of the electronic devices in at least the given subset have a temporal relationship so that the playback of the audio content by the electronic devices in the given subset is coordinated.
By aggregating the electronic devices, this characterization technique may facilitate an improved acoustic experience in the environment that includes the A/V hub and the electronic devices. For example, the characterization technique may aggregate the electronic devices based on: different audio content; an acoustic delay of the measured sound; and/or a desired acoustic characteristic in the environment. In addition, the A/V hub may determine playback volumes for the subsets that are used when the subsets playback the audio content in order to reduce acoustic cross-talk among the two or more subsets. In these ways, the characterization technique may improve the acoustic quality and, more generally, the user experience when using the A/V hub and the electronic devices. Consequently, the characterization technique may increase customer loyalty and revenue of a provider of the A/V hub and the electronic devices.
In a sixth group of embodiments, an audio/video (A/V) hub that determines equalized audio content is described. In particular, the A/V hub may measure the sound, corresponding to audio content, output by electronic devices (such as electronic devices that include speakers). Then, the A/V hub may compare the measured sound to a desired acoustic characteristic at a first location in the environment based on the first location, a second location of the A/V hub, and an acoustic transfer function of the environment in at least a band of frequencies. For example, the comparison may involve calculating the acoustic transfer function at the first location based on the acoustic transfer function at other locations in the environment and correcting the measured sound based on the calculated the acoustic transfer function at the first location. Moreover, the A/V hub may determine the equalized audio content based on the comparison and the audio content. Next, the A/V hub may transmit, to the electronic devices, one or more frames that include the equalized audio content to facilitate output by the electronic devices of additional sound, which corresponds to the equalized audio content.
By determining the equalized audio content, this signal-processing technique may facilitate an improved acoustic experience in the environment that includes the A/V hub and the electronic devices. For example, the signal-processing may dynamically modify the audio content based on an estimated location of a listener relative to locations of the electronic devices and the acoustic transfer function of the environment in at least the band of frequencies. This may allow a desired acoustic characteristic or a type of audio playback (such as monophonic, stereophonic or multichannel) to be achieved at the estimated location in the environment. In these ways, the signal-processing technique may improve the acoustic quality and, more generally, the user experience when using the A/V hub and the electronic devices. Consequently, the signal-processing technique may increase customer loyalty and revenue of a provider of the A/V hub and the electronic devices.
In a seventh group of embodiments, an audio/video (A/V) hub that coordinates playback of audio content is described. In particular, the A/V hub may calculate current time offsets between clocks in electronic devices (such as electronic devices that include speakers) and a clock in the A/V hub based on differences between receive times when frames are received from electronic devices and expected transmit times of the frames. For example, the expected transmit times may be based on coordination of clocks in the electronic devices and a clock in the A/V hub at a previous time and a predefined transmit schedule of the frames. Then, the A/V hub may transmit, to the electronic devices, one or more frames that include audio content and playback timing information, which may specify playback times when the electronic devices are to playback the audio content based on the current time offsets. Furthermore, the playback times of the electronic devices may have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated.
By coordinating the playback of the audio content by the electronic devices, this coordination technique may provide an improved acoustic experience in an environment that includes the A/V hub and the electronic devices. For example, the coordination technique may correct for clock drift between the A/V hub and the electronic devices. Alternatively or additionally, the coordination technique may correct or adapt for acoustic characteristics of the environment and/or based on a desired (or target) acoustic characteristic in the environment. In addition, the coordination technique may correct the playback times based on an estimated location of a listener relative to the electronic devices. In these ways, the coordination technique may improve the acoustic quality and, more generally, the user experience when using the A/V hub and the electronic devices. Consequently, the coordination technique may increase customer loyalty and revenue of a provider of the A/V hub and the electronic devices.
nd rd th In the discussion that follows, the A/V hub (which is sometimes referred to as ‘a coordination device’), an A/V display device, a portable electronic device, one or more receiver devices, and/or one or more electronic devices (such as a speaker and, more generally, a consumer-electronic device) may include radios that communicate packets or frames in accordance with one or more communication protocols, such as: an Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard (which is sometimes referred to as ‘Wi-Fi®,’ from the Wi-Fi® Alliance of Austin, Tex.), Bluetooth® (from the Bluetooth Special Interest Group of Kirkland, Wash.), a cellular-telephone communication protocol, a near-field-communication standard or specification (from the NFC Forum of Wakefield, Mass.), and/or another type of wireless interface. For example, the cellular-telephone communication protocol may include or may be compatible with: a 2generation of mobile telecommunication technology, a 3generation of mobile telecommunications technology (such as a communication protocol that complies with the International Mobile Telecommunications-2000 specifications by the International Telecommunication Union of Geneva, Switzerland), a 4generation of mobile telecommunications technology (such as a communication protocol that complies with the International Mobile Telecommunications Advanced specification by the International Telecommunication Union of Geneva, Switzerland), and/or another cellular-telephone communication technique. In some embodiments, the communication protocol includes Long Term Evolution or LTE. However, a wide variety of communication protocols may be used (such as Ethernet). In addition, the communication may occur via a wide variety of frequency bands. Note that the portable electronic device, the A/V hub, the A/V display device, and/or the one or more electronic devices may communicate using infra-red communication that is compatible with an infra-red communication standard (including unidirectional or bidirectional infra-red communication).
Moreover, A/V content in following discussion may include video and associated audio (such as music, sound, dialog, etc.), video only or audio only.
1 FIG. 100 110 112 114 116 114 1 112 114 1 118 120 112 114 116 118 100 112 114 116 118 Communication among electronic devices is shown in, which presents a block diagram illustrating a systemwith a portable electronic device(such as a remote control or a cellular telephone), one or more A/V hubs (such as A/V hub), one or more A/V display devices(such as a television, a monitor, a computer and, more generally, a display associated with an electronic device), one or more receiver devices (such as receiver device, e.g., a local wireless receiver associated with a proximate A/V display device-that can receive frame-by-frame transcoded A/V content from A/V hubfor display on A/V display device-), one or more speakers(and, more generally, one or more electronic devices that include one or more speakers) and/or one or more content sourcesassociated with one or more content providers (e.g., a radio receiver, a video player, a satellite receiver, an access point that provides a connection to a wired network such as the Internet, a media or a content source, a consumer-electronic device, an entertainment device, a set-top box, over-the-top content delivered over the Internet or a network without involvement of a cable, satellite or multiple-system operator, a security camera, a monitoring camera, etc.). Note that A/V hub, A/V display devices, receiver deviceand speakersare sometimes collectively referred to as ‘components’ in system. However, A/V hub, A/V display devices, receiver deviceand/or speakersare sometimes referred to as ‘electronic devices.’
110 112 100 114 116 118 120 In particular, portable electronic deviceand A/V hubmay communicate with each other using wireless communication, and one or more other components in system(such as at least: one of A/V display devices, receiver device, one of speakersand/or one of content sources) may communicate using wireless and/or wired communication. During the wireless communication, these electronic devices may wirelessly communicate while: transmitting advertising frames on wireless channels, detecting one another by scanning wireless channels, establishing connections (for example, by transmitting association requests), and/or transmitting and receiving packets or frames (which may include the association requests and/or additional information as payloads, such as information specifying communication performance, data, a user interface, A/V content, etc.).
23 FIG. 110 112 114 116 118 120 110 112 116 118 114 120 122 122 5 114 2 122 110 112 116 118 114 120 110 112 116 118 114 120 As described further below with reference to, portable electronic device, A/V hub, A/V display devices, receiver device, speakersand content sourcesmay include subsystems, such as: a networking subsystem, a memory subsystem and a processor subsystem. In addition, portable electronic device, A/V hub, receiver device, and/or speakers, and optionally one or more of A/V display devicesand/or content sources, may include radiosin the networking subsystems. For example, a radio or receiver device may be in an A/V display device, e.g., radio-is included in A/V display device-.) Moreover, note that radiosmay be instances of the same radio or may be different from each other. More generally, portable electronic device, A/V hub, receiver deviceand/or speakers(and optionally A/V display devicesand/or content sources) can include (or can be included within) any electronic devices with the networking subsystems that enable portable electronic device, A/V hubreceiver deviceand/or speakers(and optionally A/V display devicesand/or content sources) to wirelessly communicate with each other. This wireless communication can comprise transmitting advertisements on wireless channels to enable electronic devices to make initial contact or detect each other, followed by exchanging subsequent data/management frames (such as association requests and responses) to establish a connection, configure security options (e.g., Internet Protocol Security), transmit and receive packets or frames via the connection, etc.
1 FIG. 1 FIG. 124 122 1 110 112 116 118 114 120 110 122 2 112 110 112 110 110 112 100 100 As can be seen in, wireless signals(represented by a jagged line) are transmitted from radio-in portable electronic device. These wireless signals may be received by at least one of: A/V hub, receiver deviceand/or at least one of speakers(and, optionally, one or more of A/V display devicesand/or content sources). For example, portable electronic devicemay transmit packets. In turn, these packets may be received by a radio-in A/V hub. This may allow portable electronic deviceto communicate information to A/V hub. Whileillustrates portable electronic devicetransmitting packets, note that portable electronic devicemay also receive packets from A/V huband/or one or more other components in system. More generally, wireless signals may be transmitted and/or received by one or more of the components in system.
110 112 116 118 114 120 124 124 110 128 110 110 112 114 118 120 128 110 112 114 118 120 110 112 114 116 118 120 110 100 112 114 118 120 112 120 114 In the described embodiments, processing of a packet or frame in portable electronic device, A/V hub, receiver deviceand/or speakers(and optionally one or more of A/V display devicesand/or content sources) includes: receiving wireless signalswith the packet or frame; decoding/extracting the packet or frame from received wireless signalsto acquire the packet or frame; and processing the packet or frame to determine information contained in the packet or frame (such as the information associated with a data stream). For example, the information from portable electronic devicemay include user-interface activity information associated with a user interface displayed on touch-sensitive display (TSD)in portable electronic device, which a user of portable electronic deviceuses to control at least: A/V hub, at least one of A/V display devices, at least one of speakersand/or at least one of content sources. (In some embodiments, instead of or in additional to touch-sensitive display, portable electronic deviceincludes a user interface with physical knobs and/or buttons that a user can use to control at least: A/V hubone of A/V display devices, at least one of speakersand/or one of content sources.) Alternatively, the information from portable electronic device, A/V hub, one or more of A/V display devices, receiver device, one or more of speakersand/or one or more of content sourcesmay specify communication performance about the communication between portable electronic deviceand one or more other components in system. Moreover, the information from A/V hubmay include device-state information about a current device state of at least one of A/V display devices, at least one of speakersand/or one of content sources(such as on, off, play, rewind, fast forward, a selected channel, selected A/V content, a content source, etc.), or may include user-interface information for the user interface (which may be dynamically updated based on the device-state information and/or the user-interface activity information). Furthermore, the information from at least A/V huband/or one of content sourcesmay include audio and/or video (which is sometimes denoted as ‘audio/video’ or ‘A/V’ content) that are displayed or presented on one or more of A/V display devices, as well as display instructions that specify how the audio and/or video are to be displayed or presented.
100 126 112 114 3 1 FIG. However, as noted previously, the audio and/or video may be communicated between components in systemvia wired communication. Therefore, as shown in, there may be a wired cable or link, such as a high-definition multimedia-interface (HDMI) cable, such as between A/V huband A/V display device-. While the audio and/or video may be included in or associated with HDMI content, in other embodiments the audio content may be included in or associated with A/V content that is compatible with another format or standard is used in the embodiments of the disclosed communication technique. For example, the A/V content may include or may be compatible with: H.264, MPEG-2, a QuickTime video format, MPEG-4, MP4, and/or TCP/IP. Moreover, the video mode of the A/V content may be 720p, 1080i, 1080p, 1440p, 2000, 2160p, 2540p, 4000p and/or 4320p.
112 114 114 1 112 112 114 1 112 120 112 114 1 120 114 1 112 112 114 1 112 114 1 114 1 Note that A/V hubmay determine display instructions (with a display layout) for the A/V content based on a format of a display in one of A/V display devices, such as A/V display device-. Alternatively, A/V hubcan use pre-determined display instructions or A/V hubcan modify or transform the A/V content based on the display layout so that the modified or transformed A/V content has an appropriate format for display on the display. Moreover, the display instructions may specify information to be displayed on the display in A/V display device-, including where A/V content is displayed (such as in a central window, in a tiled window, etc.). Consequently, the information to be displayed (i.e., an instance of the display instructions) may be based on a format of the display, such as: a display size, display resolution, display aspect ratio, display contrast ratio, a display type, etc. Furthermore, note that when A/V hubreceives the A/V content from one of content sources, A/V hubmay provide the A/V content and display instructions to A/V display device-as frames with the A/V content are received from one of content sources(e.g., in real time), so that the A/V content is displayed on the display in A/V display device-. For example, A/V hubmay collect the A/V content in a buffer until a frame is received, and then A/V hubmay provide the complete frame to A/V display device-. Alternatively, A/V hubmay provide packets with portions of a frame to A/V display device-as they are received. In some embodiments, the display instructions may be provided to A/V display device-differentially (such as when the display instructions change), regularly or periodically (such as in one of every N packets or in a packet in each frame) or in each packet.
110 112 114 116 118 120 Moreover, note that the communication between portable electronic device, A/V hub, one or more of A/V display devices, receiver device, one or more of speakersand/or one or more content sourcesmay be characterized by a variety of performance metrics, such as: a received signal strength indicator (RSSI), a data rate, a data rate discounting radio protocol overhead (which is sometimes referred to as a ‘throughput’), an error rate (such as a packet error rate, or a retry or resend rate), a mean-square error of equalized signals relative to an equalization target, intersymbol interference, multipath interference, a signal-to-noise ratio, a width of an eye pattern, a ratio of number of bytes successfully communicated during a time interval (such as 1-10 s) to an estimated maximum number of bytes that can be communicated in the time interval (the latter of which is sometimes referred to as the ‘capacity’ of a channel or link), and/or a ratio of an actual data rate to an estimated maximum data rate (which is sometimes referred to as ‘utilization’). Moreover, the performance during the communication associated with different channels may be monitored individually or jointly (e.g., to identify dropped packets).
110 112 114 116 118 120 100 110 114 118 1 FIG. The communication between portable electronic device, A/V hub, one of A/V display devices, receiver deviceone of speakersand/or one or more of content sourcesinmay involve one or more independent, concurrent data streams in different wireless channels (or even different communication protocols, such as different Wi-Fi communication protocols) in one or more connections or links, which may be communicated using multiple radios. Note that the one or more connections or links may each have a separate or different identifier (such as a different service set identifier) on a wireless network in system(which may be a proprietary network or a public network). Moreover, the one or more concurrent data streams may, on a dynamic or packet-by-packet basis, be partially or completely redundant to improve or maintain the performance metrics even when there are transient changes (such as interference, changes in the amount of information that needs to be communicated, movement of portable electronic device, etc.), and to facilitate services (while remaining compatible with the communication protocol, e.g., a Wi-Fi communication protocol) such as: channel calibration, determining of one or more performance metrics, performing quality-of-service characterization without disrupting the communication (such as performing channel estimation, determining link quality, performing channel calibration and/or performing spectral analysis associated with at least one channel), seamless handoff between different wireless channels, coordinated communication between components, etc. These features may reduce the number of packets that are resent, and, thus, may decrease the latency and avoid disruption of the communication and may enhance the experience of one or more users that are viewing A/V content on one or more of A/V display devicesand/or listening to audio output by one or more of speakers.
112 114 118 120 128 110 112 114 118 120 128 110 128 128 128 128 110 112 112 100 114 1 114 1 112 120 1 114 1 114 1 112 120 1 118 As noted previously, a user may control at least A/V hub, at least one of A/V display devices, at least one of speakersand/or at least one of content sourcesvia the user interface displayed on touch-sensitive displayon portable electronic device. In particular, at a given time, the user interface may include one or more virtual icons that allow the user to activate, deactivate or change functionality or capabilities of at least: A/V hub, at least one of A/V display devices, at least one of speakersand/or at least one of content sources. For example, a given virtual icon in the user interface may have an associated strike area on a surface of touch-sensitive display. If the user makes and then breaks contact with the surface (e.g., using one or more fingers or digits, or using a stylus) within the strike area, portable electronic device(such as a processor executing a program module) may receive user-interface activity information indicating activation of this command or instruction from a touch-screen input/output (I/O) controller, which is coupled to touch-sensitive display. (Alternatively, touch-sensitive displaymay be responsive to pressure. In these embodiments, the user may maintain contact with touch-sensitive displaywith an average contact pressure that is usually less than a threshold value, such as 10-20 kPa, and may activate a given virtual icon by increase the average contact pressure with touch-sensitive displayabove the threshold value.) In response, the program module may instruct an interface circuit in portable electronic deviceto wirelessly communicate the user-interface activity information indicating the command or instruction to A/V hub, and A/V hubmay communicate the command or the instruction to the target component in system(such as A/V display device-). This instruction or command may result in A/V display device-turning on or off, displaying A/V content from a particular content source, performing a trick mode of operation (such as fast forward, reverse, fast reverse or skip), etc. For example, A/V hubmay request the A/V content from content source-, and then may provide the A/V content along with display instructions to A/V display device-, so that A/V display device-displays the A/V content. Alternatively or additionally, A/V hubmay provide audio content associated with video content from content source-to one or more of speakers.
118 As noted previously, it is often challenging to achieve high audio quality in an environment (such as a room, a building, a vehicle, etc.). In particular, achieving high audio quality in the environment typically places strong constraints on coordination of the loudspeakers, such as speakers. For example, the coordination may need to be maintained to 1-5 μs accuracy (which are nonlimiting exemplary values). In some embodiments, the coordination includes synchronization in the time domain within a temporal or phase accuracy and/or the frequency domain within a frequency accuracy. In the absence of suitable coordination, the acoustic quality in the environment may be degraded, with a commensurate impact on listener satisfaction and the overall user experience when listening to audio content and/or A/V content.
118 112 118 118 118 118 112 112 112 118 118 1 118 1 2 4 FIGS.- This challenge may be addressed in a coordination technique by directly or indirectly coordinating speakerswith A/V hub. As described below with reference to, in some embodiments coordinated playback of audio content by speakersmay be facilitated using wireless communication. In particular, because the speed of light is almost six orders of magnitude faster than the speed of sound, the propagation delay of wireless signals in an environment (such as a room) is negligible relative to the desired coordination accuracy of speakers. For example, the desired coordination accuracy of speakersmay be on the order of a microsecond, while the propagation delay in a typical room (e.g., over distances of at most 10-30 m) may be one or two orders of magnitude smaller. Consequently, techniques such as wireless ranging or radio-based distance measurements may be used to coordinate speakers. In particular, during wireless ranging A/V hubmay transmit a frame or a packet that includes a transmission time and an identifier of A/V hubbased on a clock in A/V hub, and a given one of speakers(such as speaker-) may determine an arrival or a reception time of the frame or packet based on a clock in speaker-.
118 1 118 1 118 1 112 112 112 118 1 112 118 1 112 118 1 Alternatively, speaker-may transmit a frame or a packet (which is sometimes referred to as an ‘input frame’) that includes a transmission time and an identifier of speaker-based on the clock in speaker-, and /V hubmay determine an arrival or a reception time of the frame or packet based on the clock in /V hub. Typically, the distance between A/V huband speaker-is determined based on the product of the time of fight (the difference of the arrival time and the transmission time) and the speed of propagation. However, by ignoring the physical distance between A/V huband speaker-, i.e., by assuming instantaneous propagation (which for stationary devices in the same room or environment introduces a negligible static offset), the difference of the arrival time and the transmission time may dynamically track the drift or the current time offset in the coordination of the clocks in A/V huband speaker-(as well as the negligible static offset).
112 112 118 1 112 118 1 118 1 118 118 118 The current time offset may be determined by A/V hubor may be provided to A/V hubby speaker-. Then, A/V hubmay transmit, to speaker-, one or more frames (which are sometimes referred to as ‘output frames’) that include audio content and playback timing information, which may specify playback times when speaker-is to playback the audio content based on the current time offset. This may be repeated for other speakers. Furthermore, the playback times of speakersmay have a temporal relationship so that the playback of the audio content by speakersis coordinated.
112 118 118 118 11 13 FIGS.- 14 16 FIGS.- 17 19 FIGS.- 20 22 FIGS.- In addition to correcting for drift in the clocks, this coordination technique (as well as the other embodiments of the coordination technique described below) may provide an improved acoustic experience in an environment that includes A/V huband speakers. For example, the coordination technique may correct or adapt for predetermined or dynamically determined acoustic characteristics of the environment (as described further below with reference to), based on a desired acoustic characteristic in the environment (such as a type of playback, e.g., monophonic, stereophonic and/or multichannel, an acoustic radiation pattern, such as directed or diffuse, intelligibility, etc.) and/or based on dynamically estimated locations of one or more listeners relative to speakers(as described further below with reference to). In addition, the coordination technique may be used in conjunction with dynamic aggregation of speakersinto groups (as described further below with reference to) and/or with dynamically equalized audio content based audio content being played and differences between an acoustic characteristic and the desired acoustic characteristic in the environment (as described further below with reference to).
Note that the wireless ranging (as well as the wireless communication in general) may be performed at or in one or more bands of frequencies, such as at or in: a 2 GHz wireless band, a 5 GHz wireless band, an ISM band, a 60 GHz wireless band, ultra-wide band, etc.
118 112 118 In some embodiments, one or more additional communication techniques may be used to identify and/or exclude multi-path wireless signals during the coordination of speakers. For example, A/V huband/or speakersmay determine the angle of arrival (including non-line-of-sight reception) using: a directional antenna, the differential time of arrival at an array of antennas with known location(s), and/or the angle of arrival at two receivers having known location (i.e., trilateration or multilateration).
5 7 FIGS.- 118 112 118 112 112 112 112 118 118 118 118 1 112 118 1 As described further below with reference to, another approach for coordinating speakersmay use scheduled transmission times. In particular, during a calibration mode, clocks in A/V huband speakersmay be coordinated. Subsequently, in a normal operating mode, A/V hubmay transmit frames or packets with an identifier of A/V hubat predefined transmission times based on the clock in A/V hub. However, because of the relative drift in the clock in A/V hub, these packets or frames will arrive or be received at speakersat different times than the expected predefined transmission times based on the clocks in speakers. Thus, by once again ignoring the propagation delay, the difference of the arrival time and the predefined transmission time of a given frame at a given one of speakers(such as speaker-) may dynamically track the drift or the current time offset in the coordination of the clocks in A/V huband speaker-(as well as the negligible static offset associated with the propagation delay).
118 118 118 118 112 112 118 118 1 112 118 1 Alternatively or additionally, after the calibration mode, speakersmay transmit frames or packets with identifiers of speakersat predefined transmission times based on the clock in speakers. However, because of drift in the clocks in speakers, these packets or frames will arrive or be received by A/V hubat different times than the expected predefined transmission times based on the clock in A/V hub. Thus, by once again ignoring the propagation delay, the difference of the arrival time and the predefined transmission time of a given frame from a given one of speakers(such as speaker-) may dynamically track the drift or the current time offset in the coordination of the clocks in A/V huband speaker-(as well as the negligible static offset associated with the propagation delay).
112 112 118 118 1 112 118 112 118 1 118 1 118 118 118 Once again, the current time offset may be determined by A/V hubor may be provided to A/V hubby one or more of speakers(such as speaker-). Note that in some embodiments the current time offset is further based on models of clock drift in A/V huband speakers. Then, A/V hubmay transmit, to speaker-, one or more frames that include audio content and playback timing information, which may specify playback times when speaker-is to playback the audio content based on the current time offset. This may be repeated for other speakers. Furthermore, the playback times of speakersmay have a temporal relationship so that the playback of the audio content by speakersis coordinated.
118 Moreover, note that the one or more additional communication techniques may also be used in these embodiments to identify and/or exclude multi-path wireless signals during the coordination of speakers.
8 10 FIGS.- 118 112 118 112 112 112 118 118 112 118 118 118 1 112 118 1 As described further below with reference to, another approach for coordinating speakersmay use acoustic measurements. In particular, during a calibration mode, clocks in A/V huband speakersmay be coordinated. Subsequently, A/V hubmay output sound that corresponds to an acoustic-characterization pattern that uniquely identifies A/V hub(such as a sequence of pulses, different frequencies, etc.) at predefined transmission times. This acoustic-characterization pattern may be output at frequencies outside of the range of human hearing (such as at ultrasonic frequencies). However, because of the relative drift in the clock in A/V hub, the sound corresponding to the acoustic-characterization pattern will be measured at speakers(i.e., will arrive or be received) at different times than the expected predefined transmission times based on the clocks in speakers. In these embodiments, the different times need to be corrected for the contributions associated with acoustic propagation delays based on the predetermined or known locations of A/V huband speakersand/or using wireless ranging. For example, the locations may be determined using a triangulation and/or trilateration in a local positioning system, a global positioning system, and/or a wireless network (such as a cellular-telephone network or a WLAN). Thus, after correcting for the acoustic propagation delay, the difference of the arrival time and the predefined transmission time of a given frame at a given one of speakers(such as speaker-) may dynamically track the drift or the current time offset in the coordination of the clocks in A/V huband speaker-.
118 118 118 112 112 112 118 118 118 1 112 118 1 Alternatively or additionally, after the calibration mode, speakersmay output sound that corresponds to acoustic-characterization patterns that uniquely identify speakers(such as different sequences of pulses, different frequencies, etc.) at predefined transmission times. However, because of the relative drift in the clocks in speakers, the sound corresponding to the acoustic-characterization patterns will be measured at A/V hub(i.e., will arrive or be received) at different times than the expected predefined transmission times based on the clock in A/V hub. In these embodiments, the different times need to be corrected for the contributions associated with acoustic propagation delays based on the predetermined or known locations of A/V huband speakersand/or using wireless ranging. Thus, after correcting for the acoustic propagation delay, the difference of the arrival time and the predefined transmission time of a given frame from a given one of speakers(such as speaker-) may dynamically track the drift or the current time offset in the coordination of the clocks in A/V huband speaker-.
112 112 118 1 112 118 1 118 1 118 118 118 Once again, the current time offset may be determined by A/V hubor may be provided to A/V hubby speaker-. Then, A/V hubmay transmit, to speaker-, one or more frames that include audio content and playback timing information, which may specify playback times when speaker-is to playback the audio content based on the current time offset. This may be repeated for other speakers. Furthermore, the playback times of speakersmay have a temporal relationship so that the playback of the audio content by speakersis coordinated.
1 FIG. 110 112 122 110 112 114 116 118 120 Although we describe the network environment shown inas an example, in alternative embodiments, different numbers or types of electronic devices may be present. For example, some embodiments include more or fewer electronic devices. As another example, in another embodiment, different electronic devices are transmitting and/or receiving packets or frames. While portable electronic deviceand A/V hubare illustrated with a single instance of radios, in other embodiments portable electronic deviceand A/V hub(and optionally A/V display devices, receiver device, speakersand/or content sources) may include multiple radios.
2 FIG. 1 FIG. 200 112 210 We now describe embodiments of the communication technique.presents a flow diagram illustrating a methodfor coordinating playback of audio content, which may be performed by an A/V hub, such as A/V hub(). During operation, the A/V hub (such as a control circuit or control logic, e.g., a processor executing a program module, in the A/V hub) may receive, via wireless communication, frames (operation) or packets from one or more electronic devices, where a given frame or packet includes a transmit time when a given electronic device transmitted the given frame or packet.
212 Then, the A/V hub may store receive times (operation) when the frames or packets were received, where the receive times are based on a clock in the A/V hub. For example, a receive time may be may be added to an instance of a packet or a frame or packet received from one of the electronic devices by a physical layer and/or a media access control (MAC) layer in or associated with an interface circuit in the A/V hub. Note that the receive time may be associated with the leading edge or the trailing edge of the packet or frame or packet, such as with a receive time signal which is associated with the leading edge or with a receive clear signal which is associated with the trailing edge. Similarly, the transmit time may be added to an instance of a frame or a packet transmitted by one of the electronic devices by a physical layer and/or a MAC layer in or associated with an interface circuit in the electronic device. In some embodiments, the transmit and receive times are determined and added to the frames or packets by wireless-ranging capability in a physical layer and/or a MAC layer in or associated with the interface circuits.
214 Moreover, the A/V hub may calculate current time offsets (operation) between clocks in the electronic devices and the clock in the A/V hub based on the receive times and transmit times of the frames or packets. Furthermore, the current time offsets may be calculated by the A/V hub based on models of clock drift in the electronic devices, such as an electrical circuit model of a clock circuit and/or a look-up table of clock drift as a function of time. Note that the electronic devices may be located at non-zero distances from the A/V hub, and the current time offsets may be calculated based on the transmit times and the receive times using wireless ranging by ignoring the distances.
216 Next, the A/V hub may transmit one or more frames (operation) or packets that include audio content and playback timing information to the electronic devices, where the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the current time offsets. Furthermore, the playback times of the electronic devices may have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated. Note that the temporal relationship may have a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times. For example, the different playback times may be based on predetermined or dynamically determined acoustic characteristics of an environment that includes the electronic devices and the A/V hub. Alternatively or additionally, the different playback times may be based on a desired acoustic characteristic in the environment.
218 In some embodiments, the A/V hub optionally performs one or more additional operations (operation). For example, the electronic devices may be located at vector distances from the A/V hub, and the interface circuit may determine magnitudes of the vector distances based on the transmit times and the receive times using wireless ranging. Moreover, the interface circuit may determine angles of the vector distances based on the angle of arrival of wireless signals associated with the frames or packets that are received by the one or more antennas during the wireless communication. Furthermore, the different playback times may be based on the determined vector distances. For example, the playback times may correspond to the determined vector distances such that the sound associated with the audio content from different electronic devices at different locations in the environment may arrive at a location in the environment (e.g., a location of the A/V hub, in the middle of the environment, at a preferred listening location of a user, etc.) with a desired phase relationship or to achieve a desired acoustic characteristic at the location.
14 16 FIGS.- Alternatively or additionally, the different playback times are based on an estimated location of a listener relative to the electronic devices, such that the sound associated with the audio content from different electronic devices at different locations in the environment may arrive at the estimated location of the listener with a desired phase relationship or to achieve a desired acoustic characteristic at the estimated location. Techniques that can be used to determine the location of the listener are described further below with reference to.
Note that while the wireless ranging capability in the interface circuits may involve coordinated clocks in the A/V hub and the electronic devices, in other embodiments the clocks are not coordinated. Thus, a variety of radiolocation techniques may be used. In some embodiments, the wireless-ranging capability includes the use of transmissions over GHz or multi-GHz bandwidths to create pulses of short duration (such as, e.g., approximately 1 ns).
3 FIG. 112 118 1 310 118 1 312 112 312 314 316 318 310 118 1 118 1 312 320 112 312 322 312 322 324 326 328 318 is a drawing illustrating between A/V hub, and speaker-. In particular, interface circuitin speaker-may transmit one or more frames or packets (such as packet) to A/V hub. Packetmay include corresponding transmit time, based on an interface clockprovided by an interface clock circuitin or associated with an interface circuitin speaker-, when speaker-transmitted packets. When an interface circuitin A/V hubreceives packet, it may include receive timein packet(or it may store receive timein memory), where for each packet the corresponding receive time may be based on an interface clockprovided by an interface clock circuitin or associated with interface circuit.
320 314 322 330 316 326 320 330 332 332 330 Then, interface circuitmay calculate, based on differences between transmit timesand receive times, a current time offsetbetween interface clockand interface clock. Moreover, interface circuitmay provide current time offsetto processor. (Alternatively, processormay calculate the current time offset.)
332 334 336 320 334 118 1 336 330 330 338 334 336 118 1 334 336 Furthermore, processormay provide playback timing informationand audio contentto interface circuit, where the playback timing informationspecifies a playback time when speaker-is to playback audio contentbased on the current time offset. In response, interface circuitmay transmit one or more frames or packetsthat includes the playback timing informationand audio contentto speaker-. (However, in some embodiments, playback timing informationand audio contentare transmitted using separate or different frames or packets.)
310 338 334 336 340 340 342 340 336 350 336 118 1 336 118 1 334 After interface circuitreceives the one or more frames or packets, it may provide the playback timing informationand audio contentto processor. Processormay execute software that performs a playback operation. For example, processormay store audio contentin a queue in memory. In these embodiments, playback operationincludes outputting audio contentfrom the queue, including driving an electrical-to-acoustic transducer in speaker-based on audio contentso speaker-outputs sound at a time specified by the playback timing information.
118 118 410 1 118 412 1 118 410 4 FIG. 4 FIG. In an exemplary embodiment, the communication technique is used to coordinate the playback of audio content by speakers. This is illustrated in, which presents a drawing illustrating coordinating playback of audio content by speakers. In particular, when frames or packets (such as packet-) are transmitted by speakersthey may include information specifying transmit times (such as transmit time-). For example, the physical layer in the interface circuits in speakersmay include the transmit times in packets. Inand the other embodiments below, note that information in frames or packets may be included at an arbitrary position (such the beginning, the middle and/or the end).
410 112 414 1 410 1 410 112 410 112 118 When packetsare received by A/V hub, additional information specifying receive times (such as receive time-of packet-) may be included in packets. For example, the physical layer in the interface circuit in A/V hubmay include the receive times in packets. Moreover, the transmit times and the receive times may be used to track the drift of clocks in A/V huband speakers.
112 118 112 112 112 118 Using the transmit times and receive times, A/V hubmay calculate current time offsets between the clocks in speakersand the clock in A/V hub. Furthermore, the current time offsets may be calculated by A/V hubbased on models in A/V hubof the clock drift in speakers. For example, a model of the relative or absolute clock drift may include a polynomial or a cubic spline expression (and, more generally, a function) with parameters that specify or estimate the clock drift in a given speaker as a function of time based on historical time offsets.
112 420 418 1 416 1 118 118 420 118 420 118 422 Subsequently, A/V hubmay transmit one or more packets or frames or packets that include audio contentand playback timing information (such as playback timing information-in packet-) to speakers, where the playback timing information specifies playback times when speakersdevices are to playback audio contentbased on the current time offsets. The playback times of speakersmay have a temporal relationship so that the playback of audio contentby speakersis coordinated, e.g., so that the associated sound or wavefronts arrive at a locationin an environment with a desired phase relationship.
5 FIG. 1 FIG. 500 500 112 510 Another embodiment of the coordination in the communication technique is shown in, which presents a flow diagram illustrating a methodfor coordinating playback of audio content. Note that methodmay be performed by an A/V hub, such as A/V hub(). During operation, the A/V hub (such as a control circuit or control logic, e.g., a processor executing a program module, in the A/V hub) may receive, via wireless communication, frames (operation) or packets from electronic devices.
512 Then, the A/V hub may store receive times (operation) when the frames or packets were received, where the receive times are based on a clock in the A/V hub. For example, a receive time may be may be added to an instance of a frame or a packet received from one of the electronic devices by a physical layer and/or a MAC layer in or associated with an interface circuit in the A/V hub. Note that the receive time may be associated with the leading edge or the trailing edge of the frame or a packet, such as with a receive time signal which is associated with the leading edge or with a receive clear signal which is associated with the trailing edge.
514 Moreover, the A/V hub may calculate current time offsets (operation) between clocks in the electronic devices and the clock in the A/V hub based on the receive times and expected transmit times of the frames or packets, where the expected transmit times are based on coordination of the clocks in the electronic devices and the clock in the A/V hub at a previous time and a predefined transmit schedule of the frames or packets (such as every 10 or 100 ms, which are nonlimiting examples). For example, during an initialization mode, time offsets between the clocks in the electronic devices and the clock in the A/V hub may be eliminated (i.e., coordination may be established). Note that the predefined transmit times in the transmit schedule may include or may be other than beacon transmit times in a WLAN. Subsequently, the clocks and the clock may have relative drift, which can be tracked based on differences between the receive times and expected transmit times of the frames or packets. In some embodiments, the current time offsets are calculated by the A/V hub based on models of clock drift in the electronic devices.
516 Next, the A/V hub may transmit one or more frames (operation) or packets that include audio content and playback timing information to the electronic devices, where the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the current time offsets. Furthermore, the playback times of the electronic devices may have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated. Note that the temporal relationship may have a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times. For example, the different playback times may be based on predetermined or dynamically determined acoustic characteristics of an environment that includes the electronic devices and the A/V hub. Alternatively or additionally, the different playback times may be based on a desired acoustic characteristic in the environment.
518 In some embodiments, the A/V hub optionally performs one or more additional operations (operation). For example, the electronic devices may be located at vector distances from the A/V hub, and the interface circuit may determine magnitudes of the vector distances based on the transmit times and the receive times using wireless ranging. Moreover, the interface circuit may determine angles of the vector distances based on the angle of arrival of wireless signals associated with the frames or packets that are received by the one or more antennas during the wireless communication. Furthermore, the different playback times may be based on the determined vector distances. For example, the playback times may correspond to the determined vector distances such that the sound associated with the audio content from different electronic devices at different locations in the environment may arrive at a location in the environment (e.g., a location of the A/V hub, in the middle of the environment, at a preferred listening location of a user, etc.) with a desired phase relationship or to achieve a desired acoustic characteristic at the location.
14 16 FIGS.- Alternatively or additionally, the different playback times are based on an estimated location of a listener relative to the electronic devices, such that the sound associated with the audio content from different electronic devices at different locations in the environment may arrive at the estimated location of the listener with a desired phase relationship or to achieve a desired acoustic characteristic at the estimated location. Techniques that can be used to determine the location of the listener are described further below with reference to.
6 FIG. 110 112 118 1 610 112 612 614 118 1 608 628 606 616 618 616 618 616 618 is a drawing illustrating communication among portable electronic device, A/V hub, and speaker-. In particular, during an initialization mode, interface circuitin A/V hubmay transmit a frame or packetto interface circuitin speaker-. This packet may include informationthat coordinates clocksandprovided, respectively, by interface clock circuitsand. For example, the information may eliminate a time offset between interface clock circuitsandand/or may set interface clock circuitsandto the same clock frequency.
614 620 112 622 Subsequently, interface circuitmay transmit one or more frames or packets (such as packet) to A/V hubat predefined transmit times.
610 112 620 624 620 624 626 628 616 610 When an interface circuitin A/V hubreceives packet, it may include receive timein packet(or it may store receive timein memory), where for each packet the corresponding receive time may be based on interface clockprovided by an interface clock circuitin or associated with interface circuit.
610 622 624 630 628 606 610 630 632 632 630 Then, interface circuitmay calculate, based on differences between transmit timesand receive times, a current time offsetbetween interface clockand interface clock. Moreover, interface circuitmay provide current time offsetto processor. (Alternatively, processormay calculate the current time offset.)
632 634 636 610 634 118 1 636 630 610 638 634 636 118 1 634 636 Furthermore, processormay provide playback timing informationand audio contentto interface circuit, where the playback timing informationspecifies a playback time when speaker-is to playback audio contentbased on the current time offset. In response, interface circuitmay transmit one or more frames or packetsthat includes the playback timing informationand audio contentto speaker-. (However, in some embodiments, playback timing informationand audio contentare transmitted using separate or different frames or packets.)
614 638 634 636 640 640 642 640 636 650 636 118 1 636 118 1 634 After interface circuitreceives the one or more frames or packets, it may provide the playback timing informationand audio contentto processor. Processormay execute software that performs a playback operation. For example, processormay store audio contentin a queue in memory. In these embodiments, playback operationincludes outputting audio contentfrom the queue, including driving an electrical-to-acoustic transducer in speaker-based on audio contentso speaker-outputs sound at a time specified by the playback timing information.
118 118 112 710 118 708 710 1 112 118 7 FIG. In an exemplary embodiment, the communication technique is used to coordinate the playback of audio content by speakers. This is illustrated in, which presents a drawing illustrating coordinating playback of audio content by speakers. In particular, A/V hubmay transmit frames or packetsto speakerswith information (such as informationin packet-) that coordinates clocks, provided by clock circuits, in A/V huband speakers.
118 712 112 112 712 714 1 712 1 112 118 Subsequently, speakersmay transmit frames or packetsto A/V hubat predefined transmit times. When these frames or packets are received by A/V hub, information specifying receive times may be included in packets(such as receive time-in packet-). The predefined transmit times and the receive times may be used to track the drift of the clocks in A/V huband speakers.
112 118 112 112 112 118 Using the predefined transmit times and the receive times, A/V hubmay calculate current time offsets between the clocks in speakersand the clock in A/V hub. Furthermore, the current time offsets may be calculated by A/V hubbased on models in A/V hubof the clock drift in speakers. For example, a model of the relative or absolute clock drift may include a polynomial or a cubic spline expression (and, more generally, a function) with parameters that specify or estimate the clock drift in a given speaker as a function of time based on historical time offsets.
112 720 718 1 716 1 118 118 720 118 720 118 722 Subsequently, A/V hubmay transmit one or more frames or packets that include audio contentand playback timing information (such as playback timing information-in packet-) to speakers, where the playback timing information specifies playback times when speakersdevices are to playback audio contentbased on the current time offsets. The playback times of speakersmay have a temporal relationship so that the playback of audio contentby speakersis coordinated, e.g., so that the associated sound or wavefronts arrive at a locationin an environment with a desired phase relationship.
8 FIG. 1 FIG. 800 800 112 810 Another embodiment of the coordination in the communication technique is shown in, which presents a flow diagram illustrating a methodfor coordinating playback of audio content. Note that methodmay be performed by an A/V hub, such as A/V hub(). During operation, the A/V hub (such as a control circuit or control logic, e.g., a processor executing a program module, in the A/V hub) may measure sound (operation) output by electronic devices in an environment that includes the A/V hub using one or more acoustic transducers in the A/V hub, where the sound corresponds to one or more acoustic-characterization patterns. For example, the measured sound may include the sound pressure. Note that the acoustic-characterization patterns may include pulses. Moreover, the sound may be in a range of frequencies outside of human hearing, such as ultrasound.
Furthermore, a given electronic device may output the sound at a different time in the one or more times than those used by a remainder of the electronic devices, so that the sound from the given electronic device can be identified or distinguished from the sound output by the remainder of the electronic devices. Alternatively or additionally, the sound output by a given electronic device may correspond to a given acoustic-characterization pattern, which may be different from those used by the remainder of the electronic devices. Thus, the acoustic-characterization patterns may uniquely identify the electronic devices.
812 Then, the A/V hub may calculate current time offsets (operation) between clocks in the electronic devices and a clock in the A/V hub based on the measured sound, one or more times when the electronic devices output the sound and the one or more acoustic-characterization patterns. For example, the A/V hub may correct the measured sound based on an acoustic characteristic of the environment, such as an acoustic delay associated with at least a particular frequency or a predetermined (or dynamically determined) acoustic transfer function of the environment in at least a band of frequencies (such as 100-20,000 Hz, which is a nonlimiting example), and the output times may be compared to triggered output times or predefined output times. This may allow the A/V hub to determine the original output sound without the spectral filtering or distortions associated with the environment, which may allow the A/V hub to more accurately determine the current time offsets.
808 Note that the measured sound may include information that specifies the one or more times when the electronic devices output the sound (e.g., the pulses in the acoustic-characterization patterns may specify the times), and the one or more times may correspond to the clocks in the electronic devices. Alternatively or additionally, the A/V hub may optionally provide to the electronic devices, via the wireless communication, one or more times (operation) when the electronic devices are to output the sound, and the one or more times may correspond to the clock in the A/V hub. For example, the A/V hub may transmit one or more frames or packets to the electronic devices with the one or more times. Thus, the A/V hub may trigger the output of the sound or the sound may be output at predefined output times.
814 Next, the A/V hub may transmit, using wireless communication, one or more frames (operation) or packets that include audio content and playback timing information to the electronic devices, where the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the current time offsets. Moreover, the playback times of the electronic devices have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated. Note that the temporal relationship may have a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times. For example, the different playback times may be based on predetermined or dynamically determined acoustic characteristics of an environment that includes the electronic devices and the A/V hub. Alternatively or additionally, the different playback times may be based on a desired acoustic characteristic in the environment and/or an estimated location of a listener relative to the electronic devices.
816 118 In some embodiments, the A/V hub optionally performs one or more additional operations (operation). For example, the A/V hub may modify the measured sound based on an acoustic transfer function of the environment in at least a band of frequencies that includes the spectral content in acoustic-characterization patterns. Note that the acoustic transfer function may be predetermined and accessed by the A/V hub or dynamically determined by the A/V hub. This correction for the filtering associated with the environment may be necessary because, while the time delay and dispersion associated with the propagation of sound in the environment may be much larger than the desired coordination of the clocks in the electronic devices and the clock in the A/V hub, the leading edge of the modified direct sound may be determined with sufficient accuracy that the current time offset between the clocks in the electronic devices and the clock in the A/V hub can be determined. For example, the desired coordination accuracy of speakersmay be as small as on the order of a microsecond, while the propagation delay of sound in a typical room (e.g., over distances of at most 10-30 m) may be five orders of magnitude larger. Nonetheless, the modified measured sound may allow the leading edges of the direct sound associated with pulses in the sound output from a given electronic device to be measured with as little as microsecond accuracy, which can facilitate coordination of the clocks in the electronic devices and the clock in the A/V hub. In some embodiments, the A/V hub determines the temperature in the environment, and the calculations of the current time offset may be corrected for changes in the temperature (which impact the speed of sound in the environment).
9 FIG. 110 112 118 1 910 118 1 912 914 118 1 112 118 1 916 112 918 920 918 922 910 118 1 914 922 is a drawing illustrating communication among portable electronic device, A/V hub, and speaker-. In particular, processorin speaker-may instructone or more acoustic transducersin speaker-to output sound at an output time, where the sound corresponds to an acoustic-characterization pattern. For example, the output time may be predefined (such as based on a pattern or sequence of pulses in the acoustic-characterization pattern, a predefined output schedule with scheduled output times or a predefined interval between output times) and thus may be known to A/V huband the speaker-. Alternatively, interface circuitin A/V hubmay provide a trigger frame or packet. After interface circuitreceives trigger packet, it may forward an instructionto processorin speaker-, which triggers the sound output from the one or more acoustic transducersbased on instruction.
924 112 926 928 930 112 Subsequently, the one or more acoustic transducersin A/V hubmay measurethe sound, and may provide informationthat specifies the measurements to processorin A/V hub.
930 932 118 1 112 928 118 1 118 1 930 932 914 118 1 Next, processormay calculate a current time offsetbetween a clock from a clock circuit in speaker-(such as an interface clock circuit) and a clock from a clock circuit (such as an interface clock circuit) in A/V hubbased on the information, one or more times when speaker-output the sound and an acoustic-characterization pattern associated with speaker-. For example, processormay determine the current time offsetbased on at least two times in the acoustic-characterization pattern when the one or more acoustic transducersin speaker-output sound corresponding to the acoustic-characterization pattern.
930 934 936 916 934 118 1 936 932 930 936 938 916 940 934 936 118 1 934 936 Moreover, processormay provide playback timing informationand audio contentto interface circuit, where the playback timing informationspecifies a playback time when speaker-is to playback audio contentbased on the current time offset. Note that processormay access audio contentin memory. In response, interface circuitmay transmit one or more frames or packetsthat includes the playback timing informationand audio contentto speaker-. (However, in some embodiments, playback timing informationand audio contentare transmitted using separate or different frames or packets.)
920 940 934 936 924 924 942 924 936 942 936 914 936 118 1 934 After interface circuitreceives the one or more frames or packets, it may provide the playback timing informationand audio contentto processor. Processormay execute software that performs a playback operation. For example, processormay store audio contentin a queue in memory. In these embodiments, playback operationincludes outputting audio contentfrom the queue, including driving one or more of acoustic transducersbased on audio contentso speaker-outputs sound at a time specified by the playback timing information.
118 118 118 1010 118 1 1012 1014 1012 118 1 118 1012 112 1010 1016 1018 118 118 1010 10 FIG. 10 FIG. In an exemplary embodiment, the communication technique is used to coordinate the playback of audio content by speakers. This is illustrated in, which presents a drawing illustrating coordinating playback of audio content by speakers. In particular, speakersmay output soundcorresponding to acoustic-characterization patterns. For example, an acoustic-characterization pattern associated with speaker-may include two or more pulses, where a time intervalbetween pulsesmay correspond to a clock provided by a clock circuit in speaker-. In some embodiments, a pattern or sequence of pulses in the acoustic-characterization patterns may also uniquely identify speakers. While pulsesare used to illustrated the acoustic-characterization patterns in, in other embodiments a variety of temporal, frequency and/or modulation techniques may be used, including: amplitude modulation, frequency modulation, phase modulation, etc. Note that A/V hubmay optional trigger the output of soundby transmitting one or more frames or packetswith informationspecifying times to speakerswhen speakersare to output soundcorresponding to the acoustic-characterization patterns.
112 1010 1010 112 118 112 1010 118 112 112 118 Then, A/V hubmay measure soundoutput by the electronic devices using one or more acoustic transducers, where the sound corresponds to one or more of the acoustic-characterization patterns. After measuring sound, A/V hubmay calculate current time offsets between clocks in speakersand a clock in A/V hubbased on the measured sound, one or more times when the speakersoutput the sound and the one or more acoustic-characterization patterns. In some embodiments, the current time offsets may be calculated by A/V hubbased on models in A/V hubof clock drift in speakers. For example, a model of the relative or absolute clock drift may include a polynomial or a cubic spline expression (and, more generally, a function) with parameters that specify or estimate the clock drift in a given speaker as a function of time based on historical time offsets.
112 1022 118 1024 1 1020 1 118 1022 118 1022 118 1026 Next, A/V hubmay transmit one or more frames or packets that include audio contentand playback timing information to speakers(such as playback timing information-in packet-), where the playback timing information specifies playback times when speakersdevices are to playback audio contentbased on the current time offsets. The playback times of speakersmay have a temporal relationship so that the playback of audio contentby speakersis coordinated, e.g., so that the associated sound or wavefronts arrive at a locationin an environment with a desired phase relationship.
11 FIG. 1 FIG. 1100 1100 112 1110 1112 The communication technique may include operations that are used to adapt the coordination to improve the acoustic experience of listeners. One approach is shown in, which presents a flow diagram illustrating a methodfor selectively determining one or more acoustic characteristics of an environment (such as a room). Methodmay be performed by an A/V hub, such as A/V hub(). During operation, the A/V hub (such as a control circuit or control logic, e.g., a processor executing a program module, in the A/V hub) may optionally detect, using wireless communication, an electronic device (operation) in an environment. Alternatively or additionally, the A/V hub may determine a change condition (operation), where the change condition includes: that the electronic device was not previously detected in the environment; and/or a change in a location of the electronic device (including a change in the location that occurs long after the electronic device was first detected in the environment).
1112 1114 1116 1118 1120 When the change condition is determined (operation), the A/V hub may transition into a characterization mode (operation). During the characterization mode, the A/V hub may: provide instructions (operation) to the electronic device to playback audio content at a specified playback time; determine one or more acoustic characteristics (operation) of the environment based on acoustic measurements in the environment; and store the characterization information (operation) in memory, where the characterization information includes the one or more acoustic characteristics.
1122 Moreover, the A/V hub may transmit one or more frames (operation) or packets that include additional audio content and playback timing information to the electronic device, where the playback timing information may specify a playback time when the electronic device is to playback the additional audio content based on the one or more acoustic characteristics.
1124 In some embodiments, the A/V hub optionally performs one or more additional operations (operation). For example, the A/V hub may calculate the location of the electronic device in the environment, such as based on wireless communication. Moreover, the characterization information may include an identifier of the electronic device, which may be received from the electronic device by the A/V hub using wireless communication.
Furthermore, the A/V hub may determine the one or more acoustic characteristics based, at least in part, on acoustic measurements performed by other electronic devices. Thus, the A/V hub may communicate with the other electronic devices in the environment using the wireless communication, and may receive the acoustic measurements from the other electronic devices. In these embodiments, the one or more acoustic characteristics may be determined based on locations of the other electronic devices in the environment. Note that the A/V hub may: receive the locations of the other electronic devices from the other electronic devices; access predetermined locations of the other electronic devices stored in memory; and determine the locations of the other electronic devices, e.g., based on the wireless communication.
In some embodiments, the A/V hub includes one or more acoustic transducers, and the A/V hub performs the acoustic measurements using the one or more acoustic transducers. Therefore, the one or more acoustic characteristics may be determined by the A/V hub alone or in conjunction with the acoustic measurements performed by the other electronic devices.
However, in some embodiments, instead of determining the one or more acoustic characteristics, the A/V hub receives the determined one or more acoustic characteristics from one of the other electronic devices.
While the acoustic characterization may be fully automated based on the change condition, in some embodiments a user may manually initiate the characterization mode or may manually approve the characterization mode when the change condition is detected. For example, the A/V hub may: receive a user input; and transition into the characterization mode based on the user input.
12 FIG. 112 118 1 1210 112 118 1 1212 1214 118 1 is a drawing illustrating communication between A/V huband speaker-. In particular, interface circuitin A/V hubmay detect speaker-by wireless communication of frames or packetswith interface circuitin speaker-. Note that this communication may be unilateral or bilateral.
1210 1216 1218 118 1 1216 118 1 Interface circuitmay provide informationto processor. This information may indicate the presence of speaker-in an environment. Alternatively or additionally, informationmay specify a location of speaker-.
1218 1220 1218 118 1 118 1 Then, processormay determine whether a change conditionhas occurred. For example, processormay determine the presence of speaker-in the environment when it was not present previously or that the location of previously detected speaker-has changed.
1220 1218 1222 1222 1218 1224 1210 1210 1224 1214 1226 When change conditionis determined, processormay transition to a characterization mode. During characterization mode, processormay provide instructionto interface circuit. In response, interface circuitmay transmit instructionto interface circuitin frame or packet.
1226 1214 1224 1228 1230 1232 1228 1232 1208 1232 1226 1234 112 1236 1232 1230 1236 1210 1218 1238 1240 After receiving packet, interface circuitmay provide instructionto processor, when then instructs one or more acoustic transducersto playback audio contentat a specified playback time. Note that processormay access audio contentin memoryor audio contentmay be included in packet. Next, one or more acoustic transducersin A/V hubmay perform acoustic measurementsof sound corresponding to audio contentoutput by the one or more acoustic transducers. Based on acoustic measurements(and/or additional acoustic measurements received from other speakers by interface circuit), processormay determine one or more acoustic characteristicsof the environment, which are then stored in memory.
1218 1242 1244 1210 1242 118 1 1244 1238 1210 1246 1242 1244 118 1 1242 1244 Moreover, processormay provide playback timing informationand audio contentto interface circuit, where the playback timing informationspecifies a playback time when speaker-is to playback audio contentbased, at least in part, on the one or more acoustic characteristics. In response, interface circuitmay transmit one or more frames or packetsthat includes the playback timing informationand audio contentto speaker-. (However, in some embodiments, playback timing informationand audio contentare transmitted using separate or different frames or packets.)
1214 1246 1242 1244 1228 1228 1248 1228 1244 1248 1244 1230 1244 118 1 1242 After interface circuitreceives the one or more frames or packets, it may provide the playback timing informationand audio contentto processor. Processormay execute software that performs a playback operation. For example, processormay store audio contentin a queue in memory. In these embodiments, playback operationincludes outputting audio contentfrom the queue, including driving one or more of acoustic transducersbased on audio contentso speaker-outputs sound at a time specified by the playback timing information.
112 118 112 118 1 112 118 1 1310 118 1 13 FIG. In an exemplary embodiment, the communication technique is used to selectively determine one or more acoustic characteristics of an environment (such as a room) that includes A/V hubwhen a change is detected.presents a drawing illustrating selective acoustic characterization of an environment that includes speakers. In particular, A/V hubmay detect speaker-in the environment. For example, A/V hubmay detect speaker-based on wireless communication of one or more frames or packetswith speaker-. Note that the wireless communication may be unilateral or bilateral.
118 1 118 1 1312 118 1 112 112 1312 1312 118 1 When a change condition is determined (such as when the presence of speaker-is first detected, i.e., when speaker-was not previously detected in the environment, and/or when there is a change in a locationof previously detected speaker-in the environment), A/V hubmay transition into a characterization mode. For example, A/V hubmay transition into the characterization mode when a magnitude change in locationon the order of the wavelength at the upper limit of human hearing, e.g., a change of 0.0085, 0.017 or 0.305 m (which are nonlimiting examples), in locationof speaker-is detected.
112 1314 118 1 1316 1316 118 1 1312 118 1 During the characterization mode, A/V hubmay: provide instructions in frame or packetto speaker-to playback audio content at a specified playback time (i.e., to output sound); determine one or more acoustic characteristics of the environment based on acoustic measurements of soundoutput by speaker-; and store the one or more acoustic characteristics, which may include locationof speaker-, in memory.
118 1 112 118 1 118 1 For example, the audio content may include a pseudorandom frequency pattern or white noise over a range of frequencies (such as between 100 and 10,000 or 20,000 Hz, or two or more sub-frequency bands in the range of human hearing, e.g., at 500, 1000 and 2000 Hz, which are nonlimiting examples), an acoustic pattern having a carrier frequency that varies as a function of time over a range of frequencies, an acoustic pattern having spectral content in a range of frequencies, and/or one or more types of music (such as symphony music, classical music, chamber music, opera, rock or pop music, etc.). In some embodiments, the audio content uniquely identifies speaker-, such as a particular temporal pattern, spectral content and/or one or more frequency tones. Alternatively or additionally, A/V hubmay receive, via wireless communication with speaker-, an identifier of speaker-, such as an alphanumeric code.
118 1 However, in some embodiments, the acoustic characterization is performed without speaker-playing the audio content. For example, the acoustic characterization may be based on the acoustic energy associated with a person's voice or by measuring 1-2 min. of percussive background noise in the environment. Thus, in some embodiments the acoustic characterization includes passive characterization (instead of active measurements when the audio content is playing).
1312 118 1 118 1 Moreover, the acoustic characteristics may include: an acoustic spectral response of the environment over a range of frequencies (i.e., information that specifies an amplitude response as a function of frequency), an acoustic transfer function or impulse response over a range of frequencies (i.e., information that specifies an amplitude and a phase response as a function of frequency), room resonances or low-frequency room modes (which have nodes and antinodes as a function of position or location in the environment, and which may be determined by measuring sound in the environment in different directions at 90° from each other), locationof speaker-, reflections (including early reflections within 50-60 ms of the arrival of direct sound from speaker-, and late reflections or echoes that occur on longer time scales, which can impact clarity), an acoustic delay of the direct sound, an average reverberation time over a range of frequencies (or the persistence of acoustic sound in the environment over a range of frequencies after the audio content has discontinued), a volume of the environment (such as a size and/or a geometry of room, which may be determined optically), background noise in the environment, ambient sound in the environment, a temperature of the environment, a number of people in the environment (and, more generally, absorption or acoustic loss over a range of frequencies in the environment), a metric of how acoustically lively, bright or dull the environment is and/or information that specifies a type of the environment (such as an auditorium, a general-purpose room, a concert hall, a size of a room, types of furnishing in a room, etc.). For example, the reverberation time may be defined as the time for the sound pressure associated with an impulse at a frequency to decay to a particular level, such as −60 dB. In some embodiments, the reverberation time is a function of the frequency. Note that the range of frequencies in the preceding examples of the acoustic characteristics may be the same or different from each other. Thus, in some embodiments, different ranges of frequencies may be used for different acoustic characteristics. In addition, note that an ‘acoustic transfer function’ in some embodiments may include a magnitude of the acoustic transfer function (which is sometimes referred to as an ‘acoustic spectral response’), a phase of the acoustic transfer function, or both.
1312 118 1 1312 118 1 112 118 1312 112 As noted previously, the acoustic characteristics may include locationof speaker-. The locationof speaker-(including distance and direction) may be determined by A/V huband/or in conjunction with other electronic devices in the environment (such as speakers) using techniques such as: triangulation, trilateration, time of flight, wireless ranging, the angle of arrival, etc. Moreover, locationmay be determined by A/V hubusing: wireless communication (such as communication with a wireless local area network or with a cellular-telephone network), acoustic measurements, a local positioning system, a global positioning system, etc.
112 112 118 112 1318 112 118 112 112 118 1320 118 118 1318 1320 While the acoustic characteristics may be determined by A/V hubbased on measurements performed by A/V hub, in some embodiments the acoustic characteristics are determined by or in conjunction with other electronic devices in the environment. In particular, one or more other electronic devices (such as one or more other speakers) may perform acoustic measurements, which are then wirelessly communicated to A/V hubin frames or packets. (Thus, acoustic transducers that perform the acoustic measurements may be included in A/V huband/or in the one or more other speakers.) Consequently, A/V hubmay compute the acoustic characteristics based, at least in part, on the acoustic measurements performed by A/V huband/or the one or more other speakers. Note that the computations may also be based on location(s)of the one or more other speakersin the environment. These locations may be: received from the one or more other speakersin frames or packets, calculated using one of the aforementioned techniques (such as using wireless ranging), and/or accessed in memory (i.e., locationsmay be predetermined).
112 110 Moreover, while the acoustic characterization may occur when the change condition is detected, alternatively or additionally A/V hubmay transition to the characterization mode based on a user input. For example, the user may activate a virtual command icon in a user interface on portable electronic device. Thus, the acoustic characterization may be automatically, manually initiated and/or semi-automatically initiated (in which a user interface is used to ask the user for approval before the transition to the characterization mode).
112 112 1322 1324 1326 118 1 1326 118 1 1324 1312 118 1 After determining the acoustic characteristics, A/V hubmay transition back to a normal operating mode. In this operating mode, A/V hubmay transmit one or more frames or packets (such as packet) that include additional audio content(such as music) and playback timing informationto speaker-, where the playback timing informationmay specify a playback time when speaker-is to playback the additional audio contentbased on the one or more acoustic characteristics. Thus, the acoustic characterization may be used to correct for or adapt to the changes (direct or indirect) in the one or more acoustic characteristics that are associated with a change in locationof speaker-, thereby improving the user experience.
14 FIG. 1 FIG. 1 FIG. 1400 1400 112 1410 110 Another approach for improving the acoustic experience is to adapt the coordination based on dynamically tracked locations of one or more listeners. This is shown in, which presents a flow diagram illustrating a methodfor calculating an estimated location. Note that methodmay be performed by an A/V hub, such as A/V hub(). During operation, the A/V hub (such as a control circuit or control logic, e.g., a processor executing a program module, in the A/V hub) may calculate an estimated location of a listener (operation) (or an electronic device associated with the listener, such as portable electronic devicein) relative to the electronic devices in an environment that includes the A/V hub and the electronic devices.
1412 Then, the A/V hub may transmit one or more frames (operation) or packets that include audio content and playback timing information to the electronic devices, where the playback timing information specifies playback times when the electronic devices are to playback the audio content based on the estimated location. Furthermore, the playback times of the electronic devices have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated. Note that the temporal relationship may have a non-zero value, so that at least some of the electronic devices are instructed to playback the audio content with a phase relative to each other by using different values of the playback times. For example, the different playback times may be based on predetermined or dynamically determined acoustic characteristics of the environment that includes the electronic devices and the A/V hub. Alternatively or additionally, the different playback times may be based on a desired acoustic characteristic in the environment. Additionally, the playback times may be based on current time offsets between clocks in the electronic devices and a clock in the A/V hub.
1414 In some embodiments, the A/V hub optionally performs one or more additional operations (operation). For example, the A/V hub may communicate with another electronic device, and the estimated location of the listener may be calculated based on the communication with the other electronic device.
Moreover, the A/V hub may include an acoustic transducer that performs sound measurements in the environment, and the estimated location of the listener may be calculated based on the sound measurements. Alternatively or additionally, the A/V hub may communicate with other electronic devices in the environment and may receive additional sound measurements of the environment from the other electronic devices, and the estimated location of the listener may be calculated based on the additional sound measurements.
In some embodiments, the A/V hub performs time-of-flight measurements, and the estimated location of the listener is calculated based on the time-of-flight measurements.
Furthermore, the A/V hub may calculate additional estimated locations of additional listeners relative to the electronic devices in the environment, and the playback times may be based on the estimated location and the additional estimated locations. For example, the playback times may be based on an average of the estimated location and the additional estimated locations. Alternatively, the playback times may be based on a weighted average of the estimated location and the additional estimated locations.
15 FIG. 110 112 118 118 1 1510 112 1512 1514 110 112 110 1512 1510 1516 112 1518 110 1510 1508 1512 1516 1518 is a drawing illustrating communication among portable electronic device, A/V hub, and speakers, such as speaker-. In particular, interface circuitin A/V hubmay receive one or more frames or packetsfrom interface circuitin portable electronic device. Note that the communication between A/V huband portable electronic devicemay be unidirectional or bidirectional. Then, based on the one or more frames or packets, interface circuitand/or processorin A/V hubmay estimate locationof a listener associated with portable electronic device. For example, interface circuitmay provide informationbased on packets, which is used by processorto estimate location.
1520 112 1506 118 1522 118 1522 2 1524 118 118 1 1526 1510 1528 1522 2 1530 1532 1514 1516 1518 1522 Alternatively or additionally, one or more acoustic transducersin A/V huband/or one or more acoustic transducersin speakersmay performs measuresof sound associated with listener. If speakersperform measurements-of the sound, interface circuitsin one or more of speakers(such as speaker-) may transmit one or more frames or packetsto interface circuitwith informationthat specifies measurements-of the sound based on instructionsfrom processor. Then, interface circuitand/or processormay estimate locationbased on the measured sound.
1516 1510 1536 118 1 1538 1540 1538 118 1 1540 1518 1538 1540 1516 1540 1534 Next, processormay instruct interface circuitto transmit one or more frames or packetsto speaker-with playback timing informationand audio content, where the playback timing informationspecifies a playback time when speaker-is to playback audio contentbased, at least in part, on location. (However, in some embodiments, playback timing informationand audio contentare transmitted using separate or different frames or packets.) Note that processormay access audio contentin memory.
1536 1524 1538 1540 1532 1532 1542 1532 1540 1542 1540 1506 1540 118 1 1538 After receiving the one or more frames or packets, interface circuitmay provide playback timing informationand audio contentto processor. Processormay execute software that performs a playback operation. For example, processormay store audio contentin a queue in memory. In these embodiments, playback operationincludes outputting audio contentfrom the queue, including driving one or more of acoustic transducersbased on audio contentso speaker-outputs sound at a time specified by the playback timing information.
16 FIG. 118 112 1610 1612 118 112 118 1610 In an exemplary embodiment, the communication technique is used to dynamically track the locations of one or more listeners in an environment.presents a drawing illustrating calculating an estimated location of one or more listeners relative to speakers. In particular, A/V hubmay calculate estimated location(s) of one or more listeners, such as locationof listenerrelative to such as speakersin an environment that includes A/V huband speakers. For example, locationmay be determined coarsely (e.g., to the nearest room, 3-10 m accuracy, etc.) or finely (e.g., 0.1-3 m accuracy), which are nonlimiting numerical examples.
1610 112 118 1610 112 In general, locationmay be determined by A/V huband/or in conjunction with other electronic devices (such as speakers) in the environment using techniques such as: triangulation, trilateration, time of flight, wireless ranging, the angle of arrival, etc. Moreover, locationmay be determined by A/V hubusing: wireless communication (such as communication with a wireless local area network or with a cellular-telephone network), acoustic measurements, a local positioning system, a global positioning system, etc.
1610 1612 112 1614 110 1612 110 1612 110 112 For example, locationof at least listenermay be estimated by A/V hubbased on wireless communication (such as using wireless ranging, time-of-flight measurements, the angle of arrival, RSSI, etc.) of one or more frames or packetswith another electronic device, such as portable electronic device, which may be proximate to listeneror on their person. In some embodiments, the wireless communication with the other electronic device (such as a MAC address in frames or packets received from portable electronic device) is used as a signature or an electronic thumbprint that identifies listener. Note that the communication between portable electronic deviceand A/V hubmay be unidirectional or bidirectional.
112 110 110 112 110 110 112 110 110 110 112 110 112 During wireless ranging, A/V hubmay transmit a frame or a packet that includes a transmission time to, e.g., portable electronic device. When this frame or packet is received by portable electronic device, the arrival time may be determined. Based on the product of the time of flight (the difference of the arrival time and the transmission time) and the speed of propagation, the distance between A/V huband portable electronic devicecan be calculated. Then, this distance may be communicated in a subsequent transmission of a frame or a packet from portable electronic deviceto A/V hubalong with an identifier of portable electronic device. Alternatively, portable electronic devicemay transmit a frame or a packet that includes a transmission time and an identifier of portable electronic device, and A/V hubmay determine the distance between portable electronic deviceand A/V hubbased on the product of the time of flight (the difference of a arrival time and the transmission time) and the speed of propagation.
112 1614 110 1614 110 112 In a variation on this approach, A/V hubmay transmit frames or packetsthat are reflected at portable electronic device, and the reflected frames or packetsmay be used to dynamically determine the distance between portable electronic deviceand A/V hub.
110 112 110 118 1616 1616 While the preceding example illustrated wireless ranging with coordinated clocks in portable electronic deviceand A/V hub, in other embodiments the clocks are not coordinated. For example, the position of portable electronic devicemay be estimated based on the speed of propagation and the time of arrival data of wireless signals at several receivers at different known locations in the environment (which is sometimes referred to as ‘differential time of arrival’) even when the transmission time is unknown or unavailable. For example, the receivers may be at least some of the other speakersat locations, which may be predefined or predetermined. More generally, a variety of radiolocation techniques may be used, such as: determining distance based on a difference in the power of the RSSI relative to the original transmitted signal strength (which may include corrections for absorption, refraction, shadowing and/or reflection); determining the angle of arrival at a receiver (including non-line-of-sight reception) using a directional antenna or based on the differential time of arrival at an array of antennas with known location(s) in the environment; determining the distance based on backscattered wireless signals; and/or determining the angle of arrival at two receivers having known location in the environment (i.e., trilateration or multilateration). Note that the wireless signals may include transmissions over GHz or multi-GHz bandwidths to create pulses of short duration (such as, e.g., approximately 1 ns), which may allow the distance to be determined within 0.305 m (e.g., 1 ft), and which are nonlimiting examples. In some embodiments, the wireless ranging is facilitated using location information, such as a location of one or more of electronic devices in the environment (such as locations) that are determined or specified by a local positioning system, a global positioning system and/or a wireless network.
1610 112 1612 1618 112 118 112 1618 1610 1612 Alternatively or additionally, locationmay be estimated by A/V hubbased on sound measurements in the environment, such as acoustic tracking of listener, e.g., based on soundsthey make as they move about, talk and/or breathe. The sound measurements may be performed by A/V hub(such as using two or more acoustic transducers, e.g., microphones, which may be arranged as a phased array). However, in some embodiments sound measurements may be performed separately or additionally by one or more electronic devices in the environment, such as speakers, and these sound measurements may be wireless communicated to A/V hubin frames or packets, which then uses the sound measurements to estimate location. In some embodiments, listeneris identified using a voice-recognition technique.
1610 112 1612 1610 In some embodiments, locationis estimated by A/V hubbased on sound measurements in the environment and a predetermined acoustic characteristic of the environment, such as a spectral response or an acoustic transfer function. For example, variation in the excitation of predetermined room modes as listenermoves in the environment may be used to estimate location.
1610 1612 1610 1612 1612 1610 1612 Moreover, one or more other techniques may be used to track or estimate locationof listener. For example, locationmay be estimated based on optical imaging of listenerin a band of wavelengths (such as visible light or infrared light), time-of-flight measurements (such as laser ranging), and/or a grid of optical beams (such as infrared beams) that localize listenerin a grid (and, thus, coarsely determine location) based on a pattern of beam-line crossings. In some embodiments, the identity of listeneris determined in optical images using a facial-recognition and/or a gate-recognition technique.
For example, in some embodiments the location of the listener in the environment is tracked based on wireless communication with a cellular telephone that is carried with the listener. Based on the pattern of the locations in the environment, the locations of furniture in the environment and/or a geometry of the environment (such as a size or dimensions of a room) may be determined. This information may be used to determine an acoustic characteristic of the environment. Moreover, the historical locations of the listener may be used to constrain an estimated location of the listener in the environment. In particular, historical information about the location of the listener in the environment at different times of day may be used to assist in estimating the current location of the listener at a particular time of day. Thus, in general, the location of the listener may be estimated using a combination of optical measurements, acoustic measurements, acoustic characteristics, wireless communication and/or machine learning.
1610 112 118 1622 1624 1 1620 1 118 1 1624 1 118 1 1622 1610 1610 After determining location, A/V hubmay transmit at least one or more frames or packets to speakersthat include additional audio content(such as music) and playback timing information (such as playback timing information-in packet-to speaker-), where the playback timing information-may specify a playback time when speaker-is to playback the additional audio contentbased on location. Thus, the communication technique may be used to correct for or adapt to the changes in location, thereby improving the user experience.
As noted previously, the different playback times may be based on a desired acoustic characteristic in the environment. For example, the desired acoustic characteristic may include a type of playback, such as: monophonic, stereophonic and/or multichannel sound. Monophonic sound may include one or more audio signals that contain no amplitude (or level) and arrival time/phase information that replicates or simulates directional cues.
Moreover, stereophonic sound may include two independent audio-signal channels, and the audio signals may have a specific amplitude and phase relationship with each other so that, during the playback operation, there is an apparent image of the original sound source. In general, the audio signals for both channels may provide coverage over most or all of the environment. By adjusting the relative amplitudes and/or phases of the audio channels, the sweet spot may be moved to follow the determined location of at least the listener. However, the amplitude differences and arrival time differences (the directional cues) may need to be small enough that the stereo image and localization are both maintained. Otherwise, the image may collapse and only one or the other audio channel is heard.
118 118 Note that the audio channels in stereophonic sound may need to have the correct absolute phase response. This means that an audio signal with a positive pressure waveform at the input to the system may need to have the same positive pressure waveform at the output from one of speakers. Therefore, a drum, which, when struck, produces a positive pressure waveform at a microphone may need to produce a positive pressure waveform in the environment. Alternatively, if the absolute polarity is flipped the wrong way, the audio image may not be stable. In particular, the listener may not find or perceive a stable audio image. Instead, the audio image may wander and may localize at speakers.
Furthermore, multichannel sound may include left, center and right audio channels. For example, these channels may allow monophonic speech reinforcement and music or sound effect cues to be localized or mixed with a particular perspective, with stereo or stereo-like imaging. Thus, the three audio channels may provide coverage over most or all of the entire environment while maintaining amplitude and directional cues, as was the case for monophonic or stereophonic sound.
Alternatively or additionally, the desired acoustic characteristic may include an acoustic radiation pattern. The desired acoustic radiation pattern may be a function of the reverberation time in the environment. For example, the reverberation time may change depending on the number of people in the environment, the type and amount of furniture in the environment, whether or not the curtains are open or closed, whether or not a window is open or closed, etc. When the reverberation time is longer or is increased, the desired acoustic radiation pattern may be more directed, so that the sound is steered or beamed to a listener (thereby reducing the reverberation). In some embodiments, the desired acoustic characteristic includes intelligibility of words.
1610 1612 110 118 1 While the preceding discussion illustrated techniques that can be used to dynamically track locationof listener(or portable electronic device), these techniques may be used to determine the location of an electronic device (such as a speaker-) in the environment.
17 FIG. 1 FIG. 1700 1700 112 1710 118 Another approach for improving the acoustic experience is to dynamically aggregate electronic devices into groups and/or to adapt the coordination based on the groups. This is shown in, which presents a flow diagram illustrating a methodfor aggregating electronic devices. Note that methodmay be performed by an A/V hub, such as A/V hub(). During operation, the A/V hub (such as a control circuit or control logic, e.g., a processor executing a program module, in the A/V hub) may measure sound (operation) output by electronic devices (such as speakers) in an environment using one or more acoustic transducers, where the sound corresponds to audio content. For example, the measured sound may include the sound pressure.
1712 Then, the A/V hub may aggregate the electronic devices (operation) into two or more subsets based on the measured sound. Note that the different subsets may be located in different rooms in the environment. Moreover, at least one of the subsets may playback different audio content than a remainder of the subsets. Furthermore, the aggregation of the electronic devices into the two or more subsets may be based on: the different audio content; an acoustic delay of the measured sound; and/or a desired acoustic characteristic in the environment. In some embodiments, electronic devices in the subsets and/or geographic locations or regions associated with the subsets are not predefined. Instead, the A/V hub may dynamically aggregate the subsets.
1714 Moreover, the A/V hub may determine playback timing information (operation) for the subsets, where the playback timing information specifies playback times when the electronic devices in a given subset are to playback the audio content.
1716 Next, the A/V hub may transmit, using wireless communication, one or more frames (operation) or packets that include the audio content and playback timing information to the electronic devices, where the playback times of the electronic devices in at least the given subset have a temporal relationship so that the playback of the audio content by the electronic devices in the given subset is coordinated.
1718 In some embodiments, the A/V hub optionally performs one or more additional operations (operation). For example, the A/V hub may calculate an estimated location of at least a listener relative to the electronic devices, and the aggregation of the electronic devices into the two or more subsets may be based on the estimated location of at least the listener. This may help ensure that the listener has an improved acoustic experience, with reduced acoustic cross-talk from the other subset(s).
Moreover, the A/V hub may modify the measured sound based on a predetermined (or dynamically determined) acoustic transfer function of the environment in at least a band of frequencies (such as 100-20,000 Hz, which is a nonlimiting example). This may allow the A/V hub to determine the original output sound without the spectral filtering or distortions associated with the environment, which may allow the A/V hub to make better decisions when aggregating the subsets.
Furthermore, the A/V hub may determine playback volumes for the subsets that are used when the subsets playback the audio content, and the one or more frames or packets may include information that specifies the playback volumes. For example, a playback volume for at least one of the subsets may be different than the playback volumes of a remainder of the subsets. Alternatively or additionally, the playback volumes may reduce acoustic cross-talk among the two or more subsets so that listeners are more likely to hear the sound output by the subset to which they are proximate or closest.
18 FIG. 110 112 118 1810 1812 1814 112 1816 118 1816 1810 118 1818 is a drawing illustrating communication among portable electronic device, A/V hub, and speakers. In particular, processormay instructone or more acoustic transducersin A/V hubto perform measurementsof sound associated with speakers. Then, based on measurements, processormay aggregate speakersinto two or more subsets.
1810 1820 1818 1820 118 1822 1810 1822 1824 Moreover, processormay determine playback timing informationfor subsets, wherein the playback timing informationspecifies playback times when speakersin a given subset are to playback audio content. Note that processormay access audio contentin memory.
1810 1826 1828 118 1820 1822 1820 1822 Next, processormay instruct interface circuitto transmit frames or packetsto speakerswith playback timing informationand audio content. (However, in some embodiments, playback timing informationand audio contentare transmitted using separate or different frames or packets.)
1826 118 3 1820 1822 1830 1822 1830 1822 1822 118 3 1820 118 1822 118 After receiving the one or more frames or packets, an interface circuit in speaker-may provide playback timing informationand audio contentto a processor. This processor may execute software that performs a playback operation. For example, the processor may store audio contentin a queue in memory. In these embodiments, playback operationincludes outputting audio contentfrom the queue, including driving one or more of acoustic transducers based on audio contentso speaker-outputs sound at a time specified by the playback timing information. Note that the playback times of speakersin at least the given subset have a temporal relationship so that the playback of audio contentby the speakersin the given subset is coordinated.
118 118 112 1910 118 112 118 1912 1912 118 112 118 112 1910 118 118 1914 118 1912 118 19 FIG. In an exemplary embodiment, the communication technique is used to aggregate speakersinto subsets.presents a drawing illustrating aggregating speakers, which may be in the same or different rooms in an environment. A/V hubmay measure soundoutput by speakers. Based on these measurements, A/V hubmay aggregate speakersinto subsets. For example, the subsetsmay be aggregated based on sound intensity and/or acoustic delay, so that proximate speakers are aggregated together. In particular, speakers that have the highest acoustic intensity or similar acoustic delay may be aggregated together. In order to facilitate the aggregation, speakersmay wirelessly transmit and/or acoustically output identification information or acoustic-characterization patterns outside of the range of human hearing. For example, the acoustic-characterization patterns may include pulses. However, a variety of temporal, frequency and/or modulation techniques may be used, including: amplitude modulation, frequency modulation, phase modulation, etc. Alternatively or additionally, A/V hubmay instruct each of speakersto, one at a time, dither the playback times or phase of their output sound, so that A/V hubcan associate the measured sound with particular speakers. Moreover, the measured soundmay be corrected using an acoustic transfer function of an environment, so that the impact of reflections and filtering (or distortion) is removed prior to aggregating speakers. In some embodiments, the speakersare aggregated based, at least in part, on locationsof speakers, which may be determined using one or more of the aforementioned techniques (such as using wireless ranging). In this way, subsetsmay be dynamically modified as one or more listeners repositions speakersin the environment.
112 1916 1918 1920 118 1912 1912 1 1920 118 1912 1 1918 1912 112 118 Then, A/V hubmay transmit one or more frames or packets (such as packet) that include additional audio content(such as music) and playback timing informationto speakersin at least one of subsets(such as subset-), where the playback timing informationmay specify playback times when speakersin subset-are to playback the additional audio content. Thus, the communication technique may be used to dynamically select subsets, e.g., based on a location of a listener and/or a desired acoustic characteristic in an environment that includes A/V huband speakers.
20 FIG. 1 FIG. 2000 112 2010 118 Another approach for improving the acoustic experience is to dynamically equalize audio based on acoustic monitoring in an environment.presents a flow diagram illustrating a methodfor determining equalized audio content, which may be performed by an A/V hub, such as A/V hub(). During operation, the A/V hub (such as a control circuit or control logic, e.g., a processor executing a program module, in the A/V hub) may measure sound (operation) output by electronic devices (such as speakers) in the environment using one or more acoustic transducers, where the sound corresponds to audio content. For example, the measured sound may include the sound pressure.
2012 118 Then, the A/V hub may compare the measured sound to a desired acoustic characteristic (operation) at a first location in the environment based on the first location, a second location of the A/V hub, and a predetermined or dynamically determined acoustic transfer function of the environment in at least a band of frequencies (such as 100-20,000 kHz, which is a nonlimiting example). Note that the comparison may be performed in the time domain and/or in the frequency domain. In order to perform the comparison, the A/V hub may calculate the acoustic characteristic (such as an acoustic transfer function or a modal response) at the first location and/or the second location, and may correct the measured sound for filtering or distortions in the environment using the calculated acoustic characteristic. Using the acoustic transfer function as an example, this calculation may involve the use of a Green's function technique to compute the acoustic response of the environment as a function of location with one or more point or distributed acoustic sources at predefined or known location(s) in the environment. Note that the acoustic transfer function at the first location and the correction may depend on the integrated acoustic behavior of the environment (and, thus, the second location and/or locations of acoustic sources, such as speakers, in the environment). Therefore, the acoustic transfer function may include information specifying the location(s) in the environment where the acoustic transfer function was determined (e.g., the second location) and/or the location(s) of an acoustic source in the environment (such as the location of at least one of the electronic devices).
2014 Moreover, the A/V hub may determine equalized audio content (operation) based on the comparison and the audio content. Note that the desired acoustic characteristic may be based on a type of audio playback, such as: monophonic, stereophonic and/or multichannel. Alternatively or additionally, the desired acoustic characteristic may include an acoustic radiation pattern. The desired acoustic radiation pattern may be a function of the reverberation time in the environment. For example, the reverberation time may change depending on the number of people in the environment, the type and amount of furniture in the environment, whether or not the curtains are open or closed, whether or not a window is open or closed, etc. When the reverberation time is longer or is increased, the desired acoustic radiation pattern may be more directed, so that the sound associated with the equalized audio content is steered or beamed to a listener (thereby reducing the reverberation). Consequently, in some embodiments the equalization is a complex function that modifies the amplitude and/or phase in the audio content. Moreover, the desired acoustic characteristic may include reducing room resonances or room modes by reducing the energy in the associated low frequencies in the acoustic content. Note that in some embodiments, the desired acoustic characteristic includes intelligibility of words. Thus, the target (the desired acoustic characteristic) may be used to adapt the equalization of the audio content.
2016 Next, the A/V hub may transmit, using wireless communication, one or more frames (operation) or packets that include the equalized audio content to the electronic devices to facilitate output by the electronic devices of additional sound, which corresponds to the equalized audio content.
2018 In some embodiments, the A/V hub optionally performs one or more additional operations (operation). For example, the first location may include an estimated location of a listener relative to the electronic devices, and the A/V hub may calculate the estimated location of the listener. In particular, the estimated location of the listener may use one or more of the aforementioned techniques for dynamically determining the location of the listener. Thus, the A/V hub may calculate the estimated location of the listener based on the sound measurements. Alternatively or additionally, the A/V hub may: communicate with another electronic device; and may calculate the estimated location of the listener based on the communication with the other electronic device. In some embodiments, the communication with the other electronic device includes wireless ranging, and the estimated location may be calculated based on the wireless ranging and an angle of arrival of wireless signals from the other electronic device. Furthermore, the A/V hub may perform time-of-flight measurements, and may calculate the estimated location of the listener based on the time-of-flight measurements. In some embodiments, the dynamic equalization allows the ‘sweet spot’ in the environment to be adapted based on the location of the listener. Note that the A/V hub may determine the number of listeners in the environment and/or the locations of the listeners, and the dynamic equalization may adapt the sound so that the listeners (or a majority of the listeners) have the desired acoustic characteristic when listening to the equalized audio content.
118 Moreover, the A/V hub may communicate with other electronic devices in the environment and may receive (separately from or in conjunction with the sound measurements) additional sound measurements of the environment from the other electronic devices. Then, the A/V hub may perform one or more additional comparisons of the additional sound measurements to the desired acoustic characteristic at the first location in the environment based on one or more third locations of the other electronic devices (such as the locations of speakers) and the predetermined or dynamically determined acoustic transfer function of the environment in at least the band of frequencies, and the equalized audio content is further determined based on the one or more additional comparisons. In some embodiments, the A/V hub determines the one or more third locations based on the communication with the other electronic devices. For example, the communication with the other electronic devices may include wireless ranging, and the one or more third locations may be calculated based on the wireless ranging and angles of arrival of wireless signals from the other electronic devices. Alternatively or additionally, the A/V hub may receive information specifying the third locations from the other electronic devices. Thus, the locations of the other electronic devices may be determined using one or more of the aforementioned techniques for determining the location of an electronic device in the environment.
Furthermore, the A/V hub may determine playback timing information that specifies playback times when the electronic devices playback the equalized audio content, and the one or more frames or packets may include the playback timing information. In these embodiments, the playback times of the electronic devices have a temporal relationship so that the playback of the audio content by the electronic devices is coordinated.
21 FIG. 110 112 118 2110 2112 2114 112 2116 118 2118 21110 2120 2116 2122 112 2124 2128 is a drawing illustrating communication among portable electronic device, A/V hub, and speakers. In particular, processormay instructone or more acoustic transducersin A/V hubto measure soundassociated with speakersand corresponding to audio content. Then, processormay comparethe measured soundto a desired acoustic characteristicat a first location in the environment based on the first location, a second location of A/V hub, and a predetermined or dynamically determined acoustic transferfunction of the environment in at least a band of frequencies (which may be accessed in memory).
2110 2126 2120 2118 2128 2110 2118 118 Moreover, processormay determine equalized audio contentbased on comparisonand audio content, which may be accessed in memory. Note that processormay know, in advance, audio contentbeing output by speakers.
2110 2130 2130 118 2126 Next, processormay determine playback timing information, wherein the playback timing informationspecifies playback times when speakersare to playback equalized audio content.
2110 2132 2134 118 2130 2126 2130 2126 Furthermore, processormay instruct interface circuitto transmit one or more frames or packetsto speakerswith playback timing informationand equalized audio content. (However, in some embodiments, playback timing informationand audio contentare transmitted using separate or different frames or packets.)
2134 118 118 1 2130 2126 2126 2126 2126 118 1 2130 118 2126 118 After receiving the one or more frames or packets, an interface circuit in one of speakers(such as speaker-) may provide playback timing informationand equalized audio contentto a processor. This processor may execute software that performs a playback operation. For example, the processor may store equalized audio contentin a queue in memory. In these embodiments, the playback operation includes outputting equalized audio contentfrom the queue, including driving one or more of acoustic transducers based on equalized audio contentso speaker-outputs sound at a time specified by the playback timing information. Note that the playback times of speakershave a temporal relationship so that the playback of equalized audio contentby the speakersis coordinated.
22 FIG. 118 112 2210 118 110 118 2210 112 2212 In an exemplary embodiment, the communication technique is used to dynamically equalize audio content.presents a drawing illustrating determining equalized audio content using speakers. In particular, A/V hubmay measure sound, corresponding to audio content, which is output by speakers. Alternatively or additionally, portable electronic deviceand/or at least some of speakersmay measure soundand may provide information specifying the measurements to A/V hubin frames or packets.
112 2210 2214 110 2214 2216 112 2218 118 112 2214 2216 2218 2214 2216 2218 2214 2216 2218 112 2210 Then, A/V hubmay compare the measured soundto a desired acoustic characteristic at a locationin the environment (such as a dynamic location of one or more listeners, which may also be the location of portable electronic device) based on location, locationof A/V hub, locationsof speakers, and/or a predetermined or dynamically determined acoustic transfer function (or, more generally, an acoustic characteristic) of the environment in at least a band of frequencies. For example, A/V hubmay calculate the acoustic transfer function at location,and/or. As noted previously, this calculation may involve the use of a Green's function technique to compute the acoustic response at locations,and/or. Alternatively or additionally, the calculation may involve interpolation (such as minimum bandwidth interpolation) of a predetermined acoustic transfer function at different locations in the environment that locations,and/or. Then, A/V hubmay correct the measured soundbased on the computed and/or interpolated acoustic transfer function (and, more generally, the acoustic characteristic).
In this way, the communication technique may be used to compensate for sparse sampling when the acoustic transfer function was originally determined.
112 112 Moreover, A/V hubmay determine equalized audio content based on the comparison and the audio content. For example, A/V hubmay modify the spectral content and/or phase of the audio content as a function of frequency in a range of frequencies (such as 100-10,000 or 20,000 Hz) to achieve the desired acoustic characteristic.
112 118 2220 2222 2224 118 Next, A/V hubmay transmit one or more frames or packets that include the equalized audio content (such as music) and playback timing information to speakers(such as packetwith equalized audio contentand playback timing information), where the playback timing information may specify playback times when speakersare to playback the equalized audio content.
118 2214 112 118 110 In this way, the communication technique may allow the sound output by speakersto adapt to changes in locationof one or more listeners (such as an average or mean location, a location corresponding to a majority of the listeners, an average location of a largest subset of the listeners for which the desired acoustic characteristic can be achieved given the audio content and the acoustic transfer function or the acoustic characteristics of the environment, etc.). This may allow the sweet spot in stereophonic sound to track motion of the one or more listeners and/or changes in the number of listeners in the environment (which may be determined by A/V hubusing one or more of the aforementioned techniques). Alternatively or additionally, the communication technique may allow the sound output by speakersto adapt to changes in the audio content and/or in the desired acoustic characteristic. For example, depending on the type of audio content (such as a type of music), the one or more listeners may want or desire a big or broad sound (with diverging sound waves corresponding to an apparently physically extended acoustic source) or an apparently narrow or point source. Thus, the communication technique may allow the audio content to be equalized according to a desired psychoacoustic experience of the one or more listeners. Note that the desired acoustic characteristic or the desired psychoacoustic experience may be explicitly specified by one or more of the listeners (such by using a user interface on portable electronic device) or may be determined or inferred indirectly without user action (such as based on the type of music or prior acoustic preferences of the one or more listeners that are stored in a listening history).
200 500 800 1100 1400 1700 2000 2 FIG. 5 FIG. 8 FIG. 11 FIG. 14 FIG. 17 FIG. 20 FIG. In some embodiments of methods(),(),(),(),(),() and/or() there are additional or fewer operations. Moreover, the order of the operations may be changed, and/or two or more operations may be combined into a single operation. Furthermore, one or more operations may be modified.
23 FIG. 1 FIG. 2300 110 112 114 116 118 2310 2312 2314 2334 2336 2310 2310 2310 We now describe embodiments of an electronic device.presents a block diagram illustrating an electronic device, such as portable electronic device, A/V hub, one of A/V display devices, receiver deviceor one of speakersin. This electronic device includes processing subsystem, memory subsystem, networking subsystem, optional feedback subsystem, and optional monitoring subsystem. Processing subsystemincludes one or more devices configured to perform computational operations. For example, processing subsystemcan include one or more microprocessors, application-specific integrated circuits (ASICs), microcontrollers, programmable-logic devices, and/or one or more digital signal processors (DSPs). One or more of these components in processing subsystem are sometimes referred to as a ‘control circuit.’ In some embodiments, processing subsystemincludes a ‘control mechanism’ or a ‘means for processing’ that perform at least some of the operations in the communication technique.
2312 2310 2314 2312 2310 2312 2322 2324 2310 2312 2310 Memory subsystemincludes one or more devices for storing data and/or instructions for processing subsystemand networking subsystem. For example, memory subsystemcan include dynamic random access memory (DRAM), static random access memory (SRAM), and/or other types of memory. In some embodiments, instructions for processing subsystemin memory subsysteminclude: one or more program modules or sets of instructions (such as program moduleor operating system), which may be executed by processing subsystem. Note that the one or more computer programs or program modules may constitute a computer-program mechanism. Moreover, instructions in the various modules in memory subsystemmay be implemented in: a high-level procedural language, an object-oriented programming language, and/or in an assembly or machine language. Furthermore, the programming language may be compiled or interpreted, e.g., configurable or configured (which may be used interchangeably in this discussion), to be executed by processing subsystem.
2312 2312 2300 2310 In addition, memory subsystemcan include mechanisms for controlling access to the memory. In some embodiments, memory subsystemincludes a memory hierarchy that comprises one or more caches coupled to a memory in electronic device. In some of these embodiments, one or more of the caches is located in processing subsystem.
2312 2312 2312 2300 In some embodiments, memory subsystemis coupled to one or more high-capacity mass-storage devices (not shown). For example, memory subsystemcan be coupled to a magnetic or optical drive, a solid-state drive, or another type of mass-storage device. In these embodiments, memory subsystemcan be used by electronic deviceas fast-access storage for often-used data, while the mass-storage device is used to store less frequently used data.
2314 2316 2318 2320 2320 2300 2308 2320 2300 2320 2314 2318 2320 2314 2330 23 FIG. Networking subsystemincludes one or more devices configured to couple to and communicate on a wired and/or wireless network (i.e., to perform network operations), including: control logic, interface circuitsand associated antennas. (Whileincludes antennas, in some embodiments electronic deviceincludes one or more nodes, such as nodes, e.g., pads, which can be coupled to antennas. Thus, electronic devicemay or may not include antennas.) For example, networking subsystemcan include a Bluetooth networking system, a cellular networking system (e.g., a 3G/4G network such as UMTS, LTE, etc.), a universal serial bus (USB) networking system, a networking system based on the standards described in IEEE 802.11 (e.g., a Wi-Fi networking system), an Ethernet networking system, and/or another networking system. Note that the combination of a given one of interface circuitsand at least one of antennasmay constitute a radio. In some embodiments, networking subsystemincludes a wired interface, such as HDMI interface.
2314 2300 2314 Networking subsystemincludes processors, controllers, radios/antennas, sockets/plugs, and/or other devices used for coupling to, communicating on, and handling data and events for each supported networking system. Note that mechanisms used for coupling to, communicating on, and handling data and events on the network for each network system are sometimes collectively referred to as a ‘network interface’ for the network system. Moreover, in some embodiments a ‘network’ between the electronic devices does not yet exist. Therefore, electronic devicemay use the mechanisms in networking subsystemfor performing simple wireless communication between the electronic devices, e.g., transmitting advertising or beacon frames or packets and/or scanning for advertising frames or packets transmitted by other electronic devices as described previously.
2300 2310 2312 2314 2334 2336 2328 2328 2328 Within electronic device, processing subsystem, memory subsystem, networking subsystem, optional feedback subsystemand optional monitoring subsystemare coupled together using bus. Busmay include an electrical, optical, and/or electro-optical connection that the subsystems can use to communicate commands and data among one another. Although only one busis shown for clarity, different embodiments can include a different number or configuration of electrical, optical, and/or electro-optical connections among the subsystems.
2300 2326 2326 In some embodiments, electronic deviceincludes a display subsystemfor displaying information on a display (such as a request to clarify an identified environment), which may include a display driver, an I/O controller and the display. Note that a wide variety of display types may be used in display subsystem, including: a two-dimensional display, a three-dimensional display (such as a holographic display or a volumetric display), a head-mounted display, a retinal-image projector, a heads-up display, a cathode ray tube, a liquid-crystal display, a projection display, an electroluminescent display, a display based on electronic paper, a thin-film transistor display, a high-performance addressing display, an organic light-emitting diode display, a surface-conduction electronic-emitter display, a laser display, a carbon-nanotube display, a quantum-dot display, an interferometric modulator display, a multi-touch touchscreen (which is sometimes referred to as a touch-sensitive display), and/or a display based on another type of display technology or physical phenomenon.
2334 2300 2334 Furthermore, optional feedback subsystemmay include one or more sensor-feedback mechanisms or devices, such as: a vibration mechanism or a vibration actuator (e.g., an eccentric-rotating-mass actuator or a linear-resonant actuator), a light, one or more speakers, etc., which can be used to provide feedback to a user of electronic device(such as sensory feedback). Alternatively or additionally, optional feedback subsystemmay be used to provide a sensory input to the user. For example, the one or more speakers may output sound, such as audio. Note that the one or more speakers may include an array of transducers that can be modified to adjust a characteristic of the sound output by the one or more speakers, such as a phased-array of acoustic transducers. This capability may allow the one or more speakers to modify the sound in an environment to achieve a desired acoustic experience for a user, such as by changing equalization or spectral content, phase and/or a direction of the propagating sound waves.
2336 2338 2300 2300 2336 2340 In some embodiments, optional monitoring subsystemincludes one or more acoustic transducers(such as one or more microphones, a phased-array, etc.) that monitor sound in the environment that includes electronic device. The acoustic monitoring may allow electronic deviceto acoustically characterize the environment, acoustically characterize sound output by speakers in the environment (such as sound corresponding to audio content), determine a location of a listener, determine a location of a speaker in the environment and/or measure sound from one or more speakers that correspond to one or more acoustic-characterization patterns (which may be used to coordinate playback of audio content). Additionally, optional monitoring subsystemmay include location transducersthat can be used to determine a location of a listener or an electronic device (such as a speaker) in the environment.
2300 2300 Electronic devicecan be (or can be included in) any electronic device with at least one network interface. For example, electronic devicecan be (or can be included in): a desktop computer, a laptop computer, a subnotebook/netbook, a server, a tablet computer, a smartphone, a cellular telephone, a smartwatch, a consumer-electronic device (such as a television, a set-top box, audio equipment, a speaker, video equipment, etc.), a remote control, a portable computing device, an access point, a router, a switch, communication equipment, test equipment, and/or another electronic device.
2300 2300 2300 2320 2318 2318 2300 2300 2300 2322 2324 23 FIG. 23 FIG. Although specific components are used to describe electronic device, in alternative embodiments, different components and/or subsystems may be present in electronic device. For example, electronic devicemay include one or more additional processing subsystems, memory subsystems, networking subsystems, and/or display subsystems. Moreover, while one of antennasis shown coupled to a given one of interface circuits, there may be multiple antennas coupled to the given one of interface circuits. For example, an instance of a 3×3 radio may include three antennas. Additionally, one or more of the subsystems may not be present in electronic device. Furthermore, in some embodiments, electronic devicemay include one or more additional subsystems that are not shown in. Also, although separate subsystems are shown in, in some embodiments, some or all of a given subsystem or component can be integrated into one or more of the other subsystems or component(s) in electronic device. For example, in some embodiments program moduleis included in operating system.
2300 Moreover, the circuits and components in electronic devicemay be implemented using any combination of analog and/or digital circuitry, including: bipolar, PMOS and/or NMOS gates or transistors. Furthermore, signals in these embodiments may include digital signals that have approximately discrete values and/or analog signals that have continuous values. Additionally, components and circuits may be single-ended or differential, and power supplies may be unipolar or bipolar.
2314 2300 2300 2314 An integrated circuit may implement some or all of the functionality of networking subsystem, such as one or more radios. Moreover, the integrated circuit may include hardware and/or software mechanisms that are used for transmitting wireless signals from electronic deviceand receiving signals at electronic devicefrom other electronic devices. Aside from the mechanisms herein described, radios are generally known in the art and hence are not described in detail. In general, networking subsystemand/or the integrated circuit can include any number of radios.
2314 2314 2332 114 118 120 1 FIG. 1 FIG. 1 FIG. In some embodiments, networking subsystemand/or the integrated circuit include a configuration mechanism (such as one or more hardware and/or software mechanisms) that configures the radios to transmit and/or receive on a given channel (e.g., a given carrier frequency). For example, in some embodiments, the configuration mechanism can be used to switch the radio from monitoring and/or transmitting on a given channel to monitoring and/or transmitting on a different channel. (Note that ‘monitoring’ as used herein comprises receiving signals from other electronic devices and possibly performing one or more processing operations on the received signals, e.g., determining if the received signal comprises an advertising frame or packet, calculating a performance metric, performing spectral analysis, etc.) Furthermore, networking subsystemmay include at least one port (such as an HDMI port) to receive and/or provide the information in the data stream to at least one of A/V display devices(), at least one of speakers() and/or at least one of content sources().
2322 2324 2318 2318 2318 While a communication protocol compatible with Wi-Fi was used as an illustrative example, the described embodiments may be used in a variety of network interfaces. Furthermore, while some of the operations in the preceding embodiments were implemented in hardware or software, in general the operations in the preceding embodiments can be implemented in a wide variety of configurations and architectures. Therefore, some or all of the operations in the preceding embodiments may be performed in hardware, in software or both. For example, at least some of the operations in the communication technique may be implemented using program module, operating system(such as drivers for interface circuits) and/or in firmware in interface circuits. Alternatively or additionally, at least some of the operations in the communication technique may be implemented in a physical layer, such as hardware in interface circuits.
100 110 114 1 FIG. 1 FIG. Moreover, while the preceding embodiments included a touch-sensitive display in the portable electronic device that the user touches (e.g., with a finger or digit, or a stylus), in other embodiments the user interface is display on a display in the portable electronic device and the user interacts with the user interface without making contact or touching the surface of the display. For example, the user's interact(s) with the user interface may be determined using time-of-flight measurements, motion sensing (such as a Doppler measurement) or another non-contact measurement that allows the position, direction of motion and/or speed of the user's finger or digit (or a stylus) relative to position(s) of one or more virtual command icons to be determined. In these embodiments, note that the user may activate a given virtual command icon by performing a gesture (such as ‘tapping’ their finger in the air without making contact with the surface of the display). In some embodiments, the user navigates through the user interface and/or activates/deactivates functions of one of the components in system() using spoken commands or instructions (i.e., via voice recognition) and/or based on where they are looking at one a display in portable electronic deviceor on one of A/V display devicesin(e.g., by tracking the user's gaze or where the user is looking).
112 114 1 FIG. 1 FIG. Furthermore, while A/V hub() were illustrated as separate components from A/V display devices(), in some embodiments an A/V hub and an A/V display device are combined into a single component or a single electronic device.
112 112 1 FIG. 1 FIG. While the preceding embodiments illustrated the communication technique with audio and/or video content (such as HDMI content), in other embodiments the communication technique is used in the context of an arbitrary type of data or information. For example, the communication technique may be used with home-automation data. In these embodiments, A/V hub() may facilitate communication among and control of a wide variety of electronic devices. Thus, A/V hub() and the communication technique may be used to facilitate or implement services in the so-called Internet of things.
In the preceding description, we refer to ‘some embodiments.’ Note that ‘some embodiments’ describes a subset of all of the possible embodiments, but does not always specify the same subset of embodiments.
The foregoing description is intended to enable any person skilled in the art to make and use the disclosure, and is provided in the context of a particular application and its requirements. Moreover, the foregoing descriptions of embodiments of the present disclosure have been presented for purposes of illustration and description only. They are not intended to be exhaustive or to limit the present disclosure to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present disclosure. Additionally, the discussion of the preceding embodiments is not intended to limit the present disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
December 6, 2023
July 7, 2026
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.