Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cwitkowitz/amt-tools
/ functions
Functions
459 in github.com/cwitkowitz/amt-tools
⨍
Functions
459
◇
Types & classes
72
Method
remove_overlapping
Remove any tracks contained in the given splits from the initial dataset partition, should they exist. Parameters --
amt_tools/datasets/MAESTRO.py:66
Method
reset_state
Reset all the estimators in the combo.
amt_tools/transcribe.py:159
Method
reset_state
Zero-out the tracked state.
amt_tools/transcribe.py:793
Method
reset_stream
Perform any steps to reset the stream.
amt_tools/features/stream.py:60
Function
rms_norm
Perform root-mean-square normalization. Parameters ---------- audio : ndarray (N) Mono-channel audio to normalize N - nu
amt_tools/tools/utils.py:2789
Method
run
Thread execution method to continually update the audio buffer when the stream is active.
amt_tools/features/stream.py:463
Function
save_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
Function
seed_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
Function
slice_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
Function
slice_stacked_pitch_list
Retain pitch observations within a time window. Parameters ---------- stacked_pitch_list : dict Dictionary containing (slice -
amt_tools/tools/utils.py:1597
Function
slice_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
Function
stacked_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
Function
stacked_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
Function
stacked_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
Function
stacked_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
Function
stacked_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
Function
stacked_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
Function
stacked_notes_to_hz
Convert stacked notes from MIDI to Hertz. Parameters ---------- stacked_notes : dict Dictionary containing (slice -> (pitches
amt_tools/tools/utils.py:784
Function
stacked_notes_to_midi
Convert stacked notes from Hertz to MIDI. Parameters ---------- stacked_notes : dict Dictionary containing (slice -> (pitches
amt_tools/tools/utils.py:814
Function
stacked_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
Function
stacked_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
Function
stacked_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
Function
stacked_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
Function
stacked_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
Function
stacked_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
Function
stacked_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
Function
stacked_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
Method
start_streaming
Begin streaming the audio.
amt_tools/features/stream.py:72
Method
start_streaming
Begin streaming audio from the microphone.
amt_tools/features/stream.py:417
Method
start_streaming
Begin streaming the audio.
amt_tools/features/stream.py:810
Function
stream_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
Function
tabcnn_cross_val
(sample_rate, hop_length, num_frames, iterations, checkpoints, batch_size,
examples/papers/tabcnn.py:76
Function
tablature_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
Function
time_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
Method
to_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
Method
to_decibels
Convert features to decibels (dB) units. Parameters ---------- feats : ndarray Calculated power features
amt_tools/features/mel.py:78
Method
toggle_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
Method
unpack
This should not be called directly on a ComboEvaluator.
amt_tools/evaluate.py:605
Method
unpack
Unpack the loss from the dictionary of estimates and ignore the ground-truth. Parameters ---------- estimated : dict
amt_tools/evaluate.py:678
Function
unpack_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
Function
unpack_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
Function
unpack_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
Function
unroll_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
Function
unzip_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
Method
update
Update the internal state of the waveform visualizer and display the updated plot. Parameters ---------- samples : n
amt_tools/tools/visualize.py:367
Method
update
Update the internal state of the TFR visualizer and display the updated plot. Parameters ---------- frames : ndarray
amt_tools/tools/visualize.py:532
Method
update
Update the internal state of the stacked pitch list visualizer and display the updated plot. Parameters ---------- c
amt_tools/tools/visualize.py:770
Method
update
Update the internal state of the guitar tablature visualizer and display the updated plot. Parameters ---------- cur
amt_tools/tools/visualize.py:990
Method
update
Update the internal state of the pianoroll visualizer and display the updated plot. Parameters ---------- frames : n
amt_tools/tools/visualize.py:1153
Method
write
Write the multi pitch activation maps to a file. Parameters ---------- multi_pitch : ndarray (... x F x T)
amt_tools/transcribe.py:349
Method
write
Write slice-wise note estimates to respective files. Parameters ---------- stacked_notes : dict Dictionary
amt_tools/transcribe.py:483
Method
write
Write note estimates to a file. Parameters ---------- batched_notes : ndarray (N x 3) Array of note interv
amt_tools/transcribe.py:765
Method
write
Write slice-wise pitch estimates to respective files. Parameters ---------- stacked_pitch_list : dict Dict
amt_tools/transcribe.py:1005
Method
write
Write pitch estimates to a file. Parameters ---------- pitch_list : tuple containing times : ndarray (N)
amt_tools/transcribe.py:1073
Function
write_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
Function
write_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
Function
write_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
Function
write_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
Function
zip_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
← previous
401–459 of 459, ranked by callers