[Audacity-devel] Feature request: Saving looping samples (.wav)
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Gee D. B. <gee...@ya...> - 2006-07-08 21:37:31
|
Hi, I'd like to see the ability to save loop points when exporting wav files from my audacity projects. I'm not afraid to get my hands dirty in the code, but I need to get my development machine back up and running before I actually try to compile anything... I've just downloaded the 1.3.0b source, and the source of the latest libsndfile, and taken a sniff around. It looks like the latest version of libsndfile supports the saving of smpl chunks when saving .wav files. An SF_INSTRUMENT definition would have to be allocated and added to the SNDFILE structure via the sf_command(), SFC_SET_INSTRUMENT. The loop points and loop mode would have to be set appropriately, and once the call to save the file is made, it should all be taken care of automatically by libsndfile. As for the GUI, I suspect the easiest option would be to add a "File>Export As Looped Wave File" menu item, which would have some extra options on the save file dialog. One could specify the looping section to be the current selection, a period starting at a given label track and ending at the next label, or a period defined by a start and end label. Loop direction could be specified as forward, backward or alternating (ping pong). Comments? Better ideas? Critiques? Just send a patch when it's done? =) sample gee dub bee music @ http://www.soundclick.com/bands/3/geedubbee.htm __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |