Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/worldveil/dejavu
/ functions
Functions
114 in github.com/worldveil/dejavu
⨍
Functions
114
◇
Types & classes
13
Method
insert
Inserts a single fingerprint into the database. :param fingerprint: Part of a sha1 hash, in hexadecimal format :param song_i
dejavu/base_classes/common_database.py:110
Method
insert_hashes
Insert a multitude of fingerprints. :param song_id: Song identifier the fingerprints belong to :param hashes: A sequence of
dejavu/base_classes/common_database.py:157
Method
insert_song
Inserts a song name into the database, returns the new identifier of the song. :param song_name: The name of the song.
dejavu/database_handler/postgres_database.py:144
Method
insert_song
Inserts a song name into the database, returns the new identifier of the song. :param song_name: The name of the song.
dejavu/database_handler/mysql_database.py:131
Method
insert_song
Inserts a song name into the database, returns the new identifier of the song. :param song_name: The name of the song.
dejavu/base_classes/common_database.py:122
Method
query
Returns all matching fingerprint entries associated with the given hash as parameter, if None is passed it returns all entries.
dejavu/base_classes/base_database.py:122
Function
read
Reads any file supported by pydub (ffmpeg) and returns the data contained within. If file reading fails due to input being a 24-bit wav file,
dejavu/logic/decoder.py:54
Function
read
Read a WAV file. Parameters ---------- file : string or file object Either the name of a file or an open file pointer. Re
dejavu/third_party/wavio.py:122
Method
recognize
(self, seconds=10)
dejavu/logic/recognizer/microphone_recognizer.py:69
Method
recognize
(self, filename: str)
dejavu/logic/recognizer/file_recognizer.py:31
Method
recognize
(self)
dejavu/base_classes/base_recognizer.py:32
Method
return_matches
Searches the database for pairs of (hash, offset) values. :param hashes: A sequence of tuples in the format (hash, offset)
dejavu/base_classes/common_database.py:173
Method
set_song_fingerprinted
Sets a specific song as having all fingerprints in the database. :param song_id: song identifier.
dejavu/base_classes/common_database.py:80
Function
write
Write the numpy array `data` to a WAV file. The Python standard library "wave" is used to write the data to the file, so this function ha
dejavu/third_party/wavio.py:200
← previous
101–114 of 114, ranked by callers