Lee Revell wrote:
> The plural of anecdotes is not data.
Nice! Thats one for the sigmonster.
Erik
--
+---+
Erik de Castro Lopo
+---+
"Fundamentalists of all faiths
record doesn't use the Rabbit, then you can use the command line
sample rate converter (sndfile-resample) included in the Rabbit source
code. In Debian/Ubuntu there us a precompiled binary in the
samplerate-programs package.
HTH,
Erik
--
+---
Denis Sbragion wrote:
> and did you get it?
I'm not there yet, but I'm getting closer.
Erik
--
+-------+
Erik de Castro Lopo
+---+
"We must not forget that Allah&
)
has its limitations. Thats why I have spent a considerable
amount of time trying to come up with something that has lower
computational requirements as well as better quality :-).
Cheers,
Erik
--
+---+
Erik de Ca
Erik de Castro Lopo wrote:
> Hi all,
>
> SecretRabbitCode was recently included in a test of a number of
> commercially available sample rate converters and while it wasn't
> the best, it certainly didn't disgrace itself either.
I should also thank Ben Loftis of GW
ie systems were ...
Protools wasn't *that* bad unless you look at it on a bang per buck
basis :-).
Sadie however was appallingly bad.
Erik
--
+-----------+
Erik de Castro Lopo
+---+
I
centive to continue my work on coming
up with a new improved algorithm.
Cheers,
Erik
--
+---+
Erik de Castro Lopo
+---+
"I'd rather not work with people who aren't careful. I
kind king knight wrote:
> There is not much to say. Need to know, because learning two different
> interfaces would be non-economical :P.
I recommend libsndfile :-).
Erik
--
+---+
Erik de Castr
John Rigg wrote:
> On Wed, Oct 18, 2006 at 06:50:39PM +1000, Erik de Castro Lopo wrote:
>
> > But this should only be happening on transients and the clipping
> > should stop as soon as the attack portion of the compression
> > process kicks in.
>
> Yes but
rried away with trying to reach some sort
of audio perfection. Things like upsampling in order to apply
compression is over-engineering.
Erik
--
+-----------+
Erik de Castro Lopo
+---+
"A
Dan Mills wrote:
>
> --- Erik de Castro Lopo <[EMAIL PROTECTED]> wrote:
>
> > You need a low pass filter on the control signal. It
> > should
> > be somewhere well below 1kHz.
>
> Agreed that you need the filter, but a 'brick wall' at
> 1
l whcih is **not** desirable.
Erik
--
+-----------+
Erik de Castro Lopo
+---+
"The reasonable man adapts himself to the world; the unreasonable
one persists to adapt the world to himself.
and I gave a bit of a talk about this stuff at an LCA minconf in
2005. The slides are here:
http://www.mega-nerd.com/tmp/secret_rabbit_code.pdf
HTH,
Erik
--
+-----------+
Erik de Castro Lopo
+-
Tim Blechmann wrote:
> only one? i received 3 mails to 3 different addresses,
Thats how I knew it was spam. Emails to three different
addresses.
Erik
--
+---+
Erik de Castro L
LSA etc and
as I understand it, JACk uses pull instead of push. Is that
correct?
Erik
--
+---+
Erik de Castro Lopo
+---+
"C++ is an atrocity, the bletcherous scab of the computi
Erik de Castro Lopo wrote:
> Erik de Castro Lopo wrote:
>
> > Hi all,
> >
> > Thanks to suggestions from people here I now have a relatively
> > complete C++ wrapper for libsndfile:
> >
> > http://www.mega-nerd.com/tmp/sndfile.hh
An another up
Erik de Castro Lopo wrote:
> Hi all,
>
> Thanks to suggestions from people here I now have a relatively
> complete C++ wrapper for libsndfile:
>
> http://www.mega-nerd.com/tmp/sndfile.hh
I've updated this with the following:
- Templatize the read/write/readf/w
o I ensure that only gets specialised as short,
int, float and double?
Erik
--
+-------+
Erik de Castro Lopo
+---+
The difference between genius and stupidity is that
genius has its limits.
.tar.gz
C++ users, please comment.
Cheers,
Erik
--
+---+
Erik de Castro Lopo
+---+
"Even among Europe's Muslim minorities, roughly one-in-seven in France,
Spain, and Great Britain
le.hh has:
class Sndile
{
int method (/* params */) ;
}
int method (/* params */)
{
/* whatever */
}
do I need to add an inline keyword anywhere and if so where?
Erik
--
+----------
or() should maybe take an int arg (the value returned
> by SndFile::error()) and be declared as a static method?
Good catch. Thanks.
Erik
--
+-----------+
Erik de Castro Lopo
+---+
&
mode, SF_INFO *sfinfo)
> {
> psf = sf_open (path, mode, sfinfo) ;
> if (!psf) {
> throw sf_error(psf);
> }
> }
Good tip, thanks.
Erik
--
+---+
Erik de Castro Lopo
+-
ar a language as complex, subtle, and unforgiving as
C++ (or for that matter as unforgiving as C).
Erik
--
+---+
Erik de Castro Lopo
+---+
"I consider C++ the most significant technical hazard to the survival
of your project and do so without apologies." -- Alistair Cockburn
Taybin Rutkin wrote:
> On Jul 13, 2006, at 4:48 PM, Erik de Castro Lopo wrote:
>
> >
> > I have for some time been looking for someone to write a
> > lightweight C++ wrapper for libsndfile that I can distribute
> > with libsndfile.
> >
> >
siders me the guy who can be relied on to fix
anything that is actually fixable, regardless of whether I've
used it before.
Erik
--
+-------+
Erik de Castro Lopo
+---+
Java sucks. C s
Loki Davison wrote:
> There are quite a few c++ 'not fans' on LAD. C and python all the way ;)
I used to be a Python fan but for anything larger than a couple
of hundred lines I now prefer Ocaml.
Erik
--
+-------+
Erik d
ce you give up
mem-mapping you can just use libsndfile and have a bunch of
different file formats other than WAV.
Erik
--
+-------+
Erik de Castro Lopo
+---+
GPLG
GPLGPLGP
GPLGPLGP
hould start pimping Ocaml here except that I would
be the first to agre that Ocaml is really not suited to
audio work :-(.
Anyway, for Ocaml pimping people can read my blog:
http://www.mega-nerd.com/erikd/Blog/CodeHacking/Ocaml/index.html
Cheers,
Erik
--
+---------
http://www.mega-nerd.com/tmp/sndfile.hh
but I am not a fan nor a great user of C++. The wrapper should
really be written by someone with a love for the language.
Erik
--
+-------+
Erik de Castro Lopo
+-
Lee Revell wrote:
> I have not looked closely at the code, but could it be considered an
> information leak if you're using a byte of unitialized data?
If that data is an automatic (ie stack) variable, then yes.
Erik
--
+---
ixing it means that other people
valgrinding their apps which use the Jack libs don't see warnings
about Jack.
Erik
--
+-------+
Erik de Castro Lopo
+---+
"Christianity has a nas
ndfile being poorly maintained?
Erik
--
+-----------+
Erik de Castro Lopo
+---+
Fundamentalist : Someone who is colour blind and yet wants everyone
else to see the world with the same lack of colour.
iour
is a really bad idea.
Erik
--
+-----------+
Erik de Castro Lopo
+---+
"We have fifty million Muslims in Europe. There are signs that Allah
will grant Islam victory in Europe - without swords, without guns,
without conquests. The fift
Paul Brossier wrote:
> On Fri, May 26, 2006 at 10:25:57PM +1000, Erik de Castro Lopo wrote:
> > karsten wiese wrote:
> >
> > > >
> > > > As usual, the source code can be found at http://aubio.piem.org/ ,
> > > > and Debian
nt but cannot
> be compiled
Is this a device driver or a user space program.
Basically no user space program other than libc should be using
kernel header files.
Erik
--
+-----------+
Erik de Castro Lopo
+-
Are you sure you don't have diff direction wrong?
If you have a macro called X_MEMSET with very similar arguments
to the standard C function, the macro should have the same
symanics as the function it wraps. If you don't, you will confuse
people.
Erik
--
+------
bout this.
Erik
--
+-------+
Erik de Castro Lopo
+---+
"Being completely naked during the act of coitus annuls the marriage."
-- Rashad Hassan Khalil, a former dean of Al-Azhar University's
faculty of Sharia (or Islamic law)
e guy who did is on the libsndfile-devel
list but not on this one.
Erik
--
+---+
Erik de Castro Lopo
+---+
"I invented the term Object-Oriented, and I can tell you I
did not have C++ in mind." -- Alan Kay
use a specific guid.
> Is it possible ?
Not currently. If you want to discuss this further maybe you
should bring it up on the libnsndfile-devel list:
http://www.mega-nerd.com/libsndfile/lists.html
Erik
--
+-----------+
to Fs of 8kHz.
Erik
--
+-----------+
Erik de Castro Lopo
+---+
"A mouse is a device used to point at the xterm you want to type in."
-- Kim Alm, a.s.r
On top of
that, it *also* handles the case where the ratio between input and
output sample rates is not constant.
Erik
--
+-------+
Erik de Castro Lopo
+---+
"Unix and C are the ultimate computer viruses." -- Richard P Gabriel
----+
Erik de Castro Lopo
+---+
Pastafarianism : http://www.venganza.org/
The intelligent alternative to 'Intelligent Design'.
have a look at it.
Erik
--
+-----------+
Erik de Castro Lopo
+---+
The Myth of Islamic Tolerance
http://answering-islam.org.uk/Shamoun/badawi_tolerance.htm
g about that...)
Maybe I haven't made myself clear. IMHO linear resampling sucks
for audio. It is included in libsamplerate purely so I can
show how bad it actually is.
Erik
--
+-------+
Er
[EMAIL PROTECTED] wrote:
> On Wed, Mar 29, 2006 at 11:47:30PM +1000, Erik de Castro Lopo wrote:
> > Tobias Scharnberg wrote:
> >
> > However, please do not use linear resampling; its just too crappy.
>
> urgh... i just switched my local copies of alsa_in and _out to l
owever, please do not use linear resampling; its just too crappy.
Erik
--
+-----------+
Erik de Castro Lopo
+---+
"I have never met anyone who can do Scheme, Haskell, and C pointers
who c
platforms
(tested on x86, ia64, ppc and mips).
Erik
--
+---+
Erik de Castro Lopo
+---+
Oh my god! They killed init! You bastards!
Xs Ys otherwise;
Ah yeah, like Haskell and Erlang would do it.
I do prefer the Ocaml way :-)
Erik
--
+-----------+
Erik de Castro Lopo
+---+
"Perl as a language has less a design than
[] -> []
| head :: tail ->
if List.mem head lst then
head :: intersect lst tail
else
intersect lst tail
Erik
--
+--------
olkits have a huge set of dependancies regardless :-).
GTK+ is no different in this regard.
> And something that's installed as default in most distros would be
> good, too.
GTK+ is shipped with most distros.
Erik
--
+---+
e violating the GPL if they distributed
the kernel with the Nvidia kernel. The GPL bestows more freedom
to the user than it does to the distributor of GPL software.
Erik
--
+-------
you
like :-).
Erik
--
+-------+
Erik de Castro Lopo
+---+
"If you think C++ is not overly complicated, just what is a
protected abstract virtual base pure virtual private destructor
and when was the last time you needed one?" -- Tom Cargill
ver loose is one sample. In addition, src_simple
will not write beyond the length of the output buffer length that
you specify in the output_frames field.
Erik
--
+-----------+
Erik de Castro Lopo
+
pi.html#string
>
> Yes, been there before I posted. It's probably a matter of taste,
> but I don't find this much cleaner than adding a new chunk.
It has the advantage of being robuts, future proof and usable
now.
Erik
--
+--------
sndfile/api.html#string
HTH,
Erik
--
+-----------+
Erik de Castro Lopo
+---+
"The object-oriented model makes it easy to build up programs by
accretion. What this often means, in practice, is that it provides
a structured way to write spaghetti code." -- Paul Graham
sudo dpkg -i liblo*.deb
And you're done. Probably a bit easier than converting your machine
to Debian testing :-).
Erik
--
+-----------+
Erik de Castro Lopo
+---+
"Do I do ev
short C++-file:
Check your version of liblo. The version in Debian (even testing)
and Ubuntu is a bit behibd what Dave has on his web site.
Cheers,
Erik
--
+-----------+
Erik de Castro Lopo
+--
40kbs G723 ADPCM encoding. */
which is a mere drop in the bucket.
Erik
--
+---+
Erik de Castro Lopo
+---+
Question #2459: Ruling on shaking hands with the opposite sex
http://
You can then do:
typedef std::complex dcomplex ;
Erik
--
+-------+
Erik de Castro Lopo
+---+
Open Source and Free Software means that you never sacrifice quality
of the code for meeting d
sination
file's container type (AU, AIFF, WAV etc).
Erik
--
+-------+
Erik de Castro Lopo
+---+
"Any sufficiently complicated C or Fortran program contains an
ad-hoc
Mario Lang wrote:
> Erik de Castro Lopo <[EMAIL PROTECTED]> writes:
>
> > BTW, the latest release of libsndfile supports FLAC via the same API
> > as all the other formats.
>
> GREAT!!! I was s waiting for this! So now I'll be able to read
>
pend on flac/ogg/speex/wav/etc libs,
> ad nauseum..
Yes, thats braindamaged. However, libsndfile now supports FLAC and work
on Ogg Vorbis and Ogg Speex is underway.
Erik
--
+-----------+
Erik de Castro Lopo
+-
does generic audioformat to PCM?
Isn't that what libsndfile does?
BTW, the latest release of libsndfile supports FLAC via the same API
as all the other formats.
Erik
--
+-------+
Erik de Castro Lopo
+--
--------+
Erik de Castro Lopo
+---+
"If you think C++ is not overly complicated, just what is a
protected abstract virtual base pure virtual private destructor
and when was the last time you needed one?" -- Tom Cargill
hat
> I'd prefer, basically I need 4 functions I believe:
Conrad Parker has been working on adding Ogg Vorbis and Speex support
to libsndfile. Its been very close to working for some time now :-).
Erik
--
+----------
lement my MIDI connectivity by myself.
According to the FSF, the MIT License (also known as the X11 license)
is GPL compatible. See:
http://www.gnu.org/philosophy/license-list.html#GPLCompatibleLicenses
Erik
--
+--------
n this sort of
stuff:
http:/www.mega-nerd.com/libsndfile/
If you have a patch to post, don't bother about waiting around to
get a feel for the list. Just dump it on us :-).
Erik
--
+-----------+
Erik de
(time permitting).
Erik
PS : Libsndfile is very close to having full Ogg Vorbis support
(Conrad ???). Would that be enough for you to drop or at
least partially replace MP3?
--
+-----------+
Erik
dfile can read/write WAVE-EX files. It uses the SF_FORMAT_WAVEX
format type to distinguish it from SF_FORMAT_WAV.
http://www.mega-nerd.com/libsndfile/
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL P
Erik de Castro Lopo wrote:
> I joined the damn thing and logged in but I can't create a new topic
> and I can't relpy to an existing topic.
OK, I finally figured this damn thing out :-).
> However, I did find an email address for the person who is hosting
> the actual
existing topic.
However, I did find an email address for the person who is hosting
the actual binary on his web site.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---
tempted a whois which directs me to:
https://domain.ficora.fi/
but I still can't find an email address.
Any help that someone may be able to offer would be appreciated.
Cheers,
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTEC
orking :-).
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"The lusers I know are so clueless, that if they were dipped in
clue musk and dropped in the middle of pack of horny clues, on
clue prom n
[EMAIL PROTECTED] wrote:
> On Saturday 23 July 2005 00:29, Erik de Castro Lopo wrote:
> > then libsndfile does all of the above except 1) and 2) and possibly
> > 5). What exactly do you mean by "realtime streaming".
>
> if 2) is missing that wouldnt hurt. i dont
ut why would they?
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"It's pretty simple. [Large companies are] allowed to own either
a content cre
e the LAME encoder.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Therapists typically base the nuttiness of a patient on the
strength of their convictions, on which basis this 43,000 word
opus alone stands as a
ffer MP3 as a format
that can be read but not written.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"The reasonable man adapts himself to t
ws it.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Windows was created to keep stupid people away from UNIX."
-- Tom Christiansen
at replacing ESD with this one. In their
scheme, Polypaudio would use ALSA's dmix rather than direct ALSA.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+
Alfons Adriaensen wrote:
> On Mon, Jun 13, 2005 at 10:49:38PM +1000, Erik de Castro Lopo wrote:
>
> > The SNR and bandwith cannot be determined by reading code.
> > Measurement is the only option.
>
> It's perfectly possible to calculate this, and it isn't even
guess you can figure it out.
The SNR and bandwith cannot be determined by reading code. Measurement
is the only option.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+-
te conversion on
sample load time and sort the converted version in memory.
This will mean that you do the conversion once for each drum
sound rather than on all tracks all the time?
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Y
t should probably be 20 times faster. However,
I really didn't even expect anyone to use SRC_LINEAR. It was added
for completeness, to show how bad linear converters are.
Erik
--
+-----------+
Erik de Castro Lopo [EMAI
code.pdf
The measuring os SNR is on pages 16-19 inclusive.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"I consider C++ the most significant t
mplerate for information on how to test them.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"There are only two things wrong with C++: The initial concept and
the implementation." -- Bertrand Meyer
use operator
> [], no.
I think you are all guessing.
At least wil C arrays you kopw exactly what you get :-).
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---
Christian Schoenebeck wrote:
> Es geschah am Sonntag 05 Juni 2005 04:18 als Erik de Castro Lopo schrieb:
> > I also find Ocaml a better high level language than Python because
> > it is strictly and statically typed as well as compiling to native
> > binaries which come cl
r details. It is not the ideal programming
language, but for some kinds of tasks it beats every other
programming language I've ever seen.
You might also find that Ocaml combined with C is a better option
than C++.
Erik
--
+--
3 above were C++ related and did not affect
the GNU C compiler.
> Disillusioned and indecisive, he resigns himself to
> henceforth reluctantly write C++ only to support his miserable life.
Can I sell you an Ocaml:
http://www.ocaml.org/
Erik
--
+-
n integer-data.
I can (possibly) see why one ***might*** want to do something like
that for ints, but for floats its just not a good idea. Using what
you currently have you are more likely to add distortion than if you
just add the two values.
Erik
--
+------
ve and what's wrong with:
*p_output = *p_A + *p_B;
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Using Java as a general purpose application development language
is like going big game hunting armed with Nerf weapons."
-- Author Unknown
he control parameters for each channel.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"UNIX was not designed to stop you from doing stupid things, be
ny code.
http://jackit.sourceforge.net/
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Debugging is twice as hard as writing the code in the first place.
n do. Why not take a look
at those projects instead.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"You don't have make it your sole purpose in life, but
s then you get
pitch shifting.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Always code as if the person who ends up maintaining your
code will be a violent psychopath who knows where you live."
-- Martin Golding
of what we have been doing all these years.
Congratulations to everyone involved in making audio on Linux happen
and thanks to Nick and Mary of Deprogram for showing us how its
good this stuff actually is.
Cheers,
Erik
--
+---+
Erik de
lca-audioconf AT lists dot linux dot org dot au
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"It's not that perl programmers are idi
a
> developer?
I would go for this interpretation.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"OS X is great that way. I put a copy of OS X on my coffee table,
and it hasn't been hacked
ibuted**.
That means that you and the company can hack on whatever GPL code
you like as long as they don't release a binary (under NDA or not).
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+
anderkooy and
trying to address.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Linux is produced to be used, whereas the others are produced
to be sold" -- Bobby D. Bryant
1 - 100 of 299 matches
Mail list logo