Hot answers tagged

15 votes

How can I upsample 22 kHz speech audio recording to 44 kHz, maybe using AI?

What you want to do is called "Super Resolution" in the field of imaging. This is an ill posed problem. Hence in order to solve it you need some prior / model about your audio data. For ...
user avatar
  • 415
9 votes

How can I upsample 22 kHz speech audio recording to 44 kHz, maybe using AI?

While I don't know about tools for upsampling using AI, I am challenging the assumption that the main problem with your sample is lost high frequncies due to resampling from 44kHz to 22kHz, so "...
user avatar
7 votes

How to do continuous signal processing (i.e without windowing)?

Yes, it's possible to analyse sound the way ears do. For example, you could compute the DFT of a signal continuously using several Goertzel filters. $$ y_k[n] = e^{j2\pi k/N} y_k[n-1] + x[n] $$ ...
user avatar
  • 22.9k
6 votes

How does Siri recognize me saying "Hey Siri"?

"Ok Google" is described in many publications by Google Automatic Gain Control and Multi-style Training for Robust Small-Footprint Keyword Spotting with Deep Neural Networks Convolutional Neural ...
user avatar
4 votes

What are Chunks when recording a voice signal

What is intended to do with the loop for is to record a determined number of seconds. This number is specified by RECORD_SECONDS....
user avatar
4 votes
Accepted

Extract voice from magnetic tape

I am afraid there's not much you can do. The voice part seems to have gone through the equivalent of a low pass filter with a cut off of around 1000 Hz. Basically, all of the speech components above ...
user avatar
  • 2,180
4 votes

How can I upsample 22 kHz speech audio recording to 44 kHz, maybe using AI?

As pointed in some of the comments, there are several issues involved in your problem that you should consider to go for an optimal solution: Quality of the record system. Features of the microphone, ...
user avatar
  • 271
3 votes

How is a human whistle a pure sine wave?

Here is a picture of me whistling into the FFT Spectrum Analyzer app on my android. Center-line is 1.2k Hz. Notice the overwhelming strength of the first harmonic. Also note that while there is a ...
user avatar
3 votes

Extract voice from magnetic tape

The noise sounds very stationary, so I guess spectral subtraction should work well. Note however that most implementations usually have quite a few parameters to tweak, and spectral subtraction can ...
user avatar
  • 80.4k
3 votes

Converting Google's text-to-speech voice to, say, Justin Bieber's voice

How we should go about from converting Google Text to Speech's m3 file to Justin Bieber's voice? Ask Mr. Bieber to repeat what your MP3 says. I think letting one speech synthesizer first speak ...
user avatar
3 votes
Accepted

Male and female voice spectrum

in my opinion and limited experience, you can't just compare spectra of male and female voices to identify which is which. 2 decades ago i worked on two products called PurePitch and PitchDoctor that ...
user avatar
2 votes
Accepted

'A priori' and 'a posteriori' SNR

The a priori SNR is the ratio of the power of the clean signal and of the noise power. The a posteriori SNR is the ratio of the squared magnitude of the observed noisy signal and the noise power. Both ...
user avatar
  • 80.4k
2 votes

What do cloud-based speech-to-text services upload to the cloud?

To give more variants to Aaron's answer, speech recognition pipeline has multiple stages where you can cut the line between client and server. There are the following variants: Lossless audio (flac) ...
user avatar
2 votes

What do cloud-based speech-to-text services upload to the cloud?

Its probably safe to assume that all of the major companies send enough information to reconstruct the audio. This is because having that audio for training is such a valuable resource. A certain ...
user avatar
  • 1,382
2 votes

FFmpeg audio filter pipeline for speech enhancement

The 1st mentioned tutorial https://medium.com/@jud.dagnall/dynamic-range-compression-for-audio-with-ffmpeg-and-compand-621fe2b1a892 is a great introduction and the filter documentation also adds a few ...
user avatar
2 votes

FFmpeg audio filter pipeline for speech enhancement

I just came across one article related to the compand command that might be useful (just in case someone looking for help sees this article). From the article: To test this, and my understanding ...
user avatar
2 votes

Extract voice from magnetic tape

On file: noisy_00_41_718_to_01_04_287.wav, I tried spectral subtraction and then some high-pass filtering to taste. You can download the snippet here. There are definite artifacts, but I fear the ...
user avatar
  • 1,720
2 votes

how to detect short pause in a speech with noise?

You can use Voice Activity Detector(VAD) for detecting the pauses in speech and there location(and duration). if your input signal is not very noisy and noise is not varying much you can use a fixed ...
user avatar
2 votes
Accepted

CODECS used for VoIP calls

Let me put in an unconnected form things about audio codecs. Audio can be music or speech (discluding ultrasound, sonar etc). Music is wideband and requires high-fidelity. Speech has a lower ...
user avatar
  • 26.8k
2 votes
Accepted

How do I deepen my voice (I'm a female) to sound like a man in a video for a school project?

I know some audio software that does a good job: Audacity (free software) - effect -> change pitch (set the pitch to down, lower down the semi-tones and the percent change) Adobe Audition (paid ...
user avatar
2 votes
Accepted

Given MFCC values for some wav’s, how can I easily tell if all speakers are the same?

Given MFCC values for some wav’s, how can I easily tell if all speakers are the same? In general, you would deal with this kind of problem using some form of Clustering. The fundamental premise ...
user avatar
  • 10.1k
2 votes

make a voice sound signal play faster

You can increase the sampling rate, instead of the signal $x(nT_s) = x(n/F_s)$, you can play it at say $\frac{11}{10}F_s, \frac{12}{10}F_s, \text{or}\ 2F_s$. So you have: \begin{align} x\left(\frac{n}{...
user avatar
  • 3,272
2 votes
Accepted

Speech recognition algorithm in GNU Octave to convert speech to text (and vice versa)

Is there any possibility to implement a speech recognition integrated with google voice that converts speechs in text in GNU Octave? Yes. The Google Cloud command line utility returns results in JSON....
user avatar
  • 10.1k
2 votes

Obtain Envelope and Pitch curves of my Singing Voice

Why would you want to control an analog synth using your voice? Presumably because you want the «sound» of a synth patch coupled with the expressibility of your voice. Or only for the fun of making it ...
user avatar
  • 2,274
2 votes

How can I upsample 22 kHz speech audio recording to 44 kHz, maybe using AI?

Add high frequency noise. While the other answers provide extremely valid points, adding noise is a very simple "solution" (deliberately placed in quotes) to make the sound appear more "...
user avatar
  • 121
2 votes
Accepted

Audio Processing - How to create a spectral pitch display?

You can usually trade off time versus frequency resolution in a spectrogram by changing the length, offset, and overlap of the STFT/FFTs. If you compute more than one set of STFT/FFTs for a single ...
user avatar
  • 34k
2 votes
Accepted

Did Dialup Modem use closed or open loop power/volume control? How did they determine Tx level?

Did Dialup Modem use closed or open loop power/volume control? Yes. How did they determine Tx level? "Dialup Modem" is a very big term that spans > 50 years of technological ...
user avatar
1 vote

How does Siri recognize me saying "Hey Siri"?

To elaborate on @hotpaw2 answer, "Hey Siri" runs on the low-power M9 Coprocessor chip, which also does stuff like monitoring footsteps, etc for the Health app. Accordingly, in older devices without ...
user avatar
  • 1,720
1 vote
Accepted

Raw speech data into spectrogram

In principle what you describe is reasonable. Here's an example in Python that implements your idea: ...
user avatar
1 vote

Changing voice characteristics so it sounds like someone else voice

You may use the same pitch shift technique, but a little bit modified. If, classically, in pitch shift algorithm, each frequency component changes by multiplication of its frequency on some pitch-...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible