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
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
There are a number of objects in the 'mapping' library that are
designed to deal with this kind of thing. It's included in Pd-
extended >= 0.39.2.
.hc
On Apr 5, 2007, at 11:23 AM, 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
If you are not part of the solution, you are part of the problem.