Skip to content

midi music blueprint generator for factorio.异星工厂音乐盒蓝图生成器

License

Notifications You must be signed in to change notification settings

khjxiaogu/FactorioComposer

Repository files navigation

FactorioComposer

Chinese readme
Midi music blueprint generator for factorio.
Import your midi music to create circuit music blueprint for factorio.
Java CI with Maven

Usage

  1. Ensure you have Java8 or newer jre/jdk installed.
  2. Download newest version of factorio composer from Releases.
  3. Double click to run the release jar.
  4. Import midi file or folder as you wish.
  5. Copy blueprint code for the dialog.
  6. Import blueprint code to factorio and place it.
  7. Place a Music Box Driver blueprint.
  8. Connect as the arrow instructed with green wire.
    instruction
    view picture via github
  9. Set Constant combinator with filter "M" "A" "X" "V" 's "V" signal count to music ticks in the blueprint title.
  10. Turn off Constant combinator with filter "P" "A" "U" "S" "E".
  11. Enjoy

remarks

  • Factorio can only perform notes from F2 to E8, so all notes lower than F2 would be played with drum, and that higher than E8 would be played with triangle.
  • Music ticks is half of game ticks, most music acts well in 30UPS(half of game 60UPS). The display of Music Box Driver is in unit second.
  • Game UPS would greatly affect the playback rate.