28

I want the music to keep playing in the background while I practice Spanish on the Duolingo app. The music player stops while Duolingo is trying to play sound as of now.

Is this possible?

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
Bibek_G
  • 513
  • 1
  • 6
  • 10

7 Answers7

9

As for my device, whenever I play Duolingo and music at the same time, then the audio fades slightly with CM 12 built-in player

Now if you are OK with any third-party application, here is what you need to do.

  1. Install and open Poweramp Music Player
  2. Go to Settings
  3. Then click on Audio
  4. Select Audio Focus
  5. Uncheck Short Audio Focus Change

(Click image to enlarge)

IMG: Here is the screenshot

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
reachrk
  • 736
  • 1
  • 6
  • 19
  • 1
    Thanks. That almost works for me. I want to play something in Poweramp and a song in Pandora at the same time. If I start Pandora first and then start Poweramp playing with any combination of the Short and Permanent AF Changes boxes unchecked, they both play until Poweramp changes tracks. Then Poweramp must grab focus back since Pandora halts. Is there any other way to fix this? – FrankH Feb 27 '16 at 21:11
  • sorry to say that Pandora isn't available in my country and so i couldn't check. – reachrk Feb 28 '16 at 08:28
6

You CAN play two audio simultaneously. I don't think it's possible with the stock Music player. You can install a third-party music player. In Rocket Music player, you can configure the Audio Focus to ignore the other audio apps while this player is playing. You can do so by setting the option under the Rocket Player Settings > Sound > Audio Focus,

Screenshot_Rocket-Player_Audio_Focus

Screenshot - Rocket Player (Click to enlarge)

While I tried to play a song in the Google Play Music app and played a song in the ES File Explorer, the Play Music song stopped. But while doing the same in Play Music and then in Rocket Player, the songs never paused. They both played simultaneously.

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
Lucky
  • 3,331
  • 8
  • 34
  • 53
5

Samsung's SoundAssistant does this and allows you to adjust the volume of both apps separately.

Not sure if Samsung's app store (Galaxy Store) or the app itself is available for non-Samsung devices, but it may be possible.

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
Graham Thomas
  • 51
  • 1
  • 1
1

MPV for Android continues playing audio as well. If you connect an external keyboard, you can adjust the volume independently of other apps with the 9 and 0 keys.

Dominik
  • 111
  • 1
0

For a free app alternative that allows playing in the background: SoundAura

SoundAura can also switch between an audio focus respecting mode, and a 'play in background' mode that ignores audio focus rules and allows SoundAura to play audio alongside other apps.

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
TeNNoX
  • 103
  • 3
-3

As far as I am aware, I don't think this is possible as yet. The OS can only play one sound at a time through the speakers (i.e. it cannot play multiple sound streams simultaneously).

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
Shanes927
  • 1
  • 2
  • 4
    We expect technical answers. There is nothing wrong in mentioning your personal experience but such experience should be technical and not just any opinion. In short, backup your claim with something that cannot be disregarded instantly. Example, in this case, tell us why Android cannot play multiple sound streams at a time. It would be best to cite technical sources too. See [answer]. – Firelord Oct 07 '15 at 21:04
  • 4
    There are many audio streams available in Android. As said in the dev doc audio streams are available for alarms, DTMF tones, music, notification, ring, system sound and voice call. If apps use different streams to play different sound then this possible and that is what most app exploit to support this feature. – Narayanan Oct 08 '15 at 06:02
  • 3
    Not true. I play games where I had situations when the music from my Music player and the game sounds play simultaneously. I also can play two different tracks at the same time using my music player and my File Manager. – Lucky Oct 08 '15 at 06:41
-4

You can play multiple videos on YouTube or stream audio in multiple tabs in Mozilla Firefox, but it gets closed after some time around 15 minutes, maybe due to low memory.

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
  • 2
    This might be useful if the questioner only wanted multiple YouTube videos, but they specifically asked for it to work with multiple apps. – Dan Hulme Sep 07 '16 at 08:35