1,377 questions
0
votes
1
answer
162
views
Discord Music Bot FFMPEG Troubleshooting
I am trying to create a Python Cog for a Discord.py bot on Windows 10 that allows the bot to join a voice channel to play music or funny audio. It is just something for me and my friends to goof off ...
0
votes
0
answers
34
views
How can I make the current track pause when a new track is selected, instead of both playing simultaneously?
I'm having an issue with the audio track. When I click the play button, it starts playing correctly, which is fine. However, if I click on another track, two songs start playing simultaneously instead ...
2
votes
2
answers
134
views
Why are my songs showing up as undefined?
Working in p5.js on a class assignment. We have to make a music player. I found a tutorial in the site, but despite copying the code near-exactly (only altering so as to implement multiple songs), I ...
2
votes
1
answer
116
views
How to create a structure that is above the NavigationView on the screen and opens upwards when dragged up(.Net Maui)
I have a .Net Maui project and I want a structure that stands just above the NavigationView at the bottom, as in music applications such as Apple Music, and moves up simultaneously as I drag it ...
0
votes
0
answers
49
views
Why my music using Web Audio API sounds weaker?
Only on mobile chrome, the speaker is set to phone call during playing a music. I figured out this is because of gainNode. But gainNode is important for looping without gap and etc. I don't want to ...
0
votes
1
answer
188
views
How can I access MPRIS2 metadata from JavaScript?
I want to fetch metadata about currently playing music on Linux music players that support MPRIS2. Python has a library that provides a high-level API for this, but JavaScript doesn't.
I tried ...
0
votes
1
answer
108
views
How to play all the audio files automatically using macros in PowerPoint?
I have several audio files in PowerPoint presentation. I want them all to play automatically (not by click). Is there a possibility to do it with vba macros?
This code runs, but nothing changes:
Sub ...
0
votes
1
answer
97
views
How to play a song with default player without leaving app
My app has a path to a song it wants to play. Is there anyway to play the song in the default music player in the background without leaving my app? My minSDK = 26. I want to interact with the ...
0
votes
0
answers
71
views
Why do I get a higher pitched sound or artifacts when sliding between notes?
I'm building a system to create melodies using specific sound waves, I'm using C# and writing into WAV files. The process is creating a melody as an array of frequencies, which indicates the frequency ...
2
votes
1
answer
110
views
VST3 - Detect DAW events such as "start recording" and "stop recording"
I want to detect events from the VST3 host (DAW) such as "user clicked record while this track was armed" or, inversely, "user stopped recording."
For a more concrete example, in ...
0
votes
1
answer
55
views
How to completely destroy Media Player on back pressed in an activity?
My problem is that I have used the MediaPlayer class in an activity to play music. The music is played online from a link, and I have used the prepareAsync method for audio. At the first time, the ...
0
votes
0
answers
145
views
Flutter: Accessing external sd card media files for audio player (Direct path vs Scoped storage)
I am writing a music player app in Flutter, aimed primarily at playing audio files in android external sd storage folders like "storage/emulated/0/music". As per my study, from API 30 ...
0
votes
0
answers
41
views
Javascript Array of audio objects doesnt load the tracks
I have a problem with a tracklist created from a folder like that:
let tracks = [];
let art_str = [];
let name_str = [];
const traxFolder = './Resto';
const fst = require('fs');
fst.readdirSync(...
0
votes
1
answer
223
views
Audio data (getting in AvAudioEngine) plays sizzling audio in SwiftUi
I am trying to send audio (getting over iPhone microphone) to another listening device via GCDAsyncUdpSocket, I get audio with AudioEngine and I converting AVAudioPCMBuffer to Data and sending via ...
0
votes
1
answer
569
views
How to make a Slider Control and progress Bar for Music Player WPF
How can i make the slider which can control from which duration the song should be playing and move according the duration of the Song i have this xaml code for slider and progress bar:
<...
0
votes
1
answer
126
views
AudioPlayer Vue3: #The operation is not supported // Chrome works on Laptop, but not Safari and neither of them on iPhone (but they all work in DEV)
I am facing a miracle and I was wondering if somebody understands what is going on here.
The below code in my Vite/Vue3 application shows a "play" button, and I observe this inconsistent ...
1
vote
0
answers
42
views
Java JLayer: Problem with implementing Pausable Player
I am trying to implement and use a Pausable Player object based on the Advanced Player jlayer package. I am using the implementation found in this thread:
https://stackoverflow.com/questions/12057214/...
0
votes
0
answers
28
views
change bootstrap icon by change value whi in js
I have took 3 icons from bootstarp in this 3 icons I have use 1 icon which name is bi-volum-up-fill other two icons use in js fill or in this logic.But in this case I am not able to change my icons by ...
0
votes
3
answers
186
views
Keeping track of all history of audio player (previous, next buttons and random selection from browser)
I need to keep track of all history of which songs have been played with audio player. The difficult part is when user continuously clicks on next and previous button.
Testing data (songs):
export ...
3
votes
0
answers
940
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
0
answers
85
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
0
answers
109
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;
...
0
votes
1
answer
270
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 ...
1
vote
1
answer
815
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
1
answer
62
views
Python bot does not read messages
Whatever I do my bot simply refuses to read any messages. Messages do not appear in the run menu.
import discord
from discord.ext import commands
import youtube_dl
intents = discord.Intents.default()...