Pinao Compensator for FLstudio
Project description
pcfl
- MuseScore4에서 FL Studio에 피아노 페달(CC64)이 포함된 미디파일을 임포트할 때, 페달 사이의 간격을 벌려 정상적으로 임포트를 하게 하는 전처리 라이브러리 및 프로그램 입니다.
- 페달이 연속으로 붙어있는 미디파일을 FL Studio에 임포트 하면 그 두 개의 페달이 하나로 합쳐저 불협화음을 발생시킵니다.
- PCFL는 이를 막기 위해 두 페달 사이의 간격을 3 ticks 정도 벌립니다.
- 이전 구현체에서는 Musescore3까지만 대응할 수 있고 Musescore4 부터 대응이 불가능 하여 새 구현체를 구현하게 되었습니다.
Installation (As User)
$ pip install pcfl
Installation (As Dev)
$ git clone https://github.com/skywinz/pcfl.git
$ poetry install
Usage
As CLI
$ python -m pcfl -f input.mid -o output.mid
As Library
import mido
from pcfl import pcfl, pcfl_by_file
# 파일을 사용할 경우
output_filepath = pcfl_by_file("input.mid", "output.mid")
# mido.MidiFile을 사용할 경우
midi = mido.MidiFile("input.mid")
pcfl(midi)
ThirdParty
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pcfl-1.0.0.tar.gz
(4.9 kB
view hashes)
Built Distribution
pcfl-1.0.0-py3-none-any.whl
(7.1 kB
view hashes)