Comments (11)
I'm unclear as to why, but once I cd into that directory and python pianoplayer
it works fine. So for anyone who wants to do this on windows, make sure to download the \bin\ folder from github, place it into the directory and then cd into the \bin\ folder and run the pianoplayer file.
Thanks for making this!
from pianoplayer.
Hi @PharaohsVizier
anaconda is not needed in principle, unfortunately I have very little experience with windows..
what if you run something like:
python C:\Users\__USERNAME__\AppData\Local\Programs\Python\Python36\Lib\site-packages\pianoplayer\bin\pianoplayer
Or
edit the pianoplayer.bat
to add the correct path where you pip installed the package?
from pianoplayer.
I think that might be one of the challenges. After pip installation, the pianoplayer folder in site-packages doesn't have a bin folder with the pianoplayer file. After a search, I'm quite convinced it's nowhere.
I took it from the source code, placed it into the folder and tried to run it, but I get the same can't find '__main__' module
error.
I tried the pianoplayer.bat file as well and I get a flash. I'm almost certain I'm pointing it into the wrong path though. For the CALL, I've pointed it to the virtualenv activate, and for the python, I've pointed it towards the pianoplayer file in the bin folder.
from pianoplayer.
Thanks @PharaohsVizier for your input!
Actually after trying installing it on a windows partition I found that the pianoplayer script gets stored in a different path:
C:\Users\musy\AppData\Local\Programs\Python\Python37\Scripts\
so this starts the GUI normally on my system:
python C:\Users\musy\AppData\Local\Programs\Python\Python37\Scripts\pianoplayer
Note that you need to have musescore executable in your path, otherwise you can just open the output.xml
from the running musescore program (or using any other viewer).
I´ll leave this open and pinned in case it turns useful to other users.
from pianoplayer.
"generate" exports the invalid file that musescore does not read.
"musescore" doesn't work because it only sends a musescore command prompt which is not suitable for windows.
There is no information that you can't use a newer version of python from 3.6, and you cant, because vtk will prevent installation of the package.
execution file would be a step forward, because it's a terrible nuisance.
from pianoplayer.
This is due to my poor familiarity with windows..
I'll try to fix these issues as soon as I can.
from pianoplayer.
Thanks @PharaohsVizier for your input!
Actually after trying installing it on a windows partition I found that the pianoplayer script gets stored in a different path:
C:\Users\musy\AppData\Local\Programs\Python\Python37\Scripts\
so this starts the GUI normally on my system:
python C:\Users\musy\AppData\Local\Programs\Python\Python37\Scripts\pianoplayer
Note that you need to have musescore executable in your path, otherwise you can just open the
output.xml
from the running musescore program (or using any other viewer).I´ll leave this open and pinned in case it turns useful to other users.
Hi, I am also using windows and new to python. I was able to get pianoplayer to launch from the bin folder I dragged over to site-packages/pianoplayer folder. I am also able to generate the output.xml which is output in the bin folder from before. When I try Musescore I get an error and I guess it is because I do not have the musescore executable in my path which I don't know exactly how to do.
The output looks just fine when I manually open it with musescore. My main thing is wanting to see it on the 3D player. When I press the 3D Player button I get this error:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\username\AppData\Local\Programs\Python\Python36\lib\tkinter_init_.py", line 1699, in call
return self.func(*args)
File "pianoplayer", line 97, in vpCMD
from pianoplayer.vkeyboard import VirtualKeyboard
ModuleNotFoundError: No module named 'pianoplayer.vkeyboard'
Any help would be appreciated, mainly for the 3D player.
from pianoplayer.
Hi @CtrlP1 are you sure you have the latest version of the module? Try
pip install -U pianoplayer
Check out #27 for more info about setting paths.
The 3D player at the moment has a few things I need to improve (especially the sound..), I hope i'll have more free time by the end of this month to fix them.
from pianoplayer.
Hi @CtrlP1 are you sure you have the latest version of the module? Try
pip install -U pianoplayer
Check out #27 for more info about setting paths.
The 3D player at the moment has a few things I need to improve (especially the sound..), I hope i'll have more free time by the end of this month to fix them.
I checked and do have the latest version and I also added "C:\Program Files\MuseScore 3\bin" but I still get this error:
try opening musescore
'musescore' is not recognized as an internal or external command,
operable program or batch file.
from pianoplayer.
I'm unclear as to why, but once I cd into that directory and
python pianoplayer
it works fine. So for anyone who wants to do this on windows, make sure to download the \bin\ folder from github, place it into the directory and then cd into the \bin\ folder and run the pianoplayer file.Thanks for making this!
Howdy AnsonLai, do you still use this program? was hoping you could chime in on this issue since you're also using windows. Any help would be greatly appreciated, thanks.
from pianoplayer.
Unfortunately I never took that extra step of using Musescore, I was purely interested in the output.xml for a few specific files. Sorry!
from pianoplayer.
Related Issues (20)
- Enhancement: MIDI Output with encoded fingerings HOT 9
- Not all notes fingering HOT 3
- Incorrect Fingering HOT 3
- Lilypond format
- Running On Mac HOT 1
- Hand size keeps defaulting to M, MuseScore3 not showing fingering HOT 3
- Timing information units ?
- No output.xml
- Cannot visualize: `ERROR: texture file wood1 does not exist` HOT 3
- On Windows HOT 1
- Getting hand data from the XML file
- Output.xml gets created inside System 32
- How to show fingering numbers at the top of the notes of bass cleff
- Can't get it running on windows...
- local variable 'ninenotes' referenced before assignment HOT 5
- Integration with Synthesia? HOT 1
- Can't run on Win10
- Output question
- Corrupted output
- Musescore is not recogized HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pianoplayer.