v0.1

OSC

Open Sound Control メッセージ仕様

概要

プロトコル

OSC (Open Sound Control) over UDP

デフォルトポート 9000

アドレスパターン

/torihada/[sensor]/[parameter]

プレフィックス /torihada

対応センサー

EmoCoeyeLeap Motion

データ型

i int32 - 32bit整数
f float32 - 32bit浮動小数点
s string - 文字列
bundle 複数値のバンドル

EmoCoeye

エモコアイ

24GHzレーダーによる非接触脈波測定センサー。感情推定データを算出。

Prefix: /torihada/emoco
Address Args Type Description Range / Unit
/torihada/emoco/immersion f float 没入度(集中)- 脳の活動量 0.0 - 100.0 @1s
/torihada/emoco/activity f float 活性度(緊張、元気)- 脈拍のテンポ 0.0 - 100.0 @1s
/torihada/emoco/drowsiness f float 眠気度(退屈、怠惰)- 頭がぼんやりした状態 0.0 - 100.0 @1s
/torihada/emoco/exhaustion f float 消耗度(疲労)- 心の消耗状態 0.0 - 100.0 @1s
/torihada/emoco/workscore f float ワークスコア - 4指標の総合判定(参考値) 0.0 - 100.0 @1s
/torihada/emoco/heartrate i int 脈拍数(30秒測定データより算出) 40 - 200 bpm @1s
/torihada/emoco/presence i int 在否 - 脈拍データ取得可否 0 | 1 @1s
/torihada/emoco/bundle ffffffii bundle 全値バンドル [immersion, activity, drowsiness, exhaustion, workscore, heartrate, presence] @1s

Leap Motion

リープモーション

手・指のジェスチャートラッキングコントローラー。低遅延・高精度モーション認識。

Prefix: /torihada/leap
Address Args Type Description Range / Unit
/torihada/leap/hands i int 検出された手の数 0 - 2
/torihada/leap/hand/[l|r]/position fff float[3] 手の位置 [x, y, z] mm
/torihada/leap/hand/[l|r]/rotation fff float[3] 手の回転 [rx, ry, rz] deg
/torihada/leap/hand/[l|r]/velocity fff float[3] 手の速度 [vx, vy, vz] mm/s
/torihada/leap/hand/[l|r]/pinch f float ピンチ強度 - 親指と人差し指のつまみ 0.0 - 1.0
/torihada/leap/hand/[l|r]/grab f float グラブ強度 - 握り込み度 0.0 - 1.0
/torihada/leap/hand/[l|r]/finger/*/extended i int 指の伸展状態 (* = thumb, index, middle, ring, pinky) 0 | 1
/torihada/leap/gesture/circle iffffi mixed サークル [handIdx, x, y, z, radius, progress]
/torihada/leap/gesture/swipe ifffffff mixed スワイプ [handIdx, x, y, z, speed, dirX, dirY, dirZ]
/torihada/leap/gesture/keytap iifff mixed キータップ [handIdx, fingerIdx, x, y, z]
/torihada/leap/gesture/screentap iifff mixed スクリーンタップ [handIdx, fingerIdx, x, y, z]

System

システム

体験全体の制御・同期用メッセージ

Prefix: /torihada/system
Address Args Type Description Range / Unit
/torihada/system/scene si mixed シーン変更通知 [scene_id, scene_index]
/torihada/system/probe/start si mixed Probe開始通知 [probe_id, t_stim]
/torihada/system/probe/end s string Probe終了通知 [probe_id]
/torihada/system/time f float 体験経過時間 sec

実装ノート

EmoCoeye: 初回データは起動から30秒後に出力。以降は最小1秒間隔。

Leap Motion: 同時接続デバイスは1台まで。手は最大2つまで追跡可能。

設置条件: EmoCoeye は被験者との距離 1〜3m 推奨。周辺に動く物体がない場所で使用。

使用例

TouchDesigner (OSC In CHOP)

# OSC In CHOP設定
Network Port: 9000
Address Scope: /torihada/*

# 没入度を取得
op('oscin1')['/torihada/emoco/immersion']

# 左手のピンチ強度
op('oscin1')['/torihada/leap/hand/l/pinch']

# 人差し指の伸展状態
op('oscin1')['/torihada/leap/hand/r/finger/index/extended']

TORIHADA Experience - Prototype for Artist Discussion