MIDI-SoundFont
view release on metacpan or search on metacpan
SoundFont.pm view on Meta::CPAN
$sf{'shdr'} = \%shdr_hash;
if ($debug) {
$Data::Dumper::Indent=1; $Data::Dumper::Sortkeys=1; print Dumper(%sf);
}
return %sf;
}
sub new_sf { my $inam = $_[$[] || 'Name of this SoundFont';
my ($name,$passwd,$uid,$gid, $quota,$comment,$gcos,$dir,$shell,$expire)
= getpwuid($>);
$gcos =~ s/,+$//;
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime;
my $y = sprintf ("%4.4d", $year+1900);
my @abbr = qw( January February March April May June
July August September October November December );
my $now = "$abbr[$mon] $mday, $y"; # sfspec21.html#5.6
return (
ICMT => "insert comment here",
ICOP => "Copyright (c) $y $gcos; may be freely copied and modified",
ICRD => $now,
( run in 0.238 second using v1.01-cache-2.11-cpan-8d75d55dd25 )