Audio Reconstruction from Image: Curve Recognition Software?

  • Thread starter Thread starter brian0918
  • Start date Start date
  • Tags Tags
    Curve
Click For Summary

Discussion Overview

The discussion revolves around the possibility of reconstructing audio from an image of a waveform. Participants explore the feasibility of using existing software or methods to achieve this, considering both technological and physical aspects of audio representation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant seeks software that can convert an image of a waveform back into audio, suggesting the use of curve fitting combined with audio generation software.
  • Another participant recalls an instance of audio being retrieved from a vinyl record image, questioning the relevance to physics.
  • A different participant argues that the topic is indeed related to physics research, as it involves technology used in the field.
  • One participant outlines a method for extracting data from the image by analyzing pixel columns to identify the curve, and discusses the process of mapping sound waves into digital values for audio output.
  • Another participant mentions that Mathematica can convert graphs into sound and suggests using a Fourier series to create audio from the waveform image.

Areas of Agreement / Disagreement

Participants express differing views on the relevance of the topic to physics, with some seeing it as a technological issue while others assert its connection to physics research. The discussion remains unresolved regarding the best approach to reconstruct audio from the image.

Contextual Notes

Participants discuss various methods and software without reaching a consensus on a specific solution or approach. There are assumptions about the nature of the image and the audio encoding process that remain unexamined.

brian0918
Messages
44
Reaction score
0
I'm looking for software that can turn an http://people.deas.harvard.edu/~jones/cscie129/nu_lectures/lecture2/snd_vis/waves.jpg back into the audio. Has anyone heard of something like this?

If not, might there be a way I could do it using current software, such as some sort of curve fitting software combined with some sort of audio generation software?

Thanks.
 
Last edited by a moderator:
Computer science news on Phys.org
I recall seeing a article somewhere about someone retrieving the audio from a picture of a groove in a vinyl record.

I don't see this as physics, more of a tecnnology thing.
 
It's part of physics research, though, and most of physics research involves technology.
 
Sounds doable. There's two obvious encessary steps: reading the data from the curves, outputting the audio. The first is not so hard, depending on how the input is described, if it is a black and white image as the one you linked then i would read each column of pixels, in search of the white pixel, the location of the white pixel giving the value (y-coordinate) of the curve at that column (x-coordinate). That's one approach.
For converting the data into audio you'd have to do some research as to how audio is recorded. basically you want to map a sound wave into a sequence of values. Generally speaking audio is recorded by sampling every so often. You have some device, like a microphone, which is sensitive to sound waves. This device encodes its interaction with any sound wave at time t into a value. So if a microphone is exposed to a sound lasting for 1 second, then, if you sample every 1/10th of a second, the microphone will generate 10 interrupts to the computer, in each interrupt providing the value it read at time t. This is they key point, you need to know how the microphone encodes a sample into data, once you know that you can use the image of the wave to produce your samples.
Notice that the sampling rate is usually pretty high. For .wav files the sample rate is 44100Mhz, so 44100 frames per second. Each frame usually having two samples (stereo), or one sample (mono).
This sounds like an interesting project. It would be cool to make a program that converts a curve into the respective sound.
 
well, I know Mathematica can turn a graph into a sound. If you could somehow make a Fourier series of those waves (since they seem reasonably periodic), then you could graph it in mathematica and output a loopable audio clip.
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
3
Views
5K
  • · Replies 39 ·
2
Replies
39
Views
8K
  • · Replies 2 ·
Replies
2
Views
3K