What's the deal with Deno? We talk with a major contributor to find out. Listen now.

Questions tagged [wave]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
636 views

Audio Watermarking - What is typically embedded?

Just starting research in audio watermarking and have read many papers regarding audio watermarking but I am still a little confused on what exactly gets embedded into the signal. For example, one ...
1
vote
0answers
23 views

Hello World Example of a Digital Waveguide in JavaScript

I am just learning about sound so might be jumping the gun a bit. But it helps me stay motivated and get into an interesting problem to solve to ask these more complicated questions. I am looking at ...
1
vote
0answers
18 views

Digital signal processing how audio wave and function chage with respect to each other

If an audio signal is f(t) and if i play same audio with 2× speed then what will function of 2× speed signal f(2t) or f(t/2) and why?
1
vote
2answers
209 views

How to mix two audio files recorded with different settings to obtain a realistic result

I am a software engineer, currently working on a signal-processing related project, which I am new to. For evaluating the algorithm(which is written in R), I need to mix (merge) two different audio ...
1
vote
0answers
974 views

Python: write .wav to chosen directory [closed]

I can only write .wav files to the current directory fname = 'bassswoon.wav' wav = wave.open(fname,'w') wav.writeframes(struct.pack('h', bassswoon)) wav.close() ...
1
vote
1answer
4k views

How to perform sine generation (in C)?

I am interested in how should a listing for a program look like that will generate a sine of f=50hz, using the next arguments for any moment in time. ...
0
votes
1answer
438 views

Modelling propagation of sound wave by particle simulation

How might one model the propagation of a sound wave through a 3D environment with obstacles in it? My initial thought would be to use freely moving particles that repel one another; with sufficiently ...
0
votes
2answers
55 views

What do troughs represent in a sound wave?

What's the notion of negative amplitude? I hope the title and the question don't mean different things.
0
votes
1answer
44 views

In DSP - is it true that the only type of interfering wave occurs when frequencies match? [closed]

Therefore, any other frequency, no matter the amplitude, won't interfere or degrade original wave in the DSP frequency domain systems?
0
votes
1answer
462 views

Given two waves, 441 Hz and 700 Hz, how many samples long is each wave's period if the sample-rate is 48 kHz?

The title says it all. I have two waves, Master and Slave. Master is at 441 Hz and Slave at 700 Hz. The sample-rate is 48 kHz. I want to know how to calculate the period of each wave in terms of ...
0
votes
1answer
437 views

In a periodic square wave, how to change in a particular condition?

The periodic square wave, $$x(t) = 1, |t| < T_1 \\ x(t) = 0, T_1 < |t| < T/2$$ What I wonder is .. (1) If $T_1$ is constant and $T \to \infty$, is x(t) a constant function? (2) If $T_1$ is ...
0
votes
4answers
3k views

How to generate a good Sinus audio signal of specific SampleRate, DataBits and Chunnels in a time frame

I encountered a problem when I tried to generate by a program an sinus audio signal. My parameters are Sample Rate: 44100 Hz Data Bits: 16 bits Channels: 2 I need to create a WAV file ...
0
votes
1answer
44 views

harmonic waves as integer multiple in spectrum

i have a motor that is rotating with a certain frequency. If i check the frequency spectrum it contains a peak on 150 hz. Also i have peaks at 300,450,600 ... i guess that those peaks are harmonics. ...
0
votes
1answer
73 views
0
votes
1answer
133 views

Is it possible to encrypt an audio wave? NFL Example

In the NFL, quarterbacks receive playcalls from coaches over their helmet's wireless interface. Someone mentioned how occasionally, these radios will pick up interference from airplanes, and that ...
0
votes
2answers
792 views

Audio Watermarking in MATLAB - How to choose frames to embed in?

Hello I am working on audio watermarking in MATLAB and am trying to choose specific frames of the audio signal where the watermark will be embedded. Through research, I have read that the best way to ...
0
votes
1answer
34 views

How to Save FFT output for fast read-in?

For a project, I'm reading in hundreds of short (4 sec) wavefiles and giving them to scipy fft for the frequency information for further processing/experimenting in various ways. Problem is, I want to ...
0
votes
1answer
78 views

frequencies in sound: multiple possibilities?

First, I am by no mean a sound engineer (as you will guess later). I was just wondering something while looking at the waveform of a .wav for a given shape of waveform on a duration of 2 sec for ...
0
votes
1answer
3k views

Extracting metadata from wav files [closed]

I was curious if there is a way to extract metadata from wav files. For instance, can you get bpm, key, instrument, etc. from a .wav file on upload?
0
votes
1answer
186 views

Windows Audio WAVEFORMAT buffer BYTE to 16-bit int

I am trying to understand audio-buffer processing at the low-level for the first time. I have the following C++ code copying WAVE-format byte data from capture buffer of Window Core Audio (*ppData in ...
0
votes
2answers
80 views

Pitch fluctuates unexpectedly in simple sine function

I wrote a very basic C program to play a sine of a user-specified frequency. In the interest of portability, I have it spit values directly to stdout, so hopefully you can reproduce my problem on your ...
0
votes
1answer
338 views

Pulse wave from sum of sinusoids

...
0
votes
1answer
1k views

Combining 2 sinusoids of equal amplitude with different frequencies into 1 new “wave”

This question is about combining 2 sinusoids with frequencies $\omega_1$ and $\omega_2$ into 1 "wave shape", where the frequency linearly changes from $\omega_1$ to $\omega_2$, and where the wave ...
0
votes
1answer
482 views

How do I sum the discrete cosine transform cosine waves?

Sorry if this sounds like a stupid question, I'm new to DCT. I've implemented various types of DCT (like IV and II) and they all give vastly different coefficients. From what I've read, the DCT ...
0
votes
1answer
512 views

Instantaneous phase calculation problems

I am currently struggling with a problem when calculating the instantaneous phase of a wavefield using a 1D Hilbert transformation. The scheme is as follows. 1D Hilbert transformation of wave field $...
0
votes
1answer
133 views

Basics of waveform, how to define the zero point

Audio is a sequence of waveforms which have peaks, troughs, 0, just like below. How to define the x axis (y = 0) in the picture, how to choose the 0 point in the waveform since there are so many ...
0
votes
0answers
30 views

Is it possible to open 2 streams from the same microphone on Oboe?

I'm trying to open 2 input streams from the same microphone on Oboe but it's not working. One of the audio inputs I'm opening is like this: ...
0
votes
1answer
17 views

reconstructing a frequency response function from a factor

I am looking at a stationary monopole source with a frequency of 80 Hz with the driving data $1+0i$. It creates an output $-0.191714-0.786113i$ at a certain point $p$. I calculate the "transfer ...
0
votes
1answer
50 views

What is the actual format of this audio file?

I am collecting some data from jotform .wav widget. All the audio files are in .wav format. But when I tried to open the file using python ...
0
votes
0answers
60 views

pointwise cross-correlation, finding offset in same signals

Problem: I want to find the correlation between two signals from point to point. That means that if they share y values then I want to know the x offset between them. This is what I want in ...
0
votes
0answers
21 views

How can I calculate time gap in different waves

I want, calculate the time gap between two signals .but that signal has frequently changed the frequency range. I want to combine with these two signal including phase shift I have a circuit for ...
0
votes
0answers
13 views

What wavelet should i use to analyze harmonic function?

If i have the following signal: $$ s(t) = cos\left [ t\cdot \left (\frac{a}{2}t+b \right ) \right ] $$ What is the best family of wavelet to analize the signal, and what is its scale range? Do i ...
0
votes
0answers
58 views

Clip wav by PSD

I have the following two things. sequence_1: Sound file in the wave format. PSD_1: Some PSD (Power Spectral Density). I want that the PSD(sequence_1) < PSD_1 for all indices. How I think about ...
0
votes
0answers
44 views

Need help with detecting onset of audio in wav file

I'm new to DSP and I'm learning as I go. I have an audio file with a chirp signal(2kHz). I played and recorded this chirp signal and the recording has a lot of environmental sounds. Here is my code:
0
votes
0answers
215 views

Equation for impulse train

I am looking for a formula (Fourier series) to generate an impulse train waveform - a spike-wave with amplitude and period both $1$ – so that $f(x)$ has value $1$ at $x = 1,2,3,4...$ and $f(x)$ has ...
0
votes
1answer
141 views

Computing of speech signals modulation entropy

I got a question regarding to modulation entropy of audio signal. There is some literature I found about this topic, http://www.irit.fr/recherches/SAMOVA/FeaturesExtraction.html#me. I've read sample ...
0
votes
0answers
111 views

Formatting issue WAV - MP3?

I have two "sources" of audio: record WAV audio files (44.1kHz, 16bit, stereo) with Linux arecord and convert them with LameMP3Encoder to MP3 files (44.1kHz, 320kbps, 32bit**, CBR)*** record MP3 ...
0
votes
1answer
111 views

What is the Sound of a Solution to the Wave Equation?

What is the sound of a solution $y(x,t)$ to the Wave Equation $\frac{\partial^2y}{\partial t^2}=c^2\,\frac{\partial^2y}{\partial x^2}\enspace$? To be clear, I don't look for a solution of the Wave ...
0
votes
1answer
944 views

Convert Triangle Wave to Sine Wave

I have this triangle wave as input: and I want to derive a sine wave out of it. How do I go about it? PS: I am doing this in Lua, so any piece of code close to that language would be appreciated.
0
votes
0answers
168 views

generating a waveform in matlab for rohde and schwarz signal generator

We are doing a test which consists in sending a waveform from Matlab to the signal generator SMB100A and sending it through a cable to the r&s spectrum analyzer just to have a channel. We set the ...
0
votes
2answers
49 views

Spectral Content of two waveforms

I have found this interesting question here: Which of these two waveforms has a richer spectral content, and why? Intuitively speaking, I think that the first one is richer, but I cant really ...
0
votes
1answer
159 views

Wave Correlation?

I have an image processing application that is different than anything that I've done before, and am looking for suggestions on how to approach. Here is a basic description of the problem: Given a ...
0
votes
1answer
111 views

Adding sine waves

I need to play thousands of simple sounds (generated tones) at the same time. If I am understand correctly there should be a way to add them together in complex wave but i really can't see the light ...
-1
votes
1answer
40 views

Mix N sinusoidal waveforms without clipping but at a costant amplitude with no clipping and maximum amplitude

I need to mix "n" sinusoidal waveforms which can be all active or some or all can be silent. The math seemed simple (working with float32 samples) because I just added all waveforms and then divide ...
-1
votes
1answer
1k views

Power of a square wave signal

I have a signal with half-amplitude $A$ and period $T$ and I want to calculate the average power of the signal. I think I remember the power of a signal $x(t)$ to be $$\frac{1}{T}\int_{0}^{T}|x(t)|^...
-1
votes
1answer
50 views

are Ultra sound signal amplitude dangerous? [closed]

First sorry if this question if it's out of topic but I'm very intrigued The human ear can hear a specific range of sound waves frequency. and huge amplitude of those sounds can damage the ears but ...
-1
votes
1answer
262 views

How to compare two audio files that maybe have been recorded in the same environment

I have two audio files that I think they were recorded in the same room. Is there any tool that can be used to compare both of them. Knowing that sample rate and format are the same. Thanks
-3
votes
2answers
77 views

difficulty in understanding amplitude, frequency and period

I have difficulty in understanding of some fundamental terms as amplitude. Can be there more than one amplitude for a signal? The following expression is combination of 3 sinusoidal signal, so are ...

1
2