mirror of
https://github.com/correl/dejavu.git
synced 2024-11-27 11:09:51 +00:00
README.md edits
This commit is contained in:
parent
3cc85edf30
commit
b9efcd545d
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue