comparison examples/osc/render.cpp @ 372:db2fe4e1b88e prerelease

Doxygen content added to each example render.cpp. References to AnalogReadFrame etc. removed from doxygen content.
author Robert Jack <robert.h.jack@gmail.com>
date Thu, 09 Jun 2016 18:16:05 +0100
parents e4392164b458
children
comparison
equal deleted inserted replaced
371:361d0c2335cf 372:db2fe4e1b88e
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
1 #include <Bela.h> 32 #include <Bela.h>
2 #include <OSCServer.h> 33 #include <OSCServer.h>
3 #include <OSCClient.h> 34 #include <OSCClient.h>
4 35
5 OSCServer oscServer; 36 OSCServer oscServer;