|
Is it possible with FFT to find an occurrence of a small wav sample inside of a longer wav, if it is known that that exact sample exists somewhere in the wav (but may be mixed with other sounds)?
edit
(after receiving two responses): What if I have a ...
Started by ZomCoder on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Because of the way WAV files are encoded (sequentially by track - so you know the WAV file you are looking for is encoded specifically in one of these tracks then you can that's exactly the same as a chunk of ....
A lot of work to do first.
|
|
What is the easiest way to programatically convert a compressed wav file (MPEG codec for example, but could be any installed codec) to an uncompressed wav file (16 bit PCM)?
I've heard that using direct show and writing the code in native C++ would do...
Started by John Sibly on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can decompress WAV files in C# using any ACM codec.
Is not a codec - they just define standards.
|
|
How do you call the default media player to play a wav file in JAVA?
Started by blue on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can also play a wav to worry about whether user has windows media player or would like better his winamp to play .WAV files....
Desktop.getDesktop().open(new File("path/to/file.wav")) ought to do it.
|
Ask your Facebook Friends
|
I'm reading a .wav file into a byte array with the following code.
AudioInputStream inputStream = AudioSystem.getAudioInputStream(/*my .wav file */); int numBytes = inputStream.available(); byte[] buffer = new byte[numBytes]; inputStream.read(buffer, ...
Started by William on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Is a wav file header a fixed size? If so inputStream.skip?
If correct the .wav header is 44 bytes.
|
|
Hello, everyone. How to track sections without sounds in a wav file? a small software what I want to develop is deviding a wav file, and it consider a no volume area as a deviding point. how can a program know that volume of a wav file is low? I'll use...
Started by Chu-Chu- on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Just set some treshold value and look for continous ( let's say 100ms length) regions... .
Silence is basicly when values are near 0.
Well, wave file is basicly a list of values, which represents a sound wave discreetly divided with some rate (44100 Hz usually) .
|
|
Is it possible to create a temporary file that contains a "loop" of a wav file?
Or is it possible to manipulate the stream sent to a stream reader/writer?
Basically I want to play some wav file for a period of time and if that time is greater than the...
Started by frungash on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This....
Other useful information is in getMicrosecondPosition() method of the SourceDataLine object to determine the time/duration played so far .
I think I'll use the frames per second and framesize information in the audio input stream to figure this out .
|
|
Has anyone converted a WMA to a WAV using Windows Media Encoder? If so, do you have a short code snippet of how you did it? All samples I've seen have been for WAV to WMA, not the other way around.
Started by Peter Walke on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Look at the Windows Media Format SDK instead.
You want to decode WMA to WAV.
The reason that all of the samples you've seen have been for WAV to WMA is that you're looking at Windows Media Encoder .
|
|
Let's say I have a wav file at a url:
http://hostname.com/mysound.wav
I'm trying to load the wav file with the sound class like:
var url:String = "http://hostname.com/test.wav"; var urlRequest:URLRequest = new URLRequest(url); var sound:Sound = new Sound...
Started by marketer on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I have made Wav/Au....
Http://code.google.com/p/popforge/source/browse/#svn/trunk/flash/PopforgeLibrary/src/de/popforge/format/wav
Yes, you can.
There's actually a wav decoder class there as well.
And Joa's fabulous PopForge library.
|
|
I need a library for MS VC6 which encodes sampled data which is in the form of a float array, to an audio file format preferably wav Also is there a library that can encode the samples into pcm form and play it directly through the sound card without ...
Started by nabeel ahmad on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
To just.
As noted, the WAV file format is very simple.
The header is described in detail here.
It has a 44 byte header, followed by the sound data, in integer format .
A wav file is rather simple.
|
|
How can i play a sound (CPU Beep or wav, don't matter what) using the Windows cmd?
Started by TiuTalk on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
Ascii value 7..
In a cmd window run:
type beep
The file holds just a single character - the BEL character .
Echo ^G
Where ^G is CTRL + G
Download this , save it somewhere .
|