The present technology relates to consumer goods and, more particularly, to methods, systems, products, features, services, and other elements directed to voice-assisted media content selection or some aspect thereof.
Options for accessing and listening to digital audio in an out-loud setting were limited until in 2003, when SONOS, Inc. filed for one of its first patent applications, entitled “Method for Synchronizing Audio Playback between Multiple Networked Devices,” and began offering a media playback system for sale in 2005. The SONOS Wireless HiFi System enables people to experience music from many sources via one or more networked playback devices. Through a software control application installed on a smartphone, tablet, or computer, one can play what he or she wants in any room that has a networked playback device. Additionally, using the controller, for example, different songs can be streamed to each room with a playback device, rooms can be grouped together for synchronous playback, or the same song can be heard in all rooms synchronously.
Given the ever-growing interest in digital media, there continues to be a need to develop consumer-accessible technologies to further enhance the listening experience.
Features, aspects, and advantages of the presently disclosed technology may be better understood with regard to the following description, appended claims, and accompanying drawings where:
The drawings are for purposes of illustrating example embodiments, but it is understood that the inventions are not limited to the arrangements and instrumentality shown in the drawings. In the drawings, identical reference numbers identify at least generally similar elements. To facilitate the discussion of any particular element, the most significant digit or digits of any reference number refers to the Figure in which that element is first introduced. For example, element 103a is first introduced and discussed with reference to
Voice control can be beneficial for a “smart” home having smart appliances and related devices, such as wireless illumination devices, home-automation devices (e.g., thermostats, door locks, etc.), and audio playback devices. In some implementations, networked microphone devices may be used to control smart home devices. A network microphone device will typically include a microphone for receiving voice inputs. The network microphone device can forward voice inputs to a voice assistant service (VAS), such as AMAZON's ALEXA, APPLE's SIRI, MICROSOFT's CORTANA, GOOGLE ASSISTANT, etc. A traditional VAS may be a remote service implemented by cloud servers to process voice inputs. A VAS may process a voice input to determine an intent of the voice input. Based on the response, the network microphone device may cause one or more smart devices to perform an action. For example, the network microphone device may instruct an illumination device to turn on/off based on the response to the instruction from the VAS.
A voice input detected by a network microphone device will typically include a wake word followed by an utterance containing a user request. The wake word is typically a predetermined word or phrase used to “wake up” and invoke the VAS for interpreting the intent of the voice input. For instance, in querying the AMAZON VAS, a user might speak the wake word “Alexa.” Other examples include “Ok, Google” for invoking the GOOGLE VAS and “Hey, Siri” for invoking the APPLE VAS, or “Hey, Sonos” for a VAS offered by SONOS. In various embodiments, a wake word may also be referred to as, e.g., an activation-, trigger-, wakeup-word or phrase, and may take the form of any suitable word; combination of words, such as phrases; and/or audio cues indicating that the network microphone device and/or an associated VAS is to invoke an action.
A network microphone device listens for a user request or command accompanying a wake word in the voice input. In some instances, the user request may include a command to control a third-party device, such as a thermostat (e.g., NEST thermostat), an illumination device (e.g., a PHILIPS HUE lighting device), or a media playback device (e.g., a SONOS playback device). For example, a user might speak the wake word “Alexa” followed by the utterance “set the thermostat to 68 degrees” to set the temperature in a home using the Amazon VAS. A user might speak the same wake word followed by the utterance “turn on the living room” to turn on illumination devices in a living room area of the home. The user may similarly speak a wake word followed by a request to play a particular song, an album, or a playlist of music on a playback device in the home.
A VAS may employ natural language understanding (NLU) systems to process voice inputs. NLU systems typically require multiple remote servers that are programmed to detect the underlying intent of a given voice input. For example, the servers may maintain a lexicon of language; parsers; grammar and semantic rules; and associated processing algorithms to determine the user's intent.
As it relates to voice control of media playback systems, however, such as multi-zone playback systems, conventional VAS(es) may be particularly limited. For example, a traditional VAS may only support voice control for rudimentary device playback or require the user to use specific and stilted phraseology to interact with a device rather than natural dialogue. Further, a traditional VAS may not support multi-zone playback or other features that a user wishes to control, such as device grouping, multi-room volume, equalization parameters, and/or audio content for a given playback scenario. Controlling such functions may require significantly more resources beyond those needed for rudimentary playback.
In addition to the above-mentioned limitations, typical VAS(es) may integrate with relatively few, if any, media content services. Thus, users generally can only interact with less than a handful of media content services through typical VAS(es), and are usually restricted to only those providers associated with a particular VAS.
Restricting voice control-enabled media content searching and playing to a single media content service may greatly limit the media content available to a user on a voice-requested basis, as different media content services have different media content catalogs. For example, some artists/albums/songs are only available on select media content services, and certain types of media content, such as podcasts and audiobooks, are only available on select media content services. Moreover, different media content services employ different algorithms for suggesting new media content to users and, when taken together, these varying discovery tools expose users to a wider variety of media content than do the discovery tools of any individual media content service. This and other benefits to subscribing to multiple media content services are lost, however, on a user that is restricted to searching and playing back media from only one or two media content services.
For example, consider a user that pays a monthly subscription to a VAS provider for a first music service (such as a VAS-sponsored music service, e.g., AMAZON's AMAZON MUSIC UNLIMITED) and another monthly subscription for a second music service (e.g., SPOTIFY, I HEART RADIO, PANDORA, TUNEIN, etc.). If the user asks the VAS to play music by [Artist A], the VAS will not play back songs by [Artist A] for the user if neither of the first and second music services include songs by [Artist A] in their respective media libraries. Also, if a user has access to [Artist A]'s songs through a third music service that is not supported by the VAS, such as APPLE's iTUNES, the VAS will not provide access to this service, despite the user paying a monthly fee to have access to these songs. To access the media library of the third music service, the user will need to access the library through an alternate service, such as the iTUNES service). A related inconvenience is that the user will not be able to voice-request play back of any media content unique to iTUNES, such as user- and iTUNES-created playlists, iTUNES radio stations (such as Beats 1), etc.
In addition, it would be prohibitively difficult for those media content services not associated with any VAS (such as I HEART RADIO, PANDORA, TUNEIN, etc.) and those media playback systems not associated with a VAS to develop voice-processing technology that could be even moderately competitive with that of the already-existing VAS(es). This is because NLU processing is computationally intensive, and providers of VAS(es) must maintain and continually develop processing algorithms and deploy an increasing number of resources, such as additional cloud servers, to process and learn from the myriad voice inputs that are received from users all over the world. Specifically with respect to media playback systems, inclusion of a sophisticated VAS would add significant cost, and also cause the system to consume considerably more energy, which of course is undesirable.
The media playback systems detailed herein address the above-mentioned and other challenges associated with searching and accessing media content across multiple media content services by providing a cross-service content platform that functions as a gateway between the VAS (or multiple VAS(es)) and the media content services. For example, the media playback system may include a network microphone device that captures a voice input including a request to play particular media content. To identify or “find” the requested media content based on the voice input, the media playback system may send a message including the voice input and other information (if necessary) to a VAS to derive information related to the requested media content from the voice input. In some embodiments, the media playback system may send a VAS only certain information (e.g., only certain metadata) that is needed by the VAS to interpret the voice input and provide an interpretation sufficient for the VAS to conduct a search to resolve one or more aspects of the request (if necessary). For example, a knowledge base of user intent data handled by the media playback system and/or the VAS may learn a household's preferences for certain types of content (e.g., preferred albums, live versions of songs over radio recordings, etc.) independent of and even unaware of the media content service that ultimately provides the desired content. In one aspect, this enables media content to be selected for play back by the media playback system in a way that does not discriminate one media content service over the other. In another aspect, certain metadata may be excluded in the exchanges between the media playback system and the VAS, such as information that would expressly identify a media content service. Thus, although the VAS performs the initial search of the media content request, the media playback system maintains control of the parameters of the search, as the VAS's search is based only on information provided to the VAS by the media playback system. In some embodiments described below, the VAS may be instructed by the media playback system to provide a voice output to the user that indicates which media content service is selected or available to play the desired media content without biasing the initial search toward a particular media content service.
The media playback systems of the present technology may also dictate that the VAS identify certain attributes, such as possible songs, artists, album titles that are suitable and/or intended by the user, such as within a specific data structure generated by the VAS (for example, as a result of the determination of intent by the VAS), as well as the types of information contained within the predefined structure. Once the media playback system receives a message with attributes (e.g., one more packets with requested payload from the VAS), the media playback system then sends a request to one or more media content services to find (e.g., search) for media content corresponding to the information of the messages received from the VAS. A predefined data structure and payload requested from the VAS by the media playback system may, for example, be driven by the data structure and payload required by one or more of the media content services in order to search for a particular media content.
Unlike typical VAS(es) that may only communicate or exchange data with a limited number of media content services (as described above), the media playback systems detailed herein are configured to send data to and receive data from a VAS (and in some embodiments multiple VAS(es)) and multiple media content services. As such, when conducting a voice-assisted media content search, the user is not limited to media content from the limited number of media content services associated with (e.g., sponsored by) a particular VAS. Rather, the user may search for media content on a first media content service and a second media content service, even though the VAS may sponsor or directly support searching the first media content service and/or the second media content service. Thus, a user is provided access to a greater and more diverse array of media content via voice control.
In response to a request from a media playback system for the same media content, different media content services respond with different latencies, and often times with different results. Many systems wait for all media content services to respond before presenting the most relevant result to the user for playback, which may result in an unnecessary delay for the user. For example, a response received shortly after sending the request may be sufficiently relevant for playback, but the user may have to wait five seconds for all results to be returned, only for the later received results to be less relevant than the earlier result, or only marginally more relevant. Thus, the To address this concern, the media playback systems of the present technology evaluate the quality and relevance of each response in isolation, as it comes in, and select media content for playback as soon as a result is received that meets or exceeds a predetermined relevancy threshold. The media playback systems may further adjust the relevancy threshold over time to allow less desirable but adequate results to be considered the most relevant.
While some embodiments described herein may refer to functions performed by given actors such as “users” and/or other entities, it should be understood that this description is for purposes of explanation only. The claims should not be interpreted to require action by any such example actor unless explicitly required by the language of the claims themselves.
Within these rooms and spaces, the MPS 100 includes one or more computing devices. Referring to
Referring to
As further shown in
In some embodiments, one or more of the playback devices 102 may include an on-board (e.g., integrated) network microphone device. For example, the playback devices 102a-e include corresponding NMDs 103a-e, respectively. Playback devices that include network microphone devices may be referred to herein interchangeably as a playback device or a network microphone device unless indicated otherwise in the description.
In some embodiments, one or more of the NMDs 103 may be a stand-alone device. For example, the NMDs 103f and 103g may be stand-alone network microphone devices. A stand-alone network microphone device may omit components typically included in a playback device, such as a speaker or related electronics. In such cases, a stand-alone network microphone device may not produce audio output or may produce limited audio output (e.g., relatively low-quality audio output).
In use, a network microphone device may receive and process voice inputs from a user in its vicinity. For example, a network microphone device may capture a voice input upon detection of the user speaking the input. In the illustrated example, the NMD 103d of the playback device 102d in the Living Room may capture the voice input of a user in its vicinity. In some instances, other network microphone devices (e.g., the NMDs 103f and 103i) in the vicinity of the voice input source (e.g., the user) may also detect the voice input. In such instances, network microphone devices may arbitrate between one another to determine which device(s) should capture and/or process the detected voice input. Examples for selecting and arbitrating between network microphone devices may be found, for example, in U.S. application Ser. No. 15/438,749 filed Feb. 21, 2017, and titled “Voice Control of a Media Playback System,” which is incorporated herein by reference in its entirety.
In certain embodiments, a network microphone device may be assigned to a playback device that may not include a network microphone device. For example, the NMD 103f may be assigned to the playback devices 102i and/or 1021 in its vicinity. In a related example, a network microphone device may output audio through a playback device to which it is assigned. Additional details regarding associating network microphone devices and playback devices as designated or default devices may be found, for example, in previously referenced U.S. patent application Ser. No. 15/438,749.
In use, the network microphone devices 103 are configured to interact with a voice assistant service VAS, such as a first VAS 160 hosted by one or more of the remote computing devices 106a. For example, as shown in
The remote computing devices 106a can receive the voice input data from the NMD 103f, for example, via the LAN 111 and the router 109. In response to receiving the voice input data, the remote computing devices 106a process the voice input data (i.e., “Play Hey Jude by The Beatles”), and may determine that the processed voice input includes a command to play a song (e.g., “Hey Jude”). In response, one of the computing devices 106a of the VAS 160 transmits a command to one or more remote computing devices (e.g., remote computing devices 106d) associated with the MPS 100. In this example, the VAS 160 may transmit a command to the MPS 100 to play back “Hey Jude” by the Beatles. As described below, the MPS 100, in turn, can query a plurality of suitable media content services (“MCS(es)”) 167 for media content, such as by sending a request to a first MCS hosted by first one or more remote computing devices 106b and a second MCS hosted by second one or more remote computing devices 106c. In some aspects, for example, the remote computing devices 106b and 106c comprise one or more modules and/or servers of a corresponding MCS (e.g., an MCS operated by one or more of SPOTIFY, PANDORA, AMAZON MUSIC, etc.).
Further aspects relating to the different components of the example MPS 100 and how the different components may interact to provide a user with a media experience may be found in the following sections. While discussions herein may generally refer to the example MPS 100, technologies described herein are not limited to applications within, among other things, the home environment as shown in
a. Example Playback and Network Microphone Devices
A playback device may further include a user interface 236. The user interface 236 may facilitate user interactions independent of or in conjunction with one or more of the controller devices 104. In various embodiments, the user interface 236 includes one or more of physical buttons and/or graphical interfaces provided on touch sensitive screen(s) and/or surface(s), among other possibilities, for a user to directly provide input. The user interface 236 may further include one or more of lights and the speaker(s) to provide visual and/or audio feedback to a user.
In some embodiments, the processor 212 may be a clock-driven computing component configured to process input data according to instructions stored in the memory 216. The memory 216 may be a tangible computer-readable medium configured to store instructions executable by the processor 212. For example, the memory 216 may be data storage that can be loaded with one or more of the software components 214 executable by the processor 212 to achieve certain functions. In one example, the functions may involve a playback device retrieving audio data from an audio source or another playback device. In another example, the functions may involve a playback device sending audio data to another device on a network. In yet another example, the functions may involve pairing of a playback device with one or more other playback devices to create a multi-channel audio environment.
Certain functions may involve a playback device synchronizing playback of audio content with one or more other playback devices. During synchronous playback, a listener may not perceive time-delay differences between playback of the audio content by the synchronized playback devices. U.S. Pat. No. 8,234,395 filed Apr. 4, 2004, and titled “System and method for synchronizing operations among a plurality of independently clocked digital data processing devices,” which is hereby incorporated by reference in its entirety, provides in more detail some examples for audio playback synchronization among playback devices.
The audio processing components 218 may include one or more digital-to-analog converters (DAC), an audio preprocessing component, an audio enhancement component or a digital signal processor (DSP), and so on. In some embodiments, one or more of the audio processing components 218 may be a subcomponent of the processor 212. In one example, audio content may be processed and/or intentionally altered by the audio processing components 218 to produce audio signals. The produced audio signals may then be provided to the audio amplifier(s) 210 for amplification and playback through speaker(s) 212. Particularly, the audio amplifier(s) 210 may include devices configured to amplify audio signals to a level for driving one or more of the speakers 212. The speaker(s) 212 may include an individual transducer (e.g., a “driver”) or a complete speaker system involving an enclosure with one or more drivers. A particular driver of the speaker(s) 212 may include, for example, a subwoofer (e.g., for low frequencies), a mid-range driver (e.g., for middle frequencies), and/or a tweeter (e.g., for high frequencies). In some cases, each transducer in the one or more speakers 212 may be driven by an individual corresponding audio amplifier of the audio amplifier(s) 210. In addition to producing analog signals for playback, the audio processing components 208 may be configured to process audio content to be sent to one or more other playback devices for playback.
Audio content to be processed and/or played back by a playback device may be received from an external source, such as via an audio line-in input connection (e.g., an auto-detecting 3.5 mm audio line-in connection) or the network interface 230.
The network interface 230 may be configured to facilitate a data flow between a playback device and one or more other devices on a data network. As such, a playback device may be configured to receive audio content over the data network from one or more other playback devices in communication with a playback device, network devices within a local area network, or audio content sources over a wide area network such as the Internet. In one example, the audio content and other signals transmitted and received by a playback device may be transmitted in the form of digital packet data containing an Internet Protocol (IP)-based source address and IP-based destination addresses. In such a case, the network interface 230 may be configured to parse the digital packet data such that the data destined for a playback device is properly received and processed by the playback device.
As shown, the network interface 230 may include wireless interface(s) 232 and wired interface(s) 234. The wireless interface(s) 232 may provide network interface functions for a playback device to wirelessly communicate with other devices (e.g., other playback device(s), speaker(s), receiver(s), network device(s), control device(s) within a data network the playback device is associated with) in accordance with a communication protocol (e.g., any wireless standard including IEEE 802.11a, 802.11b, 802.11g, 802.11n, 802.11ac, 802.15, 4G mobile communication standard, and so on). The wired interface(s) 234 may provide network interface functions for a playback device to communicate over a wired connection with other devices in accordance with a communication protocol (e.g., IEEE 802.3). While the network interface 230 shown in
As discussed above, a playback device may include a network microphone device, such as one of the NMDs 103 shown in
By way of illustration, SONOS, Inc. presently offers (or has offered) for sale certain playback devices including a “PLAY:1,” “PLAY:3,” “PLAY:5,” “PLAYBAR,” “PLAYBASE,” “BEAM,” “CONNECT:AMP,” “CONNECT,” and “SUB.” Any other past, present, and/or future playback devices may additionally or alternatively be used to implement the playback devices of example embodiments disclosed herein. Additionally, it is understood that a playback device is not limited to the example illustrated in
b. Example Playback Device Configurations
Each zone in the MPS 100 may be provided for control as a single user interface (UI) entity. For example, Zone A may be provided as a single entity named Patio. Zone C may be provided as a single entity named Living Room. Zone B may be provided as a single entity named Stereo.
In various embodiments, a zone may take on the name of one of the playback device(s) belonging to the zone. For example, Zone C may take on the name of the Living Room device 102m (as shown). In another example, Zone C may take on the name of the Bookcase device 102d. In a further example, Zone C may take on a name that is some combination of the Bookcase device 102d and Living Room device 102m. The name that is chosen may be selected by user. In some embodiments, a zone may be given a name that is different than the device(s) belonging to the zone. For example, Zone B is named Stereo but none of the devices in Zone B have this name.
Playback devices that are bonded may have different playback responsibilities, such as responsibilities for certain audio channels. For example, as shown in
Additionally, bonded playback devices may have additional and/or different respective speaker drivers. As shown in
Playback devices that are merged may not have assigned playback responsibilities, and may each render the full range of audio content the respective playback device is capable of. Nevertheless, merged devices may be represented as a single UI entity (i.e., a zone, as discussed above). For instance, the playback device 102d and 102m in the Living Room have the single UI entity of Zone C. In one embodiment, the playback devices 102d and 102m may each output the full range of audio content each respective playback device 102d and 102m are capable of, in synchrony.
In some embodiments, a stand-alone network microphone device may be in a zone by itself. For example, the NMD 103h in
Zones of individual, bonded, and/or merged devices may be grouped to form a zone group. For example, referring to
In various implementations, the zones in an environment may be the default name of a zone within the group or a combination of the names of the zones within a zone group, such as Dining Room+Kitchen, as shown in
Referring again to
In some embodiments, the memory may store instances of various variable types associated with the states. Variables instances may be stored with identifiers (e.g., tags) corresponding to type. For example, certain identifiers may be a first type “a1” to identify playback device(s) of a zone, a second type “b1” to identify playback device(s) that may be bonded in the zone, and a third type “c1” to identify a zone group to which the zone may belong. As a related example, in
In yet another example, the MPS 100 may include variables or identifiers representing other associations of zones and zone groups, such as identifiers associated with Areas, as shown in
The memory 216 may be further configured to store other data. Such data may pertain to audio sources accessible by a playback device or a playback queue that the playback device (or some other playback device(s)) may be associated with. In embodiments described below, the memory 216 is configured to store a set of command data for selecting a particular VAS when processing voice inputs.
During operation, one or more playback zones in the environment of
As suggested above, the zone configurations of the MPS 100 may be dynamically modified. As such, the MPS 100 may support numerous configurations. For example, if a user physically moves one or more playback devices to or from a zone, the MPS 100 may be reconfigured to accommodate the change(s). For instance, if the user physically moves the playback device 102c from the Patio zone to the Office zone, the Office zone may now include both the playback devices 102c and 102n. In some cases, the use may pair or group the moved playback device 102c with the Office zone and/or rename the players in the Office zone using, e.g., one of the controller devices 104 and/or voice input. As another example, if one or more playback devices 102 are moved to a particular area in the home environment that is not already a playback zone, the moved playback device(s) may be renamed or associated with a playback zone for the particular area.
Further, different playback zones of the MPS 100 may be dynamically combined into zone groups or split up into individual playback zones. For example, the Dining Room zone and the Kitchen zone may be combined into a zone group for a dinner party such that playback devices 102i and 102l may render audio content in synchrony. As another example, bonded playback devices 102 in the Den zone may be split into (i) a television zone and (ii) a separate listening zone. The television zone may include the Front playback device 102b. The listening zone may include the Right, Left, and SUB playback devices 102a, 102j, and 102k, which may be grouped, paired, or merged, as described above. Splitting the Den zone in such a manner may allow one user to listen to music in the listening zone in one area of the living room space, and another user to watch the television in another area of the living room space. In a related example, a user may implement either of the NMD 103a or 103b (
c. Example Controller Devices
The memory 416 of a controller device may be configured to store controller application software and other data associated with the MPS 100 and a user of the system 100. The memory 416 may be loaded with one or more software components 414 executable by the processor 412 to achieve certain functions, such as facilitating user access, control, and configuration of the MPS 100. A controller device communicates with other network devices over the network interface 430, such as a wireless interface, as described above.
In one example, data and information (e.g., such as a state variable) may be communicated between a controller device and other devices via the network interface 430. For instance, playback zone and zone group configurations in the MPS 100 may be received by a controller device from a playback device, a network microphone device, or another network device, or transmitted by the controller device to another playback device or network device via the network interface 406. In some cases, the other network device may be another controller device.
Playback device control commands such as volume control and audio playback control may also be communicated from a controller device to a playback device via the network interface 430. As suggested above, changes to configurations of the MPS 100 may also be performed by a user using the controller device. The configuration changes may include adding/removing one or more playback devices to/from a zone, adding/removing one or more zones to/from a zone group, forming a bonded or merged player, separating one or more playback devices from a bonded or merged player, among others.
The user interface(s) 440 of a controller device may be configured to facilitate user access and control of the MPS 100, by providing controller interface(s) such as the controller interfaces 440a and 440b shown in
The playback control region 442 (
The playback zone region 443 (
For example, as shown, a “group” icon may be provided within each of the graphical representations of playback zones. The “group” icon provided within a graphical representation of a particular zone may be selectable to bring up options to select one or more other zones in the media playback system to be grouped with the particular zone. Once grouped, playback devices in the zones that have been grouped with the particular zone will be configured to play audio content in synchrony with the playback device(s) in the particular zone. Analogously, a “group” icon may be provided within a graphical representation of a zone group. In this case, the “group” icon may be selectable to bring up options to deselect one or more zones in the zone group to be removed from the zone group. Other interactions and implementations for grouping and ungrouping zones via a user interface such as the user interface 400 are also possible. The representations of playback zones in the playback zone region 443 (
The playback status region 444 (
The playback queue region 446 may include graphical representations of audio content in a playback queue associated with the selected playback zone or zone group. In some embodiments, each playback zone or zone group may be associated with a playback queue containing information corresponding to zero or more audio items for playback by the playback zone or zone group. For instance, each audio item in the playback queue may comprise a uniform resource identifier (URI), a uniform resource locator (URL) or some other identifier that may be used by a playback device in the playback zone or zone group to find and/or retrieve the audio item from a local audio content source or a networked audio content source, possibly for playback by the playback device.
In one example, a playlist may be added to a playback queue, in which case information corresponding to each audio item in the playlist may be added to the playback queue. In another example, audio items in a playback queue may be saved as a playlist. In a further example, a playback queue may be empty, or populated but “not in use” when the playback zone or zone group is playing continuously streaming audio content, such as Internet radio that may continue to play until otherwise stopped, rather than discrete audio items that have playback durations. In an alternative embodiment, a playback queue can include Internet radio and/or other streaming audio content items and be “in use” when the playback zone or zone group is playing those items. Other examples are also possible.
When playback zones or zone groups are “grouped” or “ungrouped,” playback queues associated with the affected playback zones or zone groups may be cleared or re-associated. For example, if a first playback zone including a first playback queue is grouped with a second playback zone including a second playback queue, the established zone group may have an associated playback queue that is initially empty, that contains audio items from the first playback queue (such as if the second playback zone was added to the first playback zone), that contains audio items from the second playback queue (such as if the first playback zone was added to the second playback zone), or a combination of audio items from both the first and second playback queues. Subsequently, if the established zone group is ungrouped, the resulting first playback zone may be re-associated with the previous first playback queue, or be associated with a new playback queue that is empty or contains audio items from the playback queue associated with the established zone group before the established zone group was ungrouped. Similarly, the resulting second playback zone may be re-associated with the previous second playback queue, or be associated with a new playback queue that is empty, or contains audio items from the playback queue associated with the established zone group before the established zone group was ungrouped. Other examples are also possible.
With reference still to
The sources region 448 may include graphical representations of selectable audio content sources and selectable voice assistants associated with a corresponding VAS. The VAS(es) may be selectively assigned. In some examples, multiple VAS(es), such as AMAZON's ALEXA, MICROSOFT's CORTANA, etc., may be invokable by the same network microphone device. In some embodiments, a user may assign a VAS exclusively to one or more network microphone devices. For example, a user may assign a first VAS to one or both of the NMDs 102a and 102b in the Living Room shown in
d. Example Audio Content Sources
The audio sources in the sources region 448 may be audio content sources from which audio content may be retrieved and played by the selected playback zone or zone group. One or more playback devices in a zone or zone group may be configured to retrieve for playback audio content (e.g., according to a corresponding URI or URL for the audio content) from a variety of available audio content sources. In one example, audio content may be retrieved by a playback device directly from a corresponding audio content source (e.g., a line-in connection). In another example, audio content may be provided to a playback device over a network via one or more other playback devices or network devices. As described in greater detail below, in some embodiments audio content may be provided by one or more media content services.
Example audio content sources may include a memory of one or more playback devices in a media playback system such as the MPS 100 of
In some embodiments, audio content sources may be regularly added or removed from a media playback system such as the MPS 100 of
e. Example Network Microphone Devices
The microphone(s) 224 may be a plurality of microphones arranged to detect sound in the environment of the network microphone device. In one example, the microphone(s) 224 may be arranged to detect audio from one or more directions relative to the network microphone device. The microphone(s) 224 may be sensitive to a portion of a frequency range. In one example, a first subset of the microphone(s) 224 may be sensitive to a first frequency range, while a second subset of the microphone(s) 224 may be sensitive to a second frequency range. The microphone(s) 224 may further be arranged to capture location information of an audio source (e.g., voice, audible sound) and/or to assist in filtering background noise. In some embodiments the microphone(s) 224 may have a single microphone rather than a plurality of microphones.
A network microphone device further includes components for detecting and facilitating capture of voice input. For example, the network microphone device 503 shown in
The voice activity detector activity components 553 are configured to work closely with the beamforming and AEC components 551 and 552 to capture sound from directions where voice activity is detected. Potential speech directions can be identified by monitoring metrics which distinguish speech from other sounds. Such metrics can include, for example, energy within the speech band relative to background noise and entropy within the speech band, which is measure of spectral structure. Speech typically has a lower entropy than most common background noise.
The wake-word detector components 554 are configured to monitor and analyze received audio to determine if any wake words are present in the audio. The wake-word detector components 554 may analyze the received audio using a wake word detection algorithm. If the wake-word detector 554 detects a wake word, a network microphone device may process voice input contained in the received audio. Example wake word detection algorithms accept audio as input and provide an indication of whether a wake word is present in the audio. Many first- and third-party wake word detection algorithms are known and commercially available. For instance, operators of a voice service may make their algorithm available for use in third-party devices. An algorithm may be trained to detect certain wake words.
In some embodiments, a network microphone device may include additional and/or alternate components for detecting and facilitating capture of voice input. For example, a network microphone device may incorporate linear filtering components (e.g., in lieu of beam former components), such as components described in U.S. patent application Ser. No. 15/984,073, filed May 18, 2018, titled “Linear Filtering for Noise-Suppressed Speech Detection,” which is incorporated by reference herein in its entirety.
In some embodiments, the wake word detector 554 includes multiple detectors configured to run multiple wake word detection algorithms on the received audio simultaneously (or substantially simultaneously). As noted above, different voice services (e.g. AMAZON's ALEXA, APPLE's SIRI, MICROSOFT's CORTANA, GOOGLE'S Assistant, etc.) each use a different wake word for invoking their respective voice service. To support multiple services, the wake word detector 554 may run the received audio through the wake word detection algorithm for each supported voice service in parallel. In such embodiments, the network microphone device 103 may include VAS selector components 556 configured to pass voice input to the appropriate voice assistant service. In other embodiments, the VAS selector components 556 may be omitted.
In some embodiments, a network microphone device may include speech processing components 555 configured to further facilitate voice processing, such as by performing voice recognition that is trained to recognize a particular user or a particular set of users associated with a household. Voice recognition software may implement voice-processing algorithms that are tuned to specific voice profile(s).
In some embodiments, one or more of the components described above, such as one or more of the components 551-556, can operate in conjunction with the microphone(s) 224 to detect and store a user's voice profile, which may be associated with a user account of the MPS 100. In some embodiments, voice profiles may be stored as and/or compared to variables stored in the set of command information, or data table 590, as shown in
In some embodiments, one or more of the components described above, such as one or more of the components 551-556, can operate in conjunction with the microphone array 524 to determine the location of a user in the home environment and/or relative to a location of one or more of the NMDs 103. Techniques for determining the location or proximity of a user may include or more techniques disclosed in previously referenced U.S. patent application Ser. No. 15/438,749, U.S. Pat. No. 9,084,058 filed Dec. 29, 2011, and titled “Sound Field Calibration Using Listener Localization,” and U.S. Pat. No. 8,965,033 filed Aug. 31, 2012, and titled “Acoustic Optimization.” Each of these applications is incorporated herein by reference in its entirety.
The voice input may include a wake word portion 557a and a voice utterance portion 557b (collectively “voice input 557”). In some embodiments, the wake word 557a can be a known wake word, such as “Alexa,” which is associated with AMAZON's ALEXA. In other embodiments, the voice input 557 may not include a wake word.
In some embodiments, a network microphone device may output an audible and/or visible response upon detection of the wake word portion 557a. In addition or alternately, a network microphone device may output an audible and/or visible response after processing a voice input and/or a series of voice inputs (e.g., in the case of a multi-turn request).
The voice utterance portion 557b of the voice input 557 may include, for example, one or more spoken commands 558 (identified individually as a first command 558a and a second command 558b) and one or more spoken keywords 559 (identified individually as a first keyword 559a and a second keyword 559b). A keyword may be, for example, a word in the voice input identifying a particular device or group in the MPS 100. As used herein, the term “keyword” may refer to a single word (e.g., “Bedroom”) or a group of words (e.g., “the Living Room”). In one example, the first command 557a can be a command to play music, such as a specific song, album, playlist, etc. In this example, the keywords 559 may be one or more words identifying one or more zones in which the music is to be played, such as the Living Room and the Dining Room (
In some embodiments, the MPS 100 is configured to temporarily reduce the volume of audio content that it is playing while detecting the wake word portion 557a. The MPS 100 may restore the volume after processing the voice input 557, as shown in
f. Example Network and Remote Computing Systems
As discussed above, the MPS 100 may be configured to communicate with one or more remote computing devices (e.g., cloud servers) associated with one or more VAS(es).
As shown in
The intent engine 662 may receive a voice input from the MPS 100 after it has been converted to text by a speech-to-text engine (not shown). A speech-to-text engine may be located at or distributed across one or more other computing devices, such as the one or more remote computing devices 106d (
Upon receiving the voice input 557 from the MPS 100, the intent engine 662 processes the voice input 557 and determines an intent of the voice input 557. While processing the voice input 557, the intent engine 662 may determine if certain command criteria are met for particular command(s) detected in the voice input 557. Command criteria for a given command in a voice input may be based, for example, on the inclusion of certain keywords within the voice input. In addition or alternately, command criteria for given command(s) may involve detection of one or more control state and/or zone state variables in conjunction with detecting the given command(s). Control state variables may include, for example, indicators identifying a level of volume, a queue associated with one or more device(s), and playback state, such as whether devices are playing a queue, paused, etc. Zone state variables may include, for example, indicators identifying which, if any, zone players are grouped. The command information may be stored in memory of e.g., the databases 664 and/or the memory 216 of the one or more network microphone devices.
In some embodiments, the intent engine 662 is in communication with one or more database(s) 664 associated with the selected VAS and/or one or more database(s) of the MPS 100. The VAS database(s) 664 and/or database(s) of the MPS 100 may store various user data, analytics, catalogs, and other information for NLU-related and/or other processing. The VAS database(s) 664 may reside in the memory 616 of the remote computing device(s) associated with the VAS or elsewhere, such as in memory of one or more of the remote computing devices 106d and/or local network devices (e.g., the playback devices, NMDs, and/or controller devices 102-104) of the MPS 100 (
The various local network devices 102-105 (
The MPS 100 may be coupled to the VAS(es) 160, 760 and/or the first and second MCSes 762, 763 (and/or their associated remote computing devices 106a, 706a, 106b, and 106c) via a WAN and/or a LAN 111 connected to the WAN 107 and/or one or more routers 109 (
In some embodiments, the MPS 100 may be configured to concurrently communicate with both the MCSes 167 and/or the VAS(es) 160, 760. For example, the MPS 100 may transmit search requests for particular content to both the first and second MCS(es) 762, 763 in parallel, and may send voice input data to one or more of the VAS(es) 160, 760 in parallel.
Method 750 begins at block 751, which includes the MPS 100 capturing a voice input via a network microphone device, such as via one or more of the network microphone devices 103 (
Once the MPS 100 has obtained information sufficient to proceed with a search of the requested media content, the method advances to block 754 in which the MPS 100 requests a search for the requested media content across a plurality of MCS(es) 167. The remote computing devices associated with the MCS(es) 167 perform the search and send one or more responses to the MPS 100 with media content information related to the requested media content. In some embodiments, the MPS 100 may send several requests to one or more of the MCS(es) 167 and/or one or more of the MCS(es) 167 each may send several responses before the MPS 100 considers the request to be resolved. For example, in some embodiments the MPS 100 may transmit a request to one or more of the MCS(es) 167 that requests more than one media content item (e.g., two songs; a playlist, an album, and a song; etc.), and the MPS 100 may receive the requested media content items through several responses from a single queried MCS. The MPS 100 may also receive the requested media content items within a single response from the MCS. In many instances, the MPS 100 may tailor the search request to one or more of the MCS(es) 167 based on a particular MCS' available media content, organization of that media content, and/or the MCS' algorithms for searching the media content. As such, the media content information requested of each queried MCS may be the same or different.
As shown at block 756, the MPS 100 processes the results and, as shown at block 757, the MPS 100 selects an MCS for playback. In some embodiments, the MPS 100 evaluates each response received from the MCS(es) 167 as it is returned and assigns a relevancy score that indicates the relevance of the media content information contained in the response to the requested media content. If the relevancy score meets a predetermined relevancy threshold, regardless of whether all responses have been received from the queried MCS(es) 167, the MPS 100 proceeds with presenting the returned media content to the user for playback and foregoes proceeding with the remaining MCS(es) 167. In many embodiments, the MPS 100 may lower the predetermined relevancy threshold while waiting for responses such that a response initially deemed not relevant enough becomes sufficiently relevant to present to a user. Additional details regarding the data exchanges between the MPS 100, the VAS 160, and the MCS(es) 167 to locate and select the requested media content are discussed in greater detail below with reference to
Finally, as shown at blocks 758 and 759, the MPS 100 may request voice data from the VAS 160 and, upon receiving the requested audio data, play back a voice output to confirm play back of the requested media content. Before, during, and/or after playing back the voice output, the MPS 100 may begin play back of the requested media content, as shown at block 761. Additional details regarding the data exchanges between the MPS 100, the VAS 160, and the MCS(es) 167 to play back the requested media content are discussed in greater detail below with reference to
a. Examples of Data Exchanges for Identifying and Finding Media Content
i. Identify
As shown in
In some embodiments, the MPS 100 transmits secondary information to the VAS 160 along with the message 782 containing the voice input. In addition or alternately, the MPS 100 may transmit secondary information as a separate message or packet before, after, and/or at the same time as the message 782. Secondary information may include, for example, zone state information, control state information, a user's playback history, a user's playlists, a user's media content preferences, the media content service(s) available to the user, the user's preferred media content service, etc. In some embodiments, the MPS 100 may transmit data over a metadata channel, as described in U.S. patent application Ser. No. 15/131,244, filed Apr. 18, 2016, titled “Metadata Exchange Involving a Networked Playback System and a Networked Microphone System,” which is incorporated by reference herein in its entirety.
In some embodiments, the MPS 100 sends the voice input to the VAS 160 without any initial processing of the voice input (other than that required to transmit the data to the VAS 160). In some embodiments, the MPS 100 processes all or a portion of the voice input prior to sending the message 782 to derive media content information from the voice input and/or determine what secondary information, if any, should be transmitted with or in addition to the message 782. In some embodiments, the MPS 100 automatically sends secondary information to the VAS 160 without processing the voice input.
As shown at block 775, upon receiving the message 782 containing the voice input, the remote computing devices 106a of the VAS 160 may process the voice input to determine the user's intent. This may include deriving information that identifies or facilitates identification of the requested media content in the voice input (if any). When the remote computing devices 106a are finished processing the voice input, the remote computing devices 106a may transmit a response 783 (e.g., one or more packets) to the MPS 100 that contains derived intent information from the voice input as payload for processing by the MPS 100. As described in greater detail below, the payload depends at least in part on the contents of the voice input and the extent to which the VAS was able to determine the intent of the voice input.
(A) If the voice input does not contain any media content—for example, if the voice input is a simple command such as “Play,” “Pause,” “Turn up the volume,” etc.—the remote computing devices 106a may send an empty structure or packet (e.g., having a null payload) or otherwise communicate to the MPS 100 that no additional media content searching is needed.
(B) If the voice input contains a request for media content, such as for media content to be ultimately played back by the MPS 100, the payload of the response 783 may include information that enables the MPS 100 to request a search for the media content from one or more MCS(es). The payload may be used by the MPS 100 to build request(s) suitable for communicating with and requesting information from an MCS, such as via the Sonos Music API (SMAPI). For example, the MPS 100 may build separate first, second, and third requests suitable to search for content the SPOTIFY, PANDORA, and APPLE MUSIC platforms, respectively. In some instances, the voice input may be a relatively straightforward request that may be readily resolved by the VAS 160 without the VAS 160 having to perform extensive NLU processing and/or Internet searching. Examples of requests include commands to play a particular artist (i.e., “Play George Strait”), play a particular song, play a particular album, etc. In some embodiments, a VAS may determine to “resolve” a request on its own rather than going through the MPS 100. For example, if a user speaks “Play Dave Mathew's Crash on GOOGLE PLAY,” the VAS may directly communicate with one or more MCS(es) without the MPS 100 intervening. In such embodiments, the VAS may resolve requests if certain conditions are met. For example, the VAS may resolve a request in cases where both of the following conditions are satisfied: (i) the request is straightforward and (ii) the media content service is directly supported by the VAS. A media content service may be directly supported by a VAS, for example, when the VAS has an affiliation with the media content service and the user has authorized a link between the media content service and the VAS. An example of a sponsored media content service may be SPOTIFY, which today may be linked with VASes provided by both AMAZON and GOOGLE. In some embodiments, the MPS 100 may intervene between the VAS and the media content service even in cases where the VAS sponsors a media content service, such as when the voice input is relatively less straightforward and/or when MPS intervention is preferred to find and possibly play back media content as described above and in further detail below.
(C) If the intent of the voice input is ambiguous to the VAS 160, the VAS 160 may: (1) perform a search to further clarify the intent (e.g., on the Internet, on a database associated with the remote computing devices 106a, within the metadata provided by the MPS 100, etc.), and/or (2) send a response to the MPS 100 that includes a request for the MPS 100 to supply additional information. In some instances, the additional information will require the MPS 100 to request additional input from the user.
In any of the above scenarios, the response 783 received by the MPS 100 may have a predefined data structure with a format having at least one predefined field. The packet/response 783 comprises the derived payload 783a (
The remote computing devices 106a associated with the VAS 160 may process the voice input by converting the voice input to text (for example, via a speech-to-text component, discussed above with reference to
In some instances, the intent of all or a portion of the voice input remains ambiguous to the VAS 160 after processing. In such scenarios, the remote computing devices 106a associated with the VAS 160 may perform a search to further clarify the ambiguous portion(s) and/or may send a request to the MPS 100 to supply additional information. Should the VAS 160 conduct a search, the information used to conduct the search may be limited to the text of the voice input. For example, when processing the voice input “Play the latest album from John Legend” (Example No. 20 of
The remote computing devices 106a associated with the VAS 160 may also search the secondary information and/or metadata already provided by the MPS 100 to resolve any ambiguity. For example, for the voice input “Play my cooking playlist” (Example No. 15 in
In some embodiments, the MPS 100 may send the remote computing devices 106a associated with the VAS 160 only certain information (e.g., only certain metadata) that is needed by the VAS 160 to interpret the voice input and/or conduct a search to resolve one or more aspects of the request. For example, in some aspects, certain metadata may be excluded in the exchanges between the MPS 100 and the VAS 160, such as information that would expressly identify an MCS. Excluding MCS preferences in the metadata may be beneficial as it enables media content to be selected for play back by the MPS 100 (and/or the user) in a way that does not discriminate one MCS over another. Accordingly, although the remote computing devices 106a of the VAS 160 may perform the initial search of the media content request, the MPS 100 maintains control of the parameters of the search and, to some extent, the search results. This may be beneficial as it precludes the VAS 160 from providing search results that could bias the subsequent MCS selection.
In some instances, the MPS 100 may send additional messages 782 and receive multiple responses 783 before it ultimately determines the user's intent and the appropriate information to send to the MCS(es) for media content searching (only one message 782 and one response 783 are shown in
The VAS 160 may also instruct the MPS 100 to request the additional information from the user. For example, for the voice input “Play my Running playlist,” the VAS 160 may determine that the request is ambiguous because the user has a playlist titled “Running” on multiple MCS(es) 167. In this scenario, the remote computing devices 106a associated with the VAS 160 may request that the MPS 100 asks the user which playlist the user is referring to. For example, the MPS 100 may ask the user “Would you like to play your ‘Running’ playlist from iTUNES or your ‘Running’ playlist from SPOTIFY?” As another example, a voice input requesting a song or album for which multiple versions exist may require the MPS 100 to ask the user which version of the song or which album the user would like played back. For the voice input “Play West Side Story” (see column 4 for Example No. 23 in
For the MPS 100 to request and obtain clarifying information from the user, the VAS 160 may send a packet 783 that includes voice data for a voice output that may be played back by MPS 100 to the user. Likewise, the MPS 100 may process the response 783 (block 776) and determine that additional user input is required, even if the VAS has determined otherwise. In some aspects, the MPS 100 may receive feedback from the MCS(es) 167 that the requested media content could not be found (discussed in greater detail below). In the latter two scenarios, the MPS 100 may send a message to the remote computing devices 106a associated with the VAS 160 that includes a request for voice data of a voice output that the MPS 100 can play back to the user (e.g., via one or more of the playback devices 102) to obtain clarifying information. The remote computing devices 106a may perform the requested text-to-speech conversion and transmit a packet containing the voice data to the MPS 100. The MPS 100 may then play back the voice output to the user and capture the user's responsive voice input. To determine the intent of the user's responsive voice input, the exchanges described above with reference to blocks 772-776 may be repeated as necessary until the MPS 100 has sufficient descriptive information of the requested media content to request a search.
ii. Search
Once the MPS 100 has received or is otherwise in possession of information sufficiently descriptive of the requested media content from the response(s) 783, the MPS 100 may send a search request 785 to a plurality of remote computing devices associated with the plurality of MCS(es) 167. For example, the MPS 100 may send a search request to (i) first remote computing devices 106b associated with the first MCS 762 and (ii) second remote computing devices 106c associated with the second MCS 763. While all of the search requests are designed around the requested media content, the media content information requested from one or more of the MCS(s) may be tailored to the particular MCS, and thus one or more of the search requests may be different than one or more of the other search requests. Regardless, in response to a request from the MPS 100, the first and second remote computing devices 106b, 106c may then search their respective libraries for the media content described in the payload, as depicted at block 786. Preferably, the VAS 160 does not exchange information directly with the first and second remote computing devices 106b, 106c of the first and second MCS(es) 762, 763 and the MPS 100 is the single contact point between all of the VAS(es) and all of the MCS(es).
In response to the search request, each of the first and second remote computing devices 106b, 106c may send a response (shown collectively as “response 787”) to the MPS 100 with media content information and/or a follow-up request. The responses 787 may have different latencies and, depending on the MCS being queried, the MPS 100 may have several exchanges with a given MCS before the request is resolved (e.g., before the MPS 100 receives the requested media content information from that MCS). Also, as previously discussed, one or more of the MCS(es) may send the requested media content information in several separate responses.
Many conventional result selection algorithms require all responses be returned before determining which is most relevant, which often results in unnecessary delays for the user. For example, a response received by the MPS 100 within the two milliseconds of sending the request may be sufficiently relevant for playback, but the user may wait five seconds for all results to be returned, only for the later received responses to be less relevant than the earlier response or only marginally more relevant. Moreover, a perfectly relevant result may not exist. To address this concern, the MPS 100 of the present technology evaluates the quality and relevance of each response in isolation, as it comes in, and adjusts the relevancy threshold over time to allow for less relevant results to be deemed more relevant as time goes on. In other words, the MPS 100 may adjust the relevancy threshold over time to allow less desirable but adequate results to be considered the most relevant. The relevancy threshold may be adjusted, for example, linearly over time, or may be adjusted exponentially over time.
Next, the MPS 100 may compare the relevancy indicator to a predetermined relevancy threshold to determine whether the relevancy indicator meets a threshold relevancy. For example, the relevancy indicator may be on a scale of 0 to 1.0, where an indicator of 1.0 is perfectly relevant. The relevancy threshold may begin at a first value, for example, 95% of the upper limit of the relevancy indicator (or 90%, or 85%, etc.). As indicated by block 1008, if the relevancy indicator (a) meets or exceeds the relevancy threshold but is not the highest relevancy threshold so far received or (b) does not meet the relevancy threshold, then the MPS 100 may continue to receive and evaluate responses from other MCS's. As time passes and the responses thus far returned remain below the relevancy threshold, the relevancy threshold may be lowered (for example, from 95% of the upper limit to 90%) such that previously received responses that did not previously meet the relevancy threshold may now meet the adjusted relevancy threshold and be selected for playback.
For example, as indicated by block 1010, if the relevancy indicator meets or exceeds the relevancy threshold and (a) is the only response thus far received or (b) has the highest relevancy indicator of the responses thus far received, the MPS 100 may select the media content returned by the first MCS 762 for presentation to the user for playback (block 1012). In some embodiments, the MPS 100 may include a short, predetermined lag time after a particular response meets the criteria for selection to allow for evaluation of in-flight responses, or responses received within a short window after selection, in the event such responses are determined to be more relevant than the selected response. Based on the selection of the media content from the first MCS 762, the MPS 100 may cancel outstanding requests to the other MCSes (such as second MCS 763). This may be desirable because it reduces additional network and CPU load when the not-yet-received responses are no longer valuable to resolving the result. In some embodiments, the MPS 100 may cache information sent from the remote computing devices associated with the MCS(es) 167. In such embodiments, the MPS 100 may cache information that (a) is received after the determination that one of the relevancy indicators meet the relevancy threshold, and (b) is in response to requests sent before the determination that the relevancy indicator meets the relevancy threshold.
In some embodiments, the MPS 100 may have a predefined time period for receiving responses and a hard cut-off at the expiration of that period. For example, the time period may be 5 seconds or less, 4 seconds or less, 3 seconds or less, 2 seconds or less, or 1 second or less. If the set time for receiving responses times out, then the response with the highest relevancy indicator may be selected for playback, given that the highest relevancy indicator meets a minimum relevancy indicator threshold.
Any MCS that has the requested media content may also send instructions for playing back the media content. If only a single MCS returns the requested media content, the MPS 100 may proceed to play back the media content from the single MCS without requesting additional input from the user. However, in some cases it may be beneficial for the MPS 100 to solicit additional input from the user. For example, when multiple MCS(es) send instructions for playing back the requested media content, the MPS 100 may ask the user which MCS the user would like to use. In some embodiments, the MPS 100 may display a list of media content (e.g., songs, albums, etc.) and/or MCS(es) that have the requested media content on the display of a controller device 104 (
The MPS 100 may also request additional information from the user when the voice input identifies a specific MCS for playing back the requested media content and the requested MCS's search does not turn up the requested media content. Should a different, non-requested MCS (to which the user also subscribes or otherwise has access to) have the requested media content, the MPS 100 may (a) inform the user that the requested MCS does not have the requested media content, (b) inform the user that the media content was found on a different MCS, and (c) ask the user if the user would like the MPS 100 to play back the requested media content on the other MCS.
To request clarification from the user, the MPS 100 may send a request 790 to the VAS 160 for voice data related to a specific voice output, and the VAS 160 may process the request 791 to generate the voice output to be played back by the MPS 100 to the user. The VAS 160 may send a message 792 to the MPS 100 including the voice output, and the MPS 100 may play back the voice output 793 to the user to obtain clarification from the user.
Whether selected automatically by the MPS 100 or in response to feedback from the user, the MPS 100 ultimately selects one of the MCS(es). for playing back or potentially playing back the requested media content (assuming the user's request was resolvable). The MPS 100 foregoes selection of other MCS(es) once the ultimate MCS has been selected. In some instances, playback may begin automatically after the search without further input from the user (e.g., if the user requested to play the media content in the voice input(s) prompting the search). In other instances, playback may be initiated by the user depending on the results of the search and upon confirmation by the user. The following discussion with reference to
b. Examples of Data Exchanges for Playing Back Media Content
Referring to block 784 of
In some embodiments, the MPS 100 may indicate to the user that the requested media content is being played back without interacting or receiving additional data from the VAS 160. For example, the MPS 100 may have stored voice outputs not specific to the requested media content (e.g., “Playing requested audio”) or may provide an indication that does not include any voice output (such as a ding, displaying a certain color, etc.).
In some embodiments, the MPS 100, the VAS 160, and/or the MCS(es) 167 may use voice inputs that result in successful (or unsuccessful) responses from the VAS 160 and/or MCS(es) 167 for training and adaptive training and learning. Training and adaptive learning may enhance the accuracy of voice processing by the MPS 100, the VAS 160, and/or the MCS(es) 167. In some embodiments, the intent engine 662 (
c. Examples of Commands for Controlling Media Content Playback
Commands for controlling the media playback system, such as playback of content identified via the search in
The commands described above are examples and other commands are possible. For example,
The intent for commands and associated variable instances that may be detected in voice input may be based on any of number predefined syntaxes that may be associated with a user's intent (e.g., play, pause, adding to queue, grouping, other transport controls, controls available via, e.g., the controller devices 104). In some implementations, processing of commands and associated variable instances may be based on predetermined “slots” in which command(s) and/or variable(s) are expected to be specified in the syntax. In these and other implementations, sets of words or vocabulary used for determining user intent may be updated in response to user customizations and preferences, feedback, and adaptive learning, as discussed above.
In some embodiments, different words, syntaxes, and/or phrases used for a command may be associated with the same intent. For example, including the command word “play,” “listen,” or “hear” in a voice input may correspond to a cognate reflecting the same intent that the media playback system play back media content.
In some embodiments, variable instances may have cognates that are predefined in a manner similar to cognates for commands. For example, a “Patio” zone variable in the MPS 100 may have the cognate “Outside” representing the same zone variable. As another example, the “Living Room” zone variable may have the cognates “Living Area”, “TV Room,” “Family Room,” etc.
A command may be compared to multiple sets of command criteria. In some embodiments, command criteria may determine if a voice input includes more than one command. For example, a voice input with a command to “play [media variable]” may be accompanied by a second command to “also play in [zone variable].” In this example, the MPS 100 may recognize “play” as one command and recognize “also play” as command criteria that is satisfied by the inclusion of the latter command. In some embodiments, when the above example commands are spoken together in the same voice input this may correspond to a grouping intent.
In similar embodiments, the voice input may include two commands or phrases which are spoken in sequence. The method 800 may recognize that such commands or phrases in sequence may be related. For example, the user may provide the voice input “play some classical music” followed by in “the Living Room” and the “Dining Room,” which is an inferential command to group the playback devices in the Living Room and the Dining Room.
In some embodiments, the MPS 100 may detect for pause(s) of a limited duration (e.g., 1 to 2 seconds) when processing words or phrases in sequence. In some implementations, the pause may be intentionally made by the user to demarcate between commands and phrases to facilitate voice processing of a relatively longer chain of commands and information. The pause may have a predetermined duration sufficient for capturing the chain of commands and information without causing the MPS 100 to idle back to wake word monitoring at block 802. In one aspect, a user may use such pauses to execute multiple commands without having to re-utter a wake word for each desired command to be executed.
In some embodiments, processing commands may involve updating playback queues stored on the playback devices in response to the change in a playlist or playback queue stored on a cloud network, such that the portion of the playback queue matches a portion or entirety of the playlist or playback queue in cloud network.
In some embodiments, processing a command may lead to a determination that the VAS needs additional information and audibly prompting a user for this information. For instance, a user may be prompted for additional information when executing a multi-turn command.
While the methods and systems have been described herein with respect to media content (e.g., music content, video content), the methods and systems described herein may be applied to a variety of content which may have associated audio that can be played by a media playback system. For example, pre-recorded sounds which might not be part of a music catalog may be played in response to a voice input. One example is the voice input “what does a nightingale sound like?” The networked microphone system's response to this voice input might not be music content with an identifier and may instead be a short audio clip. The media playback system may receive information associated with playing back the short audio clip (e.g., storage address, link, URL, file) and a media playback system command to play the short audio clip. Other examples are possible including podcasts, news clips, notification sounds, alarms, etc.
The description above discloses, among other things, various example systems, methods, apparatus, and articles of manufacture including, among other components, firmware and/or software executed on hardware. It is understood that such examples are merely illustrative and should not be considered as limiting. For example, it is contemplated that any or all of the firmware, hardware, and/or software aspects or components can be embodied exclusively in hardware, exclusively in software, exclusively in firmware, or in any combination of hardware, software, and/or firmware. Accordingly, the examples provided are not the only way(s) to implement such systems, methods, apparatus, and/or articles of manufacture.
The specification is presented largely in terms of illustrative environments, systems, procedures, steps, logic blocks, processing, and other symbolic representations that directly or indirectly resemble the operations of data processing devices coupled to networks. These process descriptions and representations are typically used by those skilled in the art to most effectively convey the substance of their work to others skilled in the art. Numerous specific details are set forth to provide a thorough understanding of the present disclosure. However, it is understood to those skilled in the art that certain embodiments of the present disclosure can be practiced without certain, specific details. In other instances, well known methods, procedures, components, and circuitry have not been described in detail to avoid unnecessarily obscuring aspects of the embodiments. Accordingly, the scope of the present disclosure is defined by the appended claims rather than the forgoing description of embodiments.
When any of the appended claims are read to cover a purely software and/or firmware implementation, at least one of the elements in at least one example is hereby expressly defined to include a tangible, non-transitory medium such as a memory, DVD, CD, Blu-ray, and so on, storing the software and/or firmware.
It will be appreciated that
The present technology is illustrated, for example, according to various aspects described below. Various examples of aspects of the present technology are described as numbered examples (1, 2, 3, etc.) for convenience. These are provided as examples and do not limit the present technology. It is noted that any of the dependent examples may be combined in any combination, and placed into a respective independent example. The other examples can be presented in a similar manner.
1. A method, comprising:
2. The method of example 1, further comprising, based on the determination that the relevancy indicator meets the second value, canceling outstanding requests to the other remote computing devices.
3. The method of example 1, further comprising caching information sent from the other remote computing devices that (a) is received after the determination that the relevancy indicator meets the second value, and (b) is in response to requests sent before the determination that the relevancy indicator meets the second value.
4. The method of any one of examples 1 to 3, wherein a value of the relevancy threshold decreases exponentially over time or increases exponentially over time.
5. The method of any one of examples 1 to 4, wherein the plurality of remote computing devices is a plurality of first remote computing devices, and wherein the media playback system includes one or more second remote computing devices.
6. The method of any one of examples 1 to 5, wherein the second value of the relevancy threshold is less than the first value of the relevancy threshold.
7. The method of any one of examples 1 to 5, wherein the second value of the relevancy threshold is greater than the first value of the relevancy threshold.
8. The method of any one of examples 1 to 7, wherein the information is first information, the remote computing device is a first remote computing device, the associated media content service is a first associated media content service, the media content is first media content, and the relevancy indicator is a first relevancy indicator, and wherein the method further comprises:
9. A media playback system, comprising:
10. The media playback system of example 9, the operations further comprising, based on the determination that the relevancy indicator meets the second value, canceling outstanding requests to the other remote computing devices.
11. The media playback system of example 9, the operations further comprising caching information sent from the other remote computing devices that (a) is received after the determination that the relevancy indicator meets the second value, and (b) is in response to requests sent before the determination that the relevancy indicator meets the second value.
12. The media playback system of any one of examples 9 to 11, wherein a value of the relevancy threshold decreases exponentially over time or increases exponentially over time.
13. The media playback system of any one of examples 9 to 12, wherein the plurality of remote computing devices is a plurality of first remote computing devices, and wherein the media playback system includes one or more second remote computing devices.
14. The media playback system of any one of examples 9 to 13, wherein the second value of the relevancy threshold is less than the first value of the relevancy threshold.
15. The media playback system of any one of examples 9 to 13, wherein the second value of the relevancy threshold is greater than the first value of the relevancy threshold.
16. The media playback system of any one of examples 9 to 15, wherein the information is first information, the remote computing device is a first remote computing device, the associated media content service is a first associated media content service, the media content is first media content, and the relevancy indicator is a first relevancy indicator, and wherein the operations further comprise:
17. Tangible, non-transitory, computer-readable media storing instructions executable by one or more processors to cause a media playback system to perform operations comprising:
18. The tangible, non-transitory, computer-readable media storing instructions of example 17, the operations further comprising, based on the determination that the relevancy indicator meets the second value, canceling outstanding requests to the other remote computing devices.
19. The tangible, non-transitory, computer-readable media storing instructions of example 17, the operations further comprising caching information sent from the other remote computing devices that (a) is received after the determination that the relevancy indicator meets the second value, and (b) is in response to requests sent before the determination that the relevancy indicator meets the second value.
20. The tangible, non-transitory, computer-readable media storing instructions of any one of examples 17 to 19, wherein a value of the relevancy threshold decreases exponentially over time or increases exponentially over time.
21. The tangible, non-transitory, computer-readable media storing instructions of any one of examples 17 to 20, wherein the plurality of remote computing devices is a plurality of first remote computing devices, and wherein the media playback system includes one or more second remote computing devices.
22. The tangible, non-transitory, computer-readable media storing instructions of any one of examples 17 to 21, wherein the second value of the relevancy threshold is less than the first value of the relevancy threshold.
23. The tangible, non-transitory, computer-readable media storing instructions of any one of examples 17 to 21, wherein the second value of the relevancy threshold is greater than the first value of the relevancy threshold.
24. The tangible, non-transitory, computer-readable media storing instructions of any one of examples 17 to 23, wherein the information is first information, the remote computing device is a first remote computing device, the associated media content service is a first associated media content service, the media content is first media content, and the relevancy indicator is a first relevancy indicator, and wherein the operations further comprise:
25. A method, comprising:
26. The method of example 25, wherein the first relevancy indicator is greater than or equal to the third value, and greater than the second relevancy indicator.
27. The method of example 25, wherein the first relevancy indicator is greater than or equal to the third value and greater than the second relevancy indicator, and wherein the second relevancy indicator is greater than the third value.
28. The method of example 25, wherein the first relevancy indicator is greater than or equal to the third value and greater than the second relevancy indicator, and wherein the second relevancy indicator is less than the third value.
29. The method of example 25, wherein the first relevancy indicator is less than or equal to the third value, and less than the second relevancy indicator.
30. The method of example 25, wherein the first relevancy indicator is less than or equal to the third value and less than the second relevancy indicator, and wherein the second relevancy indicator is less than the third value.
31. The method of example 25, wherein the first relevancy indicator is less than or equal to the third value and less than the second relevancy indicator, and wherein the second relevancy indicator is greater than the third value.
32. The method of example 25, wherein selecting the first media content for presenting to the user for playback is caused at least in part by the expiration of a predetermined time, wherein the time is measured from the media playback system sending the request for media content information.