Importing text as audio/exporting audio as text

This section is now closed.

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.

Re: Importing text as audio/exporting audio as text

Permanent link to this post Posted by Gale Andrews » Sat Mar 09, 2013 6:52 am

Thanks, Steve. That works fine on Windows 7, exporting from Sample Data Export as you said.

Either forward- or Windows-style back-slashes opened the file.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26093
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Importing text as audio/exporting audio as text

Permanent link to this post Posted by steve » Sat Mar 09, 2013 1:36 pm

Thanks for testing Gale.
Getting it to work with stereo tracks is providing a headache, but when I get that sorted I'll look to making this user friendly ;)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45053
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Importing text as audio/exporting audio as text

Permanent link to this post Posted by steve » Wed Mar 13, 2013 4:23 am

Just a little update here; I've now got a version that works with stereo data.
I'm currently looking at supporting all of the "text" formats that are supported by "Sample Data Export".

The CSV format is a bit tricky as the comma character has special meanings in Nyquist, so I'll leave that for now. This should not be a problem as most spreadsheet type applications should be able to convert CSV data to space separated variables.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45053
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Importing text as audio/exporting audio as text

Permanent link to this post Posted by Robert J. H. » Wed Mar 13, 2013 11:35 pm

CSVs with commas are rather unusual nowadays.
Each language/region has its own separators (since the comma could serve as decimal point or as thousand separator) .
In my Excel version the seperators are ; and but they can be defined in the import dialog.
Robert J. H.
 
Posts: 1813
Joined: Thu May 31, 2012 8:33 am
Operating System: Windows 7

Re: Importing text as audio/exporting audio as text

Permanent link to this post Posted by JimMyskin » Thu Mar 21, 2013 3:35 pm

Hi Folks,

Attached please find what is at least a temporary solution.

The guy who wrote this must be "some kind of" genius! ;)

Anyway, the Converter takes a text file of lines of characters that represent Integers (whole numbers) from -32768 to 32767.

It writes them to a "Little-endian" data file which can be imported into Audacity.

An instructional .pdf is provided.

It works for what I need it to do.

Good Luck to the rest of you!

Best regards,

Jim
Attachments
Jim Skorko's text to data conversion files.zip
Zip file of all necessary files to test converter and verify output .wav file.
(940.34 KiB) Downloaded 315 times
JimMyskin
 
Posts: 4
Joined: Wed Mar 06, 2013 3:42 pm
Operating System: Please select

Previous

Return to Windows



Who is online

Users browsing this forum: Google [Bot] and 11 guests