How can i any way to export the waveform amplitude vs. time data of a recording to a txt file, in two columns? Something along the lines of how we can export the freq spectrum to a txt file would be helpful. Maybe the file would be unmanageably large, though.
Am I missing something?
Thanks!!
export waveform Amp vs. time to txt file
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.
The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.
The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: export waveform Amp vs. time to txt file
Audacity doesn't have that feature yet directly.mulliguns wrote:How can i any way to export the waveform amplitude vs. time data of a recording to a txt file, in two columns? Something along the lines of how we can export the freq spectrum to a txt file would be helpful. Maybe the file would be unmanageably large, though.
There is an experimental Nyquist plug-in here that will produce an HTML file containing amplitude data (-1 to +1) for the first 1000 samples in a selection (the time offset isn't produced). Don't push it any farther than at most a couple of thousand samples. To install new plug-ins, place them in the Plug-Ins folder inside the Audacity installation folder. On Windows computers, this is usually under "Program Files".
The only other solution I know of using Audacity is to choose (external program) in the Export File window, which is a command line interface. Put SOX in a "Lame For Audacity" folder in the operating system's "Program Files" directory (i.e. the default location for the LAME encoder Audacity uses). File > Export, then with (external program) selected, click "Options" and enter this:
sox -t wav - "%f"
Click OK then enter the file name required with a .dat extension in the export window and Save. That gives you a text file for each sample having a) the time since the beginning of the first sample and b) the sample value between 1 and -1. See the SOX documenrtation for other command line analysis possibilities.
Otherwise Wavosaur has a simple text data export feature like you are describing.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual