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

unable to open in python #2

Open
greenpoem opened this issue Jul 23, 2018 · 5 comments
Open

unable to open in python #2

greenpoem opened this issue Jul 23, 2018 · 5 comments

Comments

@greenpoem
Copy link

hello zhanrnl~

thanks for your hard work. it is really nice to see your videos on vimeo.

i would like to try it out, but python failed to open it, giving me a blank python.exe screen which closes after some time. what could be the problem?
i have matplotlib, mido and numpy installed in the python already.

:)

@tukkek
Copy link

tukkek commented Jul 25, 2018

To figure out the problem, you need to run the script from the command line so you can see which errors the script produces. Also, what run script are you using, with which parameters, etc?

@greenpoem
Copy link
Author

greenpoem commented Jul 31, 2018

i tried to run Animator.py in the shell...
i'm not sure if it is 'command line' which u need, in order to tell why this is happening

i'm using windows 64 and python 3:
default

@tukkek
Copy link

tukkek commented Aug 2, 2018

My first impression was and still is that you're expecting a graphical window to show up so you can use PyMusAnim. PyMusAnim, however, is a command-line, Python-based tool - you need to configure its parameters and launch it with another Python "configuration" file. All of the "Run" files in the repository are examples of that.

Sadly, if you can't read one of the "Run" files, such as RunBeethoven74Anim.py and understand what it is doing, it's highly unlikely you'll be able to use PyMusAnim yourself. It wouldn't be your fault really since the project is a very barebones proof-of-concept and nowhere near a "full" software package.

My own fork of the project provides a more user-friendly interface but is still command-line based (or shell, as you prefer), it just skips the Python "run" configuration step. It's also only tested on Linux (although Mac could possibly work too, not sure).

@greenpoem
Copy link
Author

i'm ok with scripting, and the Run files are pretty self-explanatory.
i understand RunBeethoven74Anim.py.
but i guess i miss the midi files to read from, to get it to work and let python make the new folder and stuff.
as stated in your fork, ffmpeg and timidity are needed.
do i need them here?
im ok with python, just that it is my first time working on midi now. i usually use it in rhinoceros.

@tukkek
Copy link

tukkek commented Aug 3, 2018

I apologize for incorrectly assuming your level of familiarity with Python - even though I guess it's reasonable enough too given a lack of context.

i guess i miss the midi files to read from

You will need to provide your own files and your own "Run" launchers. PyMusAnim also has trouble reading a big number of MIDI files. You can read the README in my repository for info on converting them to a more readable format.

do i need them here?

No but you will need to figure out how to encode the audio and video yourself since PyMusAnim doesn't do that out-of-the-box. A clarification: my fork now prefers Musescore over Timidity.. I guess I need to update the text.

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