Files
Bubberstation/tools/midi2piano
Waterpig bb70889f6e TG Upstream Part 1
3591 individual conflicts

Update build.js

Update install_node.sh

Update byond.js

oh my fucking god

hat

slow

huh

holy shit

we all fall down

2 more I missed

2900 individual conflicts

2700 Individual conflicts

replaces yarn file with tg version, bumping us down to 2200-ish

Down to 2000 individual conflicts

140 down

mmm

aaaaaaaaaaaaaaaaaaa

not yt

575

soon

900 individual conflicts

600 individual conflicts, 121 file conflicts

im not okay

160 across 19 files

29 in 4 files

0 conflicts, compiletime fix time

some minor incap stuff

missed ticks

weird dupe definition stuff

missed ticks 2

incap fixes

undefs and pie fix

Radio update and some extra minor stuff

returns a single override

no more dupe definitions, 175 compiletime errors

Unticked file fix

sound and emote stuff

honk and more radio stuff
2024-10-19 08:04:33 -07:00
..
2024-10-19 08:04:33 -07:00

This is a remake of 2013 midi2piano tool.

Requirements:
  Python 3

Simply run midi2piano.py and choose midi file you want to convert.
The "sheet music" will be copied to the clipboard.

There are some constants defined at the top of midi2piano.py.

TICK_LAG - CHANGE THIS VALUE TO TICK LAG OF YOUR SERVER!

Change their value if needed.

LINE_LENGTH_LIM - max length of line allowed in the sheet music
LINES_LIMIT - max amount of lines allowed in the sheet music. Extra lines will be cropped.

OVERALL_IMPORT_LIM - max amount of characters allowed in the sheet music.


You can also transpose music if you need to
OCTAVE_TRANSPOSE - amount of octaves you melody will be shifted by
FLOAT_PRECISION - read comment

Additional notes:
1. Unlike previous midi2piano, this tool optimizes sheet music to fit more in less lines. 
2. If two notes are less than 50 ms apart, they are chorded. BYOND works in  1/10th of a second so 50 ms is time quanta.
4. MIDI event set_tempo is NOT supported. If your MIDI file uses set_tempo to change BPM significantly, consider using some other midi file.

This tool is considered final.

Made by Delta Epsilon from Animus Station, ss13.ru