hello nickly
i think that would be suitable task for [list-fifo] from frank's list-abs collection. btw: pd's built-in [metro] _is_ very accurate (even more than sample-accurate)
[metro 1] | | [<data from arduino>] | | [list-fifo] | [<output with 1 value/ms>]
roman
On Thu, 2007-04-05 at 16:23 +0100, nicholas ward wrote:
Hi, Im trying to smooth out a somewhat bursty serial data stream in pd.
Ive data coming in from a bluetooth arduino. No problems there. Im
using a sampling rate of 1kHz on the arduino. Im reckoning the
comport pulls in data from the serial every 10ms. How could i set up
a buffer to smooth out this burst of samples every 10ms to a sample
every 1ms? I guess ill need a very accuraee metro to bang every ms
and perhaps i could use an array? If anyone had any starting ideas or if there is an object to do this
that would be great. Thanks Nickly
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de