On Sun, 2009-05-10 at 17:29 +0200, Wolfgang Jäger wrote: > Hello, > > What's the best way to convert a signal into a message? > There are possibilities like snapshot~ or vsnapshot~, but they are not > accurate. The error they produce when you convert into a message and > reconvert to a signal (with sig~, line~ or vline~) is clearly audible-
yeah, because you most likely capture not _all_ samples and convert them to messages. in order to do so, you would have to use [vsnapshot~] and bang it 44.1 times per milliseconds. [snapshot~] wouldn't work, since it always captures the first (or last?) sample of the block. an easier way is to use [pack~] and [unpack~] from zexy. those convert a signal vector (one block of audio samples) to a list of floats and vice versa. if you want to have a stream of floats instead of lists, use [drip]. either way you do it, it's going to be expensive. roman ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list