abcde сначала копирует дорожки в wav (почти 1: 1), а затем кодирует их. Вы можете установить «KEEPWAVS = y» в любой из этих конфигураций, чтобы сохранить эти временные файлы. Чтобы предотвратить преобразование файлов wav, удалите строку «кодировать» из параметра «ДЕЙСТВИЯ». Имейте в виду, что файлы wav, созданные с помощью этого метода, не будут обработаны, никакие другие действия, которые abcde выполняет с данными, не будут выполняться с этими файлами, например ограничение объема и переименование.
Вы также можете просто установить "OUTPUTTYPE = wav"
La clave de la respuesta estaba en esta pregunta de desbordamiento de pila . Use la banderassh
-t
para abrir un pseudo terminal interactivo -. Luego byobu new-session
y byobu send-keys
para pasar comandos a una sesión de byobu.
Primero haga un.ssh/config en la máquina local para configurar la conexión ssh
Host remote-server-jupyter
HostName 123.45.6.789
User pgcudahy
LocalForward 8889 localhost:8889
ServerAliveInterval 30
ServerAliveCountMax 3
Luego coloque un script en el directorio de inicio de la máquina remota que configura la sesión de byobu.Necesito un script en lugar de una lista de comandos para poder probar si ya se ha creado una sesión "jupyter". Lo llamaré remoto -jupyter -startup.sh
#!/bin/bash
# Test if there's a 'jupyter' session already set up
if [ -z "$(byobu list-sessions | grep jupyter)" ]
# If not, then set up the session
then
# Create a new detached session named 'jupyter'
byobu new-session -d -s jupyter
# Pass a 'cd' command to the session, then 'C-m' to execute
byobu send-keys -t jupyter 'cd ~/Projects' 'C-m'
# Pass the 'jupyter' command to the session, then 'C-m' to execute
byobu send-keys -t jupyter 'jupyter notebook --no-browser --port=8889' 'C-m'
# Create a second window in the session
byobu new-window -t jupyter:1
fi
# Attach to the session
byobu attach-session -t jupyter
Hacerlo ejecutable
chmod +x remote-jupyter-startup.sh
Ahora en la máquina local puedo ejecutar
ssh remote-server-jupyter -t "./remote-jupyter-startup.sh;"