Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to record voice channel? #1

Closed
Kwabang opened this issue May 11, 2019 · 2 comments
Closed

How to record voice channel? #1

Kwabang opened this issue May 11, 2019 · 2 comments

Comments

@Kwabang
Copy link

Kwabang commented May 11, 2019

How to record voice channel?
image

@MDeltaX
Copy link

MDeltaX commented Oct 26, 2019

Is this still open?

@sshh12
Copy link
Owner

sshh12 commented Oct 26, 2019

Sorry @Kwabang I never got a notification for this issue until just now. By default the script records the channel audio (per speaker) in separate wav files. To access these files checkout the sample python scripts.

from recordingbot import Bot

class RepeatBot(Bot):

    def process(self, text, memberid, timestamp, wavefn):

        self.play(wavefn) # <- `wavefn` is an audio recording of the channel.

if __name__ == "__main__":

    bot = RepeatBot('voicedata', 'voiceapi.json')
    bot.run()

@sshh12 sshh12 closed this as completed Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants