I'm sure this is possible but I can't figure it out. Can you help?
Writing @{pitchSend}
will only work if there a widget with id "pitchSend" in your session, a variable widget for example. Then, you need to fix this syntax error:
(set"{pitchSend}", 99)
to
set("pitchSend", 99)
Thanks Jean-Emmanuel!