mokadi.mokadi_record
¶module botadi.mokadi.mokadi_record
Record a couple of seconds and returns the raw stream.
function |
truncated documentation |
---|---|
Play a way |
|
Records 5 seconds by default and returns the bytes which contains that sound. |
Record a couple of seconds and returns the raw stream.
Play a way
filename_or_bytes – wav file or bytes
See pyaudio for the others parameters.
Records 5 seconds by default and returns the bytes which contains that sound.
RECORD_SECONDS – number of seconds to record
WAVE_OUTPUT_FILENAME – if not None, also saves the result as a filename
bytes
See pyaudio for the others parameters.