MCPcopy Index your code

hub / github.com/worldveil/dejavu / functions

Functions114 in github.com/worldveil/dejavu

Methodinsert
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
Methodinsert_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
Methodinsert_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
Methodinsert_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
Methodinsert_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
Methodquery
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
Functionread
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
Functionread
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
Methodrecognize
(self, seconds=10)
dejavu/logic/recognizer/microphone_recognizer.py:69
Methodrecognize
(self, filename: str)
dejavu/logic/recognizer/file_recognizer.py:31
Methodrecognize
(self)
dejavu/base_classes/base_recognizer.py:32
Methodreturn_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
Methodset_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
Functionwrite
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
← previous101–114 of 114, ranked by callers