Displaying 20 results from an estimated 124 matches for "dowling".
Did you mean:
bowling
2004 Sep 10
3
slow FLAC__file_decoder_seek_absolute()...
...* sample_rate;
printf("seeking to %d:%02d\n", secs/60, secs%60);
flac_status = FLAC__file_decoder_seek_absolute(decoder, seek_point);
if (flac_status) printf("seek absolute = %d\n", flac_status);
}
FLAC__file_decoder_process_remaining_frames(decoder);
Thanks,
Brendan Dowling
p.s., I am making a simple FLAC file player that runs on the Phatnoise
Car Audio System (see http://www.phatnoise.com/ for more info).
---
Brendan Dowling
crypt@phatnoise.com
Phatnoise, Inc.
http://www.phatnoise.com/
2004 Sep 10
2
slow FLAC__file_decoder_seek_absolute()...
...te varies widely in the stream. in that
case knowing the first few frame sizes doesn't really help
much.
on my todo list is a true binary search which should improve
things for streams with no seektable and wide bitrate swings.
Josh
P.S. be sure to keep us posted about PhatBox!
--- Brendan Dowling <crypt@phatnoise.com> wrote:
> I think I figured out where the problem is. In my metadata_callback,
>
> I added a thing to print out the max_framesize and max_framesize from
> the stream_info block. Those are both zero. The ..._seek_absolute()
>
> function of the Seekab...
2004 May 26
1
FW: is.weekend() odd behaviour
Kurt,
Uwe suggested I write to you as maintainer of chron ... at the start of
is.weekend, in the check on the argument type, maybe just change chron() to
as.chron()? This would ensure as.chron.POSIXt gets called on POSIXt
arguments, and (I think) fixes the problem. I tested and it seems ok. No
warning/error required.
> is.weekend
function(x)
{
if(!inherits(x, "dates"))
2006 Mar 02
5
Deparsing '...'
Hi,
The following function works, but is there a neater way to write it?
f = function(x,...)
{
# return a character vector of the arguments passed in after 'x'
gsub("
","",unlist(strsplit(deparse(substitute(list(...))),"[(,)]")))[-1]
}
> f(x,a,b,c*d)
[1] "a" "b" "c*d"
>
Thanks.
[[alternative HTML
2006 May 02
4
"a"+"b"
Hi,
Is there a way to define "+" so that "a"+"b" returns "ab" ?
> setMethod("+",c("character","character"),paste)
Error in setMethod("+", c("character", "character"), paste) :
the method for function '+' and signature e1="character",
e2="character" is sealed
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
....flac files in playlists soon and adding the player
to the standard firmware distribution should be easy).
So, thanks again. And maybe if I become more acquainted with the
libFLAC code, I'll be able to help with improving searching in
seektable-less and max_framesize-less files.
Brendan Dowling
Embedded Systems Engineer
Phatnoise, Inc.
http://www.phatnoise.com
> second, even without the seek table or knowing max_framesize,
> the seek routine does adjust the approximate_bytes_per_frame
> as it decodes target frames. so I don't think it would help
> too much compute th...
2002 Jul 31
7
exportData(foo,"foo.xls","EXCEL") for R ?
r-help,
Is there a package available for R which allows you to export data directly
to .xls, much like exportData(foo,"foo.xls","EXCEL") in S-PLUS ? If not, is
anyone working on this, or thinking about working on this?
I apologise in advance if this question has already been answered.
Many thanks,
Matthew
2005 Dec 09
3
[R] data.frame() size
Hi,
Please see below for post on r-help regarding data.frame() and the
possibility of dropping rownames, for space and time reasons.
I've made some changes, attached, and it seems to be working well. I see the
expected space (90% saved) and time (10 times faster) savings. There are no
doubt some bugs, and needs more work and testing, but I thought I would post
first at this stage.
Could some
2006 May 23
4
Avoiding a memory copy by [[
Hi,
n = 10000000
L = list(a=integer(n), b=integer(n))
L[[2]][1:10] gives me the first 10 items of the 2nd vector in the list L.
It works fine. However it appears to copy the entire L[[2]] vector in
memory first, before subsetting it. It seems reasonable that "[[" can't
know that all that is to be done is to do [1:10] on the result and therefore
a copy in memory of the entire
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
...ax_framesize to guess
at where to seek. It doesn't seem to handle the case when
max_frame_size is zero very well. I'm looking at
seekable_stream_decoder.c, by the way.
The files I am playing were encoded using the command line 'flac'
encoder and default options.
Brendan Dowling
Phatnoise, Inc.
crypt@phatnoise.com
http://www.phatnoise.com/
On Thu, Jan 17, 2002 at 05:46:00PM -0800, Brendan Dowling wrote:
> Hi,
>
> I checked the archives, but I didn't find anything regarding this
> problem. FLAC__file_decoder_seek_absolute takes an incredibly long time...
2015 Oct 05
9
Error generated by .Internal(nchar) disappears when debugging
On 05/10/2015 7:24 PM, Matt Dowle wrote:
> Joris Meys <jorismeys <at> gmail.com> writes:
>
>>
>> Hi all,
>>
>> I have a puzzling problem related to nchar. In R 3.2.1, the internal
> nchar
>> gained an extra argument (see
>> https://stat.ethz.ch/pipermail/r-announce/2015/000586.html)
>>
>> I've been testing code using the
2004 May 26
3
is.weekend() odd behaviour
It seems is.weekend() is unsure ?
# Start R 1.9.0 with --vanilla on windows xp
# load package chron
> table(is.weekend(sapply(1:100, function(i){Sys.sleep(0.05);Sys.time()})))
FALSE TRUE
68 32
> date()
[1] "Wed May 26 11:18:56 2004"
> version _
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
2009 Aug 27
1
[Fwd: Re: Video demo of using svSocket with data.table]
Forwarded to R-Help, because I think it could interest people following
this thread. Clearly, RServe and svSocket have different goals and very
little overlap.
Best,
Philippe
-------- Original Message --------
Subject: Re: Video demo of using svSocket with data.table
Date: Wed, 26 Aug 2009 20:34:19 +0100
From: Matthew Dowle <mdowle at mdowle.plus.com>
Reply-To: Matthew Dowle
2015 Oct 07
1
Error generated by .Internal(nchar) disappears when debugging
Malcolm,
I tested the code on a clean R 3.2.0 session. Not even in RStudio, just to
rule that out.
> sessionInfo()
R version 3.2.0 (2015-04-16)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 8 x64 (build 9200)
locale:
[1] LC_COLLATE=English_United Kingdom.1252
[2] LC_CTYPE=English_United Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C
[5]
2004 Nov 26
2
Tcl error - brace in argument?
Hi all,
Does anyone know a solution for this error ?
> tkwidget(dlg, "iwidgets::spinint", range="{0 23}")
Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class =
"tclObj") :
[tcl] wrong # args: should be ".31.1.19 configure -range {begin
end}".
Thanks,
Matthew
[[alternative HTML version
2015 Oct 06
1
Error generated by .Internal(nchar) disappears when debugging
On 05/10/2015 8:25 PM, Matt Dowle wrote:
>
> On Mon, Oct 5, 2015 at 4:57 PM, Duncan Murdoch <murdoch.duncan at gmail.com
> <mailto:murdoch.duncan at gmail.com>> wrote:
>
> On 05/10/2015 7:24 PM, Matt Dowle wrote:
> > Joris Meys <jorismeys <at> gmail.com <http://gmail.com>> writes:
> >
> >>
> >> Hi all,
2006 Mar 31
3
Function dependency function
Hi,
Is there a function taking a function as an argument, which returns all the
functions it calls, and all the the functions those functions call, and so
on? I could use Rprof, but that would involve executing the function,
which may miss some branches of code. I'd really like a function which
looks at the source code to work out all the functions that could possibly
be called. When I
2005 Dec 08
2
data.frame() size
Hi,
In the example below why is d 10 times bigger than m, according to
object.size ? It also takes around 10 times as long to create, which fits
with object.size() being truthful. gcinfo(TRUE) also indicates a great deal
more garbage collector activity caused by data.frame() than matrix().
$ R --vanilla
....
> nr = 1000000
> system.time(m<<-matrix(integer(1), nrow=nr, ncol=2))
[1]
2012 Mar 14
3
merge bug fix in R 2.15.0
Is it intended that the first suffix can no longer be blank? Seems to be
caused by a bug fix to merge in R 2.15.0.
$Rdevel --vanilla
DF1 = data.frame(a=1:3,b=4:6)
DF2 = data.frame(a=1:3,b=7:9)
merge(DF1,DF2,by="a",suffixes=c("",".1"))
Error in merge.data.frame(DF1, DF2, by = "a", suffixes = c("", ".1")) :
there is already a column
2010 Mar 24
2
translating SQL statements into data.table operations
I've recently stumbled across data.table, Matthew Dowle's package. I'm
impressed by the speed of the package in handling operations with large
data.frames, but am a bit overwhelmed with the syntax. I'd like to express
the SQL statement below using data.table operations rather than sqldf (which
was incredibly slow for a small subset of my financial data) or
import/export with a