Full LN
Usage
Convert a map to a Full LN:
from reamber.algorithms.generate import full_ln
from reamber.osu.OsuMap import OsuMap
osu = OsuMap.read_file("my_map.osu")
osu2 = full_ln(osu, gap=150, ln_as_hit_thres=100)
osu2.write_file("new_map.osu")
from reamber.algorithms.generate import full_ln
from reamber.quaver.QuaMap import QuaMap
qua = QuaMap.read_file("my_map.qua")
qua2 = full_ln(qua, gap=150, ln_as_hit_thres=100)
qua2.write_file("new_map.qua")
Params
- gap
Gap between an LN Tail and the next note.
- ln_as_hit_thres
Smallest LN length before it's converted to a hit.
Example
Given gap=150, ln_as_hit_thres=100
:
If the distance between 2 notes is 250ms a 100ms LN is rendered.
If the distance between 2 notes is 249ms there won't be a 99ms LN rendered as
ln_as_hit_thres=100
. Instead, aHit
will be rendered.
Last modified: 23 March 2024