Send 3 values in OSC message to CSound

parent bf8e1b41
......@@ -3,7 +3,7 @@ defmodule Grains.Mixfile do
def project do
[app: :grains,
version: "0.0.81",
version: "0.0.82",
elixir: "~> 1.2",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
......
......@@ -297,7 +297,7 @@ Master.prototype.send_osc = function() {
let v = this.velocity.array();
//let v = this.position.array();
var message = new OSC.Message('/webosc/gyro/' + this.type, v[0], v[1] );
var message = new OSC.Message('/webosc/gyro/' + this.type, v[0], v[1], 0.0 );
if ((this.p.frameCount % 30.0) == 0) {
if (PresenceSketch.osc.status() === OSC.STATUS.IS_OPEN) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment