Many smartphone users are faced with a situation where interesting music plays in the background, but switching to another application is inconvenient or impossible. For example, you are passing a difficult level in a game, watching a stream in a browser, or are in a video chat. At such times, launching a separate track recognition service may interrupt your current process. Fortunately, the ecosystem Android offers flexible solutions for such scenarios, allowing you to identify melodies without leaving the active app.
Modern sound recognition algorithms work quite quickly and accurately, even if the audio source is inside the device itself, and is not broadcast through a speaker into the room. This opens up the possibility of using the function Shazam directly on top of other windows. In this article, we will look in detail at how to activate the overlay mode, what settings are required for it to work correctly, and what alternative methods exist for owners of different phone models.
Using the Shazam pop-up button
The most popular and reliable way to recognize music without leaving the current application is to use a special floating button. This function is built directly into the official application Shazam and works as an overlay (a layer on top of other windows). After activation, a small icon appears on the screen that can be moved to any convenient area of the display.
To get started, you need to go to the settings of the application itself. Find the section responsible for additional functions or interface, and activate the switch that allows display on top of other apps. The system will ask you to confirm your rights to create overlays - this is a standard security procedure Androidthat must be approved. After this, the icon will appear on the desktop or on top of an open window.
⚠️ Attention: On some shells, such as MIUI or EMUI, the system may aggressively close background processes. To prevent the button from disappearing, add the application to the protected list or allow auto-start in the battery settings.
When the button is active, just press it any time you hear music. The rotation animation will confirm that audio is being recorded and the signal is being analyzed. The result will appear in a pop-up notification or directly in the button interface, without minimizing your game or video. This solution is ideal for those who want to quickly identify the track and continue with the activity.
If a button overlaps important controls in the game, hold it and drag it to the corner of the screen, where it will not interfere with clicks.
Integration of a widget on the desktop
An alternative to a floating button is to use a large widget placed on one of the desktop screens. This method requires minimal steps to initiate recognition, but means you can quickly minimize the current app or go to the Home screen. For many users, this is a compromise between convenience and speed of access.
To add a widget, long press on an empty area of the desktop and select the widget menu. Find Shazam in the list and drag the large icon to the free area. Now, when music is playing, one tap on this widget is enough to start the search. The system will automatically detect the sound source and display the result.
- 🎵 The widget takes up more space, but it is easier to press it accidentally or intentionally, even with gloves on.
- 🚀 Launch occurs instantly, since downloading the full application interface is not required.
- 🔋 The widget's energy consumption in standby mode is almost zero, unlike a constantly hanging floating button.
It is worth noting that the effectiveness of this method depends on the speed of your launcher. On older devices, it may take a couple of seconds for the heavy application to be minimized and the desktop to appear, during which the music segment may end. Therefore, this method is better suited for situations when the track plays for a long time or is repeated.
Setting up permissions and access to the microphone
The correct operation of any music recognition tool directly depends on the correctness of the permissions issued. If an app doesn't have microphone access or the ability to record internal system audio, the Shazaming feature in another app won't work. Checking these settings is a critical setup step.
Go to the main settings of your smartphone, find the “Applications” section and select Shazam. Go to Permissions and make sure microphone access is enabled. In modern versions Android (starting from 10 and higher), it is also important to check the privacy settings so that the system does not block sound recording in the background.
Settings → Applications → Shazam → Permissions → Microphone (Allow)
Particular attention is worth pay attention to battery settings. If the phone decides that an app is consuming too many resources in the background, it can limit its activity. Set the operation mode to “No restrictions” or “Do not optimize” to ensure the stability of the floating button even when using other apps for a long time.
☑️ Checking sound settings
Using Google Assistant for recognition
Not all users know that Google's built-in voice assistant has a built-in music recognition function, which often works even faster than third-party applications. This method is especially convenient for those who do not want to install additional software or who need to quickly find out the name of the track while in any system menu.
Activation occurs through a voice command or an assistant call button. Just say "What song is this?" or click on the microphone icon and select the appropriate option. The assistant will start listening to the broadcast and after a few seconds will display the name of the song and artist directly on the screen, on top of your current application.
| Characteristics | Shazam (Application) | Google Assistant |
|---|---|---|
| Startup speed | Medium (you need to press a button) | High (voice command) |
| Base accuracy | Very high (specialized) | High (general) |
| Integration | Requires installation | Built into the system |
| Listening history | Saves in profile | Saves in activity history |
The advantage of using Google Assistant lies in its deep integration with the operating system. It doesn't need special permissions to create overlays because it is a system component. However, it requires an active Internet connection and the voice search function turned on.
⚠️ Attention: The music recognition function in Google Assistant may not work if the “Music recognition” option is disabled in the voice search settings or the assistant’s activity on the lock screen is limited.
Alternative applications and widgets
If for some reason it is standard Shazam is not suitable for you, there are a number of alternative solutions that offer similar functionality. Some of them specialize in certain genres of music or offer a unique widget interface that may be more convenient for your smartphone model.
A popular analogue is the application SoundHound, which also supports background listening mode. It allows you to identify tracks that you hum yourself, which is a unique feature that competitors do not have. In addition, many music players, such as Yandex.Music or Spotify, have built-in recognition functions accessible through their widgets.
Secret function SoundHound
The application can recognize music even by weak signal or if you hum the melody yourself, which is useful when the original track is not available.
When choosing an alternative, pay attention to the presence of advertising and permission requirements. Some lesser-known apps may request excessive access to contacts or geolocation, which is not necessary for the audio engine to work. It is better to choose proven solutions from well-known developers to ensure the safety of your data.
Solving problems with internal sound
One of the common problems when trying to “Shazam” inside another application is that the phone’s microphone hears only external sounds, and not the audio stream that plays inside the smartphone. This is due to the security architecture Androidwhich isolates the audio streams of different applications from each other.
On devices with version Android 10 and newer the situation has improved: the system allows applications with appropriate rights to capture internal audio (Audio Loopback). However, this does not work on all models. If you see that the button is spinning, but does not find the track that is clearly playing in the headphones, the problem may be precisely this limitation.
In such cases, use the screen recording function with sound, if available in your firmware, and then analyze the resulting file. Or, as an option, turn on the speakerphone and bring the second device with Shazam turned on to the speaker, although this is less convenient. Manufacturers are constantly updating access policies, so keep an eye on system updates.
To capture internal audio without losing quality, make sure that the option to disable absolute volume is enabled in the developer settings, which sometimes helps route the audio stream correctly.
Frequently asked questions
Is it possible to Shazam music in the game without leaving it?
Yes, this is possible using the floating Shazam button or through Google Assistant. These tools work as an overlay and do not require minimizing the game, allowing you to identify the soundtrack in real time.
Why can't Shazam hear music playing in my headphones?
This is due to Android security restrictions. The application may not have access to the internal audio stream. Try using the Pop Music Detection feature in Settings or temporarily switching the sound to your phone's speaker.
Do you need internet for the floating button to work?
Yes, an active internet connection is required to send an audio sample to the server and receive the track name. The application itself can work offline to view history, but the recognition process is always online.
Will the function work on older versions of Android?
On versions below Android 6.0, support for floating windows may be limited or absent. In this case, it is recommended to use a widget on the desktop or a voice assistant, which are more compatible with older systems.
How to save found tracks to a playlist?
In the Shazam settings, you can connect your Spotify, Apple Music or Yandex.Music accounts. All recognized tracks will be automatically added to a special “My Tracks” playlist in the selected streaming service.