Implement corrected note schema
This commit is contained in:
parent
eeb11e1bf7
commit
6cbf6d1aed
3 changed files with 27 additions and 16 deletions
|
@ -9,5 +9,6 @@ Usage:
|
|||
Options:
|
||||
-h --help Shows this help message.
|
||||
-i --input {filename} Specifies the input midi file to convert.
|
||||
-o --output {filename} Specified the file path to output the SVG music box strip to.
|
||||
-o --output {filename} Specifies the file path to output the SVG music box strip to.
|
||||
--box {Note30|Note30Corrected} The music box schema to use when rendering. Default: Note30.
|
||||
--debug Activates additional debugging output.
|
||||
|
|
|
@ -88,9 +88,9 @@ namespace MusicBoxConverter
|
|||
* E4
|
||||
* F4
|
||||
* G4
|
||||
* A5
|
||||
* A#5
|
||||
* B5
|
||||
* A4
|
||||
* A#4
|
||||
* B4
|
||||
* C5
|
||||
* C#5
|
||||
* D5
|
||||
|
@ -100,9 +100,9 @@ namespace MusicBoxConverter
|
|||
* F#5
|
||||
* G5
|
||||
* G#5
|
||||
* A6
|
||||
* A#6
|
||||
* B6
|
||||
* A5
|
||||
* A#5
|
||||
* B5
|
||||
* C6
|
||||
* C#6
|
||||
* D6
|
||||
|
@ -110,9 +110,19 @@ namespace MusicBoxConverter
|
|||
* E6
|
||||
* F6
|
||||
* G6
|
||||
* A7
|
||||
* A6
|
||||
*/
|
||||
|
||||
public static MusicBox Note30Corrected = new MusicBox(
|
||||
"30 Note Music Box (Corrected)",
|
||||
new List<string>() {
|
||||
"F#3", "G3",
|
||||
"C4", "D4", "E4", "F4", "G4", "A4", "A#4", "B4",
|
||||
"C5", "C#5", "D5", "D#5", "E5", "F5", "F#5", "G5", "G#5", "A5", "A#5", "B5",
|
||||
"C6", "C#6", "D6", "D#6", "E6", "F6", "G6", "A6"
|
||||
}
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// A 30 note music box.
|
||||
/// @Starbeamrainbowlabs has one of these - it was the part of the
|
||||
|
|
|
@ -71,7 +71,7 @@ namespace MusicBoxConverter
|
|||
|
||||
MusicBoxScoreGenerator converter = new MusicBoxScoreGenerator(
|
||||
inputFilename,
|
||||
MusicBox.Note30
|
||||
targetMusicBox
|
||||
) {
|
||||
Debug = debug
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue