view ringtools/fc-meltest-e1 @ 895:850b4f066d75

fc-buzplay: unified play command
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Apr 2022 08:30:35 +0000
parents 2fe0f7fe1f86
children
line wrap: on
line source

#!/bin/sh

if [ $# != 1 ]
then
	echo "usage: $0 e1_source_file" 1>&2
	exit 1
fi

tmpfile=/tmp/fc-test-melody.e1

set -ex

fc-e1gen "$1" $tmpfile
fc-fsio upload-file $tmpfile /mel/test.e1
fc-shell 'at@e1="/mel/test.e1"'