Displaying 4 results from an estimated 4 matches for "addtracks".
Did you mean:
addtracker
2009 Apr 02
0
FLAC: joining source files
...is much heavier to implement)
-- and may pose issues with meta info like seekpoints, cuepoints ...
========= snip snip ==========
#!/local/bin/perl
use strict;
our( @spt, at tr );
sub usage {
print "USAGES:\n\n$0 cddb_id [...]\n\n$0 cddb_id start_track end_track\n";
exit 1;
}
sub addtracks { my( @y, $k,$nfo,$nsp,$p,$z );
usage() if $_[0]!~/^[0-9a-f]{8}$/;
# build list of PCM files
if ($#_>0) {
for ($k=$_[1];$k<=$_[2];$k++) {
if ($k>9) { $p='' } else { $p='0' }
push @y,$_[0].'_'.$p.$k.'.wav';
}
}
else {
opendir D,'.';...
2025 Jan 18
4
Parser For Line Number Tracing
I often find myself hunting where in my program an error has happened,
(of course, in R, many error messages are mysterious in themselves,
too, making it even harder.) the way I do it is mostly with inserting
`message()` statements.
what I would really like to have is a parser that inserted 'curline
<<- ##' into the R code, where '##' is the filename and line number.
2025 Jan 18
1
Parser For Line Number Tracing
Hi Ivo,
I maintain 'package:this.path' that I believe does what you want. I
regularly add this to my own code when I need to:
warning(sprintf("remove this later at %s#%d",
this.path::try.this.path(), this.path::LINENO()), call. = FALSE,
immediate. = TRUE)
Of course, modify as needed.
Regards,
Iris
On Sat, Jan 18, 2025 at 6:41?PM Ivo Welch <ivo.welch at gmail.com>
2025 Jan 19
1
Parser For Line Number Tracing
On 2025-01-18 6:41 p.m., Ivo Welch wrote:
> I often find myself hunting where in my program an error has happened,
> (of course, in R, many error messages are mysterious in themselves,
> too, making it even harder.) the way I do it is mostly with inserting
> `message()` statements.
>
> what I would really like to have is a parser that inserted 'curline
> <<-