Compare commits
3 Commits
f9d4ceccaa
...
222b197bc6
Author | SHA1 | Date |
---|---|---|
Starbeamrainbowlabs | 222b197bc6 | |
Starbeamrainbowlabs | 4031a30b21 | |
Starbeamrainbowlabs | a929e3e8e1 |
|
@ -1,3 +1,5 @@
|
|||
# Ghostwriter backup files
|
||||
*.backup
|
||||
|
||||
# Created by https://www.gitignore.io/api/git,csharp,monodevelop,visualstudio
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace MusicBoxConverter
|
|||
/// <summary>
|
||||
/// The height of a strip for this music box, in millimetres.
|
||||
/// </summary>
|
||||
public float StripHeightMm = 58.2f;
|
||||
public float StripHeightMm = 58.19f;
|
||||
public List<string> ValidNotes { get; private set; }
|
||||
|
||||
public Note LowestNote {
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<Reference Include="System" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Melanchall.DryWetMidi">
|
||||
<HintPath>..\packages\Melanchall.DryWetMidi.2.0.1\lib\net45\Melanchall.DryWetMidi.dll</HintPath>
|
||||
<HintPath>..\packages\Melanchall.DryWetMidi.4.0.0\lib\net45\Melanchall.DryWetMidi.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -49,10 +49,10 @@
|
|||
<Folder Include="Utilities\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
<EmbeddedResource Include="Help.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Help.txt" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
|
@ -17,7 +17,7 @@ namespace MusicBoxConverter
|
|||
{
|
||||
string noteLetter = Regex.Replace(note, "[0-9]", "").Replace("#", "Sharp");
|
||||
int octave = int.Parse(Regex.Replace(note, "[^0-9]", ""));
|
||||
NoteName noteName = (NoteName)Enum.Parse(typeof(NoteName), noteLetter);
|
||||
Melanchall.DryWetMidi.MusicTheory.NoteName noteName = (Melanchall.DryWetMidi.MusicTheory.NoteName)Enum.Parse(typeof(Melanchall.DryWetMidi.MusicTheory.NoteName), noteLetter);
|
||||
return new Note(noteName, octave);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Melanchall.DryWetMidi" version="2.0.1" targetFramework="net461" />
|
||||
<package id="Melanchall.DryWetMidi" version="4.0.0" targetFramework="net461" />
|
||||
</packages>
|
|
@ -6,7 +6,7 @@
|
|||
1. Export the MuseScore file to a MIDI file
|
||||
2. Run the MIDI file through this program.
|
||||
3. Open the resulting SVG in Inkscape
|
||||
4. Print the SVG to PDF
|
||||
4. Print the SVG to PDF (or `inkscape --export-pdf output.pdf input.svg`)
|
||||
5. Open the resulting PDF in LibreOffice Draw
|
||||
6. Print to your actual printer - tiling over multiple pages if required.
|
||||
|
||||
|
|
Loading…
Reference in New Issue