Template:PT3 MAX WIN: Difference between revisions
From Phidgets Support
(Created page with "<div class="phd-slide-deck" data-deck="PT3_MAX_WIN"> <div class="phd-slide-deck-header"><h3>Language - Max/MSP</h3></div> <div class="phd-slides"> <div class="phd-slide"> <h2>...") |
No edit summary |
||
Line 7: | Line 7: | ||
<div class="phd-panels"> | <div class="phd-panels"> | ||
<div class="phd-panel phd-flex-column-align-center phd-flex-column-justify-middle"> | <div class="phd-panel phd-flex-column-align-center phd-flex-column-justify-middle"> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/200x-/50/max.jpg"></div> | ||
</div> | </div> | ||
<div class="phd-panel phd-flex-column-align-left phd-flex-column-justify-top"> | <div class="phd-panel phd-flex-column-align-left phd-flex-column-justify-top"> | ||
Line 31: | Line 31: | ||
<p>Next, download and unpack the Phidgets Max/MSP library:</p> | <p>Next, download and unpack the Phidgets Max/MSP library:</p> | ||
<p>● <span>[https:// | <p>● <span>[https://cdn.phidgets.com/downloads/phidget22/libraries/windows/Phidget22MaxMSP.zip Phidget Max/MSP library]</span></p> | ||
</div> | </div> | ||
Line 44: | Line 44: | ||
</ul> | </ul> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/-x290/50/Max_externals.png"></div> | ||
</div> | </div> | ||
Line 54: | Line 54: | ||
</p> | </p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/-x290/50/Max_filepreferences.png"></div> | ||
</div> | </div> | ||
Line 65: | Line 65: | ||
</p> | </p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/Max_folder.png"></div> | ||
</div> | </div> | ||
Line 76: | Line 76: | ||
</p> | </p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/-x325/50/Max_examples.png"></div> | ||
</div> | </div> | ||
Line 84: | Line 84: | ||
<p>From here, select an example that will work with your Phidget and open it in Max/MSP. You can run the example by simply pressing the <b>start</b> button:</p> | <p>From here, select an example that will work with your Phidget and open it in Max/MSP. You can run the example by simply pressing the <b>start</b> button:</p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/-x270/50/Max_run.png"></div> | ||
<p> | <p> | ||
Line 114: | Line 114: | ||
<div class="phd-panels"> | <div class="phd-panels"> | ||
<div class="phd-panel phd-flex-column-align-center phd-flex-column-justify-top"> | <div class="phd-panel phd-flex-column-align-center phd-flex-column-justify-top"> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/-x300/50/MSP_Example.png"></div> | ||
</div> | </div> | ||
<div class="phd-panel phd-flex-column-align-left phd-flex-column-justify-top"> | <div class="phd-panel phd-flex-column-align-left phd-flex-column-justify-top"> | ||
Line 135: | Line 135: | ||
</p> | </p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/MaxMSP_GetSerial.png"></div> | ||
<p> | <p> | ||
Line 143: | Line 143: | ||
</p> | </p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/MaxMSP_GetVoltage.png"></div> | ||
</div> | </div> | ||
Line 194: | Line 194: | ||
<p>In the case of a Voltage Input, we name it <b>PhidgetVoltageInput</b>:</p> | <p>In the case of a Voltage Input, we name it <b>PhidgetVoltageInput</b>:</p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/MaxMSP_VoltageInput_generic.png"></div> | ||
<p> | <p> | ||
Line 202: | Line 202: | ||
</p> | </p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/MaxMSP_GetVoltage.png"></div> | ||
</div> | </div> | ||
Line 236: | Line 236: | ||
<p>For instance, to open a VoltageInput with serial number 349428, you would use:</p> | <p>For instance, to open a VoltageInput with serial number 349428, you would use:</p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/MaxMSP_VoltageInput_specific.png"></div> | ||
<p>Some other examples:</p> | <p>Some other examples:</p> | ||
Line 265: | Line 265: | ||
<p>Next, in your patch you need a <b>PhidgetNet</b> object. To automatically find local networks, send it a message saying <b>enableServerDiscovery</b>.</p> | <p>Next, in your patch you need a <b>PhidgetNet</b> object. To automatically find local networks, send it a message saying <b>enableServerDiscovery</b>.</p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/MaxMSP_Enable_Server_Discovery.png"></div> | ||
<p> | <p> | ||
Line 271: | Line 271: | ||
</p> | </p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/MaxMSP_Remote.png"></div> | ||
</div> | </div> | ||
Line 303: | Line 303: | ||
</p> | </p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/-x100/50/MaxMSP_get_and_set.png"></div> | ||
<p>To sample at a fixed rate, use the start and stop messages to start and stop the data flow, respectively.</p> | <p>To sample at a fixed rate, use the start and stop messages to start and stop the data flow, respectively.</p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/-x65/50/MaxMSP_Start_Stop.png"></div> | ||
</div> | </div> | ||
Line 321: | Line 321: | ||
</p> | </p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/-x100/50/MaxMSP_Routing.png"></div> | ||
<p> | <p> | ||
Line 328: | Line 328: | ||
</p> | </p> | ||
<div class="phd-lazy-image" data-src="https:// | <div class="phd-lazy-image" data-src="https://cdn.phidgets.com/decks/PT3_MAX_WIN/-x80/50/MaxMSP_Error_Event.png"></div> | ||
</div> | </div> | ||