Home Appending audio buffer python
Reply: 0

Appending audio buffer python

Juanvulcano
1#
Juanvulcano Published in 2017-12-07 10:26:09Z

I am streaming audio data from client to server. I receive several buffers per second and would like to convert them into only one.

How can I append the audio data from previous buffer to the next one?

def generator(msg):
    if msg is not None:
        audio_as_int_array = numpy.frombuffer(msg, 'i2')
        return(base64.b64decode(audio_as_int_array))
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.313953 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO