Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

Music/sound and a series of numbers

Does any body have a clue on how to read in let's say a wav file, then output a text file of numbers that represent the sound file. I intend to use this for creating a kind of music graph in flash.

--trigger-happy
0
trigger-happy
Asked:
trigger-happy
  • 2
  • 2
1 Solution
 
Jaime OlivaresSoftware ArchitectCommented:
Wave files are quiet complex, but you can read this article where a Wave manipulator object is used:
http://www.codeproject.com/audio/concatwavefiles.asp
0
 
furqanchandioCommented:
0
 
trigger-happyAuthor Commented:
Let mew be clear, I'm not trying to play the sound file, i just need to parse it so that i can convert the data into a seriese of numbers that can be used for creating a graph in flash (i can handle the graphs part, but getting the numbers is the main problem)

--trigger-happy
0
 
Jaime OlivaresSoftware ArchitectCommented:
In my example, several wave files are read for concatenating, so there are file parsing functions.
You have to notices that a wave file is not a plain file: it can have different frecuencies, resolutions and channels.
0
 
trigger-happyAuthor Commented:
I did a little bit of research and experimentations and i've managed to come up with a program that does what i want. Now all i have to do is make it support other file formats like mp3 ;)

The link that jaime_olivares helped a bit, but not that much so i did a little bit of research and i got what i want. Thanks for  the help :D

--trigger-happy
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now