view audio-tones/keybeep @ 165:7a4e8d23ab3a

eeproms/icestick: programming for Lattice Icestick
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 30 Jul 2023 18:10:51 +0000
parents 9336a48746d9
children
line wrap: on
line source

#!/bin/sh

# generate a plain keybeep, amplitude set on the command line

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

exec fc-shell "at@tone=0,120,697,$1,0,120,697,$1,0,120,0,0,120,120,120,1"