VIE STYLE
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # ととのう宇宙ラウンジ ## 使い方 (iPhoneアプリ) - 「接続」ボタンを押すと、接続可能なVIEデバイスの一覧が表示されます。接続したいVIEデバイスを選択して接続します。一度接続すると、過去に接続したデバイスに自動で接続します。 - 「切断」ボタンを押すと現在接続しているVIEデバイスとの接続を切断します。正常に動作していないと感じた場合は、一度「切断」ボタンを押して、再度「接続」ボタンを押してVIEデバイスと接続してください。 - 各アイコン、ラベルの意味は以下の通りです。 - 「左耳」 : VIEデバイスの左耳の装着状態を表します。装着しているときは青色になります。 - 「右耳」 : VIEデバイスの右耳の装着状態を表します。装着しているときは青色になります。 - 「ブルートゥース」 : VIEデバイスからデータを受信しているかどうかを表します。受信しているときは青色になります。 - 「イーサネット」 : サーバーと通信しているかを表します。通信している場合は青色になります。 - 「ノイズ」 : サーバーで計算したノイズ値を表示します。小さいほどノイズが入っていないことを表します。目安は100以下となります。 - 「電池」 : VIEデバイスの電池残り残量を表示します。 - 「デバイスID」 : VIEデバイスのIDを表示します。 - アプリケーションを起動すると自動で接続を行うように設定しています。 ![](https://i.imgur.com/ZquIU1S.jpg) ### 通信先の指定 (iPhoneアプリ) サーバーと通信する時の設定はiPhoneの「設定」アプリから「ととのう22」アプリを選択して行います。設定を行う項目は以下の通りです。 - oscServerPort : iPhone側のサーバーからデータを受け取るポートを指定します。 - oscClientPort : 送信先のサーバーのポートを指定します。 - oscClientIP : 送信先のサーバーのIPアドレスを指定します。 ![](https://i.imgur.com/NDEhrjq.jpg) ## トラブルシューティング 問題が発生した場合は、以下の手順でご対応をお願いいたします。 1. 各種デバイスの配線、電源が抜けていないかご確認ください。 2. iPhoneアプリを一度閉じて、再度開いてみてください。 3. 2台あるサーバー(ラズベリーパイ)の電源を一度抜いて、再度さしてみてください。 4. 症状が直らない場合は各種デバイスを交換することで対応をお願いいたします。 ### VIEデバイスの交換 VIEデバイスを交換する場合は以下の手順で交換を行なってください。 1. 古いVIEデバイスが接続されているiPhoneの「設定」を開きます。 2. 「Bluetooth」を選択して、「VIE ZONE」を選択します。 3. 古いVIEデバイスの接続を解除します。 4. 古いVIEデバイスの電源を切ります。 5. 新しいVIEデバイスの電源を入れます。 6. 「ととのう22」アプリを立ち上げ、「接続」を選択し、新しいVIEデバイスと接続します。 ### iPhoneの交換 新しいiPhoneに交換する手順は以下の通りです。 1. 古いiPhoneとVIEデバイスの接続を解除します。 2. 新しいiPhoneとVIEデバイスを接続します。 3. 「通信先の指定」に記載の通り、IPアドレスとポートの設定を行います。 4. イーサネットケーブルを接続し、「設定」から「Ethernet」を選択します。 5. 古いiPhoneと同じIPアドレスを入力します。 6. 「ととのう22」アプリを立ち上げます。 ### サーバー(ラズベリーパイ)の交換 古いサーバーのイーサネットケーブル、電源を抜いて、新しいサーバーに電源とイーサネットケーブルを接続してください。 ### アプリの更新 アプリを更新する場合は、一度イーサネットケーブルを抜いてから、「TestFlight」アプリを起動し、「ととのう22」アプリを選択して、アップデートを行なってください。 ## 仕様 脳波計測デバイスのシステムは、脳波計測を行うデバイスである「VIEデバイス」、「iPhoneアプリ」、「サーバー」で構成されています。VIEデバイスはブルトゥースで左右の耳から取得した脳波データをiPhoneアプリに送信し、iPhoneアプリは1秒ごとに1秒間に取得した脳波データをまとめて、サーバーへ送信します。サーバーでは4秒間のデータをまとめて、「ととのい具合」を推論します。ととのい具合は0.0から1.0の実数値になります。1.0に近いほどととのっていることを表します。iPhone4台につき、サーバーが1台対応しています。推論した結果はOSCで送信されます。 ### OSCの仕様 有線のイーサネットでOSCを用いて通信します。仕様は以下の通りです。 IPアドレス ``` - 192.168.10.159 : Raspberry Pi 1 - 192.168.10.160 : Raspberry Pi 2 - 192.168.10.151 ~ 192.168.10.158 : iPhone - 192.168.10.203 : PC (Unity) ``` ポート ``` - 12500 ~ 12507 : Raspberry Pi - 13500 ~ 13507 : iOS - 8001 : PC (Unity) ``` OSCアドレス ``` Address - /inference [iOS port, left, right, noise, inference] Values - iOS port : INT32 (iPhoneのポート番号 デバイスの識別用) - left : Int32 (左耳 0:非接地 or 1:接地) - right : Int32 (右耳 0:非接地 or 1:接地) - noise : INT32 (脳波のノイズ 研究では2程度が閾値、100以下が望ましい) - inference : FLOAT (ととのい具合の推論値 0.0 ~ 1.0) 大きいほどととのっている ```

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully