LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-10-2011, 12:13 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
CLI: Compare two Wav files?


Hello,

All modern Operating systems have a voice reco nowadays.
Although Vista got some issue with it, but anyhow.
http://www.zdnet.com/blog/ou/vista-s...te-exploit/416

Apple is also strong in this direction.

Linux has sphinx 2 into the repositories, and you can use wine with Dragon Naturally Speaking. It works but no so well, since the performances of the reco depends on the CPU.

Then there are few little projects for Linux, which could be discontinued in the future (requiring Kde, e.g. Symon, or others).


In a CLI method, for backend, how would you compare two files?

Here we go:

first one, I record a voice speech "Hello" with my usb mic
Code:
cd ; arecord -Dplughw:0,0 -f cd -vv hello.wav
and second one, saying "good morning!"
Code:
cd ; arecord -Dplughw:0,0 -f cd -vv secondwav.wav
How would you compare it with a CLI program that compares their amplitudes or that "hello" is into secondwav.wav yes or not ?

- Reply : no solutions. Wait 10-15 years.
 
Old 12-10-2011, 02:41 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by Xeratul View Post
All modern Operating systems have a voice reco nowadays.
no, they haven't. It's their desktop environment or some dedicated application that does this.

Quote:
Originally Posted by Xeratul View Post
In a CLI method, for backend, how would you compare two files?
Actually, about two years ago I started to develop a program that would do exactly that as a hobby project. It was designed to examine two audio files and assess their similarity, mostly ignoring technical parameters like sampling rate, recording level or minor background noise, and finally give a guess on how high the chance is that these two audio files basically contain the same information.
Originally, I started that project to deal with mp3 music and find out different recordings of the same title.

I abandoned it then because there were more important things to do and I ran out of time. But I might pick it up again.

Quote:
Originally Posted by Xeratul View Post
- Reply : no solutions. Wait 10-15 years.
I'd rather expect 6..12 months for the solution I have in mind.

[X] Doc CPU

Last edited by Doc CPU; 12-10-2011 at 12:03 PM. Reason: Several typo's fixed
 
Old 12-10-2011, 07:17 PM   #3
alex.t
LQ Newbie
 
Registered: Jan 2009
Location: Montréal, Québec, Canada
Distribution: Debian Jessie
Posts: 25

Rep: Reputation: 0
Quote:
Originally Posted by Xeratul View Post
Hello,

All modern Operating systems have a voice reco nowadays.
...
In a CLI method, for backend, how would you compare two files?
...
I don't see the link between speech recognition (voice recognition is something different) and signal processing. You cannot really use a speech recognizer as a signal processor. Other link I cannot see - what this question has to do with Debian/Linux questions.

Last edited by alex.t; 12-10-2011 at 07:18 PM.
 
Old 12-11-2011, 02:15 PM   #4
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by Doc CPU View Post
Hi there,



no, they haven't. It's their desktop environment or some dedicated application that does this.



Actually, about two years ago I started to develop a program that would do exactly that as a hobby project. It was designed to examine two audio files and assess their similarity, mostly ignoring technical parameters like sampling rate, recording level or minor background noise, and finally give a guess on how high the chance is that these two audio files basically contain the same information.
Originally, I started that project to deal with mp3 music and find out different recordings of the same title.

I abandoned it then because there were more important things to do and I ran out of time. But I might pick it up again.



I'd rather expect 6..12 months for the solution I have in mind.

[X] Doc CPU


Cool post. Thank you. Are you interesting to work on this project together? I could help a bit.
PM me ... Cheers
 
Old 12-21-2011, 12:33 PM   #5
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
anyone would have more inputs on that general topic of comparing wav's ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A cli WAV player, anyone from slack <= 12.0 stf92 Slackware 2 08-31-2011 02:02 AM
Compare files in specific directory to files on CD szim90 Linux - Newbie 3 02-10-2007 08:39 PM
Can anyone recommend some good software to convert *.wav files into *mp3 files? Tom "Techno" Earl Linux - Software 4 10-12-2006 04:03 PM
Converting MP3 Files into WAV files MariAnt Linux - Software 3 08-31-2006 09:39 AM
Edit/Clean .wav from CLI onedingo Linux - Software 1 07-25-2006 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration