wav Questions

5

I am reading bytes from wav audio downloaded from a URL. I would like to "reconstruct" these bytes into a .wav file. I have attempted the code below, but the resulting file is pretty much static. F...
Manno asked 17/9, 2018 at 14:21

2

Metadata is "data about data" and the header in files such as HTML, WAV, MP3, text, etc contain a header, which defines the data within the file. So is the file metadata the same thing as the file ...
Doubleness asked 1/3, 2015 at 1:13

5

I am new learner of audio editing libs - Pydub. I want to change some audio files' playback speed using Pydub(say .wav/mp3 format files), but I don't know how to make it. The only module I saw that...
Foulk asked 20/7, 2018 at 4:4

9

I have to downsample a wav file from 44100Hz to 16000Hz without using any external Python libraries, so preferably wave and/or audioop. I tried just changing the wav files framerate to 16000 by usi...
Amelita asked 3/6, 2015 at 12:10

6

Is there a simple way of converting a sound font file to .wav files (or any common music format, really), separate for each note? So let's say I had a sound font a.sfz; I would like to get out of ...
Foret asked 1/5, 2012 at 3:17

4

Solved

I've discovered it is dangerous to assume that all PCM wav audio files have 44 bytes of header data before the samples begin. Though this is common, many applications (ffmpeg for example), will gen...
Laxity asked 15/11, 2013 at 0:43

3

Solved

I am trying to make spectrogram's of a bunch of .wav files so I can further analyze them(in python 3.6), however, I keep getting this nasty error ValueError: Unsupported bit depth: the wav file h...
Hackney asked 28/6, 2017 at 21:6

3

Solved

I don't want to use any other apps (like sox) - I want to do this in pure Python. Installing needed Python libs is fine.
Galloon asked 25/2, 2011 at 17:31

3

Solved

OK, so I'm trying to make a program that will manipulate .wav files, and I've seen this question/answers, but I'm not entirely sure as to what each piece of data in the header refers to. For exampl...
Adagio asked 25/1, 2015 at 14:35

14

Solved

I need to analyze sound written in a .wav file. For that I need to transform this file into set of numbers (arrays, for example). I think I need to use the wave package. However, I do not know how ...
Apology asked 13/1, 2010 at 22:3

2

I want to implement simple speech-to-text tool using pyaudio and IBM Bluemix service. Currently i need to record audio, save it to disk and then load again in order to send it to Bluemix. RATE=441...
Talos asked 23/9, 2017 at 13:16

3

Solved

I'm trying to make a webpage in html5 which stores sample-data from a wav-file in an array. Is there any way to get the sample-data with javascript? I'm using a file-input to select the wav-file. ...
Naught asked 28/3, 2015 at 13:44

3

Solved

I plan to create a program that will visualize the audio waveform of a .wav file. So far, I have started by properly reading the header part of the said wav file. The code I use would be this: #...
Shanelleshaner asked 1/12, 2012 at 15:19

5

Solved

I have a 2 seconds 16bit single channel 8khz wav file and I need to change its volume. It should be quite straightforward, because changing the volume is the same as changing the amplitude of the ...
Ansell asked 11/11, 2012 at 8:19

4

Solved

Is there a simple, direct way to play a WAV file from Haskell using some library and possibly such that I play many sounds at once? I'm aware of OpenAL but I'm not writing some advanced audio synt...
Simonasimonds asked 22/12, 2012 at 18:52

4

Solved

I am trying to add a wav header on top of raw PCM data to make it playable via AVAudioPlayer. But i couldn't find any solution or source code to do that on iOS using Objective-C/Swift. Though i fou...
Library asked 30/1, 2015 at 7:28

10

Solved

I am trying to play a *.wav file with Java. I want it to do the following: When a button is pressed, play a short beep sound. I have googled it, but most of the code wasn't working. Can someone gi...
Medorra asked 10/3, 2010 at 12:49

3

Solved

is there a way in python to generate a continuous series of beeps in increasing amplitude and export it into a WAV file?
Primogenial asked 23/11, 2015 at 19:55

7

I am asking because I couldn't find the answer anywhere. I have successfully implemented RecorderJS in order to record microphone input in JS. However, the recorded file is WAV which results in lar...
Nicely asked 2/6, 2013 at 10:0

1

Solved

I want to convert a numpy array waveform into a wav-like object so that I can upload it to S3 without having to save the waveform to file locally. Imagine I have a numpy array waveform, y, y, sr = ...
Grisette asked 28/6, 2022 at 8:39

8

Solved

I want to generate a 24-bit WAV-format audio file using Python 2.7 from an array of floating point values between -1 and 1. I can't use scipy.io.wavfile.write because it only supports 16 or 32 bits...
Desuetude asked 27/5, 2013 at 6:9

1

I have an audio app and I need to read and write the COMMENT tag of WAV and M4A files. This is all I need. I had struggled for hours without success. The closest I arrived is using com.github.goxr3...
Fronia asked 7/5, 2022 at 21:29

1

Solved

I am trying to convert a .wav to an .mp3 file. My code usually works but now I have gotten a .wav file that was exported with Imovie and I get the error 'NoDriver calling acmFormatSuggest'. The int...
Souvenir asked 8/4, 2022 at 12:27

2

Solved

My code to convert mp3 to wav is: package audio1; import java.io.File; import javax.sound.sampled.AudioFileFormat; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioInputStr...
Maricamarice asked 29/12, 2012 at 19:32

3

Solved

It seems that scipy.io.wavfile.read cannot read 24-bits .wav files. Do you have an idea on how to handle them ?
Proctoscope asked 13/11, 2013 at 20:0

© 2022 - 2024 — McMap. All rights reserved.