Questions tagged [background-music]
200 questions
4
votes
1 answer
Ideal solution for seamless music playback across "page loads"? Using javascript to load pages
I am in the process of developing an online music magazine. We have a html5/flash music player, and this forms a major part of the website. But the site also has a lot of articles and stuff. So basically, I want seamless music playback across page…

Munim
- 6,310
- 2
- 35
- 44
4
votes
2 answers
How do you add background music to SpriteKit?
I tried doing this:
let soundFilePath = NSBundle.mainBundle().pathForResource("GL006_SNES_Victory_loop.aif", ofType: "GL006_SNES_Victory_loop.aif")
let soundFileURL = NSURL(fileURLWithPath: soundFilePath!)
let player = AVAudioPlayer(contentsOfURL:…

Raxzon
- 151
- 1
- 14
4
votes
1 answer
How to stop background music playing on android using Appcelerator (Titanium)
Can anyone help me to know how to stop the background music playing on android once I open my application in Android (I'm using Appcelerator Titanium)

Delavega
- 453
- 1
- 7
- 21
3
votes
1 answer
Is there a way to control system music in Flutter?
I would like to be able to pause/play and skip music that is playing in a different app (e.g. Spotify/Youtube Music/etc.). Is there a way to control this within a Flutter app?
Thanks in advance!

Zambrella
- 31
- 2
3
votes
0 answers
How I increase Text to speech volume over other background music apps Android
I use Audio Manager to fade Text to speech voice command and Background music for a short time. I request audio focus using AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK flag.
It will fade two voice out puts but not very clear. I want to increase Text to…

shanzAD
- 55
- 5
3
votes
2 answers
How to parse a music into a array of frequencies and durations of its notes
Greetings,
I'm working on a low level programming project and I want to play a music with the computer speaker.
I'm already capable of using the speaker (with timer2) and a song is represented in the following way:
note_t *music;
where note_t…

Renato Rodrigues
- 1,038
- 1
- 18
- 35
3
votes
1 answer
how to pause and play music player
I want to write a program which can pause and play every media players in android. How can i set priority of this program higher than the others? also i wrote the following code
public static final String SERVICECMD =…

shahab mohseni
- 31
- 1
- 5
3
votes
5 answers
How to stop the Sound play in Background in Android Webview
When i play a video in android webview it play perfectly but when i press the back button or home key than it does not stop the sound. it play in background.
When i remove my application from recent apps than this sound is stop otherwise it play in…
user5367527
3
votes
3 answers
fade in and out music while speaking a text
I have an Android application that makes use of TTS (Text to speech) API. Everything is working perfectly, but now i want to fade in/out or even stop music (in case user is playing music with prebuilt Music Player), when application speaks a text.…

ggomeze
- 5,711
- 6
- 29
- 32
3
votes
1 answer
Detecting if music has ended in VB.NET
Title says it all - I'm in VB.NET and using Windows Media Player as a base for a music player I'm making. I've got the following code to detect if a currently playing .mp3 file has ended:
'Checks to see if the player is still playing…

Novastorm
- 1,439
- 3
- 26
- 40
3
votes
1 answer
Questions about approach for background music generation for songs
I have a project proposal for music lovers who have no knowledge in audio processing. I think the project is interesting, but I don't have clear picture on how to implement it.
The project proposal: Some people like singing, but they cannot find…

Robin
- 134
- 9
3
votes
2 answers
Background music for call
I want to develop an app which play background music for a call,and is audible only for the caller and listener. Is there any application which is already available,Is it possible in android?

Geethu
- 1,586
- 6
- 21
- 34
2
votes
0 answers
ExoPlayer Notifications appear onTop of notification bar in Android 12
The Noticiation laods fine but its located ontop of my notification bar.
I'am using Android 12 on a Noxia X10
Please Help me out
Code:
private fun createNotificationChannel() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
…

EmmanuelDav
- 21
- 2
2
votes
1 answer
Trying to add background music to web app
I created a whack a mole game. However, I am trying to add the Price is Right theme to the background as the user plays the game. Is there anything I need to add to the javascript to make this happen? I have the mp3 file saved inside of a sounds…

Chaz Carothers
- 180
- 12
2
votes
0 answers
duckOthers Audio Session Interrupted by Remote Push Notification
I have a workout app that plays short clips of sound every couple of seconds. I have background music enabled so that music from other apps can be played while working out. The problem arises when I get a remote push notification (in my case, Slack)…

SentryDevCo
- 21
- 2