Debian Codegraph @

doc-en/source/src/configuration/midi-osc.rst

raw
1 MIDI - OSC Control
2 ===================
3
4 .. _midiosc:
5
6 It is possible to use a MIDI controller or an *Open Sound Control* device to have a finer control
7 on sliders and knobs related to the different parameters in Cecilia.
8
9 MIDI
10 -------
11
12 To use a MIDI controller, please connect it to your system before and be sure that it has been detected
13 by your computer before launching Cecilia. If you have multiple MIDI devices connected, use the
14 preferences window to select the one you want to use with Cecilia (or the "all" option if you want to use
15 many of them).
16
17 If the option "Automatic Midi Bindings" is checked in the MIDI Preferences, Cecilia will automatically
18 make two connections between your device and the interface. First, The controller 7 of the
19 selected device will be assigned to the gain control (in decibels) of the output sound
20 file (see the corresponding slider in the "Output" section). Second, the MIDI keyboard will be connected
21 to the transposition slider of any sampler present in the "Input" section.
22
23 However, most parameters will have to be assigned to a controller with the MIDI learn function. The
24 "Range Slider" (slider with two bounds) parameters will have to be assigned to two different controllers,
25 for the minimum and maximum values.
26
27 To link a parameter to a MIDI controller with the MIDI learn function, **Right-Click** on the parameter
28 label (or on the knob in Post-Processing section) you want to control and move the knob or slider of
29 the MIDI controller to enable the connection. Then, the controller number should be written in the
30 slider of Cecilia's graphical interface. To disable the connection, hold **Shift** and **Right-Click**
31 on the parameter label. Sliders in the sampler window can also be assigned to MIDI controllers.
32
33 .. image:: /images/midiLearn.png
34 :align: center
35
36 OSC
37 -------
38
39 It is also possible to control the parameters with the Open Sound Control (OSC) protocol. To enable
40 an OSC connection, **Double-Click** on the parameter label (knobs in Post-Processing section can't be
41 assigned to OSC messages but sliders in the sampler window can) you want to control, enter the
42 destination port and address in the window that will appear and click on "Apply":
43
44 .. image:: /images/OpenSoundControl.png
45 :align: center
46 :scale: 90
47
48 In the first box, you should enter the *port:address* pair where Cecilia will read values coming from
49 the controller. Optionally, the second box can be used to set a triplet *host:port:address* identifying
50 the controller IP and the concerned widget. If not empty, Cecilia will send its widget value to initialize
51 the controller at the beginning of the playback.
52
53 To assign OSC controller to a *Range Slider*, you must **Double-Click** one time on the left part of the
54 parameter label to create a connection with the minimum value and **Double-Click** another time on
55 the right part of the label to create the connection with the maximum value.
56
57 Sliders in the sampler window can also be assigned to OSC messages.
58
59 Please be aware that activating an OSC connection will automatically disable the previons MIDI connection
60 related to the chosen parameter.