← Back

ofxEmotiBit

github.com/m-damelio/ofxEmotiBit · @m-damelio
OF 0.11 Hardware Interface Audio Web/Networking

This is forked from the original ofxEmotiBit repo: https://github.com/EmotiBit/ofxEmotiBit , I am trying to change the ui library to ofxImGui and allow multiple EmotiBits to connect to one app. This is found under the multiuser branch. This is very much WIP.

0 0 Last commit 1y ago Created 1y ago

Branches ahead of master

These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.

fix-dataParser 2 commits ahead · last commit 1y ago
feat-githubActions 3 commits ahead · last commit 1y ago
feat-OscilloscopeControlAutomation 17 commits ahead · last commit 2y ago
feat-OscilloscopeGuiUpdate 1 commit ahead · last commit 2y ago
feat-scopeSettingsXml 1 commit ahead · last commit 4y ago
Data-Parser-New-TimeSyncMap 1 commit ahead · last commit 5y ago
eda-arduino-tester 1 commit ahead · last commit 6y ago
clocks 1 commit ahead · last commit 7y ago

README

ofxEmotiBit

Software code for the EmotiBit. If you just want to visualize and parse data from the EmotiBit (for Windows/ macOS), you can simply download the software directly in releases.

If you want to modify the code(or build the tools in Linux), below are the requirements to build the project.

Requirements

Openframeworks

Install openFrameworks 0.11.2 from the official openFrameworks GitHub repository. Choose the appriopriate version for your operating system.

Openframeworks addons

Addons directory structure

Openframeworks uses addons to support adding features to the projects. The addons used by EmotiBit software are listed in the section below. The addons are placed in the OF_ROOT/addons folder and it's structure is shown below. Please download or clone (uses git) the addons listed in the section below in the OF_ROOT/addons directory. You can have additional addons in the addons folder, but the addons listed below are required for building EmotiBit software.
  addons
  ├── ofxEmotiBit
  │   ├── src
  │   ├── EmotiBitOscilloscope
  │   │   ├── EmotiBitOscilloscope.sln
  │   │   ├── EmotiBitOscilloscope.xcodeproj
  │   │   └── ...
  │   ├── EmotiBitDataParser
  │   └── EmotiBitFirmwareInstaller        
  ├── ofxNetworkUtils
  ├── ofxOscilloscope
  ├── ofxThreadedLogger
  ├── ofxBiquadFilter
  ├── ofxJSON
  ├── EmotiBit_XPlat_Utils
  ├── ofxLSL
  ├── ofxSerial
  └── ofxIO
  
</details>

Download the following Openframeworks addons

</details>

The following script may be run from a bash shell within your openFrameworks/addons/ directory to install ofxEmotiBit and all dependencies.

_Note:_ this requires you to have github SSH key access set up.
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
git clone git@github.com:EmotiBit/ofxEmotiBit.git
git clone git@github.com:bakercp/ofxNetworkUtils.git
cd ofxNetworkUtils
git checkout stable
cd ..
git clone git@github.com:produceconsumerobot/ofxOscilloscope.git
git clone git@github.com:produceconsumerobot/ofxThreadedLogger.git
git clone git@github.com:smukkejohan/ofxBiquadFilter.git
git clone git@github.com:jeffcrouse/ofxJSON.git
git clone git@github.com:EmotiBit/EmotiBit_XPlat_Utils.git
git clone git@github.com:EmotiBit/ofxLSL.git
git clone git@github.com:bakercp/ofxSerial.git
cd ofxSerial
git checkout stable
cd ..
git clone git@github.com:bakercp/ofxIO.git
cd ofxIO
git checkout stable
cd ..


Setup Instructions for Windows 11



<details> <summary>Instructions for Visual Studio</summary>

1. Install Visual Studio 2022: Download and install from Microsoft Visual Studio. If previously installed, navigate to the "Tools" tab and select "Get tools and features". 2. During setup, select the "Desktop Development with C++" workload. Ensure the following components are installed: 3. Additionally, navigate to the “Individual components” tab and install the "MSVC v141 - VS 2017 C++ x64/x86 build tools (v14.16)". 4. Restart your computer once everything is installed.

Building the Project



1. Open the EmotiBitOscilloscope Visual Studio solution file (.sln) located in of_v0.11.2_vs2017_release\addons\ofxEmotiBit\EmotiBitOscilloscope. 2. If prompted to install extra components in the solution explorer menu, click on the install button to proceed. 3. Build and run the solution file in the debug profile once all components have been installed. If the build fails, retarget the solution to the latest version (10.0 Windows SDK version, v143 build tools).

Notes



</details>

Setup Instructions for macOS



<details> <summary>Instructions for xcode</summary>

</details>

</details>

Setup Instructions for Linux



<details> <summary>Instructions for make</summary>

</details>

Get this addon

HTTPS
SSH