traverso-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-devel] Re: My recent audio file changes


From: ben levitt
Subject: [Traverso-devel] Re: My recent audio file changes
Date: Sat, 7 Jul 2007 15:18:29 -0700

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]