/usr/share/tlf/examples/play_vk is in tlf 1.3.0-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #!/bin/sh
# Part of the TLF contest logging program for amateur radio operators
# by Rein Coperous PA0R and Thomas Beierlein DL1JBE 2011.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# These script is responsible for playing voice key message files
# on the command of the TLF main program.
# It gets called as 'play_vk filename' and plays the content of
# the audio file 'filename' on the default sound device.
#
# You can adapt it to your convenience to
# - mute or unmute your microphone
# - play different file formats or
# - use another output device
#
# An executable copy of 'play_vk' in your contest directory (containing the
# logcfg.dat file) can be adapted and has precedence over the standard install
# mute mic
#amixer -c 0 set Mic mute -q
# play file on the default sound device
play $1 -q 2>/dev/null
#unmute mic
#amixer -c 0 set Mic unmute -q
|