wave Questions
4
Solved
I have a .wav file several minutes long that I would like to split into different 10 second .wav files.
This is my python code so far:
import wave
import math
def main(filename, time):
read = w...
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
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 ...
3
Solved
I'm trying to capture audiorecorder (https://github.com/cwilso/AudioRecorder) and send the blob through Ajax a php file, which will receive the blob content and create the file(the wave file in thi...
Quentin asked 25/9, 2013 at 21:32
5
Solved
3
Solved
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 = ...
3
Solved
I am trying to implement the Karplus-Strong algorithm.
All is looking fine when I play (through Jupyter Notebook using Audio(y, rate=Fs)) the collected numpy array (representing guitar accord).
U...
7
Solved
i'm trying to use pydub, but when i import it to python with AudioSegment it will give me an error saying it doesn't recognize it.
i tried using pip install and searching online.
any help??
i'm us...
4
Solved
I'm aware of the following question:
How to create a pydub AudioSegment using an numpy array?
My question is the right opposite. If I have a pydub AudioSegment how can I convert it to a numpy arr...
3
Solved
How can I remove the silence from the beginning and the end of wave files with PyDub?
I guess I should access segment by segment and check whether it's silent or not (but I'm not able to do it) :...
6
Solved
I'm trying to read a wav file from the TIMIT database in python but I get an error:
When I'm using wave:
wave.Error: file does not start with RIFF id
When I'm using scipy:
ValueError: File for...
3
I'm looking for how to draw the sound waves according to music.
I want waves like this image
here is some discussion about displaying Waves from music
WaveForm on IOS
rendering a waveform on ...
East asked 31/10, 2013 at 6:28
5
so I asked everything in the title:
I have a wav file (written by PyAudio from an input audio) and I want to convert it in float data corresponding of the sound level (amplitude) to do some fourie...
2
Solved
I'm currently working on a project which includes using pygame to play sounds on a button press. Since I didn't find a good way to record sound from the application (I tried PyAudio with Portaudio ...
Thermotherapy asked 15/3, 2017 at 12:27
3
Solved
I'm trying to convert a WAV file(PCM,48kHz, 4-Channel, 16 bit) into mono-channel WAV files.
I tried splittiing the WAV file into 4 byte-arrays like this answer and created a WaveMemoryStream like ...
9
Solved
Does any one know if there is good software to perform conversion from (wave or mp3 or other known format) to MIDI?
I understand that conversion from audio file to MIDI is a very complex process. I...
Jactitation asked 1/5, 2011 at 23:12
4
Solved
I'm trying to read the data from a .wav file.
import wave
wr = wave.open("~/01 Road.wav", 'r')
# sample width is 2 bytes
# number of channels is 2
wave_data = wr.readframes(1)
print(wave_data)
T...
3
Is there a way to read frames of .wav format binary data? I am streaming .wav binary to a python server which I want to be able to read and use from processing by pyaudio, which complains about the...
3
Solved
The following code writes a simple sine at frequency 400Hz to a mono WAV file. How should this code be changed in order to produce a stereo WAV file. The second channel should be in a different fre...
7
Solved
What's the simplest way to generate a sine wave sound at any frequency in Java?
A sample size more than 2 bytes would help, but it doesn't really matter.
Sula asked 25/12, 2011 at 23:20
3
Solved
I have to read the data from just one channel in a stereo wave file in Python.
For this I tried it with scipy.io:
import scipy.io.wavfile as wf
import numpy
def read(path):
data = wf.read(path)
...
1
Solved
I'm trying to append data to a sound file without loading its contents(because it may have gigabytes of data), I'm using pysoundfile library currently, I've figured out a way to do it for wave64, b...
1
Solved
2
I have a list of .wav files in binary format (they are coming from a websocket), which I want to join in a single binary .wav file to then do speech recognition with it. I have been able to make it...
Streak asked 24/5, 2018 at 19:58
1 Next >
© 2022 - 2024 — McMap. All rights reserved.