http://qs1969.pair.com?node_id=194495


in reply to Re: Re: Golf: overtone calculator
in thread Golf: overtone calculator


Does this fix the problem? (at 72 chars):
sub Harmonics ($$) { #23456789_123456789_123456789_123456789_123456789_123456789_123456789_ +12 for$a(1..pop){$_{sprintf'%.3f',$_[0]*$a/$_}++for 1..$a}sort{$a-$b}keys +%_ }
jynx