MCPcopy Create free account

hub / github.com/Jakobovski/free-spoken-digit-dataset / functions

Functions14 in github.com/Jakobovski/free-spoken-digit-dataset

↓ 2 callersFunctiongenerate_number_sequence
()
acquire_data/say_numbers_prompt.py:32
↓ 2 callersFunctionwait_until
(t)
acquire_data/say_numbers_prompt.py:27
↓ 1 callersFunctiondir_to_spectrogram
Creates spectrograms of all the audio files in a dir :param audio_dir: path of directory with audio files :param spectrogram_dir: path to sa
utils/spectogramer.py:33
↓ 1 callersFunctionseparate
(source)
utils/train-test-split.py:8
↓ 1 callersFunctionshow_numbers
()
acquire_data/say_numbers_prompt.py:44
↓ 1 callersFunctionsplit_multiple_recordings
Accepts a numpy array of audio data and splits it at the points of silence into multiple arrays of data. :param audio: numpy array of audio data
utils/trimmer.py:4
↓ 1 callersFunctionsplit_wav
(start_offset, secs_between_numbers, secs_per_number)
acquire_data/split_and_label_numbers.py:33
↓ 1 callersFunctiontrim_silence
Removes the silence at the beginning and end of the passed audio data :param audio: numpy array of audio :param noise_threshold: the maximum
utils/trimmer.py:48
↓ 1 callersFunctiontrim_silence
Removes the silence at the beginning and end of the passed audio data Fits noise based on the last n_noise_samples samples in the period Fi
acquire_data/split_and_label_numbers.py:70
↓ 1 callersFunctionwav_to_spectrogram
Creates a spectrogram of a wav file. :param audio_path: path of wav file :param save_path: path of spectrogram to save :param spectrogr
utils/spectogramer.py:9
Method__init__
Initializes the FSDD data helper which is used for fetching FSDD data. :param data_dir: The directory where the audiodata is located.
utils/fsdd.py:16
Methodget_spectrograms
Args: data_dir (string): Path to the directory containing the spectrograms. Returns: (spectrograms, labels)
utils/fsdd.py:37
Functionsplit_multiple_recordings_file
Accepts a file_path of a `wav` file, splits it by it's silent periods and creates new files for each split. This is useful when contributing recor
utils/trimmer.py:84
Functiontrim_silence_file
Accepts a file path, trims the audio and overwrites the original file with the trimmed version. :param file_path: file to trim :param noise_t
utils/trimmer.py:72