VOICEVOXへのプルリクエストを出した

15日にVOICEVOXへのプルリクエストを出した。 https://github.com/Hiroshiba/voicevox_core/pull/41 ONNX版がリリースされてからになるが、 Raspberry Pi環境で製品版VOICEVOX COREが動くようになるといい。 ONNX版への移行はいつ頃になるだろうか。 現状で動作に問題はないので、優先度はあまり高くない感じだと思う。 追加キャラクター3人を予定していて、いまはHPの改修に力を入れているようなので、 それらが終わったら手を付けられるだろうか(つむぎちゃんかわいい)。 VOICEVOXフロントエンドを動かすことは自分は考えていない。 なんか大変そう(Electronをarmhf向けにビルドするのが)なわりに、合成に時間がかかって使いにくいと思う。 コアがRasPiで動くのがおまけなら、おまけのおまけくらい。 動画編集するならamd64+NVIDIA GPUのこなれた環境でいいんじゃないかな。 コアさえ提供されていれば、動かすことは不可能ではないし、ほしければ/いい活用のアイデアがあればPRしてほしい。 ENGINEはHTTP APIがついて便利なので、あった方がいいと思う(Dockerで使いやすくなるし)。 二度手間になるので、暗号化周りが裏で実装されて、製品版ONNXコアのリリースが出てからENGINE進めるでいいかなと思っている。 まあそのうち使えるようになっていたらうれしい。 それまでは、Hacobuneとかを使うといいと思う(β版で無料)。 ライト版か外部デバイス版で推論高速化が実現しない限り、RasPi上での音声合成にはそれなりに時間がかかるので、Raspberry Pi版が出たとしても、外部のHTTP APIを使うのは有力な選択肢だと思う。

2021年11月17日 · aoirint

zukisuzuki

https://zukisuzukibgm.com/ たいたぬさんの配信で聞いた。 1000曲近い、いい感じの音楽が無料で、ゆるい利用規約で公開されている。すごい。 Cash Back: https://www.youtube.com/watch?v=yj_RT7epy_M 今日の記事はこれを聞きながら書いている。 これをするときはこの音楽を聞こう、みたいなこともできるかもしれない。

2021年11月17日 · aoirint

GNOME Shell Extension おすすめ

Pixel Saver ウインドウを最大化したとき、macOSのようにタイトルバーをタスクバーに統合。 https://extensions.gnome.org/extension/723/pixel-saver/ https://github.com/pixel-saver/pixel-saver sudo apt install gnome-shell-extension-pixelsaver gTile 画面にウインドウを割り付けるメニュー。 https://extensions.gnome.org/extension/28/gtile/ https://github.com/gTile/gTile Add to Desktop デスクトップにショートカット(*.desktopファイル)を作成するメニュー。 https://extensions.gnome.org/extension/3240/add-to-desktop/ https://github.com/Tommimon/add-to-desktop Screenshot Locations スクリーンショットの保存先ディレクトリを変更するメニュー(GNOME Tweaksから設定)。 https://extensions.gnome.org/extension/1179/screenshot-locations/ https://codeberg.org/kiyui/gnome-shell-screenshotlocations-extension Sound input & output device chooser 電源メニューに音声デバイス選択を追加。 https://extensions.gnome.org/extension/906/sound-output-device-chooser/ https://github.com/kgshank/gse-sound-output-device-chooser

2021年11月14日 · aoirint

editorコマンドで起動するエディタを変更する(Ubuntu)

https://unix.stackexchange.com/a/204896 sudo update-alternatives --config editor

2021年11月13日 · aoirint

Ubuntu 20.04, 自動ログイン+Chrome Remote Desktopの起動時に繰り返し認証を求められる

Chrome Remote Desktopを導入したUbuntu 20.04に自動ログインを設定すると、 初回の認証はkeyringのロックを解除する認証だが、ほかにも5回程度繰り返し認証を求められる。 以下のようなメッセージが表示される。 Authentication is required to create a color managed device 以下のファイルのうち、いずれかを作成することで、追加の認証をスキップできる。 /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf https://god-support.blogspot.com/2019/11/ubuntu1804-xrdp-authentication-is.html polkit.addRule(function(action, subject) { if (( action.id == "org.freedesktop.color-manager.create-device" || action.id == "org.freedesktop.color-manager.create-profile" || action.id == "org.freedesktop.color-manager.delete-device" || action.id == "org.freedesktop.color-manager.delete-profile" || action.id == "org.freedesktop.color-manager.modify-device" || action.id == "org.freedesktop.color-manager.modify-profile" ) && subject.isInGroup("{users}") ) { return polkit.Result.YES; } }); /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla https://www.cagylogic.com/archives/2021/03/23145121/11743.php [Allow Colord all Users] Identity=unix-user:* Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile ResultAny=no ResultInactive=no ResultActive=yes

2021年11月13日 · aoirint

Chrome Remote Desktop (Ubuntu)

https://remotedesktop.google.com/access https://qiita.com/ninose14/items/473369d76814174dd58f インストール https://remotedesktop.google.com/headless rm -f ~/.chrome-remote-desktop-session スクリプトの改変 cd /opt/google/chrome-remote-desktop cp chrome-remote-desktop chrome-remote-desktop.bak /opt/google/chrome-remote-desktop/chrome-remote-desktop chrome-remote-desktop 106.0.5249.37 #FIRST_X_DISPLAY_NUMBER = 20 FIRST_X_DISPLAY_NUMBER = 0 ※ 0の部分には、デスクトップ環境でターミナルを開き、echo $DISPLAYで表示される値を入れる。 def launch_session(self, server_args, backoff_time): """Launches process required for session and records the backoff time for inhibitors so that process restarts are not attempted again until that time has passed.""" logging.info("Setting up and launching session") self._init_child_env() self.setup_audio() self._setup_gnubby() #self._launch_server(server_args) #if not self._launch_pre_session(): # # If there was no pre-session script, launch the session immediately. # self.launch_desktop_session() display = self.get_unused_display_number() self.child_env['DISPLAY'] = f':{display}' self.server_inhibitor.record_started(MINIMUM_PROCESS_LIFETIME, backoff_time) self.session_inhibitor.record_started(MINIMUM_PROCESS_LIFETIME, backoff_time) sudo systemctl restart chrome-remote-desktop@${USER}.service

2021年11月13日 · aoirint

Nextcloud davfs2 マウント設定(Ubuntu)

https://wiki.archlinux.jp/index.php/Davfs2 /etc/fstab https://nextcloud.example.com/remote.php/dav/files/myuser/ /mnt/nextcloud davfs rw,nofail,user,uid=myuser 0 0 /etc/davfs2/secrets https://nextcloud.example.com/remote.php/dav/files/myuser/ myuser APP_PASSWORD

2021年11月13日 · aoirint

Nextcloud Desktop Client PPA (Ubuntu)

https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client sudo apt install software-properties-common sudo add-apt-repository ppa:nextcloud-devs/client sudo apt update sudo apt install nextcloud-desktop nautilus-nextcloud

2021年11月13日 · aoirint

WordPress

https://hub.docker.com/_/wordpress docker-compose.yml version: "3.9" services: wordpress: image: wordpress:5.8.2-apache restart: always ports: - "${SERVER_PORT}:80" environment: WORDPRESS_DB_HOST: db WORDPRESS_DB_USER: wordpress WORDPRESS_DB_PASSWORD: wordpress WORDPRESS_DB_NAME: wordpress volumes: - wordpress:/var/www/html db: image: mariadb:10.7 restart: always environment: MYSQL_DATABASE: wordpress MYSQL_USER: wordpress MYSQL_PASSWORD: wordpress MYSQL_RANDOM_ROOT_PASSWORD: '1' volumes: - db:/var/lib/mysql volumes: wordpress: db: .env SERVER_PORT=127.0.0.1:8000

2021年11月13日 · aoirint

docker-composeでBuildKitを使う

ビルドコマンド https://stackoverflow.com/questions/58592259/how-do-you-enable-buildkit-with-docker-compose DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose build Dockerfile https://www.docker.com/blog/introduction-to-heredocs-in-dockerfiles/ # syntax=docker/dockerfile:1.3-labs

2021年11月8日 · aoirint