audio2midi 0.13.0__py2.py3-none-any.whl → 0.15.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: audio2midi
3
- Version: 0.13.0
3
+ Version: 0.15.0
4
4
  Summary: Audio To Midi
5
5
  Author-email: dummyjenil <dummyjenil@gmail.com>
6
6
  Provides-Extra: all
@@ -174,7 +174,7 @@ from audio2midi.melodia_pitch_detector import Melodia
174
174
  from audio2midi.pop2piano import Pop2Piano
175
175
  from audio2midi.violin_pitch_detector import Violin_Pitch_Det
176
176
  from audio2midi.mt3_music_transcription import MT3
177
- from yourmt3_music_transcription import YMT3
177
+ from audio2midi.yourmt3_music_transcription import YMT3
178
178
  from audio2midi.magenta_music_transcription import Magenta
179
179
  from os import environ
180
180
  from huggingface_hub import hf_hub_download
@@ -236,7 +236,7 @@ gr.TabbedInterface([
236
236
  gr.Interface(CrepeTF(getenv("crepe_model_capacity","full")).predict,[gr.Audio(type="filepath",label="Input Audio"),gr.Checkbox(False,label="viterbi",info="Apply viterbi smoothing to the estimated pitch curve"),gr.Checkbox(True,label="center"),gr.Number(10,label="step size",info="The step size in milliseconds for running pitch estimation."),gr.Number(0.8,label="minimum confidence"),gr.Number(32,label="batch size")],gr.File(label="Midi File")),
237
237
  gr.Interface(Pop2Piano(device).predict,[gr.Audio(label="Input Audio",type="filepath"),gr.Number(1, minimum=1, maximum=21, label="Composer"),gr.Number(2,label="Details in Piano"),gr.Number(1,label="Efficiency of Piano"),gr.Radio([1,2,4],label="steps per beat",value=2)],gr.File(label="MIDI File")),
238
238
  gr.Interface(MT3(str(Path("mt3_model").absolute())).predict,[gr.Audio(label="Input Audio",type="filepath"),gr.Number(0,label="seed")],gr.File(label="MIDI File")),
239
- gr.Interface(YMT3(hf_hub_download("shethjenil/Audio2Midi_Models",f"{name}.pt"),name,"32" if str(device) == "cpu" else "16",device).predict,gr.gr.Audio(label="Input Audio",type="filepath"),gr.File(label="MIDI File"))
239
+ gr.Interface(YMT3(hf_hub_download("shethjenil/Audio2Midi_Models",f"{getenv("crepe_model_capacity","YMT3+")}.pt"),getenv("crepe_model_capacity","YMT3+"),"32" if str(device) == "cpu" else "16",device).predict,gr.gr.Audio(label="Input Audio",type="filepath"),gr.File(label="MIDI File")),
240
240
  midi_viz_ui
241
241
  ],["Normal Pitch Detection","Guitar Based Pitch Detection","Melodia","Spotify Pitch Detection","Magenta Pitch Detection","Violin Based Pitch Detection","Crepe Pitch Detection","Crepe Pitch Detection TF","Pop2Piano","MT3","YourMT3","Midi Vizulizer"]).launch()
242
242
  ```
@@ -10,6 +10,6 @@ audio2midi/pop2piano.py,sha256=kBAF1kY-5Ctu92etNLo4Clr1hkW1B5OCvd-XT7SrI8g,12568
10
10
  audio2midi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  audio2midi/violin_pitch_detector.py,sha256=C0--R0NaYcIyAFELGgebbs3yjAnQeVdtpk4iZ2NbUIA,61650
12
12
  audio2midi/yourmt3_music_transcription.py,sha256=ZS-2EOog6fVoRpbR4RjrDlHytDFNsLQOCHw344JtVsE,26
13
- audio2midi-0.13.0.dist-info/METADATA,sha256=pipWwhfmNPwEvotNSFLmQ2_K56s-GCCYKRjgMrGxcYM,14635
14
- audio2midi-0.13.0.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
15
- audio2midi-0.13.0.dist-info/RECORD,,
13
+ audio2midi-0.15.0.dist-info/METADATA,sha256=ya205gafmDLXGmZhVbtLOJvTFI44PGF2DP0FYITG3ks,14715
14
+ audio2midi-0.15.0.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
15
+ audio2midi-0.15.0.dist-info/RECORD,,