Re: [linux-audio-dev] Re: Nicola Bernardini's sound file librarycomments

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Re: Nicola Bernardini's sound file librarycomments
From: Maurizio Umberto Puxeddu (umbpux_AT_tin.it)
Date: ke elo    18 1999 - 15:27:40 EDT


rob wrote:
>
> On Wed, 18 Aug 1999, Erik de Castro Lopo wrote:
>
> > One of the things I have on my TODO list is to make libsndfile work
> > so it can read and write pipes. Unfortunately, once one has started
> > writing a large amount of data to a pipe it is not possible to fseek ()
> > back to the beginning of the file and correct the header like one can
> > with regular files. I see no way around this problem.
>
> use a temp file ? <eww, but hey>
>
> > > 3) Some functions in audio editors are easy to implement in "direct
> > > mode" if the file is accessible in read/write mode.
> > > 3bis) It is possible to append data to a file with your API?
> >
> what about letting it play virtual files so to speak. create
> arbitrary regions in multiple (or the same) files and a play list
> assembled from the region id's. you can simulate direct access, huge-file
> handling, speedy deletes (delete first 2megs of a 100 meg file, etc), and
> large undo buffers with this. all operations would be done upon a flush
> or close.

Yes, an application can do non-destructive editing but it should be a
free choice of the application programmer. "Non-destructive editing" and
"direct editing" have each they pros and cons and good editors may work
in both ways (see Sonic Foundry's Sound Forge for Windows).

Umberto


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:25:52 EST