diff --git a/MusicBoxConverter/MusicBox.cs b/MusicBoxConverter/MusicBox.cs
index e0908ff..cabf58e 100644
--- a/MusicBoxConverter/MusicBox.cs
+++ b/MusicBoxConverter/MusicBox.cs
@@ -11,7 +11,7 @@ namespace MusicBoxConverter
///
/// The height of a strip for this music box, in millimetres.
///
- public float StripHeightMm = 58.2f;
+ public float StripHeightMm = 58.19f;
public List ValidNotes { get; private set; }
public Note LowestNote {
diff --git a/MusicBoxConverter/MusicBoxConverter.csproj b/MusicBoxConverter/MusicBoxConverter.csproj
index d6dd135..362fda9 100644
--- a/MusicBoxConverter/MusicBoxConverter.csproj
+++ b/MusicBoxConverter/MusicBoxConverter.csproj
@@ -32,7 +32,7 @@
- ..\packages\Melanchall.DryWetMidi.2.0.1\lib\net45\Melanchall.DryWetMidi.dll
+ ..\packages\Melanchall.DryWetMidi.4.0.0\lib\net45\Melanchall.DryWetMidi.dll
@@ -49,10 +49,10 @@
-
+
-
+
\ No newline at end of file
diff --git a/MusicBoxConverter/Utilities/NoteUtilities.cs b/MusicBoxConverter/Utilities/NoteUtilities.cs
index 47cd8a8..8c4e308 100644
--- a/MusicBoxConverter/Utilities/NoteUtilities.cs
+++ b/MusicBoxConverter/Utilities/NoteUtilities.cs
@@ -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);
}
}
diff --git a/MusicBoxConverter/packages.config b/MusicBoxConverter/packages.config
index 0c7c6b9..fb59482 100644
--- a/MusicBoxConverter/packages.config
+++ b/MusicBoxConverter/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file