the time that the message was sent from scsynth

julian.rohrhuber-QYZGCWsIODmAF8UT6DzBU6xOck334EZe@public.gmane.org
Newsgroups gmane.comp.audio.supercollider.devel
Message-ID <[email protected]>
For a neurological experiment I am trying to account in sclang for the time that a message was sent from scsynth.

Here is a test:

Ndef(\x, { SendReply.ar(Impulse.ar(1), "/reply", Sweep.ar); 0 });
OSCdef(\x, { |msg, time| [msg[3], time, time - msg[3]].postln }, "/reply”);

This is not as exact as it should be (varies in the order of miliseconds).

The helpfile for OSCFunc says for time:

"the time that the message was sent (plus the latency if the message was in a bundle)”

Is the helpfile wrong or the implementation? If someone can point me to the implementation, I’ll look myself, but I couldn’t find it in between all the mNodeMsgs, nodereplyfifo, NodeReplyMsg, HiddenWorld …


I can work around it, but it would be good to fix if it is a bug.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE2f9AlUAPrk+1WzZZhbzp9aOW3OYFAlqYCH4ACgkQhbzp9aOW
3Oaanw//QDpLHtmU2f1qua0LSSJ1Jtrg9a2kpLy4viOWTb+vSvpZL2Xysb9GFx6m
XbQcTMFLjZaaL0nlj93n7eXv2mDu340bqkISnJrFBLaP1809KEExXeurxnre+qZl
T45YQkjoLG/UwKESBgNoPSHwDVxamh9FFM0N5uFyoccpxs0rqt/rwylU8s8CqKyU
/9usXkwTgy9wi/DkW7c9s9MLbhwp7RfRbMBI56Qe2KVwm+zWUq29NX40Ju9mvG01
2+mazu6yb4ymPT+D2Z60v598unQe/t/NfFv0/G6j4VCdMcEj+zY7MxhxLFin5flP
tPcEYMB2gfhRs4Y+gVASXPAL7HHH4LaiLdjCDlMQ2cQ8zYmK2nNNlBLoD3HET3BZ
3UyZlmip63f6Pm+mkQR8IXWf747QbEAyXGSeMoeBU+STYyG6Q4np87Q57Ht/pSA8
FUWo5ZPs4a8OV5TwWd/a8ck89cDT3pjqw/8KfCeT1QTCQ0FtJkZH9JBC0dyHiO1f
Q9CB/GUMUByzfHXT558sTYidMjrMfqxKDpRSSsNw3xj9eKUroCz+okG4MXXwQmIg
PHG4kbN5Hfmact22GIX5SW6JElYy7vRBlLOMCke4Fm9M5Fa+2r7AW6HMUU7ldpM4
H1WMZyw3YdMj8UnCq6o46jN65FpeAlnXsUwo0nS4FhqKvUAmpqI=
=vzPN
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.