# Tagged Questions

The tag has no usage guidance.

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 ...
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 ...
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?
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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 ...
38 views

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 ...
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 ...
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() ...
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. ...
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). ...
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 ...
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 ...
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 ...
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 ...
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 ...
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: ...
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 ...
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. ...
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.
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 ...
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 ...
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 ...
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 ...
68 views

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 ...