Projects / AudioScope

AudioScope

AudioScope is a text mode audio oscilloscope that captures sounds using DEMO, SOX, or DSP (/dev/dsp}. It is primarily a learning tool for kids. The script includes code and circuit diagrams for calibrating the horizontal and vertical axes. It features a demo mode with no dependences that samples /dev/urandom.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  05 Jun 2014 19:38

    Release Notes: This release features the start of a proper manual inside the code along with another text mode circuit. Everything is saved to /tmp at the moment. It now has a progress bar on startup for slow machines but is now setup for the Apple Macbook Pro 13". SOX is auto-detected if installed. All relevant files are now generated and saved to /tmp and not commented out. The sinewave.wav file can be transferred to your phone via email for use as the signal source.

    •  26 Apr 2014 20:08

      Release Notes: This version includes CygWin users and /dev/dsp. It is uploaded in CygWin guise and is marginally slower on real Unix-like machines, but all of the original code is commented out and not deleted. All you need to do is search for CYGWIN, 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. Another simple circuit at the end for the DC control pulse under construction.

      •  16 Mar 2014 09:38

        Release Notes: A semi-automatic Arduino detection command ARDDET. To see Arduino working after programming it, just temporarily wire a 10K pot' between +5V and Gnd with the wiper connected to ANALOG 0. An 8 second pure sine wave wave file for multi-platform use. Another command, BURST, plays the above wave file using "afplay" for OS X or "aplay" for Linux. DC now allows REAL DC into the scope if Arduino is detected. If not, it defaults to a DEMO mode and samples /dev/urandom. Calibration is yet to be done.

        •  18 Jan 2014 16:16

          Release Notes: This release removes the "clear" command. The function "clrscn()" replaces it. It removes the "sleep" command. The function "delay()" replaces it, with keyboard override. These functions use builtins and terminal extensions only. This release adds a LOAD command to load a capture into the _buffer_ and display it. On program startup, a pseudo-capture file is generated as "0000000000.BIN" in the /tmp/ directory to test the LOAD command. If you enter a wrong filename, it does nothing except return you to the Scope's COMMAND window.

          •  12 Jan 2014 11:55

            Release Notes: This is the first Freecode announcement.

            Recent comments

            16 Mar 2014 09:46 wisecracker

            Don't know what happened but trying again.
            Lots of changes here for version 0.22.10...

            A semi-automatic Arduino detection command:- ARDDET<CR>
            This requires a small amount of user input. Thanks Corona688 and Don...
            The ARDDET<CR> section also creates a .PDE file to program the Arduino for a single ADC only <- read the code for more info...
            To see Arduino working after programming it just temporarily wire a 10K pot' between +5V and Gnd with the wiper connected to ANALOG 0.

            An 8 second pure sinewave wave file now created for multi-platform use.
            It IS now on my 'phone as a signal source using the default 'phone player in loop mode - nice'n'easy... ;o)

            Another command:- BURST<CR> plays the above wave file using "afplay" for OSX or "aplay" for Linux.

            DC now allows REAL DC into the scope IF Arduino is detected.
            IF NOT then it defaults to a DEMO mode and samples /dev/urandom.
            It displays itself inside the YELLOW section of the COMMAND window for a short period.

            Another command:- ALTDC<CR> is a placeholder for a sound card DC input under development.

            Other minor changes too...

            16 Mar 2014 09:41 wisecracker

            Release notes are limited so here is a better run down...
            Lots of changes here for version 0.22.10...

            A semi-automatic Arduino detection command:- ARDDET<CR>
            This requires a small amount of user input.
            The ARDDET<CR> section also creates a .PDE file to program the Arduino for a single ADC only <- read the code for more info...
            To see Arduino working after programming it just temporarily wire a 10K pot' between +5V and Gnd with the wiper connected to ANALOG 0.

            An 8 second pure sinewave wave file now created for multi-platform use.
            It IS now on my 'phone as a signal source using the default 'phone player in loop mode - nice'n'easy... ;o)

            Another command:- BURST<CR> plays the above wave file using "afplay" for OSX or "aplay" for Linux.

            DC now allows REAL DC into the scope IF Arduino is detected.
            IF NOT then it defaults to a DEMO mode and samples /dev/urandom.
            It displays itself inside the YELLOW section of the COMMAND window for a short period.

            Another command:- ALTDC<CR> is a placeholder for a sound card DC input under development.

            Other minor changes too...

            01 Jan 2014 20:42 wisecracker

            There have been a few updates, major and minor and at 01-01-2014 the latest version is 0.20.45...

            Enjoy...

            http://wisecracker.host22.com/public/cal_draw.jpg
            http://wisecracker.host22.com/public/cal_plot.jpg
            http://wisecracker.host22.com/public/mic_ear1.jpg
            http://wisecracker.host22.com/public/mic_ear2.jpg
            http://wisecracker.host22.com/public/mic_ear3.jpg
            http://wisecracker.host22.com/public/mic_ear4.jpg
            http://wisecracker.host22.com/public/AudioScope_SOX_OSX.jpg
            http://wisecracker.host22.com/public/AudioScope_DSP_PCLOS.jpg
            http://wisecracker.host22.com/public/dc_tester_top.jpg
            http://wisecracker.host22.com/public/dc_tester_bottom.jpg
            http://wisecracker.host22.com/public/vert_amp_tester.jpg
            http://wisecracker.host22.com/public/vert_cal_top.jpg
            http://wisecracker.host22.com/public/vert_cal_bottom.jpg

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.