Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-1 votes
0 answers
32 views

Is there any way to remove a specific portion of audio from the raw audio file

I have two raw audio file generated through sip packets. one contains raw audio file of conversation of between two persons. If I add a new person there will be a hold music which will be added to the ...
Aarav kv's user avatar
0 votes
0 answers
74 views

How to implement pause/resume feature for wav audio with sounddevice in python

I wanted to implement the pause/resume feature using sounddevice. I found out that this library doesn't have a dedicated method to achieve this as other libraries like PyGame. But for my specific case,...
Playo feo's user avatar
0 votes
0 answers
51 views

Errosr while running a PySide6 online audio player

from PySide6.QtWidgets import QApplication,QWidget,QPushButton from PySide6.QtMultimedia import QMediaPlayer,QAudioOutput from PySide6.QtCore import QUrl class MainWindow(QWidget): def __init__(...
junjie lu's user avatar
0 votes
1 answer
59 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()...
Krutelik TM's user avatar
1 vote
1 answer
2k views

why ffmpeg process successfully terminated with return code of 1 without play anything

`I tried replacing youtube_dl with yt_dlp and replaced some of the code, the code worked fine but when using the command, the bot doesn't play music but immediately ffmpeg process 15076 successfully ...
Exc's user avatar
  • 11
0 votes
1 answer
313 views

I cant seem to sync my / commands to discord [duplicate]

I asked ChatGPT to generate some code for a Discord bot that uses commands prefixed with /. It came up with: import discord import asyncio import aiohttp from discord import Object from discord.ext ...
Bubster's user avatar
0 votes
0 answers
109 views

Commands not working, and trying to add a queue/ability to add playlists

I'm trying to make a music bot for discord, everything appears to be working. It's turning on and detects the prefix, but when I do "?join" so it joins the Voice Channel it tells me "...
Him's user avatar
  • 17
0 votes
0 answers
719 views

How do i fix the error "ffmpeg was not found." in my discord bot?

I am currently trying to make my discord bot play a youtube audio from a URL. However, I can't pass the error "ffmpeg was not found". I have tried to use different solutions but nothing has ...
Anton Abboud's user avatar
0 votes
1 answer
514 views

Discord.py music bot Wavelink error: `TypeError: Type must meet VoiceProtocol abstract base class.`

The print: 0|Runa | <class 'wavelink.player.Player'> The error: 0|Runa | vc:wavelink.Player=await ctx.author.voice.channel.connect(cls= wavelink.Player) 0|Runa | File "/...
Fawn Nivalen's user avatar
0 votes
3 answers
790 views

How to get the mp3 link duration when playing in vlc python?

I was trying to play music from music stored in Firebase Storage using vlc packages. However, when using this packages, we need to define the duration of the time sleep. Error occured when I used ...
Wesley's user avatar
  • 65
2 votes
1 answer
181 views

How to make a player, without an interface, but with the ability to rewind in python?

I have found many ways to interact with music in python, but in all there are only a few commands, start, stop, volume change, but I can't find a banal rewind. The code at the moment: import vlc ...
DarMaster's user avatar
0 votes
1 answer
400 views

discord.py music used to work but now im getting an error

im not sure what this error is or how to fix it. is it possible to fix or should i just not try. i searched for this since other people had the same issue, but nothing helped my case. A while back ...
humor 0150's user avatar
0 votes
0 answers
453 views

how can i implement pedalboard effects to my music player in python

as you can see i've attempted to add reverb but i dont really have any idea what im doing with this. im not sure what way is the most efficient way of going about this, perhaps to make a new playlist ...
ellis's user avatar
  • 1
1 vote
1 answer
255 views

I need help by creating a loop in Pygame

I have the following Code def play_music(): song = playlist.get(ACTIVE) next_one = playlist.curselection() next_one = next_one[0]+1 pygame.mixer.music.load(song) pygame.mixer.music....
baumanager's user avatar
1 vote
1 answer
1k views

Discord.py with Wavelink - I want my bot disconnect when there is nothing left to play? but how

I want to let my bot disconnect from voice channel when there is nothing left to play. Also all command are wrote in cogs. I try to use vc.queue.is_empty() but it will skip one song like below A Song -...
LucasPlusPlus's user avatar

15 30 50 per page
1
2 3 4 5
7