I'm new
MopishFungus opened this issue · comments
Hello I'm trying to use your script and I'm new to this would you be able to make a short tutorial video?
I'm sorry, so far I did not find the time. If someone, who knows how it works creates a video I would be happy to link it in the README.
Hi new people, these are the steps I took to use the library
make a new directory
mkdir fmf_converter
cd fmf_converter
create and start a virtual environment
python3 -m venv .venv
source .venv/bin/activate
install the package
pip install musicxml2fmf
After the installation, you will be able to use musicxml2fmf
tool from the command line
example usage --help option
musicxml2fmf --help
example usage (converting a file, according to the help notes)
musicxml2fmf --input my_song.musicxml --output my_song.fmf
when done converting, deactivate the environment
deactivate
This isn't the ideal workflow but it's what I'm doing.
Disclaimer, I haven't been able to find a .musicxml file that will work with the package yet.
I got a working conversion with this:
musicxml2fmf --input hello_world.musicxml --output hello_world.fmf
hello_world.music.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE score-partwise PUBLIC
"-//Recordare//DTD MusicXML 4.0 Partwise//EN"
"http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="4.0">
<part-list>
<score-part id="P1">
<part-name>Music</part-name>
</score-part>
</part-list>
<part id="P1">
<measure number="1">
<attributes>
<divisions>1</divisions>
<key>
<fifths>0</fifths>
</key>
<time>
<beats>4</beats>
<beat-type>4</beat-type>
</time>
<clef>
<sign>G</sign>
<line>2</line>
</clef>
</attributes>
<note>
<pitch>
<step>C</step>
<octave>4</octave>
</pitch>
<duration>4</duration>
<type>whole</type>
</note>
</measure>
</part>
</score-partwise>
I got that file from the example here: https://www.w3.org/2021/06/musicxml40/tutorial/hello-world/
Thank you for this introduction and step by step guide, I have linked it in the README. If you like to add it to the README I'm open for pullrequests.
Thank you for this introduction and step by step guide, I have linked it in the README. If you like to add it to the README I'm open for pullrequests.
sounds good @white-gecko