我有几十个 AIF 文件需要转换为 WAV。我已经通过在 Audacity 中打开它们并将它们导出为 WAV 来转换一些,但这非常慢。我想批量转换它们。有没有办法在 OS X 上做到这一点?
我已经编写了一个 systemd 服务来在我的 Raspberry Pi 上启动地面控制。
[Unit]
Description=Groundcontrol status monitor
[Service]
ExecStart=/opt/groundcontrol/groundcontrol/start.sh
Type=forking
[Install]
WantedBy=multi-user.target
Run Code Online (Sandbox Code Playgroud)
我正在使用该脚本,因为除非从 bin 目录启动,否则地面控制将无法正常工作。这是脚本:
cd /opt/groundcontrol/groundcontrol
./groundcontrol &
Run Code Online (Sandbox Code Playgroud)
当我手动启动它时,这非常有效,但是当我启动我的 Pi 并运行systemctl它时,它说它失败了。systemctl status groundcontrol.service印刷
groundcontrol.service - Groundcontrol status monitor
Loaded: loaded (/etc/systemd/system/groundcontrol.service; enabled)
Active: failed (Result: exit-code) since Wed 1969-12-31 17:00:14 MST; 43 years 11 months ago
Process: 111 ExecStart=/opt/groundcontrol/groundcontrol/start.sh (code=exited, status=0/SUCCESS)
Main PID: 116 (code=exited, status=2)
Dec 31 17:00:11 waldo systemd[1]: Starting Groundcontrol status monitor...
Dec 31 17:00:12 waldo systemd[1]: Started Groundcontrol …Run Code Online (Sandbox Code Playgroud)