Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If there is a simpler way to use your method #1

Open
karimkalimu opened this issue Oct 19, 2021 · 1 comment
Open

If there is a simpler way to use your method #1

karimkalimu opened this issue Oct 19, 2021 · 1 comment

Comments

@karimkalimu
Copy link

karimkalimu commented Oct 19, 2021

Hi

I tried to run notebooks, but most of them use files that not included in the repository like(csv files, magenta model, pkl files...)

I want to test the system using midi and sheet music as input without using AMT step if that possible, if not possible its also ok, but I couldn't manage to take only the needed code for testing

Is there a code for testing, or can you guide me how to use notebooks for testing on my own files without evaluation?

appreciate your consideration

@karimkalimu karimkalimu changed the title A simple way to use your method If there is a simpler way to use your method Oct 19, 2021
@tjtsai
Copy link
Contributor

tjtsai commented Oct 28, 2021

You're right that the notebooks use the Magenta piano transcription system to convert audio into MIDI as a preprocessing step. If you already have the MIDI files, you can simply call processMidiFile() instead of processAudioFile() in 02_computeAudioFeatures.ipynb.

So you will want to:

  • preprocess your sheet music as described in 01_prepData.ipynb
  • call processMidiFile() to compute a bootleg score on the MIDI file of interest
  • run 03_sheetBootleg.ipynb to compute a bootleg score on the sheet music of interest
  • call 06_hierarchicalDTW.ipynb to estimate the alignments

You will have to modify the corresponding arguments/variables/configuration files in 06_hierarchicalDTW.ipynb.

Unfortunately, the student who developed this codebase has graduated and is no longer actively maintaining this. Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants