What you need:

Logic X
Max 8
CNMAT OSC objects (from the Max/MSP Package Manager [under the "File" menu])
"Muse: Brain Health & Sleep" iPhone app


Prior to starting up the Muse app, set up your iPhone as a "Personal HotSpot"
and connect your laptop to the internet through it,  NOTE:  This may not be
necessary if you have WiFi access to the internet through a router that allows
Devices to be connected.


1.  start up "nmuse-brainwave-logic1.logicx" in the 'muse-brainwave-logic1' folder.

2.  start up the "brainwaves.maxpat" patch

3.  Double-click on the "get-ip-address" command and note the IP address
	(it will be something like 192.168.0.101)
	(you can close that terminal window once you have the IP address)

4.  Start up the "muse" app on your iPhone
	(I think you may also have to register for a muse account and login
	before you can use the app.  Follow the instructions on the app
	when you first start it up.)

5.  Tap on the "me" icon at the lower right of your iPhone screen

6.  Tap on the little "gear" icon at the upper right of the iPhone screen

7.  Tap on the "bluetooth" icon at the upper right of the iPhone screen

8.  Push and hold the power button for the brainwave headset.  Hold it until
	the white light is solid (bluetooth connection, be sure bluetooth
	is enabled on your iPhone [it probably is])

9.  It should say "Your device is connected!" in a few seconds

19.  Check the battery icon on the upper right of the screen to be sure
	your headset is charged up

11.  Scroll down to where it says "DEVELOPER TOOLS" and click on the
	"OSC output" beneath it

12.  Enter the IP address you got above from the "get-ip-address" script.

13.  Enter "5001" for the port.

14.  Enter "/muse" for the Messages Prefix

15.  Click on the "Streaming Enabled" switch

16.  Click the "normalize" check box on the MaxMSP patch

17.  click the "sig on/off" button on the "brainwaves" patch

18.  click on the "X" buttons next to each instrument to have them respond
	to the brainwave data
	(NOTE:  You may have to hit a key on the keyboard and select a scale
	for it to get the Logic instruments set properly.
	You may also have to click the "r" buttons on each track in Logic.)

