1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Stereo oscilloscope and spectrum analyzer

  1. Nov 12, 2007 #1
    I need to implement a stereo oscilloscope and spectrum analyzer using C or matlab.. im familiar with the basic commands regarding wav files in matlab. i also created a very simple music synthesizer.

    regarding the stereo oscilloscope, how do you get to display the sound wave in real time?

    what i was thinking to do is to have someone speak in a microphone, and this is sampled every for example 12.5ms (determined by sampling freq ) and each point is plotted and the sequence repeats.
  2. jcsd
  3. Nov 12, 2007 #2
    You are going to get aliasing at the higher frequencies. The voice spectrum is from 0 to about 3000 Hz which following the Nyquist criteria means that you will have to sample at 6000 Hz.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook