[Request / Idea] MML Reader via Blueprint strings

This is the place to request new mods or give ideas about what could be done.
Post Reply
DarkOmen
Burner Inserter
Burner Inserter
Posts: 9
Joined: Mon May 29, 2017 10:59 am
Contact:

[Request / Idea] MML Reader via Blueprint strings

Post by DarkOmen » 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.

mrvn
Smart Inserter
Smart Inserter
Posts: 3261
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: [Request / Idea] MML Reader via Blueprint strings

Post by mrvn » Mon May 29, 2017 12:33 pm

I think it would be usefull (not just for songs) if you could blueprint items, not just buildings.

Given that feature encode the song in items. For example an iron ore is a C, copper ore a D. You can put them on a belt and encode the node length as a second item on the other belt side. And then loop the belt for repeating songs.

Other uses would be blue printing circuit logic that depends on items in chests or being passed around to work.

Post Reply

Return to “Ideas and Requests For Mods”

Who is online

Users browsing this forum: No registered users