OpenFrameworks

Cross-platform: Use OSC version.

OSX: Use either OSC or the direct to USB version (jumo there here....PC copy available soon)

 

Installing OSC version.
- copy the ofMuio folder somewhere sensible currently I use "other" but "libs" is fine.

Using:
There is an xcode example project. Copy the "muioExample" to your apps/examples folder.
Check that you have included the ofMuio folder in the project.
Check that the ofxOSC libraries are included.
Sorted.

Windows and Linux:
Easy enough to start a new project (copy the _blank) one replace the new src with the muioExample one. Then..
Check that you have included the ofMuio folder in the project.
Check that the ofxOSC libraries are included.
Sorted.
 


Installing Direct to USB
You will need openframeworks release ::: of_preRelease_v0.06_xcode_FAT

Installation::

1) After downloading and unpacking copy the "muio" and the "libusb-src" folders into the openframeworks/other folder (along with the arduino one which you can just bin really as you have moved to something faster and more expandable.
2) copy the "muiov0_3" folder into  "openframeworks/apps/examples"

Open the xcode project file.

Check that Xcode has found the muio and libusb stuff (in the other folder) and also check that lib/IOKit.framework is present.

If not then add them (IOKit is in /System/Libraries)


The project file inside "muiov0_3" has more info.

NB
1 You will need to have "muioconfigs.xml" in your data folder.
2 This calls the USB directly, so does NOT use OSC.

Using

Once you have created a muio object you can get hold of the latest muio data with the muio.getSensorInt("PORT", input) method
   e.g.
              x = muio.getSensorInt("/adc0", 0)
    returns the value for /adc0 0
   
    nb single byte inputs like /port1 are called
                x = muio.getSensorInt("/port1", 0)
  

OpenFrameworks Objects and Examples

Title Post date Release Notes Download
OpenFrameworks - via OSC v0_2 12/10/2009 Cross platform OSC version - use if muioOSCserver is on a different IP host.

openframeworks-muio-osc.zip

OpenFrameworks - Direct to USB - OSX 27/11/2009 No need for OSC - fast and direct access to USB. OSX version 0_3.

openframeworks-osx_muio_v0_3.zip