view cdg-hybrid/makecdg.sh @ 286:ee16d57b32b2

Condat audio_Init(): rm setting of sidetone level The default sidetone level in the absence of audio mode loading is just that, a basic default without any promises of good tuning. In the original TCS211 code this default sidetone level was set in two places: first in L1 init of ABB-via-DSP registers (set to -17 dB), and then initialized again in Condat audio_Init(), this time set to -5 dB. The present change removes the redundant second initialization. The default sidetone level is now -17 dB instead of -5 dB with this change, but again it is just the default; all serious users are now expected to use audio mode config files.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 09 Nov 2021 02:16:59 +0000
parents 35f7a1dc9f7d
children
line wrap: on
line source

#!/bin/sh

set -e

rm -rf tempout
mkdir tempout

# The arguments to ccdgen have been taken from TCS211 pdt_*.mak makefiles.

../toolwrap/ccdgen -h -m512 -a2 -ifflags.h -otempout -Rpdf-mdf-list

echo "Converting from CRLF to UNIX line endings"

rm -rf cdginc
mkdir cdginc

# fromdos comes with Slackware, dunno about other distros
for i in `cat gen-file-list`
do
	fromdos < tempout/$i > cdginc/$i
done