nd SRC_ZERO_ORDER_HOLD converters in conjunction with
the src_process () conversion method. I am currently trying to find a
little time to look into this properly.
BTW, there's also an interview with some guy writing some sort of hybrid
DJing / sound file editor application :-).
Erik
--
+----
problem with aliasing effects whatsoever.
It took me all of about 3 hours from start to finish to get this working.
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+
example sound file player which
uses OSS for Linux, but also works on Solaris, Win32 and MacOSX.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
I hack, therefore I am.
s functionality.
Mailing lists for the Rabbit here:
http://www.mega-nerd.com/SRC/lists.html
In other news, I am about to take on a small Linux audio based contract
(under NDA, so no more details available yet) and hope to find more
Linux programing contracts in the future.
Cheers,
Erik
--
+---
to dig it up and ping me if I don't get back to you.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
Microsoft is not the answer.
Microsoft is t
. I don't think its smart to try and make one app which does
everything. However multiple apps work togther and share components like
libsndfile and Secret Rabbit Code is the way to go.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTEC
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
Everyone seems to assume that the current system in America is capitalism.
I beg to differ. True capitalism does not involve
the output of the ./configure.
Report back what you find :-).
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"One World, one Web, one Browser.&q
the output of the ./configure.
Report back what you find :-).
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"One World, one Web, one Browser.&q
left corner of the window should
bring up a record dialog.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"C is a programming language. C+
--------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
A sufficiently advanced programming error is
indistinguishable from the Windows 95 Operating System.
iles source on one machine into binary
for another machine.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
" ... new TV ad for Microsoft's
oice for sound
file I/O.
I also have another library that you will find useful once it is finished and
released. (no blabbing K :-))
Cheers,
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+-
udio processing done in 128 sample blocks at
48kHz sampling rate, Midi is processed ever 2.666 milliseconds. At 64
sample blocks its 1.33 milliseconds which is real difficult to complain
about.
What do people think?
Erik
--
+-------+
Erik
version 1.0.0.
Cheers,
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
Will the last person leaving Redmond please turn off all the lights.
used in user space programs.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Attacks by Microsoft Chairman Bill Gates on the GNU General Public License,
under which much open source and free software is
de
> #define s16 __s16
> #define u16 __u16
You really shouldn't be using header files like as they are really
only for kernel related code.
Instead #include which defines things like int16_t and uint16_t
which are part of the ISO 1999 C Standard. Make things a little more portable.
On Fri, 09 Aug 2002 18:18:44 -0700
Martin Wolters <[EMAIL PROTECTED]> wrote:
> I tried using something like the following to convert the data:
>
> float samples[samplesInBuffer];
> for(i=0;i int value = (buf[1] << 8) + (buf[0] << 16);
> sample[i] = ((float)(value/256))*scalefactor;
>
On Fri, 09 Aug 2002 18:18:44 -0700
Martin Wolters <[EMAIL PROTECTED]> wrote:
> I tried using something like the following to convert the data:
>
> float samples[samplesInBuffer];
> for(i=0;i int value = (buf[1] << 8) + (buf[0] << 16);
> sample[i] = ((float)(value/256))*scalefactor;
>
tter than the SGI
inspired API that does the same thing)."
Cheers,
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
Moore's Law: hardware speed doubles every 18 months
Gates' Law: software speed halves every 18 months
we can afford to waste these
precious resources.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
Reporter: "What do you think of Western Civilisation?"
M.K. Gandhi: "I think it would be a good idea."
nounced in freshmeat.net.
Changes in the API between the version 0.0.X series and the 1.X.Y
seris are listed here:
http://www.zip.com.au/~erikd/libsndfile/version-1.html
Cheers,
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes
uld be sorted out really soon.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"The happiness you have demanded is now mandatory."
-- Jello Biafra
uld be sorted out really soon.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"The happiness you have demanded is now mandatory."
-- Jello Biafra
the programs in the example/
directory of the distribution.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Microsoft, and other companies with shoddy
eature of libsndfile since the very first released version.
> This is currently handled (at least for SoundFonts) with libsoundfont. I
> would like to extend this to DLS though, without attempting to unify the
> API.
This is indeed a noble goal.
Erik
-
+-------
ver a large portion of what Purify does. I have used
it a number of times and I found it very effective.
Search http://freshmeat.net for it or if you use Debian:
apt-get install electric-fence
Cheers,
Erik
--
+-------+
Erik de Castro L
didn't have as much free time :-).
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
Linux: generous programmers from around the world all join
forces to help you shoot yourself in the foot for free.
ssion.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
J. Headley: "God, root, what is difference ?"
G. Haverland: "God can change the byte order on the CPU, root can't."
On Mon, 29 Apr 2002 21:56:01 +0200
Joern Nettingsmeier <[EMAIL PROTECTED]> wrote:
> if i there are no other votes, it's 2:1 against cc:ing, and i lose
I also am against getting two copies :-).
Erik
--
+-------+
Erik de Castr
bian package which depends
on libsndfile.
libsndfile is a relatively low maintenance packages with only 3-4 releases
per year. All of them undergo a thorough testing process on both Linux and
Sparc Solaris before they are released.
Erik
--
+--------
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
BSD: A psychoactive drug, popular in the 80s, probably developed at UC
Berkeley or thereabouts. Similar in many ways to the prescription-only
medicat
; in a file or feed it into other programs?
Vsound does this:
http://www.zip.com.au/~erikd/vsound/
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---
The configure.in is relatively easy to write anyway.
Sorry I can't help more than that.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
Windows NT : An evolutionary dead end.
configure script. Now go and read that INSTALL file.
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Minimum-phase filters distort the phase respon
this:
gcc -Wall -Wstrict-prototypes `sndfile-config --cflags` -c file.c
To link a number of object files against libsndfile and generate an executable
do this:
gcc `sndfile-config --libs` file1.o file2.o -o program
The ticks/quotes in the above two commands a backticks wh
about Midi devices which aren't supported by ALSA like the usb midi
interfaces?
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Usenet is like a herd of performing elephants with diarrhea;
massive, difficult t
nd a sequencer simultaneously so I can tweak the synth's patch while
a sequence is playing.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
On Mon, 11 Mar 2002 02:06:56 -0500
rm <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 11, 2002 at 05:08:15PM +1100, Erik de Castro Lopo wrote:
> > On Mon, 11 Mar 2002 00:58:17 -0500
> > rm <[EMAIL PROTECTED]> wrote:
> >
> > > On Mon, Mar 11, 2002 at 0
On Mon, 11 Mar 2002 00:58:17 -0500
rm <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 11, 2002 at 03:08:39PM +1100, Erik de Castro Lopo wrote:
> > Hi People,
> > A good example of this is the PLX iop480
> > (see link [1] below), a 32 bit PPC core which can connect d
start by getting hold of the Rapid Development Kit (ie a prebuilt
prototype board ready to be plugged into a PC) which costs about
US$995. The chip itself costs about US$50 each in low volumes.
Erik
--
+---+
Erik de Castro Lopo [
er?)?
Talking to hardware is something that should be high priority while data
conversion shouldn't be.
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+--
0.0.27
> Is the API will change for the next release ?
The changes are very minor. The new release will be version 1.0.0.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+--
On Sun, 10 Feb 2002 00:23:19 -0500 (EST)
Taybin Rutkin <[EMAIL PROTECTED]> wrote:
> On Sun, 10 Feb 2002, Erik de Castro Lopo wrote:
>
> > In terms of completeness, what are the file formats that people would
> > like to see in libsndfile but aren't currently supp
ee. Should be relesaed in the next month or so.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"The happiness you have demanded is now mandatory."
-- Jello Biafra
On Sat, 19 Jan 2002 07:27:36 +1100
Erik de Castro Lopo <[EMAIL PROTECTED]> wrote:
> On Fri, 18 Jan 2002 17:03:55 -
> "Tony Lambley" <[EMAIL PROTECTED]> wrote:
>
> > Back in the 80's people were using the Synclavier for audio on video
> > pro
CPU. A Mac version is planned.
>
> I can't imagine anyone releasing anything for BeOS anymore.
I had heard of Final Scratch before. From what I heard they
developed for BeOS first and must have done the Linux port
when it looked like BeOS was dying.
Erik
--
+-----
01) and have friends who work
there now :-).
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
I hack, therefore I am.
x27;ll quiz him on this subject.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
A sufficiently advanced programming error is
indistinguishable from the Windows 95 Operating System.
On Tue, 15 Jan 2002 10:38:14 +
Steve Harris <[EMAIL PROTECTED]> wrote:
> On Tue, Jan 15, 2002 at 09:32:43 +1100, Erik de Castro Lopo wrote:
> > It should be noted however that some of the really famous guitar sound
> > (ie Eric Clapton's Cream work) was done on Cl
eally famous guitar sound
(ie Eric Clapton's Cream work) was done on Class A amplifiers which are
not push-pull at all :-).
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED
me
- release time
The attack and release timers currently do exponential ramps, but I should
also look into doing linear ones.
Cheers,
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
Linux: Because rebooting is for adding new hardware
to be embarked upon unless you have a lot
of time money and resources.
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Hundreds of thousands of people couldn't care less about Kylix
and what it r
sion 1.0.0 due out RSN (real soon now).
> and other
> common miscellaneous formats which i'll
> also want to handle at some point?
Any others you care to mention?
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it
to play with it. SHould be sometime near Xmas ;-).
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"The X-files is too optimistic. The truth is not out there."
-- Anthony Ord
driver for a a couple of these serial port midi
interfaces.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"Windows NT - How to make a 100 MIPS Linux workstation perform like
an 8 MHz 286" -- Christopher B. Browne
. Then you should be
> able to use pd to get some signals flowing.
>
> The last part is where I'm up to. Maybe I'll try again tonight.
I simple step by step of how you got it working might be useful for you web page
:-).
Erik
--
+
-l10 grep yada" on a huge source
tree, the minimum latency stays at around 1000 microseconds but the
maximum value jumps to 14000 micorseconds.
Now where are those LL patches :-). (Don't bother replying , I do know).
Erik
--
+-----------+
On Thu, 3 Jan 2002 23:13:37 +1100
Erik de Castro Lopo <[EMAIL PROTECTED]> wrote:
> I had a look at this and really couldn't get a feel for what the whole
> thing is about. Yes it does sharing of midi ports, but whats all this
> memory management and realtime stuff doing in a
gure out how to access things for you and provide a
> uniform API for doing so.
I'll have to look into how USBMidi does things.
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+--
tocol.
I'm still not totally convinced. By imposing certain small restrictions
on what is allowed, this should still be possible.
Erk
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
Laws of Thermodynamics:
1) You cannot win.
2) You cannot break even.
3) You cannot get out of the game.
le of "one complete midi message per queue access".
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"In civilian equipment, such as computer
ould be outside the ALSA midi framework.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
UNIX *is* user-friendly, just picky about who it
chooses for friends!
sages can take a long time and prevent any other
> events from being transmitted.
Obviously this kind of abuse can cause trouble, but none that can't
be overcome.
Erik
--
+------------
ary??? Even
worse, where is the simple example code?
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
J. Headley: "God, root, what is difference ?&q
like this currently exist? I've heard of both MidiShare
and PortMidi but both seem somewhat vapourish and I can't find any
real information on them and what they do.
Cheers,
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED]
ul, and easy to learn,
> it would offer musicians a lot of advantages, and probably attract a lot
> of adherents."
Douglas,
What you want is DeMudi
http://www.demudi.org/
Erik
--
+-----------
On Fri, 21 Dec 2001 21:35:41 +0200
Juhana Sadeharju <[EMAIL PROTECTED]> wrote:
> >From: Erik de Castro Lopo <[EMAIL PROTECTED]>
> >
> >My version uses sinc interpolation by small integer factors (2,3,4,..)
> >followed by linear or cubic interp
u attend Linux.conf.au
in Brisbane in February:
http://www.linux.org.au/conf/
I'll be giving a intro tutorial on Audio DSP. My tutorial is not officially
listed in the program yet but it should go up Real Soon Now (tm).
Erik
--
+-----------
If you
make an announcement like this it would be really nice to have a couple
of lines explaining what it is.
Cheers,
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---
s should even allow time varying SRC.
The last hurdle to be overcome is the design of the FIR interpolators. Its
relatively easy to design poor ones and very difficult to design good ones.
Erik
--
+-----------+
Erik de Castro Lop
if the result is going on Red Book CD. Run an
> analysis.. :-)
Is this in double blind testing? :-)
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---
> while recording otherwise
> buffer underflow/overflow will eventually occur.
The only buffering is in the CD writer part and this is the only place
where buffering over/underruns can occur.
Erik
--
+-----------+
Erik de Cast
sent to the Linux Audio User mailing list instead.
To answer the questions, search freshmeat for trplayer.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+-
ld be
too many of them.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
IDIOT, n.
A member of a large and powerful tribe whose influence in human
affairs has always been dominant and controlling. The Idiot
to design Phase Locked
Loop. I know because I designed one.
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
$_='while(read+STDIN,$_,2048){$a=29;$b=7
those things are? (I'm not a (digital)
> hardware guy...)
I was and I can tell you they will drift relative to one another. It
will probably be less than 50 part per million.
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (
I faced exactly the same problem with libsndfile. My approach was that
if they want to link statically to libsndfile they can go and get fscked.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+
Just correcting spelling and logic.
It really blew my mind when Erik de Castro Lopo <[EMAIL PROTECTED]> said:
> If someone hs access to a Logic Analyser with a PCI bus probe (I have seen
> one) then this becomes possible reverse engineering task.
>
> You run the card under L
ux.
If someone hs access to a Logic Analyser with a PCI bus probe (I have seen
one) then this becomes possible reverse engineering task.
You run the card under Linux and watch the Logic Analyser trace. Then you
start peeking an poking registers under Linux.
Erik
--
+------
functions;
one for truncation and one for rounding. Is that correct?
If this is the case, then maybe we can use and inline function with assembler in
it.
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---
ns. That means you have to switch.
To fix this you have to either fix the C spec or the i386 architecture. I
personally think it would be easier to fix the i386 arch :-).
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it
se the UltraSparc II has a shallow pipleine wrt i386
or whether the UltraSparc has a specific assembler instruction for float
to int casts. I should also try this on UltraSparc III which I has a deeper
pipeline than USII.
Erik
--
+-------+
is because the UltraSparc II has a shallow pipleine wrt i386
or whether the UltraSparc has a specific assembler instruction for float
to int casts. I should also try this on UltraSparc III which I has a deeper
pipeline than USII.
Erik
--
+-------+
e its already in the C99
standard and hence more portable.
The macro has problems like possible macro side effects and being too ugly.
Erik
--
+---+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+-
It really blew my mind when Steve Harris <[EMAIL PROTECTED]> said:
> On Thu, Nov 01, 2001 at 08:26:59PM +1100, Erik de Castro Lopo wrote:
> > Hi all,
> >
> > I have recently written a paper titled "Faster Floating Point to Integer
>Conversions"
>
Cheers,
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
"These are the finest moments in (post)modern life, when satire is completly
indistinguishable from reali
d on Win32. If I had access to a Mac system I would like to add
support for that as well.
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
Beware the
It really blew my mind when Juhana Sadeharju <[EMAIL PROTECTED]> said:
> >From: Erik de Castro Lopo <[EMAIL PROTECTED]>
> >
> >I am currently adding support for Sonic Foundry's 64 bit wave files to
> >libsndfile:
> [ ... ]
> >I current
e to prevent my mail box from overflowing with
multiple copies of the same file.
Regards,
Erik
--
+-------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
The differe
//sound.media.mit.edu/~eds/beat.pdf
Erik
--
+-----------+
Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid)
+---+
The word "Windows" is a word out of an old dialect of the
Apaches. It means: "White man staring through glass-screen
onto an hourglass..."
o try a book I co-authored
called "Sams Teach yourself C for Linux Programming in 21 days". There's a
picture of it on my web page:
http://www.zip.com.au/~erikd/
and links to a couple of reviews on Amazon.com.
Erik
--
+----------
ti might be worth exploring.
Erik
--
---------
Erik de Castro Lopo [EMAIL PROTECTED] (Yes its valid)
-
"Testing can prove the presence of bugs, but never their absence."
-- Edsger Dijkstra
On Fri, 31 Aug 2001 14:38:17 +1000
Erik de Castro Lopo <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I was wandering around on Dave Phillips' sound and music page when I came
> across this:
>
>phazor creates ambient textures by a very interesting use of t
erest. Did anyone
happen to download this thing and have it stashed away on a harddrive
somewhere?
If they do, I'd be really interested in getting a copy.
Regards,
Erik
--
-----
Erik de Castro Lopo [EMAIL PROTECTED] (Yes
non-destructive editing has been used in the Fairlight
disk recorder for over 10 years. I think MFX 1 was released in about
1989.
Erik
--
-
Erik de Castro Lopo [EMAIL PROTECTED] (Yes its valid)
-
Joakim Verona wrote:
> Hello,
>
> I made a track with jazz/timidity/csound that i would like to record
> digitally to disk.
>
> I would like some way to monitior the soundcards output, and record it
> to disk at the same time as im playing it.
>
> Im using alsa 0511.
>
> I've seen somewh
Jay Ts wrote:
> > I'm looking for a Linux DAW style project to join and hopefully contribute
> > to.
>
> > My main requirement is that the project be C based as C++ hurts my head
> > too much.
>
> Same here, except for the nausea... :-) But I'm done writing about
> that!
>
> > What I'm t
Hi all,
I've been away from Linux audio development in general and this list in
particular from some time but I would now like to move back into this area.
I'm looking for a Linux DAW style project to join and hopefully contribute
to. My main requirement is that the project be C based as C++ hu
201 - 299 of 299 matches
Mail list logo