Re: Hey Sean:
[email protected] ("Sean M. Burke") Wed, 20 Aug 2003 20:45:05 -0800
| Newsgroups | perl.midi |
|---|---|
| Message-ID | <[email protected]> |
At 08:00 PM 2003-08-20 -0700, Noel Lairson wrote: >I've been meaning to point this out since I found it - it drove me crazy >until I figured it out. >In an 'n' or 'noop' call, you can call every parameter EXCEPT velocity >without quotes: Ah yes, THAT! It's because after I wrote MIDI-Perl, v-strings were added to Perl. Stupid v-strings. Anyway, as of MIDI::Simple 0.80, I talk only about V123 instead of v123, to avoid this whole problem. So the docs say: << * A numeric volume parameter. This has the form "V" followed by a positive integer in the range 0 (completely inaudible?) to 127 (AS LOUD AS POSSIBLE). Example: "V90" sets Volume to 90. >> Altho 'v90' is still supported, altho presumably you have to have the quotes -- unless you do something like this: n qw( v90 n40 n47 n50 ); -- Sean M. Burke http://search.cpan.org/~sburke/