Welcome to the Monastery | |
PerlMonks |
Re: Chord rootby Anonymous Monk |
on Aug 09, 2003 at 16:04 UTC ( [id://282434]=note: print w/replies, xml ) | Need Help?? |
I like being able to run code under warnings (I am a module author), so adding this:
is handy below the foreach in the code. Also, I am a fan of Sean Burke's MIDI perl modules, so I prefer "As" and "Af" instead of "A#" and "AB". If you use these, you can talk directly to the MIDI modules without any needless parsing gymnastics. Also, putting #'s in qw() arrays breaks with warnings on. Anyway, here are some questions: 1. Is there a name for "@f" that might give away what it stands for and holds? Variables named things like "f" are pretty frustrating. 2. What does ($n+$_)%12 represent? 3. What is (0,0,0,2,5,5,8,10)? Maybe the Terhardt link describes this stuff somewhere, but... comments are really useful. : )
In Section
Cool Uses for Perl
|
|