Log in to Freesound

Problems logging in?
Don't have an account? Join now

Problems logging in?

Enter your email or username below and we'll send you a link to help you login into your account.

Back to log in

Almost there!

We've sent a verification link by email

Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.

Default title

  • Sounds
  • Tags
  • Forum
  • Map
    • Sounds
    • Packs
    • Forum
    • Map
    • Tags
    • Random sound
    • Charts
    • Donate
    • Help

Freesound Forums

  • Freesound Forums
  • Production Techniques, Music Gear, Tips and Tricks
  • raw data conversion

raw data conversion

Subscribe

Started August 20th, 2014 · 14 replies · Latest reply by ayamahambho 10 years, 11 months ago

B
beaconsound

5 sounds

8 posts

11 years ago
#1

As everyone knows, sound is generated as waveforms of various shapes. There are many natural phenomena that occur as waveforms, such as ocean waves and tides. I have tried to convert data sets associated with these natural phenomena into sound files, but am not a great programmer, and could not generate a correct wav file from the data. When the data is plotted as x-y data, it looks just like a sound file, so I know it is possible to convert the numbers into sound. Does anyone know of software that will do such a conversion? I really don't want to have to learn, or re-learn, a programming language to do this. I looked at the format of wav files but wasn't able to get the data to build into the file in the proper sequence. I hope somebody has done this and can help. Thanks.

[8^J x
afleetingspeck

68 sounds

864 posts

11 years ago
#2

I believe audacity converts pictures into sounds. What file formats/types does the rest of your dataset include? Movies? Text?

B
beaconsound

5 sounds

8 posts

11 years ago
#3

I just have a string of numbers. If plotted on an x-y graph, where the numbers represent Y and x is an equal increment, a sine-wave type plot results. Audacity can take raw data files, but they are binary, and I don't know how to write an ascii file of numbers to the binary raw sound data format.

[8^J x
D
deleted_user_2906614

46 sounds

157 posts

11 years ago
#4

I can’t think of a way to do this that doesn’t involve programming, but it would be relatively simple.

For instance, in python:

>>> x = input()
[user inputs something such as 3.14]
>>> float(x)
3.14

I’ll see if I can write you something a bit more comprehensive.

B
beaconsound

5 sounds

8 posts

11 years ago
#5

I used Visual Fortran, but no longer have a version that works with Windows8. I was able to write a binary file, that had the numbers, but it wasn't in the correct format for Audacity to read, resulting in some weird-sounding files (which are posted), but not what I believe they should sound like if properly written into the sound file.

[8^J x
D
deleted_user_2906614

46 sounds

157 posts

11 years ago
#6

Gah... my Python has become very rusty. sad

I think the problem might be that there are various ways of storing fractions in computer memory (I presume the measurements aren’t just integers) and Audacity isn’t interpreting the raw data as you are expecting. Not to mention other variables such as big- versus little endianness, floating point precision and so forth.

ayamahambho

288 sounds

388 posts

11 years ago
#7

Cool Edit aka Adobe Audition? (older versions, up to AA 3.0)

http://conscious-sound.bandcamp.com - best sounds for extraordinary inner experiences
B
beaconsound

5 sounds

8 posts

11 years ago
#8

Yes, the whole "endiness" thing was throwing me off.

I'll check out Adobe audition and see if it will work for me.

[8^J x
escortmarius

76 sounds

222 posts

11 years ago
#9

Hi,

I dont know if this will help in any way... but at least its very interesting.. smile

Recently I stumbled upon a book written by Miller Puckette called:
The theory and technique of electronic music.
In the book he explains every thing you need to know about making sound the electronic way.
There is a computer program thats also wrote by Miller Puckette based on the theory in his book... Quote:

Pure Data (aka Pd) is an open source visual programming language. Pd enables musicians, visual artists, performers, researchers, and developers to create software graphically, without writing lines of code. Pd is used to process and generate sound, video, 2D/3D graphics, and interface sensors, input devices, and MIDI. Pd can easily work over local and remote networks to integrate wearable technology, motor systems, lighting rigs, and other equipment. Pd is suitable for learning basic multimedia processing and visual programming methods as well as for realizing complex systems for large-scale projects.

Like I said am not sure this will be helpfull... there is a lot of hardcore maths involved.. so I didnt read the whole book jet...
But Pd should be able to translate data into signal and vice versa..

Record all the crap you can!! doesnt matter if it sounds like shit.
AlienXXX

2,111 sounds

2,390 posts

11 years ago
#10

It used to be possible to do this using programs like Mathematica and MathLab.
However, these are expensive programs to buy just to use for this purpose for the fun of it...

I want to believe.
B
beaconsound

5 sounds

8 posts

11 years ago
#11

I used the Adobe Audition to import as raw file and then export as MP3 to use with Audacity, which seemed to work. I'm going to post the new file "Sandy Hook Tides new".

[8^J x
B
beaconsound

5 sounds

8 posts

11 years ago
#12

I tried to use my new tide sounds file in combination with field collected water sounds (waves, creek, etc.) and found that my file didn't fit in, but ended up creating a mix of the water sounds tied together with a synthetic organ-sounding file someone posted. I call the combination sound file "Water Symphony".

[8^J x
Timbre

3,352 sounds

2,326 posts

10 years, 11 months ago
#13

beaconsound wrote:
... When the data is plotted as x-y data, it looks just like a sound file, so I know it is possible to convert the numbers into sound. Does anyone know of software that will do such a conversion?
https://www.youtube.com/results?search_query=image+to+sound

Image-to-sound and vice-versa ... https://www.youtube.com/results?search_query=Photosounder+
e.g. https://www.youtube.com/watch?v=W8MCAXhEsy4 *****

or if want to use raw digital data [and free software]... https://www.youtube.com/watch?v=cXjwJPz4qi0

ayamahambho

288 sounds

388 posts

10 years, 11 months ago
#14

The question was to convert text files (with numerical data) into sounds. Cool edit can do it, audacity - maybe (I don't remember).

http://conscious-sound.bandcamp.com - best sounds for extraordinary inner experiences
Post reply
About Freesound Terms of use Privacy Cookies Developers Help Donations Blog Freesound Labs Get your t-shirt!
© 2025 Universitat Pompeu Fabra