This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Does utterance segmentation and speech recognition on an mp3 stream | |
(like from broadcastify...) | |
Requires that ffmpeg be installed, and a Microsoft cognitive speech | |
services API key | |
(see https://azure.microsoft.com/en-us/try/cognitive-services/?api=speech-services). | |
""" | |
import audioop | |
import collections |