Kamil
Kamil

Reputation: 75

Sound persistence in WAV file in JAVA

Is there any possibility to check if WAV file contains a sound (or silence)? Currently I write automated tests in JAVA and I need to analyse saved WAV if it contains sound or not.

Upvotes: 0

Views: 76

Answers (1)

Lasnik
Lasnik

Reputation: 254

To check if a wav file contains sound you should read it´s data.

To do that you should take a look at reading from a sound file.

For a simpler guide you could also take a look at this resource. It is especially for wav files.

Upvotes: 1

Related Questions