MCPcopy Create free account

hub / github.com/cwitkowitz/amt-tools / functions

Functions459 in github.com/cwitkowitz/amt-tools

Methodremove_overlapping
Remove any tracks contained in the given splits from the initial dataset partition, should they exist. Parameters --
amt_tools/datasets/MAESTRO.py:66
Methodreset_state
Reset all the estimators in the combo.
amt_tools/transcribe.py:159
Methodreset_state
Zero-out the tracked state.
amt_tools/transcribe.py:793
Methodreset_stream
Perform any steps to reset the stream.
amt_tools/features/stream.py:60
Functionrms_norm
Perform root-mean-square normalization. Parameters ---------- audio : ndarray (N) Mono-channel audio to normalize N - nu
amt_tools/tools/utils.py:2789
Methodrun
Thread execution method to continually update the audio buffer when the stream is active.
amt_tools/features/stream.py:463
Functionsave_dict_npz
Simple helper function to save a dictionary as a compressed NumPy zip file. Parameters ---------- path : string Path to save t
amt_tools/tools/utils.py:3468
Functionseed_everything
Set all necessary seeds for PyTorch at once. WARNING: the number of workers in the training loader affects behavior: this is b
amt_tools/tools/utils.py:3173
Functionslice_batched_notes
Remove note entries occurring outside of time window. Parameters ---------- batched_notes : ndarray (N x 3) Array of note inte
amt_tools/tools/utils.py:322
Functionslice_stacked_pitch_list
Retain pitch observations within a time window. Parameters ---------- stacked_pitch_list : dict Dictionary containing (slice -
amt_tools/tools/utils.py:1597
Functionslice_track
Slice any ndarray or tensor entries of a dictionary along the last axis. Parameters ---------- track : dict Dictionary contain
amt_tools/tools/utils.py:3908
Functionstacked_multi_pitch_to_multi_pitch
Collapse stacked multi pitch arrays into a single representation. Parameters ---------- stacked_multi_pitch : ndarray or tensor (...
amt_tools/tools/utils.py:1787
Functionstacked_multi_pitch_to_stacked_offsets
Obtain a stacked representation detailing where discrete pitch activity ceases. Parameters ---------- stacked_multi_pitch : ndarray
amt_tools/tools/utils.py:2639
Functionstacked_multi_pitch_to_stacked_onsets
Obtain a stacked representation detailing where discrete pitches become active. Parameters ---------- stacked_multi_pitch : ndarray
amt_tools/tools/utils.py:2462
Functionstacked_multi_pitch_to_stacked_pitch_list
Convert a stack of multi pitch arrays into a stack of pitch lists. Parameters ---------- stacked_multi_pitch : ndarray (S x F x T)
amt_tools/tools/utils.py:1494
Functionstacked_notes_to_batched_notes
Convert a dictionary of stacked notes into a single representation. Parameters ---------- stacked_notes : dict Dictionary cont
amt_tools/tools/utils.py:249
Functionstacked_notes_to_frets
Convert stacked notes from MIDI to guitar fret numbers. Parameters ---------- stacked_notes : dict Dictionary containing (slic
amt_tools/tools/utils.py:906
Functionstacked_notes_to_hz
Convert stacked notes from MIDI to Hertz. Parameters ---------- stacked_notes : dict Dictionary containing (slice -> (pitches
amt_tools/tools/utils.py:784
Functionstacked_notes_to_midi
Convert stacked notes from Hertz to MIDI. Parameters ---------- stacked_notes : dict Dictionary containing (slice -> (pitches
amt_tools/tools/utils.py:814
Functionstacked_notes_to_notes
Convert a dictionary of stacked notes into a single representation. Parameters ---------- stacked_notes : dict Dictionary cont
amt_tools/tools/utils.py:500
Functionstacked_notes_to_stacked_multi_pitch
Convert a dictionary of MIDI note groups into a stack of multi pitch arrays. Parameters ---------- stacked_notes : dict Dictio
amt_tools/tools/utils.py:1880
Functionstacked_notes_to_stacked_offsets
Obtain the offsets of stacked loose MIDI note groups in stacked multi pitch format. Parameters ---------- stacked_notes : dict
amt_tools/tools/utils.py:2597
Functionstacked_notes_to_stacked_onsets
Obtain the onsets of stacked loose MIDI note groups in stacked multi pitch format. Parameters ---------- stacked_notes : dict
amt_tools/tools/utils.py:2420
Functionstacked_pitch_list_to_hz
Convert stacked pitch list from MIDI to Hertz. Parameters ---------- stacked_pitch_list : dict Dictionary containing (slice ->
amt_tools/tools/utils.py:1537
Functionstacked_pitch_list_to_midi
Convert stacked pitch list from Hertz to MIDI. Parameters ---------- stacked_pitch_list : dict Dictionary containing (slice ->
amt_tools/tools/utils.py:1567
Functionstacked_pitch_list_to_pitch_list
Convert a dictionary of stacked pitch lists into a single representation. Parameters ---------- stacked_pitch_list : dict Dict
amt_tools/tools/utils.py:987
Functionstacked_pitch_list_to_tablature
Convert a stacked MIDI pitch list into a single class representation. Parameters ---------- stacked_pitch_list : dict Dictiona
amt_tools/tools/utils.py:2067
Methodstart_streaming
Begin streaming the audio.
amt_tools/features/stream.py:72
Methodstart_streaming
Begin streaming audio from the microphone.
amt_tools/features/stream.py:417
Methodstart_streaming
Begin streaming the audio.
amt_tools/features/stream.py:810
Functionstream_url_resource
Download a file at a URL by streaming it. Parameters ---------- url : string URL pointing to the file save_path : string
amt_tools/tools/io.py:737
Functiontabcnn_cross_val
(sample_rate, hop_length, num_frames, iterations, checkpoints, batch_size,
examples/papers/tabcnn.py:76
Functiontablature_to_logistic
Helper function to convert tablature to unique string/fret combinations. Parameters ---------- tablature : tensor (S x T) Arra
amt_tools/tools/utils.py:2293
Functiontime_series_to_uniform
Convert a semi-regular time series with gaps into a uniform time series. Adapted from mir_eval pull request #336. Parameters ------
amt_tools/tools/utils.py:3232
Methodto_decibels
Convert features to decibels (dB) units. This will be taken care of in the lower-level VQT modules. Parameters -----
amt_tools/features/hvqt.py:135
Methodto_decibels
Convert features to decibels (dB) units. Parameters ---------- feats : ndarray Calculated power features
amt_tools/features/mel.py:78
Methodtoggle_online
Toggle the flag for padding input features. This is necessary to differentiate between training/validation, where there is ground-tru
amt_tools/models/tabcnn.py:89
Methodunpack
This should not be called directly on a ComboEvaluator.
amt_tools/evaluate.py:605
Methodunpack
Unpack the loss from the dictionary of estimates and ignore the ground-truth. Parameters ---------- estimated : dict
amt_tools/evaluate.py:678
Functionunpack_dict
Determine the corresponding entry for a dictionary key. TODO - can use this many places (e.g. datasets) to be safe and neat Parameters
amt_tools/tools/utils.py:3823
Functionunpack_pitch_list
Unpack from save-friendly format the loose times and observations of a pitch list. Parameters ---------- packed_pitch_list : ndarray
amt_tools/tools/utils.py:1323
Functionunpack_stacked_representation
Unpack from save-friendly format the key-value pairs of a stacked representation. Parameters ---------- packed_stacked_representatio
amt_tools/tools/utils.py:3390
Functionunroll_pitch_list
Make a time-pitch pair for each active pitch in each frame. Parameters ---------- times : ndarray (N) Time in seconds of begin
amt_tools/tools/utils.py:1242
Functionunzip_and_remove
Unzip a zip file and remove it. Parameters ---------- zip_path : string Path to the zip file target : string or None
amt_tools/tools/io.py:769
Methodupdate
Update the internal state of the waveform visualizer and display the updated plot. Parameters ---------- samples : n
amt_tools/tools/visualize.py:367
Methodupdate
Update the internal state of the TFR visualizer and display the updated plot. Parameters ---------- frames : ndarray
amt_tools/tools/visualize.py:532
Methodupdate
Update the internal state of the stacked pitch list visualizer and display the updated plot. Parameters ---------- c
amt_tools/tools/visualize.py:770
Methodupdate
Update the internal state of the guitar tablature visualizer and display the updated plot. Parameters ---------- cur
amt_tools/tools/visualize.py:990
Methodupdate
Update the internal state of the pianoroll visualizer and display the updated plot. Parameters ---------- frames : n
amt_tools/tools/visualize.py:1153
Methodwrite
Write the multi pitch activation maps to a file. Parameters ---------- multi_pitch : ndarray (... x F x T)
amt_tools/transcribe.py:349
Methodwrite
Write slice-wise note estimates to respective files. Parameters ---------- stacked_notes : dict Dictionary
amt_tools/transcribe.py:483
Methodwrite
Write note estimates to a file. Parameters ---------- batched_notes : ndarray (N x 3) Array of note interv
amt_tools/transcribe.py:765
Methodwrite
Write slice-wise pitch estimates to respective files. Parameters ---------- stacked_pitch_list : dict Dict
amt_tools/transcribe.py:1005
Methodwrite
Write pitch estimates to a file. Parameters ---------- pitch_list : tuple containing times : ndarray (N)
amt_tools/transcribe.py:1073
Functionwrite_list
Write all items in a list to a file. Parameters ---------- lst : list of object Collection of items to write path : string
amt_tools/tools/io.py:569
Functionwrite_notes
Write all of the notes in a loose collection to a file. Parameters ---------- pitches : ndarray (N) Array of pitches correspon
amt_tools/tools/io.py:632
Functionwrite_pitch_list
Write all of the notes in a loose collection to a file. Parameters ---------- times : ndarray (N) Time in seconds of beginning
amt_tools/tools/io.py:594
Functionwrite_stacked_notes_jams
Helper function to create a JAMS file and populate it with stacked notes. Parameters ---------- stacked_notes : dict Dictionar
amt_tools/tools/io.py:671
Functionzip_and_save
Zip the contents of a directory and save the compressed file to disk. Parameters ---------- dir_path : string Path to the dire
amt_tools/tools/io.py:796
← previous401–459 of 459, ranked by callers