The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
43 views

Dynamic range compression - Need pseudo algorithm for normalizing a signal

I have a signal that is NOT an audio signal (but looks like an audio signal - probably you can even "play" it). I would like to amplify the signal in regions where its amplitude is low. In very rare ...
0
votes
2answers
53 views

Moving Average of sinusoid

If you calculate a simple moving average over a window length that is equal to the period of the sinusoid, you get a straight line (=0 because the wave is symmetric around the X-axis): the wave has a ...
1
vote
2answers
45 views

If you had supersonic hearing, would you be able to hear the carrier wave of an AM radio station?

Would you be able to hear the carrier wave of an amplitude modulated station, if you could hear in the MHz range, or would the high frequency be filtered out after rectification?
0
votes
0answers
18 views

Difference between Envelope filters and a unit with variable envelope response

Would a unit with variable envelope response shape a square sound wave into a sine wave? I know that an envelope filter kind of does that through subtractive synthesis. I'm trying to find a way to ...
6
votes
2answers
860 views

Can you turn a square wave into a sine wave using a low pass filter?

And if it could, would it make the sound of the square wave thinner than before because of losing its harmonics?
0
votes
0answers
25 views

Speaker localisation using time difference of arrival

I am trying to implement a speaker positioning algorithm using time difference of arrival. My system is consisted of three microphones on a known location and a speaker which I need to locate using ...
3
votes
1answer
118 views

Signals cross-correlation

I am trying to measure phase difference between two received waves which are recorded by two separate PC's (microphones). The two PC's starts recording at the same time, then I make a sine wave sound ...
1
vote
2answers
59 views

How do I calculate the frequency of the highest amplitude wave?

I have a number of values retrieved from a sampled signal that is generated randomly for no specific purpose. The task I am presented with (Quoted below): calculate the frequency of the highest ...
0
votes
0answers
63 views

How to separate opposite direction travelling waves without artefacts?

In shear-waves ultrasound imaging, waves are created which travel in opposite directions. there is need to extract left going and right going shear waves. I have used wavenumber-frequency domain to ...
0
votes
1answer
47 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
1answer
38 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
vote
1answer
136 views

How do you construct common waveforms (square, sawtooth, triangle, noise) from sine wave partials using an IFFT?

In the lovely image below we see the addition of sine waves making a square wave. I am coding a wave table synthesiser and thought it would be great to get the user to be able to fiddle with the ...
1
vote
0answers
60 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
34 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. ...
1
vote
1answer
910 views

Generating a noisy sine wave in Python, efficiently

(Questions after code block.) For now, I am generating the sinusoid and the noise separately and then normalising the amplitude so I can write the signal to a .wav file (16-bit, 16kHz). ...
1
vote
1answer
65 views

Why does the standard waveform from audio out get distorted when I reduce the amplitude?

In my attempt to generate a standard sine wave out of a sound card, I started using matlab which has a function soundsc for scaling the output ...
3
votes
4answers
199 views

Why every musical instrument sounds different than any other while listening?

This is soft question.I am not expert in music. We know that English language has 26 letters (which are again grouped into vowels and consonants) , while language of music is same all over the world ...
0
votes
0answers
37 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
47 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 ...
3
votes
3answers
738 views

Removing unwanted square-wave noise from a signal

I have a signal, s, given at the end of this message. I need to remove the square wave shape from it. The desired signal is actually very small and it has been contaminated by a strong square-shape ...
1
vote
2answers
318 views

FFT calculation suitable, Wav File, Java

If I have a wav file with this characteristics: 16bits (2 Bytes per Sample) 32000 Sampling Rate 60 Seconds 2 Channels then I have: ...
1
vote
1answer
114 views

Unsupervised learning algorithms to detect anomaly in waves

I have a sample of graphs (more than 10000...). that look like in the image below: I am searching for an unsupervised learning algorithms that can help me to detect anomalous observations. Here ...
1
vote
2answers
911 views

Downsampling PCM Audio

I'm looking everywhere for solutions for audio downsampling. However for one reason or another they are incomplete, sometimes buggy, and sometimes are in a programming language I cannot understand. ...
0
votes
1answer
183 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
1answer
125 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
0answers
55 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 ...
1
vote
1answer
105 views

Does Wav format supports writing complex values

I have a sine tone, doing some math, and finally gets an harmonically accumulated sine tone in complex numbers. I do want to preserve the phase information of imaginary part on the other end, which ...
0
votes
1answer
301 views

Wav file scale factor

I seek a scaled audio file format for my dsp output. I'd like to produce "scaled wav files", when I've done my pre processing. Eg. if the amplitude is 15.5 (of whatever unit), you should be able to ...
0
votes
1answer
68 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
2answers
39 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 ...
-1
votes
1answer
61 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
vote
1answer
136 views

Is it theoretically possible to perfectly quantize a continuous signal?

So, I'm completely new to digital signal processing, but while reading a piece this morning about quantization it got me daydreaming: could a machine ever be fast enough to sample the position and ...
0
votes
1answer
76 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 ...
1
vote
1answer
68 views

Structure of function that describes sine signal

I need to create a vector of sine signal. So I'm trying to figure out what the structure of the function that describe sine signal ? For example the function $\sin 2x$ meets the requirements? If ...
0
votes
2answers
424 views

Band Limited Table Look Up Oscillator C++

I would like to create a Band Limited Table Lookup Oscillator that functions much like the sin() function in C++ works where i would inout a phase value and receive ...
0
votes
1answer
95 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 ...
2
votes
2answers
179 views

Need help with FFT results

I am playing around with FFT and cant seem to get the expected results. I have a sound clip that i recorded from a mic placed on an analogue clock. So it has a sound every second. ...
1
vote
1answer
1k views

How to obtain the Sound Pressure Level from .wav file based on these given parameters?

I have a wav file recorded from a hydrophone. I am not quite familiar with signal processing so I really need some advice from you. I have gathered the information which looks useful and related. ...
1
vote
2answers
215 views

Bandpass filter on noisy sinusoid that predicts turning points

Is there an application where it is required to predict turning-points of a signal that is like a sinusoid with constant frequency, variable amplitude and some noise (Gaussian additive noise)? The ...
0
votes
1answer
250 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 ...
3
votes
2answers
921 views

Audio Signal Separation - Identifying Interest points

I asked this question here: Audio Separation of .wav signal but it wasn't clear, so, here is my second attempt: First off, assume that I have a .wav file containing a sentence as follows: "My name ...
3
votes
1answer
176 views

remove spatial sinusoid noise from 2d image

Given a 2D image where each row of pixels is shifted by some amount horizontally in a sinusoid fashion, is it possible to recover the original image? Imagine a camera that can capture one row at a ...
1
vote
1answer
97 views

Isolating Bat Species without prior training base

I am attempting a project and I have been given Bat calls (in .wav) which are not ultra-sound navigation calls and I'm looking to isolate the different species of bats and monitor their activity. ...
0
votes
2answers
590 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 ...
1
vote
1answer
460 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 ...
3
votes
1answer
5k views

What do I do with the result of an FFT?

So I am working on a project using digital signal processing, which I am not familiar with at all, and a lot of this is all new to me. I am using SciPy\NumPy to play around with code to understand the ...
0
votes
1answer
219 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 ...
3
votes
1answer
639 views

How to make pop-free, crisp two-beep ringtone?

I hope this ultra-noob question is not entirely out of place here. I'm trying to make a super simple ringtone: 0.5s silence + 1s "pure tone" + 0.5s silence + 1s "pure tone" + 0.5s silence. By "pure ...
0
votes
4answers
2k 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 ...
1
vote
1answer
6k views

time in Sine Wave equation

According to Wikipedia, The sine wave or sinusoid is a mathematical function that describes a smooth repetitive oscillation. The formula for the Sine wave is, A = Amplitude of the Wave ω = ...