projectlosangeles commited on
Commit
492b31f
1 Parent(s): 9b04778

Upload 2 files

Browse files
Master_MIDI_Dataset_Search_and_Filter.ipynb CHANGED
@@ -254,11 +254,11 @@
254
  "\n",
255
  "pitches_counts_cutoff_threshold_ratio = 0 #@param {type:\"slider\", min:0, max:1, step:0.05}\n",
256
  "search_transposed_pitches = False #@param {type:\"boolean\"}\n",
257
- "skip_exact_matches = False #@param {type:\"boolean\"}\n",
258
  "\n",
259
  "#@markdown Additional search options\n",
260
  "\n",
261
- "add_pitches_counts_ratios = True #@param {type:\"boolean\"}\n",
262
  "add_timings_ratios = False #@param {type:\"boolean\"}\n",
263
  "add_durations_ratios = False #@param {type:\"boolean\"}\n",
264
  "\n",
@@ -669,7 +669,7 @@
669
  "\n",
670
  " shutil.copy2(f, copy_path+'/'+fn)\n",
671
  "\n",
672
- " fff = str(max_ratio * 100) + '_' + ffn\n",
673
  "\n",
674
  " shutil.copy2(ff, copy_path+'/'+fff)\n",
675
  " \n",
 
254
  "\n",
255
  "pitches_counts_cutoff_threshold_ratio = 0 #@param {type:\"slider\", min:0, max:1, step:0.05}\n",
256
  "search_transposed_pitches = False #@param {type:\"boolean\"}\n",
257
+ "skip_exact_matches = True #@param {type:\"boolean\"}\n",
258
  "\n",
259
  "#@markdown Additional search options\n",
260
  "\n",
261
+ "add_pitches_counts_ratios = False #@param {type:\"boolean\"}\n",
262
  "add_timings_ratios = False #@param {type:\"boolean\"}\n",
263
  "add_durations_ratios = False #@param {type:\"boolean\"}\n",
264
  "\n",
 
669
  "\n",
670
  " shutil.copy2(f, copy_path+'/'+fn)\n",
671
  "\n",
672
+ " fff = str(max_ratio * 100) + '_' + ffn + '.mid'\n",
673
  "\n",
674
  " shutil.copy2(ff, copy_path+'/'+fff)\n",
675
  " \n",
master_midi_dataset_search_and_filter.py CHANGED
@@ -4,7 +4,7 @@
4
  Automatically generated by Colaboratory.
5
 
6
  Original file is located at
7
- https://colab.research.google.com/drive/1bHH8LjCdE2nhYOfBv4TdCltvW2PWxGol
8
 
9
  # Master MIDI Dataset Search and Filter (ver. 1.0)
10
 
@@ -147,11 +147,11 @@ maximum_match_ratio_to_search_for = 1 #@param {type:"slider", min:0, max:1, step
147
 
148
  pitches_counts_cutoff_threshold_ratio = 0 #@param {type:"slider", min:0, max:1, step:0.05}
149
  search_transposed_pitches = False #@param {type:"boolean"}
150
- skip_exact_matches = False #@param {type:"boolean"}
151
 
152
  #@markdown Additional search options
153
 
154
- add_pitches_counts_ratios = True #@param {type:"boolean"}
155
  add_timings_ratios = False #@param {type:"boolean"}
156
  add_durations_ratios = False #@param {type:"boolean"}
157
 
@@ -562,7 +562,7 @@ for f in filez:
562
 
563
  shutil.copy2(f, copy_path+'/'+fn)
564
 
565
- fff = str(max_ratio * 100) + '_' + ffn
566
 
567
  shutil.copy2(ff, copy_path+'/'+fff)
568
 
 
4
  Automatically generated by Colaboratory.
5
 
6
  Original file is located at
7
+ https://colab.research.google.com/github/asigalov61/Los-Angeles-MIDI-Dataset/blob/main/Extras/Master_MIDI_Dataset_Search_and_Filter.ipynb
8
 
9
  # Master MIDI Dataset Search and Filter (ver. 1.0)
10
 
 
147
 
148
  pitches_counts_cutoff_threshold_ratio = 0 #@param {type:"slider", min:0, max:1, step:0.05}
149
  search_transposed_pitches = False #@param {type:"boolean"}
150
+ skip_exact_matches = True #@param {type:"boolean"}
151
 
152
  #@markdown Additional search options
153
 
154
+ add_pitches_counts_ratios = False #@param {type:"boolean"}
155
  add_timings_ratios = False #@param {type:"boolean"}
156
  add_durations_ratios = False #@param {type:"boolean"}
157
 
 
562
 
563
  shutil.copy2(f, copy_path+'/'+fn)
564
 
565
+ fff = str(max_ratio * 100) + '_' + ffn + '.mid'
566
 
567
  shutil.copy2(ff, copy_path+'/'+fff)
568