>>>fromdejavu.logic.recognizer.microphone_recognizerimportMicrophoneRecognizer>>>song=djv.recognize(MicrophoneRecognizer,seconds=10)# Defaults to 10 seconds. and with the command line script, you specify the number of seconds to listen: $ python dejavu.py --recognize mic 10 ...