README.md edits

This commit is contained in:
Will Drevo 2014-11-21 01:29:27 -05:00
parent 3cc85edf30
commit b9efcd545d

View file

@ -126,8 +126,7 @@ With scripting:
```python ```python
>>> from dejavu.recognize import MicrophoneRecognizer >>> from dejavu.recognize import MicrophoneRecognizer
>>> print djv.recognize(MicrophoneRecognizer, seconds=10) # Defaults to 10 seconds. >>> song = djv.recognize(MicrophoneRecognizer, seconds=10) # Defaults to 10 seconds.
{'song_id': 1, 'song_name': 'Taylor Swift - Shake It Off', 'confidence': 3948, 'offset_seconds': 30.00018, 'match_time': 0.7159781455993652, 'offset': 646L}
``` ```
and with the command line script, you specify the number of seconds to listen: and with the command line script, you specify the number of seconds to listen: