Well the screen now has frequency [COUNTER] and [ DC VOLTS ] windows both set to OFF when not enabled or not in use.
There is now a new startup screen on FIRST time run OR after a software RESET.
Four images from a cold first time run to SOX, showing the commands from QUIT to SOX...
I am now working on a low resolution pure text mode audio file converter and not sure whether to incorporate it into this project.
I had thought about an AF Spectrum Analyser but FFT(s) in shell scripting is really a none starter, unless I can incorporate say something like 'matlab' into it to do the heavy FFT lifting.
This single 'bash' script that creates everything including all calibration signals and text mode electronic circuits is now over 207,000 bytes in size...
The manual and quickstart notes can now be read is situ using either 'less' or 'more'. 'less' is the first chioce but switches to more if that doesn't exist.
Code:
# Files saved to the ""$HOME"/Temp/" directory.
#
# -rw-r--r-- 1 barrywalker wheel 48000 4 Aug 21:06 0000000000.BIN
# -rwxr--r-- 1 barrywalker wheel 585 4 Aug 21:06 1KHz-Test.sh
# -rwxr-xr-x 1 barrywalker wheel 293 4 Aug 21:08 Arduino_9600.pde
# -rw-r--r--@ 1 barrywalker staff 65536 4 Nov 21:08 Untitled.m4a
# -rw-r--r-- 1 barrywalker wheel 253 4 Aug 21:06 VERT_BAT.BAT
# -rw-r--r-- 1 barrywalker wheel 303 4 Aug 21:06 VERT_DSP.sh
# -rw-r--r-- 1 barrywalker wheel 344 4 Aug 21:06 VERT_SOX.sh
# -rw-r--r-- 1 barrywalker wheel 1 4 Aug 21:06 dcdata.raw
# -rw-r--r-- 1 barrywalker wheel 65580 4 Aug 21:06 pulse1.wav
# -rw-r--r-- 1 barrywalker wheel 65580 4 Aug 21:06 pulse.wav
# -rwxr-xr-x 1 barrywalker wheel 107 4 Aug 21:07 pulsetest.sh
# -rw-r--r-- 1 barrywalker wheel 48000 4 Aug 21:06 sample.raw
# -rw-r--r-- 1 barrywalker wheel 680000 4 Aug 21:06 signed16bit.txt
# -rw-r--r-- 1 barrywalker wheel 65536 4 Aug 21:06 sinewave.raw
# -rw-r--r-- 1 barrywalker wheel 65580 4 Aug 21:06 sinewave.wav
# -rw-r--r-- 1 barrywalker wheel 8000 4 Aug 21:06 squarewave.raw
# -rw-r--r-- 1 barrywalker wheel 65096 4 Aug 21:07 sweep.raw
# -rw-r--r-- 1 barrywalker wheel 65140 4 Aug 21:07 sweep.wav
# -rw-r--r-- 1 barrywalker wheel 32548 4 Aug 21:07 sweeper.raw
# -rw-r--r-- 1 barrywalker wheel 8000 4 Aug 21:06 symmetricalwave.raw
# -rw-r--r-- 1 barrywalker staff 20071 4 Aug 21:06 symmetricalwave.wav
# -rw-r--r-- 1 barrywalker wheel 48000 4 Aug 21:07 waveform.raw
# -rw-r--r-- 1 barrywalker wheel 65580 4 Aug 21:06 waveform.wav
#
# Files saved in the "$HOME" directory.
#
# -rw-r--r-- 1 amiga staff xxxxx 17 Apr 17:09 AudioScope.Circuits
# -rw-r--r-- 1 amiga staff xxxxxx 17 Apr 17:09 AudioScope.Manual
# -rw-r--r-- 1 amiga staff xxx 17 Apr 17:09 AudioScope.Config
# -rwxr-xr-x 1 amiga staff xxxxxx 17 Apr 17:08 AudioScope.sh
# -rw-r--r-- 1 amiga staff xxxx 17 Apr 17:09 AudioScope_Quick_Start.Notes
# File size "xxxxxx" means it will change as the project progresses.
Change 06250.sh.txt to AudioScope.sh and place into the $HOME directory.
Change access rights to 755...
Stats so far:-
--------------
# Total Lines=4797.
# Blank Lines=28.
# Code Lines=2201.
# Comments=2568, (including the builtin Manual).
# Filesize=207173 bytes.
We have a system running ssh. When a user logs in, they do not get the project they are assigned to (they run under "system"). I verify the project using the command "ps -e -o user,pid,ppid,args,project". If you do a "su - username", the user does get the project they are assigned to (and all... (2 Replies)
A new project was posted on your project board.
Project title: Bash Shell Tutoring
Estimated Budget:
$50/hr
Start date:
Immediately
Required skills:
Linux, Bash, Shell, UNIX
I work as a datawarehouse designer and developer.
Although I usually stick to the role of an analyst,... (0 Replies)
Hi Admin and Staff...
Thanks for hosting AudioScope.sh on this site. I have had the biggest surprise of my life today.
This months issue of the UK Linux magazine "Linux Format" have done a small piece on the project.
Issue April 2014, LXF 182, page 65...
This I never expected and I... (1 Reply)
Hi all...
Has _below_ ever been done in UNIX shell scripting before?
(I have done this easily in Python but this is using purely the shell.)
The DEMO version IS built and has been tested.
Pre-amble...
I now need at least one control pulse for the AudioScope.sh when in PURELY audio I/O mode,... (2 Replies)
Development machine:- Standard MBP 13 inch, OSX 10.7.5...
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)
Copyright (C) 2007 Free Software Foundation, Inc.
Scenario:- Audio capture for AudioScope.sh for CygWin without ANY third party installs.
I am trying my hardest to get a... (6 Replies)
Hi guys...
Well I have entered an area of partial insnity... ;o)
Below is a photo of the 'ALTDC' board for AudioScope.sh...
I have decided to incorporate all three methods for obtaining DC into this MBP via the MIC input.
1) VFO.
2) CHOPPER.
3) COUNTER.
The controller for the COUNTER... (9 Replies)
Boy oh boy, with only a MONO mic input to use AudioScope gets much more difficult when the ALTDC board is included.
It needs, so far, two hits at the MIC input with a single hit at the HEADPHONE audio output.
The first at the highest practical resolution for the AC component and the second... (0 Replies)
Hi all...
Apologies for any typos...
For those intersted in the AudioScope the next construction is finished.
I have not been totally idle but working out the hard stuff to be able to be very simple to build.
It is a single transistor simple timer that lasts for about 1.2 to 1.8 seconds.... (2 Replies)
Using AudioScope.sh on Ubuntu 17.04 from a live DVD disc I came across an error.
Consider the code below it is a MUCH shortened version of the KEYBOARD input in AudioScope.
#!/bin/bash
bash --version
uname -a
status=0
KEYBOARD()
{
read -r -p "Enter QUIT or EXIT to quit:- " kbinput
if ||... (11 Replies)