Binary operation examples

There is a possibility in URBI to add binaries, which is typically used for sound concatenation. For example, consider the following program:

sound = bin 0;
timeout(10s) loop sound = sound + micro;
speaker = sound;

This code will record 10 seconds of sound from the micro device and store it in the sound variable, and then will play it back be assigning sound to the speaker device. It shows how simple it can be to manipulate binary buffers with URBI for simple tasks like concatenation.