{"id":455,"date":"2012-01-09T09:07:43","date_gmt":"2012-01-09T00:07:43","guid":{"rendered":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/?p=455"},"modified":"2012-10-20T06:24:46","modified_gmt":"2012-10-19T21:24:46","slug":"fluxamasynth_with_mocolufa","status":"publish","type":"post","link":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/2012\/01\/fluxamasynth_with_mocolufa\/","title":{"rendered":"<!--:ja-->fluxamasynth\u3092Arduino Uno\u3068MocoLUFA\u304b\u3089\u4f7f\u3046<!--:--><!--:en-->fluxamasynth with Arduino Uno and MocoLUFA <!--:-->"},"content":{"rendered":"<p><!--:ja--><strong style=\"font-weight: normal;\"><a href=\"http:\/\/shop.moderndevice.com\/\">Modern Device\u793e<\/a>\u3067\u8ca9\u58f2\u3057\u3066\u3044\u308b<\/strong><a href=\"http:\/\/shop.moderndevice.com\/products\/fluxamasynth\">Fluxamasynth Shield<\/a>\u306f\u30ef\u30f3\u30c1\u30c3\u30d7\u306eMIDI\u97f3\u6e90Atmel&#8217;s <a href=\"http:\/\/www.atmel.com\/dyn\/products\/product_card.asp?part_id=4142\">ATSAM2195<\/a>\u3092\u642d\u8f09\u3057\u305fArduino\u7528\u306e\u30b7\u30fc\u30eb\u30c9\u3067\u3059\u3002Arduino\u306e\u30bb\u30f3\u30b5\u985e\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u5404\u7a2e\u306e\u30aa\u30ea\u30b8\u30ca\u30eb\u697d\u5668\u306e\u97f3\u6e90\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u69d8\u3067\u3059\u3002<\/p>\n<p>ATSAM2195\u306f\u5358\u4f53\u3067\u5165\u624b\u3059\u308b\u3053\u3068\u306f\u96e3\u3057\u3044\u306e\u3068\u3001QFP\u3067\u6271\u3044\u96e3\u3044\u305f\u3081\u3053\u306e\u3088\u3046\u306a\u30b7\u30fc\u30eb\u30c9\u306f\u6709\u308a\u96e3\u3044\u5b58\u5728\u3067\u3059\u3002\u5024\u6bb5\u3082\u304a\u624b\u9803\u306a\u306e\u3067\u3001\u30af\u30ea\u30b9\u30de\u30b9\u306b\u6ce8\u6587\u3057\u307e\u3057\u305f\u3002<\/p>\n<div id=\"attachment_453\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6319.jpg\"><img aria-describedby=\"caption-attachment-453\" loading=\"lazy\" class=\"size-medium wp-image-453\" title=\"fluxamasynth board\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6319-400x266.jpg\" alt=\"fluxamasynth board\" width=\"400\" height=\"266\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6319-400x266.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6319.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-453\" class=\"wp-caption-text\">fluxamasynth board<\/p><\/div>\n<p><!--:--><!--:en--><a href=\"http:\/\/shop.moderndevice.com\/products\/fluxamasynth\">Fluxamasynth Shield<\/a> is a MIDI based programmable synthesizer for Arduino designed by Modern Device. With fluxamasynth Shield, it is easy to build\u00a0 unique instruments with sensors.<\/p>\n<p>The Fluxamasynth make use of\u00a0 Atmel&#8217;s <a href=\"http:\/\/www.atmel.com\/dyn\/products\/product_card.asp?part_id=4142\">ATSAM2195<\/a> single-chip MIDI sound system.<\/p>\n<p><strong style=\"font-weight: normal;\"><a href=\"http:\/\/shop.moderndevice.com\/\"><\/a><\/strong><\/p>\n<p>As it is hard to obtain ATSAM2195 chip, and to handle QFP chip, I ordered one on the last Christmas.<\/p>\n<div id=\"attachment_453\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6319.jpg\"><img aria-describedby=\"caption-attachment-453\" loading=\"lazy\" class=\"size-medium wp-image-453\" title=\"fluxamasynth board\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6319-400x266.jpg\" alt=\"fluxamasynth board\" width=\"400\" height=\"266\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6319-400x266.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6319.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-453\" class=\"wp-caption-text\">fluxamasynth board<\/p><\/div>\n<p>ATSAM2195 can handle MIDI-based signal from both serial and parallel interface. Only with serial MIDI interface, such as a photo coupler, the shield can be a General MIDI device.<\/p>\n<p>I tried sample programs posted at <a href=\"http:\/\/wiki.moderndevice.com\/pmwiki.php?n=MD.Fluxamasynth\">modernWiki<\/a>.<\/p>\n<div id=\"attachment_454\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6350.jpg\"><img aria-describedby=\"caption-attachment-454\" loading=\"lazy\" class=\"size-medium wp-image-454\" title=\"fluxamasynth with arduino sketch\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6350-400x266.jpg\" alt=\"fluxamasynth with arduino sketch\" width=\"400\" height=\"266\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6350-400x266.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6350.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-454\" class=\"wp-caption-text\">fluxamasynth with arduino sketch<\/p><\/div>\n<p>In order to use fluxamasynthe as a GM synthesizer for PC via USB-MIDI, I use Arduino Uno with <a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/aruino\/midi-firmware-for-arduino-uno-moco\/?lang=en\">MocoLUFA<\/a> firmware for ATmega8u2. I flush ATmega8u2 on Uno with MocoLUFA firmware using ISP programmer. Then, I connect Arduino Uno to PC via USB cable. From PC, Arduino Uno is recognized as a MIDI device. Then I connect the serial out of 8u2 (Arduino&#8217;s Rx, pin = 1) to\u00a0 fluxamasynthe&#8217;s MIDI-in with a short jumper cable.<\/p>\n<div id=\"attachment_452\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6373.jpg\"><img aria-describedby=\"caption-attachment-452\" loading=\"lazy\" class=\"size-medium wp-image-452\" title=\"fluxamasynth\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6373-400x266.jpg\" alt=\"fluxamasynth in action\" width=\"400\" height=\"266\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6373-400x266.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6373.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-452\" class=\"wp-caption-text\">fluxamasynth in action<\/p><\/div>\n<p>In this configuration, no program is required for ATmega328.<\/p>\n<p>I use Logic Express on my iMac to control GM synthesizer with fluxamasynthe&#8217;s. It worked perfect.<\/p>\n<p>(EOF)<!--:--><!--more--><!--:ja--><\/p>\n<p>ATSAM2195\u306f\u30b7\u30ea\u30a2\u30eb\u307e\u305f\u306f\u30d1\u30e9\u30ec\u30eb\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u304b\u3089\u76f4\u63a5MIDI\u4fe1\u53f7\u3092\u53d7\u3051\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\u30b7\u30ea\u30a2\u30ebMIDI\u306e\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3092\u4ed8\u3051\u308b\u3060\u3051\u3067\u3001\u5358\u4f53\u3067MIDI\u306eGM\u97f3\u6e90\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\u3053\u306e\u30b7\u30fc\u30eb\u30c9\u306fArduino\u304b\u3089\u5229\u7528\u3059\u308b\u3070\u304b\u308a\u304b\u3001\u5916\u90e8\u304b\u3089\u30b7\u30ea\u30a2\u30ebMIDI\u3092\u6d41\u3057\u3066\u306a\u3089\u3059\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001<a href=\"http:\/\/wiki.moderndevice.com\/pmwiki.php?n=MD.Fluxamasynth\">\u3053\u3061\u3089<\/a>\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u8a66\u3057\u307e\u3057\u305f\u3002<\/p>\n<div id=\"attachment_454\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6350.jpg\"><img aria-describedby=\"caption-attachment-454\" loading=\"lazy\" class=\"size-medium wp-image-454\" title=\"fluxamasynth with arduino sketch\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6350-400x266.jpg\" alt=\"fluxamasynth with arduino sketch\" width=\"400\" height=\"266\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6350-400x266.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6350.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-454\" class=\"wp-caption-text\">fluxamasynth with arduino sketch<\/p><\/div>\n<p>PC\u304b\u3089MIDI\u97f3\u6e90\u3068\u3057\u3066USB-MIDI\u7d4c\u7531\u3067\u9cf4\u3089\u3059\u306b\u306f\u3001PC\u306e\u51fa\u529b\u3092\u76f4\u63a5\u30b7\u30ea\u30a2\u30ebMIDI\u3068\u3057\u3066\u5165\u308c\u3066\u3084\u308b\u306e\u304c\u7c21\u5358\u3067\u3059\u3002Arduino Uno\u306eATMega8u2\u5074\u3092<a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/aruino\/midi-firmware-for-arduino-uno-moco\/\">MocoLUFA<\/a>\u306b\u66f8\u304d\u63db\u3048\u3066\u3001\u305d\u306e\u51fa\u529b\u3092\u76f4\u63a5fluxamasynth\u306b\u5165\u308c\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<div id=\"attachment_452\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6373.jpg\"><img aria-describedby=\"caption-attachment-452\" loading=\"lazy\" class=\"size-medium wp-image-452\" title=\"fluxamasynth\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6373-400x266.jpg\" alt=\"fluxamasynth in action\" width=\"400\" height=\"266\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6373-400x266.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2012\/01\/IMGP6373.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-452\" class=\"wp-caption-text\">fluxamasynth in action<\/p><\/div>\n<p>\u3055\u3059\u304c\u306b\u3001\u30b7\u30fc\u30eb\u30c9\u306e\u8a2d\u8a08\u3067\u76f4\u63a5\u30b7\u30ea\u30a2\u30eb\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306f\u60f3\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002PIN\u30bb\u30ec\u30af\u30c8\u304b\u3089\u30b8\u30e3\u30f3\u30d1\u3092\u5916\u3057\u3066\u3001Arduino \u306eRx\u30d4\u30f3\u306b\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u3001Arduino Uno\u3092USB-MIDI\u30b7\u30ea\u30a2\u30ebMIDI\u306e\u30d6\u30ea\u30c3\u30b8\u3068\u3057\u3066\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002ATMega8u2\u306e\u307f\u304c\u52d5\u4f5c\u3057\u3066\u3044\u3066\u3001\u30e1\u30a4\u30f3CPU\u3067\u3042\u308bMega328\u306f\u4f55\u3082\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u3082\u3063\u305f\u3044\u306a\u3044\u3067\u3059\u304c\u3001\u4f55\u304b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u52d5\u304b\u3059\u306e\u3082\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>(\u4e86)<!--:--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Modern Device\u793e\u3067\u8ca9\u58f2\u3057\u3066\u3044\u308bFluxamasynth Shield\u306f\u30ef\u30f3\u30c1\u30c3\u30d7\u306eMIDI\u97f3\u6e90Atmel&#8217;s ATSAM2195\u3092\u642d\u8f09\u3057\u305fArduino\u7528\u306e\u30b7\u30fc\u30eb\u30c9\u3067\u3059\u3002Arduino\u306e\u30bb\u30f3\u30b5\u985e\u3068 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/455"}],"collection":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/comments?post=455"}],"version-history":[{"count":12,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/455\/revisions"}],"predecessor-version":[{"id":777,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/455\/revisions\/777"}],"wp:attachment":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/media?parent=455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/categories?post=455"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/tags?post=455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}