Re: [LAD] Real-time plotting of audio/ oscilloscope.

From: Paul Davis <paul@email-addr-hidden>
Date: Thu Jun 17 2010 - 23:28:27 EEST

2010/6/17 Jörn Nettingsmeier <nettings@email-addr-hidden-hochschule.de>:
> On 06/17/2010 07:37 PM, Jeremy wrote:
>
>> Now, assuming a 60 Hz refresh rate (which is what I believe my monitor
>> has),
>> and a buffer size of 1024 pixels, that would be  a throughput of 61440
>> samples per second.  More than the 48000 sampling rate.  So it seems that
>> drawing every sample *is* a reasonable request.  But obviously a lower
>> refresh rate would also satisfy my needs.
>
> drawing all the samples is not the issue. drawing each sample individually
> (and the assorted overhead that goes with it) is.
> you really don't want to call a graphics toolkit more than $refresh times
> per second...

to phrase it another way: its the difference between:

  a) oh good, a new sample has arrived, now i must plot it

  b) excellent, another 1/60th of a second has elapsed, how many
        samples are there for me to draw on the screen?
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Jun 18 00:15:02 2010

This archive was generated by hypermail 2.1.8 : Fri Jun 18 2010 - 00:15:02 EEST