OK, now the start of the audio scope...

Code junkies hangout here

Moderators: ChrisThornett, LXF moderators

Postby Bazza » Sat Apr 26, 2014 5:32 pm

CygWin is SSLLOOWW but that has not deterred me from attempting to include it.
The FREQ command works but is totally unusable do to said speed.
The BURST command only works in DSP mode, not DEMO.
SOX has not been included although I might attempt it.

Only tested on an old dual core HP laptop, and a quad core Philips desktop both
running Windows Vista, and a fairly recent version of CygWin.

You will have to set up test and mic inputs yourselves but DEMO mode still works
as normal...

Comments welcome, and tests on other Windows versions would be of great help.

It is uploaded in CygWin guise and is marginally slower on real UNIX like machines
however ALL of the original code is commented out and NOT deleted. All you need
to do is search for CYGWIN and comment out the relevant line(s)
below it and uncomment the single line above it. This changes the hex dumper from
"od" back to the original "hexdump" again...

Also another simple circuit at the end for the DC control pulse under construction.

Other changes too...

Enjoy finding simple solutions to often very difficult problems...

http://wisecracker.host22.com/public/AudioScope.sh
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1482
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Postby Bazza » Sun Jun 29, 2014 9:49 pm

Well chaps lots of changes have happened.
I missed out version 02500 on here and jumped you to 02550
instead.

The unfinished Manual is now generated inside the script and
saved on program exit. The Amplifier and other circuits are now
part of the script. Pulse generators are now created as part of
the calibration proceedures...

I am well into the next upload but want to test it on Raspberry
Pi in DEMO mode first to see the possibility of using it on that
machine...

AudioScope.sh is here:-

https://github.com/wisecracker-bazza/Sc ... azza/Scope

Amplifier photos in here:-

https://github.com/wisecracker-bazza/Sc ... 36c2699286

Enjoy...
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1482
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Re: OK, now the start of the audio scope...

Postby Bazza » Sat Nov 08, 2014 6:05 pm

Hi Guys and gals...

There has been much done to AudioScope.sh and i have missed you lot out.

It is now at version 0.30.20 and you will have to read the file for more information.

There is now a new capture for OSX 10.7.x plus and it creates an AppleScript to use QuickTime Player in quiet mode to snatch an audio snippet.

I am working on a Windows capture using SoundRecorder.exe also in quiet mode for CygWin.

An ALSA version is also in the piepline using arecord as the capture mode.

Soory but I forgot all about you guys...

BTW I am not updating GitHub as it can be a real PITA to access using this MBP.

Here are two pointers:-

http://wisecracker.host22.com/public/AudioScope.sh

And the original host site:-

http://www.unix.com/shell-programming-a ... ipt-7.html

Descriptions of updates are in the URL above thread...

Enjoy...
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1482
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Re: OK, now the start of the audio scope...

Postby Bazza » Tue Nov 11, 2014 9:12 pm

OK, this new official release 0.30.40 now has a capture for CygWin using SoundRecorder.exe.

It now captures at CD quality in WAVE format and there is a simple converter to convert form
signed 16 bit, stereo, 44100Hz WAVE file to RAW format.

There is a further awk converter to quantise down from 16 bit signed stereo data to 8 bit
unsigned mono data for the 'Scope.

The two hidden commands are OSX107PLUS<CR> for the OSX QuickTime Player capture and
WINSOUND<CR> for the CygWin SoundRecorder.exe capture.

Both are SLOW but work well.

You experiment with them it your own risk as these commands are not visible from the internal
HELP file yet.

Now for ALSA...

http://wisecracker.host22.com/public/AudioScope.sh

Enjoy...
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1482
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough

Previous

Return to Programming

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests