Displaying 20 results from an estimated 124 matches for "dowl".
Did you mean:
down
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 See...
2004 May 26
1
FW: is.weekend() odd behaviour
...)
if(is.character(x) || is.numeric(x))
x <- as.chron(x) # was x <- chron(x)
else stop("x must inherit from dates")
....
}
-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de]
Sent: 26 May 2004 13:20
To: Matthew Dowle
Cc: 'r-help at stat.math.ethz.ch'
Subject: Re: [R] is.weekend() odd behaviour
Matthew Dowle wrote:
> Thanks. When is.weekend() is given an object it doesn't know about,
> could a warning or error be added? At the moment, I think you're
> agreeing, that it silently ret...
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...
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
...an work with
overloaded functions which fixes the problems in my case.
Functions effected :
dim.data.frame
format.data.frame
print.data.frame
data.frame
[.data.frame
as.matrix.data.frame
Modified source code attached.
Regards,
Matthew
-----Original Message-----
From: Matthew Dowle
Sent: 09 December 2005 09:44
To: 'Peter Dalgaard'
Cc: 'r-help at stat.math.ethz.ch'
Subject: RE: [R] data.frame() size
That explains it. Thanks. I don't need rownames though, as I'll only ever
use integer subscripts. Is there anyway to drop them, or even better not
crea...
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 ti...
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/00...
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]
...e 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 <mdowle at mdowle.plus.com>
To: Philippe Grosjean <phgrosjean at sciviews.org>, Romain Francois
<romain.francois at dbmail.com>
References: <h6kcod$5ed$1 at ger.gmane.org>
<4A8E632D.6060504 at sciviews.org>&l...
2015 Oct 07
1
Error generated by .Internal(nchar) disappears when debugging
...age 'S4Vectors'
>
> Maybe a red herring...
>
> ~Malcolm
>
> > -----Original Message-----
> > From: R-devel [mailto:r-devel-bounces at r-project.org] On Behalf Of
> Duncan
> > Murdoch
> > Sent: Monday, October 05, 2015 6:57 PM
> > To: Matt Dowle <mattjdowle at gmail.com>; r-devel at stat.math.ethz.ch
> > Subject: Re: [Rd] Error generated by .Internal(nchar) disappears when
> > debugging
> >
> > On 05/10/2015 7:24 PM, Matt Dowle wrote:
> > > Joris Meys <jorismeys <at> gmail.com> write...
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>&g...
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 fi...