Microphone Sound Analyzer JS Model Documents

This material has 2 associated documents. Select a document title to view a document's information.

Main Document

Microphone Sound Analyzer JS Model 

written by Wolfgang Christian

The Microphone Sound Analyzer JavaScript Model records the sound from a computer or mobile device microphone and displays its amplitude and frequency spectrum.  Users can vary the recording length by selecting the number of data points. The number of points must, however, be a power of 2 in oder to utilize the audio processor's Fast Fourier Transform (FFT) to compute the sound's frequencry spectrum.  Because the domain of the computed frequency spectrum is usually too large for audio signals between 20 Hz to 20 kHz, users can set the minimum and maximum values on the graph to display only the range of interest.

The Microphone Sound Analyzer is designed for classroom demonstration and student experimentation. It was developed using the Easy JavaScript Simulations (EjS) version 5.3 and is distributed as a ready-to-run html page and requires only a browser with JavaScript support. This model runs on all platforms, including mobile devices, that support the W3C Media Devices API.


Last Modified December 9, 2019

This file has previous versions.

Source Code Documents

Microphone Sound Analyzer Source Code 

This source code zip archive contains an XML representation of the Microphone Sound Analyzer JS Model.   Unzip this archive in your Ejs workspace to compile and run this model using EJS 5 or above.  Although EJS is a Java program, EJS will create a stand alone JavaScript program that can run on all devices from this source code.

Last Modified December 9, 2019

This file has previous versions.