Skip to content

Instantly share code, notes, and snippets.

@cleemy-desu-wayo
Created September 13, 2025 20:52

Sending OSC Type Tag "T", "F", and "N" using sendtyped in Pure Data

in Pure Data, it appears that OSC Type Tags "T", "F", and "N" can be sent using sendtyped.

screenshot of purr-data

usage

  1. launch server_python-osc_t-f-n.py (here) or something for receiving OSC

  2. launch purr-data

  3. if you get the error tried but couldn't sync A/D/A, wait 3 to 10 minutes.

  4. load osc_client_purr.pd (menu [File] -> [Open])

  5. click connect localhost 9003 message in patch window

  6. click some sendtyped ... messages in patch window

about install purr-data

Pure Data has many variants.

as of Sep 2025, searching Google brings up a lot of confusing articles written during the heyday of Pd-extended.

this time, I (cleemy desu wayo) tried out mrpeach and sendtyped using Purr Data.

i installed the JGU package of purr-data 2.20.1.

mrpeach and others were included from the start, so there was no need to prepare them separately.

#N canvas 2079 151 515 705 12;
#X obj 20 20 import mrpeach;
#X obj 20 660 udpsend;
#X msg 20 70 connect localhost 9003;
#X obj 40 590 packOSC;
#X msg 160 120 sendtyped /test T;
#X msg 160 170 sendtyped /test F;
#X msg 160 220 sendtyped /test N;
#X msg 160 270 sendtyped /test TFN;
#X msg 160 320 sendtyped /test sT aaa1;
#X msg 160 370 sendtyped /test iiiT 1 2 3;
#X msg 160 420 sendtyped /test Tiii 4 5 6;
#X msg 160 470 sendtyped /test iiiN 7 8 9;
#X msg 160 520 sendtyped /test Niii 10 11 12;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 6 0 3 0;
#X connect 7 0 3 0;
#X connect 8 0 3 0;
#X connect 9 0 3 0;
#X connect 10 0 3 0;
#X connect 11 0 3 0;
#X connect 12 0 3 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment