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

# -*-Perl-*-

$file = "blue3.scale";

open(OUT, ">$file");

$base = 27.5;

while( $base < 22050 ){
    printf OUT "%.4f\n", $base;
    $base *= 1.225;
}
close $file;
print "wrote to $file\n";