Questions tagged [wave]

This tag is for questions about the Python module wave - for working with the .wav sound format. FOR GENERAL WAV QUESTIONS, not related to Python, please use the [wav] tag.

The wave module provides a convenient interface to the WAV sound format. It does not support compression/decompression, but it does support mono/stereo.

It's recommended to use this tag in connection with , due to the colloquial meaning of wave (ex. in math or physics)

498 questions
-1
votes
1 answer

advice an easy ruby multiplatform audio library or jruby 's java libs utilization?

I'm simply tring play a wave/mp3 file from jruby. Can you advice me what is the easiest library for ruby to do so in a multi-platform way ? Since I'm using Jruby i think it would really make sense to use the java audio system, but I haven't found…
Redoman
  • 3,059
  • 3
  • 34
  • 62
-1
votes
1 answer

Accessibility issues coming in MUI components

I am developing a react application using MUI (Core & X) & having issues in WCAG Accessibility. I am using many of their components but having issues in data grid, select and MUI tabs. I am using the following MUI versions: "@mui/material":…
-1
votes
1 answer

How do I write to a wave file with an array of frequencies? Python

I have 3 different waves. One of 50 one of 100 and one of 150 hz. The code below is how I am getting my data. frequency3 = 150 num_samples = 48000 sampling_rate = 48000.0 amplitude = 16000 file = "wave3.wav" noise_wave = [np.sin(2 * np.pi *…
thiccdan69
  • 11
  • 3
-1
votes
1 answer

How can I make a CSS wave style

How can I dump this design into CSS? the design here thanks in advance!!!
-1
votes
1 answer

Reading .wav as bytes

I'm reading .wav file in Python with 2 tools. First - with module soundfile: wav = sf.read(speech_file) b = io.BytesIO(wav[0]) In result I get such bytes data. It's…
-1
votes
2 answers

Is that any way I can avoid this warning (text too small) on WAVE accessibility tool, but keep the font size unchanged?

My HTML:

test

My CSS: #test { margin-top: 0; margin-bottom: 0; font-size: 0.7em; text-align: center; } How do I avoid this warning on WAVE accessibility tool? This is one the requirement to keep this text small.
Shank
  • 413
  • 4
  • 15
-1
votes
1 answer

How to re-order the .wav file channels

I need to change the order of channels in .wav file. for example if .wav file contains 16 channel like "0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15" then need to change this order to "13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12" using any python module.
Varada
  • 736
  • 7
  • 17
-1
votes
1 answer

Mismatched start values on x-axis on python matplotlib plot

I'm trying to plot a selected number of samples after reading a wave file. I wrote the following code to achieve that: import numpy as np import matplotlib.pyplot as plt from scipy.io.wavfile import read (fs, x) =…
skrowten_hermit
  • 437
  • 3
  • 11
  • 28
-1
votes
1 answer

reply to thread by email

I have a threaded inbox . By threaded I mean , just like this question is a thread , all replies are aggregated below it . I want to add this functionality : let's say , I started a thread . Now 10 people got notification by email that thread is…
Manan
  • 21
  • 1
  • 3
-1
votes
2 answers

Matlab: iterative loop

I have a wav signal that I read in samples in a buffer s. I want to save in a new buffer x the samples that are in 10 position, 20, 30..110 position. How can I do this? I must write a for loop but how can I write the contator?
user3582433
  • 469
  • 1
  • 8
  • 24
-1
votes
1 answer

How to plot − diagram in MATLAB?

I am trying to plot the − diagrams for the given phase constants using MATLAB, but although I have look at many web pages, there is not a similar example plotting − diagram in MATLAB. Could you please clarify me how to proceed by giving some…
Jack
  • 1
  • 21
  • 118
  • 236
-1
votes
1 answer

C++ Play multiple WAVE resource files at once

I am currently working on a C++ text adventure game that will require both background music and SFX. I hope to release the build as a single .exe, which would use Resource Files (.rc) to contain the sounds being played. I've tried the PlaySound()…
-1
votes
1 answer

Frequency & amplitue

I have a sql table which contains 2 columns: How to calculate the frequency of the highest amplitude wave ? (Each wave is of fixed frequency). Thank you
Walid
  • 187
  • 1
  • 3
  • 11
-1
votes
2 answers

Create wave file from a string

Solved, thanks. It's base64 and this works. System.Convert.FromBase64String(columns[6]); Thanks again. I got a TSV file, and inside this file there're audio stored as original string and related wave info. One wave and its info per line. What I…
OnceJune
  • 29
  • 6
-1
votes
1 answer

Recording and playing byte list in pyaudio/wave

I want to record and play my voice using pyaudio and wave lib but I don't know how to do it because wave lib requires a path to a file and even if I'm trying to set it as a variable with list of bytes recorded a few second ago, still doesn't work…
Kamil Zieliński
  • 357
  • 6
  • 13