Re: [Audacity-nyquist] manipulating tracks
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Dominic M. <do...@au...> - 2005-06-04 20:19:46
|
I'll second what Alex said, but let me add that Nyquist is not really intended to script Audacity or access high-level features. All Nyquist "sees" is a bunch of audio data. It has lots of powerful tools for manipulating that audio, but was never intended to be used to manipulate Audacity's interface. Returning lists of labels is the most high-level thing supported. In the future, we hope to add a rather separate interface for scripting Audacity. That will be a much more appropriate thing to use for doing things like batch processing, or tasks that involve moving tracks and clips around. Combined with Nyquist for effects and filters, the combination will be quite powerful. - Dominic On Jun 4, 2005, at 12:47 PM, Alex S. Brown wrote: > Nyquist is pretty powerful. You can select a track or segment in > Audacity > (multi-tracks if you like), and then Nyquist can manipulate the > selected audio. > It has many audio tools, like filters, time stretching/compressing, > resampling, > FFT analysis, and many others. Nyquist can either return a new > sound that > replaces the selected sound, or a list of labels. If you want to > analyze the > audio and split the track at certain points, return a list of > labels and then > Audacity can split the tracks at the label points. > > Time-shifting can be accomplished by adding silence at the > beginning, middle, or > end of the selected track. You can also delete segments if you > like. If you > return a sound that has a different duration than the original > selection, > Audacity will expand or contract the sound file duration to match. > > Gathering basic information like dynamic range, peaks, averages, > duration, and > so on are pretty easy. You can return that data in a dialog box by > formatting > it as a text string and making that your return value. > > Nyquist also has file i/o features for sounds as well as text. If > you do not > want to return the function's results to Audacity, you can write > the results to > disk instead. > > In my experience, there is not much that you CANNOT do with Nyquist > if you are > creative enough. If you find something you cannot do, or if the > built-in > functions are not efficient enough, you can extend Nyquist with C > and C++ > extension code. I have never done that, but there is a whole > section of the > manual devoted to it. > > Give it a try. The Lisp syntax might take a little getting used to, > but it is > worth the trouble. > > --Alex > > Quoting Charlls Quarra <cha...@ya...>: > >> I use audacity from time to time mainly for looking >> spectrograms and importing raw audio, but i just got >> curious about this nyquist prompt, i was wondering if >> the API accessible from nyquist scripts includes >> manipulating an audio segment in a track, like >> splitting at a point, getting segment duration, >> time-shifting the segment, etc. Is there a way? >> > > ---------------------- > Alex S. Brown, PMP > ale...@al... > http://www.alexsbrown.com/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can > you shotput > a projector? How fast can you ride your desk chair down the office > luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Audacity-nyquist mailing list > Aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-nyquist > |