MCPcopy Create free account

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

Functions459 in github.com/cwitkowitz/amt-tools

Method__init__
Initialize parameters for the evaluator. Parameters ---------- See StackedNoteEvaluator...
amt_tools/evaluate.py:995
Method__init__
Initialize parameters for the evaluator. Parameters ---------- See StackedEvaluator class for others... pit
amt_tools/evaluate.py:1048
Method__init__
Initialize parameters for the evaluator. Parameters ---------- See StackedPitchListEvaluator class...
amt_tools/evaluate.py:1146
Method__init__
Initialize parameters for the evaluator. Parameters ---------- See Evaluator class for others... profile :
amt_tools/evaluate.py:1200
Method__init__
Initialize the common properties among instrument profiles. Parameters ---------- low : int Lowest midi no
amt_tools/tools/instrument.py:19
Method__init__
Initialize the common properties among tablature profiles. Parameters ---------- tuning : list of str Name
amt_tools/tools/instrument.py:109
Method__init__
Initialize the profile and establish parameter defaults in function signature. Parameters ---------- tuning : list o
amt_tools/tools/instrument.py:268
Method__init__
Initialize parameters for the waveform visualizer. Parameters ---------- See Visualizer class for others...
amt_tools/tools/visualize.py:339
Method__init__
Initialize parameters for the TFR visualizer. Parameters ---------- See Visualizer class for others... sampl
amt_tools/tools/visualize.py:497
Method__init__
Initialize parameters for the stacked pitch list visualizer. Parameters ---------- See Visualizer class for others..
amt_tools/tools/visualize.py:742
Method__init__
Initialize parameters for the guitar tablature visualizer. Parameters ---------- See Visualizer class for others...
amt_tools/tools/visualize.py:962
Method__init__
Initialize parameters for the pianoroll visualizer. Parameters ---------- See TFRVisualizer class for others...
amt_tools/tools/visualize.py:1139
Method__init__
Initialize parameters for the HVQT. Parameters ---------- See FeatureModule & VQT class for others... fmin :
amt_tools/features/hvqt.py:16
Method__init__
Initialize parameters for the waveform wrapper. Parameters ---------- See FeatureModule class for others...
amt_tools/features/waveform.py:18
Method__init__
Initialize parameters for computing signal power. Parameters ---------- See WaveformWrapper class...
amt_tools/features/power.py:16
Method__init__
Initialize parameters for the HCQT. Parameters ---------- See HVQT class...
amt_tools/features/hcqt.py:11
Method__init__
Initialize parameters for the streaming wrapper. Parameters ---------- module : FeatureModule Feature extr
amt_tools/features/stream.py:38
Method__init__
Initialize parameters for the microphone streaming interface. Parameters ---------- See FeatureStream class for othe
amt_tools/features/stream.py:260
Method__init__
Initialize parameters for the audio file streaming interface. Parameters ---------- See AudioStream class for others
amt_tools/features/stream.py:785
Method__init__
Initialize parameters for the Mel Spectrogram. Parameters ---------- See WaveformWrapper class for others...
amt_tools/features/stft.py:15
Method__init__
Initialize parameters for the Mel Spectrogram. Parameters ---------- See STFT class for others... n_mels : i
amt_tools/features/mel.py:15
Method__init__
Initialize parameters common to all feature extraction modules. Parameters ---------- sample_rate : int or float
amt_tools/features/common.py:20
Method__init__
Initialize parameters for the feature combination. Parameters ---------- modules : list of FeatureModules
amt_tools/features/combo.py:18
Method__init__
Initialize parameters for the VQT. Parameters ---------- See FeatureModule class for others... fmin : float
amt_tools/features/vqt.py:21
Method__init__
Initialize the dataset and establish parameter defaults in function signature. Parameters ---------- See Transcripti
amt_tools/datasets/GuitarSet.py:18
Method__init__
Call the parent constructor.
amt_tools/datasets/MAESTRO.py:169
Method__init__
Call the parent constructor.
amt_tools/datasets/MAESTRO.py:216
Method__init__
Call the parent constructor.
amt_tools/datasets/MAESTRO.py:263
Method__init__
Initialize parameters common to all datasets as fields and instantiate as a PyTorch Dataset. Parameters ----------
amt_tools/datasets/common.py:34
Method__init__
Initialize the dataset and establish parameter defaults in function signature. Parameters ---------- See Transcripti
amt_tools/datasets/MAPS.py:18
Method__init__
amt_tools/datasets/combo.py:21
Method__init__
Initialize the model and establish parameter defaults in function signature. Parameters ---------- See Transcription
amt_tools/models/tabcnn.py:16
Method__init__
Initialize parameters common to all models and instantiate model as a PyTorch Module. Parameters ----------
amt_tools/models/common.py:23
Method__init__
Initialize fields of the multi-label softmax layer. Parameters ---------- dim_in : int Dimensionality of i
amt_tools/models/common.py:316
Method__init__
Initialize fields of the multi-label logistic layer. Parameters ---------- dim_in : int Dimensionality of
amt_tools/models/common.py:496
Method__init__
Initialize the model and establish parameter defaults in function signature. Parameters ---------- See OnsetsFrames
amt_tools/models/onsetsframes.py:204
Method__init__
Initialize the acoustic model and establish parameter defaults in function signature. Parameters ---------- dim_in :
amt_tools/models/onsetsframes.py:339
Method__init__
Initialize the language model and establish parameter defaults in function signature. Parameters ---------- dim_in :
amt_tools/models/onsetsframes.py:471
Method__init__
Initialize the language model and establish parameter defaults in function signature. Parameters ---------- See Lang
amt_tools/models/onsetsframes.py:583
Method__len__
Defines the notion of length for the dataset - used by PyTorch Dataset class. Returns ---------- length : int
amt_tools/datasets/common.py:159
Methodavailable_splits
Obtain a list of possible splits. Currently, the splits are by player, but we could equally do genre, key, etc., as long as get_track
amt_tools/datasets/GuitarSet.py:165
Methodavailable_splits
Obtain a list of possible splits. Currently, the splits are train/validation/test. Returns ---------- splits : list
amt_tools/datasets/MAESTRO.py:135
Methodaverage_results
Return the average of the currently tracked results across all evaluators. Returns ---------- average : dictionary
amt_tools/evaluate.py:566
Functionbatched_notes_to_hz
Convert batched notes from MIDI to Hertz. Parameters ---------- batched_notes : ndarray (N x 3) Array of note intervals and MI
amt_tools/tools/utils.py:276
Functionbatched_notes_to_midi
Convert batched notes from Hertz to MIDI. Parameters ---------- batched_notes : ndarray (N x 3) Array of note intervals and He
amt_tools/tools/utils.py:299
Functionbatched_notes_to_stacked_notes
Convert a collection of (batched) notes into a dictionary of stacked notes. Parameters ---------- batched_notes : ndarray (N x 3)
amt_tools/tools/utils.py:749
Functionblur_activations
Blur activations by convolving them with a kernel. Parameters ---------- activations : ndarray Provided activations kernel
amt_tools/tools/utils.py:2817
Functioncat_stacked_notes
Concatenate two collections of stacked notes. Parameters ---------- stacked_notes : dict Dictionary containing (slice -> (pitc
amt_tools/tools/utils.py:844
Functioncat_stacked_pitch_list
Concatenate two stacked pitch lists, appending observations with new times and blending observations with preexisting times. This functio
amt_tools/tools/utils.py:1629
Functionchange_base_dir
Change the top-level directory from the path chain of each file. Parameters ---------- new_dir : string New top-level director
amt_tools/tools/io.py:821
Functioncompute_time_difference
Obtain the time elapsed since the given system time. Parameters ---------- start_time : float Arbitrary system time decima
amt_tools/tools/utils.py:4017
Functionconfig
()
examples/papers/of_2.py:36
Functionconfig
()
examples/papers/tabcnn.py:39
Functionconfig
()
examples/papers/of_1.py:36
Functioncontains_empties_pitch_list
Determine if a pitch list representation contains empty observations. Parameters ---------- pitch_list : list of ndarray (N x [...])
amt_tools/tools/utils.py:1376
Functiondetect_overlap_notes
Determine if a set of intervals contains any overlap. Parameters ---------- intervals : ndarray (N x 2) Array of onset-offset
amt_tools/tools/utils.py:615
Functiondetect_overlap_pitch_list
Determine if a pitch list representation contains overlapping pitch contours. Parameters ---------- pitch_list : list of ndarray (N
amt_tools/tools/utils.py:1398
Functiondict_append
Append together matching entries of two dictionaries. This will deliberately skip tuples, as in stacked representations. TODO - may be re
amt_tools/tools/utils.py:3738
Functiondict_detach
Detach gradient computation for all tensors. Parameters ---------- track : dict Dictionary containing data for a track Re
amt_tools/tools/utils.py:3795
Functiondict_squeeze
Collapse unnecessary dimensions of an array or tensor. Parameters ---------- track : dict Dictionary containing data for a tra
amt_tools/tools/utils.py:3655
Functiondict_to_array
Convert all tensor entries in a dictionary to ndarray. Parameters ---------- track : dict Dictionary containing data for a tra
amt_tools/tools/utils.py:3584
Functiondict_to_device
Add all tensor entries in a dictionary to a specified device. Parameters ---------- track : dict Dictionary containing data fo
amt_tools/tools/utils.py:3547
Functiondict_to_dtype
Convert all ndarray entries in a dictionary to a specified type. Parameters ---------- track : dict Dictionary containing data
amt_tools/tools/utils.py:3505
Functiondict_to_tensor
Convert all ndarray entries in a dictionary to tensors. Parameters ---------- track : dict Dictionary containing data for a tr
amt_tools/tools/utils.py:3620
Functiondict_unsqueeze
Add a new dimension to an array or tensor. Parameters ---------- track : dict Dictionary containing data for a track dim :
amt_tools/tools/utils.py:3697
Methoddownload
Download GuitarSet to a specified location. Parameters ---------- save_dir : string Directory in which to
amt_tools/datasets/GuitarSet.py:181
Methoddownload
Download MAESTRO version 1 to a specified location. Parameters ---------- save_dir : string Directory in w
amt_tools/datasets/MAESTRO.py:177
Methoddownload
Download MAESTRO version 2 to a specified location. Parameters ---------- save_dir : string Directory in w
amt_tools/datasets/MAESTRO.py:224
Methoddownload
Download MAESTRO version 3 to a specified location. Parameters ---------- save_dir : string Directory in w
amt_tools/datasets/MAESTRO.py:271
Methoddownload
Currently, this function stops execution. I am not aware of a way to automatically download MAPS. I will consider this again some tim
amt_tools/datasets/MAPS.py:240
Methoddownload
Each constituent dataset will be downloaded, if necessary, at the time of it's initialization. Parameters ----------
amt_tools/datasets/combo.py:65
Methodestimate
Here, just simply pass through the raw multi pitch data. Parameters ---------- raw_output : dict Dictionar
amt_tools/transcribe.py:327
Methodestimate
Estimate notes for each slice of a stacked multi pitch activation map. Parameters ---------- raw_output : dict
amt_tools/transcribe.py:420
Methodestimate
Track notes for each slice of a stacked multi pitch activation map, acquiring note estimates when the notes are complete. TO
amt_tools/transcribe.py:560
Methodestimate
Estimate notes from a multi pitch activation map. Parameters ---------- raw_output : dict Dictionary conta
amt_tools/transcribe.py:722
Methodestimate
Track notes within a multi pitch activation map, acquiring note estimates when the notes are complete. TODO - verify transcr
amt_tools/transcribe.py:804
Methodestimate
Refine a stacked multi pitch activation map. Parameters ---------- raw_output : dict Dictionary containing
amt_tools/transcribe.py:876
Methodestimate
Refine a multi pitch activation map. Parameters ---------- raw_output : dict Dictionary containing raw out
amt_tools/transcribe.py:915
Methodestimate
Convert stacked multi pitch activations to stacked pitch lists. Parameters ---------- raw_output : dict Di
amt_tools/transcribe.py:979
Methodestimate
Convert a multi pitch activation map to a pitch list. Parameters ---------- raw_output : dict Dictionary c
amt_tools/transcribe.py:1043
Methodestimate
Convert tablature into a stacked multi pitch activation map. Parameters ---------- raw_output : dict Dicti
amt_tools/transcribe.py:1121
Methodestimate
Convert a stacked multi pitch activation map into a single multi pitch representation. Parameters ---------- raw_out
amt_tools/transcribe.py:1178
Methodestimate
Convert stacked notes into a single notes representation. Parameters ---------- raw_output : dict Dictiona
amt_tools/transcribe.py:1209
Methodestimate
Convert a stacked pitch list into a single representation. Parameters ---------- raw_output : dict Diction
amt_tools/transcribe.py:1239
Methodestimate
Convert a stacked multi pitch activation map into a stacked onsets activation map. Parameters ---------- raw_output
amt_tools/transcribe.py:1299
Methodestimate
Convert a stacked multi pitch activation map into a stacked offsets activation map. Parameters ---------- raw_output
amt_tools/transcribe.py:1339
Methodevaluate
This should not be called directly on a ComboEvaluator.
amt_tools/evaluate.py:613
Methodevaluate
Simply return loss in a new results dictionary. Parameters ---------- estimated : ndarray Single loss valu
amt_tools/evaluate.py:706
Methodevaluate
Evaluate a stacked multi pitch estimate with respect to a reference. Parameters ---------- estimated : ndarray (S x
amt_tools/evaluate.py:794
Methodevaluate
Evaluate a multi pitch estimate with respect to a reference. Parameters ---------- estimated : ndarray (F x T)
amt_tools/evaluate.py:875
Methodevaluate
Evaluate stacked note estimates with respect to a reference. Parameters ---------- estimated : dict Dictio
amt_tools/evaluate.py:936
Methodevaluate
Evaluate note estimates with respect to a reference. Parameters ---------- estimated : ndarray (N x 3) Arr
amt_tools/evaluate.py:1007
Methodevaluate
Evaluate stacked pitch list estimates with respect to a reference. Parameters ---------- estimated : dict
amt_tools/evaluate.py:1076
Methodevaluate
Evaluate pitch list estimates with respect to a reference. Parameters ---------- estimated : tuple containing
amt_tools/evaluate.py:1158
Methodevaluate
Evaluate a stacked multi pitch tablature estimate with respect to a reference. Parameters ---------- estimated : nda
amt_tools/evaluate.py:1225
Methodevaluate
Evaluate class membership estimates with respect to a reference. Parameters ---------- estimated : ndarray (S x T)
amt_tools/evaluate.py:1310
Methodextract_frame_features
Acquire the next frame of features from the stream. Returns ---------- features : ndarray Features for one
amt_tools/features/stream.py:511
Functionfile_sort
Augment file names for sorting since, e.g., /'500/' will by default be scored as higher than /'1500/'. One way to fix this is by adding the
amt_tools/tools/io.py:846
Functionfilter_batched_note_repeats
Remove any note duplicates, where a duplicate is defined as an entry with the same pitch and onset time. If there are duplicates, we keep
amt_tools/tools/utils.py:192
Functionfilter_stacked_note_repeats
Remove any note duplicates within each slice, where a duplicate is defined as an entry with the same pitch and onset time. Parameters
amt_tools/tools/utils.py:880
← previousnext →201–300 of 459, ranked by callers