asked Jun 13 '14 at 08:52 by stylemistake (1.1k)

edited Jun 18 '14 at 23:14

Does callback ever fire when data comes in?

I tried sending data in different ways, but nothing happens. What am I doing wrong?

I found answer with some help on Freenode IRC channel #bitwig-dev. Thanks!

Bitwig Studio expects incoming data to be formatted like this:

[ length, data... ]

...where length is a 4-byte integer indicating the length of the payload in bytes and data is the payload you are sending.

Example:

[ 0, 0, 0, 10, 104, 101, 108, 108, 111, 119, 111, 114, 108, 100 ] ->

[ (int)10, "h", "e", "l", "l", "o", "w", "o", "r", "l", "d" ]


You can also check out this script with simple client-server funtionality (credits to Thomas Helzle!).

link

answered Jun 18 '14 at 23:12 by stylemistake (1.1k)

edited Jun 18 '14 at 23:27

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×14
×7
×4
×1
×1

Asked: Jun 13 '14 at 08:52

Seen: 615 times

Last updated: Jun 18 '14 at 23:27