An open API service indexing awesome lists of open source software.

https://github.com/khjxiaogu/factoriocomposer

midi music blueprint generator for factorio.异星工厂音乐盒蓝图生成器
https://github.com/khjxiaogu/factoriocomposer

factorio game midi-music music-box-driver

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# FactorioComposer
[Chinese readme](https://github.com/khjxiaogu/FactorioComposer/blob/master/README_CN.md)
Midi music blueprint generator for factorio.
Import your midi music to create circuit music blueprint for factorio.
![Java CI with Maven](https://github.com/khjxiaogu/FactorioComposer/workflows/Java%20CI%20with%20Maven/badge.svg)
# Usage
1. Ensure you have Java8 or newer jre/jdk installed.
2. Download newest version of factorio composer from [Releases](https://github.com/khjxiaogu/FactorioComposer/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](https://github.com/khjxiaogu/FactorioComposer/blob/master/MusicDriver.md).
8. Connect as the arrow instructed with green wire.
![instruction](https://res.khjxiaogu.com/piclib/db48c091-958d-4916-83c9-9bb002a9c0c5.jpg)
[view picture via github](https://github.com/khjxiaogu/FactorioComposer/blob/master/instruction.jpg)
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.