Re: [Audacity-nyquist] manipulating tracks
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Alex S. B. <ale...@al...> - 2005-06-04 19:47:19
|
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/ |