|
5/25 |
2003/4/3-4 [Computer/SW/Apps/Media] UID:27980 Activity:very high |
4/3 What's the simplest sound file format out that that can be played on a PC by, say, Media Player? For pictures there is a .raw format which is just raw pixel values. Is there something like that for sounds, where I can simply specify values for the waveform like "0, 127, 255, 127, 0, ......" without complicated encoding, and the sampling rate in either a simple header or externally in the application? Thanks. \_ WINDOWS MEDIA FORMAT, EAT SHIT AND DIE \_ wav is just raw audio with a header. Look online for how to get rid of it. \_ Thanks! \_ no it's not. wav is a container format; the audio data itself can be uncompressed PCM, or it can be compressed using any of a number of codecs (IMA ADPCM, MS ADPCM, MPEG1-III, etc.) \_ What exactly are you trying to do? Without more info, I think the best solution to your problem is to write raw, headerless data and then use SoX http://sox.sourceforge.net to convert it to something playable by WMP. There are many programs out there that will play raw headerless data (incl. SoX), so you can also use one of those directly if you want. |
5/25 |
|
sox.sourceforge.net SoX - Sound eXchange Welcome to the home page for SoX, the swiss army knife of sound processing programs. SoX is a command line utility that can convert various formats of computer audio files in to other formats. It can also apply various effects to these sound files during the conversion. As an added bonus, SoX can play and record audio files on several unix style platforms. History - The Beginning of Son of SoX SoX has been been around since at least 1992 when it was first created by Lance Norskog. Lance designed the core of SoX which is designed so that others can develop separate modules that know how to convert to and from a given format. The core of SoX can then convert any file format that has a module in to any other format that has a module. People from around the net have contributed modules for most of the popular formats in use today. SoX's original home page that hasn't changed since 1995 (gotta be a record for a web site to stay up but not change :-). WVE files * Record and Play from OSS or ALSA /dev/dsp and Sun /dev/audio. The following effects can be applied to sound data: * Channel averaging, duplication, and removal * Band-pass filter * Band-reject filter * Chorus effect * DCShift audio * Deemphases filter * Move soundstage to front of listener. Also, modified the files that are output by Ogg Vorbis handler to use VBR format. Sox's currently has three different algorithms that each suffer from different problems. There is a 24 SoX project web site that can be of use when working with CVS and its mailing list. There is a low volume mailing list set up that you can subscribe to or read online located at the 25 SoX-users Mailing List web site. It is possible to view the files checked in to CVS using a 27 CVS web interface . If you have CVS installed on your system then you may obtain a snapshot of the latest source by performing the following commands. The commands will log you in and check out a copy of the sox module and place it in the subdirectory it was ran from. When prompted for a password by the cvs command, enter nothing and hit Enter. To merge in future updates you may run the following command (when ran inside the sox directory that was created from your checkout): cvs update If you make any changes to SoX that you would like to be included in future releases then you may use the following command to make an easy to read diff. Related Sites Below are some links related to Sound Processing. |