Mercurial > hg > beaglert
comparison projects/osc/render.cpp @ 285:5433c83ce04e Doxy prerelease
Doxygen content added to more project render.cpp files and amended in others.
author | Robert Jack <robert.h.jack@gmail.com> |
---|---|
date | Tue, 17 May 2016 18:46:55 +0100 |
parents | fb9c28a4676b |
children |
comparison
equal
deleted
inserted
replaced
284:7bfb25a2e158 | 285:5433c83ce04e |
---|---|
1 /* | |
2 ____ _____ _ _ | |
3 | __ )| ____| | / \ | |
4 | _ \| _| | | / _ \ | |
5 | |_) | |___| |___ / ___ \ | |
6 |____/|_____|_____/_/ \_\.io | |
7 | |
8 */ | |
9 | |
10 /** | |
11 \example 5_osc | |
12 | |
13 Open Sound Control | |
14 ------------------ | |
15 | |
16 This example shows an implementation of OSC (Open Sound Control) which was | |
17 developed at UC Berkeley Center for New Music and Audio Technology (CNMAT). | |
18 | |
19 It is designed to be run alongside resources/osc/osc.js | |
20 | |
21 The OSC server port on which to receive is set in `setup()` | |
22 via `oscServer.setup()`. Likewise the OSC client port on which to | |
23 send is set in `oscClient.setup()`. | |
24 | |
25 In `setup()` an OSC message to address `/osc-setup`, it then waits | |
26 1 second for a reply on `/osc-setup-reply`. | |
27 | |
28 in `render()` the code receives OSC messages, parses them, and sends | |
29 back an acknowledgment. | |
30 | |
31 | |
32 */ | |
33 | |
34 | |
1 #include <BeagleRT.h> | 35 #include <BeagleRT.h> |
2 #include <OSCServer.h> | 36 #include <OSCServer.h> |
3 #include <OSCClient.h> | 37 #include <OSCClient.h> |
4 | 38 |
5 OSCServer oscServer; | 39 OSCServer oscServer; |