Changes

Jump to navigation Jump to search
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 122: Line 118:  
'''IMPORTANT:''' after adding or changing something in 'zynthian-data', you can’t update the zynthian-library from the Admin menu. (The "git-based" updating system should be improved...)
 
'''IMPORTANT:''' after adding or changing something in 'zynthian-data', you can’t update the zynthian-library from the Admin menu. (The "git-based" updating system should be improved...)
   −
If you are using an old SD image (prior to Gorgona), the username and password are the default for Raspbian:
+
== OSC ==
   −
user=pi
+
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.
password=raspberry
     −
===CUIA Callable UI Actions===
+
=== CUIA ===
 +
The CUIA features described in the [[Zynthian_UI_Users_Guide#CUIA:_Callable_UI_Actions|user's guide]] can be accessed using OSC on port UDP 1370. The OSC base path for CUIA messages is
 +
/cuia
   −
The Zynthian may be controlled by MIDI messages applied to the Master MIDI Channel (default 16) defined in The Webconf Interface
+
Example:
 +
/cuia/reboot
   −
The Interface allows applying on MIDI IN commands on channel 16 (default) that mimic various zynthian gui interface commands with some functional short cuts also provided ('POWER_OFF', ALL_NOTES_OFF').
+
Note: CUIA paths are case insensitive, e.g.
 +
/cuia/reboot
   −
The Message is sent as a Note on Message (0x9)
+
is interpreted the same as
 +
/CUIA/REBOOT
   −
So To Power Off a zynthian one sends
+
This is why you should operate secure networks ... :-D
0xF9  ( Channel 16 Note ON)
  −
0x00  ( Note code for POWER_OFF as below )
  −
0x00  (Velocity/parameter)
     −
This is why you should operate secure networks  . . . :-D
+
=== 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:
  "0": "POWER_OFF",
+
  import liblo
"1": "REBOOT",
+
  import time
"2": "RESTART_UI",
+
   
"3": "RELOAD_MIDI_CONFIG",
+
  cmdNoteOn = 0x90
 
+
  cmdNoteOff = 0x80
"10": "ALL_NOTES_OFF",
+
  note = 60
"11": "ALL_SOUNDS_OFF",
+
  vel = 100
"12": "ALL_OFF",
  −
 
  −
"51": "SELECT",                    D#3/Eb3
  −
"52": "SELECT_DOWN",                E3
  −
  "53": "SELECT_UP",                  F3
  −
 
  −
  "64": "SWITCH_BACK_SHORT",          E4
  −
  "63": "SWITCH_BACK_BOLD",          D#4/Eb4
  −
  "62": "SWITCH_BACK_LONG",          D4
  −
 
  −
  "65": "SWITCH_SELECT_SHORT",        F4
  −
  "66": "SWITCH_SELECT_BOLD",        F#4/Gb4
  −
  "67": "SWITCH_SELECT_LONG",        G4
   
   
 
   
  "60": "SWITCH_LAYER_SHORT",         C4
+
  liblo.send(('zynthian.local', 12101), "/midi", ('m', (vel,note,cmdNoteOn,0)))
  "61": "SWITCH_LAYER_BOLD",          C#4/Db4
+
  time.sleep(1)
  "59": "SWITCH_LAYER_LONG",         B4
+
  liblo.send(('zynthian.local', 12101), "/midi", ('m', (0,note,cmdNoteOff,0)))
 
  −
"71": "SWITCH_SNAPSHOT_SHORT",     B5
  −
"72": "SWITCH_SNAPSHOT_BOLD",       C5
  −
"73": "SWITCH_SNAPSHOT_LONG"        C#5/Db5
 

Navigation menu