{"id":34657,"date":"2020-07-20T19:38:41","date_gmt":"2020-07-20T11:38:41","guid":{"rendered":"\/blog\/?p=34657"},"modified":"2020-07-21T08:51:32","modified_gmt":"2020-07-21T00:51:32","slug":"how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/","title":{"rendered":"How to Make a Fruit Piano on Seeeduino XIAO&#8217;s Q-Touch Function"},"content":{"rendered":"\n<p>Could you imagine you could even play the piano on the fruit? Seeeduino XIAO could help you!  Simple steps, simple materials, everyone can make it. Play music with <a rel=\"noreferrer noopener\" aria-label=\"Seeeduino Xiao (opens in a new tab)\" href=\"https:\/\/www.seeedstudio.com\/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html\" target=\"_blank\">Seeeduino Xiao<\/a> now! Go and build this project with us, and make yourself a musical king among your friends!<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Fruit Piano with Seeeduino Xiao\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/zBrxUiE7C60?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Working Principle <\/h2>\n\n\n\n<p>The build-in Q-Touch function on Seeeduino XIAO enables you to detect the minor capacity changes from GPIO, and you could assign each GPIO as a key and play a specific tone, then you are making GPIOs on Seeeduino XIAO  as you musical instrument keyboard, and you are able to play your favorite songs!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Thing&#8217;s you need to prepare:<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" aria-label=\"Seeeduino XIAO\u2028 (opens in a new tab)\" href=\"https:\/\/www.youtube.com\/redirect?q=https%3A%2F%2Fwww.seeedstudio.com%2FSeeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0%2B-p-4426.html&amp;redir_token=QUFFLUhqbjFzOUlBUUVaZjZwLXg3bk1fNTdsbnJ2UzNDd3xBQ3Jtc0tuejhMQ0NuS2xIaEdmVXFPdHA1UkRoOEdwemJkT1B4am8yV3c3aHZZOXVpSTA5dWlvRThEMDVSam9NSHFyMkxjSFBnYUFUR0ZIRnhELV9FVDZ1a3h4RXZuTXhTRGxlcHM5UzBnSXVoZW1NWktCNjRsMA%3D%3D&amp;v=zBrxUiE7C60&amp;event=video_description\" target=\"_blank\">Seeeduino XIAO<\/a>   x1 <\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Grove-Shield-for-Seeeduino-XIAO-p-4621.html\">Grove Shield for Seeeeduino XIAO<\/a>   x1<\/li><li><a rel=\"noreferrer noopener\" aria-label=\"Grove Speaker Plus (opens in a new tab)\" href=\"https:\/\/www.seeedstudio.com\/Grove-Speaker-Plus-p-4592.html\" target=\"_blank\">Grove Speaker Plus<\/a> \/  <a rel=\"noreferrer noopener\" aria-label=\"Grove Speaker (opens in a new tab)\" href=\"https:\/\/www.seeedstudio.com\/Grove-Speaker-p-1445.html\" target=\"_blank\">Grove Speaker<\/a>   x1<\/li><li>Some Jumper Wires  x7<\/li><li>Some Fruits <\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Hardware Connection<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/07\/image-16-1030x804.png\" alt=\"\" class=\"wp-image-34663\" width=\"515\" height=\"402\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-1030x804.png 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-300x234.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-768x599.png 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-1024x799.png 1024w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png 1234w\" sizes=\"(max-width: 515px) 100vw, 515px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/07\/image-17.png\" alt=\"\" class=\"wp-image-34665\" width=\"440\" height=\"334\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-17.png 879w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-17-300x228.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-17-768x583.png 768w\" sizes=\"(max-width: 440px) 100vw, 440px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\"><div class=\"wp-block-group__inner-container\"><\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2 class=\"wp-block-heading\">Musical Notation <\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1030\" height=\"422\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/07\/twinkle-twinkle-little-star\u4e94\u7ebf\u8c31-1030x422.jpg\" alt=\"\" class=\"wp-image-34674\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/twinkle-twinkle-little-star\u4e94\u7ebf\u8c31-1030x422.jpg 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/twinkle-twinkle-little-star\u4e94\u7ebf\u8c31-300x123.jpg 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/twinkle-twinkle-little-star\u4e94\u7ebf\u8c31-768x315.jpg 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/twinkle-twinkle-little-star\u4e94\u7ebf\u8c31-1536x629.jpg 1536w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/twinkle-twinkle-little-star\u4e94\u7ebf\u8c31-2048x839.jpg 2048w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/twinkle-twinkle-little-star\u4e94\u7ebf\u8c31-1024x419.jpg 1024w\" sizes=\"(max-width: 1030px) 100vw, 1030px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Code<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>#include \"Adafruit_FreeTouch.h\"\n#define SPEAKER 2\nAdafruit_FreeTouch qt_1 = Adafruit_FreeTouch(A0, OVERSAMPLE_4, RESISTOR_50K, FREQ_MODE_NONE);\nAdafruit_FreeTouch qt_2 = Adafruit_FreeTouch(A1, OVERSAMPLE_4, RESISTOR_50K, FREQ_MODE_NONE);\nAdafruit_FreeTouch qt_3 = Adafruit_FreeTouch(A6, OVERSAMPLE_4, RESISTOR_50K, FREQ_MODE_NONE);\nAdafruit_FreeTouch qt_4 = Adafruit_FreeTouch(A7, OVERSAMPLE_4, RESISTOR_50K, FREQ_MODE_NONE);\nAdafruit_FreeTouch qt_5 = Adafruit_FreeTouch(A8, OVERSAMPLE_4, RESISTOR_50K, FREQ_MODE_NONE);\nAdafruit_FreeTouch qt_6 = Adafruit_FreeTouch(A9, OVERSAMPLE_4, RESISTOR_50K, FREQ_MODE_NONE);\nAdafruit_FreeTouch qt_7 = Adafruit_FreeTouch(A10, OVERSAMPLE_4, RESISTOR_50K, FREQ_MODE_NONE);\nint BassTab[] = {1911, 1702, 1516, 1431, 1275, 1136, 1012}; \/\/bass 1~7\n\nvoid setup() {\n  Serial.begin(115200);\n  pinMode(SPEAKER, OUTPUT);\n  digitalWrite(SPEAKER, LOW);\n  \/\/  while (!Serial);\n  Serial.println(\"FreeTouch test\");\n  \/\/ initialize digital pin LED_BUILTIN as an output.\n  pinMode(LED_BUILTIN, OUTPUT);\n\n  if (! qt_1.begin())\n    Serial.println(\"Failed to begin qt\");\n  if (! qt_2.begin())\n    Serial.println(\"Failed to begin qt\");\n  if (! qt_3.begin())\n    Serial.println(\"Failed to begin qt\");\n  if (! qt_4.begin())\n    Serial.println(\"Failed to begin qt\");\n  if (! qt_5.begin())\n    Serial.println(\"Failed to begin qt\");\n  if (! qt_6.begin())\n    Serial.println(\"Failed to begin qt\");\n  if (! qt_7.begin())\n    Serial.println(\"Failed to begin qt\");\n}\n\nint qt_Threshold = 850;\n\nvoid loop() {\n  int qt1 = 0;\n  int qt2 = 0;\n  int qt3 = 0;\n  int qt4 = 0;\n  int qt5 = 0;\n  int qt6 = 0;\n  int qt7 = 0;\n\n  qt1 = qt_1.measure();\n  Serial.print(qt1);\n  Serial.print(\",\");\n\n  qt2 = qt_2.measure();\n  Serial.print(qt2);\n  Serial.print(\",\");\n\n  qt3 = qt_3.measure();\n  Serial.print(qt3);\n  Serial.print(\",\");\n\n  qt4 = qt_4.measure();\n  Serial.print(qt4);\n  Serial.print(\",\");\n\n  qt5 = qt_5.measure();\n  Serial.print(qt5);\n  Serial.println();\n\n  qt6 = qt_6.measure();\n  Serial.print(qt6);\n  Serial.println();\n\n  qt7 = qt_7.measure();\n  Serial.print(qt7);\n  Serial.println();\n\n  if (qt1 >= qt_Threshold) {\n    sound(1);\n  }\n  if (qt2 >= qt_Threshold) {\n    sound(2);\n  }\n  if (qt3 >= qt_Threshold) {\n    sound(3);\n  }\n  if (qt4 >= qt_Threshold) {\n    sound(4);\n  }\n  if (qt5 >= qt_Threshold) {\n    sound(5);\n  }\n  if (qt6 >= qt_Threshold) {\n    sound(6);\n  }\n  if (qt7 >= qt_Threshold) {\n    sound(7);\n  }\n}\nvoid sound(uint8_t note_index)\n{\n  for (int i = 0; i &lt; 50; i++)\n  {\n    digitalWrite(SPEAKER, HIGH);\n    delayMicroseconds(BassTab[note_index]);\n    digitalWrite(SPEAKER, LOW);\n    delayMicroseconds(BassTab[note_index]);\n  }\n}<\/code><\/pre>\n<\/div><\/div>\n\n\n<p><!--StartFragment--><\/p>\n\n\n<h3 class=\"wp-block-heading\">Seeeduino XIAO<\/h3>\n\n\n\n<p>Seeeduino XIAO is the smallest member of the Seeeduino family. It carries the powerful ATSAMD21G18A-MU, which is a low-power microcontroller. This little board has good performance in processing and has low power consumption. Its tiny size makes it perfect to build wearable projects. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/07\/image-18.png\" alt=\"\" class=\"wp-image-34677\" width=\"290\" height=\"235\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-18.png 580w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-18-300x243.png 300w\" sizes=\"(max-width: 290px) 100vw, 290px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" Seeeduino XIAO (opens in a new tab)\"> Seeeduino XIAO<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Grove Shield for Seeeduino XIAO <\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/07\/image-19.png\" alt=\"\" class=\"wp-image-34678\" width=\"295\" height=\"236\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-19.png 589w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-19-300x240.png 300w\" sizes=\"(max-width: 295px) 100vw, 295px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/Grove-Shield-for-Seeeduino-XIAO-p-4621.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" Grove Shield for Seeeduino XIAO   (opens in a new tab)\"> Grove Shield for Seeeduino XIAO  <\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>A plug-and-play Grove extension board for Seeeduino XIAO. It acts as a bridge for Seeeduino XIAO and Grove system. With the on-board battery management chip and battery bonding pad, you could easily power your Seeeduino XIAO with lithium battery and recharge it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Grove &#8211; Speaker Plus<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/07\/image-20.png\" alt=\"\" class=\"wp-image-34679\" width=\"297\" height=\"228\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-20.png 593w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-20-300x231.png 300w\" sizes=\"(max-width: 297px) 100vw, 297px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/Grove-Speaker-Plus-p-4592.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" Grove - Speaker Plus (opens in a new tab)\"> Grove &#8211; Speaker Plus<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>The Grove Speaker Plus includes a powerful amplifier driver board and a fancy speaker.  You could replace the speaker with other speakers you like, as it adopts separated and replaceable speaker design. and with the help of the on-board potentiometer, you can easily adjust the output volume. <\/p>\n\n\n<p><!--EndFragment--><\/p>","protected":false},"excerpt":{"rendered":"<p>Could you imagine you could even play the piano on the fruit? Seeeduino XIAO could<\/p>\n","protected":false},"author":3483,"featured_media":34663,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[164,162,139,731,12,2982],"class_list":["post-34657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-art","tag-bazaar","tag-grove","tag-project","tag-seeeduino","tag-seeeduino-xiao"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Make a Fruit Piano on Seeeduino XIAO&#039;s Q-Touch Function - Latest News from Seeed Studio<\/title>\n<meta name=\"description\" content=\"Could you imagine you could even play the piano on the fruit? Seeeduino XIAO could help you! Simple steps, simple materials, everyone can make!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Make a Fruit Piano on Seeeduino XIAO&#039;s Q-Touch Function - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"Could you imagine you could even play the piano on the fruit? Seeeduino XIAO could help you! Simple steps, simple materials, everyone can make!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-20T11:38:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-21T00:51:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1234\" \/>\n\t<meta property=\"og:image:height\" content=\"963\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Makerming\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Makerming\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/\",\"name\":\"How to Make a Fruit Piano on Seeeduino XIAO's Q-Touch Function - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png\",\"datePublished\":\"2020-07-20T11:38:41+00:00\",\"dateModified\":\"2020-07-21T00:51:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/9d351f5b63bae2d94e504a3603b40214\"},\"description\":\"Could you imagine you could even play the piano on the fruit? Seeeduino XIAO could help you! Simple steps, simple materials, everyone can make!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png\",\"width\":1234,\"height\":963},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Make a Fruit Piano on Seeeduino XIAO&#8217;s Q-Touch Function\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/9d351f5b63bae2d94e504a3603b40214\",\"name\":\"Makerming\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f1dd20cb5554fe64559a22685f965681?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f1dd20cb5554fe64559a22685f965681?s=96&r=g\",\"caption\":\"Makerming\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/makerming\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Make a Fruit Piano on Seeeduino XIAO's Q-Touch Function - Latest News from Seeed Studio","description":"Could you imagine you could even play the piano on the fruit? Seeeduino XIAO could help you! Simple steps, simple materials, everyone can make!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/","og_locale":"en_US","og_type":"article","og_title":"How to Make a Fruit Piano on Seeeduino XIAO's Q-Touch Function - Latest News from Seeed Studio","og_description":"Could you imagine you could even play the piano on the fruit? Seeeduino XIAO could help you! Simple steps, simple materials, everyone can make!","og_url":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2020-07-20T11:38:41+00:00","article_modified_time":"2020-07-21T00:51:32+00:00","og_image":[{"width":1234,"height":963,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png","type":"image\/png"}],"author":"Makerming","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Makerming","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/","url":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/","name":"How to Make a Fruit Piano on Seeeduino XIAO's Q-Touch Function - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png","datePublished":"2020-07-20T11:38:41+00:00","dateModified":"2020-07-21T00:51:32+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/9d351f5b63bae2d94e504a3603b40214"},"description":"Could you imagine you could even play the piano on the fruit? Seeeduino XIAO could help you! Simple steps, simple materials, everyone can make!","breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png","width":1234,"height":963},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/07\/20\/how-to-make-a-fruit-piano-on-seeeduino-xiaos-q-touch-function-m\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Make a Fruit Piano on Seeeduino XIAO&#8217;s Q-Touch Function"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/9d351f5b63bae2d94e504a3603b40214","name":"Makerming","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f1dd20cb5554fe64559a22685f965681?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f1dd20cb5554fe64559a22685f965681?s=96&r=g","caption":"Makerming"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/makerming\/"}]}},"modified_by":"Makerming","views":15098,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png",1234,963,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-80x80.png",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-300x234.png",300,234,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-768x599.png",640,499,true],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-1030x804.png",640,500,true],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png",1234,963,false],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png",1234,963,false],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png",32,25,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16.png",1234,963,false],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-936x897.png",936,897,true],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-1024x799.png",1024,799,true],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-720x380.png",720,380,true],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/07\/image-16-675x450.png",675,450,true]},"author_info":{"display_name":"Makerming","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/makerming\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/34657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/3483"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=34657"}],"version-history":[{"count":12,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/34657\/revisions"}],"predecessor-version":[{"id":34685,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/34657\/revisions\/34685"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/34663"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=34657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=34657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=34657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}