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
6
votes
0 answers

How To Make Next and Previous Track Buttons Disappear on Control Center for My App?

I'm making a iPhone music app that handles music playing & pausing and maintains its own play list. This app does not provide next/prev song functions, so I don't want these button to display on iOS's Control Center (the slide-up screen). I tried…
Ascendant
  • 2,430
  • 3
  • 26
  • 34
6
votes
2 answers

Using Swift to display title of currently playing .MP3

I was wondering if there was a straight forward way of displaying the image and title of the currently playing MP3 file my music player is playing. My code is as follows and is very simple for this example. I am only wanting to test using one .MP3…
Unconquered82
  • 523
  • 1
  • 8
  • 17
6
votes
2 answers

Prevent my audio app using NuPlayer on Android Lollipop 5.x?

I have an audio app that plays multiple tracks at the same time, each with their own mediaPlayer. Each track is reasonably long, upwards of two minutes. So long as the tracks are encoded as ogg files, everything works great on Android 4.x. I've yet…
verysuperfresh
  • 747
  • 1
  • 6
  • 10
6
votes
1 answer

How To Add Media To MediaStore on Android 4.4 KitKat SD Card With Metadata

Background: In Android 4.4, Google decided that apps should not have write access to SD cards. However, apps can write to /SDCard/Android/data/App Package Name. So this is what I've done. I have written an MP3 file to /Android/data/. I then want…
6
votes
1 answer

Notification for android music player

How to control a music player from buttons in notification, and how to listen button action from the notification
6
votes
1 answer

Update MusicPlayer SeekBar in Service

I'm trying to update music player SeekBar in service, but nothing happens. The service start ok in my activity and bind correctly (because I can use some of the methods in my service and music play fine). Here is my service code: public class…
6
votes
1 answer

Node.js audio player

I basically want to play a series of mp3-files after each other. It shouldn't be to hard, but I'm struggling to keep the decoder and speaker channel open to feed new mp3 data in after a song has been played. Here is a condensed version from what I…
johnny
  • 8,696
  • 6
  • 25
  • 36
6
votes
1 answer

Command line program for playing sections of audio specified in milliseconds

Would someone kindly recommend a command line utility that can play any section of an audio file specified in milliseconds e.g. player -start-time=0.1234 end-time=5.6789 audio.wav None of the audio players that I've come across seem to have this…
Olumide
  • 5,397
  • 10
  • 55
  • 104
5
votes
2 answers

How to pass List from class to class AudioPlayer

The site is an example of microsoft for Windows Phone 7, namely: Background Audio Player Sample or Sample In this example, the playlist is formed in the class AudioPlayer as a list of private static List _playList = new…
arsenium
  • 571
  • 1
  • 7
  • 20
5
votes
6 answers

How to handle services that run as foreground when an app is cleared from recent?

My Android app is playing audio while the app runs in the background with a service that runs as foreground, similar to many other apps such as Google Play Music, Spotify, and other music players / podcast player apps. Most apps I checked, including…
Hadas Kaminsky
  • 1,285
  • 1
  • 16
  • 39
5
votes
2 answers

Appropriate audio format for sound effects on Android phones regarding efficiency

I profiled my programs, and it turned out a large portion of CPU was spent on SoundPool.play(). The game has ~10 sound files, each under 1 second. Currently they are 64kbs variable MP3s. They are loaded to a SoundPool at the beginning and played…
Phil
  • 5,595
  • 5
  • 35
  • 55
5
votes
2 answers

App crash on headset button click

I have build an audioplayer which is deployed in android google playstore. I'm using crashlytics to monitor crashes and ANRs. Recently I have been getting a lot of crashes MediaButtonReceiver. The headset clicks work fine in many devices. But some…
5
votes
3 answers

How to mute and unmute sound in Angular2?

I have a sound in my Angular project, like this: introInfo() { this.audio.src = '../assets/sound1.wav'; this.audio.load(); this.audio.play(); } feedbackInfo() { this.audio.src = '../assets/sound1.wav'; this.audio.load(); //…
Anna F
  • 1,583
  • 4
  • 22
  • 42
5
votes
2 answers

Create a binary file extension reader for mobile

It is an ancient binary file extension, actually a video file created by Inter-Tel Web Conference software. It contains a screen recording video and voice audio, and also can capture the keyboard chat log, attendees and the document manager window…
tinyCoder
  • 350
  • 13
  • 37
5
votes
2 answers

Android MediaPlayer is preparing too long

Hey, I'm using MediaPlayer to play a regular ShoutCast stream. The code is straightforward with prepareAsync() and a handler to start the playback. While it works flawlessly with some streams like DI.FM or ETN.FM…
Sergei
  • 63
  • 1
  • 4