Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8670] iOS: When playing sound over existing audio (user playing ipod,pandora,etc) it should lower volume of audio until sound if complete then raise volume back to same level.

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 1.8.3
Fix Version/sn/a
ComponentsiOS
Labelsapi
ReporterAndrew Royce
AssigneeUnknown
Created2012-03-15T10:51:46.000+0000
Updated2018-02-28T20:04:19.000+0000

Description

*Expected Behavior:* If a user is playing music (ipod,pandora,etc) and I play a sound in my code using Ti.Media.CreateSound I would expect the music to fade to a lower volume, play my sound, then music volume fade back in. *Actual Behavior:* Unfortunately what happens (assuming you are using AMBIENT as audioSessionMode) is they are played together which sounds pretty bad. *Example* To see an example of this first hand. Please do the following: 1. Download RunKeeper from the AppStore 2. Make sure music is playing from ipod or pandora or another 3rd party app. 3. Click 'Start Activity' button in RunKeeper. You can see that RunKeeper will fade out the music, play there sound clip, then fade back in the music.

Comments

  1. Gruber Kristóf 2012-08-02

    I can confirm this bug on 1.8.2 too.
  2. SHOCKOE TEAM 2012-08-29

    And still happening on 2.1.1 Any ideas if this will be done at some point?
  3. Lluis Gerard 2013-01-18

    Low priority ? oh well... still happening on 3.0.0.GA

JSON Source