Hi,
I'm trying to read a text file as a sound file in Audacity.
The text file is the values of an A Hz 440 sine wave that was produced in Processing.
I've done this successfully using CoolEdit on PCs, but whenever I try it on my Mac with Audacity I'm getting weird noise signals that bare no realtion to sin waves. I've tried pretty much every setting in Import Raw Data settings menu, but all they do it produce the same kind of noisy signals at different parts of the amplitude spectrum.
Any advice would be greatly appreciated - I'm working on a programming project for university, so just generating sine tones from the generate menu isn't going to solve my problem!
Thanks again
Ian
Importing raw .txt data?
Forum rules
Audacity 1.2.x is now obsolete. Please use the current Audacity 2.1.x version.
Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
Audacity 1.2.x is now obsolete. Please use the current Audacity 2.1.x version.
Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Importing raw .txt data?
Import Raw Data is only for importing actual uncompressed audio files, like headerless PCM data. Audacity can't yet import textual representations of audio data and display them as a waveform.lamonti wrote: I'm trying to read a text file as a sound file in Audacity. The text file is the values of an A Hz 440 sine wave that was produced in Processing. I've done this successfully using CoolEdit on PCs, but whenever I try it on my Mac with Audacity I'm getting weird noise signals that bare no realtion to sin waves. I've tried pretty much every setting in Import Raw Data settings menu, but all they do it produce the same kind of noisy signals at different parts of the amplitude spectrum.
Sox will probably let you convert the text file to WAV which you can then view in Audacity.
A pro-level DAW like Ardour might be able to import text files directly as audio, but I don't know.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual