|
From: | Remon Sijrier |
Subject: | Re: [Traverso-devel] Re: My recent audio file changes |
Date: | Mon, 9 Jul 2007 10:39:37 +0200 |
Just added mp3 decoding using libmad. (Thanks K3b!)
It seems to work well!
Now to try to get resampling working better...
(Remon, I have ideas that don't involve ripping apart everything that
uses an nframes_t...)
Remon
Ben
On 7/7/07, ben levitt <address@hidden> wrote:
> I fixed VorbisAudioReader, so you can now use ogg files natively in
> traverso! Just drag inan ogg, and edit like it was a wav file! No
> conversion necessary.
>
> It's still not very optimized, but I think we should be able to cut
> the cpu usage for ogg file reading way down from what it is now.
>
> Dynamic resampling is also starting to work.
> To try it out, uncomment/comment lines 94/95 in MonoReader.cpp, and
> change Project.cpp line 705 to
> return audiodevice().get_sample_rate();
>
> after making those changes, try importing audio files of different samplerates!
>
> Ben
>
>
> On 7/6/07, ben levitt < address@hidden> wrote:
> > I added AbstractAudioReader which is what it sounds like. :) It also
> > has static code for figuring out which subclass to create for a given
> > filename.
> >
> > I added SFAudioReader which encapsulates all the libsndfile calls.
> > This class works well.
> >
> > I added dynamic resampling using ResampleAudioReader, which sadly
> > doesn't work, and I'm not sure why yet. So it's disabled. See
> > MonoReader.cpp:91 to enable it. (it just wraps a real AudioReader
> > with resampling code.)
> >
> > I also added VorbisAudioReader, which should totally work, but does
> > not. Traverso crashes on import of an ogg/vorbis file. I'm wondering
> > if this class may actually work better than it seems, and the problems
> > are coming from another thread that gets confused by the different
> > format?
> >
> > So, after all that, traverso still works the same as before. :P
> > Reading using libsoundfile works, ogg doesn't, dynamic resampling
> > isn't enabled.
> >
> > Ben
> >
>
_______________________________________________
Traverso-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/traverso-devel
[Prev in Thread] | Current Thread | [Next in Thread] |