changeset 173:64b37ad18f7a

e1-experiments: better test setup
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 22 Mar 2017 22:06:13 +0000
parents c138906889f7
children 17523db6d1dc
files ringtools/e1-experiments/compile.sh ringtools/e1-experiments/test3.src
diffstat 2 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ringtools/e1-experiments/compile.sh	Wed Mar 22 22:06:13 2017 +0000
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ $# != 1 ]
+then
+	echo "usage: $0 test_melody_name" 1>&2
+	exit 1
+fi
+
+if [ ! -f "$1.src" ]
+then
+	echo "error: can't find $1.src" 1>&2
+	exit 1
+fi
+
+exec ../fc-e1gen "$1.src" "$1.bin"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ringtools/e1-experiments/test3.src	Wed Mar 22 22:06:13 2017 +0000
@@ -0,0 +1,9 @@
+osc-set 0
+
+time 1
+osc 0 63 32 20
+
+time 50
+osc 0 63 32 20
+
+end