Trigger and waveform question

조회 수: 2 (최근 30일)
m j
m j 2017년 8월 11일
댓글: Jayaram Theegala 2017년 8월 16일
I am studying turning soundcard into oscilloscope with circular buffer, I know others have done so but wanted a go at it myslf, but need some help.
I have a 50ms window of time being diplayed from soundcard, with 2 waveforms(10ms each) with a 30ms gap between them.I have a basic trigger, but not sure what I need for problem( below):
I was wondering if its possible to have only 1 waveform be displayed(plotted) on screen, but with the same window frame of 50ms?I know I could just shorten window from to 40ms and poof its gone, but want to have a 50ms frame that ignores second waveform.Delay after first trigger or hysteresis,not sure.Confused.I'd say im intermediate level with matlab. So dont have to baby me.
  댓글 수: 1
Jayaram Theegala
Jayaram Theegala 2017년 8월 16일
If you would like to only plot the first wave (which is in the first 10 ms period), you can omit the data from 40th to 50th milliseconds. And, the above solution will work if you are sure that the second wave will only be acquired starting at 40th millisecond. In either case it should be possible for you to just filter the soundwave you want and plot it over the time period you intend.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by