0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Neothesiaでピアノロール動画を生成

Last updated at Posted at 2022-05-11

Neothesia とは

  • MIDIファイルを入力することでピアノロールを生成してくれるアプリケーション。
  • Synthesiaのオープンソース版。
  • mp4(x264)形式でエンコードすることも可能だが、リリースされているバイナリでは不可。(v0.0.11時点)
  • よって、コンパイルが必要。

環境

  • Ubuntu 24.04(最小インストールしたての状態を想定)
  • GPUクセラレーションが使える環境(UHD Graphics 620環境で確認)

ビルド手順

sudo apt update
sudo apt upgrade
sudo apt install git
sudo apt install curl
sudo apt install ffmpeg
sudo apt install build-essential
sudo apt install pkg-config
sudo apt install libavcodec-dev
sudo apt install libavformat-dev
sudo apt install libswscale-dev
sudo apt install libclang-dev

wget https://static.rust-lang.org/rustup/rustup-init.sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh rustup-init.sh
. "$HOME/.cargo/env"
git clone https://github.com/PolyMeilex/Neothesia.git
cargo build --release -p neothesia-cli

実行方法

./target/release/neothesia-cli ./test.mid 
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?