aboutsummaryrefslogtreecommitdiff
path: root/examples/scale4.pl
blob: 3f3853bbaa46d8a1e6af6fc777a3dd9e7025a048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/local/bin/perl 

# -*-Perl-*-

$file = "13et.scale";

open(OUT, ">$file");

$base = 27.5;
$mult = 2 ** (1/13);
while( $base < 22050 ){
    printf OUT "%.4f\n", $base;
    $base *= $mult;
}
close $file;
print "wrote to $file\n";