[Alsaplayer-devel] Pitch shifting

Jay Carlson jay at zoop.org
Thu Feb 24 16:38:18 GMT 2005


This functionality wasn't present last time I checked.  I love the idea of
unbound pitch / speed adjustments, but be forewarned it does use up a bit
of CPU.

On a related note -- with mpeg playback (and ogg I suspect also), one can
do simple unbound speed adjustments just by skipping frames.  Skip every
other frame, and you have 2x (2/1) playback.  Skip every fifth frame, and
you have 1.25x playback (5/4).  Likewise, one could go slower than 1x by
doubling frames.  Double every fourth frame, and you have .8x playback
(4/5).  Etc...

I personally would love to have this feature -- I'm imagining improved
seek FWD / seek REV modes in my car .mp3 deck.

Andy, what do you think?  Would something like this be easy to add?

--Later,
--Jay



> Does libalsaplayer support shifting pitch without changing speed?
> Conversely, can I change playback speed without changing pitch? I saw
> some traffic about this in the list archives (but nothing conclusive),
> and I don't see any support for this in control.h or other headers. My
> knowledge of audio playback is such that I don't really even know if
> this is reasonable, I just know it would be nice. Thanks.
>
> Austin Bingham
>
> _______________________________________________
> alsaplayer-devel mailing list
> alsaplayer-devel at lists.tartarus.org
> http://lists.tartarus.org/mailman/listinfo/alsaplayer-devel
>
>





More information about the alsaplayer-devel mailing list