alexsteb / GuitarPro-to-Midi

Convert all GuitarPro formats (3 to 7) to Midi simulating bending, overtones etc.
MIT License
41 stars 21 forks source link

No "call_gp_decoder" in the Unity package #2

Open soundsofsilence opened 5 years ago

soundsofsilence commented 5 years ago

the Unity package has no scenes at all and no files named "call_gp_decoder." I'm a newbie, so perhaps I'm missing something obvious.

Screenshot 2019-06-13 04 35 29 Screenshot 2019-06-13 05 10 17 Screenshot 2019-06-13 05 10 21
sasualx commented 5 years ago

I experienced the same and in my project I slightly modified the code and created a main function and it worked. you can check it out here https://github.com/sasualx/BSc-Thesis/tree/master/GuitarPro-to-Midi.

You have to first go into open_gp_file.cs and change the output folder to "./" from "../MIDI-Files/". Afterwards you run ./build And using mono you run the command mono Convert.exe <file-name>

s070s commented 4 years ago

Hello.... a noob here I wanted to ask regarding the compilation of this. You did compile this code outside Unity using Mono? Also for the commands "./build" and "mono Convert.exe" Where do you input those? Thanks in advance

sasualx commented 4 years ago

you run them in your terminal while the working directory is the main directory of the repository

rageagainsthepc commented 3 years ago

Hi, in case anyone is still interested: I have forked this repo, added a proper command line parser and set up github CI so it produces a single binary for Windows, Linux and Mac which you can download in the release section of my fork. So, there would be no compilation or installation of any dependency (e.g. mono) involved. https://github.com/rageagainsthepc/GuitarPro-to-Midi/releases/tag/v0.1.1 Now, I'd be interested in merging my changes into this repo but it looks like the maintainer isn't active anymore. :(