Implementing Reverse effect (playing audio backwards)

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
jgs
Posts: 1
Joined: Sun Mar 28, 2010 6:17 pm
Operating System: Please select

Implementing Reverse effect (playing audio backwards)

Post by jgs » Sun Mar 28, 2010 6:39 pm

Hello everyone. I'm trying to wrap my head around the implementation of Audacity's Reverse effect. Does anyone know if there's a restriction on which file types can use this effect? I've only been able to play WAV files backwards, but I'd like to use a compressed format.

I've downloaded the source, but haven't dug into it yet. I'd like to have an understanding of potential formatting limitations before I do. I'd appreciate any input or references. Thanks for your help.

whomper
Probationer
Posts: 1251
Joined: Sat Jan 23, 2010 9:36 pm
Operating System: Please select

Re: Implementing Reverse effect (playing audio backwards)

Post by whomper » Sun Mar 28, 2010 7:15 pm

interesting. not sure but intuition says that the compression will make playing it backwards different than playing wav backwards and then compressing that to mp3. and then one wonders if playing back a digital wav in reverse is different from playing analog backwards and then digitising that.

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Implementing Reverse effect (playing audio backwards)

Post by steve » Mon Mar 29, 2010 7:50 am

Audacity always works with uncompressed audio data. While working with audio, Audacity works in its own "Audacity Project" format, which consists of uncompressed data fragments and an AUP (AUdacity Project) file. See here for more details: http://wiki.audacityteam.org/wiki/File_Management_Tips

Audio files (of supported types) are imported into Audacity as uncompressed data. The "Reverse" effect simply reverses the data (so that the first sample becomes the last and the last sample becomes the first in the track). After you have worked on a file in Audacity

Audacity natively supports WAV, AIFF, Ogg, FLAC and MP3 for importing. Exporting MP3 files requires that LAME is also installed. http://wiki.audacityteam.org/wiki/Lame_Installation

Support for additional file types may be added to Audacity 1.3.x (NOT 1.2.x) by installing FFMPEG. http://wiki.audacityteam.org/wiki/FFmpeg
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Implementing Reverse effect (playing audio backwards)

Post by Gale Andrews » Mon Mar 29, 2010 10:38 am

jgs wrote:Hello everyone. I'm trying to wrap my head around the implementation of Audacity's Reverse effect. Does anyone know if there's a restriction on which file types can use this effect? I've only been able to play WAV files backwards, but I'd like to use a compressed format.

More I've downloaded the source, but haven't dug into it yet. I'd like to have an understanding of potential formatting limitations before I do. I'd appreciate any input or references. Thanks for your help.
Out of interest what player do you use that plays (i.e. decodes) WAV files backwards (as opposed to applying a reverse effect on it, then playing the reversed copy forwards)? I think a few players do decode MP3 backwards - Soundplay claimed to be the first to do so.

I don't know of any editors that edit MP3 directly (as opposed to decompressing it to PCM like Audacity does) that can apply a reverse effect. They will usually be confined to cut/paste and volume changes.

More relevantly, what are you actually trying to achieve?


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply