<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0"
  xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>monome wiki 40h OSC protocol</title>
    <link>http://wiki.monome.org</link>
    <description>more information at http://monome.org</description>
    <image>
      <url>http://wiki.monome.org/attachment/logo.png</url>
      <title>monome wiki</title>
      <link>http://wiki.monome.org</link>
    </image>
    <item>
      <title>(mentions of serialio are interchangeable with monomeserial)</title>
      <link>http://wiki.monome.org/view/40hOscProtocol</link>
      <description>(mentions of serialio are interchangeable with monomeserial)&lt;br /&gt;&lt;br /&gt;h2. button, led, adc addressing&lt;br /&gt;&lt;br /&gt;all buttons, leds, and adcs are addressed starting at 0 rather than 1. rows will be mapped to the integers 0 – 7 rather than 1 – 8. Likewise, adcs will be mapped to the integers 0 – 3 rather than 1 – 4.&lt;br /&gt;&lt;br /&gt;h2. output (messages sent by 40h)&lt;br /&gt;&lt;br /&gt;h3. button press event &lt;br /&gt;&lt;br /&gt;serialio sends an osc packet containing this message to the broadcast address when a button is depressed or released.&lt;br /&gt;&lt;br /&gt; address pattern: /box/press&lt;br /&gt; parameters: &lt;br /&gt; x – int, button x coordinate&lt;br /&gt; y – int, button y coordinate&lt;br /&gt; state – int [0 | 1] button state&lt;br /&gt;&lt;br /&gt;examples:&lt;br /&gt;&lt;br /&gt; button down event - /box/press 3 4 1&lt;br /&gt; button up event - /box/press 3 4 0&lt;br /&gt;&lt;br /&gt;h3. adc value change event &lt;br /&gt;&lt;br /&gt;serialio sends an osc packet containing this message when the value read by an enabled adc differs from the previous value.&lt;br /&gt;&lt;br /&gt; address pattern: /box/adc&lt;br /&gt; parameters: adc – int [0 - 3]&lt;br /&gt; value – float [0.0 – 1.0]&lt;br /&gt;&lt;br /&gt;examples: &lt;br /&gt;&lt;br /&gt; current adc state - /box/adc 0 .54321&lt;br /&gt;&lt;br /&gt;h2. input (messages understood by serialio)&lt;br /&gt;&lt;br /&gt;h3. set single led state &lt;br /&gt;&lt;br /&gt;sending an osc packet containing this message to the port on which serialio is listening sets the state (on or off) of the led beneath the specified button.&lt;br /&gt;&lt;br /&gt; address pattern: /box/led&lt;br /&gt; parameters: x – int, button x coordinate&lt;br /&gt; y – int, button y coordinate&lt;br /&gt; state – int [0 | 1], led state&lt;br /&gt;&lt;br /&gt;examples: &lt;br /&gt;&lt;br /&gt; led on - /box/led 0 4 1&lt;br /&gt; led off - /box/led 0 4 0&lt;br /&gt;&lt;br /&gt;h3. set state of entire row of leds &lt;br /&gt;&lt;br /&gt;sending an osc packet containing this message to the port on which serialio is listening sets the state (on or off) of all leds in the specified row. the state is specified as an 8-bit map where a set bit represents an led which should be turned on and a cleared bit represents an led which should be turned off.&lt;br /&gt;&lt;br /&gt; address pattern: /box/led_row&lt;br /&gt; parameters: row – int, row number&lt;br /&gt; state: int [0 – 255], state of leds as 8-bit bitmap&lt;br /&gt;&lt;br /&gt;examples: &lt;br /&gt;&lt;br /&gt; turn on all leds in first row - /box/led_row 0 255&lt;br /&gt; turn off all leds in first row - /box/led_row 0 0&lt;br /&gt;&lt;br /&gt;h3. set state of entire column of leds &lt;br /&gt;&lt;br /&gt;sending an osc packet containing this message to the port on which serialio is listening sets the state (on or off) of all leds in the specified column. the state is specified as an 8-bit map where a set bit represents an led whichshould be turned on and a cleared bit represents an led which should beturned off.&lt;br /&gt;&lt;br /&gt; address pattern: /box/led_col&lt;br /&gt; parameters: col – int, column number&lt;br /&gt;&lt;br /&gt;examples: &lt;br /&gt;&lt;br /&gt; turn on all leds in second column - /box/led_col 1 255&lt;br /&gt; turn off all leds in second column - /box/led_col 1 0&lt;br /&gt;&lt;br /&gt;h3. set led intensity &lt;br /&gt;&lt;br /&gt;sending an osc packet containing this message to the port on which serialio is listening sets the brightness of the leds.&lt;br /&gt;&lt;br /&gt; address pattern: /box/intensity&lt;br /&gt; parameters: intensity, float [0.0 – 1.0]&lt;br /&gt;&lt;br /&gt;examples: &lt;br /&gt;&lt;br /&gt; set the intensity of the 40h to 50% - /box/intensity 0.5&lt;br /&gt;&lt;br /&gt;h3. test leds (turns on all leds) &lt;br /&gt;&lt;br /&gt;sending an osc packet containing this message to the port on which serialio is listening sets 40h in a test state where all leds are turned on or returns 40h to normal operation.&lt;br /&gt;&lt;br /&gt; address pattern: /box/test&lt;br /&gt; parameters: state, int [0 | 1]&lt;br /&gt;&lt;br /&gt;examples: &lt;br /&gt;&lt;br /&gt; turn led test on - /box/test 1&lt;br /&gt; turn led test off - /box/test 0&lt;br /&gt;&lt;br /&gt;h3. enable adc &lt;br /&gt;&lt;br /&gt;sending an osc packet containing this message to the port on which serialio is listening enables or disables the specified adc causing serialio to begin to stop reporting adc value change messages.&lt;br /&gt;&lt;br /&gt; address pattern: /box/adc_enable&lt;br /&gt; parameters: adc, int [0 – 4]&lt;br /&gt; enabled, int [0 | 1]&lt;br /&gt;&lt;br /&gt;examples: &lt;br /&gt;&lt;br /&gt; enable adc 0 - /box/adc_enable 0 1&lt;br /&gt; disable adc 0 - /box/adc_enable 0 0&lt;br /&gt;&lt;br /&gt;h3. set box in lower power mode &lt;br /&gt;&lt;br /&gt;sending an osc packet containing this message to the port on which serialio is listening sets 40h in a lowpower shutdown state or returns 40h to normal operation.&lt;br /&gt;&lt;br /&gt; address pattern: /box/shutdown&lt;br /&gt; parameters: state [1 | 0], enable/disable lower power mode&lt;br /&gt;&lt;br /&gt;examples:&lt;br /&gt;&lt;br /&gt; turn on lower power mode - /box/shutdown 1&lt;br /&gt; turn off lower power mode - /box/shutdown 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;h2. encoder messages&lt;br /&gt;&lt;br /&gt;send to serialio:&lt;br /&gt;&lt;br /&gt; enable encoder 0 - /box/enc_enable 0 1&lt;br /&gt; disable encoder 0 - /box/enc_enable 0 0&lt;br /&gt;&lt;br /&gt;received from serialio:&lt;br /&gt;&lt;br /&gt; encoder 0 position change: /box/enc 0 -20&lt;br /&gt;&lt;br /&gt;encoder positions are relative from frame to frame. counter-clockwise gives positive steps (positive degrees) while clockwise gives negative steps.&lt;br /&gt; &lt;br /&gt;&amp;#8230;&lt;br /&gt;</description>
      <author>tehn</author>
      <pubDate>Tue, 26 Jun 2007 19:28:56 +0000</pubDate>
    </item>
    <textInput>
      <title>Search</title>
      <description>Search monome wiki's text</description>
      <name>regex</name>
      <link>http://wiki.monome.org/find/Searchpage</link>
    </textInput>




  </channel>
</rss>