Mercurial > hg > sonic-visualiser
comparison README.OSC @ 495:80eae4eb6cc8 fullscreen
Update some of the OSC doc
author | Chris Cannam |
---|---|
date | Thu, 26 Jan 2012 14:57:05 +0000 |
parents | 4dc48a12fe79 |
children | afe620d017d7 |
comparison
equal
deleted
inserted
replaced
494:238a97d2a8f4 | 495:80eae4eb6cc8 |
---|---|
19 | 19 |
20 Methods that manipulate panes or layers act on the currently selected | 20 Methods that manipulate panes or layers act on the currently selected |
21 pane or layer. Use the setcurrent method to choose the right target | 21 pane or layer. Use the setcurrent method to choose the right target |
22 for subsequent such methods. | 22 for subsequent such methods. |
23 | 23 |
24 There is a small program sv/osc/sv-osc-send.c that sends an OSC method | 24 If you need an OSC client, there is a small program in the svcore |
25 and arguments to a given URL, and a small shell script sv/osc/sv-command | 25 library at |
26 that provides a basic command shell for Sonic Visualiser. | 26 |
27 svcore/data/osc/sv-osc-send.c | |
28 | |
29 that sends an OSC method and arguments to a given URL -- this is not | |
30 specific to SV but will work with it. To compile that program you | |
31 should only have to run | |
32 | |
33 $ gcc sv-osc-send.c -o sv-osc-send -llo | |
34 | |
35 provided you have liblo installed. | |
36 | |
37 Then there is a small shell script in the same directory, called | |
38 sv-command, that provides a basic command shell for Sonic Visualiser. | |
39 Start SV first, then sv-command should find its OSC port from the | |
40 system process table when you start it. | |
41 For example: | |
42 | |
43 $ PATH=.:$PATH ./sv-command # Set PATH so it can find sv-osc-send | |
44 /open snare_hex.wav | |
45 /add spectrogram | |
46 /set layer Colour Sunset | |
47 /play | |
48 /quit | |
49 $ | |
27 | 50 |
28 | 51 |
29 OSC methods available | 52 OSC methods available |
30 ===================== | 53 ===================== |
31 | 54 |