Changes

Jump to navigation Jump to search
m
Fix formatting in OSC section.
Line 30: Line 30:     
Wifi credentials can be set via the web config tool: System - Wifi - Add Network. Wifi must be enabled in the Zynthian Gui: press the Back button until you are in the Admin menu. Then select 'Start WIFI'.
 
Wifi credentials can be set via the web config tool: System - Wifi - Add Network. Wifi must be enabled in the Zynthian Gui: press the Back button until you are in the Admin menu. Then select 'Start WIFI'.
  −
==Audio Configuration==
  −
  −
[[Configuring_Audio_Devices]]
      
== Accessing the MOD-UI web interface ==
 
== Accessing the MOD-UI web interface ==
Line 127: Line 123:  
  password=raspberry
 
  password=raspberry
   −
===CUIA Callable UI Actions===
+
==CUIA Callable UI Actions==
    
The Zynthian may be controlled by MIDI messages applied to the Master MIDI Channel (default 16) defined in The Webconf Interface
 
The Zynthian may be controlled by MIDI messages applied to the Master MIDI Channel (default 16) defined in The Webconf Interface
Line 136: Line 132:     
So To Power Off a zynthian one sends  
 
So To Power Off a zynthian one sends  
  0xF9 ( Channel 16 Note ON)  
+
  0x9F ( Channel 16 Note ON)  
 
  0x00  ( Note code for POWER_OFF as below )
 
  0x00  ( Note code for POWER_OFF as below )
 
  0x00  (Velocity/parameter)
 
  0x00  (Velocity/parameter)
Line 173: Line 169:  
  "73": "SWITCH_SNAPSHOT_LONG"        C#5/Db5
 
  "73": "SWITCH_SNAPSHOT_LONG"        C#5/Db5
   −
[[File:2Oct_Keyboard_CUIA.png|400px|thumb|left|Keyboard]]
+
[[File:2Oct_Keyboard_CUIA.png|400px|Keyboard]]
 +
 
 +
 
 +
== OSC ==
 +
 
 +
Open Sound Control (OSC) is a protocol for networking sound synthesizers, computers, and other multimedia devices for purposes such as musical performance or show control.
 +
 
 +
Zynthian implements OSC in various ways.
 +
 
 +
=== CUIA ===
 +
The CUIA features described above may be controlled using OSC on port 1370 using UDP datagrams. The OSC path for CUIA messages is
 +
/cuia
 +
Example:
 +
/cuia/reboot
 +
Note: CUIA paths are case insensitive, e.g.
 +
/cuia/reboot
 +
is interpreted the same as
 +
/CUIA/REBOOT
 +
 
 +
=== TouchOSC ===
 +
TouchOSC protocol is supported if the option is enabled on the Zynthian admin menu. This accepts OSC on port 12101 using UDP datagrams and includes raw MIDI data interpretation on OSC path
 +
/midi
 +
This path accepts an OSC MIDI type message. An example Python script to send MIDI note on / off messages:
 +
import liblo
 +
import time
 +
 +
cmdNoteOn = 0x90
 +
cmdNoteOff = 0x80
 +
note = 60
 +
vel = 100
 +
 +
liblo.send(('zynthian.local', 12101), "/midi", ('m', (vel,note,cmdNoteOn,0)))
 +
time.sleep(1)
 +
liblo.send(('zynthian.local', 12101), "/midi", ('m', (0,note,cmdNoteOff,0)))
334

edits

Navigation menu