Re: [linux-audio-user] Repairing wav files written by pd 64bit

From: Erik de Castro Lopo <erikd-lad@email-addr-hidden-nerd.com>
Date: Mon Mar 07 2005 - 22:34:11 EET

On Mon, 7 Mar 2005 11:27:32 -0700
"thewade" <pdman@email-addr-hidden> wrote:

> hello,
>
> I have been asking that the developers of PD help me by repairing the
> wave file read and write objects in the 64-bit environment as the
> headers of the PD written files are all messed up, and PD cant read
> in wav files without the user having to overide the headers. I am
> patient an hopefully something will happen there soon.

How about replacing the current WAV read/write objects with a wrapper
around the libsndfile routines. This will allow you to read and write
much more than just WAV files, the code works with either endian-ness
and works on 64 bit systems.

libsndfile is already used for file I/O in SuperCollider and I believe
John ffitch (spelling?) is also working on using in Csound.

Erik

-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@email-addr-hidden-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"There are only two things wrong with C++: The initial concept and
the implementation." -- Bertrand Meyer
Received on Tue Mar 8 00:15:19 2005

This archive was generated by hypermail 2.1.8 : Tue Mar 08 2005 - 00:15:19 EET