summaryrefslogtreecommitdiffstats
path: root/volume_pot/volume.pl
diff options
context:
space:
mode:
Diffstat (limited to 'volume_pot/volume.pl')
-rwxr-xr-xvolume_pot/volume.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/volume_pot/volume.pl b/volume_pot/volume.pl
index fff39fb..5a72674 100755
--- a/volume_pot/volume.pl
+++ b/volume_pot/volume.pl
@@ -68,6 +68,7 @@ sub calc_gain($$) {
my $ld = 18000. + cap( 47., $f ); #18k+47nF
my $le = 4700. + cap( 250., $f ); #4.7k+250nF
+
#compute resistances of track
my $rae = $rac * logpot($te);
my $rad = $rac * logpot($td);