Questions tagged [audio-player]

A software specialized in playing audio of different formats and/or manage audio libraries.

An audio player is a software specialized in playing audio files.

Some players play a specific file format, but many play a great range of file formats, ranging from MP3 files to WAV files. Many audio players have also the functionality to manage audio libraries, create playlists, shuffling music, and much more.

Questions on this topic should be about development of audio-players, errors on API's of common audio players and such.

1392 questions
15
votes
2 answers

How to get read external storage permissions?

I'm developing an mp3 player application for android and I'm getting an error related to user permissions(READ_EXTERNAL_STORAGE) This is my code where I ask for permissions: int permissionCheck =…
15
votes
5 answers

Disable Android's VideoView requestAudioFocus when playing a video?

I'm building an app that records and plays back video. I would like to do so without affecting background music playback, i.e. if I begin playing a video, I do not want to pause other apps' audio. However, on Lollipop, Android's VideoView class…
diana
  • 151
  • 1
  • 5
14
votes
3 answers

How to play local mp3 file with audioplayer plugin in Flutter

How to play local mp3 file with audioplayer 0.2.0 in Flutter. pubspec.yaml flutter: assets: - sounds/music.mp3 main.dart Future loadAsset() async { return await rootBundle.load('sounds/music.mp3'); } // FIXME: This code is…
granoeste
  • 1,531
  • 3
  • 12
  • 15
14
votes
2 answers

MPRemoteCommandCenter calls handler multiple times in iOS

MPRemoteCommandCenter calls the handler block multiple times and causes unnecessary calls to selector methods. Here is code snippet: MPRemoteCommandCenter *commandCenter = [MPRemoteCommandCenter sharedCommandCenter]; [commandCenter.nextTrackCommand…
Dhaval H. Nena
  • 3,992
  • 1
  • 37
  • 50
14
votes
4 answers

How to create a visualizer for audio player

There are many music players, like even HTML5 audio player, but how can I add an equalizer to them? By equalizer I mean this: image (OP link to a picture of audio visualization) Any idea how to add it to a music player? Thanks in advance
Alex
  • 255
  • 2
  • 5
  • 10
13
votes
1 answer

How do you check if music is playing by using a broadcast receiver?

I would like to prevent some of my code from executing only when music or videos are currently playing. How would I accomplish this using a broadcast receiver?
13
votes
1 answer

Delay in streaming audio

I am trying to stream audio through a server. I have set up everything, and it's working fine with recording and playing back static audio, but when I am trying to stream an audio there is a delay on the playing side. I did a Google search, but…
12
votes
2 answers

Android Exerciser Monkey starts playing audio files at random

I'm running exerciser monkey to test my android app. As part of my app I play media files which give the pronunciation of a words. I've put the files in a directory where they aren't readable by the Android's Music player. However, the exerciser…
12
votes
1 answer

Sound Play / Stop / Pause

I'm developing a sound JavaScript library. I can play sound with below code. var soundPlayer = null; function playSound(){ soundPlayer = new Audio(soundName).play(); } How can I stop and pause this audio? When I try like…
jsawyer
  • 123
  • 1
  • 1
  • 5
12
votes
6 answers

Embedding a media player in a website using HTML

What I want to do is to embed music files within a website (Have something a'la little mp3 player on the site). I want the audience to be able to play, stop etc the songs by using custom made controllers. How do I code those custom made buttons so…
Vetaxili
  • 609
  • 5
  • 12
  • 22
11
votes
1 answer

Is it possible to control the iOS system equalizer (so that I can affect audio playing from other apps)

I've had some trouble sorting through all of the audio-related documentation for iOS. I see that I can control sound EQ by using Audio Units, but I am unclear on if this is only used for audio that I play from my own app. I would like to build a…
Chris
  • 113
  • 1
  • 7
11
votes
2 answers

Audio Array Buffer to Audio Element

I'm creating a chrome app that decrypts mp3s sent from my PBX server to my gmail account and plays them. I have completed everything except for the audio player in gmail. I have two options: Use Web Audio API (I got it working but can't figure out…
SILENT
  • 3,916
  • 3
  • 38
  • 57
11
votes
2 answers

How to remove volume controls on lock screen in WP7?

When you stop your music which is playing in the music player, it doesn't really stop it. It just pauses it, as you are still able to see the music controls after you lock the screen. I want to remove the volume controls (rewind,play,forward)…
10
votes
4 answers

How to implement Exoplayer 2.11.1 in android?

i am trying to implement exoplayer this is my exoplayer version implementation 'com.google.android.exoplayer:exoplayer:2.11.1' i am creating a music player app and i don't know anything about exoplayer i am trying to implement exoplayer from last 2…
10
votes
7 answers

scripting fruityloops or propellerheads reason from VB or Python?

I have both Fruityloops and Propellerheads Reason software synths on my Windows PC. Any way I can get at and script these from either Visual Basic or Python? Or at least send Midi messages to the synths from code? Update : attempts to use something…
interstar
  • 26,048
  • 36
  • 112
  • 180
1
2
3
92 93