I want to convert a text file into a wav file.
I have numbers in a text file (test.txt) like:
0.99
0.99
-0.99
-0.99
and I want to import this in Audacity 2.3.1:
File → Import → Raw Data… → test.txt
Encoding: 32bit float
byte order: Little-endian (I am using windows 10)
channels 1 channel
start offset 0 bytes
amount to import 100%
sample rate 44100 Hz.
When this is imported I see only samples (6 by the way and not 4!!!) of value 0… So I must do something wrong. Any help? Thanks!
the actual data in the file is the byte values of the characters “0”, “.”, “9”, “9”, “new line”, “0”,…
The byte values can be seen if you open the file in a “hex editor” (https://en.wikipedia.org/wiki/Hex_editor) and will look something like this:
Those are the values that “Import Raw” will import, NOT the numbers 0.99, 0.99 …