【钢琴人狂喜】如何利用AI一键转MIDI并编辑,最后用特效钢琴完美演绎出来?(Giant MIDI-Piano+Domino汉化版1.43+Embers特效钢琴)
1:環境搭建(均展示個人對應配置)
1-1:硬件配置
R5 3600+16GB+RTX3060(對顯卡無硬性要求,有N卡最好)
1-2:操作系統
Windows11:用于Domino編輯midi文件和特效鋼琴展示
Ubuntu20.04(Linux System):用于Giant MIDI-Piano的Ai轉換
1-3:獲取本文所需資源
「鏈接:https://pan.xunlei.com/s/VNAhj3Obvtcouj09NWUuNkdTA1?pwd=79ta# 提取碼:79ta」
1-4:基礎環境(可嘗試在Windows上搭建并跳轉至步驟1-5-2)
1-4-1:管理程序及語言編譯器
Anaconda3+Python3.8
1-4-2:有N卡(RTX30系)
驅動510.47.03+CUDA11.6.2+cuDNN 8.4.0+(Pytorch1.12.0+cu116)+(torchversion0.13.0+cu116)
1-4-3:無N卡
默認安裝Pytorch時即為CPU版本
1-5:所需庫(請切換Ubuntu系統)
1-5-1:更改Ubuntu的軟件源地址為華為云,在終端執行:
sudo apt-get ffmpeg1-5-2:激活Pytorch環境并安裝:(可在Piano_trans中的Requirements中找到)
pip install h5py -i https://pypi.tuna.tsinghua.edu.cn/simple pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple pip install librosa -i https://pypi.tuna.tsinghua.edu.cn/simple pip install numba -i https://pypi.tuna.tsinghua.edu.cn/simple pip install mido -i https://pypi.tuna.tsinghua.edu.cn/simple pip install mir_eval -i https://pypi.tuna.tsinghua.edu.cn/simple pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple pip install torchlibrosa -i https://pypi.tuna.tsinghua.edu.cn/simple pip install sox -i https://pypi.tuna.tsinghua.edu.cn/simple2:使用Giant MIDI-Piano?
2-1:修改使用設備(默認CPU)
打開Piano_trans---Run---trans.py,按照提示修改使用設備
2-2:開始轉換
?在Piano_trans---Run路徑下激活Pytorch環境運行:
python trans.py接著選擇你想要轉換的音頻文件即可開始轉換(若已轉換請先刪除)
轉換成功后的文件位置與音頻文件相同
2-3:速度,準確率和不足之處(以Sincerely-Animenz舉例)
速度:CPU轉換時間稍長,請耐心等待~(20min-30min),GPU較快(1-2min)
準確率:很高!(95%)有一定的錯誤,這也許取決于你錄制時鋼琴的音調和聲音大小
不足之處:Ai會默認音符延續到抬起踏板,不方便直接轉換成譜
3:使用Domino播放并修改MIDI(請切換Windows系統)
打開Domino---domino---Domino.exe即可開始你的編輯之旅!
4:使用Embers特效鋼琴
打開并安裝Embers-2.3-windows.exe即可欣賞完美的演奏!
總結
以上是生活随笔為你收集整理的【钢琴人狂喜】如何利用AI一键转MIDI并编辑,最后用特效钢琴完美演绎出来?(Giant MIDI-Piano+Domino汉化版1.43+Embers特效钢琴)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C4D 导obj_初学C4D,一定要注意
- 下一篇: Python 爬取西刺可用代理IP,自带