Sponsored Content
Top Forums Shell Programming and Scripting The Start Of A Simple Audio Scope Shell Script... Post 302974878 by wisecracker on Sunday 5th of June 2016 12:32:32 PM
Old 06-05-2016
AudioScope.sh version 0.50.00.

Well a major hurdle is now overcome, and with this major hurdle a major version increase too.

It is extremely difficult to do automatic external range switching from a MONO mic input and STEREO earphone outputs, (it is possible however).
I have instead decided upon a simpler way, manually alter the amplifier hardware to the required volts per division and then enter the range from the 'COMMAND:-' window.
(Although nothing will happen this will _work_ in DEMO mode too.)

This setting is NOT saved in the AudioScope.config file and will always re-start in 'Uncalibrated' vertical axis mode.

AudioScope.sh can now be calibrated in the vertical axis but only in the AC condition.
It can now be considered finshed for the AC mode from around 100Hz to 10KHz or within the limits of the microphone audio input passband.

The full details are now in the manual, coding is already catered for and the AudioScope.manual is now AC complete - hopefully... ;o)

AudioScope.sh, AudioScope.config and AudioScope.manual are now saved inside the '$HOME' directory. The remaining files, all 21 of them are saved in the '/tmp/' directory.

The image is in DEMO mode with a pseudo-Voltage range of 100mV per division...

Stats so far...

# Total Lines=4204.
# Blank Lines=29.
# Code Lines=1986.
# Comments=2189, (including the builtin Manual).
# Filesize=175684 bytes.

Enjoy...
 

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
PLBOX(3plplot)							    PLplot API							    PLBOX(3plplot)

NAME
plbox - Draw a box with axes, etc SYNOPSIS
plbox(xopt, xtick, nxsub, yopt, ytick, nysub) DESCRIPTION
Draws a box around the currently defined viewport, and labels it with world coordinate values appropriate to the window. Thus plbox(3plplot) should only be called after defining both viewport and window. The character strings xopt and yopt specify how the box should be drawn as described below. If ticks and/or subticks are to be drawn for a particular axis, the tick intervals and number of subintervals may be specified explicitly, or they may be defaulted by setting the appropriate arguments to zero. Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub) Perl/PDL: plbox(xtick, nxsub, ytick, nysub, xopt, yopt) This function is used in examples 1,2,4,6,6-12,14-18,21,23-26,29. ARGUMENTS
xopt (const char *, input) Pointer to character string specifying options for horizontal axis. The string can include any combination of the following letters (upper or lower case) in any order: a: Draws axis, X-axis is horizontal line (y=0), and Y-axis is vertical line (x=0). b: Draws bottom (X) or left (Y) edge of frame. c: Draws top (X) or right (Y) edge of frame. d: Plot labels as date / time. Values are assumed to be seconds since the epoch (as used by gmtime). f: Always use fixed point numeric labels. g: Draws a grid at the major tick interval. h: Draws a grid at the minor tick interval. i: Inverts tick marks, so they are drawn outwards, rather than inwards. l: Labels axis logarithmically. This only affects the labels, not the data, and so it is necessary to compute the loga- rithms of data points before passing them to any of the drawing routines. m: Writes numeric labels at major tick intervals in the unconventional location (above box for X, right of box for Y). n: Writes numeric labels at major tick intervals in the conventional location (below box for X, left of box for Y). o: Use custom labeling function to generate axis label text. The custom labeling function can be defined with the plslabelfuncplslabelfunc; command. s: Enables subticks between major ticks, only valid if t is also specified. t: Draws major ticks. u: Exactly like "b" except don't draw edge line. w: Exactly like "c" except don't draw edge line. xtick (PLFLT, input) World coordinate interval between major ticks on the x axis. If it is set to zero, PLplot automatically generates a suitable tick interval. nxsub (PLINT, input) Number of subintervals between major x axis ticks for minor ticks. If it is set to zero, PLplot automatically generates a suitable minor tick interval. yopt (const char *, input) Pointer to character string specifying options for vertical axis. The string can include any combination of the letters defined above for xopt, and in addition may contain: v: Write numeric labels for vertical axis parallel to the base of the graph, rather than parallel to the axis. ytick (PLFLT, input) World coordinate interval between major ticks on the y axis. If it is set to zero, PLplot automatically generates a suitable tick interval. nysub (PLINT, input) Number of subintervals between major y axis ticks for minor ticks. If it is set to zero, PLplot automatically generates a suitable minor tick interval. AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere. SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources. August, 2012 PLBOX(3plplot)
All times are GMT -4. The time now is 06:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy