Questions tagged [audio-player]
A software specialized in playing audio of different formats and/or manage audio libraries.
audio-player
1,398
questions
2
votes
0
answers
475
views
When I tried to play a sound from my app I got an AudioPlayerException
When I play a sound in my project, I get this AudioPlayerException:
AudioPlayers Exception: AudioPlayerException(
AssetSource(path: sounds/numbers/number_one_sound.mp3),
...
3
votes
0
answers
540
views
flutter audioplayers and just audio are not working after deployment
I'm building a flutter web app that has an audio play button. I've used both audioplayers and just_audio. They both worked perfectly in debug mode but they didn't work after deployment.
Here's my ...
0
votes
1
answer
93
views
Flutter error: Unable to load asset: "assets/lib/assets/audio/2.wav"
I want to play audio and I use audioplayers package. I got this error that said can't find my audio file. I know that has something to do with pubspec.yaml file. I read the same questions and topics ...
0
votes
0
answers
60
views
Java music player doesn't work: Exception in thread "main" java.io.IOException: Audio data is too big
I'm trying to write a simple music player on Java. Everything had worked fine until I tried to add a new function with the JSlider. I wasn't running the program from Main, but from the Replayer class (...
0
votes
1
answer
929
views
Play multiple music files in sequence located in a Google Drive
Right now, we have music CDs saved in our Google Drive, so multiple classrooms can access them. However, the first song will play and not continue to the second, the third, etc. Is there a work around ...
0
votes
0
answers
73
views
Cannot read properties of null (reading 'currentTime')
i wanna leave page
but when i do it throws this error
however everything works correctly!
here is my code:
const repeat = useCallback(() => {
const time = audioRef.current.currentTime;
...
1
vote
0
answers
75
views
How to play a single note of every chord in a MIDI file (one of 4 voices in a song)?
i have this code to play a midi file (this is the function that exactly prepares the midi to play):
fun getFile() {
val assets = assets
val assetFileDescriptor = assets.openFd("midi/${...
0
votes
1
answer
163
views
How to use BLoC with just_audio
I am building a chat app and I am adding a voice message widget. I need to use BLoC with a message id to update only that message. I tried the following:
Add AudioPlayer for each message with audio ...
0
votes
1
answer
582
views
How to handle multiple AudioPlayers in flutter
I am building a chat app and I need to build as many audio players as there are in the chat. I tried to use just_audio and audio_waveforms but neither of them helped me. With just_audio, I couldn't ...
0
votes
0
answers
192
views
how to make the coverflow effect of the original iOS music app using Swiper js?
So I'm making a small project of a web music player, and I want to recreate the coverflow effect of the original iOS ipod app iOS coverflow
However I haven't be able to make the effect the same, the ...
1
vote
1
answer
377
views
audio_waveforms can't find audio file
I am using audio_waveforms to handle audio messages inside my chat app. I am facing a problem where when I try to call await player.preparePlayer(path: path); to prepare my player where the path is ...
0
votes
0
answers
62
views
how to make custom audio player in blazor c# with full ability like regula audio player?
like the title i want to make custom audio player
i try use looping in C# send audioid,persentage of input,duration of audio to call js to calculate current time and then return value of current time ...
1
vote
1
answer
903
views
How to stop audio when another app plays audio in flutter
I have a problem achieving my goal using audio_session plugin, I want to stop audio when another app plays audio. Just when another audio/video player app starts playing or when a phone call is made.
...
0
votes
0
answers
33
views
I Am Unable to stop my Alarm using stop button, I could only start it
each time i enters seconds after alarm should start then click start button then when i want to stop it it won't happen .
below is my Xml file
<?xml version="1.0" encoding="utf-8&...
0
votes
0
answers
41
views
Cut or trim audio with wade form view and save it
i want to cut or trim audio with wade form view and save it. But i haven't found a way to solve this problem yet. Thanks for helping me
i try library android-audio-visualizer, and ffmpeg to trim audio....