/usr/lib/pd/extra/fftease/examples/scale2.pl is in pd-fftease 2.5.2.git20121005-1.
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 | #!/usr/bin/perl
# -*-Perl-*-
$file = "4th.scale";
open(OUT, ">$file");
$base = 27.5;
@ints = (1.2, 1.25);
$phs = 0;
while( $base < 22050 ){
printf OUT "%.4f\n", $base;
$base *= 1.33333333333;
}
close $file;
print "wrote to $file\n";
|