mirror of
https://github.com/correl/dejavu.git
synced 2024-11-23 11:09:52 +00:00
Merge branch 'dejavu_python_3.6.6' of github.com:mauriciorepetto/dejavu into dejavu_python_3.6.6
This commit is contained in:
commit
8147647f74
1 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ $ python dejavu.py --recognize file sometrack.wav
|
||||||
or in scripting, assuming you've already instantiated a Dejavu object:
|
or in scripting, assuming you've already instantiated a Dejavu object:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
>>> from dejavu.recognize import FileRecognizer
|
>>> from dejavu.logic.recognizer.file_recognizer import FileRecognizer
|
||||||
>>> song = djv.recognize(FileRecognizer, "va_us_top_40/wav/Mirrors - Justin Timberlake.wav")
|
>>> song = djv.recognize(FileRecognizer, "va_us_top_40/wav/Mirrors - Justin Timberlake.wav")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ or in scripting, assuming you've already instantiated a Dejavu object:
|
||||||
With scripting:
|
With scripting:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
>>> from dejavu.recognize import MicrophoneRecognizer
|
>>> from dejavu.logic.recognizer.microphone_recognizer import MicrophoneRecognizer
|
||||||
>>> song = djv.recognize(MicrophoneRecognizer, seconds=10) # Defaults to 10 seconds.
|
>>> song = djv.recognize(MicrophoneRecognizer, seconds=10) # Defaults to 10 seconds.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue