Page 1 of 2

Removing words from speech, and maintaining the tone

Posted: Sat Oct 15, 2011 2:09 am
by MinHooi
Hi, could some one please give me some tips?

Firstly, a little background on what I did. I have some audio clips taken from a movie, and had it edited to 10-seconds. I want my participants to judge the emotional tone of that clip, and not rely on the semantics to judge. In the past experiments, participants tend to categorise expletives or vulgar words with anger, and those without expletives are categorised as disgust. Is there a way to create this sound; just the tone but without the words? I am concerned if I have the words exchanged with other sounds e.g. "avatar" voice, chipmunk would reduce the quality of the tone. The ideal way would be to muffle the words, and leave the tone as it is.

I've attached a 5 sec clip of the original, the numerous expletives are not helping, and I want it either removed or muffled.

Appreciate any tips on how to resolve this.

Thanks.

Re: Removing words from speech, and maintaining the tone

Posted: Sat Oct 15, 2011 4:39 am
by kozikowski
Nothing I can do with the Equalizer or Low Pass Filter helps. I can remove almost everything that contributes to intelligibility and you can still understand what he's screaming. I guess that's what makes low quality radio (and most cellphone) conversations work.

I think one problem is the cadence. I once saw a violin talking with a human and it was no great stretch to figure out what the violin was "saying." He did it all with rhythm and pitch. No articulation at all.

I'm out.

Koz

Re: Removing words from speech, and maintaining the tone

Posted: Sat Oct 15, 2011 4:40 am
by kozikowski
You know what you might try? Low Pass filter at about 300Hz or so and then export the voice as MP3 at low bitrate -- lower than 32. Twice.

Koz

Re: Removing words from speech, and maintaining the tone

Posted: Sat Oct 15, 2011 4:47 am
by Trebor
Maybe "sine-speech" ... http://www.scholarpedia.org/article/Sine-wave_speech
before-after sine-speech.mp3
(206.33 KiB) Downloaded 187 times
I don't have a clue how to produce "sine-speech" on Audacity, but there is other free software to produce it ... http://www.fon.hum.uva.nl/praat/

Re: Removing words from speech, and maintaining the tone

Posted: Sat Oct 15, 2011 8:55 am
by MinHooi
Hello Koz and Trebor,

Thanks for the replies. I'm guessing Audacity might not do the job. I have Praat and figure it out.

Koz - I tried doing the low pass filter twice at 300 Hz, and I can still hear the words clearly. You mentioned about exporting it as MP3 at low bitrate - how do I do this?

Trebor - Thanks for telling me about Praat. As to the sine-wave speech, I listened to the sample clip, and I can still hear the words but the sound has been distorted to an extent that I can imagine it would be lost when someone is uttering angry words or sobbing out words.

Min Hooi

Re: Removing words from speech, and maintaining the tone

Posted: Sat Oct 15, 2011 7:37 pm
by kozikowski
And in that one sentence we need to find out what Audacity you're on. You should be on Audacity 1.3 for all the fancy-pants tools. You also need to download and install the "lame" MP3 software.

After you do that.

File > Export > MP3 > Options. You're intended to apply the Low Pass Filter only once with 12dB or 24dB per octave. Then Export as ratty MP3, import and export it again. MP3 damage is cumulative.

You may be up against some interesting human characteristics. I can tell exactly what the cabbie outside is screaming to his traffic without knowing what the actual words are. Cadence and pitch will do it.


Audacity 1.2 is very old and no longer supported,
patched, corrected, or updated. Audacity 1.2 can
be unstable on newer computers.

Download and install the latest Audacity 1.3 from here...

http://audacityteam.org/download/

You can install both audacity 1.2 and Audacity 1.3 on
the same computer, but only use one at a time.

Audacity 1.2 will not open projects made on Audacity 1.3.

If you use MP3 or some of the more modern audio
compression formats, get Lame and FFMpeg software
from the same web site. Do not use older software
or software from other web sites, even though they
may have the same names.

Re: Removing words from speech, and maintaining the tone

Posted: Sun Oct 16, 2011 2:24 am
by MinHooi
Hi Koz,

I do have Audacity 1.3 installed. Thanks for your instructions and I have attached the clip below, after doing it twice. I can still hear the words. I am afraid this method isn't working out as I hoped.

Thanks anyway,
Min

Re: Removing words from speech, and maintaining the tone

Posted: Sun Oct 16, 2011 2:58 am
by Trebor
Rectifying the waveform mangles the sound quite a bit ...
angry before-after rectification-.mp3
(390.2 KiB) Downloaded 173 times
but it does alter the frequency content.

Put the code below into the "nyquist prompt" (in Effect menu) to rectify

Code: Select all

(snd-abs s)

Re: Removing words from speech, and maintaining the tone

Posted: Sun Oct 16, 2011 7:14 am
by kozikowski
You may not ever get there. By the time you eliminate all the intelligence in the voices, you may be down to earthquake rumble.

Koz

Re: Removing words from speech, and maintaining the tone

Posted: Sun Oct 16, 2011 7:19 am
by kozikowski
It's amazing. Even with some weapons-grade damage to the monolog, you can still make out some of the words.

Koz