Questions tagged [WAV] (23)

2
answers

Faced with the problem of parsing a header of the wav sound?

Yuzayu this code: struct WAVHEADER { / / . WAV format starts with the RIFF header: // Contains the characters "RIFF" in ASCII // (0x52494646 in big-endian representation) char chunkId[4]; // 36 + subchunk2Size, or more precisely: // 4 + (8 + subchunk1Size) + (8 + subchunk2Size) // Is the remaining size of the chain...
Jovani asked April 7th 20 at 15:30
1
answer

How to consider the structure of such a file is opened?

The structure: struct WavFmt { unsigned short encoding; unsigned short channels; unsigned int frequency; unsigned int byterate; unsigned short blockAlign; unsigned short bitsPerSample; }; the open method of the file #ifdef _WIN32 life=open(filename,_A_ARCH); if (life == -1) { printf("Open failed on input file: %s\...
Maybell_Goldner asked April 7th 20 at 15:22
0
answer

SoundPool: sounds stopped playing when switching from WAV to OGG?

Who knows features of a class "SoundPool" help me understand. Previously used sounds in WAV format and they play without problems. After replacing the sounds in the OGG format sounds (see screenshot) ceased to be played (status = -1 in the WAV format was status = 0). Did Build -> Rebuild Project, rebooted the computer do...
Jade40 asked April 3rd 20 at 16:41
1
answer

Where to get sound resources in Russian and english in the format of "WAV"?

Please tell me where in the Internet you can download audio resources in Russian and english in the format of "WAV". Write an Android application for blind people, so much need a voice pressing the following keys: "+","-","/",".","=","*","^".
Odessa asked April 2nd 20 at 16:47
0
answer

Why, after the direct and inverse Fourier transform the noise only added?

It is necessary to filter the wave file. Using python, make a Fourier transform back and forth. Range does not change, expect that they will receive the same signal. Only now it turns out the signal from the large amount of noise. The frequency of points in the source and destination files are the same. To check two audiog...
Crystel.Ko asked March 29th 20 at 20:58
2
answers

How to give a segment of the wav file?

Good day, we have an unusual task which should be implemented in PHP. On the server is the wav file length in hour (site.ru/sound.wav). You need to realize the impact only part of the whole audio track in the get parameters, for example site.ru/sound.wav?start=0&end=20 I.e. start and end interval in seconds (if start = ...
Edison.Schneid asked March 27th 20 at 12:27
1
answer

How to save a collection of byte in the WAV file methods in PHP?

Work on a study project related to the translation of foreign words. Faced with a problem when you receive the WAV file via API LINGVO. In response to a request enters the following string - According to the description of developers is a json string with a collection of byte. Read more about the method and a complete exa...
Megane63 asked March 17th 20 at 10:31
1
answer

Do I have to transfer from Flac to Wav?

Good afternoon. I wanted to ask you a question that I'm confused. It concerns audio formats and codecs, specifically Flac and Wav. I understand the difference between them. Wav is a format without compression and loss, and Flac as a file archiver that compresses audio, but also no losses. And I can understand how it lossles...
henry.Murphy asked March 17th 20 at 10:20
0
answer

How to know the format?

In continuation to this question: Here's what I learned: subchunk1Size = 'B\x00\x00\x00' or 11 audioFormat = '\xff\xff' numChannels = '\x01\x00' or mono sampleRate = '\x80\xbb\x00\x00' (here I did not understand) byteRate [28..31 bytes]= '\xaa-\x00\x00' (here, too) blockAlign = '\x00\x00' (here, too) bitsPerSample = '\x00\x...
candelario48 asked March 13th 20 at 14:58
2
answers

Why wav file is not correct?

I have sound.dat file (obviously, it contains all the sounds). I opened it using python>>> k[:300] b RIFFK9=\x00WAVEfmt B\x00\x00\x00\xff\xff\x02\x00\x80\xbb\x00\x00\xa3:\x00\x00\x00\x00\x00\x000\x00\x00\x00\x03\x00\x00\x00\x00\xc4\xc3\x00\xd9\x00\x00\x00\xf58=\x00\x00\x00\xc0\x02\x00\x00\x00\x00\xd9\x00\x00\x00\xc...
Gwendolyn asked March 13th 20 at 14:56