LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-10-2013, 01:30 AM   #1
niteen
Member
 
Registered: Mar 2013
Location: India
Distribution: Fedora
Posts: 66

Rep: Reputation: Disabled
real time sound monitoring


what parameters can i mention and monitor to check the quality of a sound-file created on real time.
Any framework would be so helpfull.specific for any Linux distribution.
Thanks in Advance
 
Old 04-10-2013, 09:10 PM   #2
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
?????????????????

What is the purpose of your monitoring ?
How do you define sound quality ?
Why do you want to monitor file contents in real time and not the sound stream itself ?
 
Old 04-11-2013, 12:10 AM   #3
niteen
Member
 
Registered: Mar 2013
Location: India
Distribution: Fedora
Posts: 66

Original Poster
Rep: Reputation: Disabled
If suppose in case the recorded sound quality coming is not good, then i gotta go for network health check and all.
so,i can not find criteria to monitor-sound-stream with built in libraries itself.
Any idea please share
 
Old 04-11-2013, 04:17 AM   #4
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by niteen View Post
If suppose in case the recorded sound quality coming is not good, then i gotta go for network health check and all.
so,i can not find criteria to monitor-sound-stream with built in libraries itself.
Any idea please share

I am asking you again: "How do you define sound quality ?".
 
Old 04-11-2013, 07:09 AM   #5
niteen
Member
 
Registered: Mar 2013
Location: India
Distribution: Fedora
Posts: 66

Original Poster
Rep: Reputation: Disabled
yeah off-course, the criteria is not certain and that's the only thing i wanna discuss for.
i gone for research & found.let me point out
1.NOISE
2.THERSHOLD

will there be others.please discuss for both the above.
means how could be judge of "noise" and "thershold" value of existing media file.
thanks
 
Old 04-11-2013, 07:59 AM   #6
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by niteen View Post
yeah off-course, the criteria is not certain and that's the only thing i wanna discuss for.
i gone for research & found.let me point out
1.NOISE
2.THERSHOLD

will there be others.please discuss for both the above.
means how could be judge of "noise" and "thershold" value of existing media file.
thanks
Regarding noise. In a recorded sound how are you going to distinguish microphone amplifier noise from, say, noise present in the recording hall ?

Regarding threshold - threshold of what ?
 
Old 04-11-2013, 11:32 PM   #7
niteen
Member
 
Registered: Mar 2013
Location: India
Distribution: Fedora
Posts: 66

Original Poster
Rep: Reputation: Disabled
so,what parameters would you like to suggest..
 
Old 04-11-2013, 11:39 PM   #8
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by niteen View Post
so,what parameters would you like to suggest..
In Russian there is a saying/joke: "Пойди туда, не знаю куда, принеси то, не знаю что", and even there is an article on that in Wikipedia: https://en.wikipedia.org/wiki/Go_I_K..._Know_Not_What . It looks to me this thread of yours fits the article perfectly well.

I have no idea what you want.

Probably if you start learning stuff about signals and sound, you'll be better able to formulate the problem in a manner that makes solutions feasible.
 
Old 04-11-2013, 11:55 PM   #9
niteen
Member
 
Registered: Mar 2013
Location: India
Distribution: Fedora
Posts: 66

Original Poster
Rep: Reputation: Disabled
thanks for that!!i got the meaning.
so,here i am describing:
i will record few sorts of sound in ".wav" format.
Now matter is this,if the ongoing recording quality of media-file is not good.
then i have to stop recording.
I have parameters to stop recording by sending interrupt signals to hardwares through my program.But not getting, what parameters should i monitor to check the real-time-sound-file quality.
thanks in Advance
 
Old 04-12-2013, 12:02 AM   #10
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by niteen View Post
... the ongoing recording quality of media-file is not good. ...

You have so far failed to define "quality". For example, non-linear distortions of electric guitar sound may be good - if the guitar player is using the distortion effect.

OTOH, non-linear distortions of human voice most likely are not good.

Anyway, in order to measure distortions you need you need to have access to the undistorted source sound in the first place - which I guess you do not have.


Again and again, it is you you has to define what sound quality is WRT task at hand.
 
Old 04-12-2013, 12:07 AM   #11
niteen
Member
 
Registered: Mar 2013
Location: India
Distribution: Fedora
Posts: 66

Original Poster
Rep: Reputation: Disabled
and what in case if i record sound from any channel.like through a call or any online media.
 
Old 04-12-2013, 10:03 AM   #12
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by niteen View Post
and what in case if i record sound from any channel.like through a call or any online media.
How else should I tell/explain you that monitoring quality is senseless until/unless quality is defined in practically measurable terms ?
 
Old 04-15-2013, 03:29 AM   #13
niteen
Member
 
Registered: Mar 2013
Location: India
Distribution: Fedora
Posts: 66

Original Poster
Rep: Reputation: Disabled
To be very specific,need "voip monitoring tool" source in c-language,compatiable with gcc compiler.
and parameters i check are 1.Network delay,2.Drop,3.Jitter,4.Loss,5.Noise..
any furthur suggestions!!plz post in here.
Thanks
 
Old 04-15-2013, 05:58 AM   #14
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
@niteen I wonder if JACK could help you. Perhaps with it you could redirect a copy of the audio to another monitoring server somehow.
 
Old 04-15-2013, 12:56 PM   #15
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by niteen View Post
To be very specific,need "voip monitoring tool" source in c-language,compatiable with gcc compiler.
and parameters i check are 1.Network delay,2.Drop,3.Jitter,4.Loss,5.Noise..
any furthur suggestions!!plz post in here.
Thanks
Quote:
1.Network delay,
- how do you measure network delay ? Regardless of sound. Or in the context of sound, does the protocol you are to use have provisions to measure network delay ? Anyway, if you listen to, say, sound stream playing Janis Joplin or Jimi Hendrix (IIRC both died in 1970), does it matter if their songs play 1 second later ? In other words, when does network delay matter ?

Quote:
2.Drop,
- of what ?

Quote:
3.Jitter
- of what ? And are you sure your SW doesn't take care of jitter ? Ever heard the "reclocking" word ? If not, try https://duckduckgo.com/?q=DAC+reclocking .

Quote:
4.Loss,
- of what ?

Quote:
5.Noise
- I have already pointed your attention to difficulties distinguishing noise from signal. You think if you just repeat the "noise" word it starts making more sense ? If you have no idea how do distinguish signal from noise why are you mentioning noise in the first place ? If you have an idea, would you share it ?

Maybe before even thinking of monitoring sound quality you should first learn what sound is and also learn a number of important things on signal processing ? This is of/from "furthur suggestions" department.
 
  


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
Monitoring IPMI SEL in real time zama Linux - Software 1 10-20-2012 10:33 AM
Real time bandwidth monitoring software turkejd Linux - Networking 2 02-18-2012 04:25 AM
squid real time monitoring Ammad Linux - Networking 2 02-08-2010 11:46 AM
Squid Real-time Monitoring molybtek Linux - Networking 1 10-10-2008 09:42 PM
Real time Monitoring squid logs jatender Linux - Server 3 10-03-2007 03:08 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:35 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