#Getting a single audio record file from an audio Sink.

1 messages · Page 1 of 1 (latest)

cunning depot
#

I'm writing a bot to record audio from a voice channel, and noticed that the Sink object contains audio items split by user. I want to combine them into a single recording, with each speaker's dialogue appearing in proper order. Is there any builtin function to achieve this, or will I have to use some external audio processing library to achieve this?

#

I'm using the WaveSink right now as a Sink object.

#

PS: Also tried get_all_audio() but that doesn't seem to do what I want.

haughty lotus
#

they all have different lengths what makes it hard to implement

deft plaza
#

same thing here, anyone figure this out?

haughty lotus
# deft plaza same thing here, anyone figure this out?

no sorry the problem remains the same so there is no way until there comes something from the pycord devs or you have a deep understanding of the topic but neither i have it than you i think ^^ it sounds harder than it is

deft plaza
#

i’m close i think

#

i made a dict of when each user joined

#

and use that to offset the start time of each user