[Request / Idea] MML Reader via Blueprint strings
Posted: Mon May 29, 2017 11:13 am
So looking online when people make songs i tend to see massive combinator arrays and think that is somewhat silly and there must be an easier way.
So i was wondering how difficult it would be to write a Music Macro Language, and use factorios inbuilt blueprint system to import/generate songs.
So a simple tune would look something like this
t69>gl8gag4gag4gabb+bag4gag4gag4gabb+baf+4f+gf+4f+gf+4f+gabagf+4.eg2g1g4gag4gag4gabb+bag4gag4gag4gabb+baf+4f+gf+4f+gf+4f+gabagf+4.eg2g2.&geaa4ggf+g4g2.&ggaa4ggf+g4g2.&gc-cc4cccc2<bb4.bbbb4.b1&b4.
Where T is the tempo,
+ - represents sharp and flat
. is a different instrument or a pause
The number after the letter represents the note length
and > < are for octave up and down
Would this be possible or would you have to write a custom string parser.
So i was wondering how difficult it would be to write a Music Macro Language, and use factorios inbuilt blueprint system to import/generate songs.
So a simple tune would look something like this
t69>gl8gag4gag4gabb+bag4gag4gag4gabb+baf+4f+gf+4f+gf+4f+gabagf+4.eg2g1g4gag4gag4gabb+bag4gag4gag4gabb+baf+4f+gf+4f+gf+4f+gabagf+4.eg2g2.&geaa4ggf+g4g2.&ggaa4ggf+g4g2.&gc-cc4cccc2<bb4.bbbb4.b1&b4.
Where T is the tempo,
+ - represents sharp and flat
. is a different instrument or a pause
The number after the letter represents the note length
and > < are for octave up and down
Would this be possible or would you have to write a custom string parser.