ãã®èšäºã§ã¯ãiOSããã³Androidã®é»è©±ãŸãã¯ã¿ãã¬ãããããããã¯ãŒã¯ã«æ¥ç¶ãããèªå®¶è£œã®ããã€ã¹ããªã¢ãŒãã§å¶åŸ¡ããæ¹æ³ã説æããŸãã å°ãªããšãããçšåºŠãã®ãããã¯ã«ç²ŸéããŠãã人ã¯ããã®æãŸã§ã«ããªãã®Arduinoãšmbed'amãžã®æ¬¡ã®Webã€ã³ã¿ãŒãã§ãŒã¹ã«ã€ããŠã ãšæ±ºå®ããŸãã-ç§ã¯ããªãã®èããæ¥ããŸã-è¡ããŸããã ç§ã話ãããæ¹æ³ã¯ãè¿
éã§å®äŸ¡ã§ãæ¢æã®ãã£ãŒãããã¯ã䟿å©ãªã³ã³ãããŒã«ããããæããªããããªWebã€ã³ã¿ãŒãã§ã€ã¹ãããããŸããå¯èŠæ§ãåããŠããŸãã
ãããªã¢ã«ãå®éã®ç掻ããé¢å©ããŠããªãããã«ã4ãæåã«Lightpackã§ãã®ããªãã¯ãã©ã®ããã«è¡ã£ããã瀺ããŸãã ãã®ç¶æ³ã¯ãç空ã§Open Sound Controlãããã³ã«ïŒããã«OSCïŒã䜿çšããçç¶ã®ã·ããªãªãšã¯å°ãç°ãªããŸãããããã§ãã©ããããããã¿ã€ãã³ã°ã§ã®å¹æçãªäœ¿çšæ¹æ³ã®è¯ãäŸã§ãã
ææŠãã
åšåº«ã«ã¯ãã¯ãã¹ãã©ãããã©ãŒã ãœãããŠã§ã¢ã«ãã£ãŠå¶åŸ¡ãããå€éšããã°ã©ã ãŸãã¯ãã©ã°ã€ã³ãã管çããããã®ãã®APIã
åãã
ãªãŒãã³ãœãŒã¹ã®USBããã¯ã©ã€ãããã€ã¹ããããŸããã ã¿ãã¬ãããšã¹ããŒããã©ã³ãããããã¯ãŒã¯çµç±ã§ãã®ããã€ã¹ãå¶åŸ¡ãããã£ãã®ã§ãã ãªã³/ãªãã®åãæ¿ããèšå®ãããã¡ã€ã«ã®å€æŽãæããã®å¶åŸ¡ãåãã£ã³ãã«ã®ããã¯ã©ã€ãã®èª¿æŽãä»ã®ãã©ã°ã€ã³ã®èµ·åãå¯èœã§ãã
ããªãã®å Žåãç¶æ³ã¯ç°ãªããããããŸããããæ¬æ ŒçãªPCãšäœããã®APIã®åœ¢ã®ä»²ä»è
ã«ãã£ãŠè€éã«ãªãããšã¯ãããŸããã ããšãã°ããããã¯ãŒã¯ã«å®æçã«æ¥ç¶ãããŠããARM / AVRäžã®ããã€ã¹ããŸãã¯å°ãªããšã24æé幎äžç¡äŒã§çé¢ã®ããã·ã¥ããŒãã®åŸãã§æ¶è²»é»åãèšé²ããGoogleããã¥ã¡ã³ãã«ããŒã¿ãéä¿¡ããã€ãŒãµãããã·ãŒã«ãä»ãã®Arduinoã
ãã®ãããªåé¡ã解決ããããã«æåã«æãæµ®ãã¶ã®ã¯ãWebã€ã³ã¿ãŒãã§ãŒã¹ã§ãã ããã¯æ®éçã§ããããã«æãããŸãïŒã©ã®ãã©ãããã©ãŒã ããã§ãã¢ã¯ã»ã¹ã§ããŸãã ããããã©ããªã«åŸ®èŠçã§ãã£ãŠããWebãµãŒããŒã匷å¶çã«å転ããããã¯ãããŸããã§ããã ãŸããé©åãªã³ã³ãããŒã«ãåããåªããWebã€ã³ã¿ãŒãã§ãŒã¹ãã¶ã€ããŒã¯èŠã€ãããŸããã§ãããç¬èªã®æç»ãè¡ãããã¯ãããŸããã§ãããçµæã¯ãã¹ã¯ãããã§ã®ã¿çå£ã«æ©èœããå°æ¥ã¹ã¿ã³ãã¢ãã³ã§ç®¡çããå¿
èŠãããå Žåãéåžžã®MKã¯ãã¹ã¿ãŒã§ããªãããšãç解ããŸãã-ããã€ã¹ã
ãã ãããããã¯ãŒã¯ãä»ããŠããã€ã¹ã«æ¥ç¶ã§ããå ŽåïŒãã®å ŽåãTelnetãä»ããŠAPIã«ã³ãã³ããçŽæ¥éä¿¡ã§ããŸãïŒãã¡ãã»ãŒãžãã±ãããéä¿¡ããã ãã®ã¢ãã€ã«ãã©ãããã©ãŒã åãã®æ¬æ Œçãªã¢ããªã±ãŒã·ã§ã³ãäœæã§ãããµãŒããŒã¯ãããã解æããŠããã€ã¹ãå¶åŸ¡ããŸãã ãã®æ¹æ³ã掻çš
ããAndroidçšã®å°ããªãããã¿ã€ããå€æ¹ã«ãŸãšããã«ãããããããWebã€ã³ã¿ãŒãã§ãŒã¹ãšæ¯èŒããŠããé«äŸ¡ãã®ãŸãŸã§ããã
æéãçµã€ãšãã¿ã¹ã¯ã¯ç®è³ªäžã®ã©ããã«èšé²ãããTouchOSCã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã«å¶ç¶åºäŒããŸã§ããããæãåºããŸããã§ãããããã¯ïŒã»ãŒïŒiOSãšAndroidã§åãããã«æ©èœããŸãã
ãã¢ãããªãšã¹ã¯ãªãŒã³ã·ã§ãããæ®ã£ãåŸãè©ŠããŠã¿ãã«éãéããããšã¯äžå¯èœã§ãããïŒ
ã¢ã€ãã¢
èŠããã«ã
TouchOSCã¢ããªã±ãŒã·ã§ã³ïŒ
AppStore ã
Google Play ïŒã¯ãã¢ãã€ã«ããã€ã¹ã«OSCããã³MIDIãããã³ã«ã€ã³ã¿ãŒãã§ã€ã¹ãå®è£
ãããã¹ãŠã®å°çšã·ã³ã»ãµã€ã¶ãŒããµãŠã³ããšãã£ã¿ãŒãDJçšããã°ã©ã ãã¬ã³ãŒãã£ã³ã°ã¹ã¿ãžãªãªã©ã䜿çšããŠäœæ¥ããŸãããã¿ã³-ã¹ã©ã€ããŒ-ã·ã§ãŒãã«ããã®ã³ã³ãããŒã«ïŒã¬ã€ã¢ãŠãïŒã®å®çŸ©æžã¿ã¬ã€ã¢ãŠãã ãã§ãªããç¹å¥ãªãšãã£ã¿ãŒã§éåžžã«ã·ã³ãã«ãã€è¿
éã«ç¬èªã®ã¬ã€ã¢ãŠããäœæã§ããŸãã ãããã¯ãã¹ãŠwi-fiãä»ããŠæ©èœããŸãããç¹å¥ãªã¢ããã¿ãŒã䜿çšããã¯ã€ã€ã§ãæ©èœããŸãã
å®çŸ©æžã¿ã®äžè¬çãªã¬ã€ã¢ãŠãã¯æ¬¡ã®ããã«ãªããŸãã é£æ床ïŒãã³ãªã¢ã³ãããã ããã¬ã€ã¢ãŠããšãã£ã¿ãŒã§ã®ç¹°ãè¿ããæ¢ããããšã¯ã§ããŸããã
è¡šé¢çãªåæã«ããããã®ã¢ããªã±ãŒã·ã§ã³ãå¯äžã§ã¯ãªãããšã瀺ãããŸãããå¿
èŠã«å¿ããŠãiOSã§ã¯iOSCãOSCemoteãMrmr OSCã³ã³ãããŒã©ãŒãRemokon for OSCã䜿çšã§ããŸãïŒAndroidã«ã¯ãªã¹ãããŸãã-ããã«å€ããããŸãïŒã åãåæã§ã¯ããããã³ã«èªäœãå€æ°ã®ããã°ã©ã ãšããã€ã¹ã§äœ¿çšãããŠããããšã瀺ãããŸãããç§ãã¡ã«ãšã£ãŠæãéèŠãªããšã¯ãã©ã€ãã©ãªãšãã®å®è£
ãåããã©ãããŒãå€ãã®ããã°ã©ãã³ã°èšèªãšãã©ãããã©ãŒã ã«ååšããããšã§ãïŒããšãã°ã
Arduinoãš
mbedã®ãªãã·ã§ã³ïŒã
äžå®å
šãªãªã¹ãã¯å
¬åŒãŠã§ããµã€ãã«ãããŸãã
ç§ãã¡ã«ã¯ãäžèŠãããšããèå³æ·±ãæ°ããããŒã«ãé©çšãããšãããå
žåçã§ã¯ãªãæ¹æ³ããããŸãã åã¯ç¡æã®äŒæ¥ã§ããããã®ããããã³ãŒã«ãåãä»ããŸããããšããèšèã§ã
timsatã¯Googleãã¢ãã¿ãŒã®ååã«ãNotepad ++ã2çªç®ã«å°å
¥ããŸããã
ãããã³ã«
Open Sound Controlã¯ããã«ãã¡ãã£ã¢ããã€ã¹ïŒäž»ã«é»å楜åš/ã·ã³ã»ãµã€ã¶ãŒããã³PCïŒéã§ããŒã¿ã転éããããã®ãã±ããããŒã¹ã®ãããã³ã«ã§ãããæè¿ã§ã¯MIDIã®ä»£æ¿ãšããŠãŸããŸã䜿çšãããŠããŸãã ãããã³ã«ã®äž»ãªæ©èœã¯ãããã¯ãŒã¯ãä»ããŠ
æ©èœããŸã
ããä»ã®æ©èœããããŸã ã ä»æ§ã®ææ°ããŒãžã§ã³ã¯ãããŒã¯ã¬ãŒå€§åŠãªãŒãã£ãªãã¯ãããžãŒã»ã³ã¿ãŒïŒCNMATïŒã§
å
¥æã§ããŸã ã
åè¿°ããããã«ãä»æ¥ã®ãããã³ã«ã®å
žåçãªçšéã¯ãå
¥åããã€ã¹ïŒã·ã³ã»ãµã€ã¶ãŒãã¿ãã¬ãããã²ãŒã ã³ã³ãããŒã©ãŒãªã©ïŒãšã¹ãŒããŒã³ã©ã€ããŒãTraktorãREAPERãªã©ã®ç¹æ®ãªããã°ã©ã ãšã®éã®ã€ã³ã¿ãŒãã§ãŒã¹ãæäŸããããšã§ãã
Lemurã
Monomeãªã©ã®çŽ æŽãããããã€ã¹ã
ãã®ãããã³ã«ã¯ãããã¯ãŒã¯äžã§æ©èœããåæ¹åã§ã®ããŒã¿äº€æãå¯èœã«ããããã€ã¹ãšã®ãã£ãŒãããã¯ãå¯èœã«ããŸãã ã¹ã¯ãªãŒã³ã·ã§ãããããèŠããšãäžéšã®ã³ã³ãããŒã«ãã¿ã³ã«ã¯ã以åã«éä¿¡ãããã³ãã³ããå®éã«ãµãŒããŒã«ãã£ãŠå®è¡ãããåŸã«ç¹ç¯ã§ããè¿œå ã®ã€ã³ãžã±ãŒã¿ãŒããããŸãã ã€ãŸã ã¿ãã¬ããã¯ãå¶åŸ¡ããŠããããã€ã¹ïŒã¿ãŒã²ããïŒã®å®éã®ç¶æ
ãåæ ããŠããå ŽåããããŸãã ããªããããã®ã³ããã€ããã°ãã°ã©ããæãããšããã§ããŸãããããã¯åé¯ã«ã€ããŠå€ããç¥ã£ãŠããã ãã·ã¥ãŒã®ããã®ãã®ã§ãã
OSCãµãŒããŒãšã¯ã©ã€ã¢ã³ãéã§äº€æãããã¡ãã»ãŒãžã®äŸã次ã«ç€ºããŸãã
/1/fader2 0.497120916843 /1/fader2 /z /1/rotary1 0.579584240913 /1/rotary1 0.605171322823 /1/rotary1 /z
ãã®å Žåãæ£ç¢ºãªã³ã³ãããŒã«èå¥åãããã
/ 1 / fader2 0.497120916843ã¯ãæåã®ã¿ãã®2çªç®ã®ã¹ã©ã€ããŒããïŒã¯ããåãã¬ã€ã¢ãŠãå
ã§è€æ°ã®ã¿ãã䜿çšã§ããŸãïŒãå€0.49ããµãŒããŒã«å°éããããšãæå³ããŸãã ãã®äŸã®Zã¡ãã»ãŒãžã¯ãå¿
èŠã«å¿ããŠå«ããããšãã§ããŸããããã«ã€ããŠã¯åŸã§èª¬æããŸãã
Lightpackã®äŸã§ã¯ããããã¡ã€ã«ã®ååãã¿ãã¬ããã«è»¢éããããããåãæ¿ããã®ã䟿å©ã§ããã ããã«ãã»ãã·ã§ã³ã®éå§æã«ãã¿ãã¬ããäžã®ãã¹ãŠã®ã³ã³ãããŒã«ã®äœçœ®ããã¿ãŒã²ããããã€ã¹ã®å®éã®èšå®ã«åŸã£ãŠèªåçã«èª¿æŽãããŸãã
å®è£
Lightpack APIã䜿çš
ããã«ã¯ãPythonã§èšè¿°ããã
ç¬èªã®ã©ãããŒã䜿çšã
ãŸã ã ãã®ãããPythonã«ã
OSCã©ã€ãã©ãªãçšæãããŠãããããAPIãšOSCã¡ãã»ãŒãžãéä¿¡ãããããã¯ãŒã¯ããã€ã¹ãšã®éã®èŽåœçãªã³ãã¯ã¿ã§ããå°ããªã¹ã¯ãªãããäœæããããšã«ããŸããã ãã®ãããªå®è£
ã®äž»ãªèŠä»¶ïŒ
- ã¯ã©ã€ã¢ã³ã/ãµãŒããŒããŒãã®å¯çšæ§ïŒTouchOSCã§ç¬èªã«æ§æã§ããŸãïŒ
- ã¯ã©ã€ã¢ã³ããšãµãŒããŒã¯åããããã¯ãŒã¯äžã«ãªããã°ãªããŸããã
ãã ããã«ãŒã¿ãŒã®ãã³ãã«ãæ·±ãæãäžãããšã2çªç®ã®å¶éãåé¿ããŠãè¡ã®å察åŽã®ãªãã£ã¹ãããã ã¹ã¿ãŒã®é£²é
è
ã管çã§ããŸãã
ç§ã®ããã«åçã奜ã人ã®ããã«ã圌ãã¯çžäºäœçšã¹ããŒã ãéçºããŸããïŒ
ãã®å Žåãã³ãã¯ã¿ãšAPIéã®äº€æã¯ãœã±ãããä»ããŠå®è£
ãããŸãïŒããã¯APIèªäœã®æ©èœã§ãïŒãããã¢ã§ãããããã«ããã¹ãŠãéåžžã«è¿
éã«æ©èœããŸãã ãã¡ãããArduinoãã ã¹ã¿ãŒãšã®é¢ä¿ã§ã¯ãã«ãŒã¿ãŒã®ããåŸãã«ããããã¯ãŒã¯ãšOSCãæäœããããã®ã©ã€ãã©ãªãæ¢ã«å«ãŸããŠãããã¡ãŒã ãŠã§ã¢ãåãããã€ã¯ãã³ã³ãããŒã©ãŒã®åœ¢ã§ããžãã¯ã®äžå¿ãæã€ããã€ã¹èªäœããããŸãã
å®éãå®è£
ã®ããã«ã亀æã®åæåããã£ãŒãããã¯ãããã³åä¿¡/éä¿¡å€ã®å€æã®ããã»ã¹ãåŠçããã ãã§æžã¿ãŸããã ã³ãŒãã®å€§éšåã¯åçŽãªãããã³ã°ã§ãã ã€ãŸã ã¬ã€ã¢ãŠããæããåŸãã³ã³ãããŒã«ã¢ãã¬ã¹ïŒãã¿ã³ãã¹ã©ã€ããŒãã·ã§ãŒãã«ãããªã©ïŒã®ãªã¹ããæã«æã€ããšã«ãªãããããããAPIé¢æ°ã«ãããã³ã°ããå¿
èŠããããŸãã ããã ãã§ã
æ£çŽãªãšãããããã§ãã以äžäœãæžãããããããŸããã ããã°ã©ãã³ã°ã®èŠ³ç¹ããèŠããšãã¿ã¹ã¯ã¯ããªããã£ãã§ãã ãã®ãã³ãã¯ã¿ãã®ãœãŒã¹ã³ãŒãã¯ãéåžžã©ããã
ãªããžããªã«
ããã誰ã§ãã¢ã¯ã»ã¹ã§ããŸãã
ã¡ãªã¿ã«ãTouchOSCã¯ããã€ãã®ããªã䟿å©ãªè¿œå æ©èœãå®è£
ããŠããŸãããŸããããŒã¿èªäœãå®è¡ãããŠããªãå Žåã§ããã¯ã©ã€ã¢ã³ããšãµãŒããŒéã§äº€æããã
/ pingã¡ãã»ãŒãžã䜿çšããŠæ¥ç¶ãç¶æã§ããŸãã 次ã«ããããã
zã¡ãã»ãŒãžããµããŒããããŸããããã¯ãã¯ã©ã€ã¢ã³ãäžã®ãŠãŒã¶ãŒãæã§ç»é¢ãã¿ãããçµããããšããµãŒããŒã«äŒããç¹å¥ãªã¡ãã»ãŒãžã§ãïŒå
¥åãå®äºããç¬éïŒã ãã®æ©èœã¯äœ¿çšããŸããã§ããããéåžžã«åœ¹ç«ã€ç¶æ³ãããããšãé€å€ããŸããã 第äžã«ãã»ãšãã©ã®åæ§ã®ã¢ããªã±ãŒã·ã§ã³ãšåæ§ã«ãTouchOSCã¯ã¢ãã€ã«ããã€ã¹ã«çµã¿èŸŒãŸãã
å é床èšãããµãŒããŒã«ããŒã¿ãéä¿¡ã§ããŸãã ã€ãŸã ã¹ããŒããã©ã³ãã¿ãã¬ãããããããã¯ãŒã¯ã®èªå®¶è£œè£œåã®ããªãããŒãªå
¥åããã€ã¹ãšããŠäœ¿çšã§ããŸãïŒã«ã¡ã©ããµãŒãã§ããããªã©ïŒã
èœãšãç©Ž
TouchOSCã¢ããªãšã®å¯Ÿè©±ã«é¢ãããã¹ãŠãã¹ã ãŒãºã«å®è¡ãããŸãã ç¬èªã®ã¬ã€ã¢ãŠããããŒãããããšãããã¿ã³ãã¯ãªãã¯ããã ãã§ãç¡ç·ã§ãè¡ãããŸãã ä»æ¥ã®å¯äžã®é¡èãªæ¬ ç¹ã¯ãAndroidããŒãžã§ã³çšã®ç¬èªã®ã¬ã€ã¢ãŠããããŠã³ããŒãã§ããªãããšã§ãã èè
ãšã®ãããšãã§ã圌ã¯ãªããšããä»ãç§ã¯ãªãªãŒã¹ã®æºåãããŠããããšç§ã«çŽåŸãããã
Pythonã®ã©ã€ãã©ãªã¯ããŸãææžåãããŠããªãããšãå€æãããããã¬ã€ã¢ãŠãåäœãå®éã«ããã°ã©ã ãããããããŒã¿äº€æããã»ã¹ã®åæåã«æéãããããŸããã
äžè¬ã«ããã®ãããªããã·ã¥ã¢ãããäœæããããã»ã¹ã¯éåžžã«çŽæçã§ãããããã»ã©æéã¯ããããŸããã ãã®ãããWebã€ã³ã¿ãŒãã§ã€ã¹ãåããæ¬æ Œçãªã¯ã©ã€ã¢ã³ããµãŒããŒã¹ã¿ãã¯ã§ã¯ãªããOSCã䜿çšããŠã©ããããããã¿ã€ãã³ã°ãè¡ãããšããå§ãããŸãã ããã«ãã€ãã³ãã§ããŸãã¯é¡§å®¢ã«ãã®ãããã¿ã€ããæ瀺ããããšããå Žåãä»éããããããå®è£
ããããã®ããèŠèŠçãªãªãã·ã§ã³ã§ãïŒ-ç§ã¯åã«ããããªã質åã§ãã®eppstorãæ¬ å ŽããŸãã
ç¹°ãè¿ãã«ãªããŸããããã£ãŒãããã¯ã䜿çšããŠèªå®¶è£œã®ãããã¯ãŒã¯ããã€ã¹ãèŠèŠçã«å¶åŸ¡ããç°¡åãªæ¹æ³ãè¿
éãã€å®äŸ¡ã«å®è£
ããå¿
èŠãããå ŽåãOSCãããã³ã«ã¯èå³æ·±ãéžæè¢ã§ãã