Sponsored Content
Top Forums Shell Programming and Scripting The Start Of A Simple Audio Scope Shell Script... Post 302788835 by wisecracker on Tuesday 2nd of April 2013 02:44:12 PM
Old 04-02-2013
Hi Corona688...

I like the function idea for the config file. Why didn't I think of it...

As for the others, let me get the status lines cleaned up and if need be Trigger/Sync points first... Then I will experiment.

Thanks a lot matey...

Still working out how to get DC in on ONE input only...

I have a simple method of relay switching AC to DC and back using the 1KHz generator but even with the chopper I have no means, AFAIK, whether the DC is +ve or -ve.

This is the idea I have gotten, use the chopper to get the relative DC level, and on exactly the same multivib use the VFO section to detect whether the signal is +ve or -ve, a low freq being -ve and a high freq being +ve... FM and AM in 1 swoop... ;oD

Remember I have only ONE input...

The code should be easy...

BTW, tested on this Macbook Pro OSX 10.7.5 in DEMO and SOX modes and my Gnome Debian 6.0.x in DEMO and DSP modes...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

problem with shell variable's scope

Hi, I am stuck while developing a shell sub-routine which checks the log file for "success" or "failure". The subroutine reads the log file and checks for key word "success", if found it set the variable (found=1). It returns success or failure based on this variable. My problem is, I can... (2 Replies)
Discussion started by: cjjoy
2 Replies

2. Shell Programming and Scripting

simple shell - how to get a parameter typed in a shell script

Hi, I am new to unix and using linux 7.2. I would like to create a script that would make it easyer for me to run my java programms. At the moment I have to type java myJavaprogram I am trying to write a script that will allow me to type something like this "myscript myJavaprogram" or maybe... (4 Replies)
Discussion started by: cmitulescu
4 Replies

3. Shell Programming and Scripting

scope of a Variable inside shell script

hi all, i'm using the following script, Status=1 Function_do () { while read line; do if ; then #echo $line if ; then Status=0 echo " LINKINK ERROR " fi fi done < ldd.log } Function_do (4 Replies)
Discussion started by: vij_krr
4 Replies

4. Shell Programming and Scripting

Help with stop/start Shell Script.

Hi All, I would like to develop a shell script for stop & start an application server (1-4) on Solaris box. Here are the user requirements for this task. 1. User will input the option which server they wish to stop. 2. Will clear cache files from specific location. 3. ... (1 Reply)
Discussion started by: venga
1 Replies

5. What is on Your Mind?

Scope of Shell Programming and scripting

Hi all, I want to know what is the scope and job status of shell Programming and scripting. Does it have any attractive jobs? (2 Replies)
Discussion started by: malikshahid85
2 Replies

6. Shell Programming and Scripting

The scope of the shell/perl script is to read the input text file. Validate the expiry date of each

The scope of the shell/perl script is to read the input text file. Validate the expiry date of each certificate and send the mail to the user. The user takes action to add the new certificate to the storage file and user owns the responsibility to update the input text file with the new certificate... (5 Replies)
Discussion started by: casmo
5 Replies

7. UNIX for Dummies Questions & Answers

unable to start shell script

Hi, Pleasse could someone advise why i'm getting this error below - No such file or directory dev6:$ ls -ltr ReleaseManagement.sh -rwxr-xr-x 1 dev fix 4830 Aug 22 11:13 ReleaseManagement.sh dev6:$ ./ReleaseManagement.sh : No such file or directory dev6:$ thank you (2 Replies)
Discussion started by: venhart
2 Replies

8. OS X (Apple)

Python script to do simple audio capture...

This site is the first to get this snippet. It will capture an audio recording of any time length within the limits of OSX's QuickTime Player's capablility... A shell script derivative of this will be used as a further capture for CygWin's AudioScope.sh. Thoroughly read ALL the comments in... (0 Replies)
Discussion started by: wisecracker
0 Replies

9. Shell Programming and Scripting

Generate 10000 unique audio file of 2MB each using shell script.

Hi, I want 10000+ unique Audio file of approx 2MB each. How can i generate numerous audio files using shell script. Any tool, command or suggestions are welcome. If i give one audio seed file then can we create numerous unique files with same seed file? Any help is highly appreciable.... (11 Replies)
Discussion started by: sushil.kumar
11 Replies

10. OS X (Apple)

A simple variable frequency sinewave audio generator.

Hi all... Well I have not been inactive but working out how to make OSX 10.14.x command line audio player have a variable sample rate. This is a back door as afplay does not have a sample rate flag unlike aplay for ALSA, in Linux flavours. This is a DEMO only but a derivative of it will... (2 Replies)
Discussion started by: wisecracker
2 Replies
TONEDEBUG(1)						    Voicetronix Telephony Tools 					      TONEDEBUG(1)

NAME
tonedebug - Test parameters for the libvpb programmable tone detector SYNOPSIS
tonedebug [options] DESCRIPTION
The tonedebug utility assists with quickly testing tone detector parameters against the signals they are intended to detect. It has three main modes of operation for testing single continuous or pulsed tones, or for testing a set of tones specified in the environment. OPTIONS
The following common options apply for all modes: --card number Explicitly select the card to test. Default is card 0. --port number Explicitly select the port to test. Default is port 0 of the card being tested. -w wavfile Specify a wav file to play the tones from. For OpenLine and OpenSwitch cards it should be played to an FXO port with no phone line connected, and the tone detector will process the reflected signal from the hybrid circuit. The OpenPCI cards have almost no echo from this circuit, but an on hook phone connected to an FXS port should produce a detectable echo signal. -s filename.c Writes out a C function that can be included in your own code to configure the tone generator with the settings being tested. Environment options To run tonedebug using the settings specified with the VPB_TONE environment variables, call it with the -e option. For example: $ tonedebug -e --port 4 -w my.wav Will use the enviroment settings to try and detect tones from my.wav played into port 4 of card 0. There are no other options specific to this mode. Continuous tone options If passed the -c option, then the tonedebug utility will test parameters suitable for a continuous tone. For example: $ tonedebug -c 425 100 2000 -w dialtone.wav -t dial Will try to detect 2 seconds of 425Hz tone from dialtone.wav, played into port 0 of card 0. If it succeeds it will report a dial event. The following additional options may be used in this mode: -c center-freq bandwidth duration Specifies the primary tone characteristics, its frequency and bandwidth in Hz. and its minimum duration in milliseconds. -d center-freq2 bandwidth2 Specifies the second tone of a multi-frequency tone. -q twist Specifies the twist of a multi-frequency tone. -n snr Specifies the acceptable signal to noise ratio, in dB. -t dial | busy | ringback Specifies the name of a predefined tone to replace with the given settings. Pulsed tone options The -p options will enable testing for pulsed tones. In addition to the common options and the options for continuous tones, the following options are supported in this mode: -p center-freq bandwidth on-time Specifies the primary tone characteristics, its frequency and bandwidth in Hz. and its 'on' time in milliseconds. -off off-time The 'off' time of the pulse in milliseconds. SEE ALSO
tonetrain(1) BUGS
We rely on an echo from the hardware to feed the signal into the tone detector. This should be fixed to feed it in directly at some stage in the future. AUTHOR
Ron Lee, David Rowe, Voicetronix <support@voicetronix.com.au> This manual page was written by Ron <ron@debian.org>, for the Debian project (but may be used by others). VPB driver package Feb 2, 2007 TONEDEBUG(1)
All times are GMT -4. The time now is 08:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy