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
4
votes
2 answers

Module not found Error: You attempted to import which falls outside of the project src/ directory. Relative imports outside of src/ are not supported

I am currently making a music player app on React, and am new to React js. Not sure why i'm getting this error, having been following the exact steps on the tutorial I'm watching. The full Error Code is: Module not found: Error: You attempted to…
kentpikard
  • 139
  • 1
  • 2
  • 8
4
votes
3 answers

get current playing song list windows phone 7

I want to display the list of songs in current playing lists, If users play music in my app, I could know what playlist is playing but if they were playing in zune app then switch to my app, my song list will be empty, even though the playlists is…
Nghia Nguyen
  • 2,585
  • 4
  • 25
  • 38
4
votes
3 answers

Flutter error: the getter 'AudioPlayerState' isn't defined for the class '_HomePageState'

I have imported audioplayer.dart but it is still showing me the error: the getter 'AudioPlayerState' isn't defined for the class '_HomePageState' import 'package:audioplayers/audioplayers.dart'; _audioPlayer.onPlayerStateChanged.listen((event) { …
4
votes
1 answer

Basic architecture to serve, stream and consume large audio files to minimize client-side resource consumption and latency

I am trying to build a web application which will need to have audio streaming functionality implemented in some way. Just to give you guys some context: It is designed to be a purely auditive experience/game/idkhowtocallit with lots of different…
4
votes
1 answer

Exoplayer Audio not playing in background service

So i developed an android application that uses exoplayer library to stream a music url. However after creating a background service to enable the music stream while in background it doesn't work but that same code work when i try it forground…
4
votes
3 answers

Audio file doesn't play in reactjs

I've been trying to play an audio file in Recact.js but it doesn't play. I'm not facing any error the scroll bar shows up but play button doesn't work. I've tried playing the song to check if the file is corrupted. the mp3 file works fine. import…
4
votes
1 answer

How to play chunk audio in C# with ContentPushStream?

I have a byte stream in the memory that belongs to a video file. Note that, the byte stream does not represent the whole video file, it is rather a chunk of the video file in bytes that I have available at that moment. I want to be able to play this…
WPFUser
  • 1,145
  • 7
  • 24
4
votes
4 answers

Sound processing: Should I use DirectSound or directly Win32 APIs?

I'm making an application where I will: Record from the microphone and do some realtime processing on the input Play an MP3 file (a regular song), but manipulating the output in realtime Every now and then I'll need to play additional sounds over…
Daniel Magliola
  • 30,898
  • 61
  • 164
  • 243
4
votes
2 answers

Seeking in an mp3 file

I'm working on mp3 player using java by reading the file, decoding frames and playback audio. However, I want to support my app with seeking. For CBR its easy because I can approximately calculate how much bytes I should skip. For example: seeking…
Majd
  • 82
  • 5
4
votes
1 answer

Adding media item to MediaBrowserService

I'm building a music player for Android, using these two samples (Android MediaBrowserService Sample and Universal Music Player) as examples. I noticed both load media information on start-up and add it to the Media Browser. Both have the complete…
4
votes
2 answers

How to track when song is finished AVAudioPlayer

I want to track when playing song is finished. I tried different solutions from the web but they could not solve my problem. I implemented audioPlayerDidFinishPlaying method but it is not working. How can I understand if playing song is finished?…
gurkan stack
  • 413
  • 1
  • 15
  • 43
4
votes
4 answers

pygame.error: set_pos unsupported for this codec

I have a problem with my python audio player. I use this function to pause the music that is playing: def pause(event): global time pygame.mixer.music.pause() time=pygame.mixer.music.get_pos() And then,I'm trying to play it again from…
akeg
  • 151
  • 2
  • 14
4
votes
0 answers

Low quality mp3 files are not playing properly as expected

I have been using media player from last 2 months with normal mp3 files.Few days back my client gave me 16kbps converted low quality files. When I played these files through Media player class.The behaviour which I observed is mentioned below: (1)…
Zaeem Sattar
  • 990
  • 2
  • 12
  • 30
4
votes
1 answer

Is there any way to use an audio player without Flash?

I would like to add an audio player in my HTML page. Is there any way to play the audio file with a simple player without using Flash player?
Nagarajan Ganesh
  • 573
  • 1
  • 5
  • 17
4
votes
1 answer

Audio player for AngularJs application

I'm building a music website using AngularJs. I'm not able to find a good audio player for my website. I've tried few git repos, out of them https://github.com/videogular/videogular is pretty good. But even doesn't have next/previous song play and…
randomuser
  • 1,201
  • 2
  • 10
  • 19